/* 開單 — Apple-leaning design tokens, light + dark, 3 breakpoints. */

:root {
  --bg: #f5f5f7;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --accent: #0e7a52;
  --accent-hover: #0a5c3e;
  --accent-weak: rgba(14, 122, 82, .10);
  --danger: #c0392b;
  --nav-bg: rgba(245, 245, 247, .78);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -20px rgba(0, 0, 0, .25);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --surface: #1c1c1e;
    --surface-2: #141416;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .2);
    --accent: #30d158;
    --accent-hover: #4ade80;
    --accent-weak: rgba(48, 209, 88, .14);
    --nav-bg: rgba(0, 0, 0, .72);
    --shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 18px 40px -20px rgba(0, 0, 0, .9);
  }
}

[data-theme="light"] {
  --bg: #f5f5f7; --bg-elev: #fff; --surface: #fff; --surface-2: #fbfbfd;
  --text: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.08); --line-strong: rgba(0,0,0,.14);
  --accent: #0e7a52; --accent-hover: #0a5c3e; --accent-weak: rgba(14,122,82,.10);
  --nav-bg: rgba(245,245,247,.78);
}
[data-theme="dark"] {
  --bg: #000; --bg-elev: #1c1c1e; --surface: #1c1c1e; --surface-2: #141416;
  --text: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.2);
  --accent: #30d158; --accent-hover: #4ade80; --accent-weak: rgba(48,209,88,.14);
  --nav-bg: rgba(0,0,0,.72);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang HK", "Noto Sans TC", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { letter-spacing: -.022em; line-height: 1.12; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.06rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; height: 52px;
  display: flex; align-items: center; gap: 20px; padding: 0 20px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; width: 26px; height: 26px; border-radius: 7px; }
.brand-name { letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; flex: 1; }
.nav-links a {
  color: var(--muted); font-size: 14px; padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--line); color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--line); }

/* --------------------------------------------------------------- button */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.nav-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); text-decoration: none; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */

main { display: block; }

.hero, .section, .split, .a4-wide, .prose, .crumbs, .cta, .footer-inner {
  width: min(100% - 40px, var(--max)); margin-inline: auto;
}
.hero { padding: 72px 0 40px; text-align: center; }
.hero-left { text-align: left; padding-bottom: 24px; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-weak); color: var(--accent-hover);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero .lede { margin-inline: auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; justify-content: center; }
.hero-left .hero-actions { justify-content: flex-start; }
.badges { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; justify-content: center; }
.badges li {
  font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}

/* --------------------------------------------------------------- cards */

.section { padding: 40px 0; }
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.doc-card { display: flex; flex-direction: column; gap: 4px; color: var(--text); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.doc-card h3 span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.doc-code {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-hover); background: var(--accent-weak); padding: 3px 8px; border-radius: 6px; margin-bottom: 8px;
}
.card-link { margin-top: 14px; font-size: 13.5px; color: var(--accent); font-weight: 600; }

.steps { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.steps li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.steps h3 { margin-bottom: 4px; font-size: 15px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.step-no {
  flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--text); color: var(--bg); font-size: 13px; font-weight: 700;
}

.ticks { list-style: none; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; color: var(--text); font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}

/* ----------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; padding: 0 34px 18px 0; margin: 0; }

/* ----------------------------------------------------------------- cta */

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 32px auto 64px; padding: 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: 4px; }
.cta p { margin: 0; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- crumbs */

.crumbs { display: flex; gap: 8px; padding-top: 24px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ------------------------------------------------------------ split/a4 */

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; padding: 12px 0 24px; }
.split-art { position: sticky; top: 76px; }
.a4-wrap { container-type: inline-size; }
.a4-wide { max-width: 620px; padding: 8px 0 24px; }

.a4 {
  aspect-ratio: 210 / 297; width: 100%; background: #fff; color: #1d1d1f;
  border-radius: 6px; border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -24px rgba(0,0,0,.35);
  padding: 7.5% 6.5%; display: flex; flex-direction: column; gap: 3.2%;
  font-size: clamp(8px, 2.1cqw, 12px); line-height: 1.42; overflow: hidden;
}
.a4-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6%; }
.a4-company { font-size: 1.55em; font-weight: 700; letter-spacing: -.02em; }
.a4-meta { color: #6e6e73; font-size: .92em; margin-top: .4em; }
.a4-title { text-align: right; font-size: 1.9em; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.a4-title span { display: block; font-size: .42em; font-weight: 500; color: #6e6e73; letter-spacing: .16em; text-transform: uppercase; margin-top: .5em; }
.a4-info { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2%; border-top: 1px solid #e6e6e9; border-bottom: 1px solid #e6e6e9; padding: 3% 0; }
.a4-info span { display: block; font-size: .82em; color: #6e6e73; letter-spacing: .04em; }
.a4-info strong { display: block; font-size: .95em; font-weight: 600; margin-top: .25em; }
.a4-table { width: 100%; border-collapse: collapse; }
.a4-table th { text-align: left; font-size: .82em; font-weight: 600; color: #6e6e73; padding: 0 0 2% 0; border-bottom: 1px solid #1d1d1f; }
.a4-table td { padding: 2.2% 0; border-bottom: 1px solid #ececef; }
.a4-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a4-total { margin-top: auto; display: grid; gap: .35em; align-self: flex-end; min-width: 46%; }
.a4-total > div { display: flex; justify-content: space-between; gap: 1em; color: #6e6e73; font-variant-numeric: tabular-nums; }
.a4-total b { color: #1d1d1f; font-weight: 600; }
.a4-total .grand { border-top: 1px solid #1d1d1f; padding-top: .5em; margin-top: .2em; font-size: 1.12em; color: #1d1d1f; }
.a4-sign { display: flex; gap: 8%; margin-top: auto; padding-top: 4%; border-top: 1px solid #ececef; color: #6e6e73; }
.a4-foot { font-size: .9em; color: #6e6e73; border-top: 1px solid #ececef; padding-top: 2.5%; }

/* ---------------------------------------------------------------- blog */

.post-list { display: grid; gap: 12px; width: min(100% - 40px, var(--max)); margin: 0 auto; }
.post-card {
  display: grid; gap: 6px; padding: 22px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.post-card h2 { margin: 2px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.post-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.post-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent-hover);
  background: var(--accent-weak); padding: 3px 9px; border-radius: 999px;
}
.article-head { margin-bottom: 8px; }
.crumbs-article { max-width: 720px; margin-inline: auto; width: min(100% - 40px, 720px); }
.article-head h1 { margin: 10px 0 12px; }
.article .section { padding: 20px 0; }
.article .section h2 { margin-top: .4em; }
.article .section:first-of-type { padding-top: 8px; }
.related { padding-top: 8px; }

/* --------------------------------------------------------------- prose */

.prose { max-width: 720px; padding: 16px 0 56px; }
.prose h2 { margin-top: 1.6em; }
.prose .lede { color: var(--text); }

/* -------------------------------------------------------------- footer */

.footer { border-top: 1px solid var(--line); background: var(--surface-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 36px 0; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-content: flex-start; }
.footer-links a { color: var(--muted); font-size: 13.5px; }

.center-page { display: grid; place-items: center; min-height: 100vh; text-align: center; }
.center-page main { max-width: 420px; }

.notice { padding: 16px; background: var(--accent-weak); border-radius: var(--r-sm); }

/* ----------------------------------------------------------------- app */

body.is-app .footer { display: none; }
.app-shell { width: min(100% - 32px, 1240px); margin: 0 auto; padding: 18px 0 64px; }
.app-boot { display: grid; place-items: center; gap: 14px; padding: 120px 0; color: var(--muted); }
.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.app-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.segmented { display: inline-flex; background: var(--line); padding: 3px; border-radius: 999px; gap: 2px; }
.segmented > button, .segmented > a {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600;
  min-height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center;
  text-decoration: none; white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.segmented > button[aria-pressed="true"], .segmented > a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.segmented > a:hover { color: var(--text); text-decoration: none; }
.app-bar .spacer { flex: 1; }
.app-actions { display: flex; align-items: center; gap: 8px; }

.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 14px; }
.panel h2 { font-size: 15px; margin: 0 0 14px; letter-spacing: 0; color: var(--muted); text-transform: uppercase; font-weight: 600; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 12px; min-height: 44px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-weak);
}
.field textarea { min-height: 76px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

.items { display: grid; gap: 8px; }
.item-row { display: grid; grid-template-columns: 1fr 74px 104px 34px; gap: 8px; align-items: center; }
.item-row input { min-height: 40px; font-size: 14px; }
.item-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
}
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.items-head { display: grid; grid-template-columns: 1fr 74px 104px 34px; gap: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 0 2px 4px; }
.items-head span:nth-child(2), .items-head span:nth-child(3) { text-align: right; }

.totals { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.totals .grand { color: var(--text); font-size: 17px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }

.preview { position: sticky; top: 76px; }
.preview .a4 { font-size: clamp(7px, 1.62cqw, 11px); }

.table-list { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-list th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table-list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-list tr:hover td { background: var(--surface-2); }
.table-list .num { text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--muted); }
.tag.paid { background: rgba(14,122,82,.12); color: var(--accent-hover); }
.tag.sent { background: rgba(0,113,227,.1); color: #0071e3; }

.empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.empty p { margin-bottom: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: all .22s var(--ease); z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mobile-preview-toggle { display: none; }

/* --------------------------------------------------------- responsive */

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-art { position: static; }
  .app-grid { grid-template-columns: 1fr; }
  .preview { position: static; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav-inner { gap: 10px; padding: 0 14px; }
  .brand-name { display: inline; font-size: 15px; }
  .nav-inner { height: auto; flex-wrap: wrap; padding: 8px 14px 0; }
  .nav-cta { margin-left: auto; }
  .nav-links { flex: 0 0 100%; order: 3; margin: 6px 0 0; gap: 0; border-top: 1px solid var(--line); }
  .nav-links a { position: relative; flex: 1; text-align: center; padding: 12px 0; font-size: 13.5px; border-radius: 0; background: none !important; }
  .nav-links a[aria-current="page"] { color: var(--text); font-weight: 700; }
  .nav-links a[aria-current="page"]::after {
    content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 2px;
    background: var(--accent); border-radius: 2px;
  }
  .nav-links { display: flex; }
  .nav-links a { font-size: 13px; padding: 6px 9px; }
  .nav-cta { display: inline-flex; padding: 0 13px; font-size: 13px; }
  .hero { padding: 40px 0 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero, .section, .split, .a4-wide, .prose, .crumbs, .cta, .footer-inner { width: min(100% - 28px, var(--max)); }
  .cta { padding: 22px; }
  .cta .btn { width: 100%; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .item-row, .items-head { grid-template-columns: 1fr 62px 88px 32px; }
  .app-shell { width: min(100% - 24px, 1240px); padding-top: 14px; }
  .panel { padding: 16px; border-radius: 16px; }
  .mobile-preview-toggle { display: inline-flex; }
  .preview[hidden] { display: none; }
  .table-list thead { display: none; }
  .table-list td { display: block; border: 0; padding: 2px 10px; }
  .table-list td:first-child { padding-top: 12px; font-weight: 600; }
  .table-list td:last-child { padding-bottom: 12px; }
  .table-list tr { display: block; border-bottom: 1px solid var(--line); }
  .table-list .num { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- print */

@page { size: A4; margin: 12mm; }

@media print {
  body { background: #fff; color: #000; }
  .nav, .footer, .cta, .crumbs, .hero, .section, .hero-actions, .app-bar, .panel,
  .footer-links, .toast, .skip, .mobile-preview-toggle, .badges { display: none !important; }
  .app-shell, .app-grid, .split, .a4-wide, .a4-wrap, main { display: block !important;
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .preview { position: static !important; }
  .a4 {
    border: 0; box-shadow: none; border-radius: 0; width: 100%; aspect-ratio: auto;
    padding: 0 5mm; font-size: 10.5pt; gap: 16px; page-break-inside: avoid; box-sizing: border-box;
  }
  .a4-total { min-width: 55%; }
  a { color: inherit; text-decoration: none; }
}
