/* Skip Ahead · Values exercise (exercises/values.html), version 2
   Scoped to .vx so it sits safely alongside css/site.css.
   Colours and type come from the Skip Ahead tokens. */

.vx {
  --vx-ground: #FAF6F0;
  --vx-surface: #FFFFFF;
  --vx-sand: #F1E9DD;
  --vx-ink: #1B2A41;
  --vx-muted: #556173;
  --vx-coral: #D8634B;
  --vx-action: #B9472F;
  --vx-on-action: #FFFFFF;
  --vx-teal: #2F6F6B;
  --vx-teal-soft: #E3EFED;
  --vx-hair: #E2D8CA;
  --vx-error: #B3261E;
  --vx-personal: #1B2A41;
  --vx-work: #556173;
  --vx-top: #D8634B;
  --vx-shadow: 0 1px 2px rgba(27,42,65,0.06), 0 8px 24px rgba(27,42,65,0.08);
  --vx-display: "Fraunces", Georgia, "Times New Roman", serif;
  --vx-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--vx-sans);
  color: var(--vx-ink);
  font-size: 17px;
  line-height: 27px;
}
@media (prefers-color-scheme: dark) {
  .vx {
    --vx-ground: #121A27;
    --vx-surface: #1B2536;
    --vx-sand: #223047;
    --vx-ink: #F3EEE6;
    --vx-muted: #B4BCC8;
    --vx-coral: #EE8A73;
    --vx-action: #EE8A73;
    --vx-on-action: #121A27;
    --vx-teal: #5FA8A2;
    --vx-teal-soft: #1F3B3E;
    --vx-hair: #2E3A4E;
    --vx-error: #F2B8B5;
    --vx-personal: #F3EEE6;
    --vx-work: #B4BCC8;
    --vx-top: #EE8A73;
    --vx-shadow: none;
  }
}

.vx *, .vx *::before, .vx *::after { box-sizing: border-box; }
.vx [hidden] { display: none !important; }
.vx h2, .vx h3 { font-family: var(--vx-display); font-weight: 600; margin: 0; }
.vx p { margin: 0 0 12px; }
.vx svg { flex: none; }
.vx :focus-visible { outline: 3px solid var(--vx-teal); outline-offset: 2px; }
.vx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Intro notes */
.vx-notes { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; padding: 0; list-style: none; color: var(--vx-muted); font-size: 15px; line-height: 22px; }
.vx-notes li { display: flex; gap: 8px; align-items: flex-start; }
.vx-notes svg { margin-top: 3px; color: var(--vx-teal); }

/* Tabs */
.vx-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--vx-hair); margin-bottom: 24px; overflow-x: auto; }
.vx-tab {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent;
  font: 600 16px/20px var(--vx-sans); color: var(--vx-muted);
  padding: 12px 14px 11px; min-height: 48px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.vx-tab .vx-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 13px; }
.vx-tab[aria-selected="true"] { color: var(--vx-ink); border-bottom-color: var(--vx-coral); }
.vx-tab[aria-selected="true"] .vx-num { background: var(--vx-ink); border-color: var(--vx-ink); color: var(--vx-ground); }
.vx-tab:hover { color: var(--vx-ink); }

/* Progress steps */
.vx-steps { display: grid; gap: 8px; grid-template-columns: 1fr; margin: 0 0 20px; padding: 0; list-style: none; }
@media (min-width: 700px) { .vx-steps { grid-template-columns: repeat(3, 1fr); } .vx-steps.is-two { grid-template-columns: repeat(2, 1fr); } }
.vx-step { display: flex; gap: 10px; align-items: center; background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 21px; }
.vx-step .vx-tick { width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid var(--vx-hair); display: grid; place-items: center; color: transparent; }
.vx-step.is-done .vx-tick { background: var(--vx-teal); border-color: var(--vx-teal); color: var(--vx-surface); }
.vx-step b { font-weight: 600; }
.vx-step span.vx-count { margin-left: auto; color: var(--vx-muted); font-variant-numeric: tabular-nums; }

.vx-hint { color: var(--vx-muted); font-size: 15px; line-height: 22px; margin: 0 0 16px; }

/* Board */
.vx-board { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) { .vx-board { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .vx-board { grid-template-columns: 1.35fr 1fr 1fr 1fr; } }
@media (min-width: 800px) { .vx-board.is-three { grid-template-columns: 1fr 1fr; } .vx-board.is-three .vx-col[data-col="bank"] { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .vx-board.is-three { grid-template-columns: 1.4fr 1fr 1fr; } .vx-board.is-three .vx-col[data-col="bank"] { grid-column: auto; } }
@media (min-width: 1000px) { .vx-board.is-three .vx-col[data-col="bank"] .vx-list { max-height: 62vh; } }

/* Top 5 tab: a personal group and a workplace group, each a source list and a top 5 */
.vx-board2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .vx-board2 { grid-template-columns: 1fr 1fr; } }
.vx-group-h { font-family: var(--vx-sans) !important; font-size: 19px; line-height: 24px; display: flex; gap: 8px; align-items: center; margin: 0 0 10px !important; }
.vx-group-in { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vx-group-in { grid-template-columns: 1fr 1fr; } }
.vx-col[data-col="srcP"] { border-top-color: var(--vx-personal); }
.vx-col[data-col="srcW"] { border-top-color: var(--vx-work); }
.vx-col[data-col="topP"], .vx-col[data-col="topW"] { border-top-color: var(--vx-top); }
.vx-col[data-col="topP"] .vx-col-head svg, .vx-col[data-col="topW"] .vx-col-head svg { color: var(--vx-coral); }
.vx-col[data-col="srcP"] .vx-card { border-left-color: var(--vx-personal); }
.vx-col[data-col="srcW"] .vx-card { border-left-color: var(--vx-work); }
.vx-col[data-col="topP"] .vx-card, .vx-col[data-col="topW"] .vx-card { border-left-color: var(--vx-top); }
.vx-card.is-chosen { opacity: .62; }

.vx-col { background: var(--vx-sand); border-radius: 12px; padding: 12px; border-top: 4px solid var(--vx-hair); display: flex; flex-direction: column; min-width: 0; }
.vx-col[data-col="personal"] { border-top-color: var(--vx-personal); }
.vx-col[data-col="workplace"] { border-top-color: var(--vx-work); }
.vx-col[data-col="top5"] { border-top-color: var(--vx-top); }
.vx-col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.vx-col-head h3 { font-family: var(--vx-sans); font-size: 18px; line-height: 24px; }
.vx-col-head svg { color: var(--vx-muted); }
.vx-col[data-col="top5"] .vx-col-head svg { color: var(--vx-coral); }
.vx-col-sub { font-size: 14px; line-height: 20px; color: var(--vx-muted); margin: 0 0 10px; }

.vx-pill { margin-left: auto; font-size: 13px; line-height: 16px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--vx-surface); border: 1px solid var(--vx-hair); color: var(--vx-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vx-pill.is-met { background: var(--vx-teal); border-color: var(--vx-teal); color: var(--vx-surface); }
.vx-pill.is-over { background: var(--vx-surface); border-color: var(--vx-coral); color: var(--vx-ink); }
.vx-limit { font-size: 13px; line-height: 18px; color: var(--vx-muted); margin: -4px 0 8px; min-height: 0; }

/* Search and add */
.vx-tools { display: grid; gap: 8px; margin-bottom: 10px; }
.vx-field { position: relative; display: flex; }
.vx-field svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--vx-muted); pointer-events: none; }
.vx-input {
  width: 100%; min-height: 44px; font: 16px/22px var(--vx-sans); color: var(--vx-ink);
  background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 6px; padding: 10px 12px;
}
.vx-field .vx-input { padding-left: 36px; }
.vx-input::placeholder { color: var(--vx-muted); opacity: 1; }
.vx-input:focus { border-color: var(--vx-teal); outline: 2px solid var(--vx-teal); outline-offset: 0; }
.vx-add { display: flex; gap: 8px; }
.vx-add .vx-input { flex: 1; min-width: 0; }
.vx-msg { font-size: 14px; line-height: 20px; color: var(--vx-error); margin: 0; }

/* Lists and cards */
.vx-list { list-style: none; margin: 0; padding: 4px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; border-radius: 10px; border: 2px dashed transparent; transition: border-color .15s, background .15s; }
.vx-col[data-col="bank"] .vx-list { flex-direction: row; flex-wrap: wrap; align-content: flex-start; max-height: 420px; overflow-y: auto; }
@media (min-width: 1100px) { .vx-col[data-col="bank"] .vx-list { max-height: 62vh; } }
.vx-list.is-over { border-color: var(--vx-teal); background: var(--vx-teal-soft); }
.vx-empty { color: var(--vx-muted); font-size: 14px; line-height: 20px; padding: 14px 8px; text-align: center; width: 100%; }

.vx-card {
  display: flex; align-items: center; gap: 8px; width: 100%;
  min-height: 44px; padding: 8px 12px; border-radius: 10px;
  background: var(--vx-surface); border: 1px solid var(--vx-hair); border-left: 4px solid var(--vx-hair);
  font: 600 16px/20px var(--vx-sans); color: var(--vx-ink); text-align: left; cursor: grab;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.vx-card:hover { box-shadow: var(--vx-shadow); }
.vx-card[aria-pressed="true"] { outline: 3px solid var(--vx-teal); outline-offset: 1px; }
.vx-card.is-dragging { opacity: .45; }
.vx-col[data-col="bank"] .vx-card { width: auto; border-left-width: 1px; padding: 8px 12px; font-weight: 400; }
.vx-col[data-col="personal"] .vx-card { border-left-color: var(--vx-personal); }
.vx-col[data-col="workplace"] .vx-card { border-left-color: var(--vx-work); }
.vx-col[data-col="top5"] .vx-card { border-left-color: var(--vx-top); }
/* A value in both lists is teal wherever it appears */
.vx .vx-col .vx-card.is-both { border-color: var(--vx-teal); border-left-color: var(--vx-teal); background: var(--vx-teal-soft); color: var(--vx-ink); }
.vx .vx-col[data-col="topP"] .vx-card.is-both, .vx .vx-col[data-col="topW"] .vx-card.is-both { border-left-color: var(--vx-top); }
.vx-swatch { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--vx-teal-soft); color: var(--vx-teal); border: 1px solid var(--vx-teal); font-weight: 600; }
.vx-card .vx-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vx-col[data-col="bank"] .vx-card .vx-label { flex: none; }
.vx-rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--vx-coral); color: #FFFFFF; font-size: 13px; font-weight: 600; flex: none; }
@media (prefers-color-scheme: dark) { .vx-rank { color: #121A27; } }

.vx-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; line-height: 16px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex: none; }
.vx-badge.is-aligned { background: var(--vx-teal-soft); color: var(--vx-teal); }
.vx-badge.is-top { background: transparent; color: var(--vx-ink); border: 1px solid var(--vx-coral); }
.vx-badge.is-own { background: var(--vx-sand); color: var(--vx-muted); border: 1px solid var(--vx-hair); }
.vx-badge.is-place { background: transparent; color: var(--vx-muted); border: 1px solid var(--vx-hair); }

/* Buttons */
.vx-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
  font: 600 16px/20px var(--vx-sans); text-decoration: none;
  background: var(--vx-surface); color: var(--vx-teal); border: 2px solid var(--vx-teal);
}
.vx-btn:hover { background: var(--vx-teal-soft); }
.vx-btn.is-primary { background: var(--vx-action); border-color: var(--vx-action); color: var(--vx-on-action); }
.vx-btn.is-primary:hover { filter: brightness(1.06); }
.vx-btn.is-small { min-height: 40px; padding: 8px 12px; font-size: 15px; border-radius: 10px; }
.vx-btn.is-plain { border-color: var(--vx-hair); color: var(--vx-ink); }
.vx-btn.is-danger { border-color: var(--vx-error); color: var(--vx-error); }
.vx-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Action bar (appears when a value is selected) */
.vx-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--vx-surface); border-top: 1px solid var(--vx-hair);
  box-shadow: 0 -8px 24px rgba(27,42,65,0.12);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.vx-bar-in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vx-bar-title { font-weight: 600; margin-right: 8px; display: flex; align-items: center; gap: 8px; width: 100%; }
@media (min-width: 700px) { .vx-bar-title { width: auto; } }
.vx-bar-title small { font-weight: 400; color: var(--vx-muted); font-size: 14px; }
.vx-bar-close { margin-left: auto; }
.vx-bar-acts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.vx-pad { height: 0; }
.vx-pad.is-on { height: 140px; }

/* Confirmation after a move (mainly for phones, where the columns are off screen) */
.vx-toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 61;
  max-width: min(92vw, 560px); background: var(--vx-ink); color: var(--vx-ground);
  font-size: 15px; line-height: 21px; padding: 10px 16px; border-radius: 12px; box-shadow: var(--vx-shadow); pointer-events: none;
}

.vx-saved { color: var(--vx-muted); font-size: 14px; line-height: 20px; display: inline-flex; gap: 6px; align-items: center; }
.vx-saved svg { color: var(--vx-teal); }
.vx-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vx-hair); }

/* Save */
.vx-save-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .vx-save-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.vx-actions { display: grid; gap: 10px; margin: 16px 0; }
.vx-actions .vx-btn { width: 100%; justify-content: flex-start; }
.vx-small { font-size: 14px; line-height: 20px; color: var(--vx-muted); }
.vx-preview { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 20px; max-height: 70vh; overflow: auto; }
.vx-preview-label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--vx-muted); margin: 0 0 8px; }
.vx-name-row label { display: block; font-weight: 600; margin-bottom: 4px; }
.vx-name-row .vx-small { margin: 4px 0 0; }
.vx-save-h { font-size: 24px; line-height: 30px; margin: 0 0 8px !important; }
.vx-reset { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vx-hair); }
.vx-reset h3 { font-family: var(--vx-sans); font-size: 18px; line-height: 24px; margin: 0 0 6px; }

/* The summary, shown as a sheet of paper in light colours in both themes */
.vx .vx-preview { background: #FFFFFF; color: #1B2A41; border-color: #E2D8CA; }
.vx-sum { font-family: var(--vx-sans); color: #1B2A41; }
.vx-sum h2 { font: 600 26px/32px var(--vx-display); margin: 0 0 4px; }
.vx-sum h3 { font: 600 19px/25px var(--vx-display); margin: 0 0 10px; }
.vx-sum p { margin: 0 0 8px; }
.vx-sum-meta { color: #556173; font-size: 14px; margin-bottom: 20px !important; }
.vx-sum-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; padding: 18px 0; border-top: 1px solid #E2D8CA; }
@media (max-width: 560px) { .vx-sum-cols { grid-template-columns: 1fr; } }
.vx-sum-top { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.vx-sum-top li { counter-increment: t; display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #F1E9DD; font-weight: 600; }
.vx-sum-top li::before { content: counter(t); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #D8634B; color: #fff; font-size: 13px; flex: none; }
.vx-sum-v.is-both { color: #2F6F6B; }
.vx-sum-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-sum-chips li { font-size: 14px; line-height: 18px; padding: 5px 10px; border-radius: 999px; background: #F1E9DD; border: 1px solid #E2D8CA; }
.vx-sum-chips li.is-both { background: #E3EFED; border-color: #2F6F6B; color: #2F6F6B; font-weight: 600; }
.vx-sum-chips li.is-top::before { content: ""; display: inline-block; border-left: 8px solid #D8634B; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-right: 6px; }
.vx-sum-key { font-size: 13px; color: #556173; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -6px 0 18px !important; }
.vx-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-left: 8px; }
.vx-key:first-child { margin-left: 0; }
.vx-key.is-both { background: #E3EFED; border: 1px solid #2F6F6B; }
.vx-key.is-top { width: 0; height: 0; border-radius: 0; border-left: 10px solid #D8634B; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vx-sum > h3 { padding-top: 18px; border-top: 1px solid #E2D8CA; }
.vx-sum-dl { margin: 0; display: grid; grid-template-columns: minmax(0, 15em) 1fr; gap: 6px 16px; }
@media (max-width: 560px) { .vx-sum-dl { grid-template-columns: 1fr; } .vx-sum-dl dd { margin-bottom: 6px; } }
.vx-sum-dl dt { font-weight: 600; font-size: 15px; }
.vx-sum-dl dd { margin: 0; }
.vx-sum-blank { color: #556173; font-style: italic; }
.vx-sum .vx-tag { font-size: 12px; font-weight: 600; color: #2F6F6B; margin-left: auto; }

/* Print: only the summary */
@media print {
  body * { visibility: hidden !important; }
  .vx-print, .vx-print * { visibility: visible !important; }
  .vx-print { position: absolute; left: 0; top: 0; width: 100%; padding: 0; border: 0; max-height: none; overflow: visible; }
  .vx-bar, .vx-pad { display: none !important; }
  .vx-sum h3 { break-after: avoid; }
  .vx-sum-cols { break-inside: avoid; }
  .vx-print { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  .vx-card, .vx-list { transition: none; }
}

/* On the live page */
.vx-after { margin-top: 24px; }
.vx-after a + a { margin-left: 12px; }

/* ==========================================================================
   Shared parts for the other interactive exercises (exercise-kit.js)
   ========================================================================== */
.vx .sx-example { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; margin: 0 0 24px; }
.vx .sx-example summary { cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 12px 16px; font-weight: 600; min-height: 48px; list-style: none; }
.vx .sx-example summary::-webkit-details-marker { display: none; }
.vx .sx-example summary::after { content: "Show"; margin-left: auto; font-weight: 400; font-size: 14px; color: var(--vx-teal); }
.vx .sx-example[open] summary::after { content: "Hide"; }
.vx .sx-example summary svg { color: var(--vx-teal); }
.vx .sx-example-in { padding: 0 16px 16px; font-size: 16px; line-height: 25px; }
.vx .sx-example-in p { margin: 0 0 10px; }
.vx .sx-example-in .vx-small { margin-top: 8px; }
.vx .sx-label { display: block; font-weight: 600; margin: 0 0 4px; }
.vx .sx-help { color: var(--vx-muted); font-size: 15px; line-height: 22px; margin: 0 0 8px; }
.vx .sx-block { margin: 0 0 24px; }
.vx .sx-h3 { font-family: var(--vx-sans); font-size: 19px; line-height: 25px; margin: 0 0 6px; }
.vx .vx-text { width: 100%; resize: vertical; font: 16px/24px var(--vx-sans); color: var(--vx-ink); background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 6px; padding: 10px 12px; }
.vx .vx-text:focus { border-color: var(--vx-teal); outline: 2px solid var(--vx-teal); outline-offset: 0; }

/* ----- Leadership wheel ----- */
.sx-wheel-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .sx-wheel-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .sx-wheel-side { position: sticky; top: 96px; } }
.sx-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sx-area { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 14px 16px; }
.sx-area h3 { font-family: var(--vx-sans); font-size: 18px; line-height: 24px; margin: 0; }
.sx-area > p { color: var(--vx-muted); font-size: 15px; line-height: 22px; margin: 2px 0 10px; }
.sx-scale { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.sx-scale legend { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 4px; padding: 0; display: flex; gap: 6px; align-items: center; }
.sx-scale legend .sx-key { width: 18px; height: 0; border-top: 3px solid var(--vx-teal); display: inline-block; }
.sx-scale.is-target legend .sx-key { border-top: 3px dashed var(--vx-coral); }
.sx-pills { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.sx-pills label { position: relative; display: block; }
.sx-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sx-pills span { display: grid; place-items: center; height: 40px; border-radius: 8px; border: 1px solid var(--vx-hair); background: var(--vx-ground); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.sx-pills input:checked + span { background: var(--vx-teal); border-color: var(--vx-teal); color: var(--vx-surface); }
.sx-scale.is-target .sx-pills input:checked + span { background: var(--vx-surface); border: 2px dashed var(--vx-coral); color: var(--vx-ink); }
.sx-pills input:focus-visible + span { outline: 3px solid var(--vx-teal); outline-offset: 2px; }
.sx-pills span:hover { border-color: var(--vx-teal); }
.sx-ends { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--vx-muted); margin-top: 2px; }
.sx-chart { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 12px; }
.sx-chart svg { display: block; width: 100%; height: auto; }
.sx-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--vx-muted); margin: 8px 4px 0; }
.sx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sx-legend i { width: 22px; border-top: 3px solid var(--vx-teal); display: inline-block; }
.sx-legend i.is-target { border-top: 3px dashed var(--vx-coral); }
.sx-wheel-svg .ring { fill: none; stroke: var(--vx-hair); }
.sx-wheel-svg .spoke { stroke: var(--vx-hair); }
.sx-wheel-svg .lbl { fill: var(--vx-ink); font: 600 14px var(--vx-sans); }
.sx-wheel-svg .tick { fill: var(--vx-muted); font: 11px var(--vx-sans); }
.sx-wheel-svg .now { fill: var(--vx-teal); fill-opacity: .16; stroke: var(--vx-teal); stroke-width: 2.5; stroke-linejoin: round; }
.sx-wheel-svg .now-dot { fill: var(--vx-teal); }
.sx-wheel-svg .tgt { fill: none; stroke: var(--vx-coral); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linejoin: round; }
.sx-focus { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx-focus label { display: flex; gap: 10px; align-items: center; background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 10px; padding: 10px 12px; min-height: 48px; cursor: pointer; }
.sx-focus input { width: 20px; height: 20px; accent-color: var(--vx-teal); flex: none; }
.sx-focus .sx-gap { margin-left: auto; color: var(--vx-muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-focus input:checked ~ b { color: var(--vx-teal); }
.sx-focus label:has(input:checked) { border-color: var(--vx-teal); background: var(--vx-teal-soft); }
.sx-facts { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 24px; }
@media (min-width: 700px) { .sx-facts { grid-template-columns: repeat(3, 1fr); } }
.sx-fact { background: var(--vx-sand); border-radius: 12px; padding: 12px 14px; }
.sx-fact b { display: block; font-size: 14px; color: var(--vx-muted); font-weight: 600; }
.sx-fact span { font-weight: 600; }

/* ----- Ladder of Inference ----- */
.sx-ladder { list-style: none; margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column-reverse; gap: 10px; position: relative; }
.sx-ladder::before, .sx-ladder::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--vx-hair); }
.sx-ladder::before { left: 0; }
.sx-ladder::after { left: 8px; }
.sx-rung { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; grid-template-columns: auto 1fr; align-items: start; }
.sx-rung-n { width: 34px; height: 34px; border-radius: 999px; background: var(--vx-ink); color: var(--vx-ground); display: grid; place-items: center; font-weight: 600; }
.sx-rung h3 { font-family: var(--vx-sans); font-size: 17px; line-height: 22px; margin: 0; }
.sx-rung p { color: var(--vx-muted); font-size: 14px; line-height: 20px; margin: 0; }
.sx-rung-body { grid-column: 1 / -1; display: grid; gap: 8px; }
@media (min-width: 700px) { .sx-rung-body { grid-column: 2; } }
.sx-rung.is-story { border: 2px solid var(--vx-coral); }
.sx-rung.is-story .sx-rung-n { background: var(--vx-coral); color: #FFFFFF; }
.sx-story-btn { justify-self: start; }
.sx-story-btn[aria-pressed="true"] { background: var(--vx-coral); border-color: var(--vx-coral); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { .sx-story-btn[aria-pressed="true"], .sx-rung.is-story .sx-rung-n { color: #121A27; } }
.sx-start { color: var(--vx-muted); font-size: 14px; display: flex; gap: 6px; align-items: center; margin: 8px 0 0 18px; }

/* ----- Stakeholder map ----- */
.sx-add { display: flex; gap: 8px; max-width: 560px; }
.sx-add .vx-input { flex: 1; min-width: 0; }
.sx-tray { background: var(--vx-sand); border-radius: 12px; padding: 12px; margin: 12px 0 20px; }
.sx-tray h3 { font-family: var(--vx-sans); font-size: 16px; line-height: 22px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.sx-people { list-style: none; margin: 0; padding: 4px; display: flex; flex-wrap: wrap; gap: 6px; min-height: 52px; border: 2px dashed transparent; border-radius: 10px; align-content: flex-start; }
.sx-people.is-over { border-color: var(--vx-teal); background: var(--vx-teal-soft); }
.sx-person { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 999px; background: var(--vx-surface); border: 1px solid var(--vx-hair); font: 600 15px/20px var(--vx-sans); color: var(--vx-ink); cursor: grab; user-select: none; -webkit-user-select: none; }
.sx-person[aria-pressed="true"] { outline: 3px solid var(--vx-teal); outline-offset: 1px; }
.sx-person.is-unsure { border-style: dashed; }
.sx-person .sx-q { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--vx-sand); color: var(--vx-ink); font-size: 13px; }
.sx-map { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: 1fr auto; gap: 6px; }
.sx-yaxis { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--vx-muted); }
.sx-xaxis { grid-column: 2; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--vx-muted); }
.sx-quads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 599px) { .sx-map { grid-template-columns: 1fr; } .sx-yaxis { writing-mode: horizontal-tb; transform: none; } .sx-quads { grid-template-columns: 1fr; } .sx-xaxis { grid-column: 1; } }
.sx-quad { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 12px; min-height: 170px; display: flex; flex-direction: column; }
.sx-quad[data-q="close"] { border-top: 4px solid var(--vx-coral); }
.sx-quad[data-q="satisfied"] { border-top: 4px solid var(--vx-personal); }
.sx-quad[data-q="informed"] { border-top: 4px solid var(--vx-teal); }
.sx-quad[data-q="eye"] { border-top: 4px solid var(--vx-hair); }
.sx-quad h3 { font-family: var(--vx-sans); font-size: 17px; line-height: 22px; margin: 0; }
.sx-quad .sx-qsub { font-size: 13px; line-height: 18px; color: var(--vx-muted); margin: 2px 0 2px; font-weight: 600; }
.sx-quad .sx-qhelp { font-size: 14px; line-height: 20px; color: var(--vx-muted); margin: 0 0 8px; }
.sx-quad .sx-people { flex: 1; }
@media (min-width: 600px) { .sx-quad[data-q="satisfied"] { order: 1; } .sx-quad[data-q="close"] { order: 2; } .sx-quad[data-q="eye"] { order: 3; } .sx-quad[data-q="informed"] { order: 4; } }
.sx-caution { font-size: 14px; line-height: 21px; color: var(--vx-muted); margin: 16px 0 0; display: flex; gap: 8px; }
.sx-caution svg { flex: none; margin-top: 2px; color: var(--vx-teal); }

/* ----- Johari window ----- */
.sx-words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 6px; }
.sx-word { width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; background: var(--vx-surface); border: 1px solid var(--vx-hair); font: 600 15px/20px var(--vx-sans); color: var(--vx-ink); cursor: pointer; text-align: center; }
.sx-word:hover { border-color: var(--vx-teal); }
.sx-word[aria-pressed="true"] { background: var(--vx-teal); border-color: var(--vx-teal); color: var(--vx-surface); }
.sx-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.sx-colls { display: grid; gap: 16px; margin: 16px 0; }
.sx-coll { background: var(--vx-sand); border-radius: 12px; padding: 14px; }
.sx-coll-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; margin-bottom: 10px; }
.sx-coll-head .sx-name { flex: 1 1 200px; }
.sx-coll-head .sx-pill-count { font-size: 14px; color: var(--vx-muted); white-space: nowrap; padding-bottom: 10px; }
.sx-window { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
@media (max-width: 599px) { .sx-window { grid-template-columns: 1fr; } }
.sx-pane { background: var(--vx-surface); border: 1px solid var(--vx-hair); border-radius: 12px; padding: 14px; min-height: 150px; }
.sx-pane h3 { font-family: var(--vx-display); font-size: 20px; line-height: 26px; margin: 0; }
.sx-pane .sx-qsub { font-size: 13px; line-height: 18px; color: var(--vx-muted); margin: 0 0 10px; font-weight: 600; }
.sx-pane[data-p="open"] { border-top: 4px solid var(--vx-teal); }
.sx-pane[data-p="blind"] { border-top: 4px solid var(--vx-coral); }
.sx-pane[data-p="hidden"] { border-top: 4px solid var(--vx-personal); }
.sx-pane[data-p="unknown"] { border-top: 4px solid var(--vx-hair); }
.sx-pane .vx-chips { gap: 6px; }
.sx-pane .vx-chip small { color: var(--vx-muted); font-size: 12px; margin-left: 2px; }
.sx-pane[data-p="unknown"] .vx-chip { background: transparent; color: var(--vx-muted); }
.vx .vx-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.vx .vx-chip { font-size: 14px; line-height: 18px; padding: 5px 10px; border-radius: 999px; background: var(--vx-sand); border: 1px solid var(--vx-hair); display: inline-flex; gap: 4px; align-items: center; }
.vx .vx-none { color: var(--vx-muted); font-size: 14px; margin: 0; }
.vx .sx-ex-ladder { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column-reverse; gap: 4px; }
@media (max-width: 599px) {
  .vx .vx-tabs { flex-wrap: wrap; overflow-x: visible; gap: 0 2px; }
  .vx .vx-tab { padding: 10px 8px 9px; font-size: 15px; min-height: 44px; gap: 6px; }
  .vx .vx-tab .vx-num { width: 22px; height: 22px; font-size: 12px; }
}
