/* ---------- 토큰 ---------- */
:root {
  --bg: #f6f7f6;
  --surface: #ffffff;
  --surface-2: #f0f2f1;
  --text: #17201e;
  --muted: #5b6965;
  --line: #e1e6e4;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --focus-c: #e03131;
  --short-c: #0f766e;
  --long-c: #3b5bdb;
  --warn: #e8590c;
  --danger: #c92a2a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 22, .04), 0 8px 24px rgba(16, 24, 22, .06);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1312;
    --surface: #171d1b;
    --surface-2: #1f2725;
    --text: #e6ecea;
    --muted: #97a6a1;
    --line: #2a3431;
    --accent: #2dd4bf;
    --accent-ink: #052e2a;
    --focus-c: #ff6b6b;
    --short-c: #2dd4bf;
    --long-c: #748ffc;
    --warn: #ff922b;
    --danger: #ff6b6b;
    --shadow: none;
    color-scheme: dark;
  }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; }
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- 헤더 / 푸터 ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 58px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand svg { color: var(--accent); }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.lang { display: flex; gap: 2px; font-size: 13px; }
.lang a { color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.lang a[aria-current] { color: var(--text); font-weight: 700; background: var(--surface-2); }
@media (max-width: 640px) {
  .header-row { gap: 6px 12px; padding: 8px 0; }
  .nav { order: 3; flex-basis: 100%; }
  .lang { margin-left: auto; }
}
.site-footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--muted); }

/* ---------- 본문 ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 2px; }
.crumbs a { color: var(--muted); text-decoration: none; }
h1 { font-size: clamp(26px, 4.2vw, 34px); line-height: 1.25; margin: 6px 0 8px; letter-spacing: -.02em; }
.lead { color: var(--muted); margin: 0 0 22px; font-size: 17px; }
.hero { padding: 28px 0 8px; }
.content { margin-top: 44px; }
.content section { margin-bottom: 34px; }
.content h2, .related h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.content h3 { font-size: 17px; margin: 18px 0 6px; }
.content p, .content li { color: var(--text); }
.content ol, .content ul { padding-left: 22px; }
.content table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
.content th, .content td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.content th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.faq details > div { padding: 0 0 14px; color: var(--muted); }
.faq details > div p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.legal h2 { font-size: 19px; margin-top: 28px; }
.notfound { text-align: center; padding: 80px 16px; }

/* ---------- 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card strong { font-size: 17px; }
.card span:last-child { color: var(--muted); font-size: 14px; }
.card-icon { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.related { margin-top: 40px; }
.lang-picks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.lang-pick { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; background: var(--surface); }
.lang-suggest { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); font-weight: 600; }
.lang-suggest a { text-decoration: none; }

/* ---------- 도구 공통 ---------- */
.tool { --mode-c: var(--accent); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.tool-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.btn { border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; font-weight: 700; cursor: pointer; min-height: 44px; }
.btn.primary { background: var(--mode-c); color: #fff; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn.big { min-width: 160px; font-size: 18px; padding: 12px 28px; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 18px 0 6px; flex-wrap: wrap; }
.big-time { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-size: clamp(56px, 13vw, 84px); text-align: center; }
.big-time.mid { font-size: clamp(36px, 8vw, 48px); margin-top: 6px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0; }
.hint.center { text-align: center; }
.settings { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.settings summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 15px; padding: 4px 0; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 16px; padding: 12px 0 4px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.field input, .field select { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 6px 10px; font-size: 15px; color: var(--text); }
.field input[type=range] { padding: 0; border: 0; background: none; accent-color: var(--mode-c); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 40px; }
.check input { width: 18px; height: 18px; accent-color: var(--mode-c); }
.field-actions { display: flex; align-items: flex-end; }
.ad { margin: 22px 0; min-height: 100px; }

/* 전체화면 */
.tool:fullscreen, .tool.pseudo-fs { border-radius: 0; border: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px; overflow: auto; }
.tool:-webkit-full-screen { border-radius: 0; border: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.tool.pseudo-fs { position: fixed; inset: 0; z-index: 1000; }
.tool:fullscreen .tool-bar, .tool.pseudo-fs .tool-bar { position: absolute; top: 16px; left: 16px; right: 16px; }
.tool:fullscreen .settings, .tool.pseudo-fs .settings, .tool:fullscreen .stats, .tool.pseudo-fs .stats,
.tool:fullscreen .hint, .tool.pseudo-fs .hint { display: none; }

/* ---------- 뽀모도로 ---------- */
.pomo[data-mode=focus] { --mode-c: var(--focus-c); }
.pomo[data-mode=short] { --mode-c: var(--short-c); }
.pomo[data-mode=long] { --mode-c: var(--long-c); }
.tabs { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 2px; }
.tab { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 15px; }
.tab.active { background: var(--surface); color: var(--mode-c); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.pomo-ring { position: relative; width: min(320px, 78vw); aspect-ratio: 1; margin: 10px auto 4px; }
.pomo-ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--mode-c); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .3s linear, stroke .3s; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ring-center .sub { color: var(--mode-c); font-weight: 700; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.dots i.on { background: var(--mode-c); border-color: var(--mode-c); }
.task-input { display: block; width: min(420px, 100%); margin: 8px auto 0; text-align: center; border: 0; border-bottom: 1px dashed var(--line); background: transparent; padding: 8px; font-size: 16px; color: var(--text); }
.task-input:focus { outline: none; border-bottom-color: var(--mode-c); }
.stats { display: grid; grid-template-columns: 1fr 1fr 2.2fr; gap: 10px; margin-top: 16px; }
.stat, .week-box { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.stat b { font-size: 26px; font-family: var(--mono); line-height: 1.1; }
.stat small, .week-head small { color: var(--muted); font-size: 12px; }
.week-head { display: flex; justify-content: space-between; align-items: center; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; }
.day { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--muted); }
.day .bar { width: 100%; max-width: 22px; height: 46px; display: flex; align-items: flex-end; background: var(--surface); border-radius: 5px; overflow: hidden; }
.day .bar i { display: block; width: 100%; background: var(--focus-c); opacity: .75; border-radius: 5px 5px 0 0; }
.day b { font-weight: 600; min-height: 15px; color: var(--text); }
.day.today span { color: var(--text); font-weight: 700; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .week-box { grid-column: 1 / -1; } }
.pomo:fullscreen .pomo-ring, .pomo.pseudo-fs .pomo-ring { width: min(70vh, 86vw); }
.pomo:fullscreen .big-time, .pomo.pseudo-fs .big-time { font-size: min(16vh, 18vw); }
.pomo:fullscreen .task-input, .pomo.pseudo-fs .task-input { font-size: 22px; border-bottom-color: transparent; }

/* ---------- 시험 타이머 ---------- */
.clock-now { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; color: var(--muted); }
.exam-setup .field { max-width: 360px; }
.sched-wrap { overflow-x: auto; margin: 10px 0 8px; }
.sched { width: 100%; border-collapse: collapse; }
.sched th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; padding: 4px 6px; }
.sched td { padding: 3px 4px; }
.sched input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); padding: 4px 8px; font-size: 15px; }
.sched input:disabled { opacity: .35; }
.sched .r-num { width: 76px; }
@media (max-width: 520px) { .sched .r-num { width: 58px; } .sched th { font-size: 11px; } .tl-time { min-width: 0; } }
.sched .del { width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 8px; }
.sched .del:hover { background: var(--surface-2); color: var(--danger); }
.start-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.exam-run { text-align: center; padding: 6px 0; }
.exam-status { display: inline-block; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.exam[data-phase=exam] .exam-status { background: var(--accent); color: var(--accent-ink); }
.exam[data-phase=break] .exam-status { background: var(--long-c); color: #fff; }
.exam-name { font-size: clamp(22px, 4.5vw, 34px); font-weight: 800; margin: 12px 0 8px; letter-spacing: -.02em; }
.exam .big-time { font-size: clamp(64px, 17vw, 128px); transition: color .3s; }
.exam[data-warn="10"] .big-time { color: var(--warn); }
.exam[data-warn="5"] .big-time { color: var(--danger); }
.exam.paused .big-time { opacity: .45; }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; max-width: 560px; margin: 16px auto 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .25s linear; }
.exam[data-warn="10"] .progress i { background: var(--warn); }
.exam[data-warn="5"] .progress i { background: var(--danger); }
.exam[data-phase=break] .progress i { background: var(--long-c); }
.exam-meta { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.timeline { list-style: none; padding: 0; margin: 18px auto 0; max-width: 520px; text-align: left; }
.timeline li { display: flex; gap: 12px; padding: 7px 12px; border-radius: 9px; color: var(--muted); font-size: 15px; }
.timeline li.done { opacity: .5; text-decoration: line-through; }
.timeline li.current { background: var(--surface-2); color: var(--text); font-weight: 700; }
.tl-time { font-family: var(--mono); font-variant-numeric: tabular-nums; min-width: 140px; }
.exam:fullscreen .big-time, .exam.pseudo-fs .big-time { font-size: min(26vh, 22vw); }
.exam:fullscreen .exam-name, .exam.pseudo-fs .exam-name { font-size: min(7vh, 6vw); }
.exam:fullscreen .clock-now, .exam.pseudo-fs .clock-now { font-size: 26px; }

/* ---------- 시각 타이머 ---------- */
.visual { --dial: #e5484d; --mode-c: var(--dial); }
.swatches { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch[aria-checked=true] { box-shadow: 0 0 0 2px var(--text); }
.dial-wrap { width: min(400px, 86vw); margin: 4px auto 0; }
#dial { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
#dial:active { cursor: grabbing; }
#dial .face { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
#dial .ticks line { stroke: var(--muted); stroke-linecap: round; }
#dial .ticks .minor { stroke-width: 1.4; opacity: .55; }
#dial .ticks .major { stroke-width: 3; }
#dial .labels text { fill: var(--text); font-size: 17px; font-weight: 700; text-anchor: middle; dominant-baseline: central; font-family: var(--font); }
#dial .knob { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.visual.done .dial-wrap { animation: flash .8s ease-in-out 6; }
@keyframes flash { 50% { opacity: .25; } }
.presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.chip { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px; font-weight: 600; min-height: 36px; }
.chip:hover { border-color: var(--dial); }
.visual:fullscreen .dial-wrap, .visual.pseudo-fs .dial-wrap { width: min(76vh, 90vw); }
.visual:fullscreen .presets, .visual.pseudo-fs .presets { display: none; }
@media (prefers-reduced-motion: reduce) { .visual.done .dial-wrap { animation: none; } .ring-fg { transition: none; } }

/* ---------- 메뉴 그룹 / 허브 그룹 ---------- */
.nav a.nav-group { color: var(--accent); }
.tool-group { margin-top: 26px; }
.tool-group h2 { font-size: 20px; margin: 0 0 4px; }

/* ---------- 시험 D-day ---------- */
.cd-view { text-align: center; padding: 18px 0 6px; }
.cd-title { font-size: clamp(18px, 3.4vw, 24px); font-weight: 700; color: var(--muted); }
.cd-dday { font-family: var(--mono); font-weight: 800; font-size: clamp(64px, 18vw, 140px); line-height: 1.05; color: var(--accent); letter-spacing: -.04em; margin: 4px 0 12px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 auto; }
.cd-grid div { background: var(--surface-2); border-radius: 14px; padding: 12px 6px; }
.cd-grid b { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(26px, 6vw, 44px); line-height: 1.1; }
.cd-grid small { color: var(--muted); font-size: 13px; }
.cd-target { color: var(--muted); margin-top: 14px; font-size: 15px; }
.countdown.passed .cd-dday { color: var(--muted); }
.countdown:fullscreen .cd-dday, .countdown.pseudo-fs .cd-dday { font-size: min(30vh, 24vw); }
.countdown:fullscreen .cd-grid, .countdown.pseudo-fs .cd-grid { max-width: 90vw; }
.countdown:fullscreen .cd-grid b, .countdown.pseudo-fs .cd-grid b { font-size: min(10vh, 9vw); }
.countdown:fullscreen .controls, .countdown.pseudo-fs .controls { display: none; }

/* ---------- 공부 스톱워치 ---------- */
.study-total { text-align: center; padding: 6px 0 10px; }
.study-total small { color: var(--muted); }
.study-current { color: var(--muted); font-weight: 600; margin-top: 8px; min-height: 1.6em; }
.study.running .study-current { color: var(--accent); }
.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.subject { position: relative; }
.subject-main { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--surface-2); border: 2px solid transparent; border-left: 6px solid var(--c); border-radius: 12px; padding: 12px 14px; cursor: pointer; min-height: 76px; }
.subject-main:hover { border-color: var(--line); border-left-color: var(--c); }
.subject.on .subject-main { background: color-mix(in srgb, var(--c) 14%, var(--surface)); border-color: var(--c); }
.subject-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.subject-time { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 700; }
.subject-state { position: absolute; right: 12px; bottom: 10px; color: var(--c); font-size: 14px; }
.subject-del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; opacity: .55; }
.subject-del:hover { opacity: 1; color: var(--danger); background: var(--surface); }
.add-subject { display: flex; gap: 8px; max-width: 420px; }
.add-subject input { flex: 1; min-width: 0; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 4px 10px; font-size: 15px; }
.stat b#weekTotal, .stat b#bestSub { font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.study .day .bar i { background: var(--accent); }
.study:fullscreen .add-subject, .study.pseudo-fs .add-subject { display: none; }
.study:fullscreen .big-time, .study.pseudo-fs .big-time { font-size: min(18vh, 16vw); }

/* ---------- 계산기 공통 ---------- */
.calc-inputs { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin: 6px 0 14px; }
.calc-inputs .field { min-width: 170px; }
.calc-result { background: var(--surface-2); border-radius: 14px; padding: 18px; text-align: center; }
.result-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.result-big { font-size: clamp(28px, 6vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 2px 0; font-variant-numeric: tabular-nums; }
.result-sub { color: var(--muted); font-size: 15px; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.result-card { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.result-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.result-card b { font-size: 22px; font-variant-numeric: tabular-nums; }
.result-card span { color: var(--muted); font-size: 13px; }
.calc .tool-bar .tabs { flex-wrap: wrap; }
.ms-wrap { overflow-x: auto; margin-top: 12px; }
.ms-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ms-table th, .ms-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.ms-table th { color: var(--muted); font-size: 13px; font-weight: 600; }
.ms-table tr.past td { color: var(--muted); opacity: .6; }
.ms-table tr.next td { font-weight: 700; color: var(--accent); }
.ms-table td:last-child { font-family: var(--mono); white-space: nowrap; }
@media (max-width: 520px) { .calc-inputs .field { min-width: 0; flex: 1 1 140px; } .ms-table { font-size: 13px; } .ms-table th, .ms-table td { padding: 7px 6px; } }

/* ---------- 연봉 실수령액 ---------- */
.sal-table-wrap { overflow-x: auto; margin-top: 12px; }
.sal-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.sal-table th, .sal-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.sal-table tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.sal-table td { text-align: right; white-space: nowrap; }
.sal-table tr.strong th, .sal-table tr.strong td { color: var(--text); font-weight: 700; }
.sal-table tr.net th, .sal-table tr.net td { color: var(--accent); font-weight: 800; font-size: 17px; border-bottom: 0; }
.sal-table.compact { font-size: 14px; }
.sal-table.compact thead th { color: var(--muted); font-weight: 600; font-size: 12px; text-align: right; }
.sal-table.compact thead th:first-child, .sal-table.compact td:first-child { text-align: left; }
.sal-table.compact tr.hl td { background: var(--surface-2); }
@media (max-width: 520px) { .sal-table th, .sal-table td { padding: 8px 6px; } .sal-table.compact { font-size: 12px; } }
