:root {
  --ink: #172033;
  --muted: #6e7d95;
  --line: #e5eaf1;
  --soft: #f4f6fa;
  --paper: #ffffff;
  --nav: #101827;
  --nav-soft: #192438;
  --brand: #2f6bff;
  --brand-dark: #1e4fc7;
  --cyan: #0a9daa;
  --green: #15996f;
  --orange: #d97917;
  --red: #d34e4e;
  --violet: #7758d9;
  --shadow: 0 16px 42px rgba(31, 44, 70, .09);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(47, 107, 255, .22); outline-offset: 2px; }
.access-gate { position: fixed; inset: 0; z-index: 100; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .72fr); align-items: stretch; background: #0d1626; overflow: auto; }
.access-gate[hidden] { display: none; }
.access-visual { min-height: 100vh; padding: clamp(58px, 8vw, 118px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: radial-gradient(circle at 76% 18%, rgba(57,119,255,.32), transparent 35%), linear-gradient(145deg, #0b1423, #142d56 62%, #155d7b); position: relative; overflow: hidden; }
.access-visual:after { content: ""; position: absolute; width: 510px; height: 510px; right: -250px; bottom: -255px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 68px rgba(255,255,255,.025), 0 0 0 136px rgba(255,255,255,.018); }
.access-visual > * { position: relative; z-index: 1; }
.access-kicker { color: #83bbff; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.access-visual h1 { max-width: 760px; margin: 20px 0 16px; font-size: clamp(34px, 4.4vw, 66px); line-height: 1.08; letter-spacing: -.04em; }
.access-visual p { max-width: 700px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.9; }
.architecture-strip { width: max-content; max-width: 100%; margin-top: 38px; display: flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #c8d8ee; background: rgba(255,255,255,.055); font-size: 11px; }
.architecture-strip b { color: #6fa8ff; }
.access-card { width: min(480px, calc(100% - 52px)); align-self: center; justify-self: center; padding: 36px; border: 1px solid rgba(255,255,255,.11); border-radius: 21px; color: var(--ink); background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.access-brand { padding: 0 0 28px; }
.access-card h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; }
.access-card > p { margin: 9px 0 24px; color: var(--muted); font-size: 12px; }
.access-card > small { display: block; margin-top: 18px; color: #8a6b2d; font-size: 10px; line-height: 1.65; }
.login-form { display: grid; gap: 15px; }
.login-form label { display: grid; gap: 7px; color: #4f5d72; font-size: 11px; font-weight: 650; }
.login-form input { width: 100%; border: 1px solid #dfe5ee; border-radius: 10px; padding: 12px 13px; outline: 0; color: var(--ink); background: #fafbfd; font-size: 12px; }
.login-form input:focus { border-color: #9bb6ff; background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.08); }
.login-form button { border: 0; border-radius: 10px; padding: 12px; color: #fff; background: linear-gradient(120deg, #2f6bff, #1f56d8); font-size: 12px; font-weight: 750; box-shadow: 0 9px 22px rgba(47,107,255,.22); }
.login-form button:disabled { opacity: .62; cursor: wait; }
.login-message { min-height: 18px; color: var(--red); font-size: 10px; line-height: 1.5; }
.demo-entry { width: 100%; margin-top: 8px; border: 1px solid #dfe5ee; border-radius: 10px; padding: 11px; color: #536278; background: #fff; font-size: 11px; }
.demo-entry:hover { border-color: #b9c9ec; background: #f7f9fd; }
.tenant-select { max-width: 180px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 28px 8px 9px; color: #44536a; background: #f7f9fc; font-size: 10px; }
.live-banner { border-color: #bfe6d9; color: #176b55; background: #eefaf6; }
.live-banner span { color: #397f6d; }
.loading-panel { min-height: 220px; display: grid; place-items: center; color: var(--muted); }
.readonly-note { color: #708096; font-size: 10px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 14px; background: var(--nav); color: #fff; display: flex; flex-direction: column; overflow: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 20px; }
.brand-mark { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, #6d9bff, #2f6bff 55%, #1852d3); color: #fff; font-weight: 800; box-shadow: 0 9px 24px rgba(47, 107, 255, .32); }
.brand-mark.small { width: 31px; height: 31px; border-radius: 9px; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 15px; letter-spacing: .03em; }
.brand div > span { color: #8d9bb3; font-size: 10px; margin-top: 3px; }
.tenant-card { padding: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); border-radius: 13px; margin: 0 4px 17px; }
.tenant-card span, .tenant-card strong, .tenant-card small { display: block; }
.tenant-card span { color: #8391a8; font-size: 10px; }
.tenant-card strong { font-size: 12px; margin: 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tenant-card small { color: #72d2bd; font-size: 10px; }
.side-nav { display: grid; gap: 4px; }
.nav-section { color: #596981; font-size: 10px; letter-spacing: .12em; padding: 14px 12px 6px; }
.nav-item { width: 100%; border: 0; display: flex; align-items: center; gap: 10px; color: #aeb9ca; background: transparent; border-radius: 10px; padding: 10px 11px; text-align: left; font-size: 12px; transition: .16s ease; }
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(47, 107, 255, .34), rgba(47, 107, 255, .13)); box-shadow: inset 3px 0 #6293ff; }
.nav-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: #8fa2bf; background: rgba(255, 255, 255, .04); font-size: 11px; }
.nav-item.active .nav-icon { color: #fff; background: #2f6bff; }
.nav-badge { margin-left: auto; padding: 2px 6px; border-radius: 99px; color: #ffceb2; background: rgba(211, 78, 78, .2); font-size: 9px; }
.sidebar-foot { margin: auto 5px 0; display: flex; align-items: center; gap: 9px; padding: 13px; border-top: 1px solid rgba(255,255,255,.07); }
.sidebar-foot strong, .sidebar-foot small { display: block; }
.sidebar-foot strong { color: #b5c0d0; font-size: 10px; }
.sidebar-foot small { color: #67768e; font-size: 9px; margin-top: 3px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #46c69b; box-shadow: 0 0 0 4px rgba(70,198,155,.12); }
.workspace { min-width: 0; }
.topbar { height: 66px; padding: 0 25px; display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.mobile-brand { display: none; }
.global-search { width: min(490px, 45vw); display: flex; align-items: center; gap: 8px; background: #f5f7fa; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; }
.global-search:focus-within { border-color: #bed0ff; background: #fff; box-shadow: 0 0 0 3px rgba(47,107,255,.08); }
.global-search > span { color: #7b899e; font-size: 18px; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.global-search kbd { border: 1px solid #dce2ea; border-bottom-width: 2px; border-radius: 5px; padding: 2px 5px; color: #8692a4; background: #fff; font-size: 9px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.ghost-button, .ai-button, .profile-button, .icon-button, .action-button { border: 0; border-radius: 9px; }
.ghost-button { padding: 9px 11px; background: #f5f7fa; color: #536278; font-size: 11px; }
.alert-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: 4px; border-radius: 99px; color: #fff; background: var(--red); font-size: 9px; }
.ai-button { color: #fff; background: linear-gradient(120deg, #7159df, #3867e8); padding: 9px 14px; font-weight: 700; font-size: 11px; box-shadow: 0 7px 18px rgba(90,85,210,.22); }
.profile-button { display: flex; align-items: center; gap: 8px; padding: 4px 7px 4px 4px; background: transparent; text-align: left; }
.profile-button > span:first-child { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: #e8efff; color: var(--brand); font-weight: 800; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy strong { font-size: 11px; }
.profile-copy small { color: #8a96a7; font-size: 9px; margin-top: 2px; }
.main-content { width: min(1500px, 100%); margin: 0 auto; padding: 25px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.page-head h1 { font-size: 23px; margin: 0; letter-spacing: -.02em; }
.page-head p { color: var(--muted); font-size: 11px; margin: 7px 0 0; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.action-button { padding: 9px 12px; color: #4b5b71; background: #fff; border: 1px solid var(--line); font-size: 11px; }
.action-button.primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.action-button.ai { color: #5c45c1; background: #f0edff; border-color: #dcd5ff; }
.candidate-banner { display: flex; align-items: center; gap: 11px; padding: 11px 14px; margin-bottom: 15px; border: 1px solid #f1dcaa; border-radius: 11px; background: #fff9e9; color: #7b5a13; font-size: 10px; }
.candidate-banner strong { font-size: 11px; }
.candidate-banner span { margin-left: auto; color: #9a7b33; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .8fr); gap: 14px; }
.hero-card { min-height: 190px; padding: 24px; border-radius: 17px; color: #fff; background: linear-gradient(120deg, #14274d, #1e55bb 56%, #268dbe); position: relative; overflow: hidden; box-shadow: 0 16px 36px rgba(22,63,137,.2); }
.hero-card:after { content: ""; position: absolute; width: 270px; height: 270px; right: -90px; top: -110px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.025); }
.hero-card > * { position: relative; z-index: 1; }
.hero-eyebrow { color: #a8d9ff; font-size: 10px; letter-spacing: .08em; }
.hero-card h2 { max-width: 650px; margin: 11px 0 8px; font-size: 23px; }
.hero-card p { max-width: 620px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.7; }
.hero-actions { display: flex; gap: 8px; margin-top: 17px; }
.hero-actions button { border: 0; padding: 8px 12px; border-radius: 8px; font-size: 10px; font-weight: 700; }
.hero-actions .light { color: #16488f; background: #fff; }
.hero-actions .glass { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); }
.brief-card, .panel, .metric-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 5px 22px rgba(31,44,70,.035); }
.brief-card { padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 13px; }
.panel-head span { color: var(--muted); font-size: 10px; }
.brief-list { display: grid; gap: 9px; }
.brief-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; padding: 9px; border-radius: 10px; background: #f7f9fc; }
.brief-rank { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: #e8efff; font-size: 10px; font-weight: 800; }
.brief-row strong, .brief-row small { display: block; }
.brief-row strong { font-size: 10px; }
.brief-row small { color: var(--muted); margin-top: 3px; font-size: 9px; }
.risk-level { padding: 3px 6px; border-radius: 99px; color: #a43737; background: #ffeded; font-size: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin: 14px 0; }
.metric-card { padding: 15px; }
.metric-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
.metric-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: #edf3ff; color: var(--brand); }
.metric-value { margin: 10px 0 5px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.metric-hint { color: #95a0b0; font-size: 9px; }
.metric-hint.up { color: var(--green); }
.metric-hint.warn { color: var(--orange); }
.dashboard-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); gap: 14px; margin-top: 14px; }
.panel { padding: 17px; min-width: 0; }
.project-list { display: grid; gap: 10px; }
.project-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) 105px minmax(140px, .8fr) 95px; gap: 13px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0f5; }
.project-row:first-child { border-top: 0; }
.project-name strong, .project-name small { display: block; }
.project-name strong { font-size: 11px; }
.project-name small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 4px 7px; border-radius: 99px; color: #236ab1; background: #eaf4ff; font-size: 9px; }
.status-pill.good { color: #0d7455; background: #e8f8f1; }
.status-pill.warn { color: #9a5a0a; background: #fff4dc; }
.status-pill.bad { color: #a03737; background: #ffeded; }
.progress { height: 6px; border-radius: 99px; background: #edf1f6; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3973f5, #47a3ef); }
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; margin-top: 5px; }
.project-money { text-align: right; }
.project-money strong, .project-money small { display: block; }
.project-money strong { font-size: 11px; }
.project-money small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.risk-list { display: grid; gap: 9px; }
.risk-item { padding: 11px; border: 1px solid #edf0f5; border-left: 3px solid var(--orange); border-radius: 9px; }
.risk-item.high { border-left-color: var(--red); }
.risk-item strong, .risk-item small { display: block; }
.risk-item strong { font-size: 10px; }
.risk-item small { color: var(--muted); line-height: 1.55; margin-top: 5px; font-size: 9px; }
.table-panel { overflow: hidden; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th, .data-table td { padding: 11px 10px; border-bottom: 1px solid #edf0f5; text-align: left; font-size: 10px; }
.data-table th { color: #77869a; background: #f8f9fb; font-weight: 600; }
.data-table td { color: #344359; }
.data-table tr:hover td { background: #fafcff; }
.table-main strong, .table-main small { display: block; }
.table-main strong { color: #1d2a3d; }
.table-main small { color: var(--muted); margin-top: 4px; font-size: 9px; }
.money { font-variant-numeric: tabular-nums; font-weight: 700; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-button { border: 1px solid var(--line); background: #fff; color: #536278; border-radius: 8px; padding: 7px 9px; font-size: 10px; }
.filter-button.active { color: var(--brand); border-color: #b9ceff; background: #edf3ff; }
.module-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 14px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state strong { display: block; color: var(--ink); margin-bottom: 8px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(10,18,32,.28); backdrop-filter: blur(2px); }
.assistant-drawer { position: fixed; z-index: 30; top: 0; right: 0; width: min(510px, 100vw); height: 100vh; display: flex; flex-direction: column; background: #fff; box-shadow: -18px 0 55px rgba(22,34,58,.18); transform: translateX(102%); transition: transform .22s ease; }
.assistant-drawer.open { transform: translateX(0); }
.assistant-head { min-height: 71px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.assistant-head > div { display: flex; align-items: center; gap: 10px; }
.assistant-head strong, .assistant-head small { display: block; }
.assistant-head strong { font-size: 13px; }
.assistant-head small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.assistant-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(140deg,#7359df,#326ae9); box-shadow: 0 8px 18px rgba(92,78,207,.22); }
.icon-button { width: 31px; height: 31px; background: #f3f5f8; color: #718096; font-size: 19px; }
.assistant-scope { padding: 10px 15px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); overflow: auto; }
.assistant-scope > span { color: var(--muted); font-size: 9px; white-space: nowrap; margin-right: 3px; }
.scope-chip { border: 1px solid var(--line); border-radius: 99px; padding: 5px 8px; color: #69778b; background: #fff; font-size: 9px; white-space: nowrap; }
.scope-chip.active { color: #5d47c0; background: #f1efff; border-color: #dcd5ff; }
.assistant-messages { flex: 1; overflow: auto; padding: 18px 16px; display: grid; align-content: start; gap: 12px; background: #f8f9fb; }
.message { max-width: 92%; padding: 12px 13px; border-radius: 13px; font-size: 10px; line-height: 1.75; white-space: pre-wrap; }
.message.user { justify-self: end; color: #fff; background: #426ee0; border-bottom-right-radius: 4px; }
.message.ai { color: #334157; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: 0 4px 16px rgba(30,46,73,.04); }
.message-title { display: block; color: #1d2a3d; font-size: 11px; margin-bottom: 7px; }
.evidence { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid #edf0f5; color: #75849a; font-size: 9px; }
.assistant-prompts { display: flex; gap: 6px; padding: 8px 14px; overflow-x: auto; border-top: 1px solid var(--line); }
.assistant-scope, .assistant-prompts { scrollbar-width: none; }
.assistant-scope::-webkit-scrollbar, .assistant-prompts::-webkit-scrollbar { display: none; }
.prompt-chip { border: 1px solid #dfe4ec; border-radius: 99px; color: #526178; background: #fff; padding: 6px 9px; white-space: nowrap; font-size: 9px; }
.prompt-chip:hover { color: #5d47c0; border-color: #cfc6ff; background: #f7f5ff; }
.assistant-form { padding: 12px 14px; border-top: 1px solid var(--line); }
.assistant-form textarea { width: 100%; resize: none; border: 1px solid #dfe5ed; border-radius: 10px; padding: 10px; outline: 0; color: var(--ink); background: #fbfcfd; font-size: 10px; }
.assistant-form textarea:focus { border-color: #aebeff; background: #fff; }
.assistant-form > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.assistant-form span { color: #9a7b33; font-size: 8px; }
.assistant-form button { border: 0; border-radius: 8px; color: #fff; background: #426ee0; padding: 7px 14px; font-size: 10px; }
.toast { position: fixed; z-index: 50; left: 50%; top: 18px; transform: translate(-50%,-16px); opacity: 0; pointer-events: none; padding: 10px 14px; border-radius: 9px; color: #fff; background: #1b2a40; box-shadow: var(--shadow); transition: .2s; font-size: 10px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .dashboard-row { grid-template-columns: 1fr; }
  .module-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .access-gate { grid-template-columns: 1fr; background: #eef3fb; }
  .access-visual { min-height: auto; padding: 42px 24px 84px; }
  .access-visual h1 { font-size: 32px; }
  .access-visual p { font-size: 12px; }
  .architecture-strip { width: 100%; flex-wrap: wrap; font-size: 9px; }
  .access-card { width: calc(100% - 28px); margin: -48px auto 28px; padding: 25px; position: relative; z-index: 2; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .topbar { height: 61px; padding: 0 13px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .global-search { display: none; }
  .profile-copy, .ghost-button { display: none; }
  .main-content { padding: 15px 13px 82px; }
  .page-head { display: block; }
  .page-actions { margin-top: 12px; }
  .candidate-banner { align-items: flex-start; }
  .candidate-banner span { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .project-row { grid-template-columns: 1fr 80px; }
  .project-row > :nth-child(3) { grid-column: 1 / -1; }
  .project-money { text-align: left; }
  .mobile-nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(15px); }
  .mobile-nav button { min-width: 52px; display: grid; justify-items: center; gap: 2px; border: 0; color: #7c899c; background: transparent; font-size: 9px; }
  .mobile-nav .nav-icon { background: transparent; }
  .mobile-nav button.active { color: var(--brand); }
  .assistant-drawer { width: 100%; }
}

@media (max-width: 480px) {
  .access-visual { padding: 32px 19px 76px; }
  .access-visual h1 { font-size: 27px; }
  .access-card { width: calc(100% - 22px); padding: 21px 18px; }
  .architecture-strip b { display: none; }
  .topbar-actions { gap: 4px; }
  .ai-button { padding: 8px 10px; }
  .hero-card { padding: 19px; }
  .hero-card h2 { font-size: 19px; }
  .metric-grid, .module-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-card { padding: 12px; }
  .metric-value { font-size: 19px; }
}
