/* =====================================================================
   s4.css — S4 화면: ① (판매용 첫 화면은 landing.css) ② 원장 화면(#director · .dr-) ③ 집 「하루 사고력」(home.html · body.hm)
   색 · 크기 · 간격은 tokens.css 변수만. 글자 18px 이상(작은 숫자 배지 16 · 원장 화면 16).
   ===================================================================== */

/* 알림(셸이 없는 쪽도 같은 모양) */
[hidden] { display: none !important; }
#tk-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 14px 28px; border-radius: var(--r-l); font-size: var(--t-m); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity var(--m-mid) var(--ease), transform var(--m-mid) var(--ease); z-index: 60; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--sh-3); }
#tk-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ① 판매용 첫 화면(index.html)은 landing.css 가 맡음 — 옛 .lp- 줄은 [B] 가 지움(이 파일은 원장 화면 · 집 화면만 읽음) */

/* ───── ② 원장 화면 #director (data-dev="admin" · 16px 바닥 · 메뉴 한 줄에 하나) ───── */
.dr-lay { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100%; }
.dr-menu { background: var(--card); border-right: var(--line-w) solid var(--line); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s2); position: sticky; top: 0; align-self: start; min-height: calc(100vh - 72px); }
.dr-menu .grp { font-size: 16px; font-weight: 800; color: var(--ink-2); padding: var(--s5) var(--s3) var(--s2); }
.dr-menu .grp:first-child { padding-top: 0; }
.dr-menu a { display: flex; align-items: center; gap: var(--s3); min-height: 52px; padding: 0 var(--s3); border-radius: var(--r-m); color: var(--ink); text-decoration: none; font-size: var(--t-s); font-weight: 600; }
.dr-menu a:hover { background: var(--bg-2); }
.dr-menu a.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; box-shadow: inset 4px 0 0 var(--brand); }
.dr-page { padding: var(--s6) var(--s6) var(--s8); display: flex; flex-direction: column; gap: var(--gap-group, var(--s7)); max-width: 1240px; min-width: 0; }
.dr-page section { scroll-margin-top: var(--s5); }
.dr-h1 { font-size: var(--t-xl); scroll-margin-top: var(--s6); }
.dr-h1 small { display: block; font-size: var(--t-s); color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.dr-gt { font-size: var(--t-l); font-weight: 800; margin-bottom: var(--s4); display: flex; align-items: center; gap: var(--s3); }
.dr-gt .grow { flex: 1; } .dr-gt .sub { font-size: 16px; font-weight: 600; }
.dr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.dr-stat { padding: var(--s5); }
.dr-stat .k { font-size: var(--t-s); color: var(--ink-2); font-weight: 700; display: flex; align-items: center; gap: var(--s2); }
.dr-stat .v { font-size: var(--t-2xl); font-weight: 800; margin-top: var(--s2); line-height: 1.1; }
.dr-stat .v small { font-size: var(--t-m); color: var(--ink-2); font-weight: 700; }
.dr-stat .d { font-size: 16px; color: var(--ink-2); margin-top: var(--s2); line-height: 1.45; }
.dr-go-row { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s4); flex-wrap: wrap; }
.dr-go-row .sub { font-size: 16px; }
.dr-tbl { padding: var(--s2) var(--s2) var(--s3); overflow-x: auto; }
.dr-tbl td, .dr-tbl th { white-space: nowrap; }
.dr-click tbody tr { cursor: pointer; }
.dr-click tbody tr:hover td { background: var(--bg); }
.dr-click tbody tr.on td { background: var(--brand-soft); }
.dr-click tbody tr:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.dr-bar { height: 10px; border-radius: 5px; background: var(--bg-2); width: 72px; display: inline-block; vertical-align: middle; margin-right: 10px; overflow: hidden; }
.dr-bar i { display: block; height: 100%; background: var(--brand); border-radius: 5px; }
.dr-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.dr-chart { padding: var(--s5); }
.dr-chart svg { width: 100%; height: auto; display: block; }
.dr-chart .lg { display: flex; gap: var(--s5); font-size: 16px; color: var(--ink-2); font-weight: 700; margin-bottom: var(--s3); }
.dr-chart .lg span { display: flex; align-items: center; gap: 8px; }
.dr-chart .lg i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.dr-pay { padding: var(--s5); display: flex; flex-direction: column; }
.dr-pay-h { font-size: var(--t-m); font-weight: 800; padding-bottom: var(--s2); }
.dr-pay .ln { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s3) 0; border-bottom: var(--line-w) solid var(--line); font-size: var(--t-s); }
.dr-pay .ln:last-of-type { border-bottom: 0; }
.dr-pay .ln b { font-variant-numeric: tabular-nums; text-align: right; }
.dr-pay .total { margin-top: var(--s3); padding: var(--s4); border-radius: var(--r-m); background: var(--bg-2); display: flex; justify-content: space-between; align-items: center; font-size: var(--t-m); font-weight: 800; }
.dr-mt { margin-top: var(--s3); font-size: 16px; }
.dr-demo { max-width: 760px; }
.dr-side .tbl td, .dr-side .tbl th { white-space: nowrap; }
.dr-sh { font-size: var(--t-m); margin-bottom: var(--s3); display: flex; gap: var(--s3); align-items: baseline; flex-wrap: wrap; }
.dr-sh .sub { font-size: 16px; font-weight: 600; }
.dr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dr-list li { display: grid; grid-template-columns: 112px 1fr auto; gap: var(--s3); padding: var(--s3) 0; border-top: var(--line-w) solid var(--line); font-size: var(--t-s); align-items: center; }
.dr-list li:first-child { border-top: 0; }
@media (max-width: 1400px) { .dr-lay { grid-template-columns: 232px minmax(0, 1fr); } .dr-page { padding: var(--s5); } }

/* ───── ③ 집 「하루 사고력」 (home.html · 휴대폰 390 · 패드 1024 — 패드는 data-dev="pad" 로 숫자만 커짐) ───── */
body.hm { background: var(--k-bg); min-height: 100vh; user-select: none; -webkit-tap-highlight-color: transparent; }
#hm { min-height: 100vh; display: flex; flex-direction: column; }
.hm-load { padding: var(--s6); font-size: var(--t-m); text-align: center; color: var(--ink-2); }
.hm .btn { text-decoration: none; }
.hm-top { min-height: 80px; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); flex: none; flex-wrap: wrap; }
.hm-top .grow { flex: 1; }
.hm-logo { display: flex; align-items: center; gap: 10px; font-size: var(--t-l); font-weight: 900; letter-spacing: -0.02em; }
.hm-logo .mark { height: 44px; width: auto; }
.hm-qno { font-size: var(--t-l); display: flex; gap: 10px; align-items: baseline; }
.hm-qno .sub { font-size: var(--t-s); font-weight: 700; }
.hm-say { width: 76px; height: 76px; min-height: 0; padding: 0; border-radius: 50%; background: var(--k-blue); border: 0; color: #fff; box-shadow: 0 5px 0 var(--k-blue-deep); flex-direction: column; gap: 0; font-size: var(--t-badge); }
.hm-say .ico { width: 34px; height: 34px; }
.hm-mom { min-height: 56px; border-radius: var(--r-pill); font-size: var(--t-s); background: #fff; }
.hm-x { min-height: 56px; }
.hm-big { min-height: 88px; font-size: var(--t-l); border-radius: var(--r-xl); width: 100%; }
.hm-big .ico { width: 36px; height: 36px; }
.hm-wrap { padding: 0 var(--s4) var(--s6); display: flex; flex-direction: column; gap: var(--s4); max-width: 1100px; width: 100%; margin: 0 auto; }
.hm-card { background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); }
.hm-card h1 { font-size: var(--t-xl); }
.hm-card h2 { font-size: var(--t-m); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: var(--s3); }
.hm-card h2 .sub { font-size: var(--t-s); font-weight: 600; }
.hm-card p { font-size: var(--t-s); line-height: 1.6; margin-top: var(--s2); color: var(--ink-2); }
.hm-card .btn { margin-top: var(--s4); }
.hm-intro { background: var(--spark-soft); border-color: #F2DFA6; }
.hm-kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s3); }
.hm-kidbtn { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 0 var(--s4); border-radius: var(--r-l); background: var(--card); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line-2); color: var(--ink); text-decoration: none; font-size: var(--t-m); }
.hm-kidbtn .tk-kmark { width: 28px; height: 28px; fill: none; stroke: var(--k-blue); stroke-width: 2.2; flex: none; }
.hm-kidbtn.btn-go { color: #fff; background: var(--go); border-color: var(--go); box-shadow: 0 4px 0 var(--go-deep); }
.hm-kidbtn.btn-go .tk-kmark { stroke: #fff; }

/* 오늘 숙제 길 */
.hm-today { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s5); padding: 0 var(--s5) var(--s5); }
.hm-path { background: #fff; border-radius: var(--r-xl); border: 2px solid var(--line); padding: var(--s5); display: flex; flex-direction: column; min-height: 360px; }
.hm-path h1 { font-size: var(--t-xl); line-height: 1.3; }
.hm-path h1 small { display: block; font-size: var(--t-s); color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.hm-stones { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: var(--s4) var(--s2) 0; position: relative; gap: var(--s2); }
.hm-stone { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); }
.hm-stone .blk { width: clamp(64px, 9vw, 112px); height: clamp(64px, 9vw, 112px); display: grid; place-items: center; }   /* [Q2] 1024 패드에서 다섯째 블록이 칸 밖으로 나갔음 */
.hm-stone .blk svg { width: 100%; height: 100%; }
.hm-stone b { font-size: var(--t-m); }
.hm-stone.now .blk { animation: hm-hop 2.4s var(--ease) infinite; }
@keyframes hm-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hm-stone.now b { color: var(--k-blue-deep); }
.hm-stone.todo b { color: var(--ink-2); }
.hm-road { position: absolute; left: 56px; right: 56px; top: calc(50% + 6px); height: 10px; border-radius: 5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 26px); }
.hm-none { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s2); font-size: var(--t-m); }
.hm-none span { font-size: var(--t-s); color: var(--ink-2); }
.hm-sidek { display: flex; flex-direction: column; gap: var(--s4); }
.hm-sidek .grow { flex: 1; }
.hm-note { background: var(--spark-soft); border-radius: var(--r-xl); padding: var(--s5); }
.hm-note h2 { font-size: var(--t-m); display: flex; gap: 10px; align-items: center; }
.hm-note p { font-size: var(--t-s); margin-top: 8px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-week { background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); padding: var(--s4) var(--s5); }
.hm-week h2 { font-size: var(--t-s); color: var(--ink-2); margin-bottom: 10px; }
.hm-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.hm-days span { font-size: var(--t-badge); font-weight: 700; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hm-days .ico { width: 36px; height: 36px; }

/* 문제 */
.hm-q { flex: 1; display: flex; flex-direction: column; padding: 0 var(--s5) var(--s5); gap: var(--s4); max-width: 1100px; width: 100%; margin: 0 auto; }
.hm-qcard { background: #fff; border: 2px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); flex: 1; }
.hm-qbody { display: flex; flex-direction: column; gap: var(--s4); }
.hm-qtext { font-size: var(--t-xl); font-weight: 800; line-height: 1.4; }
.hm-fig { display: grid; place-items: center; }
.hm-fig svg { max-width: 100%; height: auto; max-height: min(340px, 34vh); }
.hm-hint { font-size: var(--t-s); font-weight: 700; color: var(--brand); margin-bottom: var(--s3); }
.hm-k { border: 0; font: inherit; font-weight: 800; color: var(--ink); background: #fff; border-radius: var(--r-xl); box-shadow: 0 5px 0 var(--line-2), 0 0 0 2px var(--line) inset; cursor: pointer; min-height: 72px; font-size: var(--t-l); display: flex; align-items: center; justify-content: center; gap: 12px; padding: var(--s3) var(--s4); }
.hm-k:active { transform: translateY(2px); }
.hm-k.on { box-shadow: 0 5px 0 var(--k-blue-deep), 0 0 0 5px var(--k-blue) inset; background: var(--k-blue-soft); }
.hm-k.got { background: var(--bg-2); color: var(--ink-2); }
.hm-k small { font-size: var(--t-s); color: var(--k-blue-deep); margin-left: 6px; }
.hm-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.hm-opts.only { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-opt { justify-content: flex-start; text-align: left; }
.hm-opts.only .hm-opt { justify-content: center; }
.hm-opt .lab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: var(--t-l); color: var(--ink-2); flex: none; }
.hm-opt.on .lab { background: var(--k-blue); color: #fff; }
.hm-opt .t { font-size: var(--t-m); line-height: 1.35; }
.hm-show { min-height: 80px; border-radius: var(--r-l); border: 3px solid var(--k-blue); background: #fff; display: flex; align-items: center; justify-content: center; font-size: var(--t-2xl); font-weight: 900; letter-spacing: .04em; margin-bottom: var(--s4); }
.hm-show .ph { color: var(--ink-3); font-size: var(--t-l); font-weight: 700; letter-spacing: 0; }
.hm-keys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.hm-keys .del { grid-column: span 2; font-size: var(--t-m); }
.hm-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.hm-pairs .col { display: flex; flex-direction: column; gap: var(--s3); }
.hm-undo { margin-top: var(--s4); }
.hm-paper { display: flex; flex-direction: column; gap: 6px; padding: var(--s5); border-radius: var(--r-l); background: var(--spark-soft); }
.hm-paper b { font-size: var(--t-m); }
.hm-paper span { font-size: var(--t-s); color: var(--ink-2); }
.hm-tip { display: flex; flex-direction: column; gap: 4px; padding: var(--s4) var(--s5); border-radius: var(--r-l); background: #fff; border: 2px dashed var(--line-2); font-size: var(--t-s); }
.hm-tip b { display: flex; gap: 8px; align-items: center; color: var(--k-berry); }
.hm-fb { display: flex; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border-radius: var(--r-xl); font-size: var(--t-s); }
.hm-fb .ico { width: 48px; height: 48px; flex: none; }
.hm-fb b { display: block; font-size: var(--t-l); }
.hm-fb.ok { background: var(--ok-bg); color: var(--ok); }
.hm-fb.re { background: var(--spark-soft); color: var(--hint); }
.hm-fb.busy { background: var(--brand-soft); color: var(--brand-deep); }
.hm-fb span { color: var(--ink); }
.hm-rowb { display: flex; gap: var(--s4); }
.hm-rowb .hm-again { flex: 0 0 34%; background: #fff; border: 2px solid var(--line); }
.hm-rowb > :last-child { flex: 1; }
.hm-big:disabled { opacity: .5; cursor: default; }

/* 다 함 */
.hm-fin { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s6); padding: 0 var(--s6); }
.hm-tower { display: grid; place-items: center; }
.hm-tower svg { max-height: 52vh; width: auto; }
.hm-fin h1 { font-size: var(--t-2xl); line-height: 1.2; }
.hm-fin p { font-size: var(--t-m); color: var(--ink-2); margin-top: var(--s3); line-height: 1.5; }
.hm-chips { display: flex; gap: 10px; margin-top: var(--s4); flex-wrap: wrap; }
.hm-chips span { background: #fff; border: 2px solid var(--line); border-radius: var(--r-pill); padding: 8px 18px; font-size: var(--t-s); font-weight: 700; }
.hm-finb { padding: var(--s4) var(--s5) var(--s5); display: flex; gap: var(--s4); }
.hm-finb .btn:first-child { background: #fff; }

/* 부모 칸(휴대폰 우선) */
.hm-ptop { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border-bottom: var(--line-w) solid var(--line); font-size: 20px; font-weight: 900; position: sticky; top: 0; z-index: 5; }
.hm-ptop .mark { height: 34px; width: auto; }
.hm-ptop .grow { flex: 1; }
.hm-ptop .badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); }
.hm-ptop .badge .tk-kmark { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hm-pwrap { padding: 16px; display: flex; flex-direction: column; gap: 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.hm-pcard { background: #fff; border: var(--line-w) solid var(--line); border-radius: var(--r-l); padding: 16px 18px; }
.hm-pcard h2 { font-size: 20px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hm-pcard h2 .sub { font-size: var(--t-s); font-weight: 600; }
.hm-phero { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.hm-phero .big { font-size: 48px; font-weight: 900; line-height: 1; }
.hm-phero .big small { font-size: 20px; color: var(--ink-2); }
.hm-phero b { font-size: 20px; }
.hm-plist { list-style: none; margin: 0; padding: 0; }
.hm-plist li { border-top: var(--line-w) solid var(--line); }
.hm-plist li:first-child { border-top: 0; }
.hm-plist summary { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; font-size: var(--t-s); cursor: pointer; list-style: none; min-height: 52px; }
.hm-plist summary::-webkit-details-marker { display: none; }
.hm-plist summary .ico { width: 26px; height: 26px; }
.hm-pd { padding: 0 0 14px; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-s); line-height: 1.55; }
.hm-pfig svg { max-width: 100%; height: auto; max-height: 220px; }
.hm-ptip { display: flex; gap: 8px; align-items: flex-start; background: var(--spark-soft); border-radius: var(--r-m); padding: 10px 12px; font-size: var(--t-s); line-height: 1.5; margin-top: 6px; }
.hm-ptip .ico { color: var(--k-berry); flex: none; margin-top: 2px; }
.hm-pnews { font-size: var(--t-s); line-height: 1.6; margin-bottom: 12px; }
.hm-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.hm-cal span { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.hm-cal i { height: 44px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 18px; font-weight: 800; }
.hm-cal .d5 { background: var(--ok-bg); color: var(--ok); }
.hm-cal .d3 { background: var(--spark-soft); color: #6E4A00; }
.hm-cal .d0 { background: var(--bg-2); color: var(--ink-2); }
.hm-cal .tod { outline: 3px solid var(--brand); }
.hm-legend { font-size: var(--t-s); margin-top: 10px; }

/* 휴대폰 */
@media (max-width: 699px) {
  .hm-top { padding: 10px 12px; min-height: 72px; }
  .hm-logo { font-size: 22px; }
  .hm-logo .mark { height: 36px; }
  .hm-say { width: 64px; height: 64px; }
  .hm-say .ico { width: 28px; height: 28px; }
  .hm-mom { min-height: 52px; padding: 0 14px; }
  .hm-today { grid-template-columns: 1fr; padding: 0 12px 16px; gap: 12px; }
  .hm-path { padding: 16px; min-height: 0; }
  .hm-path h1 { font-size: 26px; }
  .hm-stones { padding: 16px 0 4px; gap: 2px; }
  .hm-stone .blk { width: 60px; height: 60px; }
  .hm-stone b { font-size: 18px; }
  .hm-road { left: 28px; right: 28px; top: 44px; height: 8px; }
  .hm-q { padding: 0 12px 16px; gap: 12px; }
  .hm-qcard { padding: 16px; }
  .hm-qtext { font-size: 24px; }
  .hm-opts.only { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-opts { grid-template-columns: 1fr; gap: 12px; }
  .hm-keys { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hm-k { min-height: 64px; padding: 8px; }
  .hm-big { min-height: 72px; font-size: 22px; }
  .hm-fin { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; text-align: center; }
  .hm-fin h1 { font-size: 32px; }
  .hm-chips { justify-content: center; }
  .hm-tower svg { max-height: 36vh; }
  .hm-finb { flex-direction: column; padding: 12px 16px 20px; }
  .hm-pairs { gap: 12px; }
}
body.tk-side-on .dr-two { grid-template-columns: minmax(0, 1fr); }

/* ───── [D3 10-21] 원장 화면 — 폭을 꽉(왼쪽 메뉴 판 + 오른쪽 본문), 숫자 칸 강조 ───── */
html.tk #tk-main > .dr-lay { max-width: none; }
.dr-menu { background: var(--card); box-shadow: 8px 0 24px -24px rgba(14,60,100,.4); }
.dr-menu .grp { color: var(--accent-deep, #B9480B); letter-spacing: .02em; }
.dr-page { max-width: 1640px; padding: var(--s5) var(--gutter, 32px) var(--s8); }
.dr-h1 { font-size: var(--t-title, 30px); letter-spacing: -0.025em; }
.dr-gt { font-size: var(--t-sec, 22px); letter-spacing: -0.02em; }
.dr-stat { position: relative; background: linear-gradient(180deg, var(--sky-1, #EEF7FC) 0, #fff 90px), #fff; border-color: var(--sky-3, #BFE3F7); box-shadow: var(--sh-2); }
.dr-stat::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand), #38AAE6 62%, var(--accent, #F2711C)); }
.dr-stat .v { font-size: 44px; letter-spacing: -0.03em; color: var(--ink); }
.dr-stat .k .ico { color: var(--brand); }
.dr-pay .total { background: var(--cream, #FFF8EE); box-shadow: inset 4px 0 0 var(--accent, #F2711C); }
@media (max-width: 1400px) { .dr-page { padding: var(--s5) var(--gutter, 24px) var(--s8); } }

/* [B2 10-21] 수업 길이 고르기 (원장 화면 16px 바닥) */
.dr-len .tk-slider { margin: var(--s3) 0; }
.dr-len-rule { margin: var(--s2) 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.dr-len-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dr-len-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: var(--s3); align-items: baseline; padding: 6px var(--s2); border-radius: var(--r-s); font-size: 16px; }
.dr-len-list li .num { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.dr-len-list li small { font-size: 16px; font-weight: 700; }
.dr-len-list li.chg { background: var(--sky-1); }
.dr-len-list li.add { background: var(--ok-bg); }
.dr-len-list li.cut { background: var(--bg-2); color: var(--ink-3); text-decoration: line-through; }
/* [LIVE] 학원 정보 — 이름 · 지점 칸, 관리자 설정(접힘) */
.dr-aca .label { margin-top: var(--s3, 12px); display: block; }
.dr-aca .field { width: 100%; max-width: 480px; }
.dr-deep > summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink-2, var(--ink)); min-height: 44px; display: flex; align-items: center; }

/* [W50] 반마다 주 1회 100분 / 주 2회 50분 */
.dr-plan-h { margin-top: var(--s5); }
.dr-plans { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.dr-plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--s3); align-items: center; padding: var(--s2) 0; border-top: var(--line-w) solid var(--line); }
.dr-plans li .sub { grid-column: 1; font-size: 16px; }
.dr-plans li .seg { grid-column: 2; grid-row: 1 / span 2; }
