:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5d636e;
  --faint: #8a909b;
  --line: #e3e3df;
  --line-strong: #cfcfca;
  --bar: #c9ccd2;
  --accent: #127a4a;         /* cheapest = the one thing that matters */
  --accent-soft: #e3f3ea;
  --warn: #9a5b00;
  --warn-soft: #fbf0dc;
  --danger: #b42318;
  --focus: #1f6feb;
  --radius: 8px;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b20;
    --text: #eceef1;
    --muted: #a3a9b3;
    --faint: #7b818b;
    --line: #2a2e35;
    --line-strong: #3a3f47;
    --bar: #4a505a;
    --accent: #3ccf85;
    --accent-soft: #15352a;
    --warn: #e7a64a;
    --warn-soft: #3a2b12;
    --danger: #ff7b72;
    --focus: #6ea8ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  font-feature-settings: "tnum" 1;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- header ---------- */
.top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s3); padding: var(--s5) var(--s4) var(--s2); max-width: 1600px; margin: 0 auto;
}
h1 {
  margin: 0; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1; font-weight: 800;
  letter-spacing: -0.035em;
}
h1 .by { font-weight: 400; color: var(--muted); letter-spacing: -0.03em; }
.sub { margin: var(--s2) 0 0; color: var(--muted); font-size: 15px; }
.top-controls { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.status {
  max-width: 1600px; margin: 0 auto; padding: 0 var(--s4) var(--s3); color: var(--faint); font-size: 12.5px;
}
.status.err { color: var(--danger); }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
h2 { margin: 0; font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: var(--s2); }
h3 { margin: 0 0 var(--s2); font-size: 13px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.step {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); color: var(--surface); font-size: 11.5px; font-weight: 700;
}
.count { color: var(--faint); font-weight: 500; }

/* ---------- buttons & fields ---------- */
.btn {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 6px;
  padding: 6px 12px; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn.ghost { background: transparent; }
.btn.primary { background: var(--text); color: var(--surface); border-color: var(--text); }
.btn.small { padding: 3px 9px; font-size: 12.5px; }
.btn.icon { padding: 2px 8px; border-color: transparent; color: var(--faint); background: transparent; font-size: 16px; line-height: 1; }
.btn.icon:hover { color: var(--danger); border-color: transparent; }

.add-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s3); }
.add-row .btn::before { content: "+ "; color: var(--faint); }

.field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.field > span { font-size: 11.5px; color: var(--muted); }
.field.inline { flex-direction: row; align-items: center; gap: var(--s2); }
.field input, .field select, .search {
  width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--surface);
}
.field input[type=number] { text-align: right; }
.hint { font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ---------- workloads ---------- */
.workloads { display: flex; flex-direction: column; gap: var(--s2); }
.wl { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px var(--s3) var(--s3); }
.wl-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.wl-type { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wl-name {
  flex: 1; border: 0; background: transparent; font-weight: 600; padding: 2px 4px; border-radius: 4px; min-width: 0;
}
.wl-name:hover, .wl-name:focus { background: var(--bg); }
.wl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s2); }
.wl-grid .w2 { grid-column: span 2; } .wl-grid .w3 { grid-column: span 3; }
.wl-grid .w4 { grid-column: span 4; } .wl-grid .w6 { grid-column: span 6; }
.empty-small { color: var(--faint); font-size: 13px; padding: var(--s2) 0; }

/* ---------- regions ---------- */
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s2); }
.search { margin-bottom: var(--s2); }
.region-list { max-height: 420px; overflow: auto; border-top: 1px solid var(--line); padding-top: var(--s2); }
.geo { margin-bottom: var(--s2); }
.geo-head { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; }
.geo-head button { font-size: 11.5px; border: 0; background: none; color: var(--faint); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; }
.geo-head button:hover { color: var(--text); }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s2); }
.region { display: flex; align-items: center; gap: 6px; padding: 3px 2px; cursor: pointer; border-radius: 4px; font-size: 13px; }
.region:hover { background: var(--bg); }
.region input { margin: 0; accent-color: var(--text); }
.region small { color: var(--faint); font-size: 11px; margin-left: auto; }

/* ---------- results ---------- */
.results { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.hero {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4);
}
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; gap: var(--s3); } }
.kicker { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hero-main .region-name { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent); }
.hero-main .big { font-size: 20px; font-weight: 650; margin-top: 6px; }
.hero-main .big small { font-size: 13px; color: var(--muted); font-weight: 400; }
.stat .val { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.stat .ctx { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s4) var(--s4); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); flex-wrap: wrap; }
.card-head h2 { font-size: 15px; }
.card-head p { margin: 0; font-size: 12.5px; color: var(--faint); }

/* ranking bars */
.rank { display: grid; grid-template-columns: minmax(120px, 210px) 1fr auto auto; gap: 6px var(--s3); align-items: center; }
.rank .rn { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .rn small { color: var(--faint); margin-left: 6px; font-size: 11.5px; }
.rank .track { height: 18px; position: relative; }
.rank .fill { height: 100%; background: var(--bar); border-radius: 0 3px 3px 0; min-width: 2px; transition: width .35s ease; }
.rank .first .fill, .rank .fill.first { background: var(--accent); }
.rank .fill.partial { background: repeating-linear-gradient(135deg, var(--bar) 0 5px, transparent 5px 9px); }
.rank .rv { text-align: right; font-weight: 650; font-size: 13.5px; white-space: nowrap; }
.rank .rd { text-align: right; font-size: 12.5px; color: var(--muted); white-space: nowrap; min-width: 64px; }
.rank .rd.best { color: var(--accent); font-weight: 650; }
.rank .rn.best { font-weight: 650; }
.rank .note { grid-column: 2 / -1; font-size: 11.5px; color: var(--warn); margin-top: -4px; }

/* matrix */
.table-wrap { overflow-x: auto; margin: 0 calc(var(--s4) * -1); padding: 0 var(--s4); }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); white-space: normal; min-width: 200px; }
thead th { font-size: 12px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
thead th .geo-s { display: block; font-weight: 400; color: var(--faint); font-size: 11px; }
td .u { display: block; font-size: 11px; color: var(--faint); margin-top: 1px; }
td .wn { font-weight: 600; }
td .wd { display: block; font-size: 11.5px; color: var(--faint); }
td.min { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
td.min .u { color: var(--accent); opacity: .8; }
td.na { color: var(--faint); }
td.loading { color: var(--faint); }
tfoot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--line-strong); }
tfoot td.min { font-weight: 750; }
th.col-best { color: var(--accent); }

.empty {
  background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: var(--s5) var(--s4); text-align: center; color: var(--muted);
}
.empty h2 { justify-content: center; font-size: 18px; color: var(--text); margin-bottom: var(--s2); }
.empty p { margin: 0 0 var(--s3); }

.skeleton { color: transparent !important; background: linear-gradient(90deg, var(--line) 0, var(--bg) 50%, var(--line) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 4px; }
@keyframes sk { to { background-position: -200% 0; } }

.foot { max-width: 1600px; margin: 0 auto; padding: var(--s2) var(--s4) var(--s5); color: var(--faint); font-size: 12px; }
.foot p { max-width: 900px; margin: 0; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--surface);
  padding: 8px 16px; border-radius: 6px; font-size: 13px; z-index: 10;
}
@media (prefers-reduced-motion: reduce) { .rank .fill { transition: none; } .skeleton { animation-duration: 3s; } }
@media (max-width: 560px) {
  .top { padding: var(--s4) var(--s3) var(--s2); }
  .flow { padding: 0 var(--s3) var(--s3); }
  .rank { grid-template-columns: 1fr auto; }
  .rank .track { grid-column: 1 / -1; order: 3; height: 10px; }
  .rank .rd { display: none; }
  .regions { grid-template-columns: 1fr; }
}

/* ---------- loading animations ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20; overflow: hidden; opacity: 0; transition: opacity .25s; pointer-events: none; }
.progress.on { opacity: 1; }
.progress-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--accent); transition: width .3s ease; }
.progress.on .progress-bar::after {
  content: ""; position: absolute; inset: 0; width: 120px; right: 0; left: auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7)); animation: glint 1s infinite;
}
.progress.indeterminate .progress-bar { width: 35% !important; animation: indet 1.1s infinite cubic-bezier(.65,.05,.36,1); }
@keyframes indet { from { left: -35%; } to { left: 100%; } }
@keyframes glint { from { opacity: .2; } 50% { opacity: 1; } to { opacity: .2; } }

.status { display: flex; align-items: center; gap: 8px; }
.spinner { display: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin .7s linear infinite; flex: none; }
.status.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.fill.loading { background: linear-gradient(90deg, var(--bar) 0, var(--line) 50%, var(--bar) 100%) !important; background-size: 200% 100% !important; animation: sk 1.1s infinite linear; }
.card.is-loading .card-head h2::after, .wl.is-loading .wl-type::after {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin .7s linear infinite; vertical-align: -1px;
}
.hero.is-loading { position: relative; overflow: hidden; }
.hero.is-loading::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--surface) 60%, transparent) 50%, transparent 80%);
  background-size: 200% 100%; animation: sk 1.3s infinite linear;
}
.fade-in { animation: fadein .35s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .spinner, .progress-bar, .fill.loading, .hero.is-loading::after, .fade-in { animation-duration: 3s !important; }
}

/* ---------- boot popup ---------- */
body.booting { overflow: hidden; }
.boot {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--s3);
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  transition: opacity .45s ease, visibility .45s;
}
.boot.done { opacity: 0; visibility: hidden; }
.boot-card {
  width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: var(--s4) var(--s4) var(--s3); box-shadow: 0 24px 60px -20px rgba(0,0,0,.35);
  animation: pop .4s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.boot-brand { font-weight: 800; letter-spacing: -0.02em; font-size: 15px; }
.boot-brand span { font-weight: 400; color: var(--muted); }
.boot-card h2 { font-size: 20px; margin: 4px 0 var(--s3); letter-spacing: -0.01em; }
.boot-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 238px; }
.boot-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; animation: stepin .3s ease both; }
.boot-steps li .detail { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.boot-steps li.pending { color: var(--muted); }
@keyframes stepin { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.ico { width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.ico .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin .7s linear infinite; }
.ico svg { width: 20px; height: 20px; }
.ico .ok circle { fill: #1f9d55; }
.ico .ok path { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .35s .05s ease forwards; }
.ico .ok { animation: popok .3s cubic-bezier(.2,.9,.3,1.4) both; }
.ico .bad circle { fill: var(--danger); }
.ico .bad path { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popok { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.boot-foot { margin-top: var(--s3); min-height: 20px; font-size: 12.5px; color: var(--faint); display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.boot-foot.err { color: var(--danger); }
@media (prefers-reduced-motion: reduce) { .boot-card, .boot-steps li, .ico .ok, .ico .ok path { animation-duration: .01s; } }

/* ---------- three-step flow ---------- */
.steps-nav {
  position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap;
  max-width: 1600px; margin: 0 auto var(--s3); padding: 10px var(--s4);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.steps-nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 999px; }
.steps-nav a:hover { background: var(--surface); }
.steps-nav .step { background: var(--line-strong); color: var(--text); }
.steps-nav a.done .step { background: var(--accent); color: #fff; }
.steps-nav a.done .step::before { content: "✓"; }
.steps-nav a.done .step { font-size: 0; }
.steps-nav a.done .step::before { font-size: 11.5px; }
.sn-label { font-weight: 650; font-size: 13.5px; }
.sn-sum { color: var(--muted); font-size: 12.5px; }
.sn-sep { color: var(--faint); }

.flow { max-width: 1600px; margin: 0 auto; padding: 0 var(--s4) var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s4); scroll-margin-top: 64px; }
.stage.plain { background: transparent; border: 0; padding: 0; }
.stage.plain > .stage-head { padding: 0 var(--s1); }
.stage-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.stage-title h2 { font-size: 20px; letter-spacing: -0.01em; }
.stage-sum { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.step.big { width: 32px; height: 32px; font-size: 15px; flex: none; }

/* regions */
.region-tools { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; margin-bottom: var(--s3); }
.region-tools .presets { margin: 0; }
.region-tools .search { flex: 1 1 260px; max-width: 420px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line-strong); font-size: 13px; cursor: default;
}
.chip small { color: var(--faint); font-size: 11px; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--faint); font-size: 15px; line-height: 1; padding: 0 4px; border-radius: 50%; }
.chip button:hover { color: var(--danger); }
.chips .none { color: var(--faint); font-size: 13px; }
.linkbtn { margin-top: var(--s3); border: 0; background: none; padding: 0; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--text); }
.region-list { max-height: none; overflow: visible; margin-top: var(--s3); padding-top: var(--s3); columns: 250px auto; column-gap: var(--s4); }
.region-list .geo { break-inside: avoid; margin-bottom: var(--s3); }
.region-list .regions { grid-template-columns: 1fr; }

/* workloads */
.add-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s2); margin-bottom: var(--s3); }
.tile {
  text-align: left; border: 1px dashed var(--line-strong); background: var(--bg); border-radius: var(--radius);
  padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
}
.tile:hover { border-style: solid; border-color: var(--text); background: var(--surface); }
.tile b { font-size: 13.5px; }
.tile b::before { content: "+ "; color: var(--accent); }
.tile span { font-size: 12px; color: var(--muted); }
.tile em { font-style: normal; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.workloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: var(--s3); }
.wl { background: var(--surface); position: relative; }
.workloads .empty-small { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s4); text-align: center; }

/* VM size picker */
.picker-btn {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; text-align: left;
  padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); cursor: pointer;
}
.picker-btn:hover, .picker-btn[aria-expanded="true"] { border-color: var(--text); }
.picker-btn .pv { font-weight: 650; }
.picker-btn .pm { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-btn .caret { color: var(--faint); font-size: 11px; }
.vmpop {
  position: fixed; z-index: 40; width: 520px; max-width: calc(100vw - 16px); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 48px -12px rgba(0,0,0,.35);
  display: flex; flex-direction: column; overflow: hidden; animation: pop .18s ease both;
}
.vmpop[hidden] { display: none; }
.vmpop-top { display: flex; gap: var(--s2); padding: 10px 10px 6px; }
.vmpop-top .search { margin: 0; flex: 1; }
.vmpop-top select { padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); }
.vmpop-cats { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px 8px; border-bottom: 1px solid var(--line); }
.vmpop-cats button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 2px 10px; font-size: 12px; cursor: pointer; color: var(--muted); }
.vmpop-cats button.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.vmpop-list { max-height: min(420px, 55vh); overflow: auto; padding: 4px 0; }
.vmpop-group { position: sticky; top: 0; background: var(--surface); padding: 8px 12px 4px; font-size: 11px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.vmpop-group span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); }
.opt { display: grid; grid-template-columns: 1fr 70px 80px; gap: var(--s2); padding: 6px 12px; cursor: pointer; font-size: 13px; }
.opt .oc, .opt .om { text-align: right; color: var(--muted); }
.opt:hover, .opt.active { background: var(--bg); }
.opt.sel { color: var(--accent); font-weight: 650; }
.opt.sel .oc, .opt.sel .om { color: var(--accent); }
.vmpop-foot { padding: 6px 12px; font-size: 11.5px; color: var(--faint); border-top: 1px solid var(--line); }
.vmpop-empty { padding: var(--s4); text-align: center; color: var(--faint); }

@media (max-width: 720px) {
  .stage { padding: var(--s3); }
  .steps-nav { padding: 8px var(--s3); }
  .sn-sum { display: none; }
  .workloads { grid-template-columns: 1fr; }
}
