/* SEO Tool. Tokens from the IWB Design System (colors_and_type.css); the screens are built from the UI kit below (D41). */

:root {
  --blue-950: #04344D;
  --blue-800: #0A4D70;
  --blue-500: #00AAE5;
  --blue-300: #7FD4F2;
  --blue-100: #CDEEF9;
  --blue-050: #EBF7FC;

  --white: #FFFFFF;
  --gray-050: #F6F8FA;
  --gray-100: #EBEEF2;
  --gray-200: #D8DEE5;
  --gray-400: #9AA5B1;
  --gray-600: #5C6B7A;
  --gray-800: #2A3744;

  --color-success: #1FA971;
  --color-warning: #E8A02B;
  --color-danger: #D94949;
  --text-success: #157A52;
  --text-warning: #7A4B00;
  --text-danger: #B43131;

  --font-sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-brand: 0 10px 30px rgba(0, 170, 229, 0.24);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--blue-950);
  background: var(--gray-050);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue-500); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--blue-800); }
h1, h2, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--blue-500); color: var(--white); }

.icon { flex: none; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type ------------------------------------------------------------------ */

.page-title { font-size: 28px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
.page-sub { font-size: 15px; color: var(--gray-600); }
.page-head { display: flex; flex-direction: column; gap: 4px; }
.muted { color: var(--gray-600); }
.mono { font-family: var(--font-mono); font-size: 12px; }

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1.2 var(--font-sans);
  padding: 12px 22px; border: none; border-radius: var(--radius-pill);
  background: var(--blue-500); color: var(--white);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: all var(--dur-base) var(--ease-out);
}
.btn:hover { color: var(--white); box-shadow: var(--shadow-brand); }
.btn:focus-visible, .icon-button:focus-visible {
  outline: 2px solid var(--blue-500); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--blue-950); border: 1.5px solid var(--blue-950); padding: 10.5px 20.5px; }
.btn-ghost:hover { background: var(--blue-950); color: var(--white); box-shadow: none; }
.btn:disabled { background: var(--gray-100); color: var(--gray-400); border: none; cursor: not-allowed; box-shadow: none; }

.icon-button { border: none; background: none; color: var(--gray-600); cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 8px; }
.icon-button:hover { color: var(--blue-950); background: var(--gray-050); }

/* Form fields ----------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--blue-950); }
.input {
  font: inherit; font-size: 15px; width: 100%;
  padding: 12px 16px; border-radius: var(--radius-md); outline: none;
  background: var(--white); border: 1px solid var(--gray-200); color: var(--blue-950);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder { color: var(--gray-400); }
.input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(0, 170, 229, 0.12); }
.input[aria-invalid="true"] { border-color: var(--color-danger); }
.field-hint { font-size: 13px; color: var(--gray-600); }
.field-error { font-size: 13px; color: var(--text-danger); }

/* App shell ------------------------------------------------------------- */

.app { min-height: 100vh; display: flex; flex-direction: column; }
.app-header {
  height: 60px; flex: none; background: var(--white); border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 20px; padding: 0 28px;
}
.app-logo img { height: 20px; display: block; }
.app-divider { width: 1px; height: 24px; background: var(--gray-100); }
.app-crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); min-width: 0; }
.app-crumbs a { color: var(--gray-600); }
.app-crumbs a:hover { color: var(--blue-950); }
.app-crumb-current { color: var(--blue-950); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-spacer { flex: 1; }
.app-user { display: flex; align-items: center; gap: 10px; }
.app-user form { display: contents; }
.avatar {
  width: 32px; height: 32px; border-radius: var(--radius-pill); flex: none;
  background: var(--blue-100); color: var(--blue-950);
  display: grid; place-items: center; font-size: 13px; font-weight: 500;
}
.app-main { flex: 1; padding: 40px 48px; display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 1360px; margin: 0 auto; }

/* Shared by every screen: cards on /kit, the small button, a submit button that JavaScript hides */

.card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.has-js [data-submit-fallback] { display: none; }

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

@media (max-width: 720px) {
  .app-header { padding: 0 16px; gap: 12px; }
  .app-main { padding: 24px 16px; }
}

/* UI kit (D41) ============================================================
   Tokens and components for every screen. Every part is shown on /kit.
   Add a part there first, then use it. */

:root {
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-xl: 28px;
  --tray: var(--gray-100);
  --well: rgba(4, 52, 77, 0.07);
  --tint-success: rgba(31, 169, 113, 0.13);
  --tint-warning: rgba(232, 160, 43, 0.16);
  --tint-danger: rgba(217, 73, 73, 0.12);
  --grad-brand: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  --grad-ink: radial-gradient(130% 150% at 100% 0%, var(--blue-800) 0%, var(--blue-950) 62%);
  --ink-line: rgba(255, 255, 255, 0.16);
  --shadow-card: 0 1px 2px rgba(4, 52, 77, 0.05), 0 6px 20px -8px rgba(4, 52, 77, 0.16);
  --shadow-float: 0 2px 6px rgba(4, 52, 77, 0.10), 0 20px 44px -14px rgba(4, 52, 77, 0.38);
  --num-sm: 22px;
  --num-md: 32px;
  --num-lg: 56px;
  /* Room under the last line of a screen, so the floating Claude and Feedback buttons never cover it */
  --fab-room: calc(72px + env(safe-area-inset-bottom, 0px));
}

.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.push { margin-left: auto; }

/* Surfaces: tray, card, ink. One ink surface per screen. */
.tile { background: var(--tray); border-radius: var(--radius-xl); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile.is-ink { background: var(--grad-ink); color: var(--white); }
.tile.is-ink .muted { color: var(--blue-300); }
.surface { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 16px; min-width: 0; }
.surface.is-flush { padding: 0; overflow: hidden; }

/* Button variants on top of .btn */
.btn-ink { background: var(--blue-950); }
.btn-ink:hover { box-shadow: var(--shadow-card); }
.btn-brand { background: var(--grad-brand); color: var(--blue-950); font-weight: 600; }
.btn-brand:hover { color: var(--blue-950); }
.btn-quiet { background: var(--well); color: var(--blue-950); }
.btn-quiet:hover { color: var(--blue-950); box-shadow: none; background: var(--gray-200); }
.btn-danger { background: var(--color-danger); }
.btn-danger:hover { box-shadow: var(--shadow-card); }
.is-ink .btn-quiet { background: var(--ink-line); color: var(--white); }
.seg input:focus-visible + span, .tick input:focus-visible + span, .switch-input:focus-visible + .switch, .chip-count:focus-visible, .kpi-i:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

/* Segmented choice: a white thumb in a well */
.seg { display: inline-flex; flex-wrap: wrap; background: var(--well); border-radius: 18px; padding: 4px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 7px 16px; border-radius: var(--radius-pill); font: 500 13px/1.2 var(--font-sans); color: var(--gray-600); transition: all var(--dur-base) var(--ease-out); }
.seg input:checked + span { background: var(--white); color: var(--blue-950); box-shadow: var(--shadow-card); }
.is-ink .seg { background: var(--ink-line); }
.is-ink .seg span { color: var(--blue-100); }
.is-ink .seg input:checked + span { color: var(--blue-950); }

/* Pill tabs with a count */
.ptabs { display: flex; flex-wrap: wrap; gap: 4px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill); font: 500 14px/1.2 var(--font-sans); color: var(--gray-600); }
.ptab:hover { color: var(--blue-950); background: var(--well); }
.ptab.is-active { background: var(--blue-950); color: var(--white); }
.ptab-count { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--grad-brand); color: var(--blue-950); }
.ptab-count.is-quiet { background: var(--well); }
.ptab.is-active .ptab-count.is-quiet { background: var(--ink-line); color: var(--white); }

/* Drill path */
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }
.path > span, .path > a { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-card); color: var(--gray-600); }
.path > .is-here { background: var(--blue-950); color: var(--white); box-shadow: none; }
.path .icon { color: var(--gray-400); }

/* KPI tile and the number scale */
.kpi { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kpi-top { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--gray-600); }
.is-ink .kpi-top { color: var(--blue-300); }
.kpi-value { font-size: var(--num-md); font-weight: 500; letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-value.is-lg { font-size: var(--num-lg); letter-spacing: -0.035em; }
.kpi-value.is-sm { font-size: var(--num-sm); }
.kpi-unit { font-size: var(--num-sm); letter-spacing: 0; }
.kpi-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; color: var(--gray-600); }
.is-ink .kpi-foot { color: var(--blue-100); }
.kpi.is-context { border: 1.5px dashed var(--gray-200); box-shadow: none; background: transparent; }
.kpi.is-context .kpi-value { color: var(--gray-600); }
.kpi-i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0; background: var(--well); color: var(--gray-600); font: 700 11px/1 var(--font-sans); cursor: pointer; }
.is-ink .kpi-i { background: var(--ink-line); color: var(--white); }
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: var(--radius-pill); font: 600 12px/1.2 var(--font-sans); font-variant-numeric: tabular-nums; background: var(--well); color: var(--blue-950); }
/* A KPI delta is no result: the arrow is the direction of the number, the colour stays neutral. No change: no arrow. */
.delta.is-up, .delta.is-down { color: var(--blue-950); }
.delta.is-flat { color: var(--gray-600); }
.is-ink .delta { background: var(--ink-line); color: var(--white); }
.is-ink .delta.is-flat { color: var(--blue-100); }
/* A delta of results (pass and fail of a check) may be better or worse */
.delta.is-better { background: var(--tint-success); color: var(--text-success); }
.delta.is-worse { background: var(--tint-danger); color: var(--text-danger); }
.spark { width: 100%; height: 40px; display: block; overflow: visible; }
.spark.is-tall { height: 72px; }
.spark-line { fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark-area { fill: var(--blue-050); stroke: none; }
.is-ink .spark-line { stroke: var(--blue-300); }
.is-ink .spark-area { fill: rgba(127, 212, 242, 0.14); }

/* Share rows: a table row that draws its own share */
.share { display: grid; grid-template-columns: minmax(84px, 1fr) minmax(0, 2.4fr) 64px 104px 96px; gap: 6px 14px; align-items: center; justify-items: start; padding: 12px 16px; border-top: 1px solid var(--gray-100); font-size: 14px; color: inherit; }
.share > .share-bar, .share > .share-name { justify-self: stretch; }
.share > .share-val { justify-self: end; }
.share:first-child { border-top: 0; }
a.share:hover { background: var(--blue-050); color: inherit; }
.share.is-wide { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 64px 104px 156px; }
.share-name .mono { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-name { font-weight: 600; }
.share-name small { display: block; font-weight: 400; font-size: 12px; color: var(--gray-600); }
.share-bar { height: 10px; border-radius: var(--radius-pill); background: var(--gray-100); overflow: hidden; }
.share-bar i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--grad-brand); }
.share-val { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 48px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-pill); font: 500 12px/1.3 var(--font-sans); white-space: nowrap; background: var(--well); color: var(--gray-800); }
.tag.is-fail { background: var(--tint-danger); color: var(--text-danger); }
.tag.is-open { background: var(--blue-100); color: var(--blue-950); }
.tag.is-none { background: transparent; color: var(--gray-400); }

/* Status: one shape per state */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: var(--radius-pill); font: 600 12px/1.2 var(--font-sans); white-space: nowrap; background: var(--well); color: var(--gray-800); }
.st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.st.has-icon::before { display: none; }
.st-new { background: var(--grad-brand); color: var(--blue-950); }
.st-approved { background: var(--blue-100); color: var(--blue-950); }
.st-executed { background: var(--blue-950); color: var(--white); }
.st-verified { background: var(--tint-success); color: var(--text-success); }
.st-measuring { background: var(--white); color: var(--blue-950); box-shadow: inset 0 0 0 1.5px var(--blue-500); }
.st-measuring::before { background: transparent; border: 2px solid var(--blue-500); border-right-color: transparent; animation: spin 1.4s linear infinite; }
.st-improved { background: var(--color-success); color: var(--white); }
.st-worse { background: var(--color-danger); color: var(--white); }
.st-noeffect { background: var(--gray-200); color: var(--gray-800); }
.st-little { background: transparent; color: var(--gray-600); box-shadow: inset 0 0 0 1.5px var(--gray-400); }
.st-little::before { background: transparent; border: 1.5px dashed currentColor; }
.st-failed { background: var(--tint-danger); color: var(--text-danger); }
.st-rejected { padding-left: 11px; background: transparent; color: var(--gray-600); text-decoration: line-through; box-shadow: inset 0 0 0 1.5px var(--gray-200); }

/* Reason and actor */
.reason { display: inline-flex; align-items: stretch; border-radius: var(--radius-sm); overflow: hidden; font: 500 12px/1.3 var(--font-sans); white-space: nowrap; }
.reason b { padding: 4px 8px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.reason span { padding: 4px 9px; background: var(--well); color: var(--gray-800); }
.reason.is-fix b { background: var(--blue-950); color: var(--white); }
.reason.is-grow b { background: var(--grad-brand); color: var(--blue-950); }
.actor { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-600); }
.actor i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--font-sans); background: var(--blue-100); color: var(--blue-950); }
.actor.is-claude i { background: var(--blue-950); color: var(--blue-300); }
.actor.is-tool i { background: var(--grad-brand); }
.is-ink .actor { color: var(--blue-300); }
.is-ink .actor.is-claude i { background: var(--ink-line); color: var(--white); }

/* Lifecycle stepper */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--gray-400); text-align: center; }
.step::before { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; height: 3px; background: var(--gray-200); }
.step:first-child::before { display: none; }
.step b { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 2px var(--gray-200); color: transparent; }
.step.is-done { color: var(--blue-950); }
.step.is-done::before, .step.is-now::before { background: var(--blue-500); }
.step.is-done b { background: var(--blue-500); box-shadow: none; color: var(--white); }
.step.is-now { color: var(--blue-950); font-weight: 700; }
.step.is-now b { background: var(--blue-950); animation: halo 1.8s var(--ease-out) infinite; }
.step.is-now b::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-300); }
.step.is-stop { color: var(--text-danger); font-weight: 700; }
.step.is-stop::before { background: var(--color-danger); }
.step.is-stop b { background: var(--color-danger); box-shadow: none; color: var(--white); }

/* Ring: part of a fixed whole. Set --p to the percentage. For ink surfaces. */
.ring { position: relative; width: 108px; height: 108px; flex: none; display: grid; place-content: center; text-align: center; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--blue-300), var(--blue-500) calc(var(--p) * 1%), var(--ink-line) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); }
.ring small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; margin-top: 4px; color: var(--blue-300); }

/* Goal meter: baseline to target. Hatched while provisional. */
.goal { display: flex; flex-direction: column; gap: 8px; }
.goal-track { position: relative; height: 14px; border-radius: var(--radius-pill); background: var(--gray-100); }
.goal-fill { position: absolute; inset: 0 auto 0 0; border-radius: var(--radius-pill); background: var(--grad-brand); }
.goal-fill.is-provisional { background: repeating-linear-gradient(135deg, var(--blue-300) 0 6px, var(--blue-100) 6px 12px); }
.goal-knob { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-card), inset 0 0 0 2px var(--blue-500); transform: translate(-50%, -50%); }
.goal-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-600); }
.goal-ends b { display: block; font-size: 15px; color: var(--blue-950); font-variant-numeric: tabular-nums; }
.goal-ends div:last-child { text-align: right; }

/* Range plot: the verdict as a picture (x-kit.range) */
.range { position: relative; padding: 24px 0; font: 600 13px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.range-plot { position: relative; height: 44px; }
.range-plot::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--gray-200); }
.range-plot i { position: absolute; }
.range-bar { top: 14px; height: 16px; left: var(--lo); width: calc(var(--hi) - var(--lo)); border-radius: var(--radius-pill); background: var(--grad-brand); }
.range-zero { top: 0; bottom: 0; left: var(--zero); width: 2px; margin-left: -1px; background: var(--blue-950); }
.range-target { top: 4px; bottom: 4px; left: var(--target); border-left: 2px dashed var(--blue-950); margin-left: -1px; }
.range-raw { top: 50%; left: var(--raw); width: 12px; height: 12px; border-radius: 2px; background: var(--blue-950); box-shadow: 0 0 0 2px var(--white); transform: translate(-50%, -50%) rotate(45deg); }
.range-net { top: 50%; left: var(--net); width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4px var(--blue-950); transform: translate(-50%, -50%); }
.range-lab { position: absolute; top: 0; left: var(--lo); }
.range-lab.is-hi { left: var(--hi); transform: translateX(-100%); }
.range-lab.is-zero { top: auto; bottom: 0; left: var(--zero); transform: translateX(-50%); }
.is-ink .range-plot::before { background: var(--ink-line); }
.is-ink .range-zero { background: var(--white); }
.is-ink .range-target { border-color: var(--white); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.key { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--blue-950); }
.key.is-raw { border-radius: 2px; transform: rotate(45deg) scale(0.8); background: var(--blue-950); box-shadow: 0 0 0 2px var(--white); }
.key.is-target { width: 0; border-radius: 0; background: none; box-shadow: none; border-left: 2px dashed currentColor; }
.key.is-range { width: 22px; border-radius: var(--radius-pill); background: var(--grad-brand); box-shadow: none; }
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.equation div { padding: 8px 12px; border-radius: var(--radius-md); background: var(--well); }
.equation b { display: block; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.equation .is-result { background: var(--blue-950); color: var(--white); }
.is-ink .equation div { background: var(--ink-line); }
.is-ink .equation .is-result { background: var(--white); color: var(--blue-950); }
.is-ink .equation .is-result .muted { color: var(--gray-600); }

/* Mini range for a table cell. Zero is the middle. Set --lo, --hi, --at. */
.rmini { position: relative; width: 92px; height: 16px; flex: none; }
.rmini::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--gray-200); }
.rmini::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--blue-950); }
.rmini i { position: absolute; top: 4px; height: 8px; left: var(--lo); right: calc(100% - var(--hi)); border-radius: var(--radius-pill); background: var(--gray-400); }
.rmini b { position: absolute; top: 2px; left: var(--at); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--gray-600); z-index: 1; }
.rmini.is-improved i { background: var(--color-success); }
.rmini.is-improved b { box-shadow: inset 0 0 0 3px var(--text-success); }
.rmini.is-worse i { background: var(--color-danger); }
.rmini.is-worse b { box-shadow: inset 0 0 0 3px var(--text-danger); }
.rmini.is-little i { background: repeating-linear-gradient(90deg, var(--gray-400) 0 4px, transparent 4px 7px); }
.logrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--gray-100); font-size: 13px; }
.logrow:first-child { border-top: 0; }
.logrow .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logrow-res { display: flex; align-items: center; gap: 10px; }
.logrow-note { grid-column: 1 / -1; color: var(--gray-600); font-variant-numeric: tabular-nums; }
a.logrow { color: inherit; }
a.logrow:hover { background: var(--blue-050); color: inherit; }

/* Day chart (x-kit.day-chart). The plot stretches to the width at a fixed height; its labels are HTML at a fixed size. */
.chart { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.chart-area { position: relative; }
.chart-plot { width: 100%; height: 200px; display: block; overflow: visible; }
.chart-plot * { vector-effect: non-scaling-stroke; }
.chart-text { position: absolute; font: 500 11px/1.2 var(--font-sans); color: var(--gray-600); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.chart-text.is-strong { color: var(--blue-950); font-weight: 600; }
.chart-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--blue-500); transform: translate(-50%, -50%); }
.chart-notes { position: relative; height: 14px; }
.chart-grid { stroke: var(--gray-100); stroke-width: 1; }
.chart-window { fill: var(--blue-050); }
.chart-verified { stroke: var(--blue-950); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart-target { stroke: var(--blue-500); stroke-width: 1.5; stroke-dasharray: 2 5; }
.chart-before { fill: none; stroke: var(--gray-400); stroke-width: 2; stroke-linejoin: round; }
.chart-after { fill: none; stroke: var(--blue-500); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }


/* Validator gates */
.gates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.gate { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--gray-800); }
.gate b { width: 100%; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint-success); color: var(--text-success); }
.gate.is-na { color: var(--gray-400); }
.gate.is-na b { background: repeating-linear-gradient(135deg, var(--gray-100) 0 5px, var(--white) 5px 10px); color: var(--gray-400); font-size: 11px; }
.gate.is-fail b { background: var(--color-danger); color: var(--white); }

/* Diff: current to new */
.diff { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.diff-side { padding: 10px 12px; border-radius: var(--radius-md); font-size: 14px; overflow-wrap: anywhere; }
.diff-side small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.diff-old { background: var(--gray-050); color: var(--gray-600); }
.diff-old.is-empty span { display: inline-block; padding: 1px 10px; border: 1.5px dashed var(--gray-400); border-radius: 6px; font-size: 12px; }
.diff-new { background: var(--blue-050); box-shadow: inset 3px 0 0 var(--blue-500); }
.diff-new small { color: var(--blue-800); }
.diff-new ins { text-decoration: none; background: var(--blue-100); border-radius: 4px; padding: 0 3px; font-weight: 600; }
.meter { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-600); }
.meter-track { flex: 1; height: 6px; border-radius: var(--radius-pill); background: var(--gray-100); position: relative; }
.meter-track i { position: absolute; inset: 0 auto 0 0; border-radius: var(--radius-pill); background: var(--color-success); }
.meter b { color: var(--blue-950); font-variant-numeric: tabular-nums; }

/* Batch card */
.batch { display: flex; flex-direction: column; gap: 12px; }
.batch-head { display: flex; align-items: flex-start; gap: 12px; }
.batch-count { flex: none; width: 56px; height: 56px; border-radius: var(--radius-card); background: var(--blue-950); color: var(--white); display: grid; place-content: center; text-align: center; font-size: 22px; font-weight: 500; line-height: 1; }
.batch-count small { display: block; font-size: 10px; font-weight: 500; color: var(--blue-300); margin-top: 3px; }
.batch-count.is-quiet { background: var(--blue-100); color: var(--blue-950); }
.batch-count.is-quiet small { color: var(--blue-800); }
.batch-title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.split { display: flex; height: 8px; gap: 3px; }
.split i { border-radius: var(--radius-pill); background: var(--color-success); }
.split i.is-back { background: var(--color-warning); }

/* Review rows and the selection bar */
.tick { position: relative; display: inline-grid; flex: none; }
.tick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tick span { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--gray-400); color: transparent; transition: all var(--dur-fast) var(--ease-out); }
.tick input:checked + span { background: var(--blue-950); box-shadow: none; color: var(--white); }
.rrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--gray-100); font-size: 13px; transition: background var(--dur-fast); }
.rrow:first-child { border-top: 0; }
.rrow:has(input:checked) { background: var(--tint-danger); }
.rrow p { overflow-wrap: anywhere; }
/* The selection bar comes after the rows and sticks to the bottom of the viewport while they are in view, above the floating buttons */
.selbar { position: sticky; bottom: var(--fab-room); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: var(--radius-xl); background: var(--blue-950); color: var(--white); box-shadow: var(--shadow-float); font-size: 14px; font-weight: 500; }

/* Popover, hint, key-value list */
.pop { box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 12px; }
.pop-title { font-size: 15px; font-weight: 600; }
.pop[popover] { border: 0; color: var(--blue-950); width: min(460px, calc(100vw - 32px)); }
.pop[popover]:not(:popover-open) { display: none; }
.pop[popover]::backdrop { background: rgba(4, 52, 77, 0.16); }
.field-label em { font-style: normal; color: var(--text-danger); }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--gray-600); }
.hint .icon { margin-top: 2px; color: var(--blue-500); }
.kv { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--gray-600); }
.kv dd { margin: 0; }
.ver { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--blue-950); color: var(--white); font: 600 11px/1.5 var(--font-mono); }

/* Policy words */
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.word { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--radius-pill); font: 500 13px/1.3 var(--font-mono); background: var(--white); box-shadow: var(--shadow-card); overflow-wrap: anywhere; }
.word.is-off { color: var(--gray-800); text-decoration: line-through 1.5px; }
.word.is-must { box-shadow: var(--shadow-card), inset 0 0 0 1.5px var(--blue-950); }
.word.is-new::after { content: 'new'; font: 700 10px/1 var(--font-sans); letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 6px; border-radius: var(--radius-pill); background: var(--grad-brand); color: var(--blue-950); }
.word-rule { font-size: 12px; color: var(--gray-600); }

/* Count chips with their distribution */
.chip-count { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 12px; border: 0; border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-card); font: 500 13px/1.2 var(--font-sans); color: var(--blue-950); cursor: pointer; }
.chip-count b { min-width: 24px; padding: 2px 7px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; text-align: center; background: var(--well); font-variant-numeric: tabular-nums; }
.chip-count.is-active { background: var(--blue-950); color: var(--white); box-shadow: none; }
.chip-count.is-active b { background: var(--ink-line); }
.chip-count i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dist { display: flex; height: 12px; gap: 2px; border-radius: var(--radius-pill); overflow: hidden; }
.c-improved { background: var(--color-success); }
.c-verified { background: var(--text-success); }
.c-noeffect { background: var(--gray-400); }
.c-worse { background: var(--color-danger); }
.c-little { background: var(--gray-200); }
.c-failed { background: var(--text-danger); }
.c-rejected { background: var(--gray-600); }
.c-open { background: var(--blue-300); }

/* Check rows: a fail is loud, a pass is quiet */
.crow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--gray-100); font-size: 14px; }
.crow:first-child { border-top: 0; }
.crow-mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-success); color: var(--text-success); }
.crow.is-fail .crow-mark { background: var(--color-danger); color: var(--white); }
.crow.is-fail { background: linear-gradient(90deg, var(--tint-danger), transparent 70%); }
.crow small { display: block; font-size: 12px; color: var(--gray-600); }
.crow.is-quiet .crow-mark { background: var(--well); color: var(--gray-600); }
/* The figures of a check row on fixed columns: the bar, the rate, the change and the count line up in every row */
.crow-figs { display: grid; grid-template-columns: 92px 56px 76px 80px; gap: 10px; align-items: center; justify-items: end; }
.crow-figs > :first-child { justify-self: stretch; }

/* Checklist (D64): the steps of a setup, in order. The mark is the shape of the state: solid when done, dark for your turn, dashed while it waits; the .st beside it is the word */
.todo { list-style: none; margin: 0; padding: 0; }
.todo-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; padding: 14px; border-top: 1px solid var(--gray-100); font-size: 14px; }
.todo-item:first-child { border-top: 0; }
.todo-mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--font-sans); background: var(--white); box-shadow: inset 0 0 0 2px var(--gray-200); color: var(--gray-600); }
.todo-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.todo-title { font-weight: 600; color: var(--blue-950); }
.todo-item.is-done .todo-mark { background: var(--blue-500); box-shadow: none; color: var(--white); }
.todo-item.is-done .todo-title { font-weight: 500; color: var(--gray-600); }
.todo-item.is-now { background: linear-gradient(90deg, var(--blue-100), transparent 70%); }
.todo-item.is-now .todo-mark { background: var(--blue-950); box-shadow: none; color: var(--white); }
.todo-item.is-wait .todo-mark { background: transparent; box-shadow: none; border: 2px dashed var(--gray-400); }

/* Next step banner, toast and floating buttons */
.next-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; }
/* A toast floats under the header, out of the flow. It hides itself once after 10 seconds; the close button hides it at once. */
.toast { position: fixed; top: 72px; left: 50%; z-index: 50; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 9px; border-radius: var(--radius-card); background: var(--blue-950); color: var(--white); box-shadow: var(--shadow-float); font-size: 14px; font-weight: 500; animation: toast-out var(--dur-base) var(--ease-out) 10s forwards; }
.toast > b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--color-success); }
.toast .icon-button { color: var(--blue-300); }
.toast .icon-button:hover { color: var(--white); background: var(--ink-line); }
.toast.is-static { position: static; transform: none; animation: none; width: auto; max-width: 100%; }
html:not(.has-js) [data-toast-close] { display: none; }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }

/* Floating buttons: Claude and Feedback, fixed to the corner of every screen */
.fab-row { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: flex; gap: 8px; z-index: 40; }
.app-main:has(.fab-row) { padding-bottom: var(--fab-room); }
/* A white ring keeps the buttons apart from any surface under them: tray, card or ink */
.fab, .fab:hover { box-shadow: 0 0 0 2px var(--white), var(--shadow-float); }
.fab.btn-ghost { background: var(--white); }
.fab.btn-ghost:hover, .fab[aria-pressed="true"] { background: var(--blue-950); color: var(--white); }
/* Picking a feedback target (D53): while the Feedback button is pressed, what can be picked shows a dashed ring */
.is-picking [data-feedback-target-type] { cursor: crosshair; }
.is-picking [data-feedback-target-type]:hover { outline: 2px dashed var(--blue-500); outline-offset: 2px; border-radius: var(--radius-md); }

/* Notices above a screen: an error, or information that is no result */
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; border-radius: var(--radius-md); padding: 12px 16px; }
.notice .icon { margin-top: 2px; }
.notice-error { color: var(--text-danger); background: var(--tint-danger); }
.notice-info { color: var(--blue-950); background: var(--blue-050); }

/* Sign-in: the pitch on ink, the button on a card */
.signin { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; padding: 16px; }
.signin > .tile { padding: 48px 56px; justify-content: space-between; gap: 40px; }
.signin-logo { height: 26px; align-self: flex-start; }
.signin-title { font-size: var(--num-lg); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; max-width: 520px; }
.signin-title span { color: var(--blue-300); }
.signin-panel { display: grid; place-items: center; padding: 48px 32px; border-radius: var(--radius-xl); }
.signin-panel .screen { width: 100%; max-width: 380px; }
.google-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }

/* A narrow screen for a form, and a list that scrolls inside its card */
.screen.is-narrow { width: 100%; max-width: 640px; margin: 0 auto; }
.surface.is-scroll { max-height: 560px; overflow-y: auto; }

/* Switch: a setting that is on or off, with its title and what it does */
.toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 14px 16px; border-radius: var(--radius-md); background: var(--gray-050); }
.switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 40px; height: 24px; flex: none; border-radius: var(--radius-pill); padding: 3px; background: var(--gray-200); transition: background var(--dur-base); }
.switch::after { content: ''; display: block; width: 18px; height: 18px; border-radius: var(--radius-pill); background: var(--white); transition: transform var(--dur-base) var(--ease-out); }
.switch-input:checked + .switch { background: var(--blue-500); }
.switch-input:checked + .switch::after { transform: translateX(16px); }
.spin { display: grid; animation: spin 1s linear infinite; }

/* A secret shown once, such as a tool MCP token in its command (D61): it wraps, one click selects all of it, Copy sits next to it */
.secret { display: flex; align-items: flex-start; gap: 10px; padding: 10px 10px 10px 14px; border-radius: var(--radius-card); background: var(--well); }
.secret-text { flex: 1; min-width: 0; margin: 0; padding-top: 6px; font: 400 12px/1.6 var(--font-mono); overflow-wrap: anywhere; white-space: pre-wrap; user-select: all; }
.is-ink .secret { background: var(--ink-line); }
html:not(.has-js) [data-copy] { display: none; }

/* The status codes of a crawl, for .dist and .chip-count */
.c-ok { background: var(--color-success); }
.c-redirect { background: var(--color-warning); }
.c-error { background: var(--color-danger); }
.c-blocked { background: var(--gray-400); }

/* A check row that opens to its detail */
.crow-more { border-top: 1px solid var(--gray-100); }
.crow-more:first-child { border-top: 0; }
.crow-more > summary.crow { border-top: 0; cursor: pointer; list-style: none; }
.crow-more > summary.crow::-webkit-details-marker { display: none; }
.crow-more > summary.crow:hover { filter: brightness(0.98); }
.crow-more > :not(summary) { padding: 2px 14px 14px 50px; }

/* Screen layout: the column of a screen, the KPI block, two columns, headings, a filter bar */
.screen { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.kpis-hero { grid-column: span 5; justify-content: space-between; }
.kpis-grid { grid-column: span 7; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
/* Next to the hero: rows of 3 on a grid of 6. Five tiles end with a row of 2, four make 2 rows of 2: no lone card, no hole.
   On a phone: rows of 2, and an odd last tile takes the whole row. */
@media (min-width: 641px) {
  .kpis > .kpis-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kpis > .kpis-grid > * { grid-column: span 2; }
  .kpis > .kpis-grid > :nth-child(4):nth-last-child(2), .kpis > .kpis-grid > :nth-child(5):last-child,
  .kpis > .kpis-grid > :first-child:nth-last-child(4), .kpis > .kpis-grid > :first-child:nth-last-child(4) ~ *,
  .kpis > .kpis-grid > :first-child:nth-last-child(2), .kpis > .kpis-grid > :first-child:nth-last-child(2) ~ * { grid-column: span 3; }
  .kpis > .kpis-grid > :only-child { grid-column: span 6; }
}
@media (max-width: 640px) {
  .kpis > .kpis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis > .kpis-grid > :last-child:nth-child(odd) { grid-column: span 2; }
}
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 18px; align-items: start; }
.sec-title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sec-title.is-lg { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.filterbar .field { flex: 1 1 150px; gap: 4px; }
.filterbar .field-label { font-size: 12px; color: var(--gray-600); }
.filterbar .input { padding: 8px 12px; font-size: 13px; border-radius: var(--radius-sm); }
@media (max-width: 980px) {
  .kpis-hero, .kpis-grid { grid-column: span 12; }
}

@keyframes halo { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 170, 229, 0.28); } 50% { box-shadow: 0 0 0 9px rgba(0, 170, 229, 0.08); } }

@media (max-width: 640px) {
  .tile { padding: 14px; border-radius: 22px; }
  .share, .share.is-wide { grid-template-columns: minmax(0, 1fr) auto; }
  .share-bar { grid-column: 1 / -1; order: 5; }
  .rrow { grid-template-columns: auto minmax(0, 1fr); }
  .rrow-main { display: contents; }
  .rrow .diff, .rrow-side { grid-column: 1 / -1; }
  .rrow-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .selbar { padding: 8px 8px 8px 14px; gap: 6px 8px; }
  .selbar .btn { flex: 1 1 0; margin-left: 0; padding: 8px 10px; }
  .crow-figs { grid-column: 2 / -1; grid-template-columns: minmax(0, 1fr) 48px 56px 64px; gap: 8px; }
  .chart-plot { height: 150px; }
  .chart-notes { display: none; }
  .gate { font-size: 9px; }
  .step { font-size: 10px; }
  .todo-item { grid-template-columns: auto minmax(0, 1fr); }
  .todo-item > .st { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .st-measuring::before, .step.is-now b, .spin { animation: none; }
}

@media (max-width: 720px) {
  .signin > .tile { padding: 32px 24px; }
  .signin-title { font-size: 40px; }
  .signin-panel { padding: 40px 16px; }
}

/* The /kit page only. Do not use these on a screen. */
.kit-sec { display: flex; flex-direction: column; gap: 18px; }
.kit-head { display: flex; flex-direction: column; gap: 4px; max-width: 720px; }
.kit-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.kit-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; grid-auto-flow: dense; }
.kit-s3 { grid-column: span 3; }
.kit-s4 { grid-column: span 4; }
.kit-s5 { grid-column: span 5; }
.kit-s6 { grid-column: span 6; }
.kit-s7 { grid-column: span 7; }
.kit-s8 { grid-column: span 8; }
.kit-center { align-items: center; justify-content: center; text-align: center; }
.kit-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kit-cap { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 12px; font-weight: 600; color: var(--gray-600); }
.kit-cap code { font: 400 11px var(--font-mono); color: var(--gray-400); }
.is-ink .kit-cap { color: var(--blue-100); }
.is-ink .kit-cap code { color: var(--blue-300); }
.kit-levers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.kit-lever { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.kit-lever h3 { margin: 0; font-size: 17px; font-weight: 600; }
.kit-lever p { font-size: 14px; color: var(--gray-800); }
.kit-stops { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; min-height: 44px; }
.kit-rule { padding-top: 8px; border-top: 1px solid var(--gray-100); }
.kit-sw { width: 44px; height: 32px; border-radius: 10px; background: var(--gray-200); }
@media (max-width: 980px) {
  .kit-s3, .kit-s4, .kit-s5 { grid-column: span 6; }
  .kit-s7, .kit-s8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .kit-s3, .kit-s4, .kit-s5, .kit-s6 { grid-column: span 12; }
}
