:root {
  color-scheme: light;
  --ink-950: #12282d;
  --ink-800: #29434a;
  --ink-650: #4f666b;
  --ink-500: #708488;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --canvas-deep: #e9efec;
  --line: #dfe7e3;
  --brand-900: #123f45;
  --brand-800: #19535a;
  --brand-700: #1f696e;
  --brand-100: #dff0ed;
  --brand-50: #eff8f5;
  --accent: #e5784d;
  --accent-soft: #fff0e9;
  --success: #1f7a57;
  --success-soft: #e4f5ed;
  --warning: #a15b12;
  --warning-soft: #fff4dc;
  --danger: #b64141;
  --danger-soft: #fdeeee;
  --info: #346d9b;
  --info-soft: #eaf3fa;
  --shadow-sm: 0 1px 2px rgba(18, 40, 45, .05), 0 3px 10px rgba(18, 40, 45, .04);
  --shadow-md: 0 12px 32px rgba(18, 40, 45, .12);
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --sidebar: 244px;
  --topbar: 74px;
  --ease: 160ms ease;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink-950); background: var(--canvas); font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--brand-900); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(229, 120, 77, .42); outline-offset: 2px; }

.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-800); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--brand-900); font-size: 22px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.brand-mark span { transform: translateY(-1px); }
.boot-line { width: 120px; height: 3px; overflow: hidden; border-radius: 99px; background: var(--line); }
.boot-line::after { content: ""; display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--accent); animation: boot 1s infinite ease-in-out; }
@keyframes boot { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; color: #e9f4f1; background: var(--brand-900); transition: transform var(--ease); }
.sidebar-brand { height: var(--topbar); display: flex; align-items: center; gap: 11px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.sidebar-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; color: var(--brand-900); background: #fff; font-size: 19px; box-shadow: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { color: #fff; font-size: 18px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: #9fc0ba; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-nav { flex: 1; padding: 18px 12px; overflow-y: auto; scrollbar-width: thin; }
.nav-label { margin: 0 10px 8px; color: #89ada7; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; margin: 3px 0; padding: 10px 12px; border: 0; border-radius: 9px; color: #bcd1cd; background: transparent; text-align: left; font-weight: 650; transition: color var(--ease), background var(--ease), transform var(--ease); }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.active { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 3px 0 0 var(--accent); }
.nav-item .icon { width: 18px; height: 18px; }
.nav-badge { margin-left: auto; min-width: 22px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 99px; color: var(--brand-900); background: #c9e7e0; font-size: 11px; font-weight: 800; }
.sidebar-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.09); }
.tenant-health { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: #c1d8d3; background: rgba(0,0,0,.1); font-size: 12px; }
.health-dot { width: 8px; height: 8px; border-radius: 50%; background: #7cddb4; box-shadow: 0 0 0 4px rgba(124,221,180,.12); }

.workspace { min-height: 100vh; padding-left: var(--sidebar); }
.topbar { position: sticky; z-index: 30; top: 0; height: var(--topbar); display: flex; align-items: center; gap: 14px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.93); backdrop-filter: blur(14px); }
.mobile-menu { display: none; }
.tenant-switch { position: relative; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 7px 11px; border: 1px solid transparent; border-radius: 10px; color: var(--ink-800); background: transparent; text-align: left; transition: background var(--ease), border var(--ease); }
.tenant-switch:hover { border-color: var(--line); background: var(--canvas); }
.tenant-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--brand-800); background: var(--brand-100); }
.tenant-switch-copy { min-width: 0; flex: 1; }
.tenant-switch-copy small { display: block; color: var(--ink-500); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.tenant-switch-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.topbar-search { position: relative; max-width: 420px; flex: 1; margin: 0 auto; }
.topbar-search .icon { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; color: var(--ink-500); transform: translateY(-50%); pointer-events: none; }
.topbar-search input { width: 100%; height: 40px; padding: 0 74px 0 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-950); background: var(--canvas); outline: none; transition: border var(--ease), box-shadow var(--ease), background var(--ease); }
.topbar-search input:focus { border-color: var(--brand-700); background: #fff; box-shadow: 0 0 0 3px rgba(31,105,110,.1); }
.search-key { position: absolute; right: 9px; top: 8px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-500); background: #fff; font-size: 11px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-650); background: #fff; transition: color var(--ease), background var(--ease), border var(--ease); }
.icon-button:hover { color: var(--brand-800); border-color: #c7d7d3; background: var(--brand-50); }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-sizing: content-box; }
.profile-button { display: flex; align-items: center; gap: 9px; min-width: 150px; height: 44px; padding: 4px 8px 4px 5px; border: 1px solid transparent; border-radius: 11px; color: var(--ink-950); background: transparent; text-align: left; }
.profile-button:hover { border-color: var(--line); background: var(--canvas); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-900); background: #f5d7c9; font-size: 12px; font-weight: 800; }
.profile-copy { min-width: 0; flex: 1; }
.profile-copy strong, .profile-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy strong { font-size: 12px; }
.profile-copy small { color: var(--ink-500); font-size: 10px; }

.main { max-width: 1600px; margin: 0 auto; padding: 28px 32px 56px; }
.page-enter { animation: page-enter 240ms ease both; }
@keyframes page-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 5px; color: var(--brand-700); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.page-title { margin: 0; color: var(--ink-950); font-size: clamp(25px, 3vw, 34px); line-height: 1.14; letter-spacing: -.035em; }
.page-subtitle { max-width: 690px; margin: 7px 0 0; color: var(--ink-650); }
.page-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.btn { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; border: 1px solid transparent; border-radius: 9px; font-weight: 720; line-height: 1.2; text-decoration: none; transition: transform var(--ease), box-shadow var(--ease), border var(--ease), background var(--ease); }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--brand-800); box-shadow: 0 3px 9px rgba(25,83,90,.18); }
.btn-primary:hover:not(:disabled) { background: var(--brand-900); box-shadow: 0 6px 13px rgba(25,83,90,.2); }
.btn-accent { color: #fff; background: var(--accent); box-shadow: 0 3px 9px rgba(229,120,77,.2); }
.btn-secondary { color: var(--ink-800); border-color: var(--line); background: #fff; }
.btn-secondary:hover:not(:disabled) { border-color: #b9cfca; background: var(--brand-50); }
.btn-danger { color: var(--danger); border-color: #efcccc; background: var(--danger-soft); }
.btn-quiet { min-height: auto; padding: 5px 7px; color: var(--brand-700); background: transparent; }
.btn-sm { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.btn .icon { width: 17px; height: 17px; }

.grid { display: grid; gap: 16px; }
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.two-col { grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); }
.equal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 19px 12px; }
.card-title { margin: 0; font-size: 15px; letter-spacing: -.012em; }
.card-subtitle { margin: 4px 0 0; color: var(--ink-500); font-size: 12px; }
.stat-card { position: relative; min-height: 138px; padding: 18px; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -22px; bottom: -34px; width: 100px; height: 100px; border-radius: 50%; background: var(--brand-50); }
.stat-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: var(--ink-650); }
.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-800); background: var(--brand-100); }
.stat-icon.warn { color: var(--warning); background: var(--warning-soft); }
.stat-icon.accent { color: var(--accent); background: var(--accent-soft); }
.stat-icon.info { color: var(--info); background: var(--info-soft); }
.stat-value { position: relative; z-index: 1; display: block; margin-top: 13px; font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.stat-meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--ink-500); font-size: 11px; }
.trend-up { color: var(--success); }
.trend-down { color: var(--danger); }

.section-tabs { display: flex; align-items: center; gap: 4px; margin-bottom: 17px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: #edf2f0; scrollbar-width: none; }
.section-tabs::-webkit-scrollbar { display: none; }
.tab-button { min-height: 35px; padding: 7px 13px; border: 0; border-radius: 8px; color: var(--ink-650); background: transparent; font-size: 12px; font-weight: 720; white-space: nowrap; }
.tab-button:hover { color: var(--ink-950); }
.tab-button.active { color: var(--brand-900); background: #fff; box-shadow: 0 1px 5px rgba(18,40,45,.08); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.toolbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.input-shell { position: relative; min-width: 230px; }
.input-shell .icon { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; color: var(--ink-500); transform: translateY(-50%); pointer-events: none; }
.input-shell input { width: 100%; padding-left: 35px; }
.input, .select, .textarea { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid #cfdbd7; border-radius: 9px; color: var(--ink-950); background: #fff; outline: none; transition: border var(--ease), box-shadow var(--ease); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(31,105,110,.09); }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-select { width: auto; min-width: 150px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label { color: var(--ink-800); font-size: 12px; font-weight: 720; }
.field small { color: var(--ink-500); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-grid .full { grid-column: 1 / -1; }
.field-error { color: var(--danger); font-size: 11px; }
.input.invalid { border-color: var(--danger); background: var(--danger-soft); }

.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { padding: 10px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-500); background: #f8faf9; font-size: 10px; font-weight: 800; letter-spacing: .065em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid #edf1ef; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background var(--ease); }
.data-table tbody tr:hover { background: #fafcfb; }
.data-table .numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .row-main { font-weight: 720; }
.data-table .row-sub { display: block; margin-top: 2px; color: var(--ink-500); font-size: 11px; }
.checkbox { width: 16px; height: 16px; accent-color: var(--brand-700); }
.status { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.success { color: var(--success); background: var(--success-soft); }
.status.warning { color: var(--warning); background: var(--warning-soft); }
.status.danger { color: var(--danger); background: var(--danger-soft); }
.status.info { color: var(--info); background: var(--info-soft); }
.status.neutral { color: var(--ink-650); background: var(--canvas-deep); }
.status.brand { color: var(--brand-700); background: var(--brand-100); }
.confidence { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; min-width: 120px; }
.confidence-track { height: 5px; overflow: hidden; border-radius: 99px; background: var(--canvas-deep); }
.confidence-track span { display: block; height: 100%; border-radius: inherit; background: var(--success); }
.confidence.medium .confidence-track span { background: #d89636; }
.confidence.low .confidence-track span { background: var(--danger); }

.chart { min-height: 255px; padding: 8px 18px 20px; }
.chart-legend { display: flex; gap: 18px; margin-bottom: 16px; color: var(--ink-500); font-size: 11px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--brand-700); }
.legend-dot.accent { background: #eeb39c; }
.bar-chart { height: 184px; display: flex; align-items: stretch; gap: clamp(8px, 2.2vw, 24px); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 45px, #eef2f0 46px); }
.bar-group { min-width: 24px; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; position: relative; }
.bar { width: min(18px, 38%); min-height: 2px; border-radius: 5px 5px 1px 1px; background: var(--brand-700); transition: height 400ms ease; }
.bar.expense { background: #eeb39c; }
.bar-label { position: absolute; top: calc(100% + 8px); color: var(--ink-500); font-size: 10px; }
.flow-list { display: grid; }
.flow-item { position: relative; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; padding: 12px 19px; border-top: 1px solid #edf1ef; }
.flow-item:first-child { border-top: 0; }
.flow-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-800); background: var(--brand-50); }
.flow-copy strong { display: block; font-size: 12px; }
.flow-copy span { display: block; margin-top: 2px; color: var(--ink-500); font-size: 11px; }
.flow-value { text-align: right; font-size: 12px; font-weight: 760; }
.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 4px 19px 19px; }
.quick-action { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-800); background: #fff; text-align: left; font-weight: 680; transition: transform var(--ease), border var(--ease), background var(--ease); }
.quick-action:hover { transform: translateY(-1px); border-color: #b9d1cb; background: var(--brand-50); }
.quick-action .icon { color: var(--brand-700); }

.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #d1e5df; border-radius: 10px; color: var(--brand-900); background: var(--brand-50); font-size: 12px; }
.notice.warning { border-color: #efd8ab; color: #7c4b17; background: var(--warning-soft); }
.notice .icon { width: 18px; height: 18px; margin-top: 1px; }
.empty { display: grid; place-items: center; justify-items: center; min-height: 230px; padding: 30px; color: var(--ink-500); text-align: center; }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 15px; color: var(--brand-700); background: var(--brand-50); }
.empty strong { margin-bottom: 4px; color: var(--ink-800); }
.empty p { max-width: 370px; margin: 0 0 14px; }

.dropzone { display: grid; place-items: center; justify-items: center; min-height: 240px; padding: 28px; border: 1.5px dashed #afc5c0; border-radius: var(--radius-md); color: var(--ink-650); background: #fbfdfc; text-align: center; transition: border var(--ease), background var(--ease); }
.dropzone.dragging { border-color: var(--brand-700); background: var(--brand-50); }
.dropzone-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 14px; color: var(--brand-700); background: var(--brand-100); }
.dropzone h3 { margin: 0 0 5px; color: var(--ink-950); font-size: 16px; }
.dropzone p { margin: 0 0 15px; }
.dropzone small { display: block; margin-top: 10px; color: var(--ink-500); }
.file-summary { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.file-summary > .icon { width: 27px; height: 27px; color: var(--success); }
.file-summary-copy { min-width: 0; flex: 1; }
.file-summary-copy strong, .file-summary-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-summary-copy span { color: var(--ink-500); font-size: 11px; }
.batch-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin: 15px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.batch-summary > div { padding: 13px; background: #fff; }
.batch-summary small { display: block; color: var(--ink-500); font-size: 10px; text-transform: uppercase; }
.batch-summary strong { display: block; margin-top: 3px; font-size: 15px; }

.announcement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.announcement-card { position: relative; display: flex; min-height: 220px; flex-direction: column; padding: 18px; overflow: hidden; }
.announcement-card.pinned { border-top: 3px solid var(--accent); }
.announcement-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.announcement-card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
.announcement-card p { flex: 1; margin: 0 0 18px; color: var(--ink-650); font-size: 12px; }
.announcement-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--ink-500); font-size: 11px; }
.read-meter { display: flex; align-items: center; gap: 7px; }
.meter-track { width: 54px; height: 5px; overflow: hidden; border-radius: 99px; background: var(--canvas-deep); }
.meter-track span { display: block; height: 100%; background: var(--brand-700); }

.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; align-items: start; }
.request-list { display: grid; gap: 8px; padding: 10px; }
.request-item { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid transparent; border-radius: 10px; color: var(--ink-950); background: transparent; text-align: left; transition: border var(--ease), background var(--ease); }
.request-item:hover { background: var(--canvas); }
.request-item.active { border-color: #bed3ce; background: var(--brand-50); }
.request-priority { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--info); background: var(--info-soft); font-size: 11px; font-weight: 800; }
.request-priority.high { color: var(--danger); background: var(--danger-soft); }
.request-priority.medium { color: var(--warning); background: var(--warning-soft); }
.request-copy strong { display: block; font-size: 12px; }
.request-copy span { display: block; margin-top: 2px; color: var(--ink-500); font-size: 11px; }
.request-side { position: sticky; top: calc(var(--topbar) + 18px); }
.detail-head { padding: 18px; border-bottom: 1px solid var(--line); }
.detail-head h2 { margin: 8px 0 5px; font-size: 17px; line-height: 1.3; }
.detail-meta { color: var(--ink-500); font-size: 11px; }
.detail-body { padding: 17px 18px; }
.detail-description { margin: 0 0 18px; color: var(--ink-650); }
.detail-pairs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.detail-pair small, .detail-pair strong { display: block; }
.detail-pair small { margin-bottom: 2px; color: var(--ink-500); font-size: 10px; text-transform: uppercase; }
.detail-pair strong { font-size: 12px; }
.timeline { display: grid; gap: 0; margin: 14px 0; }
.timeline-item { position: relative; padding: 0 0 15px 23px; color: var(--ink-650); font-size: 11px; }
.timeline-item::before { content: ""; position: absolute; left: 5px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-700); box-shadow: 0 0 0 4px var(--brand-100); }
.timeline-item::after { content: ""; position: absolute; left: 8px; top: 17px; bottom: 1px; width: 1px; background: var(--line); }
.timeline-item:last-child::after { display: none; }
.timeline-item strong { display: block; color: var(--ink-800); font-size: 11px; }
.comment-box { display: flex; gap: 8px; }
.comment-box input { flex: 1; }

.report-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius-md); color: #fff; background: var(--brand-900); box-shadow: var(--shadow-sm); }
.report-hero small { color: #a9c9c2; font-size: 11px; text-transform: uppercase; }
.report-hero strong { display: block; margin-top: 4px; font-size: 29px; letter-spacing: -.04em; }
.report-hero .delta { color: #9fe2c5; font-size: 12px; }
.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut { width: 98px; height: 98px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#74c7ad 0 62%, #efaa8e 62% 88%, #577f86 88%); }
.donut::after { content: ""; width: 59px; height: 59px; border-radius: 50%; background: var(--brand-900); }
.report-bars { display: grid; gap: 12px; padding: 0 19px 20px; }
.report-row { display: grid; grid-template-columns: 130px 1fr 90px; align-items: center; gap: 12px; font-size: 11px; }
.report-track { height: 9px; overflow: hidden; border-radius: 99px; background: var(--canvas-deep); }
.report-track span { display: block; height: 100%; border-radius: inherit; background: var(--brand-700); }
.report-row strong { text-align: right; font-size: 12px; }

.settings-nav { display: flex; gap: 5px; margin-bottom: 16px; overflow-x: auto; }
.setting-section { display: grid; gap: 14px; }
.unit-card { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; padding: 13px 16px; border-top: 1px solid var(--line); }
.unit-card:first-child { border-top: 0; }
.unit-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-800); background: var(--brand-50); font-size: 11px; font-weight: 800; }
.unit-copy strong, .unit-copy span { display: block; }
.unit-copy strong { font-size: 12px; }
.unit-copy span { color: var(--ink-500); font-size: 11px; }
.switch { position: relative; width: 39px; height: 22px; display: inline-block; }
.switch input { width: 1px; height: 1px; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #cbd7d3; transition: background var(--ease); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform var(--ease); }
.switch input:checked + span { background: var(--brand-700); }
.switch input:checked + span::after { transform: translateX(17px); }

.dropdown { position: absolute; z-index: 70; top: calc(100% + 8px); min-width: 250px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); animation: dropdown-in 120ms ease both; }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.dropdown-right { right: 0; }
.dropdown-left { left: 0; }
.dropdown-title { padding: 7px 9px 5px; color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dropdown-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px; border: 0; border-radius: 8px; color: var(--ink-800); background: transparent; text-align: left; }
.dropdown-item:hover { background: var(--canvas); }
.dropdown-item.active { color: var(--brand-800); background: var(--brand-50); }
.dropdown-item .icon { width: 17px; height: 17px; }
.dropdown-item-copy { min-width: 0; flex: 1; }
.dropdown-item-copy strong, .dropdown-item-copy small { display: block; }
.dropdown-item-copy strong { font-size: 12px; }
.dropdown-item-copy small { color: var(--ink-500); font-size: 10px; }
.dropdown-separator { height: 1px; margin: 5px 0; background: var(--line); }
.topbar-popover-anchor { position: relative; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,29,33,.55); backdrop-filter: blur(3px); animation: fade-in 140ms ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(610px, 100%); max-height: min(800px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(8,31,35,.28); animation: modal-in 180ms ease both; }
.modal.modal-lg { width: min(840px, 100%); }
@keyframes modal-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 22px 15px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-head p { margin: 5px 0 0; color: var(--ink-500); font-size: 12px; }
.modal-body { padding: 20px 22px; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fafcfb; }
.confirmation-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 15px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.confirmation-summary div { padding: 12px; border-left: 1px solid var(--line); }
.confirmation-summary div:first-child { border-left: 0; }
.confirmation-summary small, .confirmation-summary strong { display: block; }
.confirmation-summary small { color: var(--ink-500); font-size: 10px; }
.confirmation-summary strong { margin-top: 3px; font-size: 14px; }
.preview-list { display: grid; gap: 7px; max-height: 280px; overflow-y: auto; }
.preview-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.preview-row strong, .preview-row span { display: block; }
.preview-row strong { font-size: 12px; }
.preview-row span { color: var(--ink-500); font-size: 10px; }
.preview-row .numeric { text-align: right; font-weight: 750; }

.toast-region { position: fixed; z-index: 150; right: 18px; bottom: 18px; display: grid; gap: 8px; pointer-events: none; }
.toast { width: min(360px, calc(100vw - 36px)); display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 13px 15px; border: 1px solid #cde4dc; border-radius: 11px; color: var(--ink-800); background: #fff; box-shadow: var(--shadow-md); animation: toast-in 220ms ease both; }
.toast.error { border-color: #ecc8c8; }
.toast .icon { color: var(--success); }
.toast.error .icon { color: var(--danger); }
.toast strong { display: block; font-size: 12px; }
.toast span { display: block; margin-top: 2px; color: var(--ink-500); font-size: 11px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.mobile-overlay { display: none; }
.desktop-only { display: initial; }
.muted { color: var(--ink-500); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { height: 1px; margin: 16px 0; background: var(--line); }

@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .announcement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .request-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .profile-button { min-width: 44px; }
  .profile-copy, .profile-button > .icon { display: none; }
}

@media (max-width: 900px) {
  :root { --sidebar: 240px; }
  .sidebar { transform: translateX(-102%); box-shadow: var(--shadow-md); }
  .sidebar.open { transform: translateX(0); }
  .workspace { padding-left: 0; }
  .mobile-menu { display: grid; }
  .mobile-overlay { position: fixed; z-index: 35; inset: 0; display: block; border: 0; background: rgba(10,35,39,.35); }
  .main { padding: 24px 22px 48px; }
  .topbar { padding: 0 20px; }
  .tenant-switch { min-width: 0; }
  .tenant-switch-copy { max-width: 150px; }
  .topbar-search { margin: 0; }
  .request-layout { grid-template-columns: 1fr; }
  .request-side { position: static; }
}

@media (max-width: 680px) {
  :root { --topbar: 64px; }
  body { font-size: 13px; }
  .topbar { gap: 8px; padding: 0 12px; }
  .topbar-search, .notification-button { display: none; }
  .tenant-switch { flex: 1; }
  .tenant-switch-copy { max-width: 180px; }
  .main { padding: 20px 14px 42px; }
  .page-header { align-items: stretch; flex-direction: column; margin-bottom: 18px; }
  .page-actions .btn { flex: 1; }
  .stat-grid, .equal-cols, .three-col, .announcement-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 122px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .full { grid-column: auto; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-group { width: 100%; }
  .toolbar-group > .input-shell, .toolbar-group > .select, .toolbar-group > .btn { flex: 1; }
  .input-shell { min-width: 160px; }
  .batch-summary { grid-template-columns: repeat(2, 1fr); }
  .report-hero { grid-template-columns: 1fr; }
  .donut-wrap { justify-content: flex-start; }
  .report-row { grid-template-columns: 90px 1fr 74px; }
  .quick-actions { grid-template-columns: 1fr; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal, .modal.modal-lg { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .modal-head, .modal-body { padding-left: 17px; padding-right: 17px; }
  .modal-foot { padding: 12px 17px; }
  .modal-foot .btn { flex: 1; }
  .confirmation-summary { grid-template-columns: 1fr; }
  .confirmation-summary div { border-left: 0; border-top: 1px solid var(--line); }
  .confirmation-summary div:first-child { border-top: 0; }
  .desktop-only { display: none !important; }
  .flow-item { grid-template-columns: 34px 1fr; }
  .flow-value { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .sidebar, .topbar, .page-actions, .toolbar, .section-tabs, .toast-region { display: none !important; }
  .workspace { padding: 0; }
  .main { max-width: none; padding: 0; }
  .card { break-inside: avoid; box-shadow: none; }
  body { background: #fff; }
}

/* SRS V5 — şifresiz üyelik ve uyarlanabilir kurulum */
.access-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .95fr) minmax(480px, 1.05fr); background: var(--paper); }
.access-story { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 68px); overflow: hidden; color: #fff; background: var(--brand-900); }
.access-story::before { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; top: -170px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.access-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: inherit; text-decoration: none; }
.access-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--brand-900); background: #fff; font-size: 21px; font-weight: 850; box-shadow: var(--shadow-sm); }
.access-brand strong, .access-brand small { display: block; line-height: 1.12; }
.access-brand strong { font-size: 18px; letter-spacing: -.02em; }
.access-brand small { margin-top: 4px; color: currentColor; opacity: .64; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.access-story-body { position: relative; z-index: 1; max-width: 620px; margin: auto 0; padding: 60px 0; }
.access-story-body .eyebrow { color: #a9d7ce; }
.access-story h1 { max-width: 590px; margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.access-story-body > p:not(.eyebrow) { max-width: 560px; margin: 24px 0 0; color: #c9dcd8; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }
.access-benefits { display: grid; gap: 13px; margin: 34px 0 0; padding: 0; list-style: none; }
.access-benefits li { display: flex; align-items: center; gap: 11px; color: #eaf5f2; }
.access-benefits li > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--brand-900); background: #a9d7ce; font-weight: 900; }
.access-story-foot { position: relative; z-index: 1; margin: 0; color: #83aaa3; font-size: 12px; }
.access-panel { display: grid; place-items: center; padding: clamp(24px, 6vw, 84px); background: linear-gradient(145deg, #fbfcfb, var(--canvas)); }
.access-card { width: min(100%, 480px); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(18,40,45,.1); }
.access-card > .access-brand { margin-bottom: 34px; color: var(--ink-950); }
.access-card > .access-brand .access-brand-mark { color: #fff; background: var(--brand-900); }
.access-step-label { margin: 0 0 7px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.access-card h2, .access-form-title { margin: 0; color: var(--ink-950); font-size: clamp(27px, 4vw, 36px); line-height: 1.13; letter-spacing: -.04em; }
.access-lead { margin: 12px 0 24px; color: var(--ink-650); font-size: 15px; line-height: 1.65; }
.google-button-slot { min-height: 48px; width: 100%; }
.google-button-slot > div[role="button"] { max-width: 100% !important; }
.access-provider-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; border: 1px solid #ccd8d4; border-radius: 10px; color: var(--ink-950); background: #fff; font-size: 15px; font-weight: 760; transition: border var(--ease), background var(--ease), transform var(--ease); }
.access-provider-button:hover:not(:disabled) { transform: translateY(-1px); border-color: #aebfba; background: var(--brand-50); }
.access-provider-button.phone { color: #fff; border-color: var(--brand-800); background: var(--brand-800); }
.provider-letter { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #3567c7; background: #eef3ff; font-weight: 900; }
.provider-phone { font-size: 19px; }
.access-loading-line { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-500); background: var(--canvas); }
.access-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-500); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.access-divider::before, .access-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.trust-copy { display: grid; gap: 6px; margin-top: 22px; padding: 15px 16px; border-radius: 12px; color: var(--ink-800); background: var(--success-soft); }
.trust-copy strong { font-size: 13px; }
.trust-copy span { color: var(--ink-650); font-size: 12px; }
.access-legal { margin: 18px 0 0; color: var(--ink-500); font-size: 11px; line-height: 1.55; text-align: center; }
.access-legal a { color: var(--brand-700); font-weight: 700; }
.access-help { display: block; margin-top: 9px; color: var(--ink-500); font-size: 12px; line-height: 1.5; text-align: center; }
.access-shell.compact { display: block; background: var(--canvas); }
.access-panel.centered { min-height: 100vh; }
.access-back { margin: 0 0 24px; padding: 4px 0; border: 0; color: var(--brand-700); background: transparent; font-weight: 720; }
.access-field { display: grid; gap: 7px; }
.access-submit { width: 100%; min-height: 48px; margin-top: 14px; }
.access-resend { width: 100%; margin-top: 10px; }
.otp-input { text-align: center; font-size: 25px; font-weight: 850; letter-spacing: .32em; }
.dev-code { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -6px 0 18px; padding: 12px 14px; border: 1px dashed #d7a067; border-radius: 10px; color: var(--warning); background: var(--warning-soft); }
.dev-code span { font-size: 12px; }
.dev-code strong { font-size: 18px; letter-spacing: .18em; }
.access-error { display: grid; gap: 3px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #efcccc; border-radius: 10px; color: var(--danger); background: var(--danger-soft); }
.access-error strong { font-size: 13px; }
.access-error span { font-size: 12px; }
.access-fatal { min-height: 100vh; display: grid; place-content: center; gap: 24px; padding: 24px; background: var(--canvas); }
.access-fatal > .access-brand { color: var(--ink-950); margin: auto; }
.access-fatal .access-brand-mark { color: #fff; background: var(--brand-900); }

.wizard-shell { min-height: 100vh; padding: 0 24px 60px; background: linear-gradient(180deg, #fff 0, var(--canvas) 240px); }
.wizard-head { max-width: 1120px; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.wizard-head .access-brand { color: var(--ink-950); }
.wizard-head .access-brand-mark { color: #fff; background: var(--brand-900); }
.wizard-account { display: flex; align-items: center; gap: 14px; color: var(--ink-650); font-size: 12px; }
.wizard-account button { padding: 6px 0; border: 0; color: var(--brand-700); background: transparent; font-weight: 750; }
.wizard-progress { max-width: 680px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px auto; }
.wizard-progress > div { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--ink-500); }
.wizard-progress > div:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 16px; left: calc(50% + 21px); width: calc(100% - 42px); height: 2px; background: var(--line); }
.wizard-progress > div.done:not(:last-child)::after { background: var(--success); }
.wizard-progress span { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; font-weight: 850; }
.wizard-progress .active span { color: #fff; border-color: var(--brand-700); background: var(--brand-700); box-shadow: 0 0 0 5px var(--brand-100); }
.wizard-progress .done span { color: #fff; border-color: var(--success); background: var(--success); }
.wizard-progress small { font-size: 11px; font-weight: 750; }
.wizard-progress .active small { color: var(--brand-800); }
.wizard-card { max-width: 960px; margin: 0 auto; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-md); }
.wizard-title { max-width: 720px; margin-bottom: 28px; }
.wizard-title h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.13; letter-spacing: -.045em; }
.wizard-title > p:last-child { margin: 10px 0 0; color: var(--ink-650); font-size: 15px; }
.centered-title { margin-right: auto; margin-left: auto; text-align: center; }
.wizard-success { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: var(--success); font-size: 28px; font-weight: 900; box-shadow: 0 0 0 8px var(--success-soft); }
.wizard-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wizard-form .field-wide { grid-column: 1 / -1; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard-actions .btn { min-height: 44px; padding-right: 18px; padding-left: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-card { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 11px; padding: 16px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: border var(--ease), background var(--ease), box-shadow var(--ease); }
.feature-card:hover { border-color: #b8cec8; background: var(--brand-50); }
.feature-card.selected { border-color: var(--brand-700); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(31,105,110,.08); }
.feature-check { position: relative; width: 24px; height: 24px; }
.feature-check input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; }
.feature-check span { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #b9c9c5; border-radius: 7px; color: transparent; background: #fff; font-weight: 900; }
.feature-check input:focus-visible + span { outline: 3px solid rgba(229,120,77,.42); outline-offset: 2px; }
.feature-check input:checked + span { color: #fff; border-color: var(--brand-700); background: var(--brand-700); }
.feature-copy strong, .feature-copy small { display: block; }
.feature-copy strong { font-size: 14px; }
.feature-copy small { margin-top: 4px; color: var(--ink-500); font-size: 12px; }
.feature-quantity { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 11px; border-top: 1px solid #d5e5e1; color: var(--ink-650); font-size: 12px; }
.feature-quantity.hidden { display: none; }
.feature-quantity input { width: 78px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.wizard-note { display: grid; gap: 3px; margin-top: 18px; padding: 14px 16px; border-radius: 11px; color: var(--ink-800); background: var(--canvas); }
.wizard-note span { color: var(--ink-500); font-size: 12px; }
.wizard-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.wizard-summary > div { min-height: 86px; display: grid; align-content: center; gap: 5px; padding: 18px; background: #fff; }
.wizard-summary span { color: var(--ink-500); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.wizard-summary strong { font-size: 14px; line-height: 1.5; }
.wizard-summary .summary-wide { grid-column: 1 / -1; }
.wizard-trust { display: flex; align-items: flex-start; gap: 13px; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--success-soft); }
.wizard-trust > span { font-size: 20px; }
.wizard-trust strong { display: block; color: var(--success); }
.wizard-trust p { margin: 3px 0 0; color: var(--ink-650); font-size: 12px; }

@media (max-width: 900px) {
  .access-shell { grid-template-columns: 1fr; }
  .access-story { min-height: auto; padding: 28px 24px 34px; }
  .access-story-body { margin: 44px 0 0; padding: 0; }
  .access-story h1 { max-width: 680px; font-size: clamp(34px, 8vw, 54px); }
  .access-story-body > p:not(.eyebrow) { margin-top: 16px; }
  .access-benefits { margin-top: 24px; }
  .access-story-foot { display: none; }
  .access-panel { padding: 28px 18px 48px; }
  .access-card { box-shadow: var(--shadow-sm); }
}

@media (max-width: 640px) {
  .access-story { padding: 22px 18px 28px; }
  .access-story-body { margin-top: 34px; }
  .access-story h1 { font-size: 36px; }
  .access-story-body > p:not(.eyebrow) { font-size: 15px; }
  .access-benefits { gap: 10px; font-size: 13px; }
  .access-panel { padding: 18px 12px 36px; }
  .access-card { padding: 24px 20px; border-radius: 16px; }
  .wizard-shell { padding: 0 12px 32px; }
  .wizard-head { height: 70px; }
  .wizard-head .access-brand small, .wizard-account > span { display: none; }
  .wizard-progress { margin: 22px auto; }
  .wizard-progress small { font-size: 9px; }
  .wizard-card { padding: 24px 18px; border-radius: 16px; }
  .wizard-form .form-grid, .feature-grid, .wizard-summary { grid-template-columns: 1fr; }
  .wizard-form .field-wide, .wizard-summary .summary-wide { grid-column: auto; }
  .wizard-actions { align-items: stretch; }
  .wizard-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .access-provider-button, .feature-card { transition: none; }
}
