/* Capture Check — Night. Tokens and moves from docs/design/bradawl-night-look.md
 * and docs/design/2026-10-19-bradawl-night-identity.md.
 * The faces are bundled in fonts/ with their OFL licences; nothing is requested
 * from the network and no system face stands in. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: block;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --night: #15140F;
  --soot: #1E1A15;
  --raised: #27221B;
  --border: #2E2820;
  --border-soft: #26211A;
  --paper: #F5F2EB;
  --cream: #E9E0CF;
  --taupe: #A8A094;
  --graphite: #8C8882;
  --amber: #C8821A;
  --amber-light: #E2A14A;
  --deep-amber: #9A6212;
  --confirmed: #E4584B;
  --resolved: #7FBF7F;
  --serif: "Newsreader";
  --sans: "IBM Plex Sans";
  --mono: "IBM Plex Mono";
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--night);
  padding: 10px 16px;
  z-index: 50;
  font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.glow {
  position: absolute;
  /* The page's own width, never wider (a 900px box scrolled phones sideways, bradawl-0241); the same 450px light is
     painted at the same centre, so wide screens look as before. */
  top: -420px;
  left: 0;
  right: 0;
  height: 900px;
  background: radial-gradient(circle 450px at 50% 50%, rgba(200, 130, 26, .20), rgba(200, 130, 26, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245, 242, 235, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .25) 100%);
  mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .25) 100%);
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 32px 72px;
}

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: relative;
  z-index: 1;
  max-width: 1152px;
  margin: 0 auto;
  padding: 38px 32px 0;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mark {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 14px;
  flex: none;
}
.mark-rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: var(--paper);
}
.mark-point {
  position: absolute;
  left: 30px;
  top: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px 3px rgba(200, 130, 26, .55);
}

.wordmark {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 29px;
  letter-spacing: -.01em;
  color: var(--paper);
}

/* ------------------------------------------------------------------- head */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 80px 0 18px;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--paper);
  margin: 0 0 20px;
}

.strap {
  font-size: 21px;
  line-height: 1.45;
  color: var(--cream);
  margin: 0 0 10px;
  max-width: 760px;
}

.workswith {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--taupe);
  margin: 0 0 44px;
}

.dropline {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--cream);
  margin: 0 0 18px;
}

/* ------------------------------------------------------------ drop zones */

.drops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 0 26px;
}

.drop {
  position: relative;
  background: var(--soot);
  border: 1px dashed #3B3328;
  border-radius: 5px;
  min-height: 132px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.drop:hover,
.drop.is-over {
  border-color: #57482F;
  background: #211C16;
}

.drop.is-over { transform: translateY(-2px); }

.drop.loaded {
  border-style: solid;
  border-color: #4A4035;
}

.drop:focus-within {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.drop-face {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  min-height: 132px;
  cursor: pointer;
  border-radius: 5px;
}

.drop-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.3;
}

.optional {
  font-weight: 400;
  font-size: 14px;
  color: var(--taupe);
}

.drop-hint {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--taupe);
  line-height: 1.5;
}

.drop-file {
  display: none;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--amber-light);
  word-break: break-word;
}

.drop.loaded .drop-hint { display: none; }
.drop.loaded .drop-file { display: block; }

.gate {
  font-size: 15px;
  line-height: 1.6;
  color: var(--taupe);
  max-width: 940px;
  margin: 0 0 26px;
}

/* ---------------------------------------------------------------- actions */

.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 25px;
  border: 0;
  border-radius: 3px;
  background: var(--amber);
  color: var(--night);
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover:not(:disabled) { background: var(--amber-light); }
.btn:active:not(:disabled) { background: var(--deep-amber); transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(200, 130, 26, .18);
}

.btn:disabled {
  background: #322B21;
  color: var(--graphite);
  cursor: not-allowed;
}

.linkbtn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.linkbtn:hover { color: var(--paper); }
.linkbtn:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

.asof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--taupe);
}

.asof label {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--amber);
}

.asof input {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cream);
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 8px 10px;
  color-scheme: dark;
}

.asof input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.asof-hint { color: var(--graphite); }

.asof-note {
  text-transform: none;
  letter-spacing: .04em;
  color: var(--cream);
}

.privacy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--taupe);
  margin: 0 0 10px;
}

.error {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--confirmed);
  border-left: 2px solid var(--confirmed);
  padding: 6px 0 6px 14px;
  margin: 14px 0 0;
}

/* ----------------------------------------------------------- rule of light */

.rule {
  position: relative;
  height: 1px;
  background: var(--border);
  margin: 40px 0 0;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.rule.is-visible { opacity: 1; }

.rule-point {
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px 4px rgba(200, 130, 26, .55);
  transform: translateX(-50%);
  transition: left 1.5s var(--ease);
}

.rule.is-done .rule-point { left: 100%; }

/* ------------------------------------------------------------------ stats */

.results { margin-top: 40px; }

.results.is-reading .mini-stats,
.results.is-reading .statusline,
.results.is-reading .notdue,
.results.is-reading .filterbar,
.results.is-reading .table-wrap,
.results.is-reading .phone-list,
.results.is-reading .caption,
.results.is-reading #download,
.results.is-reading .ask {
  display: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--soot);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 26px 30px 22px;
}

.stat-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 6vw, 76px);
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat-number-light { color: var(--amber-light); }

.stat-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  margin-top: 12px;
}

.stat-line,
.mini-line {
  position: relative;
  height: 2px;
  background: #332C22;
  margin-top: 15px;
  border-radius: 2px;
  overflow: hidden;
}

.stat-line span,
.mini-line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--amber);
  box-shadow: 0 0 8px 1px rgba(200, 130, 26, .5);
  border-radius: 2px;
}

/* ------------------------------------------------------------- mini stats */

.mini-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  background: var(--soot);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px 18px 14px;
}

.mini-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: lining-nums tabular-nums;
}

.mini-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 9px;
}

.mini-line {
  height: 1px;
  margin-top: 11px;
}

.mini-caveat {
  font-size: 12px;
  line-height: 1.4;
  color: var(--graphite);
  margin: 9px 0 0;
}

/* ------------------------------------------------------------ status + filter */

.statusline {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 38px 0 14px;
}

.statusline #potential-count,
.statusline .is-live {
  color: var(--amber);
}

.dot-sep { color: var(--graphite); padding: 0 4px; }

.notdue {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--taupe);
  margin: -6px 0 16px;
}

.filterbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.filter-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-right: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 7px 10px;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}

.chip:hover { color: var(--paper); border-color: #4A4035; background: var(--raised); }
.chip:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.chip.is-on {
  color: var(--amber);
  border-color: #6A5126;
  background: rgba(200, 130, 26, .07);
}

.chip-n { color: var(--graphite); margin-left: 6px; }
.chip.is-on .chip-n { color: var(--amber-light); }

.chip-toggle { margin-left: auto; }

.kind-select {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cream);
  background: var(--soot);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 7px 30px 7px 10px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--taupe) 50%),
    linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.kind-select:hover { border-color: #4A4035; }
.kind-select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ------------------------------------------------------------------ table */

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  background: var(--soot);
}

.findings {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.findings th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.findings td {
  padding: 15px 18px;
  border-top: 1px solid var(--border-soft);
  vertical-align: top;
  color: var(--cream);
  font-size: 15px;
}

.findings tbody tr:first-child td { border-top: 0; }

.finding-row {
  cursor: pointer;
  outline: none;
  animation: row-in .42s var(--ease) both;
  transition: background .16s var(--ease);
}

.finding-row:hover,
.finding-row:focus-within {
  background: var(--raised);
}

.finding-row:focus-within {
  box-shadow: inset 3px 0 0 var(--amber);
}

.f-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.f-open:focus { outline: none; }

@keyframes row-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.f-session {
  display: block;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
}

.f-id {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--graphite);
  margin-top: 3px;
}

.f-mono {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--taupe);
  white-space: nowrap;
}

.f-kind {
  display: block;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.4;
}

.f-detail {
  display: block;
  font-size: 13px;
  color: var(--taupe);
  margin-top: 3px;
}

.f-owner {
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}

.f-status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--amber);
  white-space: nowrap;
}

.f-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px 2px rgba(200, 130, 26, .5);
  margin-right: 8px;
  vertical-align: 1px;
}

.group-row td {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  background: #191510;
  padding: 11px 18px;
  border-top: 1px solid var(--border);
}

.group-row .group-n { color: var(--graphite); margin-left: 8px; }

.empty-row td {
  color: var(--taupe);
  font-family: var(--mono);
  font-size: 13px;
  padding: 24px 18px;
}

/* ------------------------------------------------------------- phone list */

.phone-list { display: none; }

.finding-card {
  background: var(--soot);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 17px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  animation: row-in .42s var(--ease) both;
  outline: none;
}

.finding-card:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.finding-card .card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.finding-card .card-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--taupe);
  margin: 4px 0 12px;
}

.finding-card .card-kind {
  font-weight: 600;
  color: var(--paper);
  font-size: 15px;
}

.finding-card .card-detail {
  font-size: 13px;
  color: var(--taupe);
  margin-top: 2px;
}

.finding-card .card-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
}

.card-group {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 18px 0 9px;
}
.card-group:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- tail */

.caption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--graphite);
  margin: 16px 0 34px;
  letter-spacing: .02em;
}

.ask {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 29px;
  line-height: 1.3;
  color: var(--paper);
  margin: 42px 0 54px;
  max-width: 720px;
}

.tell {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.signature {
  max-width: 430px;
  background: var(--soot);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px 24px 22px;
  margin-top: 20px;
}

.signature .eyebrow { margin: 0 0 6px; }

.signature-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.2;
  color: var(--paper);
  margin: 0 0 8px;
}

.signature-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--cream);
  margin: 0;
}

/* ----------------------------------------------------------------- detail */

.detail {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 5, .72);
  opacity: 0;
  transition: opacity .24s var(--ease);
}

.detail-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--soot);
  border: 1px solid #3A3226;
  border-radius: 6px;
  padding: 34px 36px 36px;
  transform: scale(.96) translateY(10px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .24s var(--ease);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.detail.open .detail-backdrop { opacity: 1; }
.detail.open .detail-panel { transform: scale(1) translateY(0); opacity: 1; }

.detail-panel .eyebrow { margin: 0 0 12px; }

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--taupe);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.detail-close:hover { color: var(--paper); background: var(--raised); }
.detail-close:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.detail-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  color: var(--paper);
  margin: 0 0 8px;
  padding-right: 44px;
}

.detail-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--taupe);
  margin: 0 0 20px;
}

.detail-finding {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream);
  border-left: 2px solid var(--amber);
  padding: 4px 0 4px 15px;
  margin: 0 0 26px;
}

.detail-finding strong { color: var(--paper); }

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-card {
  background: #191510;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 18px 20px 20px;
}

.detail-card h3 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}

.detail-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 18px;
}

.detail-card dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  white-space: nowrap;
}

.detail-card dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--cream);
  word-break: break-word;
}

.schedule-row + .schedule-row {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 16px;
}

.schedule-row .row-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}

.no-row {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--taupe);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .mini-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .shell { padding: 0 20px 56px; }
  .topbar { padding: 24px 20px 0; }

  .eyebrow { margin-top: 52px; }
  .display { font-size: clamp(42px, 12vw, 56px); }
  .strap { font-size: 18px; }
  .workswith { margin-bottom: 34px; }

  .drops { grid-template-columns: 1fr; gap: 12px; }
  .drop { min-height: 0; }
  .drop-face { min-height: 0; padding: 18px 20px; }
  .drop-title { font-size: 16.5px; }

  .actions { gap: 18px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 20px 22px 18px; }
  .stat-number { font-size: 56px; }

  .mini-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mini-card:last-child { grid-column: span 2; }
  .mini-number { font-size: 32px; }

  .statusline { margin-top: 30px; }
  .chip-toggle { margin-left: 0; }
  .kind-select { max-width: 100%; }

  .table-wrap { display: none; }
  .phone-list { display: block; }

  .ask { font-size: 24px; margin: 34px 0 40px; }
  .signature { max-width: none; }

  .detail { padding: 0; align-items: flex-end; }
  .detail-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
    padding: 28px 20px 30px;
    transform: translateY(26px) scale(.99);
  }
  .detail.open .detail-panel { transform: translateY(0) scale(1); }
  .detail-title { font-size: 30px; }
  .detail-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .rule-point { transition: none; }
}

/* --------------------------------------------------------------------------
   Embed mode (?embed=1): the run-it-here view inside the Bradawl page.
   The surrounding page supplies the lock-up, so the tool's own top bar goes;
   the invented week is already loaded and checked beneath the bar.
   -------------------------------------------------------------------------- */
.embed-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border);
}
.embed-note {
  margin: 0;
  max-width: 58ch;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.5;
}
.embed-tag {
  margin-right: 8px;
  color: var(--amber-light);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
}
.embed-bar .btn { padding: 12px 20px; font-size: 15px; }
body.is-embed .topbar { display: none; }
body.is-embed .embed-bar { display: flex; }
@media (max-width: 640px) {
  .embed-bar { align-items: flex-start; }
  .embed-bar .btn { width: 100%; }
}

/* In the embed the example's result comes first: the host card already names
   the tool, so the tool's own display heading goes and the findings sit under
   the bar. The inputs stay below for anyone replacing the example. */
body.is-embed .shell { display: flex; flex-direction: column; }
body.is-embed .embed-bar { order: -3; }
body.is-embed .results { order: -1; }
body.is-embed .shell > .eyebrow,
body.is-embed .shell > .display,
body.is-embed .shell > .strap,
body.is-embed .shell > .workswith { display: none; }
