/* 논술 연습실 화면 스타일 (모바일 우선, 밝은/어두운 모드). 한 가지 버튼·카드·모서리 체계, 누르는 곳은 44px 이상 */
:root {
  --bg: #f6f3ee; --card: #fffdf9; --ink: #1d1b18; --muted: #625c53; --line: #e4ddd2;
  --accent: #a35f00; --accent-ink: #fff; --soft: #fbefd6; --brand: #f4a700; /* TF스코푸스 로고 주황(글자용은 대비 위해 진하게) */ --ok: #2f6b3a; --ok-soft: #e4efe2; --warn: #8a5300; --warn-soft: #fbf0dc;
  --radius: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151412; --card: #1f1d1a; --ink: #ece7df; --muted: #aaa295; --line: #34302a; --soft: #3a2c12; --accent: #f4aa15; --accent-ink: #1d1b18; --ok: #8fcb93; --ok-soft: #1f2e21; --warn: #e7b866; --warn-soft: #33281a; --shadow: none; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 Pretendard, system-ui, sans-serif; padding-bottom: calc(72px + env(safe-area-inset-bottom)); word-break: keep-all; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.015em; }
h1 { font-size: 1.5rem; margin: .2em 0 .4em; }
h2 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.err { color: #c0392b; min-height: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* 머리·바닥 메뉴 */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; min-height: 38px; padding: 0 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
main { max-width: 820px; margin: 0 auto; padding: 16px; outline: none; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; text-decoration: none; color: var(--muted); font-size: .74rem; border-radius: var(--r-sm); }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { color: var(--accent); font-weight: 800; background: var(--soft); }
.top-r { display: flex; align-items: center; gap: 8px; }
.help-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 800; text-decoration: none; }
.help-btn:hover { border-color: var(--accent); color: var(--accent); }

/* 카드·칩·버튼 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin: 12px 0; }
.card.notice { border-color: var(--accent); }
.card.warn { background: var(--warn-soft); border-color: transparent; box-shadow: none; }
.card.warn b { color: var(--warn); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid .card { margin: 0; }
a.card, a.item { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.dday { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.chip { display: inline-block; font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-weight: 700; }
.chip.gray { background: var(--line); color: var(--muted); }
.chip.src { background: var(--warn-soft); color: var(--warn); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.source { font-size: .85rem; color: var(--warn); margin: 0 0 .6em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .1s ease, background .15s ease, border-color .15s ease; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.sm { padding: 0 12px; font-size: .88rem; }
.btn[aria-pressed="true"] { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.item h3 { margin: .3em 0 .2em; }
.row-link { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
.review-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 56px; border-color: var(--accent); }

/* 입력 */
textarea, input[type=text], input[type=password], select { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
textarea { min-height: 260px; resize: vertical; line-height: 1.8; }
textarea:focus, input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.counter { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); text-align: right; }
.counter.over { color: #c0392b; font-weight: 700; } .counter.good { color: var(--ok); font-weight: 700; }
.timer { position: sticky; top: 61px; z-index: 4; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 8px 6px 12px; margin: 8px 0; box-shadow: var(--shadow); }
.timer b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.timer .t-btns { gap: 6px; flex-wrap: nowrap; }
.timer .jump { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.timer .jump .btn { border: 0; border-radius: 0; padding: 0 10px; }
.timer .jump .btn + .btn { border-left: 1px solid var(--line); }
.timer.late b { color: #c0392b; }

/* 공부 순서 표시 */
.stepper { display: flex; gap: 6px; list-style: none; counter-reset: st; padding: 0; margin: 10px 0; overflow-x: auto; }
.stepper li { counter-increment: st; flex: 1; min-width: max-content; font-size: .82rem; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; display: flex; align-items: center; gap: 6px; }
.stepper li::before { content: counter(st); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; font-size: .78rem; }
.stepper.big li { font-size: .95rem; padding: 10px 14px 10px 10px; }

/* 문제 화면 */
.md { overflow-wrap: anywhere; }
.md table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .9rem; }
.md th, .md td { border: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.md th { background: var(--soft); }
.md blockquote { margin: .6em 0; padding: .2em 1em; border-left: 3px solid var(--accent); color: var(--muted); }
.md .katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
.md .katex { position: relative; }
.md :not(.katex-display) > .katex { display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; padding: 4px 0; }
.md details, details.other { background: var(--soft); border-radius: var(--r-sm); padding: 8px 12px; margin: 8px 0; }
summary { cursor: pointer; min-height: 32px; }
.passage { background: color-mix(in srgb, var(--soft) 45%, var(--card)); border-radius: 12px; padding: 4px 14px; }
.qchips { display: flex; gap: 6px; flex-wrap: wrap; }
.qchips label { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; cursor: pointer; background: var(--card); }
.qchips input { accent-color: var(--accent); width: 18px; height: 18px; }
.subtabs { display: flex; gap: 6px; margin: 12px 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.subtabs button { flex: 1 0 auto; }
.subtabs button[aria-selected="true"] { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.pages img { width: 100%; border: 1px solid var(--line); border-radius: 8px; margin: 6px 0; background: #fff; }
.pages img.hl { outline: 3px solid var(--accent); }
.thumbs { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.thumbs figure { position: relative; margin: 0; }
.thumbs img { width: 92px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.thumbs button { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--card); background: #c0392b; color: #fff; font-weight: 800; cursor: pointer; }
.thumbs button.rot { right: auto; left: -10px; background: var(--accent); }
.think { font-size: .82rem; color: var(--muted); white-space: pre-wrap; max-height: 9em; overflow: auto; border-left: 3px solid var(--line); padding-left: 10px; }
.score { font-size: 2.4rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* 단계별 풀이 */
.levelbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.levelbar .seg button { min-height: 44px; }
.explain h3 { margin: 1.4em 0 .4em; padding-bottom: 4px; border-bottom: 2px solid var(--soft); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 10px 0; }
.step-h { display: flex; align-items: center; gap: 10px; }
.step-h .num { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .9rem; }
.why { margin: 10px 0 8px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--soft); }
.why p { margin: .2em 0; }
.why-l { display: block; font-size: .78rem; font-weight: 800; color: var(--accent); }
.selfex { min-height: 0; margin-bottom: 8px; line-height: 1.6; }
.step-body { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 6px; }

/* 복습 카드 */
.flash .q { font-size: 1.1rem; font-weight: 700; margin: 8px 0 14px; }
.flash .a { background: var(--ok-soft); border-radius: var(--r-sm); padding: 8px 14px; margin: 12px 0; }
.flash .judge .btn { flex: 1; }
.ref { font-size: .82rem; }

.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: s 1s linear infinite; vertical-align: -2px; }
@keyframes s { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } a.card, .btn { transition: none; } a.card:hover, .btn:active { transform: none; } }
dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); width: min(92vw, 380px); }
dialog::backdrop { background: rgba(0,0,0,.45); }
svg.chart { width: 100%; height: 160px; }
.empty { text-align: center; color: var(--muted); padding: 24px 0; }
@media (min-width: 720px) { h1 { font-size: 1.7rem; } }
/* ---------- 쓰기 편한 화면 (2026-11-12): 홈 오늘 할 일, 문제 화면 두 칸, 태블릿 왼쪽 메뉴 ---------- */
.small { font-size: .88rem; }
.btn.big { min-height: 52px; font-size: 1.05rem; padding: 0 24px; }
.btn.ghost { border-color: transparent; background: none; color: var(--muted); }
details.examinfo { margin: 8px 0 0; }
details.examinfo summary { color: var(--muted); font-size: .9rem; min-height: 44px; display: flex; align-items: center; }
details.examinfo p { margin: .4em 0; font-size: .92rem; }
/* summary를 flex로 두면 기본 펼침 표시가 사라져 직접 그린다 */
details.examinfo > summary, details.photo > summary { list-style: none; }
details.examinfo > summary::-webkit-details-marker, details.photo > summary::-webkit-details-marker { display: none; }
details.examinfo > summary::before, details.photo > summary::before { content: "▸"; display: inline-block; width: 1em; color: var(--accent); transition: transform .15s ease; }
details.examinfo[open] > summary::before, details.photo[open] > summary::before { transform: rotate(90deg); }
.welcome { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.today-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.today-head h1 { margin: .15em 0 0; font-size: 1.3rem; }
.today-head .when { margin: .2em 0 0; font-size: .88rem; }
.today-title { font-size: .95rem; color: var(--muted); margin: 14px 0 6px; }
.todo { display: grid; gap: 8px; }
.todo-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 60px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-decoration: none; color: inherit; }
.todo-item p { margin: 0; font-size: .9rem; }
.todo-item b { display: block; }
.todo-item > div { flex: 1; min-width: 0; }
a.todo-item:hover { border-color: var(--accent); }
.todo-item.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.todo-item.primary p { color: var(--accent-ink); opacity: .9; }
.todo-item.primary .todo-n { background: var(--accent-ink); color: var(--accent); }
.todo-item .go { font-size: 1.3rem; font-weight: 800; }
.todo-n { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; font-size: .9rem; margin-right: 8px; }
.todo-item .todo-n { margin-right: 0; }
.grid.quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.quick .card { padding: 14px; }
.grid.quick h3 { margin: 0 0 .2em; font-size: 1rem; }
.grid.quick p { margin: 0; font-size: .85rem; }
.solve-head .back { margin: 0 0 4px; }
.solve-head .back a { display: inline-flex; align-items: center; min-height: 44px; }
.solve-head h1 { margin-bottom: .2em; }
.qpick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pane-title { margin: 1em 0 .2em; }
details.photo > summary { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; }
.grade-row { display: flex; gap: 8px; align-items: center; margin: 14px 0; }
.grade-row #gradeBtn { flex: 1; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; padding: 2px 0; }
.toc a { display: inline-flex; min-height: 36px; align-items: center; }
.help h2 { display: flex; align-items: center; margin-top: .2em; }
.help .md ol, .help .md ul { padding-left: 1.3em; }
.help .md li { margin: .3em 0; }
#h-start, #h-day, #h-course, #h-solve, #h-photo, #h-grade, #h-steps, #h-review, #h-more, #h-device, #h-trouble { scroll-margin-top: 72px; }

/* 사회 개념 기초 코스 */
.course-card { border-color: var(--accent); }
.course-card p { margin: .2em 0 0; }
.progress .bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.progress .bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.unit-row { display: flex; gap: 12px; align-items: flex-start; }
.unit-row h3 { margin: .25em 0 .1em; }
.unit-row p { margin: 0; }
.unit-row.done { opacity: .75; }
.unit-row.done .todo-n { background: var(--ok-soft); color: var(--ok); }
.unit h2 { font-size: 1.05rem; margin: 0 0 .5em; color: var(--accent); }
.terms { margin: 0; display: grid; gap: 6px 14px; grid-template-columns: max-content minmax(0, 1fr); }
.terms dt { font-weight: 800; }
.terms dd { margin: 0; }
.terms dd p { margin: 0; }
.thinkers { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.thinker { background: var(--bg); border-radius: var(--r-sm); padding: 10px 12px; }
.thinker .md p { margin: .3em 0 0; }
.formulas { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.formula { background: var(--bg); border-radius: var(--r-sm); padding: 10px 12px; min-width: 0; }
.formula .md p { margin: .3em 0; }
.formula p.small { margin: .2em 0 0; }
details.quiz { border-top: 1px solid var(--line); padding: 6px 0; }
/* flex로 두면 수식·글자가 줄바꿈되지 않아 폰에서 옆으로 넘친다. 보통 글 흐름(list-item)으로 */
details.quiz > summary { font-weight: 700; display: list-item; padding: 10px 0; overflow-wrap: anywhere; }
summary .katex, .formula p .katex, .unit-row .katex { display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; }
details.quiz .md { background: var(--ok-soft); border-radius: var(--r-sm); padding: 4px 12px; margin: 4px 0 8px; }
.unit-done { text-align: center; }
.unit-done .btn { width: 100%; }
.unit-nav { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 24px; flex-wrap: wrap; }
.unit-nav .btn { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 44px; }
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } .terms dd { margin-bottom: 6px; } }

/* 아주 좁은 폰: 남은 시간 표시는 줄이고, 초기화는 답안 머리 버튼으로 */
@media (max-width: 420px) {
  .timer .t-time .muted { display: none; }
  .timer #tReset { display: none; }
  .toc ol { columns: 1; }
}
@media (min-width: 421px) { #tReset2 { display: none; } }

/* 태블릿 가로·PC: 왼쪽 메뉴, 문제와 답안을 나란히, 양쪽 따로 스크롤 */
@media (min-width: 900px) {
  body { padding-bottom: 0; padding-left: 92px; font-size: 17px; }
  .tabs { top: 0; bottom: 0; right: auto; width: 92px; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 76px 8px 16px; border-top: 0; border-right: 1px solid var(--line); z-index: 4; }
  .tabs a { flex: 0 0 64px; font-size: .8rem; }
  main { max-width: 1240px; padding: 20px 28px; }
  .grid.quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .today { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 28px; }
  .today .today-head { grid-row: span 3; flex-direction: column; }
  .today .dday { font-size: 3.4rem; }
  .today .today-title { margin-top: 4px; }
  .timer .jump { display: none; }
  .solve { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .pane { position: sticky; top: 132px; max-height: calc(100vh - 148px); overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 24px 2px; scrollbar-width: thin; }
  .pane.write { border-left: 1px solid var(--line); padding-left: 24px; }
  .pane-title { margin-top: .4em; }
  textarea { min-height: 360px; }
}
@media (min-width: 1300px) { main { max-width: 1400px; } }

/* 단계별 공개와 복습 답 확인의 숨김 상태를 레이아웃 규칙보다 우선한다. */
[hidden] { display: none !important; }
/* ---------- 학원판(2026-11-13): 시험 고르기, 로그인, 선생님 화면 ---------- */
#gate input { width: 100%; }
.issued td { font-family: ui-monospace, monospace; }
.track-sel { min-height: 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; padding: 0 10px; }
.who { font-size: .8rem; color: var(--muted); max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 420px) { .brand { font-size: .95rem; } .who { display: none; } }
.unit-sel { width: 100%; min-height: 44px; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink); font: inherit; padding: 0 10px; }
.unitpick p { margin: 8px 0 0; }
.dday { white-space: nowrap; }
/* ---------- TF스코푸스 브랜드·문의 (2026-11-13) ---------- */
.brand { gap: 8px; }
.brand img { height: 34px; width: auto; border-radius: 6px; }
@media (prefers-color-scheme: dark) { .brand img { background: #fff; padding: 2px 4px; } }
.brand .bname { display: flex; flex-direction: column; line-height: 1.15; }
.brand .bname small { font-size: .7rem; font-weight: 600; color: var(--muted); }
.foot { text-align: center; margin: 8px auto 90px; display: flex; gap: 8px; justify-content: center; }
#inq textarea { width: 100%; min-height: 120px; }
#inq input { width: 100%; }
.inq-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.inq-row p { white-space: pre-wrap; margin: 4px 0; }
@media (max-width: 420px) { .brand .bname small { display: none; } }
.picker { display: grid; gap: 8px; margin: 10px 0; }
.picker label { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; align-items: center; font-weight: 700; font-size: .9rem; }
.picker .unit-sel { margin-top: 0; }
div.assign { margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--accent); border-radius: var(--r-sm); }
[data-names] { min-height: 110px; }
