@font-face {
  font-family: 'Bodoni Moda';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/bodoni-moda-latin-400-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/bodoni-moda-latin-500-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jost-latin-300-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jost-latin-400-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/jost-latin-500-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Amiri';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/amiri-arabic-400-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Amiri';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/amiri-arabic-700-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Amiri';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/amiri-latin-400-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Amiri';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/amiri-latin-700-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/noto-sans-arabic-arabic-300-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/noto-sans-arabic-arabic-400-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/noto-sans-arabic-arabic-500-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/noto-kufi-arabic-arabic-600-normal.woff2") format('woff2');
  unicode-range: U+600-6FF,U+750-77F,U+8A0-8FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/static/fonts/noto-kufi-arabic-latin-600-normal.woff2") format('woff2');
}
:root {
  --pearl: #F4F4F2;
  --paper: #FFFFFF;
  --oud: #2A1D15;
  --muted: #6F655C;
  --hairline: #DAD6D0;
  --gold: #9E7A44;
  --gold-strong: #86663A;
  --gold-soft: #E9DFCD;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;
  --text-2xl: 32px;
  --text-3xl: 34px;
  --radius-sm: 14px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --radius-circle: 50%;
  --display-hero: clamp(36px, 4.7vw, 56px);
  --display-start: clamp(44px, 6.4vw, 76px);
  --display-number: clamp(72px, 11vw, 136px);
  --display-agent: clamp(40px, 6vw, 72px);
  --body: 'Jost', sans-serif;
  --heading: 'Bodoni Moda', serif;
}
:lang(ar),[dir=rtl] {
  --body: 'Noto Sans Arabic', 'Jost', sans-serif;
  --heading: 'Amiri', serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--pearl); color: var(--oud); font: 400 16px/1.65 var(--body); }
h1,h2,h3,p { margin-block: 0 12px; }
h1,h2,h3 { font-family: var(--heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: var(--display-hero); text-wrap: balance; }
h2 { font-size: 34px; }
h3 { font-size: 28px; }
strong { font-weight: 500; }
button,input,textarea,select { font: inherit; color: inherit; }
button,a,summary,input,select { min-height: 44px; }
button,summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button { background: transparent; }
a { color: var(--oud); text-decoration-color: var(--gold-soft); text-underline-offset: 5px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted,.lock,small { color: var(--muted); }
.small-heading { font: 400 14px/1.6 var(--body); }
.header-inner { max-width: 1240px; margin-inline: auto; padding: 16px 56px; min-height: 80px; }
.header-inner { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; align-items: center; }
.brand,.header nav { display: flex; align-items: center; }
.brand { gap: 10px; flex: none; align-items: baseline; }
.brand span { font: 600 26px/1.5 'Noto Kufi Arabic', sans-serif; }
.brand strong { font: 500 15px 'Jost', sans-serif; }
.corridor { border-inline-start: 1px solid var(--hairline); margin-inline-start: 22px; padding-inline-start: 22px; }
.corridor { font-size: 14px; color: var(--muted); min-width: 0; }
.header nav { gap: 6px; padding-inline-start: 22px; flex: none; }
.header nav button { border: 1px solid var(--hairline); border-radius: 50%; width: 48px; height: 48px; }
.header nav button { padding: 0; font: 400 13px 'Jost', 'Noto Sans Arabic', sans-serif; color: var(--muted); }
.header nav button[aria-pressed=true] { background: var(--gold-strong); color: var(--pearl);
  border-color: var(--gold-strong); }
main { max-width: 1200px; margin-inline: auto; padding: 36px 40px 48px; }
.card { border: 1px solid var(--hairline); border-radius: 18px; background: var(--paper); padding: 24px; }
#request { position: relative; max-width: 1040px; margin-inline: auto; border: 0; background: transparent; }
#request { padding: 0; text-align: center; }
#request h1 { font-size: var(--display-start); margin-block: 60px 18px; position: relative; }
#request>p { max-width: 600px; margin-inline: auto; font-size: 18px; position: relative; }
.arch { position: absolute; inset-inline-start: 50%; inset-block-start: 0; transform: translateX(-50%); }
.arch { width: min(560px, 100%); height: 420px; fill: none; stroke: var(--gold); opacity: .15; }
.arch { pointer-events: none; }
[dir=rtl] .arch { transform: translateX(50%); }
#check-form { max-width: 760px; margin: 40px auto 0; text-align: start; position: relative; }
label { display: block; font-weight: 400; }
#check-form>label { color: var(--muted); font-size: 14px; }
textarea { width: 100%; min-width: 0; padding: 20px 22px; border: 1px solid var(--hairline); }
textarea { border-radius: 18px; background: var(--paper); resize: vertical; min-height: 144px; }
textarea { display: block; margin-block: 8px; font-size: 17px; line-height: 1.6; }
#selected:empty { display: none; }
#selected { font-size: 13px; }
.form-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-block-start: 16px; }
.cost-box { flex: 1; min-width: 0; font-size: 14px; }
summary { padding-block: 10px; }
.cost-box summary { width: fit-content; text-decoration: underline; text-decoration-color: var(--gold); }
.cost-box h2 { margin-block-start: 16px; }
.uploads { display: grid; gap: 16px; }
.uploads input { display: block; width: 100%; font-size: 13px; margin-block: 8px; }
.lock { font-size: 13px; }
.lock-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; vertical-align: -2px; }
.primary,.secondary { border-radius: var(--radius-pill); padding: 14px 32px; display: inline-flex; }
.primary,.secondary { justify-content: center; align-items: center; text-decoration: none; font-weight: 400; }
.primary { color: var(--pearl); background: var(--oud); border: 1px solid var(--oud); min-height: 54px; }
.secondary { border: 1px solid var(--hairline); background: transparent; }
#run { flex: none; padding-inline: 40px; }
.sample-line { max-width: 800px; margin: 24px auto 0; position: relative; }
.sample-line,.samples { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; align-items: baseline; }
.sample-line h2 { margin: 0; color: var(--muted); }
.samples { gap: 6px 20px; }
.samples button { border: 0; border-block-end: 1px solid var(--hairline); padding: 6px 0; font-size: 14px; }
.samples button[aria-pressed=true] { border-color: var(--gold); }
#request-summary { border: 0; background: transparent; padding: 0; text-align: center; color: var(--muted); }
#request-summary h2,#summary-sample,#summary-lock { display: none; }
#summary-message { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70ch; margin: 0 auto; }
#progress-card { border: 0; background: transparent; text-align: center; padding: 36px 0 0; }
.progress-head { display: flex; flex-direction: column; align-items: center; }
#progress-card h2 { font: 400 18px var(--body); margin-block-end: 18px; }
#current-agent { font: 400 var(--display-agent)/1.15 var(--heading); color: var(--gold); margin-block-end: 16px; }
#current-description { max-width: 60ch; margin-inline: auto; }
.clock { font: 400 28px var(--heading); margin-block: 12px; }
#phases,#progress,.visually-hidden,#key-numbers,#saving-tile,#verdict-icon,#timeline,.timeline>h2,
.choice-card>h2,.choice-card section:has(fieldset)>h3 {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.agent-line { width: 100%; max-width: 1040px; margin: 44px auto 24px; position: relative; padding-block-start: 40px; }
.agent-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 0; margin: 0; list-style: none; }
.agent-track { position: relative; }
.agent-step { position: relative; text-align: center; padding-inline: 8px; min-width: 0; }
.agent-step::before { content: ''; position: absolute; inset-inline-start: -50%; inset-block-start: 18px; }
.agent-step::before { width: 100%; height: 1px; background: var(--hairline); }
.agent-step:first-child::before { display: none; }
.agent-step.done::before,.agent-step.active::before,.agent-step.loop::before { background: var(--gold); }
.agent-circle { width: 36px; height: 36px; border: 1px solid var(--hairline); border-radius: 50%; }
.agent-circle { display: grid; place-items: center; position: relative; margin: 0 auto 10px; background: var(--pearl); }
.agent-circle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.agent-step.done .agent-circle { border-color: var(--gold); color: var(--gold); }
.agent-step.active .agent-circle { background: var(--oud); color: var(--pearl); border-color: var(--oud); }
.agent-step.loop .agent-circle { background: var(--gold); color: var(--pearl); border-color: var(--gold); }
.agent-name { display: block; font-size: 15px; line-height: 1.5; font-weight: 400; }
.agent-note { display: block; font-size: 13px; color: var(--muted); margin-block-start: 6px; line-height: 1.5; }
.qa-arc { position: relative; margin-block: -40px 16px; padding-block-end: 20px; text-align: center; }
.qa-arc { font-size: 13px; color: var(--muted); }
.qa-arc::after { content: ''; position: absolute; inset-inline-start: 50%; inset-block-end: -18px; }
.qa-arc::after { width: 20%; height: 32px; border: 1px dashed var(--gold); border-block-end: 0; }
.qa-arc::after { border-start-start-radius: 40px; border-start-end-radius: 40px; }
#result { text-align: center; }
.verdict { margin: 12px auto 0; max-width: 1000px; }
#product { color: var(--muted); margin-block-end: 12px; }
.verdict-heading { display: flex; flex-direction: column-reverse; align-items: center;
  justify-content: center; gap: 26px; }
#outcome { margin: 0; }
#qa-seal { width: 92px; height: 92px; flex: none; border: 1px solid var(--gold); border-radius: 50%; }
#qa-seal { outline: 1px solid var(--gold); outline-offset: -6px; display: flex; flex-direction: column; }
#qa-seal { align-items: center; justify-content: center; padding: 14px; color: var(--muted);
  font-size: 11px; line-height: 1.15; }
#qa-seal>span { max-width: 100%; overflow-wrap: normal; }
#qa-seal .qa-score { font: 400 16px/1.15 var(--heading); margin-block-start: 3px; white-space: nowrap; }
#hero-saving { margin-block: 20px 36px; }
#hero-saving.whatif-applied { background: var(--gold-soft); padding: 8px 16px; border-radius: 14px; }
#hero-number { font: 400 var(--display-number)/1.1 var(--heading); color: var(--gold); }
#hero-number { font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
#hero-number .money-currency { font: 400 24px var(--body); }
#hero-number.normal-rate { color: var(--oud); }
#hero-label { margin-block-start: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 780px; margin: 32px auto 0; }
.tiles { border-block: 1px solid var(--hairline); }
.tiles:has(>.tile:only-child) { grid-template-columns: 1fr; }
.tile { min-width: 0; padding: 20px 24px; }
.tile:not([hidden])~.tile:not([hidden]) { border-inline-start: 1px solid var(--hairline); }
.tile p { font-size: 13px; color: var(--muted); margin: 0; }
.tile strong { display: block; font: 400 28px/1.4 var(--heading); margin-block: 4px; overflow-wrap: anywhere; }
.tile small { font-size: 12px; }
.bar { height: 1px; background: var(--hairline); position: relative; margin-block: 12px; }
.bar>div { height: 1px; background: var(--gold); }
.bar .mark { position: absolute; inset-block-start: -5px; width: 1px; height: 11px; background: var(--oud); }
.bar>div::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; }
.bar>div::after { background: var(--gold); margin-inline-start: auto; transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; text-decoration: underline;
  text-decoration-color: var(--gold-soft); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 24px; margin: 24px 0 40px; }
.badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-block: 24px; }
.badge { border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 13px; }
.warning,.fail,.followup-errors { color: var(--oud); }
.result-layout { max-width: 900px; margin: 64px auto 32px; text-align: start; }
#report { border: 0; border-block-start: 1px solid var(--hairline); border-radius: 0; background: transparent; }
#report { padding: 40px 0 0; max-width: 70ch; margin-inline: auto; overflow-wrap: anywhere; }
#report h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; }
#report h2 { font-size: clamp(22px, 2.1vw, 28px); margin-block: 40px 20px; }
#report h2:first-child { margin-block-start: 0; }
#report p,#report li { line-height: 1.8; }
#report table { width: 100%; border-collapse: collapse; margin-block: 24px; font-size: 14px; table-layout: fixed; }
#report th,#report td { border-block-end: 1px solid var(--hairline); padding: 12px 8px; text-align: start; }
#report li { margin-block: 12px; }
#report ol,#report ul { padding-inline-start: 24px; }
#report a { color: var(--oud); text-decoration-color: var(--gold-soft); }
#report a,.notice-source { display: inline-block; max-width: 100%; padding-block: 8px; }
#report ul:has(.checklist-item) { padding: 0; counter-reset: claim; }
.checklist-item { list-style: none; position: relative; padding: 12px 0 16px; padding-inline-start: 52px; }
.checklist-item { border-block-end: 1px solid var(--hairline); counter-increment: claim; }
.checklist-box::before { content: counter(claim, decimal-leading-zero); font: 400 30px var(--heading); }
.checklist-box { position: absolute; inset-inline-start: 0; inset-block-start: 12px; color: var(--gold); }
.timeline { border: 0; border-block: 1px solid var(--hairline); border-radius: 0; background: transparent; }
.timeline { padding: 12px 0; margin-block: 40px; }
.timeline ol { padding-inline-start: 20px; }
#full-log { font-size: 14px; }
#full-log li { padding-block: 16px; border-block-end: 1px solid var(--hairline); }
#full-log p { white-space: pre-wrap; overflow-wrap: anywhere; }
.duration { white-space: nowrap; }
.notice { background: transparent; border: 0; text-align: center; max-width: 960px; margin-inline: auto; }
#notice-text { font: 400 28px/1.5 var(--heading); overflow-wrap: anywhere; }
#notice-text h1,#notice-text h2 { font-size: var(--display-hero); }
#notice-heading { margin-block: 12px 28px; }
#notice:has(#cepa-agreements:not([hidden])) #notice-text {
  font: 400 18px/1.7 var(--body); max-width: 640px; margin-inline: auto;
}
#notice-text a { font: 400 14px/1.8 var(--body); }
.notice-source { overflow-wrap: anywhere; }
#cepa-agreements { margin: 40px auto; padding-block: 28px; border-block: 1px solid var(--hairline); }
#cepa-agreements h2 { font: 400 18px var(--body); margin-block-end: 20px; }
.agreement-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.agreement-chip { padding: 8px 16px; border: 1px solid var(--hairline); border-radius: var(--radius-pill); }
.agreement-chip { font-size: 14px; color: var(--muted); }
.agreement-chip.covered { background: var(--gold-strong); color: var(--pearl);
  border-color: var(--gold-strong); }
#cepa-agreements p { font-size: 13px; color: var(--muted); margin-block-start: 20px; }
.followup { max-width: 760px; margin: 34px auto; min-width: 0; text-align: start; }
.followup.card { border: 0; background: transparent; padding: 0; }
.followup h2,.followup legend { font: 400 28px/1.3 var(--heading); margin-block-end: 14px; }
.followup section,.followup fieldset { margin-block: 24px; padding: 0; min-width: 0; border: 0; }
.followup label { margin-block: 8px; }
.followup label:has(input[type=radio]),.followup label:has(input[type=checkbox]) {
  padding: 14px 20px; min-height: 56px; border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--paper); cursor: pointer;
}
.followup label:has(input:checked) { border-color: var(--gold); }
.followup input[type=radio],.followup input[type=checkbox] {
  appearance: none; width: 20px; height: 20px; min-height: 20px; border: 1px solid var(--muted);
  border-radius: 50%; vertical-align: middle; margin: 0; margin-inline-end: 12px; cursor: pointer;
}
.followup input[type=checkbox] { border-radius: 4px; }
.followup input:checked { border: 6px solid var(--gold); }
.followup input:not([type=radio]):not([type=checkbox]),.followup select,.whatif input:not([type=range]) {
  display: block; width: 100%; max-width: 100%; min-width: 0; padding: 10px 14px;
  border: 1px solid var(--hairline); border-radius: 14px; background: var(--paper);
}
.followup .official-text { display: block; font-size: 13px; color: var(--muted); }
.tariff-tree,.tariff-tree ul { list-style: none; padding-inline-start: 16px; }
.tariff-tree label { overflow-wrap: anywhere; }
.followup-table { overflow-x: auto; max-width: 100%; }
.followup-table table { width: 100%; border-collapse: collapse; }
.followup-table th,.followup-table td { padding: 4px; text-align: start; vertical-align: top; }
.followup-table td { min-width: 100px; }
.followup-table td:first-child { min-width: 160px; }
.followup button { margin-inline-end: 8px; }
.whatif { max-width: 780px; margin: 36px auto; text-align: start; background: transparent; }
.whatif h2 { font-size: 28px; }
.whatif-controls { display: flex; flex-wrap: wrap; gap: 16px; }
.whatif-controls label { flex: 1 1 140px; min-width: 0; }
.whatif-controls label:first-child { flex-basis: 100%; }
.whatif input { display: block; width: 100%; min-width: 0; }
.whatif input[type=range] { accent-color: var(--gold); }
.whatif p { overflow-wrap: anywhere; }
.whatif-applied { background: var(--gold-soft); }
footer { max-width: 900px; margin-inline: auto; padding: 24px 20px 40px; text-align: center; }
footer { font-size: 13px; color: var(--muted); }
.spinner { border: 2px solid var(--hairline); border-block-start-color: var(--gold); border-radius: 50%; }
.spinner { animation: spin 1s linear infinite; }
.button-spinner { display: inline-block; width: 18px; height: 18px; margin-inline-end: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1024px) {
  .header-inner { padding-inline: 28px; }
  main { padding-inline: 28px; }
  .tile { padding-inline: 16px; }
}
@media (max-width: 600px) {
  .header-inner { padding: 18px 20px 0; min-height: 66px; justify-content: space-between; gap: 12px; }
  .brand span { font-size: 24px; }
  .brand strong { font-size: 14px; }
  .header-inner { grid-template-columns: minmax(0,1fr) max-content; }
  .header nav { padding: 0; }
  .corridor { display: none; }
  main { padding: 0 20px 32px; }
  #request { text-align: start; }
  #request h1 { margin-block: 40px 12px; }
  #request>p { font-size: 15px; }
  .arch { display: none; }
  #check-form { margin-block-start: 24px; }
  #check-form>label { font-size: 13px; }
  textarea { min-height: 160px; padding: 14px 16px; font-size: 16px; }
  .form-bottom { flex-direction: column; gap: 16px; }
  #run { width: 100%; }
  .sample-line { display: block; margin-block-start: 20px; }
  .samples { justify-content: start; gap: 6px 16px; margin-block-start: 6px; }
  #checking-view { margin-block-start: 40px; }
  #progress-card { padding-block-start: 28px; }
  #current-agent { margin-block: 20px 16px; }
  #result { padding-block-start: 36px; }
  #product { font-size: 14px; }
  .verdict-heading { flex-direction: column-reverse; gap: 16px; }
  .verdict-heading h1 { min-width: 0; }
  #qa-seal { width: 96px; height: 96px; padding: 16px; }
  #hero-number { font-size: 72px; }
  .tile { padding: 16px 8px; }
  .tile p { font-size: 12px; }
  .tile strong { font-size: 20px; }
  .tile small { font-size: 12px; }
  .tile strong:has(>bdi~bdi) { font-size: 18px; white-space: nowrap; }
  .agent-line { max-width: 390px; padding-block-start: 0; margin-block: 32px; }
  .agent-track { display: flex; flex-direction: column; gap: 0; }
  .agent-step { text-align: start; min-height: 72px; padding: 0; padding-inline-start: 52px; }
  .agent-circle { position: absolute; inset-inline-start: 0; inset-block-start: 0; margin: 0; }
  .agent-step::before { inset-inline-start: 18px; inset-block-start: -36px; width: 1px; height: 36px; }
  .agent-step.loop::after {
    content: ''; position: absolute; inset-inline-start: -9px; inset-block-start: -54px;
    width: 27px; height: 72px; border: 1px dashed var(--gold); border-inline-end: 0;
    border-start-start-radius: 16px; border-end-start-radius: 16px;
  }
  .agent-name { padding-block-start: 2px; font-size: 14px; }
  .agent-note { font-size: 13px; margin-block-start: 3px; }
  .qa-arc { margin: 0 0 20px; padding: 12px 16px; border-inline-start: 1px dashed var(--gold); }
  .qa-arc::after { display: none; }
  .actions { gap: 12px 20px; margin-block: 16px 32px; }
  .actions .primary { width: 100%; }
  .result-layout { margin-block-start: 40px; }
  #report { padding-block-start: 28px; }
  #report h2 { font-size: 22px; }
  #report table { font-size: 12px; }
  #report th,#report td { padding: 8px 4px; }
  .followup { margin-block: 28px; }
  .followup label:has(input[type=radio]) { padding: 14px; }
  .followup .primary { width: 100%; }
  .whatif { padding: 20px 16px; }
  .notice { margin-block-start: 32px; padding-inline: 0; }
  #notice-text { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  header,footer,#request,#checking-view,#notice,.actions,.timeline,.reset,.followup,.whatif,.agent-line {
    display: none !important;
  }
  #agent-log-link,#claim-link { display: none; }
  body { background: var(--paper); }
  main { max-width: none; padding: 0; }
  #report { max-width: none; }
  .card,.verdict,.tile { break-inside: avoid; }
  details:not([open])>*:not(summary) { display: block; }
  details summary { display: none; }
}
