/* EXCO Suite, signed in. The same navy and gold identity as the front page: a dark sidebar menu, a light working area of
   cards, and charts drawn on the server as SVG and coloured here. System fonts only (the pages load nothing else). */
:root {
  --bg: #F3F5F9; --surface: #FFFFFF; --surface-2: #F1F4F8; --surface-3: #E7ECF3;
  --ink: #0F1B2D; --ink-2: #334155; --muted: #64748B; --line: #E2E8F0; --line-2: #CBD5E1;
  --accent: #1E4F8F; --accent-strong: #163C6E; --accent-ink: #FFFFFF; --accent-soft: #E8EFF9;
  --navy: #0B1F3A; --navy-2: #112B4F; --on-navy: #DCE5F2; --on-navy-muted: #8FA3BF; --gold: #C9A24B;
  --good: #15803D; --good-soft: #E6F5EC; --warn: #B45309; --warn-soft: #FDF2E0; --bad: #B91C1C; --bad-soft: #FCEBEB;
  /* Chart colours: status, the brand, and a palette for series without a meaning of their own. */
  --c-good: #2E9E6B; --c-warn: #E3A00E; --c-bad: #DB4B4B; --c-none: #CBD5E1; --c-acc: #1F5BA8; --c-blue: #4A8FE0;
  --p1: #1F5BA8; --p2: #13A39A; --p3: #D9A21B; --p4: #7B61C9; --p5: #D9577A; --p6: #64748B;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 6px 20px -12px rgba(15, 27, 45, .14);
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, Consolas, "Cascadia Mono", "Courier New", monospace;
  --r: 8px; --r-card: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A111D; --surface: #111A2A; --surface-2: #162235; --surface-3: #1C2B42;
    --ink: #E5ECF6; --ink-2: #C3CEDD; --muted: #8FA0B6; --line: #22314A; --line-2: #2E4060;
    --accent: #7FA8E8; --accent-strong: #A6C3F0; --accent-ink: #0A1424; --accent-soft: #18294A;
    --navy: #060D19; --navy-2: #0B1830;
    --good: #4CC488; --good-soft: #12301F; --warn: #F0B646; --warn-soft: #33270F; --bad: #F07A7A; --bad-soft: #3A1A1D;
    --c-good: #43BD82; --c-warn: #F0B23A; --c-bad: #EE6B6B; --c-none: #2E4060; --c-acc: #6E9DE6; --c-blue: #7DB2F5;
    --p1: #6E9DE6; --p2: #3CC7BC; --p3: #E9BC4C; --p4: #A792E6; --p5: #EC8AA3; --p6: #94A3B8;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.25; text-wrap: balance; color: var(--ink); }
h1 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.04rem; font-weight: 650; letter-spacing: -.005em; }
h3 { font-size: .95rem; font-weight: 600; margin: 0 0 4px; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
td.mono { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.hp, .sr-only { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: var(--r); }
.skip:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 32px; height: 32px; flex: none; }
.logo .logo-bg { fill: #163866; }
.logo .logo-fg { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; }
.logo .logo-base { fill: none; stroke: #FFFFFF; stroke-opacity: .55; stroke-width: 1.6; stroke-linecap: round; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- the shell: sidebar, top bar, page */
body.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px 16px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 16px; text-decoration: none; color: #FFFFFF; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 4px; }
.side-brand b { display: block; font: 700 1.05rem/1.15 var(--font-display); letter-spacing: -.01em; }
.side-brand small { display: block; font-size: 12px; color: var(--on-navy-muted); line-height: 1.3; }
.app-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-h { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--on-navy-muted); padding: 14px 10px 5px; font-weight: 700; opacity: .85; }
.app-nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px; color: var(--on-navy); text-decoration: none; font-size: 14px; line-height: 1.3; }
.app-nav a .i { opacity: .75; }
.app-nav a:hover { background: rgba(255, 255, 255, .06); color: #FFFFFF; }
.app-nav a[aria-current="page"] { background: rgba(255, 255, 255, .11); color: #FFFFFF; font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.app-nav a[aria-current="page"] .i { opacity: 1; color: var(--gold); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--on-navy-muted); min-width: 0; }
.side-foot .who { display: flex; flex-direction: column; min-width: 0; }
.side-foot .who .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot form { display: inline; }
.side-foot button.link { color: #FFFFFF; padding: 0; font-size: 13px; text-align: left; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gold); color: #1D1606; font: 700 13px var(--font-body); }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 12px 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .topbar { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); } }
.top-co { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.top-who { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-who .avatar { width: 28px; height: 28px; font-size: 12px; }
.top-brand, .menu { display: none; }
main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 32px 64px; display: flex; flex-direction: column; gap: 20px; }
main.narrow { max-width: 480px; }
main > div:first-child:has(> h1) { display: flex; flex-direction: column; gap: 6px; padding-bottom: 2px; }
main > div:first-child:has(> h1) > p { max-width: 80ch; }

/* Small screens: the menu opens from the top bar. */
@media (max-width: 960px) {
  body.app { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar { padding: 10px 16px; }
  .top-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
  .top-brand .logo { width: 26px; height: 26px; }
  .top-co, .top-who .small { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); font-size: 14px; font-weight: 600; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; left: 0; top: calc(100% + 8px); width: min(300px, 86vw); max-height: 75vh; overflow-y: auto; padding: 8px 10px 14px; border-radius: 12px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: 0 18px 40px -12px rgba(3, 10, 22, .5); z-index: 20; }
  main { padding: 20px 16px 48px; }
}

/* Signed out: a centred card on navy. */
body.auth { min-height: 100vh; background: radial-gradient(800px 420px at 85% -10%, rgba(76, 132, 214, .35), transparent 60%), linear-gradient(180deg, #0A1B33 0%, #10294B 100%); color: var(--ink); }
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 16px; }
.auth-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFFFFF; }
.auth-brand .logo { width: 40px; height: 40px; }
.auth-brand b { display: block; font: 700 1.3rem/1.1 var(--font-display); }
.auth-brand small { display: block; font-size: 12.5px; color: #A7B7CC; }
body.auth main.card { width: 100%; max-width: 720px; margin: 0; padding: 30px 32px; border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -24px rgba(3, 10, 22, .55); gap: 16px; }
body.auth main.card.narrow { max-width: 460px; }
body.auth main.card .panel { border: 0; box-shadow: none; padding: 0; }
.auth-foot { color: #A7B7CC; }
.auth-foot a { color: #FFFFFF; }

/* ---------------------------------------------------------------- cards, grids, forms */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-head p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.card-head .more { font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.card-head .more:hover { text-decoration: underline; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=month], select, textarea {
  font: inherit; font-weight: 400; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
input[type=file] { font: inherit; }
select[multiple] { padding: 4px; }
textarea { resize: vertical; }
.hint { font-weight: 400; font-size: 12px; color: var(--muted); }
button { font: inherit; font-size: 14px; cursor: pointer; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 8px 16px; border-radius: var(--r); font-weight: 600; transition: background-color .15s, border-color .15s, box-shadow .15s; }
button:hover { border-color: var(--accent); }
button.primary, a.button { background: var(--accent); border: 1px solid var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(15, 27, 45, .12); }
button.primary:hover, a.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
a.button { display: inline-block; text-decoration: none; padding: 8px 16px; border-radius: var(--r); font-weight: 600; font-size: 14px; }
button.link { border: 0; background: none; color: var(--accent); padding: 6px 10px; box-shadow: none; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.row > label { flex: 1 1 200px; }
.row.spread { justify-content: space-between; }
.row.compact { flex-wrap: nowrap; }
.row.compact > label { flex: 0 1 220px; }
.panel form > label, .panel form > .row { margin-top: 10px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; flex: 1 1 100%; }
legend { font-weight: 600; font-size: 13px; padding: 0 4px; color: var(--ink-2); }
label.inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); }
.gap-top { margin-top: 12px; }
.gap-left { margin-left: 8px; }
.spread-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }

/* Notices and chips */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 10px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.notice.bad { border-left-color: var(--bad); background: color-mix(in srgb, var(--bad-soft) 55%, var(--surface)); }
.notice.good { border-left-color: var(--good); background: color-mix(in srgb, var(--good-soft) 55%, var(--surface)); }
.notice.warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn-soft) 55%, var(--surface)); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; line-height: 1.6; }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.acc { background: var(--accent-soft); color: var(--accent); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.sc { font-size: 13px; }
table.sc td { white-space: nowrap; }
table.sc td.wrap { white-space: normal; min-width: 180px; max-width: 320px; }
table.heat td, table.heat th { text-align: center; }
tr.group td { background: var(--surface-2); font-weight: 700; }
tr.sub td { background: var(--surface); border-top: 1px solid var(--line); }
tr.child td:first-child { padding-left: 28px; }
tr.total td { font-weight: 700; background: var(--surface-2); }
meter.seats { width: 100%; height: 8px; }
meter.seats::-webkit-meter-bar { background: var(--surface-3); border: 0; border-radius: 4px; }
meter.seats::-webkit-meter-optimum-value { background: var(--accent); border-radius: 4px; }
meter.seats::-moz-meter-bar { background: var(--accent); }
td.num meter.seats { display: block; margin-top: 4px; min-width: 80px; }

/* Tiles: key figures */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tile .chip { font-size: 15px; padding: 2px 12px; align-self: flex-start; }
.tile .big { font: 700 2rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile .big small { font: 500 .85rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.tile .big.date { font-size: 1.55rem; }
.tile .tile-i + .small { padding-right: 44px; }
.tile .tile-i { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tile .tile-i.t-bad { background: var(--bad-soft); color: var(--bad); } .tile .tile-i.t-good { background: var(--good-soft); color: var(--good); } .tile .tile-i.t-warn { background: var(--warn-soft); color: var(--warn); }
.big.t-good { color: var(--good); } .big.t-warn { color: var(--warn); } .big.t-bad { color: var(--bad); }
.stat { display: flex; flex-direction: column; min-width: 130px; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.stat b { font: 700 22px var(--font-display); }

/* Tabs */
nav.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; align-self: flex-start; max-width: 100%; box-shadow: var(--shadow); }
nav.tabs a { padding: 7px 14px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
nav.tabs a:hover { background: var(--surface-2); }
nav.tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* Lists, details, documents */
details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
dl.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 6px 0 0; font-size: 13px; white-space: normal; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
ol.inits, ul.flaglist { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
ol.agenda { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
ol.agenda > li { border-top: 1px solid var(--line); padding-top: 10px; }
ol.agenda > li:first-child { border-top: 0; padding-top: 0; }
.minutes h2 { margin-top: 14px; }
.notelines { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.notelines li { display: flex; gap: 8px; }
.notelines .n, .src { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.draft { border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; background: var(--surface); }
.draft p.sentence { margin: 6px 0; }
.draft .warning { display: block; font-size: 13px; color: var(--warn); }
.qr { width: 200px; height: 200px; background: #FFFFFF; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-family: var(--font-mono); font-size: 16px; }
.copy { font-family: var(--font-mono); font-size: 13px; word-break: break-all; background: var(--surface-2); padding: 8px 10px; border-radius: var(--r); }
.qa { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.qa:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.qa .question { margin: 0 0 6px; }
.qa .answer p { margin: 4px 0; }
a.cite { font-size: 12px; text-decoration: none; vertical-align: super; }
ul.sources { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 4px; }
ul.bsc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
ul.bsc > li { border-top: 1px solid var(--line); padding-top: 12px; }
ul.bsc > li:first-child { border-top: 0; padding-top: 0; }
ul.inits { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
ul.inits li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.edit-block { border-top: 1px dashed var(--line); padding-top: 10px; }
.dash-area td:first-child { min-width: 9em; }

@media (max-width: 760px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 16px; }
}

/* ---------------------------------------------------------------- older charts (forecast, monthly targets) */
svg.fc { width: 100%; max-width: 680px; height: auto; display: block; margin: 8px 0; }
.fc-grid { stroke: var(--line); stroke-width: 1; }
.fc-line { fill: none; stroke: var(--c-acc); stroke-width: 2.5; stroke-linejoin: round; }
.fc-dot { fill: var(--surface); stroke: var(--c-acc); stroke-width: 2; }
.fc-proj { fill: none; stroke: var(--p2); stroke-width: 2; stroke-dasharray: 6 4; }
.fc-band { fill: var(--p2); fill-opacity: .14; stroke: none; }
.fc-target { stroke: var(--c-good); stroke-width: 1.5; stroke-dasharray: 4 4; }
.fc-label, .fc-axis { font-size: 11px; fill: var(--muted); font-family: inherit; }
svg.dash { width: 100%; max-width: 640px; height: auto; display: block; margin: 4px 0; }
.dash-bar { fill: var(--c-acc); }
.dash-bar.good { fill: var(--c-good); } .dash-bar.warn { fill: var(--c-warn); } .dash-bar.bad { fill: var(--c-bad); }
.dash-bar.plan { fill: var(--surface-3); }
.dash-row { font-size: 12px; fill: var(--ink); font-family: inherit; }

/* ---------------------------------------------------------------- the summary and the charts */
.sum-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.sum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.sum-grid .wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .sum-grid { grid-template-columns: minmax(0, 1fr); } }
.dash-chart { display: grid; gap: 10px; max-width: 640px; }
.chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .chart-pair { grid-template-columns: minmax(0, 1fr); } }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; max-width: 600px; }
svg.chart.map { max-width: none; }
svg.chart.heat { max-width: 280px; }
svg.chart.gauge { max-width: 300px; margin: 0 auto; }
svg.chart.radar { max-width: 420px; margin: 0 auto; }
svg.chart.ring-chart { width: 156px; max-width: none; }
svg.chart text { font-family: var(--font-body); }
.c-label { font-size: 13px; fill: var(--ink-2); }
.c-value { font-size: 13px; font-weight: 700; fill: var(--ink); }
.c-axis, .c-note { font-size: 11.5px; fill: var(--muted); }
.c-top { font-size: 11.5px; font-weight: 700; fill: var(--ink-2); }
.c-in { font-size: 11.5px; font-weight: 700; fill: #FFFFFF; }
.c-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.c-grid.base { stroke: var(--line-2); stroke-dasharray: none; }
.c-target { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 6 4; opacity: .7; }
.bar { fill: var(--c-acc); }
.bar.t-good { fill: var(--c-good); } .bar.t-warn { fill: var(--c-warn); } .bar.t-bad { fill: var(--c-bad); } .bar.t-acc { fill: var(--c-acc); } .bar.t-blue { fill: var(--c-blue); }
.bar.t-none { fill: var(--c-none); }
.bar.t-p1 { fill: var(--p1); } .bar.t-p2 { fill: var(--p2); } .bar.t-p3 { fill: var(--p3); } .bar.t-p4 { fill: var(--p4); } .bar.t-p5 { fill: var(--p5); } .bar.t-p6 { fill: var(--p6); }
.bar.t-target { fill: var(--surface-3); stroke: var(--line-2); stroke-width: 1; }
.seg { stroke: var(--surface); stroke-width: 1.5; }
.fs0 { fill: #163866; } .fs1 { fill: #1F5BA8; } .fs2 { fill: #3A7BC8; } .fs3 { fill: #5E98DA; } .fs4 { fill: #8AB5E8; } .fs5 { fill: #B3CEF0; }
@media (prefers-color-scheme: dark) { .fs0 { fill: #2E5FA8; } .fs1 { fill: #4677C2; } .fs2 { fill: #5E8FD6; } .fs3 { fill: #7AA6E3; } .fs4 { fill: #98BCEC; } .fs5 { fill: #B8D2F3; } }
.line { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.line.t-acc { stroke: var(--c-acc); } .line.t-blue { stroke: var(--c-blue); } .line.t-good { stroke: var(--c-good); } .line.t-warn { stroke: var(--c-warn); } .line.t-bad { stroke: var(--c-bad); }
.line.t-p1 { stroke: var(--p1); } .line.t-p2 { stroke: var(--p2); } .line.t-p3 { stroke: var(--p3); } .line.t-p4 { stroke: var(--p4); } .line.t-p5 { stroke: var(--p5); } .line.t-p6 { stroke: var(--p6); stroke-dasharray: 6 5; }
.dot { fill: var(--surface); stroke-width: 2.4; }
.dot.t-acc { stroke: var(--c-acc); } .dot.t-blue { stroke: var(--c-blue); } .dot.t-good { stroke: var(--c-good); } .dot.t-warn { stroke: var(--c-warn); } .dot.t-bad { stroke: var(--c-bad); } .dot.t-none { stroke: var(--c-none); }
.dot.t-p1 { stroke: var(--p1); } .dot.t-p2 { stroke: var(--p2); } .dot.t-p3 { stroke: var(--p3); } .dot.t-p4 { stroke: var(--p4); } .dot.t-p5 { stroke: var(--p5); } .dot.t-p6 { stroke: var(--p6); }
.gs { stop-opacity: .26; } .gs.end { stop-opacity: 0; }
.gs.t-acc { stop-color: var(--c-acc); } .gs.t-blue { stop-color: var(--c-blue); } .gs.t-good { stop-color: var(--c-good); } .gs.t-p1 { stop-color: var(--p1); } .gs.t-p2 { stop-color: var(--p2); }
.ring-track { fill: none; stroke: var(--surface-3); stroke-width: 4.6; }
.ring { fill: none; stroke-width: 4.6; }
.ring.t-good { stroke: var(--c-good); } .ring.t-warn { stroke: var(--c-warn); } .ring.t-bad { stroke: var(--c-bad); } .ring.t-acc { stroke: var(--c-acc); } .ring.t-blue { stroke: var(--c-blue); } .ring.t-none { stroke: var(--c-none); }
.ring.t-p1 { stroke: var(--p1); } .ring.t-p2 { stroke: var(--p2); } .ring.t-p3 { stroke: var(--p3); } .ring.t-p4 { stroke: var(--p4); } .ring.t-p5 { stroke: var(--p5); } .ring.t-p6 { stroke: var(--p6); }
.ring-n { font-size: 8.5px; font-weight: 700; fill: var(--ink); font-family: var(--font-display); }
.ring-sub { font-size: 3.2px; fill: var(--muted); letter-spacing: .02em; }
.donut { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 24px; align-items: center; }
svg.ring-chart { width: 156px; overflow: visible; }
@media (max-width: 480px) { .donut { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } svg.ring-chart { width: 112px; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 9px; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); }
.legend.inline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; }
.key { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--c-none); }
.key.t-good { background: var(--c-good); } .key.t-warn { background: var(--c-warn); } .key.t-bad { background: var(--c-bad); } .key.t-acc { background: var(--c-acc); } .key.t-blue { background: var(--c-blue); } .key.t-none { background: var(--c-none); }
.key.t-p1 { background: var(--p1); } .key.t-p2 { background: var(--p2); } .key.t-p3 { background: var(--p3); } .key.t-p4 { background: var(--p4); } .key.t-p5 { background: var(--p5); } .key.t-p6 { background: var(--p6); }
.key.t-target { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.heat-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.heat-pair figure { margin: 0; display: grid; gap: 8px; }
.heat-pair figcaption { color: var(--ink-2); }
.heat-side { display: grid; gap: 14px; }
@media (max-width: 900px) { .heat-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } .heat-side { grid-column: 1 / -1; } }
svg.heat { max-width: 280px; }
.cell { stroke: none; }
.cell.t-good { fill: var(--c-good); } .cell.t-warn { fill: var(--c-warn); } .cell.t-bad { fill: var(--c-bad); }
.cell.empty { opacity: .14; }
.cell-n { font-size: 14px; font-weight: 700; fill: #FFFFFF; }
svg.map { overflow: visible; }
.map-band { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.map-name { font-size: 14px; font-weight: 700; fill: var(--ink); font-family: var(--font-display); }
.map-box { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.map-strip.t-good, .map-tab.t-good, .map-score.t-good { fill: var(--c-good); }
.map-strip.t-warn, .map-tab.t-warn, .map-score.t-warn { fill: var(--c-warn); }
.map-strip.t-bad, .map-tab.t-bad, .map-score.t-bad { fill: var(--c-bad); }
.map-strip.t-none, .map-tab.t-none, .map-score.t-none { fill: var(--c-none); }
.map-obj { font-size: 12px; fill: var(--ink); }
.map-score-n { font-size: 11px; font-weight: 700; fill: #FFFFFF; }
.map-arrow { stroke: var(--line-2); stroke-width: 2; fill: none; }
.map-head { fill: var(--line-2); }
svg.gauge { max-width: 320px; margin: 0 auto; }
.gauge-track { fill: none; stroke: var(--surface-3); stroke-width: 20; stroke-linecap: round; }
.gauge-value { fill: none; stroke-width: 20; stroke-linecap: round; }
.gauge-value.t-good { stroke: var(--c-good); } .gauge-value.t-warn { stroke: var(--c-warn); } .gauge-value.t-bad { stroke: var(--c-bad); }
.gauge-tick { stroke: var(--surface); stroke-width: 3; }
.gauge-n { font-size: 46px; font-weight: 700; fill: var(--ink); font-family: var(--font-display); letter-spacing: -.02em; }
.gauge-of { font-size: 13px; fill: var(--muted); }
svg.radar { max-width: 440px; margin: 0 auto; }
.radar-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-ring.outer { stroke: var(--line-2); }
.radar-spoke { stroke: var(--line); stroke-width: 1; }
.radar-area { fill: var(--c-acc); fill-opacity: .16; stroke: var(--c-acc); stroke-width: 2.4; stroke-linejoin: round; }
@media (max-width: 560px) {
  .tiles, .sum-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px 14px; }
  .tile .big { font-size: 1.55rem; }
  .tile .tile-i { display: none; }
  .tile .tile-i + .small { padding-right: 0; }
  h1 { font-size: 1.45rem; }
}

/* ---------------------------------------------------------------- the EXCO Dashboard overview: a board report */
:root { --x-navy: #0B2545; --x-achieved: #13315C; --x-pending: #C9D3E3; --x-gold: #C9A227; --x-teal: #1B998B; --x-teal-light: #7FC8BF; --x-slate: #8D99AE; --x-green: #2E8B57; --x-red: #C0392B; --x-amber: #E0A100; --x-grey: #A7B1C2; }
@media (prefers-color-scheme: dark) { :root { --x-navy: #5C86C9; --x-achieved: #7FA8E8; --x-pending: #2B3D5A; --x-gold: #E0BE4E; --x-teal: #3CC2B2; --x-teal-light: #2F7F76; --x-slate: #A3B0C4; --x-green: #43BD82; --x-red: #EE6B6B; --x-amber: #F0BE3C; --x-grey: #6B7A90; } }
.bar.t-navy, .att-fg.t-navy { fill: var(--x-navy); } .bar.t-achieved { fill: var(--x-achieved); } .bar.t-pending { fill: var(--x-pending); } .bar.t-gold { fill: var(--x-gold); }
.bar.t-teal { fill: var(--x-teal); } .bar.t-slate { fill: var(--x-slate); } .bar.t-green { fill: var(--x-green); } .bar.t-red { fill: var(--x-red); } .bar.t-grey { fill: var(--x-grey); }
.key.t-navy { background: var(--x-navy); } .key.t-achieved { background: var(--x-achieved); } .key.t-pending { background: var(--x-pending); } .key.t-gold { background: var(--x-gold); }
.key.t-teal { background: var(--x-teal); } .key.t-slate { background: var(--x-slate); } .key.t-green { background: var(--x-green); } .key.t-red { background: var(--x-red); } .key.t-grey { background: var(--x-grey); }
.mix { fill: none; stroke-width: 34; }
.mix-track { fill: none; stroke: var(--surface-3); stroke-width: 34; }
.mix.t-navy { stroke: var(--x-navy); } .mix.t-gold { stroke: var(--x-gold); } .mix.t-teal { stroke: var(--x-teal); } .mix.t-slate { stroke: var(--x-slate); } .mix.t-p4 { stroke: var(--p4); } .mix.t-p5 { stroke: var(--p5); }
.mix-pct { font-size: 12.5px; font-weight: 700; fill: var(--ink); }
.mix-n { font-size: 22px; font-weight: 700; fill: var(--ink); font-family: var(--font-display); }
.mix-chart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; }
.mix-chart .legend { justify-self: stretch; }
svg.chart.mix-svg { max-width: 250px; }
.c-in.dark { fill: var(--x-navy); }
.ov-band { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 26px 28px 24px; border-radius: var(--r-card);
  background: linear-gradient(135deg, #0B2545 0%, #13315C 100%); color: #FFFFFF; border-top: 5px solid var(--x-gold); box-shadow: var(--shadow); }
.ov-band h1 { color: #FFFFFF; font-size: 1.9rem; margin: 4px 0 6px; }
.ov-co { font-size: 11.5px; letter-spacing: .16em; font-weight: 700; color: var(--x-gold); }
.ov-band p { color: #B9C6DA; font-size: 13.5px; }
.ov-band-date { display: grid; gap: 2px; text-align: right; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .05); }
.ov-band-date span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #B9C6DA; }
.ov-band-date b { font-size: 1.05rem; }
.ov-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ov-tile { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--x-navy); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); min-width: 0; }
.ov-tile.a-teal { border-top-color: var(--x-teal); } .ov-tile.a-gold { border-top-color: var(--x-gold); } .ov-tile.a-red { border-top-color: var(--x-red); } .ov-tile.a-green { border-top-color: var(--x-green); } .ov-tile.a-slate { border-top-color: var(--x-slate); }
.ov-tile-l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; }
.ov-tile b { font: 700 1.75rem/1.15 var(--font-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ov-tile-n { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1280px) { .ov-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ov-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-tile b { font-size: 1.4rem; } }
.ov-section { display: grid; gap: 14px; }
.ov-h { font-size: 1.12rem; padding-left: 12px; border-left: 4px solid var(--x-gold); }
.ov-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 1180px) { .ov-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ov-row { grid-template-columns: minmax(0, 1fr); } }
.ov-table td { vertical-align: middle; }
.att { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
svg.att-bar { width: 96px; height: 8px; }
.att-bg { fill: var(--surface-3); }
.att-fg.t-good { fill: var(--c-good); } .att-fg.t-warn { fill: var(--c-warn); } .att-fg.t-bad { fill: var(--c-bad); } .att-fg.t-none { fill: var(--c-none); }
.chip.teal { background: color-mix(in srgb, var(--x-teal) 16%, var(--surface)); color: var(--x-teal); }
.ov-notes { padding: 18px 22px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2); }
.ov-notes h2 { font-size: .95rem; margin-bottom: 6px; }
.ov-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ring.t-navy { stroke: var(--x-navy); } .ring.t-gold { stroke: var(--x-gold); } .ring.t-teal { stroke: var(--x-teal); } .ring.t-slate { stroke: var(--x-slate); }
.line.t-navy { stroke: var(--x-navy); } .line.t-gold { stroke: var(--x-gold); } .line.t-teal { stroke: var(--x-teal); } .line.t-slate { stroke: var(--x-slate); }
.dot.t-navy { stroke: var(--x-navy); } .dot.t-gold { stroke: var(--x-gold); } .dot.t-teal { stroke: var(--x-teal); } .dot.t-slate { stroke: var(--x-slate); }
.gs.t-navy { stop-color: var(--x-navy); } .gs.t-teal { stop-color: var(--x-teal); }
.access-grid td, .access-grid th { text-align: center; } .access-grid td:first-child, .access-grid th:first-child { text-align: left; }
/* The menu: the EXCO Dashboard's overview and focus areas under it while it is open. */
.nav-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 21px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .14); }
.nav-sub a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--on-navy-muted); text-decoration: none; font-size: 12.5px; line-height: 1.35; }
.nav-sub a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .05); }
.nav-sub a[aria-current="page"] { color: #FFFFFF; background: rgba(255, 255, 255, .09); font-weight: 600; }
.nav-badge { flex: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--x-red); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.ov-links { margin-top: -4px; }
/* The overview, version 2: the customer row, brand tones, section chips, filters, row details and printing. */
.bar.t-teal-light { fill: var(--x-teal-light); } .key.t-teal-light { background: var(--x-teal-light); } .bar.t-amber { fill: var(--x-amber); } .key.t-amber { background: var(--x-amber); }
.ov-tile.a-navy { border-top-color: var(--x-navy); } .ov-tile.a-achieved { border-top-color: var(--x-achieved); } .ov-tile.a-amber { border-top-color: var(--x-amber); }
.ov-tiles-c .ov-tile { background: color-mix(in srgb, var(--x-teal) 5%, var(--surface)); }
.ov-chips, .ov-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-chips a, .ov-filter a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.ov-chips a:hover, .ov-filter a:hover { border-color: var(--x-gold); color: var(--ink); }
.ov-filter a[aria-current] { background: var(--x-navy); border-color: var(--x-navy); color: #FFFFFF; }
.ov-filter { margin-bottom: 12px; }
.ov-section, #watch-list, #initiatives { scroll-margin-top: 16px; }
.ov-section:target .ov-h, #watch-list:target, #initiatives:target { outline: 2px solid var(--x-gold); outline-offset: 4px; border-radius: 6px; }
.ov-sub { margin: -6px 0 0 16px; }
.ov-meta { margin: 0; }
.ov-detail summary { cursor: pointer; list-style: none; }
.ov-detail summary::-webkit-details-marker { display: none; }
.ov-detail summary::after { content: " ▸"; color: var(--muted); font-size: 11px; }
.ov-detail[open] summary::after { content: " ▾"; }
.ov-detail dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 8px 0 2px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; max-width: 520px; }
.ov-detail dt { color: var(--muted); font-weight: 600; } .ov-detail dd { margin: 0; color: var(--ink-2); white-space: normal; }
@media (max-width: 640px) { .ov-detail dl { grid-template-columns: minmax(0, 1fr); } }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  .side, .topbar, .skip, .ov-chips, .ov-links, .ov-filter, .notice { display: none !important; }
  body.app { background: #FFFFFF; display: block; }
  main#page { padding: 0; max-width: none; }
  .ov-section, .ov-print-break { break-before: page; }
  .panel, .ov-tile, .ov-band { box-shadow: none; break-inside: avoid; }
  .ov-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ov-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  svg.chart, .key, .chip, .att-bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
