/* Home featured card: 시가·고가·종가 입력칸 (static/js/home_predict.js). Loaded after home.css; home.css itself is untouched. */
.es-hp { margin-top: 14px; }
.es-hp-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.es-hp-c { display: flex; flex-direction: column; min-width: 0; }
.es-hp-l { margin: 0 0 6px 2px; font-size: 14px; font-weight: 700; color: var(--es-ink, var(--text)); }
.es-hp-in { width: 100%; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 12px; margin: 0;
  border: 1.5px solid #C9CDD3; border-radius: 8px; background: #fff; color: var(--es-ink, var(--text));
  font: inherit; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums;
  -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.es-hp-in::placeholder { color: #9AA0A8; font-size: 15px; font-weight: 500; }
.es-hp-in:hover { border-color: #A8AEB6; }
.es-hp-in:focus { outline: none; border-color: var(--down, #3870D8); box-shadow: 0 0 0 3px rgba(56, 112, 216, .18); }
.es-hp-ref { margin: 5px 2px 0; font-size: 12px; color: var(--es-muted, #767A80); font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-hp-err { margin: 4px 2px 0; font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--up, #E0474C); word-break: keep-all; }
.es-hp-c.bad .es-hp-in { border-color: var(--up, #E0474C); }
.es-hp-c.bad .es-hp-in:focus { box-shadow: 0 0 0 3px rgba(224, 71, 76, .16); }
.es-hp-c.fix .es-hp-in { animation: es-hp-fix .8s ease-out; }
@keyframes es-hp-fix { 0%, 40% { background: #FFF4CC; border-color: #F0B429; } 100% { background: #fff; } }
.es-hp-note { margin: 8px 2px 0; font-size: 13px; color: var(--es-sub, #65676B); }
/* already predicted / just saved: values stay visible, not editable */
.es-hp.ro .es-hp-in { background: var(--es-subtle, #F0F2F5); border-color: transparent; color: var(--es-ink, var(--text)); cursor: default; }
.es-hp.ro .es-hp-in:focus { box-shadow: none; }
.es-btn.es-hp-done { color: var(--good, #1E8E3E); }
@media (max-width: 640px) {
  .es-hp-f { gap: 6px; }
  .es-hp-in { padding: 0 8px; }
  .es-hp-in::placeholder { font-size: 13px; }
  .es-hp-l { font-size: 13px; }
}
@media (max-width: 360px) { .es-hp-in { padding: 0 6px; } }

/* 2026-11-21 회의: 너무 복잡 — 칸 위 이름, 회원 평균, 칸별 오류 문구 빼고 입력칸 3개만 (빈칸은 빨간 테두리로만) */
.es-hp .es-hp-l { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.es-hp .es-hp-ref, .es-hp .es-hp-err { display: none !important; }
.es-hp .es-hp-f { gap: 8px !important; }
.es-hp .es-hp-in { height: 52px !important; font-size: 18px !important; text-align: center; }
.es-hp .es-hp-in::placeholder { color: #8A8D91; font-weight: 600; }
/* 2026-11-21 회의: 테두리가 너무 많음 — 입력칸 3개를 테두리 하나로 묶고 칸 사이는 얇은 세로선만 */
.es-hp .es-hp-f { gap: 0 !important; border: 1.5px solid #C9CDD3; border-radius: 10px; overflow: hidden; background: #fff; }
.es-hp .es-hp-c { flex: 1 1 0; min-width: 0; }
.es-hp .es-hp-c + .es-hp-c { border-left: 1px solid #E4E6EB; }
.es-hp .es-hp-in { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; width: 100%; }
.es-hp .es-hp-in:focus { outline: none; background: #F0F6FF !important; }
.es-hp .es-hp-c.err .es-hp-in, .es-hp .es-hp-c.is-err .es-hp-in, .es-hp .es-hp-in[aria-invalid="true"] { background: #FFF1F2 !important; }
.es-hp .es-hp-f { border-radius: 4px !important; border-width: 1px !important; }
/* 너무 뚱뚱함 — 입력칸 높이 줄이고 글자도 작게 */
.es-hp .es-hp-in { height: 40px !important; min-height: 40px !important; font-size: 15px !important; padding: 0 6px !important; }
.es-hp .es-hp-f { border-color: #D5D8DC !important; }
.es-hp { margin-top: 8px !important; margin-bottom: 8px !important; }
/* 더 작게, 효율적으로 */
.es-hp .es-hp-in { height: 32px !important; min-height: 32px !important; font-size: 13px !important; }
.es-hp .es-hp-in::placeholder { font-weight: 500 !important; }
.es-hp { margin-top: 6px !important; margin-bottom: 6px !important; }
