:root {
  --ink: #0b0f1a;
  --muted: #596779;
  --paper: #f4f7fa;
  --surface: #ffffff;
  --line: #dce4ec;
  --brand: #01afd1;
  --brand-dark: #07536a;
  --brand-soft: #e4f8fc;
  --cyan: #01dff4;
  --amber: #aa6d05;
  --amber-soft: #fff3d9;
  --red: #b33838;
  --red-soft: #fde8e7;
  --shadow: 0 20px 60px rgba(11, 15, 26, 0.14);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.ambient { position: fixed; border-radius: 999px; filter: blur(1px); pointer-events: none; opacity: .6; }
.ambient-one { width: 520px; height: 520px; right: -150px; top: -180px; background: radial-gradient(circle, rgba(1,223,244,.18), transparent 68%); }
.ambient-two { width: 480px; height: 480px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(1,175,209,.13), transparent 68%); }

.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.brand-logo { display: block; width: min(330px, 78vw); height: auto; border-radius: 4px; }
.product-label { margin-left: 3px; color: var(--brand-dark); letter-spacing: .28em; font-size: 11px; font-weight: 850; }
.eyebrow { margin: 0 0 9px; color: var(--brand); letter-spacing: .16em; font-size: 10px; font-weight: 800; }

.login-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); min-height: 100vh; padding: 6vw; gap: 6vw; align-items: center; }
.login-card { max-width: 680px; }
.login-card .brand-lockup { margin-bottom: 72px; }
.login-card h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5.4vw, 78px); line-height: .99; letter-spacing: -.045em; font-weight: 500; }
.login-copy { max-width: 590px; margin: 30px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; border: 0; border-radius: 9px; padding: 0 18px; font-weight: 750; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-primary { color: var(--ink); background: var(--cyan); box-shadow: 0 10px 26px rgba(1,175,209,.22); }
.button-primary:hover { color: white; background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: none; }
.button-large { min-height: 56px; padding: 0 24px; }
.button-full { width: 100%; margin-top: 22px; }
.text-button { padding: 0; border: 0; color: var(--brand); background: transparent; font-weight: 700; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 24px; }
.form-message { min-height: 20px; color: var(--muted); font-size: 13px; }
.form-message.error { color: var(--red); }
.form-message.success { color: var(--brand); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 50px; color: var(--muted); font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--brand); font-weight: 900; }
.login-aside { display: flex; justify-content: center; }
.signal-card { width: min(100%, 520px); padding: 35px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; color: white; background: linear-gradient(145deg, #0b0f1a, #0a576c); box-shadow: var(--shadow); }
.signal-topline, .signal-footer { display: flex; justify-content: space-between; color: rgba(255,255,255,.62); letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.live-dot { color: var(--cyan); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(1,223,244,.12); }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; }
.signal-grid div { min-height: 115px; padding: 24px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.signal-grid div:nth-child(even) { border-right: 0; }
.signal-grid div:nth-child(n+3) { border-bottom: 0; }
.signal-grid small { display: block; margin-bottom: 14px; color: rgba(255,255,255,.55); }
.signal-grid strong { color: var(--cyan); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }

.app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 22px; color: white; background: #0b0f1a; }
.sidebar-brand { padding: 4px 6px 34px; }
.sidebar-brand .brand-logo { width: 190px; }
.sidebar-brand .product-label { color: var(--cyan); }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 14px; border: 0; border-radius: 8px; color: rgba(255,255,255,.66); background: transparent; text-align: left; font-weight: 650; }
.nav-item span { width: 22px; color: var(--cyan); text-align: center; font-size: 18px; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.09); }
.sidebar-footer { margin-top: auto; }
.security-note { display: flex; gap: 10px; margin-bottom: 22px; padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; }
.security-note strong, .security-note small { display: block; }
.security-note strong { font-size: 12px; }
.security-note small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 10px; }
.lock-icon { color: var(--cyan); }
.sidebar-footer .text-button { color: rgba(255,255,255,.58); }

.workspace { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 94px; padding: 22px 42px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); }
.topbar h2 { margin: 0; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.account-chip { display: flex; align-items: center; gap: 11px; }
.account-chip strong, .account-chip small { display: block; }
.account-chip strong { font-size: 13px; }
.account-chip small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.avatar { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: white; background: var(--brand); font-size: 12px; font-weight: 800; }
.panel-view { padding: 34px 42px 60px; }
.hero-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 170px; padding: 34px 40px; border-radius: 16px; color: white; background: linear-gradient(118deg, #0b0f1a, #07536a 72%, #01afd1); box-shadow: var(--shadow); }
.hero-strip .eyebrow { color: var(--cyan); }
.hero-strip h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.hero-strip p:last-child { margin: 0; color: rgba(255,255,255,.67); }
.hero-strip .button { color: var(--ink); background: var(--cyan); box-shadow: none; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.metric-card, .content-card, .guidance-card { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 30px rgba(11,15,26,.055); }
.metric-card { min-height: 150px; padding: 22px; }
.metric-label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-card strong { display: block; margin: 14px 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.metric-card small { color: var(--muted); line-height: 1.4; }
.progress-track { height: 5px; overflow: hidden; border-radius: 8px; background: #e8eeeb; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); transition: width .3s ease; }
.metric-card .progress-track { margin: -4px 0 11px; }
.content-card { padding: 26px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.section-heading p:last-child { margin: 8px 0 0; color: var(--muted); }
.page-section-heading { margin-bottom: 28px; }
.segmented { display: flex; padding: 3px; border-radius: 8px; background: var(--paper); }
.segmented button { padding: 7px 12px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 750; }
.segmented button.active { color: var(--ink); background: white; box-shadow: 0 2px 8px rgba(11,15,26,.08); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 11px 10px; color: var(--muted); border-bottom: 1px solid var(--line); text-align: left; letter-spacing: .08em; font-size: 9px; text-transform: uppercase; }
td { padding: 16px 10px; border-bottom: 1px solid #edf1f5; color: #344256; font-size: 12px; vertical-align: middle; }
td:first-child { color: var(--ink); font-weight: 750; }
tr:last-child td { border-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; color: var(--muted); background: #eef2f0; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.status-pill.pass, .status-pill.complete { color: var(--brand); background: var(--brand-soft); }
.status-pill.fail, .status-pill.failed { color: var(--red); background: var(--red-soft); }
.status-pill.pass_with_warnings { color: var(--amber); background: var(--amber-soft); }
.table-action { border: 0; color: var(--brand); background: transparent; font-size: 12px; font-weight: 750; }
.empty-state { padding: 54px 20px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.empty-state p { margin-bottom: 0; }

.two-column-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 22px; align-items: start; }
.form-card label, .spec-form label { display: block; margin: 17px 0 7px; color: #3d4c60; font-size: 12px; font-weight: 750; }
select, input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #cbd7e2; border-radius: 8px; color: var(--ink); background: white; outline: none; }
select:focus, input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,175,209,.12); }
.step-badge { padding: 7px 10px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: 10px; font-weight: 800; }
.drop-zone { position: relative; display: grid; place-items: center; min-height: 230px; padding: 28px; border: 1.5px dashed #a8bac9; border-radius: 12px; background: #fafcfe; text-align: center; transition: .16s ease; }
.drop-zone.dragging, .drop-zone:hover { border-color: var(--brand); background: #effafd; }
.drop-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-zone strong, .drop-zone span, .drop-zone small { display: block; }
.drop-zone span, .drop-zone small { color: var(--muted); }
.drop-zone span { margin-top: -13px; font-size: 12px; }
.drop-zone small { margin-top: -17px; }
.upload-symbol { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 22px; }
.selected-file, .upload-progress { margin-top: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.selected-file { display: flex; justify-content: space-between; align-items: center; }
.selected-file strong, .selected-file small { display: block; }
.selected-file small { margin-top: 3px; color: var(--muted); }
.upload-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.guidance-card { padding: 28px; color: white; background: #0b0f1a; }
.guidance-card .eyebrow { color: var(--cyan); }
.guidance-card h3 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.check-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.check-list li > span { color: var(--cyan); font-size: 10px; font-weight: 800; }
.check-list strong, .check-list small { display: block; }
.check-list small { margin-top: 5px; color: rgba(255,255,255,.55); line-height: 1.5; }
.privacy-callout { margin-top: 23px; padding: 17px; border-radius: 9px; color: var(--ink); background: var(--cyan); }
.privacy-callout p { margin: 6px 0 0; font-size: 11px; line-height: 1.45; }

.requirements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.requirement-card { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.requirement-card header { display: flex; justify-content: space-between; gap: 15px; }
.requirement-card h4 { margin: 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.requirement-card p { color: var(--muted); font-size: 11px; }
.rule-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.rule-tags span { padding: 5px 8px; border-radius: 5px; color: var(--brand); background: var(--brand-soft); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.spec-form { max-width: 900px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.checkbox-row { display: flex !important; align-items: center; gap: 9px; margin-top: 35px !important; }
.checkbox-row input { width: 18px; min-height: 18px; }

.project-form { margin-bottom: 22px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.project-card { display: flex; min-height: 165px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-align: left; flex-direction: column; cursor: pointer; transition: .16s ease; }
.project-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.project-card small { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-card strong { margin: 14px 0 8px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.project-card span { margin-top: auto; color: var(--muted); font-size: 11px; }
.project-card span + span { margin-top: 8px; color: var(--ink); font-weight: 750; }
.project-detail { scroll-margin-top: 20px; }
.viewer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
.viewer-layout aside { padding-left: 22px; border-left: 1px solid var(--line); }
.viewer-layout aside h4 { margin-top: 0; }
.viewer-toolbar { display: flex; align-items: center; gap: 8px; min-height: 38px; margin-bottom: 10px; }
.viewer-toolbar span { margin-left: auto; color: var(--muted); font-family: monospace; font-size: 10px; }
.ortho-viewer { position: relative; display: grid; place-items: center; min-height: 460px; overflow: auto; border-radius: 10px; background: #0b0f1a; }
.ortho-viewer .empty-state { color: #a8b4bf; }
.ortho-viewer .empty-state strong { color: white; }
.ortho-viewer img { display: block; max-width: 100%; max-height: 70vh; transform-origin: center; transition: transform .12s ease; cursor: crosshair; }
.capture-timeline { display: grid; gap: 8px; }
.capture-item { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; text-align: left; cursor: pointer; }
.capture-item:hover, .capture-item.active { border-color: var(--brand); background: var(--brand-soft); }
.capture-item:disabled { cursor: not-allowed; opacity: .55; }
.capture-item span:not(.status-pill) { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.capture-item .status-pill { justify-self: start; }
.capture-metadata { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.capture-metadata > div { padding: 10px; border-radius: 7px; background: var(--paper); }
.capture-metadata small, .capture-metadata strong { display: block; }
.capture-metadata small { margin-bottom: 4px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.capture-metadata strong { font-size: 10px; overflow-wrap: anywhere; }

.report-dialog { width: min(1040px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 30px 100px rgba(11,15,26,.3); }
.report-dialog::backdrop { background: rgba(11,15,26,.68); backdrop-filter: blur(4px); }
.report-toolbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.report-toolbar > div:last-child { display: flex; gap: 10px; }
.report-actions { align-items: flex-end; flex-direction: column; }
.report-actions > small { max-width: 285px; color: var(--muted); font-size: 10px; text-align: right; }
.report-actions > div { display: flex; gap: 10px; }
.report-logo { display: block; width: 190px; height: auto; margin-bottom: 13px; border-radius: 3px; }
.report-toolbar h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
#report-content { padding: 30px; }
.report-document-header { margin-bottom: 22px; padding: 25px; border: 1px solid var(--line); border-top: 5px solid var(--brand); border-radius: 11px; background: white; }
.report-document-brand { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.report-document-brand img { width: 210px; height: auto; }
.report-document-brand h1 { margin: 7px 0 0; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.report-verdict { min-width: 175px; padding: 15px 18px; border-radius: 8px; color: var(--brand-dark); background: var(--brand-soft); text-align: right; }
.report-verdict.fail { color: #a92735; background: #fff0f1; }
.report-verdict.pass_with_warnings { color: #795c00; background: #fff9de; }
.report-verdict small, .report-verdict strong { display: block; }
.report-verdict small { margin-bottom: 5px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.report-verdict strong { font-size: 17px; }
.report-identity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 22px; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.report-identity small, .report-identity strong { display: block; }
.report-identity small { margin-bottom: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.report-identity strong { overflow-wrap: anywhere; font-size: 11px; }
.report-summary { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.report-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.report-summary small, .report-summary strong { display: block; }
.report-summary small { margin-bottom: 8px; color: var(--muted); }
.report-summary strong { font-size: 15px; }
.result-list { display: grid; gap: 10px; }
.result-row { display: grid; grid-template-columns: 155px 90px 1fr; gap: 16px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 10px; }
.result-row h4 { margin: 3px 0 0; font-size: 12px; }
.result-detail p { margin: 0 0 9px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.comparison div { padding: 9px; border-radius: 6px; background: var(--paper); overflow-wrap: anywhere; }
.comparison small, .comparison code { display: block; }
.comparison small { margin-bottom: 4px; color: var(--muted); }
.comparison code { color: var(--ink); font-size: 10px; white-space: pre-wrap; }
.report-scope-note { margin: 20px 0 0; padding: 14px 16px; border-left: 3px solid var(--brand); color: var(--muted); background: var(--paper); font-size: 10px; line-height: 1.55; }
.toast { position: fixed; z-index: 20; right: 25px; bottom: 25px; max-width: 380px; padding: 14px 18px; border-radius: 9px; color: white; background: var(--brand-dark); box-shadow: var(--shadow); font-size: 13px; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .requirements-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-aside { display: none; }
}

@media (max-width: 780px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; width: 100%; height: auto; padding: 15px; }
  .sidebar nav { display: flex; overflow-x: auto; }
  .sidebar-brand, .sidebar-footer { display: none; }
  .nav-item { width: auto; white-space: nowrap; }
  .topbar { padding: 18px 20px; }
  .panel-view { padding: 22px 18px 45px; }
  .hero-strip { align-items: flex-start; flex-direction: column; padding: 27px; }
  .two-column-layout, .requirements-grid, .projects-grid, .form-grid, .viewer-layout { grid-template-columns: 1fr; }
  .viewer-layout aside { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .ortho-viewer { min-height: 330px; }
  .capture-metadata { grid-template-columns: 1fr 1fr; }
  .account-chip div { display: none; }
  .report-summary, .result-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .login-shell { padding: 34px 22px; }
  .login-card .brand-lockup { margin-bottom: 50px; }
  .metric-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; }
  .comparison { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 13mm; }
  html, body { background: white; }
  body * { visibility: hidden; }
  #report-dialog, #report-dialog * { visibility: visible; }
  #report-dialog { position: static; inset: auto; display: block; width: auto; max-height: none; margin: 0; overflow: visible; border-radius: 0; box-shadow: none; }
  .report-toolbar { display: none; }
  #report-content { padding: 0; }
  .report-document-header { break-inside: avoid; margin-bottom: 6mm; padding: 5mm; }
  .report-document-brand img { width: 46mm; }
  .report-document-brand h1 { font-size: 18pt; }
  .report-identity { grid-template-columns: repeat(3, 1fr) !important; }
  .report-summary { grid-template-columns: repeat(4, 1fr) !important; gap: 2mm; margin-bottom: 5mm; }
  .report-summary article { padding: 3mm; }
  .result-list { gap: 2mm; }
  .result-row { grid-template-columns: 30mm 23mm 1fr !important; gap: 3mm; padding: 3mm; break-inside: avoid; }
  .result-row h4 { font-size: 9pt; }
  .result-detail p { font-size: 8pt; }
  .comparison code { font-size: 7.5pt; }
  .report-scope-note { break-inside: avoid; }
}
