/* KEEPER 0.15.0 — 디자인 토큰 정리 (짙은 남색 + 꿀색 포인트). 인라인 style 금지(CSP) — 모든 모양은 여기서
   글자 크기 단계: 12 · 13 · 14 · 15(본문) · 17 · 20 · 24 · 34(공개 큰 제목)
   간격 단계: 4 · 8 · 12 · 16 · 24 · 32 · 48 */
:root {
  --ink: #17202c; --ink-2: #3f4a5a; --muted: #6a7585; --line: #e3e7ee; --line-2: #eef1f5;
  --bg: #f6f7f9; --card: #fff; --soft: #f9fafc;
  --brand: #1f3a5f; --brand-2: #2b5283; --brand-soft: #eaf0f8;
  --accent: #d99a1e; --accent-soft: #fdf6e7;
  --ok: #1f7a4d; --ok-soft: #e8f6ee; --warn: #a8540d; --warn-soft: #fdf3e4; --bad: #b42318; --bad-soft: #fdecea;
  --radius: 12px; --radius-sm: 8px; --gap: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--brand-2); text-underline-offset: 2px; }
h1 { font-size: 22px; line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 17px; margin: 0 0 10px; letter-spacing: -0.015em; }
h3 { font-size: 14px; margin: 12px 0 4px; color: var(--ink-2); }
h1 small, h2 small { font-weight: 400; color: var(--muted); font-size: 13px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .btn, .side-group a, .tool-card { transition: background .12s, border-color .12s, box-shadow .12s; } }

/* 상단·메뉴 (관리 프로그램) */
.top { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 5; }
.top a { color: #fff; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0; font-size: 16px; }
.top-me { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.top-me small { opacity: .7; }
.top .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.top .btn:hover { background: rgba(255,255,255,.1); }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.shell { display: flex; min-height: calc(100vh - 54px); }
.side { width: 200px; flex: 0 0 200px; background: var(--card); border-right: 1px solid var(--line); padding: 14px 8px; position: sticky; top: 54px; height: calc(100vh - 54px); overflow-y: auto; }
.side-group { margin-bottom: 16px; }
.side-group span { display: block; padding: 2px 12px 6px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.side-group a { display: block; padding: 8px 12px; color: var(--ink-2); text-decoration: none; border-radius: var(--radius-sm); font-size: 14.5px; }
.side-group a:hover { background: var(--bg); color: var(--ink); }
.side-group a.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.main { flex: 1; padding: 24px 28px 64px; min-width: 0; max-width: 1120px; }

/* 화면 위 탭 (묶음 메뉴의 하위 화면) */
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; margin: -4px 0 20px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; width: fit-content; max-width: 100%; }
.subtabs a { padding: 6px 12px; border-radius: 7px; text-decoration: none; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.subtabs a:hover { background: var(--bg); }
.subtabs a.on { background: var(--brand); color: #fff; font-weight: 600; }

/* 카드·격자 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: var(--gap); box-shadow: var(--shadow); }
.card > h2:first-child { font-size: 15px; color: var(--ink-2); }
.card.off, tr.off { opacity: .6; }
.narrow { max-width: 480px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }
.grid .card { margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.notice { background: var(--accent-soft); border: 1px solid #f0d9a6; border-radius: var(--radius-sm); padding: 10px 14px; }
.notice-card { border-color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.warn { color: var(--warn); }
.mono { font-family: Consolas, "D2Coding", monospace; word-break: break-all; }
.pre { white-space: pre-wrap; }
.big-num { font-size: 17px; margin: 4px 0 8px; }
.big-num strong { font-size: 28px; color: var(--brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line-2); }
ul.plain li:last-child { border-bottom: 0; }
ol.steps { padding-left: 20px; }
dl.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0 0 8px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
.card-link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.alerts { list-style: none; margin: 10px 0 0; padding: 0; }
.alerts li { font-size: 13px; padding: 6px 10px; background: var(--warn-soft); color: var(--warn); border-radius: 6px; margin-top: 6px; }
.alerts li a { color: inherit; font-weight: 600; }

/* 버튼·입력 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 14px; border: 1px solid #d5dbe4; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; text-decoration: none; min-height: 38px; }
.btn:hover { border-color: var(--brand-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--brand-2); }
.btn.danger { color: var(--bad); border-color: #f1b4ae; }
.btn-sm { padding: 4px 10px; min-height: 30px; font-size: 13px; }
.btn.big { padding: 14px 26px; font-size: 17px; border-radius: 10px; }
.btn.wide, input.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
form.inline { display: inline; }
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.form label small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid #cfd6e0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); outline: 2px solid var(--brand-soft); outline-offset: 0; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; }
label.check { display: flex; align-items: center; gap: 6px; font-weight: 400; }
label.check input { width: auto; display: inline; margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 12px; padding: 10px 12px; }
legend { font-weight: 600; padding: 0 4px; }
legend small { font-weight: 400; color: var(--muted); }
.grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 12px; align-items: end; }
.grid-form label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.grid-form label input, .grid-form label select { display: block; width: 100%; margin-top: 4px; }
.grid-form .btn { margin-bottom: 10px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.inline-form label { margin: 0; }
.err { color: var(--bad); font-size: 13px; margin: -8px 0 10px; }
.item-row { display: grid; grid-template-columns: 150px 1fr 120px 150px; gap: 6px; margin-bottom: 6px; }

/* 알림 */
.flash { padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--ok-soft); border: 1px solid #b6e0c8; }
.flash.error { background: var(--bad-soft); border-color: #f5c2bd; }
.flash.warn { background: var(--warn-soft); border-color: #f0d9a6; }

/* 표 */
.table-wrap { overflow-x: auto; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.table-wrap table { border: 0; }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; padding: 10px 12px 4px; color: var(--ink-2); }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--soft); }
th { background: var(--soft); font-weight: 600; color: var(--muted); font-size: 13px; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.total td, tfoot td { font-weight: 700; background: var(--soft); }

/* 상태 표시 */
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef1f5; color: var(--ink-2); white-space: nowrap; }
.tag.s-done, .tag.s-approved, .tag.s-active, .tag.s-submitted { background: var(--ok-soft); color: var(--ok); }
.tag.s-pending, .tag.s-hold, .tag.s-invited, .tag.s-wait { background: var(--accent-soft); color: #8a5a00; }
.tag.s-rejected, .tag.s-skip, .tag.s-suspended { background: var(--bad-soft); color: var(--bad); }
.tag.s-withdrawn, .tag.s-canceled, .tag.s-left { background: #eef1f5; color: var(--muted); }

/* 할 일 */
ul.tasks { list-style: none; margin: 0; padding: 0; }
.task { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.task:last-child { border-bottom: 0; }
.task.s-done .task-head strong, .task.s-skip .task-head strong { color: var(--muted); text-decoration: line-through; }
.task-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.task p { margin: 4px 0; }
.task-form, .fix-form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.task-form input[name=result], .task-form input[name=note] { flex: 1; min-width: 180px; }
.fix-form input[type=time] { width: 110px; }
.fix-form input[name=memo] { width: 140px; }

/* 쪽 넘기기·탭 */
.pager { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 10px 0 14px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* 결재선 */
ol.line { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
ol.line li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px; min-width: 130px; display: flex; flex-direction: column; }
ol.line li span { font-size: 12px; color: var(--muted); }
ol.line li small { color: var(--muted); font-size: 12px; }
ol.line li em { font-size: 13px; margin-top: 4px; }
ol.line li.approved, ol.line li.done { border-color: #b6e0c8; background: #f3fbf6; }
ol.line li.rejected { border-color: #f5c2bd; background: #fdf3f2; }
ol.line li.now { border-color: var(--accent); box-shadow: 0 0 0 2px #f6e2b5; }

/* QR */
.qr svg { width: 220px; height: 220px; display: block; }
.qr.big svg { width: 360px; height: 360px; margin: 0 auto; }
.qr-print { text-align: center; padding: 40px 16px; }

/* 로그인 전 (관리 프로그램 입구) */
body.site { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 16px; background: linear-gradient(180deg, var(--brand-soft), var(--bg) 60%); }
.site-main { width: 100%; max-width: 420px; }
.site-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: 0 8px 30px rgba(16, 24, 40, .08); }
.site-card .brand { color: var(--brand); font-size: 18px; margin-bottom: 20px; }
.site-foot { text-align: center; color: var(--muted); font-size: 12px; }
.site-foot a { color: var(--muted); }
body.print { background: #fff; }

/* 홈 대시보드 */
.today-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: var(--gap); box-shadow: var(--shadow); }
.today-bar .clock { display: flex; gap: 20px; font-variant-numeric: tabular-nums; }
.today-bar .clock div { display: flex; flex-direction: column; }
.today-bar .clock span { font-size: 12px; color: var(--muted); }
.today-bar .clock strong { font-size: 22px; letter-spacing: -0.02em; }
.today-bar form { margin-left: auto; }
.today-bar .btn.primary { min-width: 120px; min-height: 44px; font-size: 16px; }

@media (max-width: 760px) {
  .burger { display: block; }
  .side { display: none; position: fixed; top: 54px; left: 0; bottom: 0; height: auto; z-index: 4; width: 240px; box-shadow: 4px 0 18px rgba(0,0,0,.12); }
  .side.open { display: block; }
  .main { padding: 16px 14px 60px; }
  .top-me .top-user { display: none; }
  .item-row { grid-template-columns: 1fr 1fr; }
  dl.kv { grid-template-columns: 96px 1fr; }
  .subtabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .today-bar form { margin-left: 0; width: 100%; }
  .today-bar .btn.primary { width: 100%; }
}
@media print {
  .top, .side, .no-print, .flash, .subtabs, .pub-top, .pub-foot, .related { display: none !important; }
  .main { padding: 0; }
  .card, .table-wrap { border: 0; box-shadow: none; }
}

/* 결재 서명 · 첨부 · 참조자 */
.sign-pad { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 480 / 180; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: #fff; touch-action: none; cursor: crosshair; }
img.sign { display: block; max-width: 140px; max-height: 52px; margin-top: 4px; background: #fff; }
p img.sign { display: inline-block; vertical-align: middle; margin: 0 0 0 8px; border: 1px solid var(--line); border-radius: 6px; }
ul.files { list-style: none; padding: 0; margin: 0; }
ul.files li { padding: 4px 0; }
details.pick { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px; }
details.pick summary { cursor: pointer; font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; margin-top: 8px; }
label.check { display: flex; gap: 6px; align-items: baseline; font-weight: 400; }
.nudge-row { border-top: 1px solid var(--line); padding: .6rem 0; }
.nudge-row:first-of-type { border-top: 0; }
.nudge-row label { display: block; margin: .3rem 0; }
.nudge-row input[name="designated"], .nudge-row input[name="plan"] { width: 100%; }
.grow { flex: 1 1 18rem; }
.sign-lines { margin-top: 2.5rem; line-height: 2.4; }
.sign-line { text-align: right; }

/* 연차휴가대장 (0.9.0) */
.slip.register { max-width: none; }
.register-table th, .register-table td { padding: 4px 6px; white-space: nowrap; }
.register-table td.sign-cell { min-width: 70px; }
tr.over3 td { background: #fff4e5; }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .register-table { font-size: 9pt; }
  .register-table th, .register-table td { border: 1px solid #999; }
}

/* ───── 공개 홈페이지 (0.15.0) — 로그인 없이 보는 영역 ───── */
body.pub { background: #fff; }
.pub-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.pub-top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.pub-bar { display: flex; align-items: center; height: 60px; gap: 16px; }
.pub-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--brand); text-decoration: none; }
.pub-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pub-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.pub-nav a.on, .pub-nav a:hover { color: var(--brand); }
.pub-nav .btn { color: var(--ink); }
.pub-main { min-height: 60vh; }
.section { padding: 48px 20px; }
.pub-wrap.section { padding: 48px 20px; }
.band { background: var(--soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-title { font-size: 24px; margin-bottom: 8px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 8px; letter-spacing: .02em; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 640px; margin: 0 0 24px; }
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 400px at 80% -10%, var(--brand-soft), transparent), linear-gradient(180deg, #fff, var(--soft)); }
.hero h1 { font-size: 40px; line-height: 1.25; letter-spacing: -0.035em; margin-bottom: 16px; }
.hero-cta { gap: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.feature h3 { font-size: 17px; color: var(--ink); margin: 0 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 20px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.tool-card strong { font-size: 17px; color: var(--brand); }
.tool-card span { font-size: 14px; color: var(--ink-2); }
.tool-card:hover { border-color: var(--brand-2); box-shadow: 0 4px 16px rgba(31, 58, 95, .12); }
.small-grid .tool-card { padding: 14px; box-shadow: none; }
.small-grid .tool-card strong { font-size: 15px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.tool h1 { font-size: 30px; letter-spacing: -0.03em; }
form.calc { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; align-items: end; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
form.calc label { display: block; font-weight: 600; font-size: 14px; }
form.calc label small { font-weight: 400; color: var(--muted); }
form.calc input, form.calc select { display: block; width: 100%; min-height: 44px; font-size: 16px; margin-top: 6px; }
form.calc .btn { min-height: 44px; font-size: 16px; }
.result { margin-top: 24px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat span { font-size: 13px; color: var(--muted); }
.stat strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat.big { background: var(--brand); border-color: var(--brand); color: #fff; }
.stat.big span { color: rgba(255,255,255,.75); }
.stat.big strong { font-size: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h-sm { font-size: 16px; margin-top: 20px; }
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: 16px; color: var(--ink-2); }
.cta-line { margin-top: 20px; padding: 14px 18px; background: var(--accent-soft); border-radius: var(--radius-sm); font-weight: 500; }
.pub-foot { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0 40px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.pub-foot p { margin: 4px 0; }
@media (max-width: 760px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 28px; }
  .lead { font-size: 16px; }
  .section, .pub-wrap.section { padding: 32px 16px; }
  .section-title { font-size: 20px; }
  .tool h1 { font-size: 24px; }
  .split { grid-template-columns: 1fr; }
  .pub-nav { gap: 12px; }
  .pub-nav a:not(.btn):first-child { display: none; }
}
.section.band { padding-left: 0; padding-right: 0; }
.form input, .form select, .form textarea, .grid-form input, .grid-form select, form.calc input, form.calc select { font-weight: 400; }
.grid { align-items: start; }
.result td { white-space: nowrap; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat.big { grid-column: 1 / -1; } .stat strong { font-size: 19px; } }

/* 0.16.0 휴대폰: 상자 밖 표도 가로로 밀어서 보기, 숫자 칸 줄바꿈 없음 */
@media (max-width: 760px) {
  .main :not(.table-wrap) > table:not(.cert-table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main th, .main td.num { white-space: nowrap; }
  .main h1 { font-size: 20px; }
  .card { padding: 14px 16px; }
}

/* 0.17.0 공지 · 증명서 · 주 52시간 */
.notice-strip { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: var(--accent-soft); border: 1px solid #f0d9a6; border-radius: var(--radius); padding: 12px 16px; margin-bottom: var(--gap); }
.notice-strip a { font-weight: 600; }
.notice-strip .more { margin-left: auto; font-weight: 400; }
.notice-list { list-style: none; padding: 4px 20px; }
.notice-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.notice-list li:last-child { border-bottom: 0; }
.notice-list li a { text-decoration: none; color: var(--ink); }
.notice-list li.unread a { font-weight: 700; }
.notice-list .new { color: var(--accent); }
.notice-body { font-size: 15.5px; line-height: 1.75; margin-top: 16px; }
.empty { text-align: center; padding: 32px 20px; }
.notice-view h1 { font-size: 20px; }
.week-warn strong, td.week-warn { color: var(--warn); font-weight: 700; }
.week-over strong, td.week-over { color: var(--bad); font-weight: 700; }
.slip.cert { max-width: 640px; margin: 40px auto; padding: 48px 56px; background: #fff; border: 1px solid var(--line); }
.cert h1 { text-align: center; font-size: 30px; letter-spacing: .2em; margin: 24px 0 36px; }
.cert-no { font-size: 13px; color: var(--muted); margin: 0; }
.cert-table { margin-bottom: 28px; font-size: 16px; }
.cert-table th { width: 120px; background: var(--soft); color: var(--ink-2); font-size: 15px; }
.cert-table th, .cert-table td { border: 1px solid #cfd6e0; padding: 12px 14px; }
.cert-text { font-size: 17px; text-align: center; margin: 32px 0 20px; }
.cert-date { text-align: center; font-size: 16px; margin-bottom: 36px; }
.cert-co { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; max-width: 420px; margin: 0 0 0 auto; font-size: 15px; }
.cert-co dt { color: var(--ink-2); }
.cert-co dd { margin: 0; }
.seal { margin-left: 12px; color: var(--muted); }
@media print { .slip.cert { border: 0; margin: 0 auto; padding: 20mm 10mm; } }
.today-bar .clock strong { white-space: nowrap; }
@media (max-width: 760px) {
  .today-bar .clock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; width: 100%; }
  .today-bar .clock strong { font-size: 18px; }
}

/* 0.18.0 시작하기 · 근로계약서 */
.onboard { border-color: var(--brand-soft); }
.onboard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.onboard-head h2 { margin: 0; }
.progress { height: 6px; background: var(--line-2); border-radius: 999px; margin: 12px 0 14px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--brand); border-radius: 999px; width: 0; }
.progress .p10 { width: 10%; } .progress .p20 { width: 20%; } .progress .p30 { width: 30%; } .progress .p40 { width: 40%; } .progress .p50 { width: 50%; }
.progress .p60 { width: 60%; } .progress .p70 { width: 70%; } .progress .p80 { width: 80%; } .progress .p90 { width: 90%; } .progress .p100 { width: 100%; }
.onboard-steps { list-style: none; counter-reset: ob; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.onboard-steps li { counter-increment: ob; }
.onboard-steps a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 10px 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); position: relative; }
.onboard-steps a::before { content: counter(ob); position: absolute; left: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.onboard-steps li.done a { color: var(--muted); background: var(--soft); }
.onboard-steps li.done a::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.onboard-steps li.done strong { text-decoration: line-through; }
.onboard-steps span { font-size: 13px; color: var(--muted); }
.contract-table th { width: 140px; }
.sign-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 8px; }
.sign-box > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-height: 120px; }
.sign-box span { font-size: 12px; color: var(--muted); }
.sign-box small { color: var(--muted); font-size: 12px; margin-top: auto; }
.slip.contract { max-width: 760px; }
.slip.contract h1 { margin-bottom: 24px; }
@media (max-width: 760px) {
  .slip.cert { margin: 0; padding: 24px 16px; border: 0; }
  .cert h1 { font-size: 24px; margin: 12px 0 20px; }
  .cert-table th, .contract-table th { width: 92px; padding: 10px; }
  .cert-table td { padding: 10px; }
  .sign-box { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cert-co { grid-template-columns: 110px 1fr; }
}
.cert-table tbody tr:last-child td, .cert-table tbody tr:last-child th { border-bottom: 1px solid #cfd6e0; }

/* 0.21.0 계산기 자주 묻는 질문 */
.faq { margin-top: 40px; }
.faq h2 { font-size: 18px; margin-bottom: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; margin-bottom: 8px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line-2); }
.faq details p { margin: 12px 0 16px; color: var(--ink-2); }

/* 0.22.0 도입 문의 · 직인 */
.narrow-pub { max-width: 760px; }
.contact-form { grid-template-columns: 1fr 1fr; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { width: 100%; margin-top: 6px; font-weight: 400; }
.contact-form .consent { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 14px 10px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 8px; }
.seal-img { width: 64px; height: 64px; object-fit: contain; vertical-align: middle; margin-left: -18px; opacity: .9; }
.seal-preview { max-width: 120px; max-height: 120px; border: 1px dashed var(--line); padding: 6px; background: #fff; }
@media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } }
form.calc input[type="checkbox"] { display: inline-block; width: auto; min-height: 0; margin: 0; }

/* 0.24.0 입퇴사 체크리스트 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.steps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.steps-head h2 { margin: 0; }
.steps-head h2 a { color: inherit; text-decoration: none; }
.steps-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.steps-bar { width: 100%; height: 6px; margin: 10px 0 4px; border: 0; border-radius: 999px; background: var(--line-2); overflow: hidden; appearance: none; }
.steps-bar::-webkit-progress-bar { background: var(--line-2); border-radius: 999px; }
.steps-bar::-webkit-progress-value { background: var(--ok); border-radius: 999px; }
.steps-bar::-moz-progress-bar { background: var(--ok); border-radius: 999px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.step { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.step:last-child { border-bottom: 0; }
.step p { margin: 2px 0 0; }
.step-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.step-due { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-due.bad { color: var(--bad); font-weight: 600; }
.step.st-done strong { color: var(--muted); }
.step-form { margin-top: 6px; flex-wrap: nowrap; gap: 6px; align-items: center; }
.step-form input { min-height: 34px; padding: 4px 8px; font-size: 13px; }
.step-form input[type="date"] { width: 136px; flex: 0 0 136px; }
.step-form input[name="memo"] { flex: 1 1 120px; width: auto; min-width: 0; }
@media (min-width: 900px) {
  .step { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 4px 20px; align-items: center; }
  .step > p, .step > form { grid-column: 2; grid-row: 1; margin: 0; }
}

/* 0.26.0 규모별 노동법 의무 (공개 계산기·관리 법정 의무 같이) */
.section-h { font-size: 17px; margin: 28px 0 12px; }
.calc-more { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 8px 12px; background: var(--soft); }
.calc-more summary { cursor: pointer; font-size: 14px; color: var(--ink-2); }
.calc-more label { margin-top: 8px; }
.duty { display: flex; flex-direction: column; gap: 16px; margin: 12px 0; }
.duty-tier h3 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.duty-n { display: inline-block; padding: 1px 10px; margin-right: 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.duty-tier.next .duty-n { background: var(--accent); }
.duty-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.duty-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.duty-list li:last-child { border-bottom: 0; }
.duty-list strong { font-size: 15px; }
.duty-law { font-size: 12px; color: var(--muted); grid-column: 1; }
.duty-line { font-size: 13px; color: var(--ink-2); grid-column: 1; }
.duty-go { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-size: 13px; white-space: nowrap; }
.duty-tier.next .duty-list { background: var(--accent-soft); border-color: #f0d9a6; }
.duty-wrap summary { cursor: pointer; font-weight: 600; color: var(--brand-2); margin-top: 4px; }
@media (max-width: 640px) {
  .duty-list li { grid-template-columns: 1fr; }
  .duty-go { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* 상시 근로자 수 추이 (0.27.0) — 높이는 클래스 h0~h10 (인라인 style 금지) */
.size-trend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 14px 0 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.size-bar { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.size-v { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.size-fill { display: block; width: 100%; max-width: 56px; border-radius: 6px 6px 2px 2px; background: #c9d3e0; }
.size-bar.now .size-fill { background: var(--brand); }
.size-bar.now .size-v { color: var(--brand); }
.size-d { font-size: 12px; color: var(--muted); white-space: nowrap; }
.size-fill.h0 { height: 4px; }
.size-fill.h1 { height: 10px; }
.size-fill.h2 { height: 16px; }
.size-fill.h3 { height: 22px; }
.size-fill.h4 { height: 28px; }
.size-fill.h5 { height: 34px; }
.size-fill.h6 { height: 40px; }
.size-fill.h7 { height: 46px; }
.size-fill.h8 { height: 52px; }
.size-fill.h9 { height: 58px; }
.size-fill.h10 { height: 64px; }

/* 육아휴직 급여 계산기 월별 표 (0.29.0) — 좁은 화면에서는 시작일 칸을 숨겨 가로 넘침 없이 */
@media (max-width: 520px) { .col-sm-hide { display: none; } .tool .table-wrap th, .tool .table-wrap td { padding-left: 8px; padding-right: 8px; } }

/* 재고·정산 (0.30.0~0.35.0) */
td.bad, strong.bad, .stat strong.bad { color: var(--bad); }
td.good { color: var(--ok); }
.stat small { font-size: 12px; }
details.pick + details.pick { margin-top: 8px; }
td details.pick { border: 0; padding: 2px 0; }
td details.pick summary { font-weight: 500; font-size: 13px; color: var(--brand); }
/* 인쇄용 화면을 휴대폰에서 볼 때 가장자리 여백 (0.36.0) */
@media screen { body.print main { max-width: 900px; margin: 0 auto; padding: 32px 24px; } }
@media screen and (max-width: 760px) { body.print main { padding: 16px; } }
/* 인쇄 서류 제목 가운데 (0.42.0) */
body.print .slip > h1 { text-align: center; margin-bottom: 20px; }
/* 세금계산서 표시 (0.38.0) */
.tax-table td:nth-child(-n+2) { white-space: nowrap; }
.tax-form { flex-wrap: nowrap; }
.tax-form input[type=date] { width: 9.5em; }
.tax-form input[name=tax_no] { width: 9em; }
@media (max-width: 760px) { .tax-form { flex-wrap: wrap; } }
/* 개발 요청 (0.43.0) — 위 막대 링크 */
.top-req { color: #fff; font-size: 13px; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.top-req:hover, .top-req:focus-visible { background: rgba(255,255,255,.12); }

/* 0.46.0 쉬운 화면 1단계 (사용자 공통 원칙 2 — 처음 쓰는 사람·60대도 배우지 않고 바로) : 기본 글자·누르는 곳 키우기 + '글자 크게'
   기준: 시니어 모드 가이드(문체부·콘진원 — 본문 13pt≈17px 이상, 큰 글씨 모드), KWCAG 조작 영역 대각선 6mm 이상·대비 4.5:1 */
body { font-size: 16px; }
.small, .alerts li, .err { font-size: 14px; }
.btn { min-height: 44px; padding: 9px 16px; font-size: 15.5px; }
.btn-sm { min-height: 36px; padding: 5px 12px; font-size: 14px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select { font-size: 16px; min-height: 44px; }
textarea { font-size: 16px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
.form label, .grid-form label { font-size: 15px; }
.side-group a { padding: 10px 12px; font-size: 15.5px; }
.subtabs a { padding: 8px 14px; font-size: 15px; }
table { font-size: 15px; }
th { font-size: 13.5px; }
.tag { font-size: 13px; }
.top-big { background: transparent; cursor: pointer; font: inherit; font-size: 13px; }
@media screen {
  html.big body { font-size: 18px; }
  html.big h1 { font-size: 27px; }
  html.big h2, html.big .card > h2:first-child { font-size: 20px; }
  html.big h1 small, html.big h2 small, html.big .small, html.big .alerts li, html.big .err, html.big .muted.small { font-size: 16px; }
  html.big .btn { min-height: 52px; font-size: 17.5px; padding: 11px 20px; }
  html.big .btn-sm { min-height: 44px; font-size: 16px; }
  html.big .btn.big { font-size: 19px; }
  html.big input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), html.big select, html.big textarea { font-size: 18px; min-height: 50px; }
  html.big input[type=checkbox], html.big input[type=radio] { width: 24px; height: 24px; }
  html.big .form label, html.big .grid-form label { font-size: 17px; }
  html.big .side-group a { font-size: 17.5px; padding: 12px 14px; }
  html.big .side-group span { font-size: 14px; }
  html.big .subtabs a { font-size: 17px; padding: 10px 16px; }
  html.big table { font-size: 17px; }
  html.big th { font-size: 15px; }
  html.big .tag { font-size: 14.5px; }
  html.big .stat span { font-size: 15.5px; }
  html.big .stat strong { font-size: 26px; }
  html.big .top-me, html.big .top-big, html.big .top-req { font-size: 15px; }
  html.big dl.kv { grid-template-columns: 140px 1fr; }
}
@media screen and (max-width: 760px) {
  html.big dl.kv { grid-template-columns: 1fr; }
  html.big dl.kv dt { margin-top: 6px; }
  .top-big { padding: 3px 8px; }
  .top { gap: 8px; padding: 0 10px; }
  .brand { min-width: 0; }
  .brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .top-me { gap: 6px; flex-shrink: 0; }
  html.big .top .btn-sm, html.big .top-big, html.big .top-req { font-size: 13.5px; min-height: 34px; padding: 3px 8px; }
}
/* 0.46.0 공개 머리글: 좁은 화면에서 메뉴 글이 두 줄로 꺾이지 않게 (한 줄 유지, 넘치면 옆으로 밀기) */
.pub-nav a, .pub-nav .btn { white-space: nowrap; }
@media screen and (max-width: 520px) {
  .pub-bar { gap: 10px; }
  .pub-nav { gap: 10px; min-width: 0; overflow-x: auto; }
  .pub-nav a:not(.btn) { font-size: 14.5px; }
  .pub-nav a[href="/contact"] { display: none; }   /* 도입 문의는 첫 화면·아래 머리말에 있음 — 로그인 단추가 밀려나지 않게 */
  .pub-nav .btn-sm { padding: 4px 9px; font-size: 13.5px; min-height: 36px; }
  html.big .pub-nav a:not(.btn) { font-size: 15px; }
  html.big .pub-nav .btn-sm { font-size: 14px; min-height: 40px; padding: 4px 9px; }
}


/* 0.47.0 쉬운 화면 2단계 — 직원이 매일 쓰는 화면: 지금 할 일 한 가지·번호 3단계·주 단추 크게·오류는 그 칸 아래 */
.today-now { flex-basis: 100%; margin: 0; font-size: 16px; color: var(--ink-2); }
.today-now.done { color: var(--ok); font-weight: 600; }
.today-bar .today-act { margin-left: 0; flex-basis: 100%; }
.btn-wide { width: 100%; min-height: 52px; font-size: 17px; }
.today-bar .btn.primary.btn-wide { min-height: 56px; font-size: 18px; }
@media screen and (min-width: 761px) { .today-bar .btn-wide { max-width: 360px; } form.form .btn-wide { max-width: 420px; } }
.card.quiet { box-shadow: none; }
.card.due { border-color: var(--accent); }
.leave-left { font-size: 16px; margin: 0 0 12px; }
.leave-left strong { font-size: 22px; color: var(--brand); font-variant-numeric: tabular-nums; }
.easy-steps fieldset.ez-step { border: 0; border-radius: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.easy-steps fieldset.ez-step > label, .easy-steps fieldset.ez-step > details, .easy-steps fieldset.ez-step > .grid-form, .easy-steps fieldset.ez-step > .err, .easy-steps .leave-preview { margin-left: 36px; }
.easy-steps legend { display: flex; align-items: center; gap: 8px; font-size: 17px; padding: 0; margin-bottom: 8px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.easy-steps .err { margin: -4px 0 10px; font-size: 14.5px; }
.easy-steps [aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-soft); }
.easy-steps .hide { display: none; }
.leave-preview { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 10px 14px; margin: 4px 0 8px; font-size: 15px; }
.leave-preview strong { font-variant-numeric: tabular-nums; }
.leave-preview.over { background: var(--bad-soft); color: var(--bad); }
details.line-fold { margin: 12px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
details.line-fold > summary { cursor: pointer; }
details.line-fold > summary small { color: var(--muted); margin-left: 6px; }
details.line-fold[open] > summary { margin-bottom: 10px; }
@media screen { html.big .today-now, html.big .leave-left, html.big .leave-preview { font-size: 18px; } html.big .easy-steps legend { font-size: 19px; } html.big .easy-steps .err { font-size: 16px; } }
@media screen and (max-width: 760px) { .easy-steps fieldset.ez-step > label, .easy-steps fieldset.ez-step > details, .easy-steps fieldset.ez-step > .grid-form, .easy-steps fieldset.ez-step > .err, .easy-steps .leave-preview { margin-left: 0; } }
.easy-steps .grid-form { align-items: start; }
/* 쉬운 화면 3단계 (0.48.0) — 자주 쓰는 사유 고르기, 확인할 기록 */
.easy-steps .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px 36px; }
.chip { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.check-list { list-style: none; margin: 8px 0 0; padding: 0; }
.check-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.check-list li:first-child { border-top: 0; }
.check-list .what { font-size: 16px; }
.check-list .what strong { font-variant-numeric: tabular-nums; margin-right: 6px; }
@media screen { html.big .chip, html.big .check-list .what { font-size: 18px; } html.big .chip { min-height: 52px; } }
@media screen and (max-width: 760px) { .easy-steps .chips { margin-left: 0; } .check-list .btn { width: 100%; } }
[data-fix-list] details.more > summary { cursor: pointer; padding: 10px 0 0; color: var(--brand); font-size: 15px; }
/* 쉬운 화면 4단계 (0.49.0) — 결재자: 내 차례 결정 칸 맨 위, 정정 전·후 비교, 한꺼번에 승인 */
.decide-card { border: 2px solid var(--brand); }
.decide-card .row { align-items: center; }
.decide-card .btn-wide { max-width: 320px; }
table.fix-diff { width: auto; min-width: 260px; border-collapse: collapse; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
table.fix-diff th, table.fix-diff td { padding: 6px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.fix-diff thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
table.fix-diff tr.chg td { background: var(--brand-soft); }
.bulk-bar { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 12px; }
.bulk-bar p { margin: 0 0 8px; }
.bulk-bar .row { align-items: center; gap: 12px; flex-wrap: wrap; }
.pick-col { width: 44px; text-align: center; }
.pick-col input { width: 22px; height: 22px; }
@media screen { html.big table.fix-diff th, html.big table.fix-diff td { font-size: 18px; } }
@media screen and (max-width: 760px) { .decide-card .btn-wide { max-width: none; } .bulk-bar .btn { width: 100%; } }
@media screen and (max-width: 760px) { table.fix-diff { min-width: 0; width: 100%; } table.fix-diff th, table.fix-diff td { padding: 6px 6px; } }
.new-docs { align-items: flex-start; }
details.more-docs { position: relative; }
details.more-docs > summary { list-style: none; cursor: pointer; }
details.more-docs > summary::-webkit-details-marker { display: none; }
details.more-docs > summary::after { content: " ▾"; }
.more-docs-list { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 180px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 6px 18px rgba(20, 30, 50, .12); padding: 6px; display: flex; flex-direction: column; }
.more-docs-list a { padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.more-docs-list a:hover { background: var(--brand-soft); }
@media screen and (max-width: 760px) { .more-docs-list { left: auto; right: 0; } }
/* 쉬운 화면 5단계 (0.51.0) — 홈 '내 결재 결과', 고쳐서 다시 올리기 */
.results { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.result.is-rej { border-color: var(--bad); background: var(--bad-soft); }
.result .why { color: var(--ink-2); font-size: 14px; flex: 1 1 200px; }
.result .btn { margin-left: auto; }
.refill-note { margin: 0 0 12px; }
@media screen { html.big .result .why { font-size: 16px; } }
/* 쉬운 화면 6단계 (0.52.0) — 지출결의 */
.easy-steps fieldset.ez-step > .items, .easy-steps fieldset.ez-step > [data-item-add] { margin-left: 36px; }
.easy-steps .item-row[hidden] { display: none; }
.easy-steps [data-item-add] { margin-bottom: 10px; }
@media screen and (max-width: 760px) { .easy-steps fieldset.ez-step > .items, .easy-steps fieldset.ez-step > [data-item-add] { margin-left: 0; } }
@media screen and (max-width: 760px) { .easy-steps .item-row { padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; } }
/* 쉬운 화면 7단계 (0.53.0) — 유연근무 종류 고르기 */
.chip-radio { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chip-radio input { width: 20px; height: 20px; margin: 0; }
.chip-radio:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.easy-steps .grid-form.hide, .easy-steps [data-welfare-school-wrap].hide, .easy-steps [data-welfare-amount-wrap].hide { display: none; }
.easy-steps fieldset.ez-step > .grid-form + .grid-form { margin-top: 0; }
