@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #152538;
  --muted: #6b798a;
  --faint: #93a0ad;
  --accent: #087f70;
  --accent-deep: #056b5f;
  --accent-pale: #e8f6f1;
  --nav: #102033;
  --nav-soft: #1b3148;
  --canvas: #f6f8fa;
  --panel: #fff;
  --border: #e3e9ed;
  --warn: #a96820;
  --warn-bg: #fff7e9;
  --red: #c04742;
  --red-pale: #fff0ef;
  --shadow: 0 2px 10px rgba(16, 32, 51, .035);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", system-ui, -apple-system, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased }
button, input, select, textarea { font: inherit }
button { cursor: pointer }
a { color: var(--accent-deep); text-decoration: none }
a:hover { text-decoration: underline }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #7fd9cf; outline-offset: 2px }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round }
.app-shell { display: flex; min-height: 100vh }
.sidebar { width: 260px; background: var(--nav); color: #e9f1f7; display: flex; flex-direction: column; flex: 0 0 260px; padding: 26px 14px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30 }
.brand { display: flex; align-items: center; gap: 12px; padding: 1px 14px 29px }
.brand-icon { width: 36px; height: 36px; border-radius: 10px; background: #dffaf2; display: flex; align-items: center; justify-content: center; gap: 3px; transform: rotate(-5deg) }
.brand-icon span { width: 5px; background: #158675; border-radius: 4px; display: block }
.brand-icon span:nth-child(1) { height: 12px }
.brand-icon span:nth-child(2) { height: 21px }
.brand-icon span:nth-child(3) { height: 16px }
.brand-name { font-family: "Manrope", sans-serif; letter-spacing: -.05em; font-weight: 800; font-size: 20px; line-height: 1.1 }
.brand-detail { color: #a4b9c9; letter-spacing: .12em; font-size: 8px; margin-top: 5px; font-weight: 700 }
.workspace-switcher { background: #1b3045; border: 1px solid #2c4257; padding: 11px 10px; margin: 0 7px 28px; border-radius: 10px; display: flex; align-items: center; gap: 9px }
.workspace-avatar { height: 32px; width: 32px; background: #c6e7de; color: #0b6256; border-radius: 8px; display: grid; place-items: center; font-weight: 800 }
.workspace-text { flex: 1; min-width: 0 }
.workspace-text strong { display: block; font-size: 12px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.workspace-text small { display: block; color: #9db0c2; font-size: 10px; margin-top: 4px }
.workspace-dot { border-radius: 100%; background: #60c7b4; height: 7px; width: 7px }
.sidebar-label { font-size: 9px; padding: 0 19px 10px; letter-spacing: .14em; font-weight: 800; color: #7591a7 }
.sidebar-label-tools { margin-top: 24px }
.sidebar-nav { display: grid; gap: 3px }
.nav-item { background: transparent; border: 0; color: #a9bbcd; text-align: left; display: flex; gap: 11px; align-items: center; width: 100%; border-radius: 8px; padding: 11px 14px; font-size: 12px; font-weight: 600; transition: background .15s ease, color .15s ease }
.nav-item svg { width: 17px; height: 17px; stroke-width: 1.65; flex: none }
.nav-item:hover { background: #1c334b; color: #fff }
.nav-item.active { color: #e9fff9; background: #23534f; box-shadow: inset 3px 0 0 #61dcc4 }
.nav-count { margin-left: auto; color: #85d6c6; font-size: 10px }
.sidebar-bottom { margin-top: auto; padding: 24px 8px 4px }
.sidebar-help { padding: 15px 14px; border-radius: 10px; background: linear-gradient(130deg,#1f3c50,#153947); border: 1px solid #2e4e5b }
.sidebar-help .mini-spark { color: #8ae0cc; font-size: 23px; display: block; margin-bottom: 7px }
.sidebar-help strong { display: block; font-size: 11px }
.sidebar-help small { display: block; margin-top: 7px; color: #adbec9; font-size: 10px }
.sidebar-byline { text-align: center; color: #67849a; font-size: 10px; margin-top: 22px }
.sidebar-byline strong { font-weight: 700; color: #a1bfcb }
.main { flex: 1; display: flex; min-width: 0; flex-direction: column }
.topbar { height: 68px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 35px; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px) }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px }
.topbar-left { font-size: 12px; white-space: nowrap }
.topbar-product { color: #6b7c8d }
.topbar-sep { color: #b7c2cd }
.topbar-left strong { font-size: 12px }
.demo-label { display: inline-flex; gap: 7px; align-items: center; border-radius: 100px; background: #fff4df; padding: 6px 11px; color: #95611a; font-size: 9px; letter-spacing: .06em; font-weight: 800 }
.demo-dot { width: 6px; height: 6px; border-radius: 100%; background: #d59e37 }
.topbar-help { background: transparent; border: 0; display: flex; align-items: center; gap: 7px; font-size: 11px; color: #687c8f; font-weight: 700; padding: 7px; border-radius: 6px }
.topbar-help:hover { background: #f1f5f7 }
.topbar-help svg { width: 17px; height: 17px }
.mobile-menu-button { display: none; border: 0; background: transparent; color: var(--nav); font-size: 22px }
.page { width: 100%; max-width: 1480px; margin: 0 auto; padding: 36px 38px 46px; flex: 1 }
.footer { padding: 16px 38px 20px; color: #9ca8b3; display: flex; align-items: center; justify-content: space-between; font-size: 10px; border-top: 1px solid #e7ecef; gap: 16px }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; gap: 20px }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px }
h1,h2,h3,h4,p { margin: 0 }
h1,h2,h3,h4 { font-family: "Manrope", system-ui, sans-serif; letter-spacing: -.036em; line-height: 1.3 }
h1 { font-size: clamp(24px,2.4vw,32px); font-weight: 800; margin-bottom: 7px }
h2 { font-size: 16px; font-weight: 800 }
h3 { font-size: 13px; font-weight: 800 }
h4 { font-size: 12px; font-weight: 800 }
.page-description { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 720px }
.page-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; padding-top: 10px; justify-content: flex-end }
.btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: 11px; font-weight: 800; white-space: nowrap; transition: background .15s ease, transform .15s ease; min-height: 36px; text-decoration: none }
.btn:hover { background: #f4f7f8; text-decoration: none }
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent) }
.btn-primary:hover { background: var(--accent-deep) }
.btn-danger { color: #b23d36; border-color: #eed3d0 }
.btn-danger:hover { background: var(--red-pale) }
.btn-ghost { background: transparent; border-color: transparent; color: var(--accent) }
.btn-sm { padding: 7px 10px; min-height: 31px; font-size: 10px }
.btn:disabled { opacity: .45; cursor: not-allowed }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap }
.filter-left { display: flex; gap: 9px; flex-wrap: wrap; align-items: center }
.filter-select, .field { background: #fff; border: 1px solid #dbe3e8; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 11px; outline: none; min-height: 37px }
.filter-select { min-width: 132px; cursor: pointer }
.filter-caption { font-size: 10px; color: var(--muted) }
.filter-caption strong { color: #506273 }
.period-label { font-size: 10px; color: var(--muted); font-weight: 700; margin-right: 3px }
.grid { display: grid; gap: 17px }
.stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 17px }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 20px 18px; min-width: 0; box-shadow: var(--shadow) }
.stat-card.highlight { background: linear-gradient(135deg,#086b61,#0b8775); border-color: transparent; color: #fff }
.stat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700 }
.stat-card.highlight .stat-head, .stat-card.highlight .stat-foot { color: #c5ede5 }
.stat-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #f1f5f6; color: var(--accent); font-weight: 800; font-size: 15px }
.stat-card.highlight .stat-icon { background: rgba(255,255,255,.13); color: #d6fff1 }
.stat-value { font: 800 clamp(24px,2.5vw,30px)/1.35 "Manrope",sans-serif; letter-spacing: -.055em; margin: 10px 0 3px; white-space: nowrap }
.stat-foot { font-size: 10px; color: #8795a4; line-height: 1.5; min-height: 14px }
.content-columns { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.85fr); gap: 17px; margin-bottom: 17px }
.content-columns.even { grid-template-columns: 1fr 1fr }
.panel { border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); border-radius: 12px; padding: 22px; min-width: 0; margin-bottom: 17px }
.content-columns .panel { margin-bottom: 0 }
.panel-heading { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px }
.panel-heading h2 { margin-bottom: 5px }
.panel-subtitle { font-size: 11px; color: var(--muted); line-height: 1.65 }
.panel-link { font-size: 10px; color: var(--accent-deep); border: 0; font-weight: 800; background: transparent; white-space: nowrap; padding: 5px 0 }
.chart-wrap { width: 100%; overflow: hidden }
.chart-wrap svg { height: auto; width: 100%; overflow: visible }
.chart-wrap .chart-grid { stroke: #e7ebef; stroke-width: 1 }
.chart-wrap .chart-line { stroke: #138b7b; fill: none; stroke-width: 3 }
.chart-wrap .chart-area { stroke: none; fill: url(#chartGradient) }
.chart-wrap text { fill: #8897a5; font: 10px "DM Sans",sans-serif; stroke: none }
.chart-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 5px }
.chart-summary strong { font-size: 12px }
.chart-summary span { color: var(--muted); font-size: 10px }
.waterfall { display: grid; gap: 12px; padding-top: 2px }
.waterfall-line { display: grid; grid-template-columns: 105px 1fr 80px; gap: 9px; align-items: center }
.waterfall-label { color: #637486; font-size: 10px; line-height: 1.2 }
.waterfall-track { height: 9px; border-radius: 20px; overflow: hidden; background: #eef2f3 }
.waterfall-fill { height: 100%; background: #b5cad0; border-radius: 20px }
.waterfall-fill.sales { background: #48a99d }
.waterfall-fill.contribution { background: #087f70 }
.waterfall-value { text-align: right; font-variant-numeric: tabular-nums; font-size: 10px; font-weight: 800 }
.waterfall-line.emphasis { background: #f0f9f5; border-radius: 7px; padding: 8px 7px; margin: 1px -7px 0 }
.platform-list { display: grid; gap: 19px; padding-top: 6px }
.platform-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px }
.platform-name { display: flex; gap: 9px; align-items: center; font-weight: 800; font-size: 12px }
.platform-icon { width: 29px; height: 29px; border: 1px solid #e4e9eb; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #153848; background: #f4f6f7 }
.platform-metrics { text-align: right }
.platform-metrics strong { display: block; font-size: 13px }
.platform-metrics span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px }
.platform-progress { background: #e9eff2; height: 7px; border-radius: 10px; overflow: hidden }
.platform-progress span { display: block; height: 100%; border-radius: 10px; background: #128e7f }
.platform-note { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border) }
.action-teaser { display: grid; gap: 13px }
.teaser-item { padding: 12px; border-radius: 9px; border: 1px solid #e6ecee; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px }
.teaser-item .teaser-icon { color: #0a826e; display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; background: #e7f4ef; border-radius: 7px; font-weight: 900 }
.teaser-copy { flex: 1; min-width: 0 }
.teaser-copy strong { font-size: 11px; display: block }
.teaser-copy small { display: block; color: var(--muted); line-height: 1.5; margin-top: 4px }
.teaser-money { white-space: nowrap; color: var(--accent); font-weight: 800; font-size: 11px }
.insight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px }
.insight-card { border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); border-radius: 12px; padding: 21px; display: flex; flex-direction: column; gap: 13px }
.insight-top { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.insight-category { text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--accent) }
.insight-impact { text-align: right; color: #11846e; font-size: 12px; font-weight: 800 }
.insight-impact small { font-size: 9px; display: block; color: #83919d; font-weight: 500; margin-top: 2px }
.insight-card h3 { font-size: 15px }
.insight-card p { color: #617184; font-size: 11px; line-height: 1.75 }
.evidence { border-radius: 9px; background: #f5f8fa; padding: 12px 13px }
.evidence-title { display: block; color: #5c6b77; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-bottom: 6px }
.evidence p { font-size: 10px }
.recommended-step { color: #35495a; font-size: 11px; line-height: 1.6 }
.insight-footer { margin-top: auto; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap }
.tag { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 5px 9px; font-size: 9px; font-weight: 800; color: #647484; background: #f1f4f6; white-space: nowrap }
.tag.green { background: var(--accent-pale); color: #147761 }
.tag.yellow { background: var(--warn-bg); color: var(--warn) }
.tag.red { background: var(--red-pale); color: var(--red) }
.notice { border: 1px solid #dfe8e9; border-radius: 10px; padding: 13px 15px; background: #f0f7f6; display: flex; align-items: flex-start; gap: 11px; color: #385d5b; font-size: 11px; line-height: 1.7; margin-bottom: 18px }
.notice.warn { background: #fff8eb; border-color: #f0e3c6; color: #88672f }
.notice-symbol { flex: none; font-weight: 900; margin-top: 1px }
.table-wrap { overflow: auto; width: 100% }
table { border-collapse: collapse; width: 100%; min-width: 660px; text-align: left }
th { color: #84909d; font-size: 10px; letter-spacing: .04em; font-weight: 800; padding: 12px 13px; background: #f8fafb; border-bottom: 1px solid var(--border); white-space: nowrap }
td { border-bottom: 1px solid #edf0f3; padding: 13px; color: #506174; font-size: 11px; white-space: nowrap }
tbody tr:last-child td { border-bottom: 0 }
td strong { color: var(--ink); font-size: 11px }
td small { display: block; margin-top: 4px; font-size: 10px; color: #8896a5 }
th.numeric, td.numeric { text-align: right; font-variant-numeric: tabular-nums }
.good { color: var(--accent-deep)!important; font-weight: 800 }
.bad { color: var(--red)!important; font-weight: 800 }
.cost-input { border: 1px solid #dce5e9; border-radius: 7px; max-width: 80px; padding: 7px 8px; text-align: right; color: var(--ink); background: #fbfcfd; font-size: 11px }
.cost-input:focus { border-color: #148d7d; outline: 2px solid #c7ebe2 }
.cost-note { margin-top: 14px; color: var(--muted); font-size: 10px; line-height: 1.65 }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 17px }
.search-input { min-width: 240px; width: min(100%,300px); padding-left: 12px }
.toolbar-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.summary-row { display: flex; gap: 25px; flex-wrap: wrap; padding-top: 9px }
.summary-row div { display: grid; gap: 4px }
.summary-row strong { font-size: 20px; font-family: "Manrope"; letter-spacing: -.04em }
.summary-row small { color: var(--muted); font-size: 10px }
.sim-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); gap: 23px }
.sim-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.field-block { display: grid; gap: 7px; min-width: 0 }
.field-block label { font-size: 10px; font-weight: 800; color: #68798b }
.field-block input, .field-block select, .field-block textarea { width: 100%; border: 1px solid #dce4e8; background: #fff; border-radius: 8px; padding: 10px; color: var(--ink); font-size: 12px; outline: none }
.field-block textarea { resize: vertical; min-height: 75px }
.field-block input:focus, .field-block select:focus, .field-block textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #d8f3ec }
.sim-result { background: #f2f8f6; border: 1px solid #d7ebe5; padding: 21px; border-radius: 10px; display: flex; flex-direction: column; gap: 9px }
.sim-result.loss { background: #fff7f4; border-color: #f0dbd6 }
.sim-result strong { font-size: 28px; letter-spacing: -.05em; font-family: "Manrope"; color: #0e796a; line-height: 1.2 }
.sim-result.loss strong { color: #b6463f }
.sim-result p { color: #5b7680; font-size: 11px; line-height: 1.7 }
.sim-result h3 { margin-bottom: 7px }
.sim-result .sim-totals { padding-top: 12px; margin-top: 7px; border-top: 1px solid #d4e6e2; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #688276 }
.sim-totals b { color: var(--ink) }
.action-list { display: grid; gap: 12px }
.action-row { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px }
.action-title { font-size: 13px; font-weight: 800; margin-bottom: 7px }
.action-meta { color: #8593a0; font-size: 10px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center }
.action-detail { margin-top: 8px; font-size: 11px; color: #657586; line-height: 1.65 }
.action-controls { display: flex; gap: 8px; align-items: center }
.action-controls select { min-width: 130px }
.empty-state { padding: 42px 28px; border-radius: 12px; border: 1px dashed #cfdae0; text-align: center; color: #83919e; background: #fff }
.empty-graphic { display: grid; place-items: center; height: 45px; width: 45px; background: #eaf5f1; border-radius: 12px; font-size: 23px; color: var(--accent); margin: 0 auto 15px }
.empty-state h3 { color: var(--ink); margin-bottom: 6px }
.empty-state p { max-width: 450px; margin: 0 auto 15px; font-size: 11px; line-height: 1.7 }
.data-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(270px,.9fr); gap: 18px }
.dropzone { border: 2px dashed #cbdcd7; background: #f7fbfa; border-radius: 11px; padding: 30px 22px; display: grid; gap: 10px; place-items: center; text-align: center; transition: background .2s ease }
.dropzone.dragover { background: #e5f7f1; border-color: var(--accent) }
.upload-icon { font-size: 25px; display: grid; place-items: center; width: 51px; height: 51px; background: #e3f4ee; color: #117b6d; border-radius: 13px }
.dropzone strong { font-size: 12px }
.dropzone p { color: var(--muted); font-size: 10px; line-height: 1.7 }
.dropzone input { display: none }
.data-point { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e8eff0; gap: 12px }
.data-point:last-child { border-bottom: 0 }
.data-point span { font-size: 11px; color: var(--muted) }
.data-point strong { font-size: 11px; text-align: right }
.code-label { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 10px; color: #416271; word-break: break-all; line-height: 1.8 }
.chart-legend { display: flex; align-items: center; gap: 7px; color: #81929e; font-size: 10px }
.chart-legend i { background: var(--accent); border-radius: 50%; width: 7px; height: 7px }
.span-all { grid-column: 1/-1 }
.loading { min-height: 200px; display: grid; place-items: center; color: var(--muted) }
.modal-host { position: fixed; inset: 0; z-index: 100; pointer-events: none }
.modal-host:not(:empty) { pointer-events: auto; background: rgba(12,28,44,.48); display: flex; align-items: center; justify-content: center; padding: 18px }
.modal-dialog { width: min(100%,560px); max-height: 90vh; overflow-y: auto; background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 28px 90px rgba(0,0,0,.2) }
.modal-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 13px; gap: 12px }
.modal-head h2 { font-size: 20px }
.modal-body { color: #526477; font-size: 12px; line-height: 1.8 }
.modal-body p+p { margin-top: 12px }
.modal-body ul { padding-left: 19px }
.modal-body li { margin: 6px 0 }
.modal-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px }
.close-modal { border: 0; background: #f2f5f7; color: #607384; width: 29px; height: 29px; border-radius: 8px; font-size: 18px }
.toast { position: fixed; z-index: 200; right: 25px; bottom: 24px; background: var(--nav); color: #fff; border-radius: 9px; max-width: min(400px,calc(100% - 35px)); padding: 13px 18px; box-shadow: 0 14px 40px #0b223b25; font-size: 12px; line-height: 1.6; display: none }
.toast.show { display: block }
.nav-scrim { display: none }
small { line-height: 1.5 }
.text-muted { color: var(--muted) }
.text-right { text-align: right }
.hint { margin-top: 7px; font-size: 10px; color: var(--muted); line-height: 1.7 }
.divider { border: 0; border-top: 1px solid var(--border); margin: 22px 0 }
.mini-title { font-size: 10px; letter-spacing: .09em; color: var(--muted); font-weight: 800; text-transform: uppercase }
.pill-tabs { display: inline-flex; gap: 3px; background: #f0f3f5; border-radius: 8px; padding: 3px }
.pill-tabs button { border: 0; background: transparent; border-radius: 6px; font-size: 10px; font-weight: 800; padding: 8px 12px; color: #748594 }
.pill-tabs button.selected { background: #fff; color: #1a3e45; box-shadow: 0 1px 5px #162e3912 }
@media(max-width:1200px) {
  .sidebar { width: 235px; flex-basis: 235px }
  .page { padding: 30px 25px 40px }
  .topbar { padding: 0 25px }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media(max-width:900px) {
  .sidebar { position: fixed; height: 100dvh; left: 0; top: 0; transform: translateX(-104%); width: 260px; transition: transform .2s ease }
  .sidebar.open { transform: translateX(0) }
  .nav-scrim.visible { display: block; position: fixed; inset: 0; z-index: 29; background: #09182781 }
  .mobile-menu-button { display: inline-flex }
  .content-columns,.content-columns.even,.data-grid,.sim-layout { grid-template-columns: 1fr }
  .main { width: 100% }
}
@media(max-width:650px) {
  .topbar { height: 58px; padding: 0 16px }
  .topbar-product { display: none }
  .topbar-sep { display: none }
  .topbar-right .topbar-help span { display: none }
  .topbar-left { gap: 10px }
  .topbar-right { gap: 6px }
  .page { padding: 24px 15px 32px }
  .page-heading { flex-direction: column; gap: 9px }
  .page-heading-actions { padding-top: 0; justify-content: flex-start }
  .stat-grid { gap: 10px }
  .stat-card { padding: 16px 12px }
  .stat-value { font-size: 22px }
  .stat-head { font-size: 10px }
  .panel { padding: 16px }
  .insight-grid,.sim-fields { grid-template-columns: 1fr }
  .waterfall-line { grid-template-columns: 90px 1fr 66px; gap: 6px }
  .waterfall-label,.waterfall-value { font-size: 9px }
  .footer { flex-direction: column; align-items: flex-start; padding: 15px }
  .action-row { grid-template-columns: 1fr }
  .action-controls { justify-content: space-between }
  .search-input { min-width: 0; width: 100% }
  .toolbar { align-items: stretch }
  .filter-row { align-items: flex-start }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { scroll-behavior: auto!important; transition: none!important }
}

/* 2026 visual alignment: the Stratlens website uses a forest, cream and lime palette. */
:root {
  --ink:#26392b;
  --muted:#667365;
  --faint:#8e998e;
  --accent:#52734c;
  --accent-deep:#365e40;
  --accent-pale:#e8f2e0;
  --nav:#26392b;
  --nav-soft:#3b5140;
  --canvas:#f7f7ee;
  --panel:#fff;
  --border:#dfe4d9;
  --warn:#8e6331;
  --warn-bg:#fbf2e4;
  --red:#a85a44;
  --red-pale:#fff0e9;
}
body { background:var(--canvas); }
h1 { font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(30px,2.7vw,37px);letter-spacing:-1.4px; }
.sidebar { background:var(--nav); }
.brand { padding-left:11px;padding-right:6px;gap:11px; }
.brand-icon { background:transparent;border-radius:0;transform:skewY(-13deg);flex:none;width:28px;height:31px; }
.brand-icon span { background:#dcedb4;width:5px;border-radius:1px; }
.brand-icon span:nth-child(1) { height:13px }
.brand-icon span:nth-child(2) { height:21px }
.brand-icon span:nth-child(3) { height:29px }
.product-brand { min-width:0; }
.product-brand .brand-name { font:700 14px/1.25 Arial,Helvetica,sans-serif;letter-spacing:-.35px;color:#fafcf5;white-space:normal; }
.product-brand .brand-detail { font:500 11px/1.25 Arial,Helvetica,sans-serif;color:#c4d49e;letter-spacing:0;margin-top:5px;text-transform:none; }
.workspace-switcher { background:#31483b;border-color:#526752; }
.workspace-avatar { background:#dcedb4;color:#355036; }
.workspace-text small { color:#bdcbb6; }
.workspace-dot { background:#b8d48c; }
.sidebar-label { color:#a7b69f; }
.nav-item { color:#c2d0bd; }
.nav-item:hover { background:#3c5442;color:#fff; }
.nav-item.active { background:#445f47;box-shadow:inset 3px 0 0 #dcedb4;color:#fff; }
.nav-count { color:#dcedb4; }
.sidebar-help { background:linear-gradient(125deg,#3b5341,#31493a);border-color:#607360; }
.sidebar-help .mini-spark { color:#dcedb4; }
.sidebar-help small,.sidebar-byline,.sidebar-byline strong { color:#c0cfb5; }
.topbar { background:#fffffced; }
.demo-label { background:#edf3dc;color:#546945; }
.demo-dot { background:#799b5b; }
.stat-card.highlight { background:linear-gradient(135deg,#294534,#4c6c47); }
.stat-card.highlight .stat-icon { color:#dcedb4; }
.platform-progress span,.waterfall-fill.contribution,.chart-legend i { background:var(--accent); }
.waterfall-fill.sales { background:#99b983; }
.notice { background:#f0f6e9;border-color:#dcead1;color:#4b624c; }
.notice.warn { background:#fff8ea;border-color:#eedfc5;color:#866534; }
.btn-primary { background:var(--ink);border-color:var(--ink); }
.btn-primary:hover { background:#425c44; }
.teaser-icon.caution { background:#fbefdf;color:#9b6730; }
.teaser-icon.positive { background:#e7f1dd;color:#4d7540; }
.teaser-kind { margin:-2px 0 5px; }
.finding-kind { display:inline-flex;align-items:center;border:1px solid transparent;border-radius:4px;padding:3px 7px;letter-spacing:.045em;font-size:9px;font-weight:800;white-space:nowrap; }
.finding-kind.risk { color:#97652e;background:#fcf1e1;border-color:#f3e4cc; }
.finding-kind.upside { color:#42734a;background:#e8f4e6;border-color:#d9e9d5; }
.finding-toolbar { display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin:0 0 18px; }
.finding-tabs { display:inline-flex;gap:4px;border:1px solid var(--border);background:#edf0e8;padding:4px;border-radius:9px; }
.finding-filter { display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:none;border:0;border-radius:6px;font-size:11px;font-weight:800;color:#687667; }
.finding-filter span { font-size:10px;color:#929e91; }
.finding-filter.selected { background:#fff;box-shadow:0 1px 4px #26392b13;color:var(--ink); }
.finding-filter.selected span { color:#537447; }
.finding-toolbar-caption { font-size:10px;color:var(--muted); }
.insight-card.finding-card { border-left:3px solid #d7ded4; }
.insight-card.finding-card.risk { border-left-color:#d8b885; }
.insight-card.finding-card.upside { border-left-color:#96bd85; }
.insight-card .insight-category { display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#6c7a6b;letter-spacing:0;text-transform:none;font-size:10px; }
.insight-impact { color:#496b46; }
.ads-upload-panel { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap; }
.ads-upload-panel .cost-note { flex-basis:100%;margin:2px 0 0; }
.ads-upload-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.ads-funnel { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px; }
.funnel-step { border:1px solid #e0e7dc;background:#f6f8f2;border-radius:10px;padding:17px 15px;display:flex;flex-direction:column;gap:8px;position:relative;min-width:0; }
.funnel-step.firsttime { background:#e8f2dc;border-color:#d5e5c7; }
.funnel-step-no { font-size:10px;letter-spacing:.11em;color:#729068;font-weight:800; }
.funnel-step strong { font:800 clamp(21px,2vw,28px)/1.1 "Manrope",sans-serif;letter-spacing:-.05em;color:#304934; }
.funnel-step-title { font-weight:800;font-size:11px;color:#3c5341; }
.funnel-step small { color:#72816d;font-size:10px;line-height:1.5; }
.ads-secondary-metrics { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px; }
.ads-secondary-metric { display:flex;justify-content:space-between;align-items:center;gap:9px;border-top:1px solid #e4e9df;padding-top:14px; }
.ads-secondary-metric span { font-size:10px;color:#6d7b6d; }
.ads-secondary-metric strong { font-size:14px;font-weight:800;color:#344b37;white-space:nowrap; }
.ads-recommendations { display:grid;gap:11px; }
.ads-recommendation { border:1px solid #e4e9df;border-radius:9px;padding:15px;display:flex;gap:18px;align-items:center;justify-content:space-between; }
.ads-recommendation h3 { margin:8px 0 4px;font-size:12px; }
.ads-recommendation p { font-size:11px;line-height:1.65;color:#667666;margin:0 0 6px; }
.ads-recommendation small { font-size:10px;color:#7b8a78;line-height:1.6;display:block; }
.ads-guidance-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px; }
.ads-guidance-grid>div { border-top:1px solid #dfe5d9;padding-top:17px; }
.ads-guidance-grid span { font-size:10px;color:#658360;display:block;margin-bottom:12px; }
.ads-guidance-grid strong { display:block;font-size:12px; }
.ads-guidance-grid p { font-size:11px;color:#6f806d;line-height:1.7;margin-top:6px; }
@media (max-width:1100px) { .ads-funnel { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) {
  .product-brand .brand-name { font-size:14px; }
  .finding-toolbar { align-items:flex-start; }
  .finding-tabs { width:100%; }
  .finding-filter { flex:1;justify-content:center;padding:9px 6px;font-size:10px;gap:5px; }
  .ads-funnel { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .funnel-step { padding:13px 11px; }
  .ads-secondary-metrics { grid-template-columns:1fr;gap:0; }
  .ads-secondary-metric { padding:11px 0; }
  .ads-guidance-grid { grid-template-columns:1fr;gap:13px; }
  .ads-recommendation { align-items:flex-start;flex-direction:column;gap:10px; }
  .topbar-right { gap:2px; }
  .topbar-right .topbar-help { font-size:10px; }
  .topbar-help svg { width:15px;height:15px; }
}

/* Independent risk and growth diagnosis: priority hierarchy is neutral and compact. */
.priority-badge { display:inline-flex;align-items:center;white-space:nowrap;border:1px solid transparent;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.015em;line-height:1.3; }
.priority-badge.p0 { color:#9c4b39;background:#fff0e8;border-color:#f4d7c7; }
.priority-badge.p1 { color:#906a28;background:#faf3e4;border-color:#eee3c9; }
.priority-badge.p2 { color:#536b5a;background:#edf2e8;border-color:#dce7d7; }
.priority-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 18px; }
.priority-summary-item { display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:16px; }
.priority-summary-item strong { font:800 19px "Manrope",sans-serif;letter-spacing:-.04em;color:#344b3b; }
.priority-summary-item small { color:#7a8878;font-size:10px;line-height:1.65; }
.teaser-kind { display:flex;gap:6px;flex-wrap:wrap;align-items:center; }
.insight-top .insight-category { gap:7px; }
.growth-journey { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;background:#e8efe0;border:1px solid #d8e4d1;border-radius:10px;padding:14px 19px;margin:0 0 18px; }
.growth-journey span { font-size:11px;color:#6d826a;font-weight:700; }
.growth-journey span.active { color:#2d503a;font-weight:800; }
.growth-journey b { color:#87a27a;font-size:13px;font-weight:500; }
.budget-overview { background:#fcfdf9; }
.budget-kpis { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.budget-kpis>div { min-width:0;padding:12px 15px;background:#f2f5ed;border-radius:8px;border:1px solid #e4e9dd;display:grid;gap:8px; }
.budget-kpis small { font-size:10px;color:#73816d; }
.budget-kpis strong { color:#2c4437;font-size:19px;font-family:"Manrope";letter-spacing:-.035em; }
.budget-input { min-width:100px;width:115px;border:1px solid #d7e1d4;background:white;border-radius:6px;padding:8px 9px;font-size:11px;color:#2c4337; }
.budget-input:focus { outline:2px solid #a5c89c; }
.budget-demo-label { display:block;font-size:9px;color:#9a9682;margin-top:3px;font-style:italic; }
.roi-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.roi-stat { border:1px solid #e4eadd;border-radius:8px;background:#f8faf5;padding:14px;display:grid;gap:9px;min-width:0; }
.roi-stat small { font-size:10px;color:#738171;line-height:1.5; }
.roi-stat strong { font:800 clamp(15px,1.6vw,21px) "Manrope",sans-serif;letter-spacing:-.04em; }
.roi-scenario { background:#f3f7ec;border:1px solid #dce8d3;border-radius:10px;padding:17px 20px;margin:19px 0 10px; }
.roi-scenario>label { font-size:12px;color:#3f5640;line-height:1.7;display:block; }
.roi-row { display:flex;align-items:center;gap:11px;margin:10px 0; }
.roi-row .field { width:115px; }
.roi-row span { font-size:11px;color:#6e7e6d; }
.roi-answer { display:flex;flex-direction:column;gap:6px;padding-top:12px;margin-top:10px;border-top:1px solid #d8e4d2; }
.roi-answer small { font-size:10px;color:#647562; }
.roi-answer strong { font:800 23px "Manrope",sans-serif;letter-spacing:-.04em; }
.roi-answer span { color:#6d7c6a;font-size:10px; }
.menu-health-tag { display:inline-flex;background:#f0f2e9;border:1px solid #e3e7dd;padding:5px 7px;border-radius:4px;color:#667866;white-space:nowrap;font-size:10px;font-weight:700; }
.menu-health-tag.risk { background:#fff1e9;color:#a15e43;border-color:#f3e0d3; }
.menu-health-tag.opportunity { background:#e8f3e3;color:#4e784b;border-color:#d9e9d3; }
.audit-input { width:75px;min-width:60px;border:1px solid #dce4d7;border-radius:6px;padding:8px 7px;font-size:11px;text-align:right;background:white; }
.audit-select { min-width:135px;max-width:160px; }
.cohort-range { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;flex-wrap:wrap; }
.cohort-range>strong { font-size:12px; }
.cohort-bars { display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));align-items:end;gap:18px;border-bottom:1px solid #e4e9df;margin:24px 0;min-height:180px;padding:0 18px 0; }
.cohort-bar { display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:8px;font-variant-numeric:tabular-nums; }
.cohort-bar strong { font-weight:800;font-size:12px;color:#345444; }
.cohort-bar span { font-size:10px;color:#72816e;margin-bottom:12px; }
.cohort-bar-track { display:flex;align-items:flex-end;justify-content:center;width:100%;max-width:66px;height:115px; }
.cohort-bar-track>div { background:linear-gradient(180deg,#a8c89b,#55815a);width:100%;border-radius:6px 6px 0 0; }
.cohort-bar:last-child .cohort-bar-track>div { background:linear-gradient(180deg,#6d966c,#355f47); }
@media(max-width:1000px) {
  .roi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .priority-summary { grid-template-columns:1fr;gap:8px; }
  .priority-summary-item { padding:12px 14px; }
  .budget-kpis { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .budget-kpis>div { padding:12px 10px; }
  .budget-kpis strong { font-size:16px; }
  .roi-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .roi-stat { padding:12px 9px; }
  .roi-stat strong { font-size:17px; }
  .growth-journey { justify-content:center;padding:11px;gap:6px; }
  .growth-journey span { font-size:10px; }
  .growth-journey b { font-size:11px; }
  .panel-heading:has(.pill-tabs) { flex-direction:column; }
  .panel-heading .pill-tabs { align-self:flex-start; }
  .audit-select { min-width:125px; }
  .cohort-bars { gap:9px;padding:0 4px; }
}


/* Review v1: decisions first; the detail remains available on demand. */
.chart-line { stroke:#557d54!important; stroke-width:3!important; }
.chart-prior { fill:none;stroke:#9fa9a0;stroke-width:2;stroke-dasharray:7 5;stroke-linecap:round;stroke-linejoin:round; }
.chart-legend-row { display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin:14px 0 7px;color:#778476;font-size:10px;font-weight:600; }
.chart-legend-row span { display:inline-flex;align-items:center;gap:7px; }
.chart-legend-row i { display:inline-block;width:24px;height:0;border-top:2px solid #557d54; }
.chart-legend-row i.legend-prior { border-top-color:#9fa9a0;border-top-style:dashed; }
.metric-tabs { width:fit-content;max-width:100%;display:flex;gap:3px; }
.metric-tabs button { white-space:nowrap; }
.period-comparison { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 13px; }
.period-comparison>div { padding:10px 12px;border-radius:8px;background:#f2f6ee;border:1px solid #e5ebe0;display:flex;flex-direction:column;gap:5px;min-width:0; }
.period-comparison span { color:#778474;font-size:10px; }
.period-comparison strong { color:#2c4936;font:800 clamp(14px,1.5vw,18px)/1.25 "Manrope",system-ui,sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
.period-comparison small { color:#728070;font-size:10px;line-height:1.5; }
.period-comparison strong.compare-up { color:#3e764b; }
.period-comparison strong.compare-down { color:#a96049; }
.trend-explanation { font-size:11px;color:#586d5b;line-height:1.7;background:#f5f8f1;border-left:3px solid #b4cba9;padding:10px 13px;margin:12px 0; }
.overview-actions { border-color:#d7e2d1; }
.overview-actions .panel-heading { margin-bottom:13px; }
.overview-actions .action-teaser { gap:9px; }
.teaser-item.compact-priority { padding:13px 12px;align-items:center;background:#fff;position:relative;box-shadow:none; }
.compact-priority { border-left-width:4px!important;border-left-style:solid!important; }
.compact-priority.tier-p0 { border-left-color:#bd7661!important; }
.compact-priority.tier-p1 { border-left-color:#c6a464!important; }
.compact-priority.tier-p2 { border-left-color:#a7b3a6!important; }
.compact-priority .teaser-open { background:none;border:0;font-size:20px;color:#678366;padding:7px;flex:none; }
.teaser-item .teaser-copy strong { font-size:12px;line-height:1.5; }
.teaser-item .teaser-copy small { font-size:10px; }
.compact-insights { gap:12px; }
.insight-card.compact-priority { gap:10px;padding:17px 18px; }
.compact-insights .insight-top { align-items:flex-start;gap:7px; }
.compact-insights .insight-card h3 { font-size:14px;line-height:1.45;letter-spacing:-.02em; }
.compact-insights .insight-card .compact-summary { font-size:11px;line-height:1.65;color:#677567; }
.priority-badge { font-size:10px;letter-spacing:0;padding:5px 9px; }
.observed-exposure { color:#647665;font-size:10px;white-space:nowrap;font-weight:700; }
.priority-strip { display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px; }
.priority-strip>span { border:1px solid #e0e7db;background:#fff;padding:8px 11px;border-radius:7px;font-size:10px;color:#61715f;display:inline-flex;align-items:center;gap:5px; }
.priority-strip b { font-weight:800;color:#354d37; }
.priority-strip>details { margin-left:auto;position:relative;max-width:320px;color:#687867;font-size:10px; }
.priority-strip>details summary { cursor:pointer;padding:6px;color:#56724f;font-weight:700; }
.priority-strip>details p { padding:11px 13px;background:#f5f8f1;border:1px solid #e0e8d9;border-radius:7px;font-size:10px;line-height:1.7; }
.compact-next { display:grid;gap:6px;background:#f7faf4;border:1px solid #e8eee3;padding:11px 12px;border-radius:8px; }
.compact-next span { color:#799075;font-size:9px;letter-spacing:.055em;font-weight:800;text-transform:uppercase; }
.compact-next strong { color:#364d3a;font-size:11px;font-weight:600;line-height:1.6; }
.finding-evidence { font-size:11px; }
.finding-evidence summary { color:#58754e;font-size:11px;font-weight:700;cursor:pointer;padding:6px 0; }
.finding-evidence .evidence { margin:6px 0 2px;border:1px solid #e6ede2;background:#f9faf7; }
.finding-evidence .evidence p { font-size:11px;line-height:1.75; }
.finding-evidence .evidence p+p { margin-top:10px; }
.finding-detail-row { display:grid;gap:5px;margin:10px 0;font-size:10px;color:#657667; }
.compact-insights .insight-footer { display:flex;margin-top:0;justify-content:flex-end; }
.compact-insights .insight-footer .btn { min-width:125px; }
.contribution-ledger { font-size:12px; }
.ledger-line { display:flex;align-items:center;justify-content:space-between;gap:13px;padding:13px 8px;color:#344735; }
.ledger-line strong { font-size:13px;font-weight:800;font-variant-numeric:tabular-nums; }
.ledger-sales { border-bottom:1px solid #e1e8dd;font-weight:700; }
.ledger-subline { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 8px;color:#6c7a6a;font-size:11px; }
.ledger-subline>span:last-child { font-variant-numeric:tabular-nums;white-space:nowrap; }
.ledger-subline small { display:inline-block;color:#8d9a89;margin-left:6px; }
.ledger-subtotal { background:#f1f6eb;border-radius:7px;margin:8px 0;font-weight:800; }
.ledger-label { display:flex;align-items:center;justify-content:space-between;padding:14px 7px 9px;margin-top:9px;border-top:1px solid #e1e8dd;color:#5b6c59;font-weight:800; }
.ledger-label strong { font-size:12px;font-variant-numeric:tabular-nums; }
.ledger-group { border-bottom:1px solid #edf1ea; }
.ledger-group summary { display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:10px;align-items:center;cursor:pointer;list-style:none;padding:11px 8px; }
.ledger-group summary::-webkit-details-marker { display:none; }
.ledger-group summary>span:first-child { display:flex;flex-direction:column;gap:3px;color:#4d5f4d;font-weight:600; }
.ledger-group summary>span:first-child small { color:#8c9a89;font-size:10px;font-weight:400; }
.ledger-group summary strong { color:#344936;font-size:12px;font-variant-numeric:tabular-nums; }
.ledger-chevron { color:#8ba286;transition:transform .15s; }
.ledger-group[open] .ledger-chevron { transform:rotate(180deg); }
.ledger-subitems { background:#fafbf8;padding:2px 8px 8px 14px;margin-bottom:6px;border-radius:6px; }
.ledger-subitems .ledger-subline { font-size:10px; }
.ledger-detail-note { font-size:10px;line-height:1.65;color:#748371;padding:6px 4px; }
.ledger-final { background:#e9f3e6;border:1px solid #d9e9d4;border-radius:9px;padding:16px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px; }
.ledger-final span,.ledger-final strong { display:flex;flex-direction:column;gap:5px; }
.ledger-final span { font-weight:800;color:#37563d; }
.ledger-final small { font-size:10px;color:#668267;font-weight:400; }
.ledger-final strong { font:800 22px "Manrope",system-ui,sans-serif;letter-spacing:-.04em;color:#315b3b;text-align:right;font-variant-numeric:tabular-nums; }
.ledger-final strong small { text-align:right;letter-spacing:0; }
@media(max-width:650px) {
  .page { padding-top:18px; }
  .overview-actions { margin-top:8px; }
  .page-heading { margin-bottom:18px; }
  .page-description { line-height:1.6; }
  .period-comparison { gap:6px; }
  .period-comparison>div { padding:10px 7px; }
  .period-comparison span { font-size:9px; }
  .period-comparison strong { font-size:14px; }
  .period-comparison small { font-size:9px; }
  .metric-tabs { width:100%; }
  .metric-tabs button { flex:1;font-size:10px;padding:8px 6px; }
  .priority-strip>details { margin-left:0;width:100%;max-width:none; }
  .insight-card.compact-priority { padding:14px 15px; }
  .compact-insights .insight-card h3 { font-size:14px; }
  .compact-insights .insight-top { flex-wrap:wrap; }
  .observed-exposure { margin-left:0;font-size:9px; }
  .contribution-ledger { font-size:11px; }
  .ledger-group summary { padding:10px 4px; }
  .ledger-final strong { font-size:19px; }
  .topbar-right .demo-label { font-size:0;padding:7px 8px;gap:5px; }
  .topbar-right .demo-label:after { content:"DEMO";font-size:9px;letter-spacing:.04em; }
}


/* Menu mix, read-only listing quality, prospective cost scenarios and actions */
.menu-dashboard-header { display:flex;gap:15px;align-items:center;justify-content:space-between;margin:5px 0 17px;flex-wrap:wrap; }
.menu-tabs { display:flex;gap:4px;max-width:100%; }
.menu-tabs button { white-space:nowrap;padding:9px 14px; }
.menu-dashboard-meta { color:#738470;font-size:11px;font-weight:600; }
.menu-main-panel { overflow:hidden; }
.menu-main-panel .toolbar { margin-top:4px; }
.menu-main-panel .table-wrap { border:1px solid #e9eee6;border-radius:8px; }
.menu-main-panel td { vertical-align:middle; }
.menu-main-panel td .btn-sm { min-width:92px; }
.mix-quadrants { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 19px; }
.mix-quadrant { background:#f6f8f3;border:1px solid #e4ebe0;border-radius:9px;padding:13px 14px;display:flex;flex-direction:column;gap:6px;min-width:0; }
.mix-quadrant strong { color:#304b37;font:800 12px/1.4 "Manrope",sans-serif; }
.mix-quadrant span { color:#668567;font:800 15px "Manrope",sans-serif; }
.mix-quadrant p { color:#6d7d6b;font-size:10px;line-height:1.65; }
.mix-quadrant.star { background:#edf5e9;border-color:#dcead6; }
.mix-quadrant.workhorse { background:#fbf5eb;border-color:#eee3cc; }
.mix-quadrant.hidden { background:#f1f6ec; }
.mix-quadrant.review { background:#f7f7f3; }
.mix-decomposition { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:7px 0 12px; }
.mix-decomposition>div { display:grid;gap:8px;border:1px solid #e3e9df;border-radius:9px;padding:13px;background:#fafbf8; }
.mix-decomposition>div:nth-child(3) { background:#edf5e8;border-color:#dae8d4; }
.mix-decomposition small { color:#6e7c6e;font-size:10px;line-height:1.5; }
.mix-decomposition strong { color:#344e39;font:800 clamp(14px,1.4vw,19px)/1.3 "Manrope",sans-serif;letter-spacing:-.03em; }
.scenario-summary { padding:14px 16px;margin:0 0 16px;background:#f1f6e9;border:1px solid #dce9d5;border-radius:9px;display:grid;gap:7px; }
.scenario-summary strong { color:#3d5b3e;font-size:12px; }
.scenario-summary span { color:#50694c;font-size:12px;font-weight:700; }
.scenario-summary small { color:#819078;font-size:10px;line-height:1.6; }
.scenario-impact { background:#f2f7eb;padding:12px;border:1px solid #dfebd8;border-radius:8px;color:#506c4d;font-size:12px;line-height:1.6; }
.modal-body form>.field-block { margin-top:14px; }
.modal-body form>.field-block:first-of-type { margin-top:16px; }
.modal-body form>.btn[type="submit"] { margin-top:17px; }
.modal-body form>p { margin-bottom:12px; }
.modal-body form>.mini-title { margin:20px 0 13px; }
.review-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.review-grid .field-block { min-width:0; }
.review-grid input { min-width:0; }
.action-result { border:1px solid #dde9d6;background:#f4f8f0;border-radius:8px;padding:12px 13px;margin-top:13px;display:grid;gap:7px; }
.action-result>div { display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap; }
.action-result span { font-size:10px;color:#667b63;font-weight:700; }
.action-result strong { font:800 17px "Manrope",sans-serif;letter-spacing:-.02em; }
.action-result p { color:#586d58;font-size:11px;line-height:1.6; }
.action-result small { color:#849180;font-size:10px;line-height:1.6; }
.action-controls { flex-wrap:wrap;justify-content:flex-end; }
@media(max-width:1150px) {
  .mix-quadrants,.mix-decomposition { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .menu-dashboard-header { align-items:flex-start;gap:8px; }
  .menu-tabs { width:100%; }
  .menu-tabs button { flex:1;min-width:0;padding:9px 7px;font-size:10px; }
  .mix-quadrants,.mix-decomposition { gap:8px; }
  .mix-quadrant { padding:11px; }
  .mix-quadrant strong { font-size:11px; }
  .mix-decomposition>div { padding:11px; }
  .mix-decomposition strong { font-size:15px; }
  .menu-main-panel .table-wrap { margin-right:0; }
  .action-controls { justify-content:flex-start; }
  .action-controls select { min-width:115px;flex:1; }
  .action-result { padding:11px; }
  .review-grid { gap:10px; }
}


/* Compact, progressively disclosed item lists instead of truncated phone tables. */
.menu-mobile-list { display:none; }
@media(max-width:650px) {
  .menu-main-panel .table-wrap { display:none; }
  .menu-mobile-list { display:grid;gap:9px;margin:8px 0 14px; }
  .menu-mobile-item { border:1px solid #dfe8da;border-radius:9px;background:#fff;overflow:hidden; }
  .menu-mobile-item summary { list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:12px 13px;position:relative; }
  .menu-mobile-item summary::-webkit-details-marker { display:none; }
  .menu-mobile-item summary:after { content:"⌄";position:absolute;right:7px;top:8px;color:#8a9b85;font-size:16px; }
  .menu-mobile-name { display:grid;gap:4px;min-width:0;padding-right:14px;flex:1 1 150px; }
  .menu-mobile-name strong { color:#344b38;font:800 12px/1.4 "Manrope",system-ui,sans-serif; }
  .menu-mobile-name small { color:#829181;font-size:10px; }
  .menu-mobile-key { flex:1 1 120px;color:#4a6b4c;font-size:11px;font-weight:700;line-height:1.45;text-align:right;padding-right:10px; }
  .menu-mobile-item[open] summary { background:#f6f9f3;border-bottom:1px solid #e4eae0; }
  .menu-mobile-item[open] summary:after { transform:rotate(180deg); }
  .menu-mobile-expanded { padding:13px; }
  .menu-mobile-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px; }
  .menu-mobile-grid>div { display:grid;gap:3px;min-width:0; }
  .menu-mobile-grid small { color:#7e8e78;font-size:9px;line-height:1.5; }
  .menu-mobile-grid strong { color:#39533c;font-size:11px;line-height:1.5;overflow-wrap:anywhere; }
  .menu-mobile-expanded>.btn { margin-top:15px; }
}


/* Merchant decision tools and the four-level owner-facing priority system */
.priority-badge.p0 { color:#953f38;background:#fcece8;border-color:#f1d0c8; }
.priority-badge.p1 { color:#986321;background:#fcf4e4;border-color:#ecdec0; }
.priority-badge.p2 { color:#4d704e;background:#edf5e7;border-color:#d8e7d4; }
.priority-badge.p3 { color:#6a776c;background:#eff1ef;border-color:#dee4de; }
.compact-priority.tier-p0 { border-left-color:#b96655!important; }
.compact-priority.tier-p1 { border-left-color:#c7a04e!important; }
.compact-priority.tier-p2 { border-left-color:#88b17f!important; }
.compact-priority.tier-p3 { border-left-color:#aeb9b0!important; }
.overview-quicklinks { display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:12px; }
.overview-quicklinks .panel-link { font-size:10px; }
.page-heading-actions-inline { display:flex;flex-wrap:wrap;align-items:center;gap:8px; }
.comparison-controls { display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:12px 0 1px;color:#6e7e6c;font-size:11px; }
.comparison-controls>label:first-child { font-weight:700;font-size:10px; }
.comparison-controls .filter-select { min-width:190px; }
.comparison-controls .average-check { display:inline-flex;align-items:center;gap:7px;
  cursor:pointer;font-size:10px;color:#5d765b;font-weight:700; }
.average-check input { accent-color:#517653;width:16px;height:16px; }
.chart-average { stroke:#bb9154;stroke-width:2;stroke-dasharray:2 5; }
.chart-legend-row i.legend-average { border-top:2px dotted #bb9154; }
.custom-date-fields { display:flex;align-items:center;flex-wrap:wrap;gap:8px; }
.custom-date-fields>label { display:flex;align-items:center;gap:6px;color:#697969;font-size:10px;font-weight:700; }
.custom-date-fields input { font:inherit;padding:8px;border-radius:7px;border:1px solid #dbe4d6;
  background:#fff;max-width:144px;color:#344b36; }
.pnl-links { display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px; }
.setup-form { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:12px 0 6px; }
.setup-form .field-block { min-width:0; }
.setup-form button[type=submit] { justify-self:start;align-self:end; }
.setup-expand { margin-top:16px;border-top:1px solid #e4eadd;padding-top:12px; }
.setup-expand summary { color:#426b45;cursor:pointer;font-weight:800;font-size:11px;padding:6px 0; }
.setup-expand[open] summary { margin-bottom:12px; }
.strategy-fields { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:6px 0 18px; }
.strategy-fields .field-block { min-width:0; }
.strategy-results { display:grid;gap:17px; }
.strategy-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px; }
.strategy-metrics>div { display:flex;flex-direction:column;gap:8px;min-width:0;padding:13px;
  border-radius:8px;border:1px solid #e1e9db;background:#f8faf4; }
.strategy-metrics>div.strategy-focus { background:#e9f4e6;border-color:#d5e9d1; }
.strategy-metrics small,.strategy-thresholds small { color:#667a64;font-size:10px;line-height:1.55; }
.strategy-metrics strong,.strategy-thresholds strong { font:800 clamp(15px,1.5vw,21px)/1.25 "Manrope",sans-serif;letter-spacing:-.04em;color:#34553b;overflow-wrap:anywhere; }
.strategy-metrics span { font-size:10px;color:#748474; }
.strategy-thresholds { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.strategy-thresholds>div { display:grid;gap:8px;padding:13px;border:1px solid #e1e7db;border-radius:8px; }
.strategy-interpretation { border-left:3px solid #a0b995;background:#f4f8ef;padding:15px 17px;border-radius:6px; }
.strategy-interpretation strong { color:#334f39;font-size:12px; }
.strategy-interpretation p { margin-top:7px;color:#697967;font-size:11px;line-height:1.7; }
@media(max-width:1050px) {
  .strategy-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .strategy-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .overview-quicklinks { justify-content:flex-start;gap:14px; }
  .contribution-trend-panel .comparison-controls { display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px; }
  .contribution-trend-panel .comparison-controls .filter-select { min-width:0;width:100%; }
  .contribution-trend-panel .comparison-controls .average-check { grid-column:1/-1; }
  .filter-left { width:100%; }
  .custom-date-fields { width:100%;gap:8px; }
  .custom-date-fields>label { flex:1;min-width:0; }
  .custom-date-fields input { max-width:100%;width:100%; }
  .pnl-links { justify-content:flex-start; }
  .strategy-fields { grid-template-columns:1fr 1fr;gap:12px; }
  .strategy-metrics,.strategy-thresholds { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .strategy-metrics>div { padding:11px; }
  .strategy-thresholds>div { padding:11px; }
  .strategy-metrics strong,.strategy-thresholds strong { font-size:16px; }
  .setup-form { grid-template-columns:1fr; }
  .strategy-fields .field-block:first-child,.strategy-fields .field-block:nth-child(2) { grid-column:1/-1; }
}

/* Distinct optional future-cost comparison and commercial-decision entry */
.strategy-cost-toggle { display:inline-flex;align-items:center;gap:10px;cursor:pointer;
  margin:2px 0 16px;color:#526d51;font-size:11px;font-weight:700;line-height:1.6; }
.strategy-cost-toggle input { accent-color:#517653;width:17px;height:17px;flex:none; }
.strategy-shortcut { display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:18px;background:#f5f9f1;border-color:#dce8d8;margin-top:17px; }
.strategy-shortcut>div { flex:1;min-width:240px; }
.strategy-shortcut .btn { flex:none; }
@media(max-width:650px) {
  .strategy-cost-toggle { align-items:flex-start; }
  .strategy-shortcut { align-items:stretch; }
  .strategy-shortcut>div { min-width:0; }
  .strategy-shortcut .btn { width:100%; }
}

/* Final polish: separate financial assumptions from actions; mobile contract cards. */
.strategy-cost-toggle { display:flex;width:100%;margin:14px 0 7px;align-items:center;gap:10px; }
#strategyForm > .btn[type="submit"] { display:inline-flex;margin-top:12px;clear:both; }
.contracts-mobile { display:none; }
@media(max-width:650px) {
  .strategy-cost-toggle { line-height:1.7;align-items:flex-start; }
  .strategy-cost-toggle input { margin-top:2px; }
  .contracts-mobile { display:grid;gap:10px;margin:8px 0 5px; }
  .contracts-mobile .contract-card {
    display:flex;flex-direction:column;align-items:flex-start;gap:7px;
    padding:13px;border-radius:9px;border:1px solid #e2e9db;background:#fafcf7;
  }
  .contracts-mobile .contract-card>div {display:flex;justify-content:space-between;
    align-items:center;gap:15px;width:100%;color:#385b3d;}
  .contracts-mobile .contract-card>div strong {font-size:12px;}
  .contracts-mobile .contract-card>div span {font-weight:800;font-size:14px;}
  .contracts-mobile .contract-card small {font-size:10px;line-height:1.5;color:#748572;}
  .contracts-mobile .contract-card .btn {margin-top:3px;}
  /* Only the Platform agreements table is replaced; actual fee data remain visible in the overview. */
  .contracts-mobile+.setup-expand {margin-top:14px;}
  .panel:has(.contracts-mobile) > .table-wrap {display:none;}
}


/* Financial source quality, settlement status and contextual price tests */
.quality-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:5px 0 14px; }
.quality-cards>div { background:#f3f7f0;border:1px solid #e0e9dc;padding:13px;
  border-radius:8px;display:grid;gap:8px;min-width:0; }
.quality-cards small { color:#6f806c;font-size:10px;line-height:1.5; }
.quality-cards strong { color:#37533b;font:800 17px "Manrope",sans-serif;overflow-wrap:anywhere; }
.quality-explanation { font-size:11px;line-height:1.7;color:#576e56;margin:12px 0; }
.quality-source-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.quality-source-list>div { display:flex;flex-direction:column;gap:5px;border:1px solid #ebf0e6;
  border-radius:6px;padding:10px; }
.quality-source-list span { font-size:10px;color:#7b8a78; }
.quality-source-list strong { font-size:11px;color:#436345; }
.mobile-item-buttons { display:flex;flex-wrap:wrap;gap:8px;margin-top:12px; }
.mobile-item-buttons>.btn { min-width:95px; }
.pricing-conditional { margin-top:11px; }
.pricing-conditional .field-block { min-width:0; }
.price-simulator>p { margin-bottom:12px;line-height:1.65; }
.price-simulator #pricingForm { display:grid;gap:12px; }
.price-simulator #pricingForm .field-block { margin:0; }
.pricing-result { margin-top:17px;border:1px solid #dbe9d4;background:#f5f9f1;
  border-radius:9px;padding:14px;display:grid;gap:12px; }
.pricing-metrics { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.pricing-metrics>div { display:grid;gap:5px;min-width:0; }
.pricing-metrics small { color:#6d826e;font-size:10px;line-height:1.5; }
.pricing-metrics strong { color:#305139;font:800 18px/1.3 "Manrope",sans-serif; }
.pricing-metrics .bad { color:#ae5c4c!important; }
.pricing-delta { color:#3b6540;font-size:12px;font-weight:700;line-height:1.6; }
@media(max-width:650px) {
  .quality-cards { grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
  .quality-cards>div { padding:10px; }
  .quality-cards strong { font-size:14px; }
  .quality-source-list { gap:6px; }
  .quality-source-list>div { padding:8px; }
  .modal-dialog:has(.price-simulator) { padding:18px; }
  .pricing-metrics { gap:9px; }
  .pricing-metrics strong { font-size:15px; }
}


/* Final usability pass — keep deep analysis, reduce what owners see first. */
.section-tabs {display:inline-flex;gap:4px;background:#edf2e8;border:1px solid #e0e8db;
  border-radius:9px;padding:4px;margin:0 0 18px;max-width:100%;}
.section-tabs button {border:0;background:transparent;border-radius:6px;padding:10px 17px;
  color:#667966;font-weight:800;font-size:11px;min-width:120px;cursor:pointer;}
.section-tabs button.selected {background:#fff;color:#31593c;box-shadow:0 1px 4px #26392b16;}
.section-tabs button:hover:not(.selected) {background:#e4ebdf;color:#3f654a;}
.mini-context {font-size:11px;color:#67776b;line-height:1.55;margin:0 0 16px;
  padding:9px 12px;border-left:3px solid #b5caab;background:#f3f8ef;border-radius:4px;}
.method-details {font-size:11px;color:#6a7c6b;margin-top:12px;}
.method-details summary {cursor:pointer;color:#55734f;font-weight:700;list-style:revert;padding:4px 0;}
.method-details p {margin:8px 0 0;color:#758173;line-height:1.7;padding:10px 12px;
  border:1px solid #e1e8db;background:#f8faf5;border-radius:6px;}
.sidebar-label-tools {margin-top:22px;}
.demo-label[data-mode="imported"] {background:#e9f0f4;color:#496577;}
.demo-label[data-mode="imported"] .demo-dot {background:#6d8e9d;}
.overview-actions .panel-heading {align-items:center;}
.overview-actions .action-teaser {gap:8px;}
.overview-actions .teaser-item {padding:13px 15px;min-height:0;}
.overview-actions .teaser-copy {display:grid;gap:5px;}
.overview-actions .teaser-copy .teaser-kind {margin:0;gap:7px;}
.overview-actions .teaser-copy strong {font-size:12px;line-height:1.45;}
.overview-actions .teaser-copy small {font-size:10px;line-height:1.5;}
.overview-actions .teaser-open {margin-left:auto;align-self:center;}
.overview-actions .panel-link {white-space:nowrap;}
.period-comparison {grid-template-columns:repeat(2,minmax(0,1fr));}
.action-overview {display:flex;gap:16px;align-items:center;flex-wrap:wrap;
  margin:0 0 16px;color:#5f725e;font-size:11px;}
.action-overview>span {display:inline-flex;align-items:baseline;gap:5px;}
.action-overview b {font:800 19px "Manrope",system-ui,sans-serif;color:#355b3e;}
.action-filter-bar {display:flex;justify-content:space-between;align-items:center;
  gap:12px;flex-wrap:wrap;margin-bottom:15px;}
.action-filter-bar>.pill-tabs {display:flex;flex-wrap:wrap;max-width:100%;}
.action-filter-bar .pill-tabs button {min-width:90px;}
.action-filter-bar .pill-tabs span {font-size:10px;color:#80917c;}
.action-filter-bar>span {font-size:10px;color:#80917c;}
.action-details summary {color:#587654;font-size:10px;font-weight:700;
  cursor:pointer;list-style:revert;padding:7px 0;}
.action-details p {font-size:11px;color:#647663;line-height:1.65;padding:8px 11px;
  border-radius:7px;background:#f5f8f1;}
.action-row {padding:16px;gap:13px;align-items:start;}
.action-row .action-title {font-size:13px;line-height:1.4;}
.action-row .action-meta {align-items:center;}
.action-row .action-meta>span {white-space:normal;}
.action-row .action-controls {align-items:center;}
.strategy-decision {border-left:4px solid #809f75;border-radius:7px;background:#eff6eb;
  padding:17px 19px;display:grid;gap:7px;}
.strategy-decision>span {color:#557151;font-size:10px;font-weight:800;letter-spacing:.02em;}
.strategy-decision strong {font:800 clamp(24px,2.6vw,34px)/1.2 "Manrope",sans-serif;
  color:#366043;letter-spacing:-.045em;}
.strategy-decision strong.bad {color:#ad614c!important;}
.strategy-decision p {color:#577059;font-size:11px;line-height:1.55;}
.advanced-assumptions,.strategy-more {margin:13px 0 16px;border:1px solid #e0e9db;
  border-radius:9px;background:#fafcf7;padding:12px 14px;}
.advanced-assumptions summary,.strategy-more summary {color:#496b4b;cursor:pointer;
  font-size:11px;font-weight:800;padding:3px;}
.advanced-assumptions[open] summary,.strategy-more[open] summary {margin-bottom:14px;}
.advanced-assumptions .strategy-fields {margin:5px 0 12px;}
.strategy-first-period {display:flex;justify-content:space-between;align-items:center;
  gap:12px;color:#6c806b;font-size:10px;padding:8px 0;}
.strategy-first-period strong {font:800 17px "Manrope",sans-serif;color:#39553d;}
.scenario-sensitivity {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;margin-top:10px;}
.scenario-sensitivity>div {display:grid;gap:6px;padding:12px;min-width:0;
  border-radius:8px;border:1px solid #e0e8db;background:#fff;}
.scenario-sensitivity small {color:#6c7e6d;font-size:10px;line-height:1.5;}
.scenario-sensitivity strong {font:800 17px "Manrope",sans-serif;color:#3e6042;}
.scenario-sensitivity span {font-size:10px;color:#7d887a;}
.insight-card .insight-category {gap:9px;}
.panel-subtitle,.page-description {max-width:640px;}
.sidebar-byline {font-size:10px;}
@media(max-width:650px) {
  .topbar-right .demo-label[data-mode="imported"]:after {content:"LOCAL";font-size:9px;}
  .section-tabs {display:flex;width:100%;padding:4px;gap:4px;}
  .section-tabs button {min-width:0;flex:1;padding:11px 7px;font-size:11px;}
  .mini-context {font-size:11px;padding:8px 10px;margin-bottom:13px;}
  .page {padding-top:18px;}
  .overview-actions .panel-heading {align-items:flex-start;gap:6px;}
  .overview-actions .panel-link {font-size:10px;}
  .overview-actions .teaser-item {padding:12px 13px;}
  .overview-actions .teaser-copy strong {font-size:12px;}
  .period-comparison {gap:8px;}
  .action-overview {gap:12px;padding:3px 0;}
  .action-overview b {font-size:17px;}
  .action-filter-bar {align-items:flex-start;gap:7px;}
  .action-filter-bar>.pill-tabs {width:100%;}
  .action-filter-bar .pill-tabs button {flex:1;min-width:0;padding:9px 7px;}
  .action-row {padding:14px;}
  .action-row .action-controls {justify-content:flex-start;gap:7px;}
  .action-row .action-controls .btn {flex:0 1 auto;}
  .advanced-assumptions,.strategy-more {padding:10px;}
  .strategy-decision {padding:14px 15px;}
  .scenario-sensitivity {grid-template-columns:1fr;}
  .strategy-first-period {align-items:flex-start;}
  .strategy-more .strategy-thresholds {grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* Data upload is secondary after a restaurant has useful reports loaded. */
.data-setup-disclosure {border:1px solid #dee8d9;border-radius:9px;
  margin:2px 0 17px;background:#f6f9f2;overflow:hidden;}
.data-setup-disclosure>summary {cursor:pointer;font-size:11px;font-weight:800;
  color:#557350;padding:13px 17px;list-style:revert;}
.data-setup-disclosure[open]>summary {border-bottom:1px solid #dee8d9;}
.data-setup-disclosure>.panel {border:0;box-shadow:none;border-radius:0;margin:0;background:#fcfdf9;padding:16px;}
.data-setup-disclosure>.panel .panel-heading {margin-bottom:10px;}
.data-setup-disclosure .ads-upload-panel .panel-subtitle {max-width:430px;}
@media(max-width:650px) {
  .data-setup-disclosure>summary {padding:12px 14px;}
  .data-setup-disclosure>.panel {padding:13px;}
}

/* Pilot advisory decisions, intake, and client report setup. */
.decision-facts{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:8px;margin:12px 0}
.decision-facts>div{min-width:0;border:1px solid #e4ebe1;background:#f8faf6;border-radius:9px;padding:9px 10px}
.decision-facts span{display:block;font-size:10px;color:#68776b;margin-bottom:4px}
.decision-facts strong{display:block;font-size:11px;line-height:1.42;overflow-wrap:anywhere;color:#314b37}
.action-impact{border-left:3px solid #8ca68f;background:#f6f9f5;padding:9px 12px;margin-top:9px;max-width:460px}
.action-impact strong{display:block;font-size:12px}
.action-impact small{display:block;color:#637468;line-height:1.4;margin-top:3px}
.market-panel .field-block{max-width:390px}
.pilot-intake .intake-list{padding-left:21px;margin:8px 0 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:8px}
.pilot-intake .intake-list li{padding-left:3px;color:#475c4c;font-size:12px;line-height:1.6}
.source-inspection{border:1px solid #dce7da;background:#f7faf6;border-radius:9px;padding:11px 13px;margin-top:13px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.source-inspection p{margin:5px 0 0}
.report-configuration form{display:grid;gap:13px}
.report-configuration .field-block{max-width:740px}
.report-configuration textarea{resize:vertical;min-height:100px;width:100%}
.report-configuration input{width:100%}
.report-configuration .toolbar{margin-top:0}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:750px){
 .decision-facts{grid-template-columns:1fr 1fr}
 .decision-facts>div:first-child{grid-column:1/-1}
 .pilot-intake .intake-list{grid-template-columns:1fr}
}
@media(max-width:420px){
 .decision-facts{grid-template-columns:1fr}
 .decision-facts>div:first-child{grid-column:auto}
 .report-configuration .toolbar .btn,.pilot-intake .toolbar .btn{width:100%;text-align:center}
}

/* Mobile owners scan one decision at a time: show the benefit line, keep evidence in the details disclosure. */
@media(max-width:420px){
  .finding-card .decision-facts{display:block;margin:7px 0}
  .finding-card .decision-facts>div{display:none}
  .finding-card .decision-facts>div:first-child{
    display:flex;align-items:center;gap:8px;border:0;padding:5px 7px;background:#f7faf6
  }
  .finding-card .decision-facts span{display:inline;margin:0;font-size:10px;flex-shrink:0}
  .finding-card .decision-facts strong{display:inline;font-size:10px}
}
