/* Bố cục: dải navy mở trang với bảng công tháng "giải thích được" làm luận điểm; phần sau là sổ sách sáng, nhịp hai cột,
   mỗi khối kết bằng bằng chứng (mã module, nhật ký kiểm toán), không dùng ảnh minh hoạ chung chung. */
:root {
  --bg: #F8FAFD;
  --surface: #FFFFFF;
  --ink: #0E1B3D;
  --muted: #56607A;
  --line: #DDE3EF;
  --brand: #11367F;
  --brand-ink: #11367F;
  --brand-soft: #EEF2FA;
  --band: #0F2C69;
  --band-ink: #F3F6FC;
  --band-muted: #B7C4E2;
  --accent: #FF6C22;
  --accent-ink: #B8460C;
  --accent-soft: #FFF1E8;
  --ok: #15803D;
  --ok-soft: #DCFCE7;
  --danger: #C92200;
  --danger-soft: #FFE6E0;
  --off: #EEF0F3;
  --note: #7A5A00;
  --note-soft: #FFF8DB;

  --f-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: .78rem; --fs-sm: .9rem; --fs-md: 1rem; --fs-lg: 1.15rem; --fs-xl: 1.5rem; --fs-2xl: 2.1rem; --fs-hero: clamp(2.1rem, 4.6vw, 3.6rem);
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --sh: 0 1px 2px rgba(14,27,61,.06), 0 8px 24px rgba(14,27,61,.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1230; --surface: #101B40; --ink: #E7ECF8; --muted: #9DA9C6; --line: #22305C;
    --brand: #2B55AE; --brand-ink: #A9BCE6; --brand-soft: #16245197;
    --band: #0B1A47; --band-ink: #F3F6FC; --band-muted: #A9B7D9;
    --accent: #FF7A36; --accent-ink: #FFB289; --accent-soft: #3A1E10;
    --ok: #4ADE80; --ok-soft: #0F3020; --danger: #FF8A70; --danger-soft: #3D1610; --off: #172350;
    --note: #F5D46B; --note-soft: #2E2608;
    --sh: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1230; --surface: #101B40; --ink: #E7ECF8; --muted: #9DA9C6; --line: #22305C;
  --brand: #2B55AE; --brand-ink: #A9BCE6; --brand-soft: #16245197;
  --band: #0B1A47; --band-ink: #F3F6FC; --band-muted: #A9B7D9;
  --accent: #FF7A36; --accent-ink: #FFB289; --accent-soft: #3A1E10;
  --ok: #4ADE80; --ok-soft: #0F3020; --danger: #FF8A70; --danger-soft: #3D1610; --off: #172350;
  --note: #F5D46B; --note-soft: #2E2608;
  --sh: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
figure { margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-md); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: 40px; }
.section-head h2 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); }


/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 20px; margin-left: 12px; }
.nav a { color: var(--band-muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.nav a:hover { color: var(--band-ink); }
.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 var(--fs-sm)/1 var(--f-body); padding: 12px 18px; border-radius: var(--r-md); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #1A0A02; }
.btn-ghost { background: transparent; color: var(--band-ink); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .top-actions .btn-ghost { display: none; } }

/* Hero */
.hero { background: var(--band); color: var(--band-ink); padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy > p { color: var(--band-muted); font-size: var(--fs-lg); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { padding: 15px 22px; font-size: var(--fs-md); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--fs-sm); color: var(--band-muted); }
.hero-facts span::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Bảng công tháng */
.sheet { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; min-width: 0; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm); flex: none; }
.sheet-who { min-width: 0; }
.sheet-who b { display: block; font-size: var(--fs-sm); }
.sheet-who span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.sheet-month { margin-left: auto; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.sheet-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 560px) { .sheet-body { grid-template-columns: 1fr; } }
.cal { padding: 14px 16px 16px; border-right: 1px solid var(--line); }
@media (max-width: 560px) { .cal { border-right: 0; border-bottom: 1px solid var(--line); } }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: .68rem; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: 2px; }
.day { aspect-ratio: 1; max-width: 100%; border-radius: 7px; border: 1px solid transparent; background: var(--ok-soft); color: var(--ink); font: 600 .78rem/1 var(--f-mono); display: grid; place-items: center; position: relative; cursor: pointer; padding: 0; }
.day[data-s="off"] { background: var(--off); color: var(--muted); cursor: default; }
.day[data-s="future"] { background: transparent; border-color: var(--line); border-style: dashed; color: var(--muted); cursor: default; }
.day[data-s="late"] { background: var(--accent-soft); }
.day[data-s="leave"], .day[data-s="wfh"] { background: var(--brand-soft); }
.day[data-s="miss"] { background: var(--danger-soft); }
.day[data-s="ot"] { background: var(--ok-soft); }
.day[data-s="today"] { background: var(--surface); border-color: var(--accent); }
.day::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.day[data-s="late"]::after { background: var(--accent); }
.day[data-s="miss"]::after { background: var(--danger); }
.day[data-s="ot"]::after { background: var(--ok); }
.day[data-s="leave"]::after, .day[data-s="wfh"]::after { background: var(--brand-ink); }
.day[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.day.empty { visibility: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: .7rem; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.explain { padding: 16px 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.explain-date { font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-late { background: var(--accent-soft); color: var(--accent-ink); }
.b-leave { background: var(--brand-soft); color: var(--brand-ink); }
.b-miss { background: var(--danger-soft); color: var(--danger); }
.b-today { background: var(--accent-soft); color: var(--accent-ink); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: var(--fs-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.rule { font-size: var(--fs-xs); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.rule .mono { color: var(--ink); }
.sheet-foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sheet-foot div { padding: 10px 14px; border-right: 1px solid var(--line); }
.sheet-foot div:last-child { border-right: 0; }
.sheet-foot b { display: block; font: 700 var(--fs-lg)/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.sheet-foot span { font-size: .7rem; color: var(--muted); }
.sample { font-size: .7rem; color: var(--band-muted); margin-top: 10px; text-align: right; }

/* Dải sự thật */
.facts { border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 700 var(--fs-xl)/1.15 var(--f-display); color: var(--brand-ink); }
.fact span { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: 1fr 1fr; } .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .fact:nth-child(-n+2) { border-top: 0; } }

/* Vai trò */
.roles { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tab { font: 600 var(--fs-sm)/1 var(--f-body); color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 6px; margin-right: 14px; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
@media (max-width: 560px) { .role-list { grid-template-columns: 1fr; } }
.role-list li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--line); }
.role-list b { font-size: var(--fs-md); }
.role-list span { font-size: var(--fs-sm); color: var(--muted); }

/* Điện thoại */
.phone { width: min(300px, 100%); margin-inline: auto; background: var(--ink); border-radius: 36px; padding: 10px; box-shadow: var(--sh); }
.phone-screen { background: var(--bg); border-radius: 28px; overflow: hidden; display: grid; }
.p-top { background: var(--band); color: var(--band-ink); padding: 18px 16px 14px; display: grid; gap: 2px; }
.p-top small { color: var(--band-muted); font-size: .7rem; }
.p-top b { font-size: var(--fs-md); }
.p-body { padding: 12px; display: grid; gap: 10px; }
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.p-card small { color: var(--muted); font-size: .7rem; }
.p-big { font: 700 1.6rem/1 var(--f-mono); }
.p-big span { font: 500 .8rem var(--f-body); color: var(--muted); margin-left: 4px; }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; }
.p-btn { background: var(--accent); color: #1A0A02; font-weight: 700; text-align: center; padding: 11px; border-radius: 10px; font-size: .85rem; }

/* Module */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mods { grid-template-columns: 1fr; } }
.mod { background: var(--surface); padding: 22px; display: grid; gap: 8px; align-content: start; }
.mod-code { font: 600 .72rem/1 var(--f-mono); color: var(--accent-ink); letter-spacing: .06em; }
.mod h3 { font-size: var(--fs-lg); font-weight: 700; }
.mod p { font-size: var(--fs-sm); color: var(--muted); }

/* Quy trình kỳ công */
.flow-band { background: var(--brand-soft); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; gap: 28px 0; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }
.flow li { counter-increment: step; display: grid; gap: 8px; padding-right: 24px; position: relative; }
.flow li::before { content: counter(step); font: 700 var(--fs-sm)/1 var(--f-mono); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 44px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-ink) 0 6px, transparent 6px 12px); opacity: .35; }
@media (max-width: 860px) { .flow li::after { display: none; } }
.flow b { font-size: var(--fs-md); }
.flow span { font-size: var(--fs-sm); color: var(--muted); }

/* Bảo mật + nhật ký */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--ok-soft) center/14px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%2315803D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); margin-top: 2px; }
.checks b { display: block; }
.checks span { font-size: var(--fs-sm); color: var(--muted); }
.log { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); min-width: 0; }
.log-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: var(--fs-sm); display: flex; justify-content: space-between; gap: 12px; }
.log-head span { color: var(--muted); font-weight: 500; }
.log-scroll { overflow-x: auto; }
.log table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .8rem; }
.log td { padding: 9px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.log tr:last-child td { border-bottom: 0; }
.log td:first-child { font-family: var(--f-mono); color: var(--muted); white-space: nowrap; }
.log .act { font-family: var(--f-mono); font-size: .74rem; color: var(--brand-ink); white-space: nowrap; }

/* Gói */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; }
.plan.featured { border-color: var(--brand); box-shadow: var(--sh); }
.plan h3 { font-size: var(--fs-lg); }
.plan .price { font: 800 var(--fs-xl)/1.1 var(--f-display); }
.plan .price small { font: 500 var(--fs-sm) var(--f-body); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
.plan li::before { content: "—"; color: var(--accent-ink); margin-right: 8px; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem/1 var(--f-mono); color: var(--accent-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 44rem; }

/* Đăng ký + đăng nhập */
.join { background: var(--band); color: var(--band-ink); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.panel h2 { font-size: var(--fs-xl); font-weight: 800; }
.panel > p { color: var(--muted); font-size: var(--fs-sm); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field select { font: 400 var(--fs-md) var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; width: 100%; min-width: 0; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hint { font-size: var(--fs-xs); color: var(--muted); overflow-wrap: anywhere; }
.hint .mono { color: var(--ink); }
.hint.err { color: var(--danger); }
.form-msg { font-size: var(--fs-sm); padding: 10px 12px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-ink); }
.addr { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.addr input { border: 0; border-radius: 0; background: transparent; }
.addr span { display: grid; place-items: center; padding: 0 12px; color: var(--muted); font: 400 var(--fs-sm) var(--f-mono); border-left: 1px solid var(--line); white-space: nowrap; }
.addr:focus-within { outline: 2px solid var(--accent); }
.addr input:focus { outline: none; }

/* Footer */
.foot { background: var(--band); color: var(--band-muted); border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-sm); }
.foot .wrap { padding-block: 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
.foot h4 { margin: 0 0 10px; color: var(--band-ink); font-size: var(--fs-sm); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--band-muted); text-decoration: none; }
.foot a:hover { color: var(--band-ink); }
.foot .brand { color: var(--band-ink); margin-bottom: 10px; }
.eyebrow-on-band { color: var(--accent); }
.section-tight { padding-top: 0; }
.p-muted { color: var(--muted); }
.legend .lg-ok { background: var(--ok-soft); outline: 1px solid var(--ok); }
.legend .lg-late { background: var(--accent); }
.legend .lg-leave { background: var(--brand-ink); }
.legend .lg-miss { background: var(--danger); }
.panel .btn { justify-self: start; }
.btn-lg { padding: 14px 22px; font-size: var(--fs-md); }
.foot-contact { margin-top: 12px; }
.page-narrow { max-width: 40rem; }
.notice { display: grid; gap: 14px; }
.notice h1 { font-size: var(--fs-2xl); font-weight: 800; }
.notice p { color: var(--muted); }

/* ADR-99 §11: trang đóng */
.closed{max-width:520px;margin:12vh auto;padding:0 24px;text-align:center}
.closed h1{margin:16px 0 8px}
