:root {
  --ink: #0f2233;
  --ink-2: #44566a;
  --muted: #6b7c8f;
  --bg: #f4f1ea;
  --paper: #fffdf9;
  --line: #e3ddd1;
  --navy: #123a5c;
  --navy-2: #1d5584;
  --mint: #70e0c8;
  --mint-soft: #dff6ef;
  --amber: #f4b942;
  --amber-soft: #fdf1d6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 34, 51, .06), 0 6px 24px rgba(15, 34, 51, .06);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--navy-2); }
a:hover { color: var(--navy); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark svg { width: 32px; height: 32px; display: block; }
.brand-mark rect { fill: rgba(255, 255, 255, .1); }
.brand-mark path { stroke: var(--mint); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.currency-toggle { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px; }
.currency-toggle button { font: inherit; font-size: .85rem; font-weight: 700; color: #cfe0ef; background: transparent; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.currency-toggle button:hover { color: #fff; }
.currency-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.guide-btn { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); text-decoration: none; font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.guide-btn:hover, .guide-btn.current { background: #fff; border-color: #fff; color: var(--navy); }
.guide-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.main-nav a { color: #cfe0ef; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav a.current { color: var(--navy); background: var(--mint); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--navy-2); margin: 0 0 10px; }
h1 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 14px; max-width: 18ch; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; margin: 0; }
h2, h3 { letter-spacing: -.015em; line-height: 1.2; }
.section-title { font-size: 1.3rem; margin: 40px 0 14px; }

/* ---------- cards & buttons ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 650; padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy-2); }
.btn:disabled { opacity: .4; cursor: default; }
.btn.block { display: flex; width: 100%; margin-top: 10px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- advisor ---------- */
.advisor-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; padding-bottom: 60px; }
.wizard { padding: 28px; }
.progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.progress li { flex: 1; font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); counter-increment: s; }
.progress li::before { content: counter(s) ". "; }
.progress li.done { border-color: var(--mint); color: var(--ink-2); }
.progress li.active { border-color: var(--navy); color: var(--navy); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.q { margin-bottom: 24px; }
.q-label { display: block; font-weight: 650; margin: 0 0 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field input { width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus { border-color: var(--navy-2); outline: none; box-shadow: 0 0 0 3px rgba(29, 85, 132, .15); }
.field.narrow { max-width: 320px; display: block; }
.hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.hint.block { font-size: .95rem; margin: 0 0 20px; color: var(--ink-2); }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.choice strong { display: block; font-size: .98rem; }
.choice small { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; line-height: 1.4; }
.choice:hover span { border-color: #b9c6d3; }
.choice input:checked + span { border-color: var(--navy); background: #eef4fa; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }
.step-count { color: var(--muted); font-size: .88rem; }

.side h2 { font-size: 1.1rem; margin: 0 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%23123a5c' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- results ---------- */
.results { padding: 40px 0 60px; }
.results-head { margin-bottom: 22px; }
.results-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.results-head .plus { color: var(--navy-2); font-weight: 600; font-size: .7em; white-space: nowrap; }
.results-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.col-main > .card, .col-side > .card { margin-bottom: 18px; }
.plans-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 18px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.plan p { margin: 0 0 10px; }
.plan-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.plan.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan.primary .plan-label { color: var(--mint); }
.plan.primary .muted { color: #b8cde0; }
.plan.primary .maps-link { color: var(--mint); }
.plan-price { font-size: 1.9rem; font-weight: 750; letter-spacing: -.02em; }
.plan-price span { font-size: .85rem; font-weight: 500; opacity: .75; margin-left: 3px; letter-spacing: 0; }
.plan-price .ask { font-size: 1rem; font-weight: 600; opacity: 1; margin: 0; }
.maps-link { margin-top: auto; font-weight: 600; font-size: .9rem; }
.addons { list-style: none; padding: 0; margin: 0 0 8px; }
.addons li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.addons li:last-child { border: 0; }
.addons strong { display: block; }
.addons span { color: var(--ink-2); font-size: .93rem; }
.addon-price { font-style: normal; color: var(--navy-2); font-weight: 650; margin-left: 6px; font-size: .9rem; }
.warn { color: #8a5a00; background: var(--amber-soft); border-radius: 8px; padding: 8px 10px; }
.options-card .option { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; background: #fff; }
.options-card .option.best { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f3f7fb; }
.option-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.option-head strong { font-size: 1rem; }
.badge { background: var(--navy); color: var(--mint); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.option-total { margin-left: auto; font-weight: 750; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.option-total small { font-weight: 500; color: var(--muted); font-size: .78rem; margin-left: 2px; }
.option ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: .88rem; color: var(--ink-2); }
.option li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px dashed var(--line); }
.option li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.choices.checks { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.notes { background: var(--amber-soft); border-color: #f1dfb2; }
.notes ul { margin: 0; padding-left: 20px; }
.notes li { margin-bottom: 8px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cost-table td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; font-weight: 600; }
.cost-table .total td { font-weight: 750; font-size: 1.1rem; border-bottom: 0; padding-top: 12px; }
.cost-table .total.sub td { font-size: .95rem; color: var(--ink-2); padding-top: 0; }
.maps { border-top: 4px solid var(--mint); }

/* ---------- compare ---------- */
.plan-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.table-wrap { padding: 0; overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.matrix th, .matrix td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.matrix thead th { position: sticky; top: 0; background: var(--paper); vertical-align: bottom; border-bottom: 2px solid var(--ink); }
.matrix .feat { text-align: left; font-weight: 600; min-width: 200px; }
.matrix thead .feat { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.th-name { display: block; font-weight: 750; font-size: .98rem; }
.th-price { display: block; font-weight: 600; color: var(--navy-2); }
.th-price small { font-weight: 500; color: var(--muted); }
.th-maps { display: block; font-size: .78rem; font-weight: 600; margin-top: 4px; }
.matrix tr.group th { background: #f6f2ea; text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-2); padding: 8px 14px; }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-soft); color: var(--navy); font-weight: 800; }
.no { color: #b9c2cc; font-weight: 700; }
.addon { color: #8a6412; font-size: .82rem; font-weight: 600; }
.val { font-size: .85rem; font-weight: 600; }
.empty { padding: 30px; color: var(--muted); }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; padding-bottom: 60px; }
.other ul { list-style: none; padding: 0; margin: 0; }
.other li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.other li:last-child { border: 0; }
.other .small { grid-column: 1 / -1; color: var(--ink-2); }
.op-price { font-weight: 650; font-size: .9rem; }

/* ---------- learn ---------- */
.search { width: 100%; max-width: 480px; font: inherit; font-size: 1.05rem; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.gloss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gloss h3 { font-size: 1.02rem; }
.gloss { display: flex; flex-direction: column; }
.gloss p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.gloss .docs { margin-top: auto; padding-top: 14px; }
.gloss .docs-title { font-size: .72rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted) !important; margin: 0 0 6px !important; padding-top: 12px; border-top: 1px dashed var(--line); }
.gloss .docs ul { list-style: none; padding: 0; margin: 0; }
.gloss .docs li { margin: 0 0 6px; font-size: .88rem; line-height: 1.35; }
.gloss .docs a { font-weight: 600; text-decoration: none; }
.gloss .docs a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.maps-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin: 40px 0 60px; background: var(--navy); color: #dbe7f2; border: 0; }
.maps-cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.maps-cta p { margin: 0; max-width: 60ch; }
.maps-cta a:not(.btn) { color: var(--mint); }
.maps-cta .btn.primary { background: var(--mint); color: var(--navy); }
.maps-cta .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-buttons { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .85rem; color: var(--muted); }
.site-footer p { margin: 0 0 8px; max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .advisor-grid, .results-grid { grid-template-columns: 1fr; }
  .maps-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 36px 0 20px; }
  .two-col { grid-template-columns: 1fr; }
  .progress li { font-size: 0; }
  .progress li::before { font-size: .78rem; content: counter(s); }
  .wizard { padding: 20px; }
  .main-nav { order: 3; width: 100%; padding-bottom: 10px; margin-left: 0; }
  .main-nav a { padding: 6px 12px; font-size: .88rem; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .actions, .maps .btn, .advisor-grid, .hero { display: none !important; }
  body { background: #fff; }
  .card, .plan { box-shadow: none; break-inside: avoid; }
  .plan.primary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { gap: 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .currency-toggle button { padding: 5px 9px; font-size: .78rem; }
  .guide-btn { padding: 6px 10px; font-size: .78rem; }
}

/* privacy */
.privacy-note { display: flex; gap: 10px; align-items: flex-start; background: var(--mint-soft); border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin: 0 0 12px; }
.privacy-note svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-top: 1px; }
.footer-links a { font-weight: 600; }
.clear-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0; }
.clear-card h3 { margin: 0 0 4px; }
.clear-card p { margin: 0; }
@media print { .clear-card .btn { display: none; } }

/* share */
.share { border-top: 4px solid var(--navy); }
.share-url { width: 100%; font: inherit; font-size: .8rem; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); margin-top: 4px; text-overflow: ellipsis; }
.share-url:focus { outline: none; border-color: var(--navy-2); }
.col-side { display: flex; flex-direction: column; }
.col-side > .cost { order: -2; }
.col-side > .share { order: -1; }
@media print { .share { display: none !important; } }

/* ---------- licence check ---------- */
.audit-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; padding-bottom: 40px; }
.audit-input h2 { font-size: 1.3rem; margin: 0 0 8px; }
.audit-sub { margin-top: 28px !important; }
.audit-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.audit-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.audit-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-2); padding: 6px 6px 8px; font-weight: 700; }
.audit-table th .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.audit-table td { padding: 5px 6px; vertical-align: middle; }
.audit-table select, .audit-table input { width: 100%; font: inherit; font-size: .92rem; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.audit-table select:focus, .audit-table input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(29, 85, 132, .15); }
.audit-table td:first-child { min-width: 280px; }
.audit-table td:nth-child(2), .audit-table td:nth-child(3) { width: 92px; }
.audit-table td:nth-child(4) { width: 150px; }
.audit-table td:nth-child(5) { width: 110px; }
.price-in { position: relative; }
.price-in .cur { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.price-in input { padding-left: 22px !important; }
.price-in input::placeholder { font-size: .8rem; }
.a-del { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.a-del:hover { color: #b3261e; border-color: #e7b4b0; }
.audit-actions { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.audit-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat-val { display: block; font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-val small { font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.stat.good { background: var(--navy); border-color: var(--navy); color: #fff; }
.stat.good .stat-label, .stat.good small { color: var(--mint); }
.findings { display: grid; gap: 12px; }
.finding { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--navy-2); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.finding h4 { margin: 4px 0 6px; font-size: 1.05rem; }
.finding p { margin: 0 0 6px; color: var(--ink-2); font-size: .95rem; }
.f-action { color: var(--ink) !important; }
.f-tag { display: inline-block; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: #eef2f6; color: var(--navy-2); }
.f-save { text-align: right; flex-shrink: 0; min-width: 120px; }
.f-save span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.f-save strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; color: #1d6b4f; }
.f-save small { color: var(--muted); }
.t-warn { border-left-color: #c0392b; } .t-warn .f-tag { background: #fbe6e4; color: #9b2c22; }
.t-dup { border-left-color: #1d6b4f; } .t-dup .f-tag { background: #dff3ea; color: #1d6b4f; }
.t-unused { border-left-color: #1d6b4f; } .t-unused .f-tag { background: #dff3ea; color: #1d6b4f; }
.t-bundle { border-left-color: var(--navy-2); }
.t-right { border-left-color: #7a5ac8; } .t-right .f-tag { background: #eee8fb; color: #5b3fa8; }
.t-bill { border-left-color: var(--amber); } .t-bill .f-tag { background: var(--amber-soft); color: #8a5a00; }
.t-check, .t-info { border-left-color: #b9c2cc; box-shadow: none; } .t-check .f-save strong, .t-info .f-save strong { color: var(--ink-2); }
.audit-next { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin: 24px 0 14px; }
.audit-share { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 12px; padding: 16px; }
.audit-share h3 { margin-top: 0; }
@media (max-width: 900px) {
  .audit-grid, .audit-next { grid-template-columns: 1fr; }
  .audit-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .audit-table { min-width: 0; }
  .audit-table thead { display: none; }
  .audit-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); position: relative; }
  .audit-table td { padding: 0; width: auto !important; min-width: 0 !important; }
  .audit-table td:first-child { grid-column: 1 / -1; padding-right: 44px; }
  .audit-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
  .audit-table td:last-child { position: absolute; top: 12px; right: 0; }
  .finding { flex-direction: column; }
  .f-save { text-align: left; }
}
@media print {
  #view-audit .hero, .audit-grid, .audit-share { display: none !important; }
  .finding, .stat { box-shadow: none; break-inside: avoid; }
}
