:root {
  color-scheme: light;
  --ink: #133653;
  --muted: #647b96;
  --line: #dfe8f2;
  --paper: #f3f7fb;
  --white: #fff;
  --blue: #0c508e;
  --blue-dark: #083b6b;
  --mint: #eaf7f2;
  --shadow: 0 6px 22px rgba(20, 54, 91, .045);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.topbar { min-height: 76px; padding: 0 max(24px, calc((100vw - 1160px) / 2)); background: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: .06em; }
.brand small { display: block; max-width: 260px; overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: white; font-size: 20px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a, .nav-button { color: #475569; font-size: 14px; font-weight: 600; }
.container { width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 140px); margin: 0 auto; padding: 42px 0 64px; }
.footer { padding: 22px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.footer span { padding: 0 5px; color: #a4afbf; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
h2 { margin-bottom: 8px; font-size: 20px; letter-spacing: -.02em; }
h3 { margin-bottom: 8px; font-size: 17px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.page-heading p { margin-bottom: 0; }
.role-badge, .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 11px; background: #eaf1ff; color: #2457a5; font-size: 12px; font-weight: 700; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card, .card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.stat-card { min-height: 132px; padding: 20px; }
.stat-card > span, .stat-card small { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; overflow: hidden; margin: 9px 0 2px; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.content-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.card { padding: 24px; }
.content-grid .card p { color: #53647b; }
.projection-card { background: linear-gradient(145deg, #f1f8ff, #fff); }
.projection-note { margin-top: 35px; border-left: 3px solid #65b99b; padding: 12px 15px; background: rgba(255,255,255,.62); color: #52657b; font-size: 13px; }
.status-line { display: flex; align-items: center; gap: 9px; color: #25513f; font-size: 13px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #32a578; }
.login-layout { display: grid; min-height: 520px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 9%; }
.login-intro { padding: 20px 0; }
.login-intro h1 { max-width: 540px; margin: 14px 0; font-size: clamp(38px, 5vw, 54px); }
.login-intro > p { max-width: 490px; color: var(--muted); font-size: 17px; }
.login-card { padding: 34px; }
.login-card h2 { font-size: 24px; }
.login-card .muted { margin-bottom: 25px; }
label { display: block; margin: 0 0 17px; color: #334155; font-size: 13px; font-weight: 700; }
input, select, textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 11px 12px; background: white; color: var(--ink); font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: #6b9ced; box-shadow: 0 0 0 3px rgba(29,95,208,.12); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 0; border-radius: 9px; padding: 10px 17px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); color: white; }
.button-wide { width: 100%; min-height: 47px; margin-top: 5px; }
.form-card { margin-bottom: 20px; }
.form-card h2, .table-card h2 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.field-wide { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 18px; }
.form-card .muted { margin: 0 0 14px; font-size: 13px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13px; }
th { color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
td small { display: block; color: var(--muted); }
.pill { padding: 4px 9px; font-size: 11px; }
.pill.active { background: #e7f7ef; color: #25724e; }
.pill.inactive { background: #f1f3f6; color: #64748b; }
.pill.protected { background: #fff4de; color: #895b08; }
.inline-form { display: inline; }
.nav-button, .text-button { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; }
.text-button { color: #b42318; font-size: 12px; font-weight: 700; }
.notice { margin-bottom: 20px; border-radius: 10px; padding: 12px 15px; font-size: 14px; }
.notice-success { border: 1px solid #b7e5cd; background: #ecf9f1; color: #24633f; }
.notice-error { border: 1px solid #f1c2bd; background: #fff1ef; color: #922b21; }
.notice-info { border: 1px solid #c6d9ed; background: #eef5fc; color: #254c75; }
.notice-info p { margin: 4px 0 8px; }
.dataset-hash { max-width: 440px; overflow-wrap: anywhere; }
.dataset-issues { padding-left: 20px; }
.dataset-issues li { margin-bottom: 14px; }
.workflow-actions { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.confirmation { display: flex; align-items: flex-start; gap: 10px; }
.confirmation input { width: auto; margin: 4px 0 0; }
.preserve-lines { white-space: pre-wrap; }
pre { overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-context { display: grid; gap: 5px; padding: 16px; margin-bottom: 20px; border: 1px solid #c9dafa; border-radius: 10px; background: #f0f6ff; }
.source-context span { color: var(--muted); font-size: 13px; }
.review-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.review-steps a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.review-steps small, .task-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.task-list { display: grid; gap: 14px; }
.task-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.button:disabled { background: #e2e8f0; color: #64748b; cursor: not-allowed; }
label small { display: block; color: var(--muted); font-weight: 400; margin-top: 5px; }
select { max-width: 100%; }
.form-grid > *, .card { min-width: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #6b9ced; outline-offset: 3px; }
[id] { scroll-margin-top: 20px; }
summary { cursor: pointer; font-weight: 700; }
.ui-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.workspace { font-size: 14px; }
.workspace .container { width: 100%; max-width: 1540px; min-height: calc(100vh - 144px); padding: 32px 32px 38px; }
.workspace-main { margin-left: 248px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 20; display: flex; flex-direction: column; background: #0c355d; color: #d4e5f4; }
.workspace-brand { display: flex; align-items: center; gap: 12px; color: #103f68; font-size: 20px; font-weight: 800; letter-spacing: .045em; }
.workspace-brand img { object-fit: contain; flex-shrink: 0; }
.workspace-brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .015em; color: var(--muted); }
.sidebar .workspace-brand { padding: 26px 22px 10px; background: #fff; }
.workspace-institution { background: white; padding: 0 22px 23px 77px; font-size: 11px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.side-links { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 12px; overflow-y: auto; }
.nav-group { padding: 20px 13px 8px; color: #acc9e1; font-size: 10px; letter-spacing: .13em; font-weight: 600; }
.side-links a { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 7px; color: #e8f2fb; font-size: 13px; font-weight: 450; border-left: 3px solid transparent; }
.side-links a:hover { background: #18476f; color: white; }
.side-links a[aria-current="page"] { color: white; background: #234e67; border-left-color: #f4bc32; }
.side-links .ui-icon { width: 17px; height: 17px; }
.sidebar-bottom { margin-top: auto; padding: 24px; font-size: 11px; color: #b7cde0; }
.sidebar-bottom small { display: block; margin-top: 7px; color: #99b5cf; font-size: 10px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #58c698; }
.workspace-topbar { height: 70px; padding: 0 32px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: white; }
.topbar-location { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: 12px; }
.topbar-location > span:first-of-type, .breadcrumb-divider { color: var(--muted); }
.topbar-location strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.account-menu { position: relative; flex-shrink: 0; }
.account-menu summary { list-style: none; display: flex; align-items: center; gap: 9px; border: 1px solid #e8eff7; padding: 5px 10px 5px 5px; border-radius: 9px; font-size: 12px; background: #f7faff; font-weight: 500; }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 700; }
.account-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 240px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 35px #0c355d24; overflow-wrap: anywhere; }
.account-panel small { display: block; color: var(--muted); margin: 4px 0 15px; }
.account-panel .button { width: 100%; }
.mobile-navigation, .mobile-logo { display: none; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; z-index: 100; background: white; border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.workspace h1 { font-size: 30px; letter-spacing: -.035em; font-weight: 700; }
.workspace h2 { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.workspace h3 { font-size: 15px; }
.workspace .eyebrow { font-size: 10px; letter-spacing: .12em; color: #2f7b50; }
.workspace .page-heading { align-items: center; margin-bottom: 24px; }
.workspace .page-heading p { font-size: 13px; max-width: 700px; }
.workspace .card { border-radius: 12px; padding: 24px; }
.button { gap: 8px; transition: background-color .15s, box-shadow .15s; }
.workspace .button { min-height: 39px; font-size: 12px; padding: 10px 15px; border-radius: 7px; }
.button-secondary { border: 1px solid #b9cee4; color: var(--blue); background: white; }
.button-secondary:hover { background: #eef5fc; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 22px; }
.metric-card { position: relative; padding: 19px 20px 22px; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); overflow: hidden; }
.metric-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #526b87; font-size: 12px; }
.icon-tile { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; }
.icon-tile.blue { background: #edf4ff; color: #175f9c; }
.icon-tile.green { background: #eaf5ee; color: #2b8155; }
.icon-tile.gold { background: #fff7e5; color: #b08315; }
.icon-tile.teal { background: #eaf8f6; color: #26827c; }
.metric-card > strong { display: block; font-size: 29px; font-weight: 650; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 5px; }
.metric-card > .metric-text { font-size: 21px; line-height: 1.8; }
.metric-card > small { color: var(--muted); font-size: 11px; display: block; }
.metric-accent { position: absolute; inset: auto 20px 0; height: 3px; border-radius: 5px 5px 0 0; }
.metric-accent.blue, .legend-dot.blue { background: #155b99; }
.metric-accent.green, .legend-dot.green { background: #32814b; }
.metric-accent.gold, .legend-dot.gold { background: #eab534; }
.metric-accent.teal { background: #2a8b83; }
.prediction-hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 34px; margin-bottom: 22px; background: linear-gradient(110deg, #fff 20%, #edf5fd 100%); }
.workspace .prediction-hero h2 { font-size: clamp(22px, 2vw, 29px); line-height: 1.3; margin-top: 9px; }
.prediction-hero p { color: var(--muted); font-size: 12px; max-width: 540px; margin-bottom: 18px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: #e6eff9; color: #2f5d86; font-size: 11px; border-radius: 6px; }
.status-chip .ui-icon { width: 15px; height: 15px; }
.prediction-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-left: 1px solid #dce7f3; padding: 12px 0 12px 28px; gap: 7px; }
.prediction-symbol { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #dfeefa; color: var(--blue); margin-bottom: 4px; }
.prediction-symbol .ui-icon { width: 28px; height: 28px; }
.prediction-placeholder strong { font-size: 16px; }
.prediction-placeholder small { font-size: 11px; color: var(--muted); max-width: 230px; }
.prediction-placeholder a { font-size: 12px; font-weight: 600; margin-top: 9px; }
.dashboard-panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 22px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.panel-heading p, .readiness-panel > p, .attention-panel > p { font-size: 12px; margin-bottom: 0; }
.score-bars { display: grid; gap: 24px; padding: 8px 0 4px; }
.score-bar > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 9px; font-size: 12px; }
.score-bar > div > span strong { margin-right: 7px; color: var(--blue); }
.score-bar b { flex-shrink: 0; }
.score-bar b small { font-size: 11px; font-weight: 400; color: var(--muted); }
.score-bar > small { display: block; color: var(--muted); font-size: 10px; margin-top: 6px; }
progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 10px; overflow: hidden; background: #eaf0f6; accent-color: #277e4d; }
progress::-webkit-progress-bar { background: #eaf0f6; border-radius: 10px; }
progress::-webkit-progress-value { background: #277e4d; border-radius: 10px; }
progress::-moz-progress-bar { background: #277e4d; border-radius: 10px; }
.score-bar:nth-child(2) progress { accent-color: #1b659f; }
.score-bar:nth-child(2) progress::-webkit-progress-value { background: #1b659f; }
.score-bar:nth-child(2) progress::-moz-progress-bar { background: #1b659f; }
.score-bar:nth-child(3) progress { accent-color: #d3a02b; }
.score-bar:nth-child(3) progress::-webkit-progress-value { background: #d3a02b; }
.score-bar:nth-child(3) progress::-moz-progress-bar { background: #d3a02b; }
.panel-footnote { font-size: 10px; color: var(--muted); margin: 23px 0 0; }
.progress-ring { position: relative; width: 152px; height: 152px; margin: 12px auto 16px; }
.progress-ring svg { display: block; width: 100%; height: 100%; }
.ring-track { stroke: #e5ecf4; }
.ring-fill { stroke: #2c8050; }
.progress-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.progress-ring strong { font-size: 28px; letter-spacing: -.04em; font-weight: 650; }
.progress-ring small { color: var(--muted); font-size: 10px; }
.legend-row, .attention-row { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; font-size: 12px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 8px; }
.pipeline { padding: 0; margin: 0; list-style: none; }
.pipeline li { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-top: 1px solid #eef2f7; }
.pipeline li > div { flex: 1; }
.pipeline strong { font-size: 12px; font-weight: 600; }
.pipeline small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.step-number { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; font-size: 11px; border-radius: 50%; background: #edf2f7; color: #74849a; }
.is-complete .step-number { background: #e4f2e9; color: #277947; }
.pipeline-status { font-size: 10px; color: #7a8b9e; }
.is-complete .pipeline-status { color: #277947; }
.attention-row { padding: 14px 0; border-bottom: 1px solid #eef2f7; }
.attention-callout { background: #f7f9fc; padding: 15px; border-radius: 8px; margin: 18px 0; }
.attention-callout strong { font-size: 12px; }
.attention-callout p { font-size: 11px; margin: 6px 0 0; color: var(--muted); }
.text-link { font-size: 12px; font-weight: 650; }
.latest-batches { margin-bottom: 12px; }
.latest-batches td { font-size: 12px; padding: 17px 12px; }
.latest-batches tbody tr:nth-child(even) { background: #f3f7fb; }
.latest-batches th { background: #f7f9fc; font-size: 10px; padding: 12px; }
.latest-batches td small { font-size: 10px; margin-top: 5px; }
.empty-panel { min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; color: var(--muted); }
.empty-panel .ui-icon { width: 32px; height: 32px; margin: 20px; }
.empty-panel p { max-width: 320px; font-size: 12px; }
.import-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.upload-field { padding: 14px; border: 1px dashed #bbcee1; border-radius: 9px; background: #f8fbff; }
.upload-field input { border: 0; padding: 8px 0 0; background: transparent; font-size: 12px; }
.upload-field input::file-selector-button { border: 1px solid #bbcee1; border-radius: 6px; padding: 8px 12px; margin-right: 10px; background: white; color: var(--blue); cursor: pointer; }
.attention-callout .text-link { display: inline-block; margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dataset-code { font-variant-numeric: tabular-nums; letter-spacing: .015em; font-weight: 650; overflow-wrap: anywhere; }
.dataset-registry table { min-width: 1040px; }
.dataset-registry th { background: #f7f9fc; }
.dataset-registry td { padding: 20px 12px; }
.dataset-registry td small { margin-top: 5px; font-size: 11px; }
.dataset-registry tbody tr:nth-child(even) { background: #f8fafd; }
.dataset-registry tbody tr:hover { background: #f0f6fc; }
.dataset-registry tr.is-selected { background: #eaf3fc; }
.dataset-registry tr.is-selected td:first-child { box-shadow: inset 3px 0 var(--blue); }
.dataset-registry .panel-heading h2 { margin-bottom: 5px; }
.dataset-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 215px; max-width: 260px; }
.dataset-actions .button { white-space: nowrap; }
.dataset-actions .text-link { flex-basis: 100%; }
.dataset-detail-actions { margin: -8px 0 20px; }
.dataset-detail-actions .dataset-actions { max-width: none; }
.dataset-detail-actions .text-link { flex-basis: auto; margin-left: 4px; }
.instrument-cell { max-width: 240px; overflow-wrap: anywhere; }
.dataset-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.review-guidance { border-left: 4px solid var(--blue); background: #f5faff; }
.review-guidance > p { max-width: 760px; color: var(--muted); font-size: 13px; }
.review-task-list { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; }
.review-task-list li { padding: 5px 0; }
.development-banner .text-link { display: inline-block; margin: 3px 16px 0 0; overflow-wrap: anywhere; }
.workspace .footer { margin: 0 32px; padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; text-align: left; font-size: 10px; }
.workspace .footer span { padding: 0; color: var(--muted); }
.auth-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px max(24px, calc((100vw - 1120px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.auth-page .footer { display: flex; justify-content: center; gap: 22px; }
@media (min-width: 1500px) {
  .workspace .container { padding: 38px 48px; }
  .workspace-topbar { padding: 0 48px; }
  .metric-card { padding: 23px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 218px; }
  .workspace-main { margin-left: 218px; }
  .workspace .container { padding: 26px 22px; }
  .workspace-topbar { padding: 0 22px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-panels { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .panel-heading { flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .dashboard-panels { grid-template-columns: minmax(0, 1fr); }
  .import-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topbar { padding: 13px 20px; align-items: flex-start; flex-direction: column; }
  nav { width: 100%; flex-wrap: wrap; gap: 12px 18px; }
  .container { width: min(100% - 28px, 600px); padding-top: 28px; }
  .login-layout, .content-grid { grid-template-columns: 1fr; gap: 18px; }
  .login-layout { padding: 18px 0; }
  .login-intro h1 { font-size: 38px; }
  .login-intro .projection-note { margin-top: 18px; }
  .stat-grid { grid-template-columns: 1fr; }
  .review-steps { grid-template-columns: 1fr; }
  .task-item { align-items: flex-start; flex-direction: column; }
  .page-heading { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .card { padding: 19px; }
  .sidebar { display: none; }
  .workspace-main { margin-left: 0; }
  .workspace-topbar { height: 64px; padding: 0 18px; }
  .topbar-location { gap: 8px; }
  .topbar-location > span:first-of-type, .breadcrumb-divider { display: none; }
  .mobile-logo { display: block; }
  .account-name { display: none; }
  .mobile-navigation { display: block; background: #0c355d; color: white; padding: 0 16px; }
  .mobile-navigation > summary { padding: 12px 4px; font-size: 12px; }
  .mobile-navigation .side-links { padding: 0 0 12px; }
  .workspace .container { padding: 24px 16px 30px; }
  .workspace .page-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .workspace h1 { font-size: 28px; }
  .workspace .card { padding: 20px; }
  .metric-grid { gap: 12px; }
  .metric-card { padding: 16px 14px 20px; }
  .metric-heading { font-size: 11px; }
  .metric-card > strong { font-size: 25px; }
  .metric-card > .metric-text { font-size: 17px; line-height: 1.9; }
  .metric-card small { font-size: 10px; }
  .icon-tile { width: 26px; height: 26px; }
  .icon-tile .ui-icon { width: 16px; height: 16px; }
  .prediction-hero, .dashboard-panels { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .prediction-placeholder { border-left: 0; border-top: 1px solid #dce7f3; padding: 20px 0 0; }
  .score-bar > div { font-size: 11px; }
  .pipeline-status { display: none; }
  .workspace .footer { margin: 0 16px; flex-direction: column; }
  .auth-topbar { padding: 16px 20px; }
  .auth-topbar > .pill { display: none; }
  .auth-page .footer { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
