:root {
  --bg: #f2f5f7;
  --panel: #ffffff;
  --panel-2: #f7f9fb;
  --ink: #10212d;
  --muted: #667985;
  --line: #dfe7ec;
  --nav: #0b2a3d;
  --nav-2: #123c54;
  --teal: #0a8f83;
  --teal-2: #066d65;
  --orange: #f18a2a;
  --red: #cf4a4a;
  --green: #2d9d63;
  --blue: #3b78c8;
  --shadow: 0 8px 24px rgba(24, 43, 56, .07);
  --radius: 14px;
  --radius-sm: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body { min-width: 1120px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.good { color: var(--green); }
.bad { color: var(--red); }
.warn { color: #a36013; }

/* Landing */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 16%, rgba(10,143,131,.16), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(241,138,42,.12), transparent 28%),
    linear-gradient(145deg, #081f2e, #0b2a3d 48%, #123c54);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 48px;
}
.landing-shell { width: min(1120px, 94vw); display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; }
.landing-copy h1 { font-size: 48px; line-height: 1.05; margin: 18px 0 16px; letter-spacing: -.035em; }
.landing-copy p { color: #c7d6df; font-size: 18px; line-height: 1.65; max-width: 680px; }
.brand-line { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), #27c1af); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.brand-mark::before { content:""; width: 18px; height: 12px; border: 3px solid #fff; border-radius: 4px 4px 6px 6px; box-shadow: inset 0 -3px 0 rgba(255,255,255,.35); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.feature-pill { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); border-radius: 12px; padding: 13px 14px; color: #dbe7ed; font-size: 13px; }
.upload-card { background: rgba(255,255,255,.98); color: var(--ink); padding: 24px; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.upload-card h2 { margin: 0 0 7px; font-size: 24px; }
.dropzone { margin-top: 20px; border: 2px dashed #a9c2cf; border-radius: 16px; padding: 36px 22px; text-align: center; background: #f8fbfc; transition: .15s ease; }
.dropzone.drag { border-color: var(--teal); background: #eefaf8; transform: translateY(-1px); }
.drop-icon { width: 54px; height: 54px; border-radius: 14px; background: #e6f5f3; color: var(--teal); margin: 0 auto 14px; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.upload-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.privacy-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 18px; padding: 12px 13px; background: #f0f6f8; border-radius: 10px; color: #526874; font-size: 12px; line-height: 1.5; }
.loading-strip { height: 5px; border-radius: 99px; background: #e7edf0; overflow: hidden; margin-top: 18px; }
.loading-strip > span { display: block; height: 100%; background: linear-gradient(90deg,var(--teal),#27c1af); width: 0; transition: width .25s ease; }
.import-status { margin-top: 10px; font-size: 12px; color: var(--muted); min-height: 18px; }

/* App shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; background: linear-gradient(180deg,var(--nav),#092333 70%); color: #d7e5ec; display: flex; flex-direction: column; z-index: 30; }
.sidebar .brand { padding: 20px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; gap: 11px; align-items: center; }
.sidebar .brand strong { display:block; color:#fff; font-size:14px; }
.sidebar .brand span { display:block; font-size:10px; color:#90aaba; margin-top:2px; letter-spacing:.05em; text-transform:uppercase; }
.nav { padding: 14px 10px; display: grid; gap: 4px; }
.nav-btn { border: 0; color: #bfd1db; background: transparent; padding: 10px 11px; border-radius: 9px; display: flex; align-items: center; gap: 10px; text-align: left; font-size: 13px; }
.nav-btn:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-btn.active { background: linear-gradient(90deg, rgba(10,143,131,.42), rgba(10,143,131,.12)); color: #fff; box-shadow: inset 3px 0 0 #37c8b8; }
.nav-icon { width: 24px; height: 24px; border-radius: 7px; display:grid; place-items:center; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 800; }
.sidebar-bottom { margin-top:auto; padding: 14px; border-top:1px solid rgba(255,255,255,.08); }
.dataset-mini { font-size:11px; line-height:1.45; color:#9db2be; overflow:hidden; }
.dataset-mini strong { color:#dbe8ee; font-weight:600; }
.main { margin-left:238px; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 20px; display:flex; align-items:center; gap:14px; min-height:68px; }
.top-title { min-width: 190px; }
.top-title h1 { font-size: 15px; margin:0; }
.top-title p { font-size:11px; color:var(--muted); margin:3px 0 0; }
.filters { display:flex; gap:8px; align-items:flex-end; flex:1; }
.filter { display:grid; gap:4px; }
.filter label { font-size:9px; letter-spacing:.07em; font-weight:800; color:#7b8b95; text-transform:uppercase; }
.filter select, .filter input { height:34px; min-width:100px; border:1px solid #cfdbe1; border-radius:8px; background:#fff; color:var(--ink); padding:0 9px; font-size:12px; outline:none; }
.filter select:focus, .filter input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(10,143,131,.09); }
.filter.time input { min-width:86px; width:86px; }
.top-actions { display:flex; gap:7px; }
.content { padding: 22px; }
.page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.page-head h2 { margin:0; font-size:24px; letter-spacing:-.025em; }
.page-head p { margin:5px 0 0; color:var(--muted); font-size:13px; }
.page-actions { display:flex; gap:8px; align-items:center; }

.btn { border:1px solid #cbd8de; background:#fff; color:#263b47; border-radius:9px; padding:8px 11px; font-weight:700; font-size:12px; box-shadow:0 1px 1px rgba(0,0,0,.02); }
.btn:hover { background:#f7fafb; border-color:#b8c8d0; }
.btn.primary { border-color:var(--teal); background:var(--teal); color:#fff; }
.btn.primary:hover { background:var(--teal-2); }
.btn.ghost { background:transparent; color:inherit; border-color:rgba(255,255,255,.15); }
.btn.danger { border-color:#f1c1c1; color:#b13e3e; background:#fff7f7; }
.btn.small-btn { padding:5px 8px; font-size:11px; border-radius:7px; }
.link-btn { border:0; padding:0; background:none; color:#0a736b; font-weight:700; text-decoration:none; }
.link-btn:hover { text-decoration:underline; }
.chip { display:inline-flex; gap:6px; align-items:center; padding:5px 8px; border-radius:999px; background:#eef3f5; font-size:11px; color:#526a77; white-space:nowrap; }
.chip.teal { color:#076b64; background:#e8f6f4; }
.chip.orange { color:#9a5513; background:#fff2e5; }
.chip.red { color:#a83b3b; background:#fdecec; }
.chip.green { color:#267d50; background:#eaf7f0; }

/* Panels */
.grid { display:grid; gap:14px; }
.grid.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.kpis { display:grid; grid-template-columns: repeat(6,minmax(145px,1fr)); gap:10px; margin-bottom:14px; }
.kpi { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:14px; box-shadow:0 2px 10px rgba(24,43,56,.025); min-height:92px; position:relative; overflow:hidden; }
.kpi::after { content:""; position:absolute; width:48px; height:48px; border-radius:50%; background:rgba(10,143,131,.06); right:-16px; top:-16px; }
.kpi .label { color:#70818b; text-transform:uppercase; letter-spacing:.055em; font-size:9px; font-weight:800; }
.kpi .value { font-size:24px; font-weight:800; letter-spacing:-.03em; margin-top:9px; }
.kpi .sub { color:var(--muted); font-size:10px; margin-top:4px; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.panel-head { padding:14px 16px 11px; border-bottom:1px solid #edf1f3; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.panel-head h3 { margin:0; font-size:14px; }
.panel-head p { margin:3px 0 0; color:var(--muted); font-size:11px; }
.panel-body { padding:15px 16px; }
.panel-tools { display:flex; align-items:center; gap:7px; }
.panel-tools select, .panel-tools input { height:30px; border:1px solid #d2dde2; border-radius:7px; padding:0 7px; font-size:11px; background:#fff; }
.empty { padding:34px; color:var(--muted); text-align:center; font-size:12px; }

/* Charts */
.chart { min-height:250px; width:100%; }
.chart svg { width:100%; height:100%; display:block; overflow:visible; }
.chart-gridline { stroke:#e8eef1; stroke-width:1; }
.chart-axis { stroke:#bdcbd2; stroke-width:1; }
.chart-label { fill:#748792; font-size:10px; }
.chart-line { fill:none; stroke:var(--teal); stroke-width:2.2; }
.chart-line.orange { stroke:var(--orange); }
.chart-line.blue { stroke:var(--blue); }
.chart-area { fill:rgba(10,143,131,.09); }
.chart-point { fill:#fff; stroke:var(--teal); stroke-width:2; }
.chart-point.bad { stroke:var(--red); fill:#fff4f4; }
.chart-zero { stroke:#8fa2ad; stroke-width:1; stroke-dasharray:4 4; }
.chart-threshold { stroke:#d49a5d; stroke-width:1; stroke-dasharray:3 4; }
.chart-bar { fill:var(--teal); }
.chart-bar.secondary { fill:#a8cbd0; }
.chart-bar.orange { fill:var(--orange); }
.legend { display:flex; gap:13px; flex-wrap:wrap; color:#637680; font-size:10px; margin-top:8px; }
.legend span { display:flex; align-items:center; gap:5px; }
.legend i { display:inline-block; width:9px; height:9px; border-radius:2px; background:var(--teal); }
.legend i.secondary { background:#a8cbd0; }
.legend i.orange { background:var(--orange); }

/* Tables */
.table-wrap { overflow:auto; max-height:520px; }
table { width:100%; border-collapse:collapse; font-size:11px; }
th { position:sticky; top:0; z-index:2; background:#f4f7f8; color:#5c707c; text-align:left; font-size:9px; text-transform:uppercase; letter-spacing:.05em; padding:9px 10px; border-bottom:1px solid #dfe8ec; white-space:nowrap; }
td { padding:9px 10px; border-bottom:1px solid #edf2f4; vertical-align:middle; white-space:nowrap; }
tr:hover td { background:#fbfdfd; }
td.num, th.num { text-align:right; font-variant-numeric:tabular-nums; }
.table-foot { display:flex; justify-content:space-between; padding:8px 12px; color:var(--muted); font-size:10px; border-top:1px solid #edf2f4; background:#fafcfc; }
.status-dot { width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:5px; vertical-align:1px; background:#a9bbc4; }
.status-dot.good { background:var(--green); }
.status-dot.bad { background:var(--red); }
.status-dot.warn { background:var(--orange); }

/* Timeline */
.timeline { display:grid; gap:0; }
.timeline-row { display:grid; grid-template-columns:70px 20px 1fr; min-height:54px; }
.timeline-time { font-size:11px; color:#60737e; padding-top:4px; text-align:right; padding-right:8px; }
.timeline-rail { position:relative; }
.timeline-rail::before { content:""; position:absolute; left:9px; top:0; bottom:0; width:2px; background:#dce7eb; }
.timeline-dot { position:absolute; top:5px; left:5px; width:10px; height:10px; border-radius:50%; background:var(--teal); border:2px solid #fff; box-shadow:0 0 0 1px var(--teal); }
.timeline-card { margin:0 0 8px 8px; border:1px solid #e2eaee; border-radius:9px; padding:9px 11px; background:#fbfcfd; display:flex; justify-content:space-between; gap:12px; }
.timeline-card strong { font-size:11px; }
.timeline-card span { font-size:10px; color:var(--muted); }

/* Quality */
.quality-score { display:flex; align-items:center; gap:16px; }
.score-ring { --score: 98; width:92px; height:92px; border-radius:50%; background:conic-gradient(var(--teal) calc(var(--score)*1%),#e8eef1 0); display:grid; place-items:center; position:relative; }
.score-ring::after { content:""; width:68px; height:68px; border-radius:50%; background:#fff; position:absolute; }
.score-ring strong { z-index:1; font-size:22px; }
.issue-list { display:grid; gap:8px; }
.issue { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 11px; background:#f8fafb; border:1px solid #edf1f3; border-radius:9px; }
.issue strong { font-size:11px; }
.issue span { font-size:11px; color:var(--muted); }

/* Dialog */
dialog { border:0; border-radius:16px; padding:0; width:460px; box-shadow:0 30px 100px rgba(0,0,0,.28); }
dialog::backdrop { background:rgba(5,22,31,.42); backdrop-filter:blur(2px); }
.dialog-head { padding:17px 18px; border-bottom:1px solid var(--line); }
.dialog-head h3 { margin:0; font-size:17px; }
.dialog-body { padding:18px; }
.dialog-actions { padding:13px 18px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:8px; }
.form-row { display:grid; grid-template-columns:1fr 130px; align-items:center; gap:14px; margin-bottom:13px; }
.form-row label strong { display:block; font-size:12px; }
.form-row label span { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.form-row input { height:36px; border:1px solid #cfdae0; border-radius:8px; padding:0 9px; }

/* Toast */
.toast { position:fixed; right:20px; bottom:20px; z-index:100; background:#173342; color:#fff; padding:11px 14px; border-radius:9px; box-shadow:0 12px 35px rgba(0,0,0,.22); font-size:12px; opacity:0; transform:translateY(10px); pointer-events:none; transition:.18s ease; }
.toast.show { opacity:1; transform:none; }

@media (max-width: 1280px) {
  body { min-width: 1024px; }
  .kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sidebar { width:210px; }
  .main { margin-left:210px; }
  .app-shell { grid-template-columns:210px 1fr; }
  .top-title { min-width:150px; }
}
.page-actions select { height: 34px; border: 1px solid #cfdbe1; border-radius: 8px; background: #fff; padding: 0 9px; font-size: 12px; color: var(--ink); }

/* v1.1 query-first explorer */
.query-bar { display:flex; align-items:flex-end; gap:10px; padding:14px; margin-bottom:16px; background:#eaf1f4; border:1px solid #d7e3e8; border-radius:13px; }
.query-field { display:grid; gap:5px; min-width:150px; }
.query-field.wide { min-width:205px; }
.query-field.grow { min-width:260px; max-width:420px; flex:1; }
.query-field label { font-size:9px; letter-spacing:.07em; font-weight:800; color:#667b87; text-transform:uppercase; }
.query-field select, .query-field input { height:38px; border:1px solid #c8d7de; border-radius:9px; padding:0 10px; background:#fff; color:var(--ink); font-size:13px; min-width:0; }
.query-field select:focus, .query-field input:focus { outline:0; border-color:var(--teal); box-shadow:0 0 0 3px rgba(10,143,131,.09); }
.query-open { height:38px; }
.query-current { align-self:center; color:var(--muted); font-size:11px; padding-top:16px; }
.selection-title { display:flex; justify-content:space-between; gap:16px; align-items:flex-end; margin:4px 0 14px; }
.selection-title h3 { margin:3px 0 0; font-size:24px; letter-spacing:-.025em; }
.selection-title p { color:var(--muted); margin:5px 0 0; font-size:12px; }
.eyebrow { font-size:9px; letter-spacing:.10em; font-weight:900; color:var(--teal-2); }
.primary-table { margin-bottom:14px; }
.secondary-grid { margin-bottom:14px; }
.pager { display:flex; gap:9px; align-items:center; }
.table-foot .pager span { min-width:88px; text-align:center; }
.panel-tools .btn { white-space:nowrap; }
@media (max-width: 1280px) {
  .query-bar { flex-wrap:wrap; }
  .query-field.grow { max-width:none; }
}

/* fixed-shell sizing: sidebar is fixed, so the content must own the remaining viewport width */
.app-shell { display:block; min-height:100vh; }
.main { margin-left:238px; width:calc(100% - 238px); min-width:0; }
@media (max-width:1280px) {
  .main { margin-left:210px; width:calc(100% - 210px); }
}

/* v1.2 runtime drill-down + interactive tables */
.runtime-controls { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; padding:2px 0 14px; }
.runtime-select { display:grid; gap:5px; min-width:260px; }
.runtime-select label { font-size:9px; letter-spacing:.07em; font-weight:800; color:#667b87; text-transform:uppercase; }
.runtime-select select { height:38px; border:1px solid #c8d7de; border-radius:9px; padding:0 10px; background:#fff; color:var(--ink); font-size:12px; }
.runtime-arrow { align-self:center; font-size:22px; color:#8ba0aa; padding-top:17px; }
.runtime-sample-count { margin-left:auto; min-width:110px; display:grid; justify-items:end; align-self:center; padding-top:10px; }
.runtime-sample-count strong { font-size:22px; line-height:1; }
.runtime-sample-count span { color:var(--muted); font-size:10px; margin-top:3px; }
.runtime-mini-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:4px; }
.runtime-mini-kpis > div { background:#f7fafb; border:1px solid #e5ecef; border-radius:9px; padding:9px 11px; display:grid; gap:4px; }
.runtime-mini-kpis span { color:#71848e; font-size:9px; text-transform:uppercase; letter-spacing:.05em; font-weight:800; }
.runtime-mini-kpis strong { font-size:14px; }
.runtime-chart { min-height:330px; }
.chart-schedule-line { fill:none; stroke:var(--orange); stroke-width:2.3; }
.runtime-actual-point { fill:#fff; stroke:var(--teal); stroke-width:2; }
.runtime-actual-point:hover { fill:#e7f7f4; stroke-width:3; }
.runtime-legend i.actual-dot { width:9px; height:9px; border-radius:50%; background:#fff; border:2px solid var(--teal); }
.runtime-legend i.scheduled-line { width:18px; height:2px; border-radius:0; background:var(--orange); }

.table-toolbar { display:flex; align-items:center; gap:8px; padding:0 0 10px; flex-wrap:wrap; }
.table-search-wrap { position:relative; min-width:260px; max-width:460px; flex:1; }
.table-search { width:100%; height:34px; border:1px solid #cfdbe1; border-radius:8px; background:#fff; padding:0 10px 0 31px; color:var(--ink); font-size:11px; outline:none; }
.table-search:focus, .column-filter:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(10,143,131,.08); }
.search-icon { position:absolute; left:10px; top:7px; color:#78909c; font-size:15px; pointer-events:none; }
.table-count { margin-left:auto; color:var(--muted); font-size:10px; }
.sort-head { border:0; background:transparent; color:inherit; font:inherit; text-transform:inherit; letter-spacing:inherit; font-weight:inherit; padding:0; display:flex; align-items:center; gap:5px; white-space:nowrap; }
.sort-head:hover { color:var(--ink); }
.sort-arrow { font-size:8px; opacity:.45; }
.sort-arrow.active { opacity:1; color:var(--teal-2); }
.column-filter-row th { top:31px; z-index:3; padding:5px 6px; background:#edf3f5; }
.column-filter { height:27px; min-width:72px; width:100%; border:1px solid #d6e1e5; border-radius:6px; background:#fff; color:var(--ink); padding:0 6px; font-size:10px; text-transform:none; letter-spacing:0; outline:none; }
.table-wrap thead tr:first-child th { top:0; z-index:4; }

@media (max-width:1280px) {
  .runtime-mini-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .runtime-sample-count { margin-left:0; justify-items:start; }
}

/* v1.3 runtime outliers + service capacity analysis */
.runtime-select.compact { min-width:220px; }
.outlier-note { display:flex; align-items:flex-start; gap:10px; margin:2px 0 10px; padding:9px 11px; border:1px solid #e2eaee; border-radius:9px; background:#f8fafb; font-size:10px; color:var(--muted); }
.outlier-note strong { color:var(--ink); white-space:nowrap; }
.capacity-settings { display:grid; grid-template-columns:200px 200px minmax(320px,1fr); gap:10px; align-items:stretch; margin-bottom:14px; padding:12px; background:#eaf1f4; border:1px solid #d7e3e8; border-radius:13px; }
.capacity-field { display:grid; gap:5px; }
.capacity-field label { font-size:9px; letter-spacing:.07em; font-weight:800; color:#667b87; text-transform:uppercase; }
.capacity-field > div { display:flex; align-items:center; gap:7px; }
.capacity-field input { width:94px; height:38px; border:1px solid #c8d7de; border-radius:9px; padding:0 9px; background:#fff; color:var(--ink); font-size:13px; }
.capacity-field span { color:var(--muted); font-size:10px; }
.capacity-explainer { display:grid; align-content:center; gap:3px; padding:8px 10px; border-left:1px solid #cedce2; }
.capacity-explainer strong { font-size:11px; }
.capacity-explainer span { color:var(--muted); font-size:10px; line-height:1.45; }
.capacity-chart { min-height:300px; }
.capacity-warning-ref { stroke:var(--orange); stroke-width:1.4; stroke-dasharray:5 4; }
.capacity-limit-ref { stroke:var(--red); stroke-width:1.5; stroke-dasharray:2 3; }
.capacity-load-point { fill:#fff; stroke:var(--teal); stroke-width:2; }
.capacity-load-point.warning { fill:#fff7e8; stroke:var(--orange); }
.capacity-load-point.at-capacity { fill:#fff1f1; stroke:var(--red); stroke-width:2.4; }
.capacity-legend i.capacity-normal-dot { width:9px; height:9px; border-radius:50%; background:#fff; border:2px solid var(--teal); }
.capacity-legend i.capacity-warning-line { width:18px; height:0; border-top:2px dashed var(--orange); border-radius:0; }
.capacity-legend i.capacity-limit-line { width:18px; height:0; border-top:2px dashed var(--red); border-radius:0; }
.profile-line { fill:none; stroke-width:2; }
.profile-line.median { stroke:var(--teal); }
.profile-line.p85 { stroke:var(--blue); }
.profile-line.p95 { stroke:var(--orange); }
.profile-line.max { stroke:#8b6b9e; stroke-width:1.7; stroke-dasharray:5 3; }
.profile-p95-point { fill:#fff; stroke:var(--orange); stroke-width:1.6; }
.profile-legend i.profile-median { width:18px; height:2px; background:var(--teal); border-radius:0; }
.profile-legend i.profile-p85 { width:18px; height:2px; background:var(--blue); border-radius:0; }
.profile-legend i.profile-p95 { width:18px; height:2px; background:var(--orange); border-radius:0; }
.profile-legend i.profile-max { width:18px; height:0; border-top:2px dashed #8b6b9e; border-radius:0; }
@media (max-width:980px){.capacity-settings{grid-template-columns:1fr 1fr}.capacity-explainer{grid-column:1/-1;border-left:0;border-top:1px solid #cedce2}.runtime-select.compact{min-width:260px}}
