/* Vulnerability Index Builder — British Red Cross design language
   Palette from the BRC component library:
   red-primary #D0021B · red-contrast #9C0214 · navy #193351 · teal #2B7586
   green #40A22A / #05853A · mustard #F1B13B / #8A6116 · link blue #1D70B8 */

:root {
  --red: #D0021B;
  --red-dark: #9C0214;
  --navy: #193351;
  --teal: #2B7586;
  --green: #40A22A;
  --green-dark: #05853A;
  --green-border: #44A46C;
  --mustard: #F1B13B;
  --mustard-dark: #8A6116;
  --mustard-bg: #FFF7E8;
  --link: #1D70B8;
  --ink: #262626;
  --grey-40: #717171;
  --grey-cool: #5C7478;
  --grey-eyebrow: #5C7478;
  --border: #E0E0E0;
  --border-light: #F0F0F0;
  --bg: #F6F6F6;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  color: var(--ink);
}

button { font-family: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible, [role="radio"]:focus-visible, [role="checkbox"]:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 1px;
}

@keyframes vibspin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.header { background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center;
  gap: 16px; padding: 12px 32px; flex-wrap: wrap;
}
.header-logo { height: 38px; display: block; }
.vr { width: 1px; height: 30px; background: var(--border); }
.header-title { font-weight: 700; font-size: 17px; }
.header-chip {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--grey-40);
  border: 1px solid var(--border); padding: 3px 8px; border-radius: 2px; white-space: nowrap;
}
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.seg { display: flex; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.seg-btn {
  font-size: 13px; font-weight: 700; cursor: pointer; padding: 8px 14px; border: none;
  background: var(--white); color: var(--grey-40);
}
.seg-btn.active { background: var(--navy); color: var(--white); }

/* outlined dark button (Start again, Suggest assignments) */
.btn-outline-dark {
  background: var(--white); border: 2px solid var(--ink); border-radius: 2px;
  padding: 8px 14px; font-size: 14px; font-weight: 800; color: var(--ink);
  cursor: pointer; white-space: nowrap;
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-outline-dark.sm { padding: 8px 13px; font-size: 13px; }

/* ---------- BRC-style buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 48px; padding: 10px 18px; border-radius: 2px;
  font-size: 15px; font-weight: 800; cursor: pointer; text-align: center; line-height: 1.25;
}
.btn-primary { background: var(--red); border: 2px solid var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { background: var(--white); border: 2px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn:disabled, .btn:disabled:hover {
  background: var(--border); border-color: var(--border); color: var(--grey-40); cursor: default;
}

.linkish {
  background: none; border: none; padding: 4px; font-size: 13.5px; font-weight: 700;
  color: var(--link); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}

/* ---------- status banners ---------- */
.banner {
  display: flex; gap: 12px; align-items: flex-start; border-radius: 2px;
  padding: 13px 16px; font-size: 14px; line-height: 1.5; border: 1px solid;
}
.banner + .banner { margin-top: 8px; }
.banner-icon {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 12px; font-weight: 800;
}
.banner-info { background: #EFF5FA; border-color: #9DC1DE; }
.banner-info .banner-icon { background: var(--link); }
.banner-warning { background: var(--mustard-bg); border-color: var(--mustard); }
.banner-warning .banner-icon { background: var(--mustard-dark); }
.banner-error { background: #FBEBED; border-color: #E58995; }
.banner-error .banner-icon { background: var(--red); }

/* ---------- generic cards / layout ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--grey-eyebrow); }

.container-home { max-width: 1120px; margin: 0 auto; padding: 56px 32px 72px; }
.container-app { max-width: 1280px; margin: 0 auto; padding: 28px 32px 64px; }

/* ---------- home ---------- */
.home-hero { max-width: 760px; }
.home-hero h1 { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 800; }
.home-hero p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #444444; }

.cards-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 36px; }
.cards-3 .card { padding: 20px; }
.cards-3 p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; }

.home-h2 { margin: 48px 0 6px; font-size: 24px; font-weight: 800; }
.home-h2-sub { margin: 0 0 20px; font-size: 15px; color: var(--grey-40); }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.mode-head { display: flex; align-items: center; gap: 10px; }
.mode-badge {
  width: 28px; height: 28px; color: var(--white); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.mode-title { font-size: 19px; font-weight: 800; }
.mode-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #444444; flex: 1; }
.mode-viz { display: flex; align-items: center; gap: 6px; padding: 14px 0; }
.mode-viz-circle {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px; box-sizing: border-box;
}
.mode-viz-line { flex: 1; height: 2px; background: var(--border); }
.home-foot { margin: 28px 0 0; font-size: 13.5px; color: var(--grey-40); }

/* ---------- wizard stepper ---------- */
.stepper { display: flex; align-items: center; gap: 8px; padding: 4px 0 24px; flex-wrap: wrap; }
.step-wrap { display: flex; align-items: center; gap: 8px; }
.step-wrap.grow { flex: 1; }
.step-btn { display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 2px; }
.step-btn.clickable { cursor: pointer; }
.step-circle {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 800; flex: none;
  background: var(--white); color: var(--grey-40); border: 2px solid #BBBBBB; box-sizing: border-box;
}
.step-circle.done { background: var(--green); color: var(--white); border-color: transparent; }
.step-circle.current { background: var(--red); color: var(--white); border-color: transparent; }
.step-label { font-size: 13.5px; font-weight: 700; color: var(--grey-40); white-space: nowrap; }
.step-label.current { font-weight: 800; color: var(--ink); }
.step-line { flex: 1; height: 2px; background: var(--border); min-width: 12px; }
.step-line.done { background: var(--green); }

/* ---------- wizard layout ---------- */
.wizard-flex { display: flex; gap: 24px; align-items: flex-start; }
.wizard-main { flex: 1; min-width: 0; }
.step-card { padding: 28px; }
.step-card h2 { margin: 6px 0 8px; font-size: 26px; font-weight: 800; }
.step-intro { margin: 0 0 20px; font-size: 15px; color: #444444; line-height: 1.55; }

.step-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--border); margin-top: 26px; padding-top: 20px; flex-wrap: wrap;
}
.step-footer-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.next-hint { font-size: 13.5px; color: var(--grey-40); }

/* guidance sidebar */
.aside-guidance { width: 320px; flex: none; position: sticky; top: 24px; }
.guidance-card { overflow: hidden; }
.guidance-head { background: var(--navy); color: var(--white); padding: 14px 18px; }
.guidance-head-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--grey-cool); }
.guidance-head-title { font-size: 16.5px; font-weight: 800; margin-top: 3px; }
.guidance-body { padding: 18px; }
.guidance-body p { margin: 0; font-size: 14px; line-height: 1.6; color: #444444; }
.guidance-body p + p { margin-top: 12px; }
.guidance-example { margin-top: 14px; background: var(--bg); border-radius: 4px; padding: 12px 14px; }
.guidance-example-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--teal); }
.guidance-example p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; }

/* ---------- upload ---------- */
.dropzone {
  border: 2px dashed #BBBBBB; border-radius: 4px; padding: 44px 24px; text-align: center;
  background: var(--white);
}
.dropzone:hover, .dropzone.dragging { border-color: var(--ink); background: #FAFAFA; }
.dropzone-upload {
  display: block; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink);
  cursor: pointer; text-align: center;
}
.dropzone-plus {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-size: 24px; color: var(--grey-40);
}
.dropzone-title { display: block; font-size: 17px; font-weight: 700; }
.dropzone-sub { display: block; margin-top: 6px; font-size: 14px; color: var(--grey-40); }
.dropzone-or { display: flex; align-items: center; gap: 12px; max-width: 360px; margin: 20px auto; }
.dropzone-or > div:first-child, .dropzone-or > div:last-child { flex: 1; height: 1px; background: var(--border); }
.dropzone-or-label { font-size: 13px; color: var(--grey-40); font-weight: 700; }
.dropzone-note { margin-top: 16px; font-size: 12.5px; color: var(--grey-cool); }

/* compact dropzone (workspace) */
.dropzone-row {
  border: 2px dashed #BBBBBB; border-radius: 4px; padding: 22px; display: flex;
  align-items: center; gap: 18px; flex-wrap: wrap;
}
.dropzone-row:hover, .dropzone-row.dragging { border-color: var(--ink); background: #FAFAFA; }
.dropzone-row-upload {
  display: flex; align-items: center; gap: 18px; flex: 1 1 360px; padding: 0; border: 0;
  background: transparent; color: var(--ink); cursor: pointer;
}
.dropzone-row .dropzone-plus { width: 40px; height: 40px; font-size: 20px; margin: 0; flex: none; }

.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--red);
  border-radius: 50%; animation: vibspin 0.8s linear infinite;
}
.uploading-box { border: 1px solid var(--border); border-radius: 4px; padding: 44px 24px; text-align: center; }
.uploading-box .spinner { margin: 0 auto 14px; }
.uploading-row { border: 1px solid var(--border); border-radius: 4px; padding: 22px; display: flex; align-items: center; gap: 14px; }
.uploading-row .spinner { width: 24px; height: 24px; }

.filecard { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 4px; padding: 16px 18px; flex-wrap: wrap; }
.filecard-icon {
  width: 42px; height: 50px; background: var(--bg); border: 1px solid var(--border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800;
  color: var(--green); flex: none;
}
.filecard-name { font-size: 15.5px; font-weight: 800; overflow-wrap: anywhere; }
.filecard-meta { font-size: 13.5px; color: var(--grey-40); margin-top: 2px; }
.filecard-check { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 2px; padding: 5px 10px; }
.filecard-check-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}
.filecard-check-label { font-size: 13px; font-weight: 700; color: var(--green-dark); }

/* sheet preview */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--border); margin-top: 22px; overflow-x: auto; }
.tab {
  font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 10px 16px;
  background: none; border: none; border-bottom: 3px solid transparent;
  color: var(--grey-40); margin-bottom: -2px; white-space: nowrap;
}
.tab.active { border-bottom-color: var(--red); color: var(--ink); }

.preview-wrap { overflow-x: auto; border: 1px solid var(--border); border-top: none; border-radius: 0 0 4px 4px; }
table.preview { border-collapse: collapse; width: 100%; }
table.preview th {
  padding: 9px 14px; font-size: 12px; font-weight: 800; color: var(--grey-eyebrow);
  background: var(--bg); border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap;
}
table.preview td { padding: 9px 14px; font-size: 13px; border-bottom: 1px solid var(--border-light); white-space: nowrap; }
table.preview th.num, table.preview td.num { text-align: right; }
.preview-note { padding: 8px 14px; font-size: 12.5px; color: var(--grey-cool); }

/* ---------- domains ---------- */
.domain-row {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--border);
  border-radius: 4px; padding: 12px 16px; flex-wrap: wrap;
}
.dot { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.tinput {
  flex: 1; min-width: 160px; font-family: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink);
  border: 1px solid var(--border); border-radius: 2px; padding: 9px 12px; outline: none;
}
.tinput:focus, .winput:focus { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.winput {
  width: 90px; font-family: inherit; font-size: 14.5px; font-weight: 700;
  border: 1px solid var(--border); border-radius: 2px; padding: 8px 10px; outline: none; text-align: right;
}
.domain-weight-note { font-size: 13.5px; color: var(--grey-40); width: 150px; text-align: right; }
.remove-btn {
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--white); color: var(--grey-40); font-size: 15px; cursor: pointer; flex: none;
}
.remove-btn:hover { border-color: var(--red); color: var(--red); }
.add-domain-btn {
  margin-top: 12px; width: 100%; border: 2px dashed #BBBBBB; border-radius: 4px; background: none;
  padding: 12px; font-size: 14.5px; font-weight: 700; color: var(--grey-40); cursor: pointer;
}
.add-domain-btn:hover { border-color: var(--ink); color: var(--ink); }
.add-domain-btn.sm { width: auto; padding: 7px 14px; font-size: 13px; border-radius: 2px; margin-top: 0; }
.weight-sum { font-size: 13.5px; font-weight: 800; }
.weight-sum.ok { color: var(--green-dark); }
.weight-sum.bad { color: var(--red); }

/* ---------- advanced accordion ---------- */
.adv { margin-top: 24px; border: 1px solid var(--border); border-radius: 4px; }
.adv-head {
  width: 100%; display: flex; align-items: center; gap: 10px; background: var(--bg); border: none;
  padding: 14px 16px; font-size: 14.5px; font-weight: 800; color: var(--ink); cursor: pointer; text-align: left;
  border-radius: 4px; flex-wrap: wrap;
}
.adv-head .muted { font-weight: 400; color: var(--grey-40); font-size: 13.5px; }
.chev { display: inline-block; transition: transform 0.15s; font-size: 12px; color: var(--grey-40); }
.chev.open { transform: rotate(90deg); }
.adv-body { padding: 18px 16px; border-top: 1px solid var(--border); }
.adv-body > p { margin: 0 0 14px; font-size: 14px; color: #444444; line-height: 1.55; }

/* ---------- indicators ---------- */
.sheet-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--grey-eyebrow); margin-bottom: 8px; }
.ind-row {
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--border);
  border-radius: 4px; padding: 12px 16px; flex-wrap: wrap;
}
.ind-row.sm { gap: 12px; border-color: var(--border-light); padding: 9px 12px; }
.ind-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ind-unit { font-size: 12.5px; color: var(--grey-cool); margin-top: 2px; }
.flip-tag {
  font-size: 11px; font-weight: 800; color: var(--navy); background: var(--bg);
  border: 1px solid var(--border); border-radius: 2px; padding: 2px 6px; white-space: nowrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chips .chips-vr { width: 1px; height: 22px; background: var(--border); }
.chip-btn {
  padding: 8px 13px; border-radius: 2px; font-size: 13.5px; font-weight: 700; cursor: pointer;
  background: var(--white); color: var(--ink); border: 2px solid var(--border); white-space: nowrap;
}
.chip-btn.sm { padding: 6px 10px; font-size: 12.5px; }
.chip-btn.excl { border-style: dashed; color: var(--grey-40); }
.chip-btn.excl.on { background: var(--grey-40); border-color: var(--grey-40); color: var(--white); }
.assign-count { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.assign-count.ok { color: var(--green-dark); }
.assign-count.todo { color: var(--mustard-dark); }
.flip-btn {
  border: 2px solid var(--border); border-radius: 2px; background: var(--white); color: var(--grey-40);
  padding: 5px 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.flip-btn.on { border-color: var(--navy); background: var(--navy); color: var(--white); }

.checkbox {
  width: 22px; height: 22px; flex: none; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--white); color: var(--white); font-size: 13px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.checkbox.checked { border-color: var(--green); background: var(--green); }
.check-row { display: flex; align-items: flex-start; gap: 12px; }
.check-row-title { font-size: 14.5px; font-weight: 700; }
.check-row-sub { font-size: 13px; color: var(--grey-40); margin-top: 2px; }

/* ---------- bands ---------- */
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.band-card {
  text-align: left; cursor: pointer; background: var(--white); border: 2px solid var(--border);
  border-radius: 4px; padding: 16px 18px; display: block; width: 100%;
}
.band-card.active { border-color: var(--red); }
.band-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.band-card-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.band-card-right { display: flex; align-items: center; gap: 8px; }
.rec-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--green-dark);
  border: 1px solid var(--green-border); border-radius: 2px; padding: 2px 6px; white-space: nowrap;
}
.band-radio {
  width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box; flex: none;
  border: 2px solid #BBBBBB; background: var(--white);
}
.band-radio.active { border: 6px solid var(--red); }
.band-segs { display: flex; gap: 2px; margin: 12px 0 8px; }
.band-seg { flex: 1; height: 10px; border-radius: 1px; }
.band-card-sub { font-size: 13.5px; color: var(--grey-40); }
.band-chip {
  font-size: 13px; font-weight: 700; cursor: pointer; padding: 8px 13px; border-radius: 2px;
  border: 2px solid var(--border); background: var(--white); color: var(--ink); white-space: nowrap;
}
.band-chip.active { border-color: var(--red); background: var(--red); color: var(--white); }
.band-statement { margin-top: 18px; background: var(--bg); border-radius: 4px; padding: 16px 18px; font-size: 15px; line-height: 1.5; }
.band-statement.sm { margin-top: 12px; padding: 12px 14px; font-size: 13.5px; color: #444444; }

.radio-outer {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px;
}
.radio-outer.active { border-color: var(--green); }
.radio-inner { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.radio-outer.active .radio-inner { background: var(--green); }
.radio-btn { background: none; border: none; padding: 0; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; text-align: left; }

/* ---------- results ---------- */
.results-wrap { border: 1px solid var(--border); border-radius: 4px; overflow-x: auto; }
table.results { border-collapse: collapse; width: 100%; min-width: 820px; }
table.results thead th {
  background: var(--navy); color: var(--white); padding: 10px 16px; font-size: 12px;
  font-weight: 800; letter-spacing: 0.05em; text-align: left; white-space: nowrap;
}
table.results td { padding: 9px 16px; font-size: 14px; border-top: 1px solid var(--border-light); vertical-align: middle; }
table.results th.num, table.results td.num { text-align: right; }
.res-rank { font-weight: 800; }
.res-name { font-weight: 700; }
.res-code { font-size: 12px; color: var(--grey-cool); }
.res-score { font-weight: 800; font-size: 15px; }
.band-pill { display: inline-block; padding: 3px 9px; border-radius: 2px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.dom-cell-val { font-weight: 700; font-size: 13.5px; }
.dom-cell-bar { width: 64px; height: 5px; background: var(--border-light); border-radius: 2px; margin-top: 3px; }
.dom-cell-bar > div { height: 100%; border-radius: 2px; }
.results-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.results-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--grey-cool); text-align: right; }

/* ---------- workspace ---------- */
.ws-flex { display: flex; gap: 24px; align-items: flex-start; }
.ws-aside { width: 280px; flex: none; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.ws-aside-card { padding: 20px; }
.ws-aside-note { padding: 16px 18px; font-size: 13px; line-height: 1.55; color: var(--grey-40); }
.ws-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ws-card { padding: 24px; }
.ws-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.ws-card-head h2 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; }
.ws-card-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--grey-40); }

.checklist-title { font-size: 16px; font-weight: 800; }
.checklist-progress-label { font-size: 13px; color: var(--grey-40); margin-top: 2px; }
.progress-track { height: 6px; background: var(--border-light); border-radius: 3px; margin: 12px 0 16px; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--green); }
.check-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 2px;
  text-decoration: none; color: var(--ink);
}
.check-item:hover { background: var(--bg); }
.check-circle {
  width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex: none; box-sizing: border-box; margin-top: 1px;
  background: var(--white); color: var(--grey-40); border: 2px solid #BBBBBB;
}
.check-circle.done { background: var(--green); color: var(--white); border-color: var(--green); }
.check-label { display: block; font-size: 14px; font-weight: 800; }
.check-status { display: block; font-size: 12.5px; color: var(--grey-40); margin-top: 1px; }

.tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 2px;
  white-space: nowrap; background: var(--mustard-bg); color: var(--mustard-dark); border: 1px solid var(--mustard);
}
.tag.ok { background: var(--bg); color: var(--green-dark); border-color: var(--green-border); }
.numcircle {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex: none; box-sizing: border-box; background: var(--navy); color: var(--white);
}
.numcircle.ok { background: var(--green); }

.results-blocked { border: 2px dashed var(--border); border-radius: 4px; padding: 32px; text-align: center; }
.results-blocked-title { font-size: 15px; font-weight: 700; color: var(--grey-40); }
.results-blocked-sub { font-size: 13px; color: var(--grey-cool); margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .wizard-flex, .ws-flex { flex-direction: column; }
  .aside-guidance, .ws-aside { width: 100%; position: static; }
  .wizard-main, .ws-main { width: 100%; }
}
@media (max-width: 820px) {
  .cards-3 { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
  .container-home { padding: 32px 20px 48px; }
  .container-app { padding: 20px 16px 48px; }
  .header-inner { padding: 12px 16px; }
  .home-hero h1 { font-size: 30px; }
}
