/* 이음24 — 색상은 변수로 관리 (다크 모드 대응) */
:root {
  --bg: #f6f8fc; --surface: #ffffff; --text: #18202e; --muted: #5b6577; --line: #dfe5ef;
  --brand: #1846c9; --brand-2: #0f2f8f; --accent: #12a37f; --hl: #e8efff;
  --ok: #138a5b; --ok-bg: #e6f6ee; --warn: #b26a00; --warn-bg: #fff4e0; --bad: #c62828; --bad-bg: #fdeaea;
  --shadow: 0 6px 24px rgba(16, 34, 84, .08); --radius: 14px;
}
:root[data-theme="dark"] {
  --bg: #0f141d; --surface: #171e2b; --text: #e8edf6; --muted: #a2adbf; --line: #2a3446;
  --brand: #6f97ff; --brand-2: #9db8ff; --accent: #4fd1aa; --hl: #1d2a47;
  --ok: #5fd39c; --ok-bg: #133126; --warn: #ffbf5c; --warn-bg: #3a2b10; --bad: #ff8a8a; --bad-bg: #3a1717;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; word-break: keep-all; }
a { color: var(--brand); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--surface); padding: 8px; }

/* 상단 메뉴 */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: 18px; }
.brand b { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--hl); color: var(--text); }
.nav a.active { color: var(--brand); background: var(--hl); }
.menu-btn, .theme-btn { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 10px;
  width: 40px; height: 40px; font-size: 18px; cursor: pointer; }
.menu-btn { display: none; }

/* 공통 */
.page { padding-bottom: 56px; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .02em; margin: 0 0 6px; }
.page-head { padding: 36px 0 20px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); }
.page-head p:last-child { color: var(--muted); margin: 0; }
.sec-title { font-size: 20px; margin: 36px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 12px 20px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-family: inherit;
  transition: transform .12s ease, background .2s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn.block { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* 홈 */
.hero { background: radial-gradient(1200px 400px at 80% -10%, var(--hl), transparent), var(--bg); padding: 64px 0 40px; }
.hero h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.25; margin: 6px 0 16px; letter-spacing: -.02em; }
.hl { color: var(--brand); }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--muted); max-width: 680px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 6px 0 8px; font-size: 18px; }
.card p { margin: 0 0 6px; color: var(--muted); }
.card .num { color: var(--brand); font-weight: 800; }
.card .sol { color: var(--text); margin-top: 10px; }
.principle { margin-top: 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--hl); border-left: 5px solid var(--brand); }
.principle p { margin: 4px 0 0; color: var(--muted); }

/* 폼 */
.grid2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; border: 0; padding: 0; position: relative; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field em { color: var(--bad); font-style: normal; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
input.invalid, select.invalid { border-color: var(--bad); background: var(--bad-bg); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; cursor: pointer; margin: 0; font-size: 14px; background: var(--bg); }
.chips input { width: auto; margin: 0; accent-color: var(--brand); }
.chips label:has(input:checked) { border-color: var(--brand); background: var(--hl); color: var(--brand); font-weight: 700; }
.counter { position: absolute; right: 8px; bottom: -18px; font-size: 12px; color: var(--muted); }
.fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.msg { border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 6px 0; }
.msg.error { background: var(--bad-bg); color: var(--bad); }
.msg.info { background: var(--warn-bg); color: var(--warn); }

/* 결과 */
.result { min-height: 320px; }
.empty { display: grid; place-items: center; text-align: center; color: var(--muted); min-height: 280px; }
.empty span { font-size: 40px; }
.loading { display: grid; place-items: center; min-height: 280px; text-align: center; color: var(--muted); }
.spinner { width: 40px; height: 40px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.summary { background: var(--hl); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.rec { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.rec h3 { margin: 0 0 4px; font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rec .agency { color: var(--muted); font-size: 13px; }
.rec ul { margin: 6px 0; padding-left: 18px; }
.rec .next { font-weight: 600; }
.rec details { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge.높음, .badge.적정 { background: var(--ok-bg); color: var(--ok); }
.badge.일치 { background: var(--ok-bg); color: var(--ok); }
.badge.불일치 { background: var(--bad-bg); color: var(--bad); }
.badge.보통, .badge.확인필요 { background: var(--warn-bg); color: var(--warn); }
.badge.위반의심 { background: var(--bad-bg); color: var(--bad); }
.roadmap { list-style: none; padding: 0; margin: 8px 0 14px; counter-reset: s; }
.roadmap li { position: relative; padding: 0 0 14px 40px; border-left: 2px dashed var(--line); margin-left: 14px; }
.roadmap li::before { counter-increment: s; content: counter(s); position: absolute; left: -15px; top: -2px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.roadmap li:last-child { border-left-color: transparent; }
.meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.check-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: 0; }
.check-item > .badge { align-self: start; white-space: nowrap; margin-top: 2px; }
.check-item .basis { font-size: 12.5px; color: var(--muted); }

/* 지원사업 목록 */
.search { display: flex; gap: 8px; max-width: 560px; }
.src { color: var(--muted); font-size: 13.5px; }
.cards.list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.prog h3 { font-size: 17px; }
.prog dl { margin: 8px 0 0; font-size: 14px; }
.prog dt { font-weight: 700; margin-top: 6px; }
.prog dd { margin: 0; color: var(--muted); }
.skeleton { height: 180px; border-radius: var(--radius); background: linear-gradient(90deg, var(--line), var(--surface), var(--line)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* 안내 */
.flow { padding-left: 20px; } .flow li { margin-bottom: 8px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
.sources li { margin-bottom: 4px; }
.status { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 24px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 20px 0 28px; }


/* ===== 이음24 화면 ===== */
.muted { color: var(--muted); }
small.muted { font-weight: 400; }
.top-gap { margin-top: 16px; }
.panel-title { font-size: 18px; margin: 0 0 6px; }
.badge.충족 { background: var(--ok-bg); color: var(--ok); }
.badge.미충족 { background: var(--bad-bg); color: var(--bad); }
.badge.안내 { background: var(--hl); color: var(--brand); }
.badge.검토대기 { background: var(--ok-bg); color: var(--ok); }
.badge.보완필요 { background: var(--bad-bg); color: var(--bad); }
/* '지원제도 활용 가능' 표시 */
.eum { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); white-space: nowrap; }

/* 홈 흐름도 */
.lanes { display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; align-items: center; }
.lane-name { font-weight: 800; color: var(--brand); }
.lane-name.biz { color: var(--warn); } .lane-name.gov { color: var(--accent); }
.lane { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lane.one { grid-template-columns: 1fr; }
.lane.four { grid-template-columns: repeat(4, 1fr); }
.lane li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 12px 14px; position: relative; }
.lane.biz li { border-left-color: var(--warn); } .lane.gov li { border-left-color: var(--accent); }
.lane li span { color: var(--muted); font-weight: 800; margin-right: 6px; }
.lane li small { display: block; color: var(--muted); font-size: 13px; }

/* 구직자 */
.personas { display: grid; gap: 8px; }
.persona { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 8px 36px; position: relative; cursor: pointer; background: var(--bg); font-weight: 400 !important; }
.persona input { position: absolute; left: 12px; top: 13px; width: auto; accent-color: var(--brand); }
.persona:has(input:checked) { border-color: var(--brand); background: var(--hl); }
.persona .p-top small { color: var(--muted); }
.persona ul { margin: 4px 0 0; padding-left: 16px; font-size: 13px; color: var(--muted); }
.consent { border: 1px dashed var(--brand); border-radius: 12px; padding: 12px 14px; margin: 4px 0 12px; }
.consent label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.consent input { width: auto; accent-color: var(--brand); }
.consent p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.comps { padding-left: 18px; } .comps li { margin-bottom: 6px; } .comps small { display: block; color: var(--muted); font-size: 12.5px; }
.job { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.job-head { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.job h3 { margin: 0; font-size: 17px; }
.job .agency { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tags span { font-size: 12px; background: var(--hl); color: var(--brand); padding: 1px 8px; border-radius: 6px; }
.job p { margin: 4px 0; } .job .next { font-weight: 600; }
.mine { font-size: 13px; background: var(--bg); border-radius: 10px; padding: 8px 10px; margin-top: 8px; color: var(--muted); }
.mine.yes { background: var(--ok-bg); color: var(--text); }
.mine b { color: var(--text); margin-right: 4px; }
.job-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.job-actions .btn { padding: 9px 14px; font-size: 14px; }
.skeleton.small { height: 90px; }

/* 기업 */
.inline-form { display: flex; gap: 12px; align-items: end; }
.inline-form .grow { flex: 1; margin: 0; }
.verdict { border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: 15px; }
.verdict.적정 { background: var(--ok-bg); color: var(--ok); } .verdict.확인필요 { background: var(--warn-bg); color: var(--warn); } .verdict.위반의심 { background: var(--bad-bg); color: var(--bad); }
.note { font-size: 13px; background: var(--hl); border-radius: 10px; padding: 10px 12px; }
.applicant { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.applicant.me { background: var(--hl); border-radius: 10px; padding: 12px; }
.applicant .btn { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sched div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.sched small { display: block; color: var(--muted); font-size: 12px; }
.evidence { border-left: 4px solid var(--ok); background: var(--ok-bg); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.evidence.closed { border-left-color: var(--muted); background: var(--bg); color: var(--muted); }
.evidence ul { margin: 4px 0 0; padding-left: 18px; }
#checkResult h3 { margin: 16px 0 8px; }

/* 주무관 */
.cases { display: grid; gap: 16px; }
.case header { display: flex; justify-content: space-between; gap: 10px; align-items: start; margin-bottom: 10px; }
.case h3 { margin: 2px 0; font-size: 18px; } .case h4 { margin: 10px 0 6px; font-size: 14.5px; }
.case.fresh { outline: 2px solid var(--brand); }
.case footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; flex-wrap: wrap; }
.case footer .btn { padding: 8px 14px; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px;
  box-shadow: var(--shadow); z-index: 50; max-width: min(560px, calc(100% - 32px)); font-size: 14px; }
.toast a { color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .lanes { grid-template-columns: 1fr; } .lane { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .inline-form { flex-direction: column; align-items: stretch; }
  .sched { grid-template-columns: 1fr; }
  .applicant { flex-direction: column; align-items: stretch; }
}


/* 직접 입력 폼 */
.example-bar { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-bottom: 10px; font-size: 13.5px; }
.example-bar select { width: auto; min-width: 0; flex: 0 1 auto; max-width: 100%; padding: 7px 10px; font-size: 13.5px; text-overflow: ellipsis; }
.prog-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--bg); }
.prog-box .sub { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.field label.check, label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin: 4px 0; }
label.check input { width: auto; accent-color: var(--brand); }
table.acts { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
table.acts th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; border-bottom: 1px solid var(--line); padding: 6px 4px; }
table.acts td { border-bottom: 1px solid var(--line); padding: 7px 4px; vertical-align: top; }
table.acts td:first-child { white-space: nowrap; } table.acts td:last-child { white-space: nowrap; color: var(--muted); font-size: 13px; }
.kind { font-size: 12px; background: var(--hl); color: var(--brand); padding: 1px 8px; border-radius: 6px; }
#postCheck h3 { margin: 18px 0 8px; font-size: 16px; }


/* 내부 모드 */
.login { max-width: 420px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); padding: 10px 12px; cursor: pointer; text-decoration: none; border-bottom: 3px solid transparent; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab.right { margin-left: auto; font-weight: 500; }
.batch-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.batch-bar input[type="file"] { width: auto; flex: 1; min-width: 200px; }
table.batch td:nth-child(2) { white-space: nowrap; }
table.batch td:last-child { white-space: normal; }


/* 동의·증빙·포트폴리오 */
.consents { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 6px 0 12px; background: var(--bg); }
.consent-title { margin: 0 0 6px; }
.consent-item { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.consent-item:last-of-type { border-bottom: 0; }
.consent-item label.check { align-items: flex-start; }
.consent-item label.check input { margin-top: 4px; }
.req { color: var(--bad); } .opt { color: var(--brand); }
details.policy, details.consent-log { background: transparent; border: 0; padding: 2px 0 0 26px; margin: 0; font-size: 13px; }
details.policy summary, details.consent-log summary { font-weight: 500; color: var(--muted); font-size: 13px; }
details.policy dl { margin: 6px 0; display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; }
details.policy dt { font-weight: 700; color: var(--text); } details.policy dd { margin: 0; color: var(--muted); }
details.consent-log { padding-left: 0; margin-top: 8px; }
details.consent-log ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.cert-box { border: 1px dashed var(--brand); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.cert-title { margin: 0 0 6px; font-size: 14px; }
.cert-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.cert-row input[type="file"] { flex: 1; min-width: 180px; width: auto; }
.cert-row .btn { padding: 9px 14px; font-size: 14px; }
.cert-read { margin-top: 8px; background: var(--ok-bg); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.cert-read.warn { background: var(--warn-bg); }
.cert-read ul { margin: 4px 0; padding-left: 18px; }
.pf-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.pf-actions .btn { padding: 8px 14px; font-size: 14px; }
#pfText { margin-top: 6px; }
ul.points { margin: 6px 0; padding-left: 18px; font-size: 13.5px; }
details.pf { padding: 6px 10px; margin: 4px 0 6px; font-size: 13.5px; }
details.pf pre { white-space: pre-wrap; font-family: inherit; margin: 6px 0 0; color: var(--text); }
@media (max-width: 720px) {
  details.policy dl { grid-template-columns: 1fr; }
  details.policy, details.consent-log { padding-left: 0; }
  .example-bar { justify-content: stretch; flex-wrap: wrap; }
  .example-bar select { flex: 1 1 100%; }
  .job-head { flex-wrap: wrap; }
  table.acts td:first-child, table.acts td:last-child { white-space: normal; }
  .cert-row input[type="file"] { min-width: 0; }
  .tabs .tab { padding: 8px; }
}

/* 좁은 화면에서 내용 때문에 칸이 넓어지지 않게 */
fieldset { min-width: 0; }
.panel, .grid2 > *, .job, .applicant > div, .case { min-width: 0; }
.job p, .mine, .applicant, table.acts td { overflow-wrap: anywhere; }

/* 반응형: 태블릿 */
@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
}
/* 반응형: 모바일 */
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px 16px 14px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .theme-btn { align-self: flex-end; margin-top: 4px; }
  .hero { padding: 40px 0 24px; }
  .row2, .row3 { grid-template-columns: 1fr; gap: 0; }
  .search { flex-direction: column; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ⑦ 월별 서류 사전 점검 */
.docs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin: 12px 0; }
.month-row { display: grid; grid-template-columns: 86px 230px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.month-row .mth { font-weight: 800; }
.month-row .mth small { display: block; font-weight: 400; color: var(--muted); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.thumbs img { width: 88px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: zoom-in; }
.thumbs .up { display: flex; flex-direction: column; gap: 6px; }
.read-vals { font-size: 13px; color: var(--muted); margin-top: 6px; }
.docs-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 8px; }
.docs-sum div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.docs-sum small { display: block; color: var(--muted); font-size: 12px; } .docs-sum b { font-size: 18px; }
.docs-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
@media (max-width: 760px) { .docs-head, .month-row, .docs-sum { grid-template-columns: 1fr; } .lane.four { grid-template-columns: 1fr; } }
.month-row .redo { display: none; margin-top: 6px; } .month-row.done .redo { display: inline-block; } .month-row.done .up-btns { display: none !important; }
