/* OpenReady SG — mobile-first stylesheet. No external fonts (fast, private). */
:root {
  --brand: #0b5d47; --brand-dark: #07432f; --brand-tint: #e7f3ee; --accent: #f5b324; --accent-tint: #fff5dc;
  --ink: #17201c; --muted: #5a6662; --line: #dfe5e2; --bg: #fbfbf8; --card: #ffffff;
  --danger: #b42318; --danger-tint: #fdecea; --warn: #9a5b00; --warn-tint: #fff4e0; --ok: #0f7a4d; --ok-tint: #e6f5ec; --info-tint: #eaf2fb;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,20,.06), 0 4px 16px rgba(16,24,20,.05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
body.lang-zh { line-height: 1.75; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.4em 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); margin-top: .3em; }
h2, .h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
h3, .h3 { font-size: 1.15rem; } .h4, h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: #2c3833; max-width: 46em; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .block { display: block; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 .3em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.wrap.narrow { margin: 0 auto; }
.section { padding: 32px 16px; } .wrap.section { padding: 32px 16px; }
.section.alt { background: var(--brand-tint); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.preview-bar { background: var(--accent-tint); color: #5c4300; font-size: .82rem; text-align: center; padding: 6px 16px; border-bottom: 1px solid #f1dc9f; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,251,248,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand-sg { color: var(--brand); }
.logo-mark { flex: none; width: 28px; height: 28px; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a, .nav .linklike { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-dark); }
.nav-admin { display: block; overflow-x: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { font-weight: 600; font-size: .9rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.btn.header-cta { display: none; }
.lang-switch, .nav-mobile summary { white-space: nowrap; }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; background: #fff; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile ul { position: absolute; right: 0; top: 110%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px; min-width: 220px; }
.nav-mobile a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.nav-mobile a:hover { background: var(--brand-tint); }
@media (min-width: 1100px) {
  .nav { display: block; } .header-actions { margin-left: 8px; } .nav-mobile { display: none; } .btn.header-cta { display: inline-flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; } .btn-outline:hover { background: var(--brand-tint); }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); } .btn-ghost:hover { background: #fff; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; } .btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* Badges & chips */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef1ef; color: #34403b; vertical-align: middle; letter-spacing: .02em; }
.badge-sponsored { background: var(--accent); color: #3d2c00; text-transform: uppercase; }
.badge-sample { background: #ece8ff; color: #42308a; }
.badge-est { background: #eef1ef; color: #4a5752; }
.badge-dark { background: var(--ink); color: #fff; }
.badge-must { background: var(--ok-tint); color: var(--ok); } .badge-later { background: #f1f1ee; color: var(--muted); }
.chip { display: inline-flex; align-items: center; font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eef1ef; color: #34403b; }
.chip-late { background: var(--danger-tint); color: var(--danger); } .chip-start-now { background: var(--warn-tint); color: var(--warn); }
.chip-upcoming { background: #eef1ef; } .chip-brand { background: var(--brand); color: #fff; }
.status { font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #eef1ef; }
.status-received, .status-pending, .status-submitted, .status-new { background: var(--warn-tint); color: var(--warn); }
.status-accepted, .status-quoted, .status-in_review { background: var(--info-tint); color: #1d4f91; }
.status-won, .status-approved, .status-published { background: var(--ok-tint); color: var(--ok); }
.status-closed, .status-ended, .status-archived, .status-paused { background: #f1f1ee; color: var(--muted); }

/* Hero & home */
.hero { background: linear-gradient(180deg, var(--brand-tint), var(--bg)); padding: 32px 0 24px; }
.hero-grid { display: grid; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.hero-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--line); }
.hero-card-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mini-timeline { list-style: none; margin: 0; padding: 0; }
.mini-timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.mt-date { font-weight: 700; color: var(--brand); font-size: .85rem; }
@media (min-width: 860px) { .hero { padding: 56px 0 40px; } .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.cards-2, .cards-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.industry-card, .story-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.industry-card h3, .industry-card .h3 { margin-top: .4em; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ic-icon { display: inline-block; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint) center/26px no-repeat; }
.ic-cup { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9h12v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M16 10h1.5a2.5 2.5 0 0 1 0 5H16M8 3v3M12 3v3'/%3E%3C/svg%3E"); }
.ic-car { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16h14v-4l-2-5H7l-2 5z'/%3E%3Ccircle cx='8' cy='16.5' r='1.6'/%3E%3Ccircle cx='16' cy='16.5' r='1.6'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.plan-preview { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.pp-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.pp-item h3 { margin: 0 0 .3em; font-size: 1.02rem; }
.pp-date span { display: block; font-size: .75rem; color: var(--muted); } .pp-date strong { color: var(--brand); font-size: .92rem; }
.steps-3 { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.steps-3 h3 { margin: .5em 0 .3em; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; margin-right: 8px; flex: none; }
.split { display: grid; gap: 24px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.cta-band { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-top: 0; }
.link-list { padding-left: 1.1em; } .link-list li { margin-bottom: 6px; }
.soon-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.soon-list li { padding: 6px 12px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }

/* Guides */
.guide-head { margin-bottom: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.stat-n { font-size: 1.5rem; font-weight: 800; color: var(--brand); } .stat-l { font-size: .85rem; color: var(--muted); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 24px; }
.toc h2 { margin: .3em 0; } .toc ol { margin: 0; padding-left: 1.2em; columns: 2 200px; }
.task-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.task-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px; }
@media (min-width: 900px) { .task-card:has(.task-side:not(:empty)) { grid-template-columns: minmax(0, 1fr) 280px; } }
.task-side:empty { display: none; }
.task-title { margin: 0 0 .4em; font-size: 1.08rem; display: flex; align-items: flex-start; }
.task-meta { margin: 0 0 8px; } .task-meta div { margin-bottom: 4px; } .task-meta dt { font-weight: 700; font-size: .85rem; display: inline; } .task-meta dt::after { content: ": "; } .task-meta dd { display: inline; margin: 0; font-size: .9rem; }
details.mini { margin: 6px 0; } details.mini summary, .task-details summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); font-size: .92rem; }
.rules { border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; margin: 10px 0; background: var(--brand-tint); border-radius: 0 8px 8px 0; }
.rule { font-size: .93rem; margin: .5em 0; }
.src { font-size: .85rem; word-break: break-word; }
.source-list li { margin-bottom: 8px; }
.changes div { margin-bottom: 12px; } .changes dt { font-weight: 700; } .changes dd { margin: 0; color: var(--muted); }
.related { border-top: 1px solid var(--line); margin-top: 32px; }

/* Sponsor cards */
.sponsor-card { border: 1px solid #f0d58a; background: var(--accent-tint); border-radius: var(--radius); padding: 14px; font-size: .92rem; }
.sponsor-card + .sponsor-card { margin-top: 10px; }
.invite-card { border: 1px dashed var(--line, #c9d3cf); border-radius: var(--radius); padding: 14px; font-size: .92rem; background: transparent; }
.invite-card .invite-h { font-weight: 600; margin: 0 0 4px; }
.recruit-box { margin: 2rem 0; }
.recruit-box .invite-card { max-width: 420px; }
.sponsor-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.sponsor-name { font-weight: 800; margin: 0; } .sponsor-headline { margin: 2px 0 6px; }
.sponsor-offer { font-weight: 700; color: #6b4a00; margin-bottom: 8px; }
.mk-note { background: #fff; border-radius: 6px; padding: 6px 8px; border: 1px solid #efd9a0; }
.inline-sponsors { display: grid; gap: 12px; margin-top: 16px; } @media (min-width: 720px) { .inline-sponsors { grid-template-columns: 1fr 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #f6f8f7; }
.num { text-align: right; white-space: nowrap; }
caption { text-align: left; font-weight: 800; font-size: 1.05rem; padding: 8px 0; }
.cost-table tbody th, .cost-table td { font-size: .93rem; }

/* Forms */
.form { display: grid; gap: 18px; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.field { margin: 0; border: 0; padding: 0; min-width: 0; }
fieldset.field legend, .field > label, .field > summary { font-weight: 700; margin-bottom: 4px; display: block; padding: 0; }
.hint { color: var(--muted); font-size: .88rem; margin: 0 0 6px; }
.req { color: var(--danger); } .optional { font-weight: 400; color: var(--muted); font-size: .88rem; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; min-height: 46px; border: 1.5px solid #c9d1cd; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid rgba(11,93,71,.18); outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea, [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-weight: 600; font-size: .9rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; cursor: pointer; }
.check input, .radio-card input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; gap: 8px; align-items: center; border: 1.5px solid #c9d1cd; border-radius: 10px; padding: 9px 14px; cursor: pointer; background: #fff; font-weight: 500; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.seg input { accent-color: var(--brand); }
.radio-grid { display: grid; gap: 8px; } @media (min-width: 600px) { .radio-grid { grid-template-columns: 1fr 1fr; } }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #c9d1cd; border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; margin-bottom: 8px; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: flex; align-items: center; padding: 0 10px; background: #f1f4f2; border: 1.5px solid #c9d1cd; border-right: 0; border-radius: 10px 0 0 10px; font-weight: 600; color: var(--muted); }
.input-prefix input { border-radius: 0 10px 10px 0; }
.input-prefix.sm input { min-height: 40px; padding: 6px 8px; } .input-prefix.sm span { padding: 0 6px; font-size: .85rem; }
.consent-box { background: var(--accent-tint); border: 1px solid #f0d58a !important; border-radius: 12px; padding: 14px !important; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.grid-2, .grid-3 { display: grid; gap: 12px; } @media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 2fr 1fr 1fr; } }
.grid-3 label { display: flex; flex-direction: column; font-weight: 600; font-size: .9rem; gap: 4px; }
.context-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }

/* Alerts */
.alert { border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; background: var(--info-tint); border: 1px solid #c7dbf2; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert-error { background: var(--danger-tint); border-color: #f4c7c1; color: #7a1a12; }
.alert-success { background: var(--ok-tint); border-color: #b9e2ca; color: #0b4d31; }
.alert-warn { background: var(--warn-tint); border-color: #f2d29b; color: #5e3900; }
.alert-warn h2 { margin-top: 0; }
.alert-info { background: var(--info-tint); }
.success-box { background: #fff; border: 2px solid var(--ok); border-radius: 16px; padding: 24px; text-align: left; }
.ref { font-family: ui-monospace, monospace; background: var(--ok-tint); padding: 2px 8px; border-radius: 6px; }
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; }
.link-box input { margin-top: 8px; font-family: ui-monospace, monospace; font-size: .85rem; }

/* Planner */
.planner-wrap { padding-top: 20px; }
.plan-head { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 900px) { .plan-head { grid-template-columns: 1fr auto; align-items: end; } }
.plan-head h1 { margin: 0 0 8px; }
.plan-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.inline-field { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.inline-field input { width: auto; min-height: 40px; padding: 6px 10px; }
.progress { height: 8px; background: #e5ebe8; border-radius: 99px; overflow: hidden; max-width: 420px; }
.progress span { display: block; height: 100%; background: var(--brand); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin: 16px 0; }
.tabs button { font: inherit; font-weight: 700; padding: 10px 16px; border: 0; background: none; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; min-height: 44px; }
.tabs button[aria-selected="true"] { color: var(--brand-dark); border-color: var(--brand); }
.plan-group { margin-bottom: 24px; } .plan-group > summary { cursor: pointer; list-style: none; } .plan-group h2.inline { display: inline; }
.count { display: inline-flex; min-width: 26px; height: 26px; align-items: center; justify-content: center; font-size: .8rem; border-radius: 99px; background: var(--brand-tint); color: var(--brand-dark); padding: 0 8px; vertical-align: middle; }
.group-now h2 { color: var(--warn); }
.plan-task.st-late { border-left: 4px solid var(--danger); } .plan-task.st-start-now { border-left: 4px solid var(--accent); } .plan-task.st-done { opacity: .75; }
.task-row { display: flex; gap: 12px; align-items: flex-start; }
.task-check { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--brand); cursor: pointer; }
.task-body .task-title { font-weight: 700; cursor: pointer; display: block; margin-bottom: 4px; }
.st-done .task-title { text-decoration: line-through; text-decoration-color: #9aa6a1; }
.task-dates { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .88rem; margin-bottom: 4px; }
.task-details { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.task-details h4 { margin: 1em 0 .3em; font-size: .92rem; }
.task-details ul { margin-top: 0; padding-left: 1.2em; font-size: .93rem; }
.task-details textarea { min-height: 60px; margin-top: 4px; }
.choice-grid { display: grid; gap: 12px; } @media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--ink); }
a.choice-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.choice-card.disabled { opacity: .6; }
.done-group { border: 0; padding: 0; margin: 10px 0; } .done-group legend { font-weight: 700; font-size: .9rem; color: var(--muted); }
.plan-foot { margin-top: 24px; }

/* Budget */
.budget-layout { display: grid; gap: 20px; }
@media (min-width: 960px) { .budget-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .budget-summary { position: sticky; top: 80px; } }
.budget-table th[scope=row] { font-weight: 600; font-size: .93rem; }
.budget-table td { width: 1%; white-space: nowrap; }
.budget-table select { min-height: 40px; padding: 6px 8px; font-size: .9rem; width: auto; }
.budget-table .supplier-in { margin-top: 6px; min-height: 36px; font-size: .88rem; padding: 6px 8px; }
.bl-quoted th[scope=row]::after { content: " ✓"; color: var(--ok); }
.bl-quoted { background: #f6fbf8; }
@media (max-width: 640px) {
  .budget-table thead { display: none; }
  .budget-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .budget-table tr > * { border: 0; padding: 0 4px; width: auto; white-space: normal; }
  .budget-table tbody th { grid-column: 1 / -1; }
  .budget-table select { width: 100%; }
}
.budget-summary { background: #fff; border: 2px solid var(--brand); border-radius: 16px; padding: 18px; }
.budget-summary h3 { margin-top: 0; }
.sum-list { margin: 12px 0; } .sum-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; }
.sum-list dt { font-size: .92rem; } .sum-list dd { margin: 0; font-weight: 700; white-space: nowrap; }
.sum-total { font-size: 1.08rem; } .sum-total dd { color: var(--brand-dark); }
.sum-ok { background: var(--ok-tint); padding: 10px !important; border-radius: 8px; border: 0 !important; margin-top: 6px; } .sum-ok dd { color: var(--ok); }
.sum-short { background: var(--danger-tint); padding: 10px !important; border-radius: 8px; border: 0 !important; margin-top: 6px; } .sum-short dd { color: var(--danger); }
input.tiny { width: 64px; min-height: 32px; padding: 4px 6px; display: inline-block; font-size: .88rem; }
.budget-questions { display: grid; gap: 12px; margin-bottom: 16px; }

/* Checklists */
.checklist-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.progress-text { font-weight: 700; color: var(--brand); }
.ticks { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.ticks input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.ticks li:has(input:checked) { background: var(--ok-tint); }

/* Prose & misc */
.prose h2 { margin-top: 1.6em; }
blockquote { border-left: 4px solid var(--accent); margin: 16px 0; padding: 8px 16px; font-size: 1.1rem; background: #fff; }
.timeline { padding-left: 1.2em; } .timeline li { margin-bottom: 10px; }
.steps-list li { margin-bottom: 8px; }
.cat-list { list-style: none; padding: 0; } .cat-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Admin */
.admin h1 { margin-top: 0; }
.admin-table { font-size: .9rem; } .admin-table.compact input, .admin-table.compact select { min-height: 36px; padding: 4px 8px; font-size: .88rem; }
.admin-table.compact td { padding: 4px; }
.inline-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form select { width: auto; min-height: 36px; padding: 4px 8px; }
.stack-form { display: grid; gap: 4px; } .stack-form input, .stack-form select { min-height: 34px; padding: 4px 6px; font-size: .85rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 12px; } .filters select { width: auto; }
.plain-list { list-style: none; padding: 0; } .plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.blockers li { color: var(--danger); }
.sticky-actions { position: sticky; bottom: 0; background: rgba(251,251,248,.95); padding: 12px 0; border-top: 1px solid var(--line); }
.code-big { font-size: 1.1rem; background: #fff; padding: 4px 8px; border-radius: 6px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline-grid { grid-template-columns: 1fr; } @media (min-width: 720px) { .inline-grid { grid-template-columns: 2fr 1fr auto; align-items: end; } }

/* Footer */
.site-footer { background: #11201a; color: #cfd8d4; margin-top: 40px; padding: 36px 0 20px; font-size: .92rem; }
.site-footer a { color: #e9f1ee; } .site-footer .muted { color: #9fb0a9; }
.brand-footer { color: #fff; } .site-footer .brand-sg { color: var(--accent); }
.footer-grid { display: grid; gap: 24px; } @media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 6px; }
.footer-base { border-top: 1px solid #2a3a33; margin-top: 24px; padding-top: 16px; }

/* Print: clean checklist on paper */
@media print {
  .site-header, .site-footer, .preview-bar, .no-print, .tabs, .task-side, .sponsor-card, .skip, .btn, .nav-mobile, .add-line, .related, .toc { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .task-card, .ticks li { break-inside: avoid; border: 1px solid #bbb; box-shadow: none; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; } a.src::after { content: " (" attr(href) ")"; font-size: 8pt; }
  details > summary { display: none; }
  .budget-summary { position: static; border: 1px solid #000; }
}

/* Layout fixes */
.field > label.radio-card, .field > label.check, fieldset.field > label.check { display: flex; font-weight: 500; }
.radio-card > span { flex: 1; min-width: 0; }
.budget-table .input-prefix input { width: 130px; }
.budget-table td:last-child { min-width: 180px; }
.budget-table select, .budget-table .supplier-in { display: block; width: 100%; max-width: 220px; }
@media (max-width: 640px) { .budget-table .input-prefix input { width: 100%; } .budget-table td:last-child { min-width: 0; } .budget-table select, .budget-table .supplier-in { max-width: none; } }

.ic-kiosk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h10l-1.2 12H8.2z'/%3E%3Cpath d='M6 8h12M13 8l2-5'/%3E%3Ccircle cx='10' cy='17' r='.8'/%3E%3Ccircle cx='13' cy='16' r='.8'/%3E%3C/svg%3E"); }
.ic-salon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='M7.8 16.2 17 4M16.2 16.2 7 4'/%3E%3C/svg%3E"); }

.facts-table th[scope=row] { width: 38%; font-weight: 600; }
.facts-table td:last-child { width: 30%; }
@media (max-width: 640px) { .facts-table tr { display: grid; } .facts-table th[scope=row], .facts-table td:last-child { width: auto; } }
ol.numbered li { margin-bottom: 10px; }
.ic-workshop { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.2L3 17.8V21h3.2l6.3-6.3a4 4 0 0 0 5.2-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.ic-vending { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2'/%3E%3Cpath d='M8 6h5M8 10h5M8 14h5M16 6v8M8 18h8'/%3E%3C/svg%3E"); }
.ic-beauty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c4 0 7 3 7 7.5S16 20 12 21c-4-1-7-6-7-10.5S8 3 12 3z'/%3E%3Cpath d='M9 10h.01M15 10h.01M9.5 14.5c1.5 1.2 3.5 1.2 5 0'/%3E%3C/svg%3E"); }
.ic-foot { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21c-2.5 0-4-2-4-5 0-4 2-6 2-9s1-4 3-4 3 2 3 5-1 4-1 7 1 6-3 6z'/%3E%3Ccircle cx='16' cy='5' r='1.2'/%3E%3Ccircle cx='18.5' cy='7.5' r='1'/%3E%3Ccircle cx='19.5' cy='10.5' r='.9'/%3E%3C/svg%3E"); }
.ic-mart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.ic-tuition { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6l10-3 10 3-10 3z'/%3E%3Cpath d='M6 8v5c0 1.7 2.7 3 6 3s6-1.3 6-3V8'/%3E%3Cpath d='M22 6v6'/%3E%3C/svg%3E"); }
.ic-childcare { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='13' width='7' height='7' rx='1'/%3E%3Crect x='14' y='13' width='7' height='7' rx='1'/%3E%3Crect x='8.5' y='4' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.ic-laundromat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Ccircle cx='12' cy='13' r='5'/%3E%3Cpath d='M8 6h.01M11 6h.01'/%3E%3C/svg%3E"); }
.ic-studentcare { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V6a2 2 0 0 1 2-2h12v15H6a2 2 0 0 0-2 2'/%3E%3Cpath d='M4 19a2 2 0 0 0 2 2h12'/%3E%3Cpath d='M9 9h6M9 13h4'/%3E%3C/svg%3E"); }
