:root {
  color-scheme: light;
  --bg: #f2f5f3; --surface: #fff; --surface-2: #f5f8f6;
  --fg: #152e29; --muted: #70817b; --line: #dfe7e2;
  --accent: #0a6b5e; --accent-deep: #075347; --accent-soft: #e1f1eb;
  --ok: #208d63; --ok-soft: #e2f3e9; --warn: #ab7712; --warn-soft: #fff4d7;
  --bad: #b74336; --bad-soft: #fbe8e3;
  --h-none: #e4ebe7; --h-0: #33ac7d; --h-30: #e1c34b; --h-90: #eb9c45;
  --h-180: #e36e43; --h-360: #c64338; --h-360p: #812d2c;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none; font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 15px; line-height: 1.5; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #54a48c; outline-offset: 4px; }
.page-shell { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 98px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 750; letter-spacing: -1.2px; }
.brand-dot { color: var(--accent); margin-left: -3px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); position: relative; margin-right: 2px; }
.brand-mark::after { content: ""; position: absolute; width: 14px; height: 12px; top: 9px; left: 10px; border-left: 3px solid white; border-bottom: 3px solid white; transform: skewY(-20deg); }
.bar-right { display: flex; gap: 16px; align-items: center; }
.session-tag { font-size: 12px; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; background: var(--ok); border-radius: 50%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; min-height: 44px; border-radius: 12px; border: 1px solid transparent; font-size: 13px; font-weight: 650; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-deep); }
.button-quiet { background: transparent; border-color: var(--line); }
.button-quiet:hover, .button-outline:hover { background: var(--accent-soft); border-color: #bed8cb; }
.button-outline { background: white; border-color: var(--line); }
.landing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 68px; padding: 66px 0 76px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.6px; }
.eyebrow > span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.landing-copy h1 { font-size: clamp(34px, 3.7vw, 49px); font-weight: 650; line-height: 1.22; letter-spacing: -2px; margin: 21px 0 19px; }
.landing-copy h1 > span { color: var(--accent); }
.landing-description { color: var(--muted); max-width: 43ch; font-size: 15px; line-height: 1.75; }
.login-panel { background: white; border: 1px solid var(--line); padding: 22px; border-radius: 20px; margin-top: 29px; max-width: 480px; box-shadow: 0 6px 30px #213c2510; }
.login-intro { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.login-intro h2 { font-size: 15px; font-weight: 650; }
.login-intro p { color: var(--muted); font-size: 11px; margin-top: 2px; }
.lock-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; font-size: 21px; }
.provider-button { width: 100%; justify-content: flex-start; gap: 17px; min-height: 60px; font-size: 14px; border-radius: 12px; }
.provider-sima { background: var(--accent); color: white; }
.provider-sima:hover { background: var(--accent-deep); }
.provider-mygov { background: white; border-color: var(--line); margin-top: 10px; }
.provider-mygov:hover { border-color: #95beab; background: var(--surface-2); }
.provider-word { min-width: 66px; font-size: 21px; letter-spacing: .3px; font-weight: 750; }
.mygov-word { color: #3368d8; letter-spacing: -.5px; font-size: 20px; }
.provider-only { background: var(--accent); color: white; border-color: var(--accent); margin-top: 0; }
.provider-only:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.provider-only .mygov-word { color: white; }
.arrow { margin-left: auto; font-size: 21px; font-weight: 400; }
.consent { color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 16px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 17px; color: var(--muted); font-size: 10px; margin-top: 21px; }
.trust-row span span { color: var(--accent); margin-right: 4px; }
.landing-visual { min-height: 584px; border-radius: 28px; background: #dbeae2; overflow: hidden; position: relative; padding: 33px; isolation: isolate; }
.landing-visual::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 75% 8%, #eef5e9, transparent 55%), radial-gradient(ellipse at 0 80%, #a5cabe4f, transparent 60%); }
.visual-top { display: flex; align-items: center; justify-content: space-between; }
.visual-label { font-size: 10px; color: #496b5a; letter-spacing: 1px; text-transform: uppercase; font-weight: 650; }
.visual-symbol { border: 1px solid #82aa9160; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; font-size: 20px; }
.visual-orbit { position: relative; height: 308px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid #74a48d55; border-radius: 50%; width: 178px; height: 178px; }
.orbit-two { width: 252px; height: 252px; }
.orbit-three { width: 328px; height: 328px; border-style: dashed; opacity: .6; }
.orbit-center { width: 102px; height: 102px; display: grid; place-items: center; border-radius: 30px; background: var(--accent); color: white; box-shadow: 0 20px 40px #0a6b5e30, 0 0 0 12px #ffffff25; transform: rotate(-6deg); }
.orbit-center svg { width: 54px; transform: rotate(6deg); }
.visual-float { position: absolute; display: flex; align-items: center; gap: 11px; background: #ffffffed; padding: 14px 18px; border-radius: 15px; box-shadow: 0 12px 30px #17352c12; }
.visual-float strong { display: block; font-weight: 650; font-size: 11px; }
.visual-float div > span { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }
.visual-float-top { top: 124px; right: 14px; transform: rotate(3deg); }
.visual-float-bottom { top: 301px; left: 15px; transform: rotate(-3deg); }
.mini-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--accent); background: var(--accent-soft); border-radius: 11px; font-size: 18px; font-weight: 700; }
.visual-bottom { margin-top: 20px; border-top: 1px solid #97b9a560; padding-top: 23px; }
.visual-bottom h2 { font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.7px; }
.visual-bottom p { color: #678376; font-size: 11px; line-height: 1.8; margin-top: 12px; max-width: 38ch; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.connection { max-width: 1050px; margin: 46px auto 56px; }
.connection-heading, .report-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.connection-heading h1, .error-state h1 { font-size: clamp(25px, 4vw, 34px); font-weight: 600; letter-spacing: -1px; margin: 12px 0 10px; }
.provider-chip, .small-tag { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); border-radius: 9px; padding: 8px 13px; font-size: 14px; font-weight: 700; }
.small-tag { font-size: 10px; padding: 6px 10px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 28px 0 24px; padding: 0; gap: 18px; }
.step { display: flex; gap: 10px; align-items: center; padding: 16px 0; border-top: 2px solid var(--line); color: var(--muted); }
.step-number { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e5ece7; font-size: 12px; font-weight: 700; }
.step strong { display: block; font-size: 12px; font-weight: 650; }
.step div > span { font-size: 10px; }
.step.is-current { color: var(--accent); border-color: var(--accent); }
.step.is-current .step-number { background: var(--accent); color: white; }
.step.is-done { border-color: #9bc9b3; }
.step.is-done .step-number { color: var(--accent); background: var(--accent-soft); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 19px; padding: 23px; min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel h2 { font-size: 15px; font-weight: 700; }
.hint { color: var(--muted); font-size: 11px; line-height: 1.65; }
.panel-header .hint { margin-top: 4px; }
.loading-state { text-align: center; padding: 72px 25px; }
.loading-state h2 { margin-top: 20px; }
.loading-state p { font-size: 13px; color: var(--muted); margin: 8px auto 0; max-width: 42ch; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-screen-wrap { width: min(100%, 340px); min-height: 300px; margin: 20px auto 0; background: white; display: grid; place-items: center; }
.auth-screen-wrap img { display: block; width: 280px; height: auto; max-width: 100%; cursor: default; border: 10px solid white; }
.auth-screen-wrap .screen-placeholder { min-height: 300px; }
.qr-caption { text-align: center; font-size: 12px; color: var(--accent); margin: 13px auto 8px; }
.mygov-app-link-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 25px auto 12px; text-align: center; }
.mygov-app-link-wrap .button { min-height: 50px; padding: 13px 23px; font-size: 14px; }
.auth-link-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.auth-link-actions .button-quiet { font-size: 12px; padding-inline: 16px; }
.app-link-status { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; min-height: 50px; padding: 13px 23px; color: var(--muted); font-size: 13px; }
.auth-panel .screen-message { text-align: center; }
.screen-placeholder { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 12px; color: var(--muted); }
.screen-message { margin-top: 9px; }
.error-state { max-width: 650px; margin: 70px auto; text-align: center; padding: 44px; }
.error-state .eyebrow { justify-content: center; margin-top: 18px; }
.error-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--bad-soft); color: var(--bad); font-size: 25px; font-weight: 600; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; }
.report { display: flex; flex-direction: column; gap: 20px; padding: 40px 0 52px; }
.report-heading { margin-bottom: 3px; }
.report-heading h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; line-height: 1.35; letter-spacing: -1px; margin: 10px 0 6px; overflow-wrap: anywhere; }
.report-heading .muted { font-size: 11px; }
.report-heading .button { flex: none; }
.historical-banner { padding: 15px 20px; border: 1px solid #b4c4e0; border-radius: 13px; background: #edf2fb; color: #47638f; }
.historical-banner strong { font-size: 12px; }
.historical-banner p { font-size: 11px; line-height: 1.7; margin-top: 4px; }
.history-panel .panel-header { margin-bottom: 12px; }
.history-actions { display: flex; gap: 8px; }
.history-actions .button { min-height: 35px; padding: 7px 12px; font-size: 11px; }
.history-actions [aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); border-color: #bddccc; }
.history-list { display: flex; flex-direction: column; gap: 7px; max-height: 260px; overflow-y: auto; margin-top: 11px; }
.history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.history-row:hover { border-color: #9cbdab; background: var(--accent-soft); }
.history-row[aria-pressed="true"] { border-color: #92b7a4; box-shadow: inset 3px 0 var(--accent); }
.history-row strong { font-size: 12px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.history-row .history-dates { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.history-row .history-total { text-align: right; font-size: 12px; font-weight: 600; }
.history-row .history-total small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; margin-top: 3px; }
.history-row .history-label { font-size: 8px; color: var(--accent); background: var(--accent-soft); padding: 3px 6px; border-radius: 5px; font-weight: 600; }
.identity-panel { padding: 18px 23px; }
.identity-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.identity-panel summary .hint { display: block; margin-top: 3px; }
.chevron { display: inline-block; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .18s; margin: 0 5px; }
details[open] > summary .chevron { transform: rotate(-135deg); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 26px; margin: 18px 0 0; }
.kv div { min-width: 0; }
.kv dt { font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.kv dd { margin: 0; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.alert { display: flex; gap: 13px; background: var(--bad-soft); padding: 17px 20px; border: 1px solid #b7433625; border-radius: 14px; }
.alert strong { font-size: 12px; color: var(--bad); }
.alert p { font-size: 11px; margin-top: 4px; line-height: 1.7; }
.alert-dot { flex: none; width: 7px; height: 7px; margin: 7px 3px 0; background: var(--bad); border-radius: 50%; box-shadow: 0 0 0 4px #b7433615; }
.report-warnings { display: flex; flex-direction: column; gap: 8px; }
.warning { padding: 13px 17px; border-radius: 12px; border: 1px solid #ab771225; background: var(--warn-soft); color: #7e5d21; font-size: 11px; }
.report-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.debt-panel { padding: 27px; }
.debt-value { font-size: clamp(29px, 4.5vw, 51px); line-height: 1.3; letter-spacing: -1.7px; margin: 12px 0 3px; font-weight: 600; overflow-wrap: anywhere; }
.debt-value small { color: var(--muted); font-size: 17px; margin-left: 9px; letter-spacing: 0; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 25px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.stats dt { font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.stats dd { font-size: 18px; font-weight: 600; letter-spacing: -.3px; margin: 0; }
.stats dd small { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.gauge { display: flex; align-items: center; text-align: center; flex-direction: column; padding: 24px; justify-content: center; }
.gauge h2 { font-size: 12px; }
.gauge svg { width: 220px; max-width: 100%; margin: 16px 0 8px; }
.gauge .gauge-track { stroke: var(--h-none); }
.gauge .gauge-fill { stroke: var(--accent); }
.gauge .gauge-value { fill: var(--fg); font-size: 39px; font-weight: 600; }
.gauge .gauge-cap { fill: var(--muted); font-size: 10px; }
.gauge .verdict { font-size: 13px; font-weight: 650; }
.gauge .note { max-width: 35ch; font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 9px; }
.gauge .method { color: var(--accent); font-size: 9px; line-height: 1.6; margin-top: 8px; }
.scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 5px; }
.heat { border-collapse: separate; border-spacing: 3px; min-width: 820px; width: 100%; }
.heat th { color: var(--muted); font-size: 9px; font-weight: 500; padding-bottom: 8px; text-align: center; white-space: nowrap; }
.heat .row-heading { position: sticky; left: 0; background: var(--surface); text-align: left; min-width: 165px; z-index: 1; padding-right: 10px; }
.heat tbody .row-heading { font-size: 11px; color: var(--fg); font-weight: 600; }
.heat .row-heading span { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.heat-cell { height: 25px; border-radius: 4px; min-width: 20px; background: var(--h-none); text-align: center; font-size: 8px; font-weight: 650; color: #473915; }
.heat-none { background: var(--h-none); }
.heat-0 { background: var(--h-0); }
.heat-1 { background: var(--h-30); }
.heat-2 { background: var(--h-90); }
.heat-3 { background: var(--h-180); color: white; }
.heat-4 { background: var(--h-360); color: white; }
.heat-5 { background: var(--h-360p); color: white; }
.legend { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 13px; color: var(--muted); font-size: 9px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.seg { display: inline-flex; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface-2); }
.seg button { background: transparent; border: 0; border-radius: 7px; padding: 8px 13px; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--accent); color: white; }
.search { flex: 1 1 220px; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 11px; }
.search::placeholder { color: var(--muted); }
.obligations { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.obligation { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.obligation[data-state="active"] { background: var(--surface-2); }
.obligation summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; list-style: none; gap: 10px 20px; padding: 16px 17px; cursor: pointer; }
.obligation-title { min-width: 0; }
.obligation-title strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; }
.obligation-title > span { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.obligation-balance { text-align: right; font-size: 13px; font-weight: 650; white-space: nowrap; }
.obligation-balance small { display: block; font-size: 9px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.pill { display: inline-block; font-size: 8px; font-weight: 650; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.pill-active { background: var(--accent-soft); color: var(--accent); }
.pill-closed { background: var(--ok-soft); color: var(--ok); }
.pill-guarantee { background: #e9eef9; color: #5470a5; }
.pill-late { background: var(--bad-soft); color: var(--bad); }
.obligation-body { padding: 0 17px 20px; border-top: 1px solid var(--line); background: #ffffff90; }
.repayment { width: 100%; height: 5px; border: 0; border-radius: 4px; grid-column: 1 / -1; appearance: none; -webkit-appearance: none; background: var(--h-none); overflow: hidden; }
.repayment::-webkit-progress-bar { background: var(--h-none); }
.repayment::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
.repayment::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.empty { border: 1px dashed var(--line); padding: 32px 22px; border-radius: 13px; color: var(--muted); text-align: center; font-size: 12px; }
.lenders { display: grid; gap: 14px; }
.lender-row { display: grid; grid-template-columns: minmax(120px, 230px) minmax(0, 1fr) 62px; gap: 20px; align-items: center; }
.lender-name { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.lender-count { font-size: 11px; color: var(--muted); text-align: right; }
.lender-row progress { height: 7px; width: 100%; appearance: none; -webkit-appearance: none; border: 0; background: var(--h-none); border-radius: 6px; overflow: hidden; }
.lender-row progress::-webkit-progress-bar { background: var(--h-none); }
.lender-row progress::-webkit-progress-value { background: #68a58a; border-radius: 6px; }
.lender-row progress::-moz-progress-bar { background: #68a58a; border-radius: 6px; }
.report-foot { font-size: 10px; line-height: 1.8; color: var(--muted); text-align: center; max-width: 85ch; margin: 2px auto 0; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 25px 0 30px; color: #91a198; font-size: 10px; }
.footer > span:first-child { font-size: 14px; font-weight: 700; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 5; background: var(--fg); color: white; border-radius: 12px; padding: 13px 20px; font-size: 12px; max-width: min(90vw, 520px); box-shadow: 0 8px 30px #17352c25; }
@media (min-width: 1400px) { .landing { gap: 95px; } }
@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 48px); }
  .landing { gap: 32px; padding-top: 45px; }
  .landing-copy h1 { font-size: 37px; }
  .landing-visual { padding: 25px; min-height: 564px; }
  .visual-float { padding: 13px; }
  .visual-float-top { right: 8px; }
  .visual-float-bottom { left: 8px; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 32px); }
  .bar { min-height: 78px; gap: 10px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-mark::after { width: 12px; height: 11px; top: 8px; left: 9px; }
  .session-tag { font-size: 10px; }
  .bar-right { gap: 8px; }
  .bar-right .button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .landing { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 40px; }
  .landing-copy h1 { font-size: clamp(33px, 6.5vw, 44px); letter-spacing: -1.5px; margin-top: 18px; }
  .landing-description { max-width: 47ch; font-size: 14px; }
  .login-panel { max-width: none; padding: 19px; }
  .trust-row { gap: 8px 14px; font-size: 9px; }
  .landing-visual { min-height: 370px; }
  .visual-orbit { height: 205px; width: 53%; margin-left: auto; }
  .orbit { width: 125px; height: 125px; }
  .orbit-two { width: 185px; height: 185px; }
  .orbit-three { width: 245px; height: 245px; }
  .orbit-center { width: 76px; height: 76px; border-radius: 24px; }
  .orbit-center svg { width: 43px; }
  .visual-float-top { top: 114px; left: 17px; right: auto; }
  .visual-float-bottom { top: 188px; left: 33px; }
  .visual-bottom { margin-top: 0; padding-top: 18px; }
  .visual-bottom h2 { font-size: 20px; }
  .visual-bottom p { font-size: 10px; max-width: 48ch; }
  .connection { margin: 32px auto 38px; }
  .connection-heading { align-items: start; }
  .provider-chip { font-size: 12px; padding: 7px 11px; }
  .steps { gap: 12px; margin-top: 26px; }
  .step { align-items: start; gap: 8px; }
  .step-number { width: 25px; height: 25px; font-size: 10px; }
  .step strong { font-size: 10px; }
  .step div > span { font-size: 9px; display: inline-block; line-height: 1.5; }
  .panel { padding: 19px 16px; border-radius: 16px; }
  .error-state { padding: 35px 22px; margin: 45px 0; }
  .report { padding-top: 31px; gap: 16px; }
  .report-heading { align-items: start; flex-wrap: wrap; gap: 14px; }
  .report-heading .button { min-height: 38px; font-size: 11px; padding: 9px 12px; }
  .history-row { grid-template-columns: 1fr; }
  .history-row .history-total { text-align: left; font-size: 11px; }
  .history-row .history-total small { display: inline; margin-left: 8px; }
  .report-hero { grid-template-columns: 1fr; gap: 16px; }
  .debt-panel { padding: 22px; }
  .debt-value { font-size: 40px; }
  .gauge { padding: 23px; }
  .gauge svg { width: 205px; }
  .gauge .note { max-width: 42ch; }
  .controls { gap: 10px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 10px; font-size: 10px; }
  .obligation summary { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .obligation-balance { text-align: left; grid-row: 2; font-size: 13px; }
  .obligation-chevron { grid-row: 1; grid-column: 2; }
  .lender-row { grid-template-columns: minmax(0, 1fr) 57px; gap: 7px 12px; }
  .lender-row progress { grid-column: 1 / -1; grid-row: 2; }
  .footer { padding: 22px 0 28px; gap: 8px 16px; }
  #footer-session { width: 100%; font-size: 9px; }
}
@media (max-width: 420px) {
  .session-tag { max-width: 110px; line-height: 1.5; }
  .landing-copy h1 { font-size: 32px; letter-spacing: -1.3px; }
  .provider-button { font-size: 12px; gap: 12px; }
  .provider-word { font-size: 20px; min-width: 57px; }
  .visual-float-top { left: 11px; }
  .visual-float-bottom { left: 17px; }
  .visual-float strong { font-size: 10px; }
  .visual-float div > span { font-size: 8px; }
  .visual-float { gap: 8px; padding: 12px; }
  .seg button { padding: 8px; font-size: 9px; }
  .stats { gap: 18px 15px; }
  .stats dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  :root { --bg: #fff; --muted: #555; --line: #ddd; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .page-shell { width: 100%; }
  .bar { min-height: 55px; }
  .bar-right, .footer, .toast, #landing, #connection, #error-state, #print-report, .controls, .history-panel { display: none !important; }
  .report { padding: 20px 0; gap: 13px; }
  .report-heading h1 { font-size: 24px; }
  .panel { padding: 14px; border-radius: 10px; break-inside: avoid; }
  .identity-panel, .report-foot { font-size: 9px; }
  .report-hero { grid-template-columns: 1.6fr 1fr; gap: 13px; }
  .debt-value { font-size: 34px; }
  .stats { gap: 12px; margin-top: 18px; padding-top: 15px; }
  .gauge svg { width: 150px; margin-top: 9px; }
  .heat { min-width: 0; border-spacing: 2px; }
  .heat .row-heading { min-width: 120px; }
  .heat th { font-size: 7px; }
  .heat tbody .row-heading { font-size: 8px; }
  .heat .row-heading span { font-size: 7px; }
  .heat-cell { min-width: 0; height: 18px; font-size: 6px; }
  .scroll { overflow: visible; }
  .obligation { break-inside: avoid; }
  .obligation summary { padding: 12px; }
  .obligation-body { padding: 0 12px 14px; }
  .obligation-title strong { font-size: 10px; }
  .obligation-title > span, .kv dd { font-size: 9px; }
  .obligation-balance { font-size: 11px; }
}
