:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --border: #e2e5ea;
  --border-strong: #cbd1da;
  --text: #16191f;
  --text-muted: #6b7280;
  --accent: #1f6feb;
  --accent-dark: #1a5fd0;
  --danger: #c0362c;
  --ok: #1a7f4b;

  --box-low: #fdeceb;
  --box-mid: #fdf6e3;
  --box-high: #ebf7ef;
  --box-low-line: #f0c4c0;
  --box-mid-line: #eddfb4;
  --box-high-line: #bfe3cd;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-lg: 0 8px 24px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.02em; }
h2 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.01em; }
a { color: var(--accent); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.topbar__inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.brand__mark--lg { width: 44px; height: 44px; font-size: 14px; border-radius: 10px; margin: 0 auto 16px; }
.brand__name { font-weight: 600; font-size: 15px; }

.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav__link {
  padding: 7px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500;
}
.topnav__link:hover { background: var(--surface-2); color: var(--text); }
.topnav__link.is-active { background: #eaf1fd; color: var(--accent-dark); }

.topbar__user { display: flex; align-items: center; gap: 10px; }
.user-chip { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* ---------- page ---------- */
.page { max-width: 1400px; margin: 0 auto; padding: 28px 24px 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head__sub { margin: 0; color: var(--text-muted); font-size: 14px; }
.page-head__actions { display: flex; align-items: center; gap: 12px; }

.body--centered { display: grid; place-items: center; min-height: 100vh; padding: 24px; }

.signin-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 40px; max-width: 420px; text-align: center;
}
.signin-card h1 { font-size: 21px; }
.signin-card__lede { color: var(--text-muted); font-size: 14px; margin: 8px 0 24px; }
.signin-card__note { color: var(--text-muted); font-size: 12.5px; margin: 18px 0 0; }

/* ---------- buttons, inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 15px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background .12s, border-color .12s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: 5px 10px; font-size: 13px; }
.btn--block { width: 100%; padding: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
form.button_to { display: inline; }

.input, .select {
  padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font: inherit; font-size: 14px; color: var(--text); max-width: 100%;
}
.input:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.select.is-invalid { border-color: var(--danger); outline-color: var(--danger); }

.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.inline-form { display: inline; }

/* ---------- flashes, tags ---------- */
.flashes { max-width: 1400px; margin: 16px auto 0; padding: 0 24px; display: grid; gap: 8px; }
.flash { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid; }
.flash--notice { background: #ebf7ef; border-color: #bfe3cd; color: #12633a; }
.flash--alert  { background: #fdeceb; border-color: #f0c4c0; color: #93291f; }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: 99px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.tag--hr { background: #eaf1fd; color: var(--accent-dark); }
.tag--done { background: #ebf7ef; color: var(--ok); }
.tag--progress { background: #fdf6e3; color: #8a6d1f; }
.tag--todo { background: #f1f3f6; color: var(--text-muted); }
.tag--locked { background: #f1f3f6; color: var(--text-muted); }

.counter {
  display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 99px;
  background: #f1f3f6; color: var(--text-muted); font-size: 12px; font-weight: 600;
}

/* ---------- progress ---------- */
.progress { display: flex; align-items: center; gap: 10px; }
.progress__bar { width: 130px; height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: var(--ok); transition: width .2s; }
.progress__label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* ---------- nine box ---------- */
.ninebox { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: 1fr 22px; gap: 6px; }
.ninebox--readonly { margin-bottom: 28px; }

.ninebox__ylabel, .ninebox__xlabel {
  display: grid; place-items: center; color: var(--text-muted);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.ninebox__ylabel span { writing-mode: vertical-rl; transform: rotate(180deg); }
.ninebox__xlabel { grid-column: 2; }

.ninebox__grid {
  display: grid;
  grid-template-columns: 74px repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(160px, auto)) 22px;
  gap: 8px;
}
.ninebox__rowlabel, .ninebox__collabel {
  display: grid; place-items: center; color: var(--text-muted); font-size: 12px; font-weight: 600;
}
.ninebox__corner { }

/* Tints come from HR's 9_Box_Grid.xlsx, applied per box via --box-tint. */
.box {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px; display: flex; flex-direction: column; gap: 8px;
  background: var(--box-tint, var(--surface));
  transition: outline-color .12s;
}
.box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.box__name { font-size: 12.5px; font-weight: 600; }
.box__num {
  display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 99px;
  background: rgba(0, 0, 0, .07); font-size: 10.5px; font-weight: 700;
  letter-spacing: .02em; vertical-align: 1px;
}
.box__share { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.box__count { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-top: auto; }
.box__action { font-size: 11.5px; line-height: 1.35; margin: -2px 0 0; opacity: .75; }
.box__cards { display: grid; gap: 8px; align-content: start; flex: 1; }

.box__info { position: relative; }
.box__info summary {
  list-style: none; cursor: pointer; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, .1);
  font-size: 10px; font-weight: 700; font-style: italic;
}
.box__info summary::-webkit-details-marker { display: none; }
.box__info-body {
  position: absolute; right: 0; top: 20px; z-index: 10; width: 250px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 11px; font-size: 12px;
}
.box__info-body p { margin: 0 0 7px; }
.box__info-body ul { margin: 0; padding-left: 16px; }
.box__info-body li { margin-bottom: 3px; }

.gridnote { font-size: 12.5px; color: var(--text-muted); margin: 10px 0 24px; }

/* ---------- movement ---------- */
.move { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.move--up { color: var(--ok); }
.move--down { color: var(--danger); }
.input--sm { padding: 4px 8px; font-size: 12.5px; width: 100%; margin-top: 4px; }
.panel--wide { margin-top: 20px; }

/* ---------- cards ---------- */
.card {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 7px 9px; box-shadow: var(--shadow);
}
.card--static { cursor: default; }
.card__avatar {
  display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px;
  border-radius: 50%; background: #eaf1fd; color: var(--accent-dark);
  font-size: 10.5px; font-weight: 700;
}
.card__body { display: grid; min-width: 0; }
.card__name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__role { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__flag { margin-left: auto; color: var(--ok); font-size: 13px; }

/* ---------- tables, panels ---------- */
.listview { margin-top: 32px; }
.listview__hint { color: var(--text-muted); font-size: 13px; margin: -6px 0 14px; }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.columns { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; } }

.table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.panel .table { border: 0; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: var(--text-muted);
  padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table__name { font-weight: 600; }
.table__muted { color: var(--text-muted); }
.table__actions { text-align: right; white-space: nowrap; }
.table__actions > * { margin-left: 6px; }

.stacklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stacklist li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- forms ---------- */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; max-width: 560px; box-shadow: var(--shadow); }
.form__row { display: grid; gap: 5px; margin-bottom: 16px; }
.form__row label { font-size: 13px; font-weight: 600; }
.form__row--check { display: flex; align-items: center; gap: 8px; }
.form__row--check label { font-weight: 400; }
.form__hint { font-size: 12.5px; color: var(--text-muted); margin: 2px 0 0; }
.form__actions { display: flex; gap: 10px; margin-top: 22px; }

.errors { background: #fdeceb; border: 1px solid #f0c4c0; color: #93291f; padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.errors ul { margin: 6px 0 0; padding-left: 18px; }

.empty { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.empty p { color: var(--text-muted); margin: 6px 0 0; }



/* ---------- development sign-in bypass (dev only) ---------- */
.devbox {
  margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--border-strong);
  text-align: left;
}
.devbox h2 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 6px;
}
.devbox p { font-size: 12.5px; color: var(--text-muted); margin: 0 0 12px; }
.devbox__list { display: grid; gap: 6px; }
.devbox__list form { display: block; }
.devbox__list .btn { width: 100%; justify-content: flex-start; }
.devbox__empty { margin-top: 8px; }
.devbox code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ---------- guided assessment ---------- */
.backlink {
  display: inline-block; margin-bottom: 14px; font-size: 13.5px;
  text-decoration: none; color: var(--text-muted);
}
.backlink:hover { color: var(--accent); }

.teamlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teamcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.teamcard__link {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  text-decoration: none; color: var(--text);
}
.teamcard__link:hover { background: var(--surface-2); }
.teamcard--not_started { border-left: 3px solid var(--danger); }
.teamcard--in_progress { border-left: 3px solid #c99a1f; }
.teamcard--complete    { border-left: 3px solid var(--ok); }
.teamcard__body { display: grid; margin-right: auto; min-width: 0; }
.teamcard__name { font-weight: 600; font-size: 15px; }
.teamcard__role { font-size: 12.5px; color: var(--text-muted); }
.teamcard__state { display: grid; justify-items: end; gap: 3px; text-align: right; }
.teamcard__box { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.swatch {
  width: 11px; height: 11px; border-radius: 3px; flex: 0 0 11px;
  background: var(--box-tint); border: 1px solid rgba(0, 0, 0, .18);
}
.teamcard__go { color: var(--text-muted); font-size: 17px; }

.submitbar {
  margin-top: 22px; padding: 18px; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.submitbar p { margin: 0; margin-right: auto; font-size: 14px; }

.assess { max-width: 760px; }
.assess__head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.assess__head h1 { font-size: 21px; margin: 0; }
.assess__step {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.card__avatar--lg { flex: 0 0 44px; width: 44px; height: 44px; font-size: 14px; }

.assess__prompt {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.assess__prompt h2 { font-size: 19px; margin: 0 0 2px; }
.assess__window {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); margin: 0 0 14px;
}
.assess__question { font-size: 15.5px; line-height: 1.5; margin: 0 0 12px; }
.assess__evidence { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.choices { display: grid; gap: 12px; margin-bottom: 18px; }
.choice {
  display: block; position: relative;
  background: var(--level-tint, var(--surface));
  border: 1px solid var(--border-strong); border-left: 4px solid var(--level-line, var(--border-strong));
  border-radius: var(--radius); padding: 16px 18px; cursor: pointer;
  transition: box-shadow .12s, transform .06s;
}
.choice--low      { --level-line: #d64545; }
.choice--moderate { --level-line: #d69e2e; }
.choice--high     { --level-line: #2f8a54; }
.choice:hover { box-shadow: var(--shadow-lg); }
.choice:active { transform: translateY(1px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { box-shadow: 0 0 0 2px var(--level-line); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice__head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.choice__num {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--level-line); color: #fff; font-size: 12px; font-weight: 700;
}
.choice__label {
  font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--level-line);
}
.choice__headline { font-weight: 600; font-size: 15.5px; }
.choice__tick {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  background: rgba(0, 0, 0, .07); color: transparent;
}
.choice:has(input:checked) .choice__tick { background: var(--level-line); color: #fff; }
.choice__def { display: block; font-size: 13.5px; line-height: 1.5; opacity: .8; margin-bottom: 9px; }
.choice__indicators { margin: 0; padding-left: 17px; font-size: 13px; line-height: 1.55; opacity: .78; }
.choice__indicators li { margin-bottom: 3px; }

.components {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.components h3 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); margin: 0 0 12px;
}
.components__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .components__grid { grid-template-columns: 1fr; } }
.component {
  display: grid; gap: 4px; padding: 12px 13px;
  background: var(--surface-2); border-radius: var(--radius-sm);
  border-top: 3px solid var(--accent);
}
.component__name { font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.component__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.components__note { font-size: 12.5px; color: var(--text-muted); margin: 13px 0 0; }

.assess__footnote {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.55;
  margin: 0 0 22px; padding: 12px 14px;
  background: var(--surface-2); border-left: 3px solid var(--border-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.assess__actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.assess__note { font-size: 12.5px; color: var(--text-muted); margin-top: 18px; }

.result {
  background: var(--box-tint, var(--surface)); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
}
.result__num {
  display: inline-block; padding: 2px 9px; border-radius: 99px;
  background: rgba(0, 0, 0, .1); font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
}
.result__name { font-size: 22px; margin: 9px 0 6px; }
.result__summary { font-size: 14px; margin: 0 0 18px; opacity: .85; }
.result__axes { display: flex; gap: 36px; margin: 0; }
.result__axes dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .65;
}
.result__axes dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }

.result__actions, .result__movement {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.result__actions h3, .result__movement h3 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); margin: 0 0 9px;
}
.result__movement h3 { display: flex; align-items: center; gap: 10px; }
.result__priority { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.result__actions ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-muted); }
.result__actions li { margin-bottom: 4px; }
.result__movement p { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
.form--inline { background: none; border: 0; box-shadow: none; padding: 0; max-width: none; display: grid; gap: 10px; }
.form--inline .btn { justify-self: start; }
.result__reason { font-size: 14px; margin: 0; }

/* ---------- HR viewing as a manager ---------- */
.viewas {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 24px; font-size: 13.5px;
  background: #fdf6e3; color: #6b5411; border-bottom: 1px solid #eddfb4;
}
.viewas__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: #c99a1f;
}
.viewas span { margin-right: auto; }
.viewas__stop {
  background: #6b5411; color: #fff; border-color: #6b5411; margin-left: auto;
}
.viewas__stop:hover { background: #553f0b; }


.tag--behalf { background: #fdf6e3; color: #6b5411; margin-left: 4px; }

/* ---------- dark mode ----------
   Kept last in the file so it overrides component styles on equal
   specificity. New styles go ABOVE this block. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a; --surface: #1c1f24; --surface-2: #22262c;
    --border: #2c3138; --border-strong: #3a4049;
    --text: #e6e9ee; --text-muted: #98a1ae;
    --accent: #4f8ef7; --accent-dark: #3b7ae4;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.5);
  }
  .topnav__link.is-active { background: #23324a; color: #a9c7fb; }
  .card__avatar { background: #23324a; color: #a9c7fb; }
  .tag--hr { background: #23324a; color: #a9c7fb; }
  .tag--done { background: #1a2721; color: #6fd19b; }
  .tag--progress { background: #2a2618; color: #d8b54e; }
  .tag--todo, .tag--locked, .counter { background: #262b32; color: var(--text-muted); }
  .flash--notice { background: #1a2721; border-color: #2b4636; color: #8fdcb2; }
  .flash--alert { background: #2b1e1e; border-color: #4a2f2c; color: #f0a49b; }
  .errors { background: #2b1e1e; border-color: #4a2f2c; color: #f0a49b; }
  /* Keep HR's hues but at low saturation so the grid stays readable in dark. */
  .box, .result { background: color-mix(in srgb, var(--box-tint, var(--surface)) 13%, var(--surface)); }
  .choice { background: color-mix(in srgb, var(--level-tint, var(--surface)) 15%, var(--surface)); }
  .choice__tick { background: rgba(255, 255, 255, .12); }
  .choice--low { --level-line: #e06c6c; }
  .choice--moderate { --level-line: #e0b74a; }
  .choice--high { --level-line: #55b57e; }
  .swatch { border-color: rgba(255, 255, 255, .22); }
  .result__num { background: rgba(255, 255, 255, .12); }
  .box__num, .box__info summary { background: rgba(255, 255, 255, .11); }
}

@media (prefers-color-scheme: dark) {
  .viewas { background: #2a2618; color: #e0c678; border-bottom-color: #4a4229; }
  .viewas__stop { background: #e0b74a; color: #14161a; border-color: #e0b74a; }
  .tag--behalf { background: #2a2618; color: #d8b54e; }
}
