/* Mirror Moment style guide, v1. The guide sets headlines in Proxima Nova Black
   and body copy in Sofia Pro. Until the Adobe Fonts web project is in place, two
   self-hosted Google Fonts stand in (SIL Open Font License), which keeps the CSP
   at 'self': Montserrat 900 for Proxima Nova Black, and Poppins (Regular and
   Bold, with italics) for Sofia Pro. Swap --display and --body when the real
   faces arrive. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-latin-700-italic.woff2") format("woff2");
}
/* Orange leads, yellow accents, everything else white, black and gray.
   Yellow is for thin lines and small markers only: never text, never buttons. */
:root {
  --orange: #f34f1f; /* fills: buttons, highlight blocks, chart shape */
  --orange-text: #d9441a; /* headlines, labels, links, wordmark */
  --yellow: #fcc13d; /* thin lines and small markers */
  --tint: #feefeb; /* orange 9% on white: panel fills */
  --ink: #000;
  --ink-soft: #3a3a3a; /* notes and captions */
  --line: #e8e8e8; /* divider lines */
  --card: #ffffff;
  --display: "Montserrat", "Arial Black", sans-serif;
  --body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font: 20px/1.7 var(--body);
  background: #fff;
  color: var(--ink);
}
main {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem clamp(20px, 4vw, 48px) 4rem;
}
/* The dashboard is a layout, not a reading column. */
main.wide {
  max-width: 1120px;
  padding: 3rem clamp(20px, 4vw, 48px) 6rem;
}
h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--orange-text);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--orange-text);
  margin: 3rem 0 0.75rem;
  text-wrap: balance;
}
h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  margin: 0 0 0.75rem;
}
p {
  margin: 0.6rem 0;
}
.lede {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.55;
  max-width: 620px;
}

button {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  min-height: 56px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  padding: 16px 32px;
  background: var(--orange);
  color: #fff;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
button:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}
button:active {
  background: #fff;
}
button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Progress */
.progress-wrap {
  margin: 0 0 1.75rem;
}
.progress-bar {
  height: 8px;
  background: var(--tint);
  border-radius: 0;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.25s ease;
}
.progress-text {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  margin: 0.6rem 0 0;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.75rem;
  font-size: 17px;
}
.stem {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  margin: 0 0 1.4rem;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
label.option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  /* Spacing between options comes from .options' gap. The shell's generic
     label margin would otherwise stack on top of it. */
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
label.option:hover {
  border-color: var(--orange);
  background: var(--tint);
}
label.option.selected {
  border-color: var(--orange);
  background: var(--tint);
}
label.option input {
  margin-top: 0.32rem;
  accent-color: var(--orange);
  flex: none;
}

/* Back and Next, one row at the foot of the question card. The top margin is
   the breathing room between the last option and the controls. */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.nav button {
  margin: 0;
}

.script {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  margin: 0 0 0.75rem;
}
/* Every eyebrow label starts with a short yellow dash. */
.script::before,
.kicker::before,
.dash-eyebrow::before,
.dash-kicker::before,
.dash-group-label::before,
.progress-text::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--yellow);
}
.center {
  text-align: center;
}
.muted {
  color: var(--ink-soft);
}
.hidden {
  display: none;
}
.err {
  color: var(--orange);
  font-weight: 700;
}

/* ---- Report ---- */
.report-quote {
  border-left: 3px solid var(--yellow);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 2rem 0;
}
.report-quote .q {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  margin: 0 0 0.5rem;
}
.checkin p {
  color: var(--ink);
}
.checkin .muted {
  color: var(--ink-soft);
}

.radars {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin: 1.5rem 0 0.5rem;
}
.radar-box {
  flex: 1 1 280px;
  max-width: 330px;
  background: var(--tint);
  border: 0;
  border-radius: 0;
  padding: 1rem 0.5rem 0.75rem;
  text-align: center;
}
.radar-box .rt {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  margin: 0 0 0.25rem;
}
.radar-box .rv {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange-text);
  font-variant-numeric: tabular-nums;
  margin: 0.3rem 0 0;
}
.radar-box .rl {
  font-size: 13px;
  color: var(--ink-soft);
}
svg.radar {
  width: 100%;
  height: auto;
  display: block;
}

.pattern-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  border-radius: 0;
  padding: 1.75rem;
  margin: 1.25rem 0;
}
.pattern-card p {
  color: var(--ink);
}
.pattern-card .start {
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0;
  background: var(--tint);
  color: var(--ink);
  font-size: 17px;
}
.pattern-card .start b {
  color: var(--orange-text);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.domain-label {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  border-top: 3px solid var(--yellow);
  padding-top: 1rem;
  margin: 2.5rem 0 0.75rem;
}
.dim-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.6rem 1.75rem;
  margin: 1rem 0;
  font-size: 17px;
}
.dim-card .head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.dim-card .head h3 {
  margin: 0;
}
.lvl-chip {
  display: inline-block;
  background: var(--tint);
  color: var(--orange-text);
  border-radius: 0;
  padding: 0.15rem 0.6rem;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.dim-card .sect {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  margin: 1.1rem 0 0.2rem;
}
.dim-card p {
  margin: 0.25rem 0;
  color: var(--ink);
}
.dim-card .prompt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--orange-text);
}

.standout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.standout > div {
  flex: 1 1 260px;
}
ol.stand-list {
  margin: 0.5rem 0;
  padding-left: 1.3rem;
}
ol.stand-list li {
  margin: 0.45rem 0;
  color: var(--ink);
}
.override-note {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 0;
  background: var(--tint);
  border: 0;
  color: var(--ink);
  font-size: 17px;
}

.closing {
  /* The closing check-in is the report's one orange section. */
  background: var(--orange);
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
  margin: 3rem 0 2rem;
}
.closing h2 {
  color: #fff;
  margin-top: 0;
}
.closing p,
.closing .signoff {
  color: #fff;
}
.todo dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.9rem;
}
.todo dd {
  margin: 0.15rem 0 0 0;
  color: var(--ink-soft);
}
.signoff {
  font-weight: 700;
  color: var(--orange-text);
}
hr.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------------------------------------------------------------------------
   Application shell
   The report and the assessment were designed first; this dresses the
   surrounding chrome (navigation, account menu, forms, tables) in the same
   system so nothing reads as a different product.
   --------------------------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1rem clamp(20px, 4vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
header > a:first-child {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--orange-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.wordmark-divider {
  display: inline-block;
  width: 3px;
  height: 0.72em; /* cap height */
  margin: 0 10px;
  background: var(--yellow);
}
nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
nav a:hover {
  color: var(--orange-text);
  border-bottom-color: var(--yellow);
}
a {
  color: var(--orange-text);
}

/* Account menu. Kept quiet: a disclosure, not a second navigation bar. */
details {
  margin-left: auto;
  position: relative;
}
details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary {
  border-color: var(--orange);
  color: var(--orange-text);
}
details nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  padding: 1rem;
  margin-top: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  position: absolute;
  right: 0;
  min-width: 15rem;
  z-index: 20;
}
details nav form {
  margin: 0;
}
details nav button {
  width: 100%;
  min-height: 44px;
  font-size: 13px;
  padding: 0.5rem 0.9rem;
}

/* The reference-mode banner. Deliberately loud: it means the data is fictional. */
.notice {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 0.7rem 1.5rem;
  font-size: 15px;
  text-align: center;
}
main > .notice {
  border: 1px solid var(--line);
  border-radius: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.25rem;
  margin: 1.25rem 0;
  font-size: 17px;
}
label {
  display: block;
  margin: 0.9rem 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin-top: 0.4rem;
  font: inherit;
  font-weight: 400;
  padding: 0.6rem 0.7rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
}
input:focus-visible,
select:focus-visible {
  border-color: var(--orange);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--orange-text);
  margin-bottom: 1rem;
}
.check {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-weight: 400;
  color: var(--ink-soft);
}
.check input {
  flex: none;
  accent-color: var(--orange);
}

ul,
ol {
  padding-left: 1.2rem;
}
li {
  margin: 0.5rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--card);
}
th,
td {
  color: var(--ink);
}
th {
  color: var(--ink);
}
td {
  color: var(--ink-soft);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.8rem;
  font-size: 0.85rem;
}
code {
  background: var(--tint);
  border-radius: 0;
  padding: 0.1rem 0.35rem;
  font-size: 0.88em;
}
footer {
  padding: 2rem 1.5rem 3rem;
  color: var(--ink-soft);
  font-size: 15px;
  border-top: 1px solid var(--line);
  text-align: center;
}
:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

@media (max-width: 34rem) {
  /* On a phone the header wraps to several lines, so it scrolls away. */
  header {
    position: static;
    padding: 0.9rem 1rem;
  }
  main {
    padding: 1.75rem 1rem 3rem;
  }
  .standout {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   Progress dashboard
   Ported from the Dashboard Design canvas ("Leadership Progress Dashboard").
   The canvas carries these as inline styles; they live here as classes so the
   server-rendered markup stays readable.
   --------------------------------------------------------------------------- */

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}
.dash-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin: 0;
}
.dash-h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--orange-text);
  margin: 0.875rem 0 1.25rem;
  text-wrap: pretty;
}
.dash-h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.92;
  color: var(--orange-text);
  margin: 0;
}
.dash-h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--orange-text);
  margin: 0;
}
.dash-h1 .accent,
.dash-h2 .accent,
.dash-h3 .accent {
  /* The highlight block: one key phrase per headline, white on an orange block. */
  font-style: normal;
  color: #fff;
  /* A solid block trimmed to the letters, so stacked lines at the tight 0.98
     headline leading don't overlap each other. */
  background: linear-gradient(var(--orange), var(--orange)) 0 0.1em / 100%
    0.98em no-repeat;
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.dash-lede {
  margin: 0 0 1rem;
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}
.dash-cta {
  margin: 2rem 0 0;
}
.dash-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.dash-cta a:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}
.dash-quote {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}
.dash-quote .mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--orange-text);
  flex: none;
}
.dash-quote > div:last-child {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  text-wrap: pretty;
}
.dash-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.dash-kicker.gold {
  color: #fff;
}
.dash-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.75rem 1.875rem;
  font-size: 17px;
}

/* Empty state */
.dash-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
  padding: 0 0 3rem;
}
.dash-steps {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.dash-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.125rem;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 1.125rem;
}
.dash-step .n {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 3rem;
  line-height: 0.92;
  color: var(--orange);
}
.dash-step .t {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.dash-step .b {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.dash-step-foot {
  border-top: 1px solid var(--line);
  padding-top: 1.125rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Check-in */
.dash-checkin {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

/* Averages */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0;
}
.dash-stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.dash-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.dash-stat-row .v {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 4rem;
  line-height: 0.92;
  color: var(--ink);
}
.dash-stat-row .d {
  font-size: 0.875rem;
  font-weight: 700;
}
.dash-stat-row .muted-d {
  color: var(--ink-soft);
}
.dash-spark {
  width: 100%;
  height: 56px;
  margin-top: 0.625rem;
  overflow: visible;
}

/* A 1-5 track with the current score marked. */
.dash-track {
  position: relative;
  height: 22px;
  margin-top: 1.25rem;
}
.dash-track .rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 2px;
  background: var(--line);
}
.dash-track .tick {
  position: absolute;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: #fff;
  border: 2px solid #c8c8c8;
  box-sizing: border-box;
  margin-left: -4px;
}
.dash-track .covered {
  position: absolute;
  top: 9px;
  height: 4px;
  border-radius: 0;
  background: var(--yellow);
}
.dash-track .from {
  position: absolute;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--yellow);
  margin-left: -5px;
}
.dash-track .now {
  position: absolute;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: var(--orange);
  margin-left: -6px;
  box-shadow: 0 0 0 3px #fff;
}

/* Radar + commitment */
.dash-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.dash-radar-card {
  display: flex;
  flex-direction: column;
}
.dash-radar {
  width: 100%;
  height: auto;
  margin: 0.5rem 0;
  overflow: visible;
}
.dash-legend {
  display: flex;
  gap: 1.125rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dash-legend span {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}
.dash-legend .swatch {
  width: 14px;
  display: inline-block;
}
.dash-legend .swatch.solid {
  height: 3px;
  background: var(--orange);
  border-radius: 0;
}
.dash-legend .swatch.dashed {
  height: 0;
  border-top: 2px dashed var(--ink-soft);
}

.dash-commit {
  background: var(--orange);
  border-radius: 0;
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: #fff;
}
.dash-commit-dim {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.dash-commit-text,
.dash-commit-foot {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.dash-commit-foot {
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  padding-top: 0.875rem;
  margin-top: 0.375rem;
}
.dash-commit-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0.25rem;
}
.dash-commit-bar .rail {
  flex: 1;
  height: 8px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
}
.dash-commit-bar .fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 0;
  background: var(--yellow);
}
.dash-commit-bar .nums {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.625rem;
  line-height: 1;
  white-space: nowrap;
}

.dash-patterns {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}
.dash-pattern-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.dash-pattern-row .n {
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  color: var(--orange-text);
  line-height: 1.35;
}
.dash-pattern-row .n::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--yellow);
}
.dash-pattern-row .s {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.dash-pattern-row .dots {
  display: flex;
  gap: 0.375rem;
}
.dash-patterns .dot {
  width: 14px;
  height: 14px;
  border-radius: 0;
  display: inline-block;
  background: #fff;
  border: 2px solid #c8c8c8;
  box-sizing: border-box;
}
.dash-patterns .dot.on {
  background: var(--orange);
  border-color: var(--orange);
}
.dash-pattern-foot {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}
.dash-pattern-foot .key {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Fourteen ladders */
.dash-ladders {
  margin: 1.5rem 0;
}
.dash-ladder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.5rem;
}
.dash-group-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
  padding: 1.125rem 0 0.5rem;
}
.dash-ladder-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 84px;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.dash-ladder-row .n {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.dash-ladder-row .l {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.dash-ladder-row .dash-track {
  margin-top: 0;
}
.dash-ladder-score {
  text-align: right;
}
.dash-ladder-score .v {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.625rem;
  line-height: 0.92;
  color: var(--ink);
}
.dash-ladder-score .d {
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Reports table */
.dash-reports {
  margin: 2rem 0 0;
}
.dash-table {
  padding: 0;
  overflow: hidden;
}
.dash-tr {
  display: grid;
  grid-template-columns: 160px 78px 78px minmax(0, 1.6fr) minmax(0, 1fr) 110px;
  gap: 1.25rem;
  padding: 1.125rem 1.875rem;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.dash-tr.head {
  border-top: 0;
  padding: 0.875rem 1.875rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.dash-tr .d {
  font-weight: 700;
  color: var(--ink);
}
.dash-tr .o {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.dash-tr .num {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.75rem;
  line-height: 0.92;
  color: var(--ink);
}
.dash-tr .p {
  color: var(--ink-soft);
  line-height: 1.45;
}
.dash-tr .go {
  display: flex;
  justify-content: flex-end;
}
.dash-tr .go a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-text);
  border: 2px solid var(--orange);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.dash-tr .go a:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}

@media (max-width: 60rem) {
  .dash-empty,
  .dash-checkin,
  .dash-split,
  .dash-stats,
  .dash-ladder-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .dash-tr {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
  }
  .dash-tr.head {
    display: none;
  }
  .dash-ladder-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Team view -------------------------------------------------------------- */
.team-overview {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.team-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.team-stat {
  padding: 1.5rem 1.625rem;
}
.team-stat .v {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 3.5rem;
  line-height: 0.92;
  color: var(--ink);
  margin: 0.375rem 0 0.5rem;
}
.dash-legend .swatch.gold {
  height: 2px;
  background: var(--yellow);
}

.team-members {
  margin: 2rem 0 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.625rem;
}
.team-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.team-card-head .avatar {
  width: 44px;
  height: 44px;
  border-radius: 0;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}
.team-card-head .n {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.team-card-head .r {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.team-mini {
  width: 100%;
  height: 150px;
  overflow: visible;
}
.team-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.team-scores .k {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.team-scores .row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.team-scores .v {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 2.125rem;
  line-height: 0.92;
  color: var(--ink);
}
.team-scores .d {
  font-size: 0.8125rem;
  font-weight: 700;
}
.team-facts {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink);
}
.team-facts .muted {
  color: var(--ink-soft);
}
.team-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.team-card-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-text);
  border: 2px solid var(--orange);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.team-card-foot a:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}
.team-empty {
  height: 150px;
  border-radius: 0;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.team-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0 0.5rem;
}
.team-rule span {
  flex: 1;
  height: 2px;
  background: var(--line);
}
.team-rule em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
  white-space: nowrap;
}

@media (max-width: 70rem) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 60rem) {
  .team-overview,
  .team-stats {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Assessment flow -------------------------------------------------------- */
/* The question card's form is the card, so it carries no second border. */
.card form {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.card fieldset legend.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
label.option:hover {
  border-color: var(--orange);
  background: var(--tint);
}
label.option.selected {
  border-color: var(--orange);
  background: var(--tint);
}
label.option input {
  margin-top: 0.32rem;
  accent-color: var(--orange);
  flex: none;
}
label.option span {
  font-weight: 400;
  color: var(--ink);
}
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-text);
  border: 2px solid var(--orange);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.nav a:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}
.nav .muted {
  font-size: 0.8rem;
  max-width: 46ch;
  text-align: right;
}
.center {
  text-align: center;
}

/* ---------------------------------------------------------------------------
   Screen patterns
   The body vocabulary shared by every page that is not the report, the
   dashboard or the assessment. The chrome around them is already identical:
   every screen renders through one page() shell, so nav and header cannot
   drift. Only what sits inside main varies, and it varies within these.
   --------------------------------------------------------------------------- */

/* A small caps label introducing a block. */
.sect {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  margin: 1.4rem 0 0.3rem;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.chip {
  display: inline-block;
  background: var(--tint);
  color: var(--orange-text);
  border-radius: 0;
  padding: 0.15rem 0.6rem;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Layout helpers. Flex with gap rather than margins, so rows survive edits. */
.row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
/* The description takes the slack and wraps; the action keeps its size and
   stays right. Without this a long line pushes the button onto its own row,
   where it lands on the left and stops looking like the row's action. */
.between > :first-child {
  flex: 1 1 15rem;
  min-width: 0;
}
.between > :last-child {
  flex: 0 0 auto;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.divided > * + * {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* Empty states carry copy, not an apology. A dashed edge says "nothing here
   yet" without looking like a card that failed to load. */
.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 0;
  padding: 2.5rem 1.75rem;
  text-align: center;
  margin: 1.25rem 0;
}
.empty .script {
  margin-bottom: 0.25rem;
}

/* The one screen where a decision is irreversible gets a heavier edge. */
.card.consequential {
  border: 2px solid var(--orange);
}

/* A secondary action that should not compete with the primary button. */
a.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-text);
  border: 2px solid var(--orange);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
a.action:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}
.stat {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 3rem;
  line-height: 0.92;
  color: var(--ink);
}
.stat.accent {
  color: var(--orange);
}

/* A link that is the page's primary action reads as one. */
a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
a.cta:hover {
  background: #fff;
  color: var(--orange-text);
  border-color: var(--yellow);
}

/* The context switcher inside the account menu. It sets what the dashboard and
   reports show, so it sits above the links and is separated from them. */
details nav .context {
  margin: 0 0 0.5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}
details nav .context select {
  width: 100%;
  max-width: none;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.55rem;
}
details nav form:first-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 0.2rem;
}
