/* 스터디 강화 — 화면 (밤의 학당 테마는 app.css)
   금빛 한 가지 색을 진하기로 나눠 쓴다 (달력: 옅을수록 적게 → 진할수록 많이). 빨강(--bad)은 틀림 표시에만.
   테마 토큰은 app.css(밤의 학당)와 같다. */
:root {
  --lv1: color-mix(in srgb, var(--gold-2) 28%, var(--surface-2));
  --lv2: color-mix(in srgb, var(--gold-2) 52%, var(--surface-2));
  --lv3: color-mix(in srgb, var(--gold-2) 76%, var(--surface-2));
  --me: color-mix(in srgb, var(--gold-2) 14%, transparent);
}
/* ---------------------------------------------------------------- 공통 */
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.tiny { font-size: 12px; }
.card-title { font-size: 19px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.row-between > .card-title { margin-bottom: 0; }
.small-title { font-size: 15px; margin: 6px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-2 > .card { min-width: 0; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
.icon-btn.sm { width: 34px; height: 34px; }
.icon-btn.disabled { opacity: 0.35; pointer-events: none; }
.btn.danger { color: var(--bad); }
.tag { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); font-weight: 700; }
.tag.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.soft-sep { border: 0; border-top: 1px dashed var(--line); margin: 4px 0; width: 100%; }
.advanced summary { cursor: pointer; font-weight: 700; color: var(--ink-2); padding: 6px 0; }
.advanced[open] summary { margin-bottom: 10px; }
.page-head .btn { white-space: nowrap; flex-shrink: 0; }
.emoji { display: inline-grid; place-items: center; font-size: 20px; line-height: 1; width: 1.3em; flex-shrink: 0; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.emoji.lg { font-size: 28px; }
.emoji.xl { font-size: 44px; }
.meter { display: inline-block; width: 64px; height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; vertical-align: middle; }
.meter i { display: block; height: 100%; background: var(--gold-2); border-radius: 4px; }
.streak-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; color: var(--warn-ink); }
.tip { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; padding: 6px 4px; }
.tip-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* 마크다운 · AI 글 */
.md { font-size: 16px; line-height: 1.8; }
.md h3 { font-size: 18px; margin: 22px 0 8px; color: var(--brand-ink); padding-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 25%, var(--line)); }
.md h3:first-child { margin-top: 0; }
.md p { margin: 0 0 12px; }
.md ul, .md ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 4px; }
.md b { color: var(--ink); }
.study-md { overflow-wrap: anywhere; line-height: 1.9; }
.study-md p { margin: 0 0 14px; }
.study-md > :last-child { margin-bottom: 0; }
.study-md h2, .study-md h3, .study-md h4 { font-family: var(--font); font-size: 1.05em; margin: 24px 0 12px; color: var(--brand-ink); }
.study-md h2:first-child, .study-md h3:first-child, .study-md h4:first-child { margin-top: 0; }
.study-md ul, .study-md ol { display: grid; gap: 8px; padding-left: 24px; margin: 12px 0 18px; }
.study-md blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--gold-2); background: var(--surface-2); }
.study-md pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: var(--surface-2); font-size: .85em; line-height: 1.6; }
.study-md code { white-space: pre-wrap; background: var(--surface-2); padding: 2px 5px; border-radius: 4px; font-size: .9em; }
.study-md pre code { padding: 0; white-space: pre; }
.md-table { overflow-x: auto; margin: 16px 0; }
.md-table table { width: 100%; border-collapse: collapse; font-size: .9em; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.md-table th { background: var(--surface-2); }
.math-block { display: block; max-width: 100%; overflow-x: auto; margin: 18px 0; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.math-block .katex-display { margin: 0; }
.katex { font-size: 1.1em; }
.tex-raw { overflow-wrap: anywhere; white-space: pre-wrap; }
.q-text.study-md { white-space: normal; }
.reading-head h2 { font-size: 20px; display: inline-flex; align-items: center; gap: 4px; }
.reading-body { display: grid; gap: 14px; margin-top: 10px; }
.reading-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pulse 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }


/* ---------------------------------------------------------------- 공통 부품 (루틴 강화와 같은 모양) */
.onboard-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--me); color: var(--brand-ink); }
.burst { position: fixed; left: 50%; top: 32%; width: 0; height: 0; pointer-events: none; z-index: 60; }
.burst i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--glow);
  animation: burst 1.1s ease-out var(--d) forwards; transform: rotate(var(--a)) translateY(0); opacity: 0; }
.burst i:nth-child(3n) { background: #f4b860; width: 6px; height: 6px; }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-130px) scale(0.4); } }
.card-actions { display: flex; gap: 4px; align-items: center; }
.archive-box summary { cursor: pointer; font-weight: 700; }
.archive-box[open] summary { margin-bottom: 8px; }
.archive-box .goal-list { margin-top: 10px; }
.amount-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 320px; }
.amount-row:empty { display: none; }
.choice-chip { display: inline-flex; align-items: center; gap: 5px; }
.danger-row { justify-content: space-between; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 2px; box-shadow: var(--shadow-1); }
.stat-label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.stat-label .icon { color: var(--brand-ink); }
.stat-value { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.heat-wrap { overflow-x: auto; padding-bottom: 4px; direction: rtl; }
.heat-wrap > .heat { direction: ltr; }
.heat { display: flex; gap: 6px; width: max-content; margin: 0 auto 0 0; }
.heat-dows { display: grid; grid-template-rows: repeat(7, 14px); gap: 3px; font-size: 10px; color: var(--muted); line-height: 14px; }
.heat-cols { display: flex; gap: 3px; }
.heat-col { display: grid; grid-template-rows: repeat(7, 14px); gap: 3px; }
.heat-cell { width: 14px; height: 14px; border-radius: 4px; background: var(--surface-2); display: inline-block; }
.heat-cell.lv1 { background: var(--lv1); }
.heat-cell.lv2 { background: var(--lv2); }
.heat-cell.lv3 { background: var(--lv3); }
.heat-cell.lv4 { background: var(--accent-strong); }
.heat-cell.off, .heat-cell.future { background: transparent; }
.heat-cell.future { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 50%, transparent); }
.heat-cols .heat-cell[title] { cursor: default; }
.heat-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.heat-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.line-chart { position: relative; }
.line-chart svg { display: block; max-width: 100%; touch-action: pan-y; }
.line-chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.line-chart .axis { fill: var(--muted); font-size: 11px; }
.line-chart .area { fill: color-mix(in srgb, var(--gold-2) 16%, transparent); }
.line-chart .line { fill: none; stroke: var(--gold-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.line-chart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.line-chart .dot { fill: var(--gold-2); stroke: var(--surface); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-tip { position: absolute; top: -6px; padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }

/* ---------------------------------------------------------------- 더보기 (휴대폰) */
.more-list { display: grid; padding: 6px; }
.more-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
a.more-item:hover { background: var(--surface-2); }
.more-item + .more-item { border-top: 1px solid var(--line); }


.tag.ok { background: var(--ok-bg); color: var(--ok-ink); border-color: transparent; }
.notice.ok { background: var(--ok-bg); margin-top: 0; }
.tip { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; padding: 6px 4px; flex-wrap: wrap; }
.tip-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.slot-title { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 8px 2px 0; }
.session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.session-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.session-list li:last-child { border-bottom: 0; }
@media (max-width: 520px) { .session-list li { grid-template-columns: 1fr auto; } .session-list li > small { grid-column: 1 / -1; } }
.line-chart .pt { fill: var(--gold-2); stroke: var(--surface); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@media (max-width: 560px) { .page-head.row-between { flex-wrap: wrap; } }

/* ---------------------------------------------------------------- 더보기 (휴대폰) */
.more-list { display: grid; padding: 6px; }
.more-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
a.more-item:hover { background: var(--surface-2); }
.more-item + .more-item { border-top: 1px solid var(--line); }


/* ---------------------------------------------------------------- 스터디 공통 */
.tag.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.seg-row.mobile-only { display: none; }
.hero-msg { font-family: var(--serif); font-size: 21px; }
.week-dots { display: flex; gap: 6px; }
.wd { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); }
.wd.on { background: var(--gold-2); color: #2a1a08; border-color: transparent; }
.wd.today { box-shadow: 0 0 0 2px var(--accent-strong); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { font-weight: 600; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list a:hover { color: var(--brand-ink); }
.seg-row { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: 14px; background: var(--surface-2); align-self: flex-start; }
.seg-row .seg { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 14px; border-radius: 10px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.seg-row .seg.on { background: var(--surface); color: var(--brand-ink); box-shadow: var(--shadow-1); }
.chip-btn { border: 1px solid var(--line); cursor: pointer; }
.chip-btn:hover { border-color: var(--gold-2); color: var(--brand-ink); }

/* ---------------------------------------------------------------- 자료 목록 */
.dropzone { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 18px; border: 2px dashed color-mix(in srgb, var(--gold-2) 55%, var(--line)); border-radius: 18px;
  background: color-mix(in srgb, var(--gold-2) 6%, var(--surface)); color: var(--brand-ink); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.dropzone:hover, .dropzone.over, .dropzone:focus-visible { background: color-mix(in srgb, var(--gold-2) 16%, var(--surface)); border-color: var(--gold-2); outline: none; }
.dropzone b { color: var(--ink); }
.doc-list { display: grid; gap: 10px; }
.library-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.library-sort { width: auto; }
.flashcard h3 { font-size: 26px; line-height: 1.5; }
.flashcard-answer { padding: 18px; background: var(--surface-2); border-radius: 12px; }
.bookmark-links .on { border-color: var(--gold-2); color: var(--brand-ink); }
.doc-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.doc-main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; text-decoration: none; color: inherit; }
.doc-main.disabled { cursor: default; }
.doc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--me); color: var(--brand-ink); }
.doc-text { display: grid; gap: 2px; min-width: 0; }
.doc-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.doc-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-text small.field-error { white-space: normal; }
.doc-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .doc-card { flex-direction: column; align-items: stretch; } .doc-side { justify-content: flex-start; } }

/* ---------------------------------------------------------------- 문서 보기 (PDF + 정리) */
.page-wide { max-width: 1480px; }
.doc-page { max-width: none; padding-left: 20px; padding-right: 20px; }
.doc-title { display: grid; gap: 4px; min-width: 0; }
.doc-title .page-title { overflow-wrap: anywhere; }
.doc-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.doc-page.pdf-expanded .doc-split { grid-template-columns: minmax(0, 1fr); }
.doc-page.pdf-expanded .notes-pane { display: none; }
.pdf-pane, .notes-pane { display: grid; gap: 8px; min-width: 0; align-content: start; }
.pdf-pane { position: sticky; top: 12px; }
.pdf-pane:has(.pdf-stage.is-tall), .pdf-expanded .pdf-pane { position: static; }
.pdf-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pdf-bar .link-btn { margin-left: auto; }
.page-in { width: 70px; padding: 6px 8px; text-align: center; font-size: 15px; border-radius: 10px; }
.pdf-box { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.pdf-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pdf-zoom-controls { display: flex; align-items: center; gap: 6px; }
.pdf-zoom-label { min-width: 48px; font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.pdf-stage { position: relative; width: 100%; padding: 12px; min-height: 320px; overflow-x: auto; }
.pdf-sheet { width: max-content; min-width: 0; margin: 0 auto; background: #fff; box-shadow: var(--shadow-1); }
.pdf-canvas { display: block; }
.pdf-status { position: absolute; inset: 0; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: var(--surface-2); text-align: center; }
/* 정리·원문 글자는 높이를 제한하지 않고 페이지 전체 스크롤로 끝까지 읽는다. */
.notes-scroll { display: grid; gap: 12px; min-width: 0; overflow: visible; align-content: start; }
.sec { scroll-margin: 8px; transition: box-shadow 0.2s, border-color 0.2s; }
.sec.on { border-color: var(--gold-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-2) 22%, transparent); }
.sec-head { display: grid; gap: 12px; margin-bottom: 20px; }
.sec-head h3 { font-size: 23px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.sec-kicker { color: var(--brand-ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.notes-pane .sec { padding: 26px; }
.sec-summary, .overview { line-height: 1.95; margin: 8px 0; font-size: 16px; overflow-wrap: anywhere; }
.sec-summary p, .overview p { margin: 0 0 16px; }
.sec-summary p:last-child, .overview p:last-child { margin-bottom: 0; }
.notes-controls { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 12px; }
.notes-controls p { margin: 0; line-height: 1.6; }
.slide-select { width: 100%; min-width: 0; font-size: 14px; text-overflow: ellipsis; }
.slide-position { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.study-points { margin-top: 24px; padding: 18px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--gold-2); }
.study-points h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 12px; color: var(--brand-ink); }
.study-points .points { gap: 12px; margin: 0; line-height: 1.8; font-size: 15px; }
.overview-card > summary, .section-terms > summary { cursor: pointer; font-weight: 700; line-height: 1.7; }
.overview-card[open] > summary { margin-bottom: 16px; }
.section-terms { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.section-terms .terms { grid-template-columns: 1fr; border-top: 0; }
.section-terms .terms dd { margin-bottom: 10px; }
.points { margin: 8px 0; padding-left: 20px; display: grid; gap: 5px; line-height: 1.65; }
.terms { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.terms dt { font-weight: 800; color: var(--brand-ink); }
.terms dd { margin: 0; color: var(--ink-2); line-height: 1.6; }
.page-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 14.5px; line-height: 1.75; margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 900px) {
  .seg-row.mobile-only { display: inline-flex; margin-bottom: 10px; }
  .doc-split { grid-template-columns: 1fr; }
  .doc-split.pane-pdf .notes-pane, .doc-split.pane-notes .pdf-pane { display: none; }
  .pdf-pane { position: static; }
  .doc-page { padding-left: 16px; padding-right: 16px; }
  .pdf-stage { padding: 12px; min-height: 220px; }
  .notes-pane .sec { padding: 22px 18px; }
  .sec-head h3 { font-size: 21px; }
  .notes-controls .seg { padding: 7px 10px; font-size: 13px; }
}

/* ---------------------------------------------------------------- 새 퀴즈 */
.pick-list { display: grid; gap: 8px; }
.pick { border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); padding: 10px 14px; display: grid; gap: 8px; }
.pick:has(input:checked) { border-color: var(--gold-2); background: color-mix(in srgb, var(--gold-2) 8%, var(--surface)); }
.pick-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.pick-row input { width: 18px; height: 18px; accent-color: var(--gold-2); }
.pick-text { display: grid; gap: 1px; min-width: 0; }
.range-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-left: 30px; }
.text-input.mini { width: 74px; padding: 7px 10px; font-size: 15px; border-radius: 10px; text-align: center; }
textarea.text-input { resize: vertical; line-height: 1.6; }

/* ---------------------------------------------------------------- 퀴즈 풀기 · 결과 */
.quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quiz-top .progress { flex: 1; }
.quiz-card { display: grid; gap: 16px; padding: 22px; }
.q-text { font-family: var(--serif); font-size: 21px; line-height: 1.65; white-space: pre-wrap; margin: 0; }
.q-text.sm { font-size: 17px; }
.choice { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.choice-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); font-size: 13px; font-weight: 800; color: var(--ink-2); }
.choice.on .choice-no { background: var(--gold-2); color: #2a1a08; }
.ox-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ox { font-family: var(--serif); font-size: 44px; font-weight: 700; padding: 22px 0; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.ox.on { border-color: var(--gold-2); background: color-mix(in srgb, var(--gold-2) 16%, var(--surface)); color: var(--brand-ink); }
.quiz-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.result-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 14px; }
.result-hero .ring { color: var(--gold-2); flex-shrink: 0; }
.review { display: grid; gap: 10px; margin-top: 12px; border-left: 4px solid var(--line); }
.review.right { border-left-color: var(--ok); }
.review.wrong { border-left-color: var(--bad); }
.review-kv { margin: 0; }
.ok-text { color: var(--ok-ink); font-weight: 700; }
.bad-text { color: var(--bad); font-weight: 700; }
.explain { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 560px) { .result-hero { flex-direction: column; text-align: center; } .q-text { font-size: 19px; } .week-dots { gap: 4px; flex-wrap: wrap; } .wd { width: 25px; height: 25px; font-size: 11px; } }
