:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --panel: #fff;
  --line: #e1e7ed;
  --text: #1b2b3e;
  --muted: #637389;
  --cyan: #087f79;
  --shadow: 0 8px 32px #253e5906;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 86% 0, #e8f4f0 0, transparent 32rem), var(--bg); color: var(--text); font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button, input, select, summary, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #0d948880; }
.hero, main, .tabs, .storebar, .footer { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 38px 0 30px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 62px; color: #fff; border-radius: 17px; background: #087f79; box-shadow: 0 8px 20px #087f7924; }
.brand-mark svg { width: 34px; height: 34px; }
.eyebrow { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1 { font-size: clamp(22px, 3vw, 32px); line-height: 1.2; letter-spacing: -.035em; margin: 6px 0 5px; font-weight: 720; }
h2 { font-size: 21px; letter-spacing: -.025em; line-height: 1.35; }
h3 { font-size: 15px; letter-spacing: -.015em; }
h2, h3, p { margin-top: 0; }
.hero p, .section-title p, .help, .hint { color: var(--muted); }
.hero p { margin: 0; font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d5e5df; background: #ffffffa8; color: #3d655d; border-radius: 999px; padding: 8px 13px; font-size: 12px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #329d85; }
.storebar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 20px; background: #ffffffbd; border: 1px solid var(--line); border-radius: 15px; }
.storebar label { display: flex; flex-direction: row; align-items: center; gap: 12px; white-space: nowrap; font-size: 12px; color: var(--muted); }
.storebar select { min-width: 210px; background: #f8fafb; min-height: 38px; padding-block: 7px; }
.store-context { color: var(--muted); font-size: 12px; }
.store-actions { margin-left: auto; position: relative; }
.store-actions summary { font-size: 12px; color: #526379; cursor: pointer; padding: 9px 0 9px 10px; }
.store-action-menu { display: grid; gap: 7px; position: absolute; z-index: 20; right: 0; top: 42px; width: 190px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 10px 40px #20344820; padding: 9px; }
.store-action-menu button { text-align: left; }
.tabs { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding-block: 20px 0; margin-bottom: 22px; overflow-x: auto; scrollbar-width: thin; }
.tab { position: relative; border: 0; border-radius: 10px 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; padding: 13px 18px 16px; background: transparent; white-space: nowrap; flex-shrink: 0; }
.tab:hover { color: var(--cyan); background: #e9f2ee; }
.tab.active { color: #096b65; background: #e8f2ef; }
.tab.active::after { content: ""; position: absolute; height: 3px; border-radius: 4px 4px 0 0; background: var(--cyan); left: 18px; right: 18px; bottom: 0; }
.view { display: none; }
.view.active { display: block; animation: enter .18s ease-out; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin: 20px 0; box-shadow: var(--shadow); }
.section-title { display: flex; align-items: start; gap: 13px; margin-bottom: 26px; }
.section-title > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #d9e8e3; border-radius: 10px; color: #147a70; background: #eff7f4; font-size: 11px; font-weight: 750; letter-spacing: -.03em; }
.section-title h2 { margin: -1px 0 5px; }
.section-title p { margin: 0; font-size: 13px; }
.grid { display: grid; gap: 20px 18px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-two { grid-column: span 2; }
label { display: flex; flex-direction: column; gap: 7px; color: #4c5d71; font-size: 12px; font-weight: 650; min-width: 0; }
input, select { min-height: 44px; min-width: 0; width: 100%; border: 1px solid #dce3ea; border-radius: 9px; padding: 10px 12px; background: #fbfcfd; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #8491a3; font-weight: 400; }
input:hover, select:hover { border-color: #bac8d2; }
input:focus, select:focus { border-color: #26998c; background: #fff; }
select[multiple] { min-height: 126px; padding: 7px; }
select[multiple] option { padding: 5px 9px; border-radius: 5px; margin-bottom: 2px; }
select[multiple] option:checked { background: #d9eee7 linear-gradient(#d9eee7, #d9eee7); color: #105e56; }
button { min-height: 43px; border: 1px solid transparent; border-radius: 9px; padding: 10px 17px; background: var(--cyan); color: #fff; font-weight: 650; font-size: 13px; cursor: pointer; transition: background .15s, box-shadow .15s, border-color .15s; }
button:hover { background: #086b66; box-shadow: 0 3px 9px #1b5c5420; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
button.secondary { background: #fff; color: #40536a; border-color: #d9e1e8; }
button.secondary:hover { background: #f1f5f8; border-color: #c4d0db; }
button.accent { background: var(--cyan); color: #fff; }
button.accent:hover { background: #066c67; }
button.accent > span { margin-left: 12px; }
button.danger { background: #fff6f6; color: #ae3e48; border-color: #eed4d7; }
button.danger:hover { background: #fbe7e9; }
.toolbar { display: flex; gap: 12px; align-items: end; margin: 18px 0; }
.toolbar.wrap { flex-wrap: wrap; }
.toolbar.actions { justify-content: flex-end; padding-top: 18px; margin: 24px 0 0; border-top: 1px solid #edf0f3; }
.grow { flex: 1; }
.file input { max-width: 100%; font-size: 12px; padding: 7px; color: #67788c; }
input[type=file]::file-selector-button { border: 0; border-radius: 5px; background: #eaf1f3; color: #3a5d66; padding: 7px 10px; font: inherit; font-weight: 650; margin-right: 10px; cursor: pointer; }
.field-hint { font-size: 11px; font-weight: 400; color: var(--muted); }
.upload-field { padding: 19px; border: 1px dashed #bdcec9; border-radius: 12px; background: #f8fbfa; }
.upload-field input { background: #fff; }
.upload-toolbar { margin-block: 24px 18px; }
.advanced { border: 1px solid #e4eaf0; border-radius: 10px; margin-top: 22px; padding: 13px 16px; background: #fcfdfe; }
.advanced > summary { color: #5b6d82; font-size: 12px; font-weight: 650; cursor: pointer; }
.advanced[open] > summary { margin-bottom: 20px; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid #e6ebef; border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { padding: 13px 15px; background: #f7f9fb; color: #637389; text-align: left; font-size: 11px; font-weight: 650; white-space: nowrap; border-bottom: 1px solid #e6ebef; }
table.data td { padding: 17px 15px; border-bottom: 1px solid #edf0f3; vertical-align: middle; }
table.data td:first-child { font-weight: 650; }
table.data tbody tr:hover { background: #fbfdfc; }
table.data tr:last-child td { border-bottom: 0; }
table.data .actions-cell { display: flex; justify-content: flex-end; gap: 7px; }
table.data .actions-cell button { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.badge.ok { background: #e9f6ee; color: #28734b; }
.badge.warn { background: #fff4df; color: #956720; }
.badge.none { background: #edf1f5; color: #6c7e93; }
canvas { display: block; width: 100%; max-height: 660px; object-fit: contain; background: #edf1f4; border: 1px solid #e1e7ed; border-radius: 12px; touch-action: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 11px; margin: 18px 0 12px; }
.thumbs:empty { display: none; }
.thumbs img { display: block; height: 106px; max-width: 145px; object-fit: contain; background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; }
.thumbs .thumb { position: relative; }
.thumbs .thumb button { position: absolute; top: 5px; right: 5px; width: 22px; min-height: 22px; padding: 0; background: #273a4dd9; color: #fff; border: 1px solid #ffffff60; border-radius: 7px; line-height: 18px; }
.help { margin: 14px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.help:empty { display: none; }
.hint { font-size: 12px; }
.analysis-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; margin-bottom: 22px; }
.inspection-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 24px; padding: 0 8px; list-style: none; }
.inspection-flow li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; color: #334e62; font-size: 12px; font-weight: 650; }
.inspection-flow li > span { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #cddfd9; background: #eef6f2; color: #1d7465; font-size: 11px; }
.inspection-flow small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.phase-badge { display: inline-block; vertical-align: middle; padding: 4px 7px; margin-left: 8px; border: 1px solid #d7e7e1; border-radius: 5px; background: #eff7f3; color: #35816b; font-size: 9px; font-weight: 750; line-height: 1.2; letter-spacing: .07em; }
.after-panel { border-color: #cddfd9; background: linear-gradient(135deg, #f7fcf9, #fff 65%); }
.comparison-report { border-top: 3px solid #218573; }
#afterPreview { max-height: 560px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 20px 0 28px; }
.metrics.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics:empty { display: none; }
.metric { background: #f8fafc; border: 1px solid #e6ebf0; border-radius: 14px; padding: 22px; min-width: 0; }
.metric b { display: block; font-size: clamp(25px, 3vw, 36px); font-weight: 720; letter-spacing: -.04em; line-height: 1.15; overflow-wrap: anywhere; }
.metric span { display: block; color: #637389; font-size: 12px; margin-top: 11px; }
.metric small { display: inline-block; margin-top: 9px; color: #587466; background: #ffffff94; border: 1px solid #dce9e2; border-radius: 5px; padding: 2px 6px; font-size: 10px; }
.metric .metric-range { display: block; padding: 0; border: 0; background: transparent; color: #607688; font-size: 11px; font-variant-numeric: tabular-nums; }
.metric .score-description { display: block; padding: 0; border: 0; background: transparent; color: #607688; font-size: 11px; line-height: 1.5; }
.metric .metric-delta { color: #217651; font-variant-numeric: tabular-nums; }
.metric .metric-delta.negative { color: #a45534; border-color: #ecd5c8; }
.comparison-values { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; font-variant-numeric: tabular-nums; }
.comparison-values .before { color: var(--muted); }
.comparison-values .after { color: #196e58; font-weight: 700; }
.metrics .metric:last-child { background: #edf7f2; border-color: #d9e9e1; }
.metrics .metric:last-child b { color: #196e58; }
.metrics .metric.attention { background: #fff8eb; border-color: #eddfc4; }
.metrics .metric.attention b { color: #8b611c; }
.result-grid, .results-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; }
.result-grid > div { min-width: 0; }
.result-grid h3 { margin-bottom: 14px; }
.result-grid img, .results-grid img, .result-image { display: block; max-width: 100%; width: 100%; object-fit: contain; background: #edf1f4; border: 1px solid #e1e7ed; border-radius: 12px; }
.result-grid img:not([src]), .result-image:not([src]), .result-grid img[src=""], .result-image[src=""] { display: none; }
.result-grid > div:has(> img:not([src])) > h3 { display: none; }
.result-image { max-height: 900px; margin-top: 18px; }
.slot-block { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; }
.slot-block h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.slot-block .metrics { margin-top: 16px; }
.slot-block .help { margin-top: 6px; }
.label-facing-report { margin-top: 18px; padding: 16px 20px; border: 1px solid #bedce8; border-radius: 14px; background: #f3fafc; }
.label-facing-report h4 { margin: 0 0 8px; color: #225a73; }
.label-facing-report p { margin: 8px 0; }
.label-facing-report small { color: #607688; }
.label-facing-candidate { color: #225a73; font-weight: 600; }
code { color: #147c73; font-size: .9em; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 46px 20px; border: 1px dashed #d5e0e5; border-radius: 14px; background: #f9fbfc; text-align: center; margin-top: 22px; }
.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #dde8e5; border-radius: 18px; background: #f0f7f4; color: #6c9487; margin-bottom: 18px; }
.empty-icon svg { width: 36px; height: 36px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 0; }
.detection-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#detectionPreview { max-height: 480px; }
#simMetrics { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
#simScores { max-height: 320px; overflow: auto; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 3px 32px; color: #8492a3; font-size: 11px; }
.footer span:first-child { color: #718296; font-weight: 650; }
#toast { position: fixed; right: 22px; bottom: 22px; max-width: min(440px, calc(100% - 44px)); background: #25384b; color: #fff; border: 1px solid #40566b; padding: 14px 18px; border-radius: 12px; transform: translateY(calc(100% + 40px)); visibility: hidden; opacity: 0; transition: transform .2s ease, opacity .2s ease, visibility .2s; box-shadow: 0 8px 35px #1b2e4726; z-index: 50; font-size: 13px; }
#toast.show { transform: none; visibility: visible; opacity: 1; }
[hidden], .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 15px; background: var(--text); color: #fff; border-radius: 8px; transform: translateY(-160%); opacity: 0; pointer-events: none; }
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }
@keyframes enter { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1050px) {
  .store-context { display: none; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, main, .tabs, .storebar, .footer { width: min(1280px, calc(100% - 40px)); }
  .card { padding: 23px; }
  .tab { padding-inline: 13px; }
}
@media (max-width: 700px) {
  .hero, main, .tabs, .storebar, .footer { width: calc(100% - 28px); }
  .hero { padding: 24px 0 20px; flex-wrap: wrap; gap: 16px; }
  .brand { gap: 12px; }
  .brand-mark { flex-basis: 43px; width: 43px; height: 52px; border-radius: 13px; }
  .brand-mark svg { width: 28px; }
  .hero p { max-width: 255px; font-size: 12px; }
  .pill { margin-left: 55px; padding: 5px 10px; font-size: 11px; }
  h1 { font-size: 22px; }
  h2 { font-size: 19px; }
  .storebar { padding: 13px; gap: 10px; }
  .storebar label { flex: 1; flex-direction: column; align-items: stretch; gap: 4px; min-width: 140px; }
  .storebar select { min-width: 0; }
  .store-actions { align-self: flex-end; }
  .store-actions summary { font-size: 11px; }
  .tabs { gap: 2px; margin-bottom: 15px; padding-top: 13px; }
  .tab { font-size: 12px; padding: 11px 13px 14px; }
  .card { padding: 19px 16px; border-radius: 16px; margin: 15px 0; }
  .section-title { gap: 10px; margin-bottom: 20px; }
  .section-title > span { width: 29px; height: 29px; flex-basis: 29px; border-radius: 8px; font-size: 10px; }
  .section-title p { font-size: 12px; }
  .grid, .analysis-inputs { gap: 17px 12px; }
  .inspection-flow { gap: 10px; margin-block: 22px 18px; padding: 0 3px; }
  .inspection-flow li { flex-direction: column; gap: 7px; font-size: 11px; }
  .inspection-flow small { font-size: 10px; line-height: 1.45; }
  .phase-badge { margin-left: 5px; font-size: 8px; }
  .grid.two, .analysis-inputs, .result-grid, .results-grid { grid-template-columns: 1fr; }
  .result-grid, .results-grid { gap: 24px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-toolbar label { flex: 1 0 100%; }
  .catalog-toolbar button { flex: 1; }
  .metrics { gap: 8px; margin-bottom: 22px; }
  .metric { border-radius: 10px; padding: 14px 10px; }
  .metric b { font-size: 26px; }
  .metric span { font-size: 10px; margin-top: 8px; }
  .toolbar.actions button { flex: 1; }
  .upload-toolbar .file { flex-basis: 100%; }
  .upload-toolbar button { flex: 1; }
  .upload-field { padding: 14px; }
  input, select { font-size: 16px; }
  .advanced { padding: 12px; }
  .table-scroll { margin-inline: -2px; }
  .footer { font-size: 10px; }
}
@media (max-width: 400px) {
  .grid.four { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .metrics:not(.detection-metrics) { grid-template-columns: 1fr; }
  .metrics.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { display: flex; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
  .metrics.four .metric { display: block; }
  .metrics.four .metric span { margin-top: 8px; }
  .metric span { margin: 0; }
  .hero h1 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[hidden] { display: none !important; }
.auth-loading { min-height: 95vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--muted); }
.loading-spinner { width: 28px; height: 28px; border: 3px solid #d9e9e6; border-top-color: #087f7a; border-radius: 50%; animation: auth-spin .7s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-spinner { animation: none; } }
.login-screen { min-height: 95vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 440px); padding: clamp(24px, 5vw, 40px); border: 1px solid var(--border, #dde6ed); border-radius: 24px; background: #fff; box-shadow: 0 24px 80px #20354d0c; display: grid; gap: 20px; }
.login-card h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0; }
.login-card p { margin: 0; color: #728399; }
.login-card label { display: grid; gap: 8px; }
.login-card .remember-me { display: flex; flex-direction: row; align-items: center; gap: 10px; cursor: pointer; }
.remember-me input { width: 18px; height: 18px; accent-color: #087f7a; }
.login-card .login-error { color: #b42336; min-height: 20px; font-size: 14px; }
.analytics-dashboard { margin-bottom: 32px; }
.dashboard-heading { background: linear-gradient(125deg, #123b44, #086e66); padding: 28px 30px; border-radius: 20px; color: white; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dashboard-heading .eyebrow { color: #95dfcd; }
.dashboard-heading h2 { margin: 8px 0; font-size: clamp(22px, 3vw, 29px); }
.dashboard-heading p { margin: 0; color: #d0e7e4; font-size: 13px; }
.dashboard-heading button { background: #ffffff12; color: white; border-color: #ffffff45; white-space: nowrap; }
.dashboard-status { margin: 13px 2px; font-size: 12px; color: var(--muted); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.dashboard-stat { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.dashboard-stat-label { color: #4d6174; font-size: 12px; padding-right: 28px; }
.dashboard-stat strong { font-size: 34px; font-weight: 740; line-height: 1.3; letter-spacing: -.04em; }
.dashboard-stat small { color: var(--muted); font-size: 11px; }
.dashboard-icon { position: absolute; right: 18px; top: 18px; width: 29px; height: 29px; background: #eaf5f0; color: #087f79; border-radius: 9px; text-align: center; line-height: 29px; font-size: 18px; }
.dashboard-panels { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; }
.dashboard-panels .card, .dashboard-reports.card { padding: 24px; margin-bottom: 18px; }
.dashboard-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dashboard-panel-title h3 { margin: 0; font-size: 17px; }
.dashboard-panel-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.dashboard-empty { color: var(--muted); padding: 24px 0; font-size: 13px; }
.score-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px; margin: 14px 0; font-size: 12px; color: #53677b; }
.score-row strong { color: var(--text); font-size: 16px; }
.score-track { grid-column: 1 / -1; height: 9px; background: #edf1f5; border-radius: 10px; overflow: hidden; }
.score-track span { height: 100%; display: block; border-radius: inherit; background: #8499ad; }
.score-row.after .score-track span { background: #139781; }
.dashboard-outcome { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.dashboard-outcome strong, .dashboard-outcome small { display: block; }
.dashboard-outcome strong { color: #157e68; font-size: 20px; }
.dashboard-outcome small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.activity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.activity-row:last-child { border-bottom: 0; }
.activity-row strong { color: var(--text); font-size: 25px; }
.dashboard-reports .data td { font-variant-numeric: tabular-nums; }
.dashboard-reports-toggle { display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none; }
.dashboard-reports-toggle::-webkit-details-marker { display: none; }
.dashboard-reports-toggle > div { flex: 1; min-width: 0; }
.dashboard-reports-toggle h3 { margin: 0; font-size: 17px; }
.dashboard-reports-toggle p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.dashboard-chevron { color: var(--muted); width: 20px; height: 20px; flex-shrink: 0; transition: transform .15s ease; }
.dashboard-reports[open] .dashboard-chevron { transform: rotate(180deg); }
.dashboard-reports[open] > summary { margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { .dashboard-chevron { transition: none; } }
@media (max-width: 800px) { .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-panels { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dashboard-heading { padding: 22px; flex-direction: column; align-items: flex-start; } .dashboard-heading button { padding: 8px 12px; } .dashboard-stat { padding: 18px 15px; } .dashboard-stat-label { padding: 0; font-size: 11px; } .dashboard-icon { display: none; } .dashboard-stat strong { font-size: 30px; } .dashboard-stats { gap: 10px; } .dashboard-panels .card, .dashboard-reports.card { padding: 18px; } .dashboard-outcome { gap: 10px; } .dashboard-outcome strong { font-size: 17px; } }
