  :root {
    --bg: #FFE45C;
    --ink: #1B2CC1;
    --paper: #FFFFFF;
    --pink: #FF8FB1;
    --soft: #FFF3A8;
    --muted: #3B4AD0;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #10186B; --ink: #FFE45C; --paper: #1B2590; --pink: #FF8FB1; --soft: #18228A; --muted: #FFF3A8;
    }
  }
  :root[data-theme="dark"] {
    --bg: #10186B; --ink: #FFE45C; --paper: #1B2590; --pink: #FF8FB1; --soft: #18228A; --muted: #FFF3A8;
  }
  *, *::before, *::after { box-sizing: inherit; }
  html { scroll-padding-top: env(safe-area-inset-top, 0px); }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  main { max-width: 60rem; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }

  .notice {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--ink); color: var(--bg);
    padding: .45rem .9rem; border-radius: 999px;
    font-weight: 600; font-size: .95rem;
  }
  .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--pink); animation: blink 1.6s steps(2) infinite; }
  @keyframes blink { 50% { opacity: .2; } }

  h1 {
    font-weight: 800;
    font-size: clamp(2.6rem, 9vw, 6.2rem);
    line-height: .95;
    letter-spacing: -.03em;
    margin: 1.25rem 0 1rem;
    max-width: 14ch;
  }
  .when { font-size: clamp(1.1rem, 2.6vw, 1.4rem); max-width: 40ch; margin: 0; }
  .when strong { font-weight: 800; }

  /* The one bold thing: the clock */
  .clock {
    margin: 2.5rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 4px solid var(--ink);
    border-radius: 1.5rem;
    background: var(--paper);
    box-shadow: 10px 10px 0 var(--ink);
    overflow: hidden;
  }
  .unit { padding: 1.4rem .5rem 1.1rem; text-align: center; }
  .unit + .unit { border-left: 4px solid var(--ink); }
  .num {
    display: block;
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 5.5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
  }
  .lab { display: block; margin-top: .4rem; font-weight: 600; font-size: clamp(.8rem, 2vw, 1rem); color: var(--muted); }
  .unit.sec .num { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
  @media (max-width: 560px) {
    .clock { grid-template-columns: repeat(3, 1fr); }
    .unit + .unit { border-left: 0; }
    .unit:nth-child(n+4) { border-top: 4px solid var(--ink); }
    .unit:nth-child(2), .unit:nth-child(3), .unit:nth-child(5) { border-left: 4px solid var(--ink); }
    .unit:nth-child(4) { grid-column: span 1; }
    .unit:nth-child(5) { grid-column: span 2; }
  }
  .tz { font-size: .95rem; color: var(--muted); margin: 1.1rem 0 0; }

  .progress { margin: 3rem 0 0; }
  .progress h2, .notes h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; }
  .bar { height: 2.2rem; border: 4px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; }
  .fill { height: 100%; background: repeating-linear-gradient(-45deg, var(--pink) 0 14px, var(--ink) 14px 28px); width: 0; transition: width 1.2s ease; }
  .progress p { margin: .6rem 0 0; }

  .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.5rem 0 0; }
  button {
    font: inherit; font-weight: 800; font-size: 1.05rem;
    padding: .9rem 1.4rem; border-radius: 999px; cursor: pointer;
    border: 4px solid var(--ink);
    background: var(--ink); color: var(--bg);
    box-shadow: 5px 5px 0 var(--pink);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  button.ghost { background: var(--paper); color: var(--ink); }
  button:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--pink); }
  button:focus-visible { outline: 4px dashed var(--pink); outline-offset: 4px; }
  button[disabled] { cursor: default; opacity: .85; }
  .toast { min-height: 1.6em; margin: 1rem 0 0; font-weight: 600; }

  .notes {
    margin: 3.5rem 0 0;
    background: var(--soft);
    border: 4px solid var(--ink);
    border-radius: 1.5rem;
    padding: 1.6rem 1.4rem;
  }
  .notes ul { margin: .6rem 0 0; padding-left: 1.2rem; max-width: 60ch; }
  .notes li { margin: .55rem 0; }
  .notes li::marker { color: var(--pink); content: "✱  "; }

  .faq { margin: 3rem 0 0; max-width: 62ch; }
  details { border-bottom: 3px solid var(--ink); padding: .9rem 0; }
  summary { font-weight: 800; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
  details[open] summary::after { transform: rotate(45deg); }
  summary:focus-visible { outline: 3px dashed var(--pink); outline-offset: 3px; }
  details p { margin: .6rem 0 0; }

  .ast { color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; font-weight: 800; font-size: 1.6em; line-height: 0; text-decoration: none; vertical-align: -0.1em; margin-left: .05em; }
  .ast:focus-visible { outline: 3px dashed var(--pink); outline-offset: 3px; }

  .partner-doom {
    margin: 2.5rem 0 0;
    border: 4px solid var(--ink);
    border-radius: 1.5rem;
    background: var(--pink);
    color: #1B2CC1;
    padding: 1.4rem 1.4rem 1.2rem;
    transform: rotate(-1deg);
  }
  .partner-doom p { margin: 0; }
  .partner-kicker { font-weight: 600; }
  .partner-name-xl { font-weight: 800; font-size: clamp(1.8rem, 5.5vw, 3rem); line-height: 1.05; letter-spacing: -.02em; margin: .2rem 0 .4rem !important; }
  .partner-line { max-width: 55ch; }
  .partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.1rem; }
  .partner-doom .btn { background: #1B2CC1; color: #FFE45C; box-shadow: 5px 5px 0 #FFFFFF; }
  .partner-price { font-size: .95rem; max-width: 34ch; }
  @media (prefers-reduced-motion: reduce) { .partner-doom { transform: none; } }

  .share { margin: 3.5rem 0 0; }
  .share h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .4rem; }
  .share > p { margin: 0; }
  .share-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
  .sh {
    display: inline-block; text-decoration: none; cursor: pointer;
    font: inherit; font-weight: 800; font-size: .98rem;
    padding: .6rem 1.05rem; border-radius: 999px;
    border: 3px solid var(--ink); background: var(--paper); color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .sh:active { transform: translate(3px, 3px); box-shadow: none; }
  .sh:focus-visible { outline: 3px dashed var(--pink); outline-offset: 3px; }
  .native-share, .copy-link { background: var(--ink); color: var(--bg); box-shadow: 3px 3px 0 var(--pink); }
  .share-row button[hidden] { display: none; }

  .shop { margin: 3.5rem 0 0; }
  .shop h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .4rem; }
  .shop > p { margin: 0; max-width: 55ch; }
  .shop .actions { margin-top: 1.4rem; }
  .btn {
    display: inline-block; text-decoration: none;
    font-weight: 800; font-size: 1.05rem;
    padding: .9rem 1.4rem; border-radius: 999px;
    border: 4px solid var(--ink);
    background: var(--pink); color: #1B2CC1;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn.ghost { background: var(--paper); color: var(--ink); }
  .btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
  .btn:focus-visible { outline: 4px dashed var(--pink); outline-offset: 4px; }
  .merch { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1.6rem 0 0; }
  .item { border: 3px dashed var(--ink); border-radius: 1rem; padding: 1rem 1.1rem; }
  .item strong { display: block; font-size: 1.05rem; }
  .item span { display: block; margin-top: .25rem; color: var(--muted); }

  .fineprint { margin: 3rem 0 0; font-size: .85rem; line-height: 1.5; max-width: 62ch; color: var(--muted); }

  footer { margin: 3.5rem 0 0; font-size: .95rem; color: var(--muted); max-width: 55ch; }

  .done h1 { color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }

  @media (prefers-reduced-motion: reduce) {
    .dot { animation: none; }
    .fill, button, summary::after { transition: none; }
  }

/* ---- Job finder ---- */
.finder { margin: 3rem 0 0; }
.finder h2, .most h2, .funders h2, .related h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; }
.finder form { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.finder input {
  flex: 1 1 16rem; min-width: 0; font: inherit; font-weight: 600; font-size: 1.15rem;
  padding: .85rem 1.1rem; border: 4px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink);
}
.finder input:focus-visible { outline: 4px dashed var(--pink); outline-offset: 3px; }
.related a { color: inherit; }
.related ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---- Partner slots (never "ad"/"banner" names) ---- */
.partner-tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.partner-link { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.partner-media { width: auto; border-radius: .4rem; }
.partner-swatch { display: inline-block; width: var(--swatch); height: var(--swatch); border-radius: .4rem; border: 2px solid var(--ink); }
.partner-copy { display: flex; flex-direction: column; }
.partner-name { font-weight: 800; }
.partner-go { margin-left: auto; font-weight: 800; text-decoration: underline; }
.funders { margin: 3.5rem 0 0; }
.funders-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .8rem; margin-top: 1rem; }
.partner-funder { border: 3px solid var(--ink); border-radius: 1rem; padding: .8rem 1rem; background: var(--paper); }
.partner-funder.is-open { border-style: dashed; background: transparent; }
.partner-job { margin: 2rem 0 0; border: 4px solid var(--ink); border-radius: 1.2rem; padding: 1rem 1.2rem; background: var(--soft); }
.partner-job.is-open { border-style: dashed; }

/* ---- Job page ---- */
.job-title { color: var(--ink); }
.job-replaced { font-weight: 600; margin: .6rem 0 0; }
.verdict { display: inline-block; margin-top: .4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--pink); color: #1B2CC1; font-weight: 800; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; }
.partner-doom a:not(.btn) { color: #1B2CC1; }
.partner-funder .partner-link { flex-wrap: wrap; }
.partner-funder .partner-go { margin-left: 0; }
.merch + p { margin-top: 1rem; }
.related { margin: 3rem 0 0; }

.sp-fields { display: grid; gap: 1rem; max-width: 34rem; margin-top: 1.4rem; }
.sp-fields label { display: grid; gap: .35rem; font-weight: 600; }
.sp-fields input:not([type=color]) { font: inherit; padding: .7rem .9rem; border: 3px solid var(--ink); border-radius: .8rem; background: var(--paper); color: var(--ink); }
.sp-fields .hp { position: absolute; left: -9999px; }
.form-errors { background: var(--pink); color: #1B2CC1; border: 3px solid var(--ink); border-radius: 1rem; padding: .8rem 1.6rem; font-weight: 600; }
.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .5rem; margin-top: 1rem; }
.cal a, .cal span { display: block; border: 3px solid var(--ink); border-radius: .8rem; padding: .5rem .6rem; text-decoration: none; color: var(--ink); background: var(--paper); font-weight: 600; font-size: .95rem; }
.cal .held { opacity: .45; text-decoration: line-through; background: transparent; }
.cal .adv { border-style: dashed; }
.cal strong { display: block; font-size: 1.1rem; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.tier { border: 4px solid var(--ink); border-radius: 1.2rem; padding: 1.2rem; background: var(--paper); }
.proof { margin-top: 1.4rem; font-weight: 600; }
.tier form { display: flex; gap: .5rem; align-items: center; }
.tier input { flex: 1; min-width: 0; font: inherit; padding: .6rem .9rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); }

/* ---- /ops (ported from aistatus; aliases map its tokens to this palette) ---- */
.ops, .ops-login {
  --fg: var(--ink); --fg-dim: var(--muted); --fg-faint: var(--muted);
  --panel: var(--paper); --hairline: var(--ink); --slate: var(--muted);
  --green: #1a8f4a; --amber: #b86e00; --red: #c0262d;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace; --sans: inherit;
  --fs-body: 1rem; --fs-sm: .9rem; --fs-xs: .8rem; --fs-h2: 1.4rem; --fs-h3: 1.1rem;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ops button, .ops-btn { font-size: .9rem; padding: .45rem .9rem; box-shadow: 3px 3px 0 var(--pink); }
.ops { max-width: 56rem; padding-block: 28px 72px; }
.ops-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-bottom: 28px; }
.ops-head h1 { font-size: var(--fs-h2); margin: 0; letter-spacing: -0.01em; }
.ops-summary { margin: 0; display: flex; gap: 16px; font-size: var(--fs-xs); }
.ops-summary a { color: var(--fg-dim); }
.ops-summary a:hover { color: var(--fg); text-decoration: none; }
.ops-summary strong { color: var(--fg); font-weight: 500; }
.ops-summary a.is-hot strong { color: var(--red); }
.ops-notice {
  margin: 0 0 22px; padding: 9px 13px;
  border: 1px solid var(--amber); border-left-width: 3px; border-radius: 2px;
  background: color-mix(in srgb, var(--amber) 9%, transparent);
  font-size: var(--fs-xs); color: var(--fg);
}
.ops-h2 {
  margin: 0 0 12px; font: 500 var(--fs-sm)/1 var(--sans); color: var(--fg-dim);
  display: flex; align-items: center; gap: 8px;
}
.ops-count {
  font: 500 var(--fs-xs)/1 var(--mono); color: var(--fg-dim);
  padding: 3px 6px; border: 1px solid var(--hairline); border-radius: 999px;
}
.ops-empty { margin: 0; font-size: var(--fs-sm); color: var(--fg-faint); }
.ops-list { display: flex; flex-direction: column; gap: 10px; }
.ops-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 14px 16px 14px 13px;
  background: var(--panel); border: 1px solid var(--hairline);
  border-left: 3px solid var(--state, var(--hairline)); border-radius: 2px;
}
.ops-pending { --state: var(--amber); }
.ops-active  { --state: var(--green); }
.ops-refund  { --state: var(--red); }
.ops-mark { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ops-mark img,
.ops-mark .partner-swatch { width: 40px; height: 40px; border-radius: 6px; }
.ops-mark img { object-fit: contain; background: #fff; border: 1px solid var(--hairline); padding: 3px; }
.ops-recolor { display: flex; gap: 5px; align-items: center; }
.ops-recolor input[type="color"] {
  width: 40px; height: 24px; padding: 2px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 2px;
}
.ops-co { margin: 0 0 3px; font-size: var(--fs-body); }
.ops-co strong { font-weight: 600; }
.ops-url { margin: 0 0 8px; font-size: var(--fs-xs); }
.ops-url a { color: var(--fg-dim); word-break: break-all; }
.ops-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-xs); color: var(--fg-faint); }
.ops-meta .ops-num { color: var(--fg-dim); }
.ops-meta .ops-pi code { color: var(--fg-faint); }
.ops-note {
  margin: 9px 0 0; padding: 7px 10px; font-size: var(--fs-xs); color: var(--fg);
  border-left: 2px solid var(--red); background: color-mix(in srgb, var(--red) 7%, transparent);
}
.ops-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.ops-btn {
  cursor: pointer; font: 400 14px/1 var(--mono); padding: 7px 12px; white-space: nowrap;
  border: 1px solid var(--hairline); background: transparent; color: var(--fg-dim); border-radius: 2px;
  transition: color 120ms ease-out, border-color 120ms ease-out, background 120ms ease-out;
}
.ops-btn:hover { color: var(--fg); border-color: var(--fg-faint); }
.ops-btn-sm { padding: 4px 7px; font-size: var(--fs-xs); }
.ops-primary { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.ops-primary:hover { background: transparent; color: var(--fg); }
.ops-danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, var(--hairline)); }
.ops-danger:hover { color: var(--red); border-color: var(--red); }
.ops-traffic {
  margin-bottom: 32px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 2px;
}
.ops-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 20px; margin: 14px 0 0;
}
.ops-stats-grid > div { display: flex; flex-direction: column; gap: 3px; }
.ops-stat-label { font-size: var(--fs-xs); color: var(--fg-faint); }
.ops-stat-val { font-size: var(--fs-h3); color: var(--fg); font-weight: 500; }
.ops-h3 {
  margin: 34px 0 0; padding-bottom: 7px; border-bottom: 1px solid var(--hairline);
  font: 500 var(--fs-body)/1.25 var(--sans); color: var(--fg);
  display: flex; align-items: baseline; gap: 8px;
}
.ops-h3--first { margin-top: 24px; }
.ops-h3 + .ops-hint { margin-top: 8px; }
.ops-row-total td { border-bottom: 0; border-top: 1px solid var(--fg-faint); color: var(--fg); font-weight: 500; }
.ops-pagetable { width: 100%; margin: 10px 0 0; border-collapse: collapse; font-size: var(--fs-xs); }
.ops-pagetable th { text-align: left; font-weight: 400; color: var(--fg-faint); padding: 0 10px 6px 0; border-bottom: 1px solid var(--hairline); }
.ops-pagetable td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--hairline); color: var(--fg-dim); }
.ops-pagetable td:first-child, .ops-pagetable th:first-child { color: var(--fg); }
.ops-pagetable .ops-num { text-align: right; }
.ops-pagetable a { color: var(--fg); }
.ops-lead-email { color: var(--fg-faint); font-size: var(--fs-xs); }
.ops-chart { margin: 18px 0 0; position: relative; }
.ops-chart-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: var(--fs-xs); color: var(--fg-faint); margin-bottom: 7px;
}
.ops-chart-head strong { color: var(--fg-dim); font-weight: 500; }
.ops-chart-peak { margin-left: auto; }
.ops-chart .c-key {
  display: inline-block; width: 9px; height: 9px; border-radius: 1px;
  margin-right: 6px; background: var(--slate);
}
.ops-chart .c-key-v { opacity: 0.5; }
.ops-chart svg {
  width: 100%; height: 132px; display: block;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 2px;
}
.ops-chart .c-v { fill: var(--slate); opacity: 0.5; }
.ops-chart .c-u { fill: var(--slate); }
.ops-chart .c-hit { fill: #fff; fill-opacity: 0; pointer-events: all; cursor: crosshair; }
.ops-chart .c-hit:hover, .ops-chart .c-hit:focus-visible { fill: var(--fg); fill-opacity: 0.07; outline: none; }
.ops-chart-tip {
  position: absolute; z-index: 5; transform: translateX(-50%);
  pointer-events: none; white-space: nowrap;
  background: var(--fg); color: var(--bg);
  font: 400 var(--fs-xs)/1.35 var(--mono);
  padding: 4px 8px; border-radius: 2px;
}
.ops-chart-axis {
  display: flex; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--fg-faint); margin-top: 4px;
}
.ops-switch { margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ops-switch label { display: flex; align-items: center; gap: 9px; font-size: var(--fs-xs); color: var(--fg-dim); cursor: pointer; }
.ops-switch input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--fg); cursor: pointer; }
.ops-hint { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--fg-faint); max-width: 62ch; }
.ops-logout { margin-left: auto; }
.ops-login { max-width: 19rem; padding-block: 14vh 72px; }
.ops-login-form { display: flex; flex-direction: column; gap: 13px; }
.ops-login-form h1 { font-size: var(--fs-h3); margin: 0 0 2px; letter-spacing: -0.01em; }
.ops-login-form label { display: flex; flex-direction: column; gap: 5px; font-size: var(--fs-xs); color: var(--fg-faint); }
.ops-login-form input {
  padding: 8px 10px; font: inherit; font-size: var(--fs-body); color: var(--fg);
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 6px;
}
.ops-login-form input:focus { outline: none; border-color: var(--fg-faint); }
.ops-login-form button { margin-top: 4px; padding: 8px; }
.ops-login-error { margin: 0; font-size: var(--fs-xs); color: var(--red); }.ops-section { margin-top: 2rem; }

/* ---- Job suggestions ---- */
.suggest-wrap { position: relative; flex: 1 1 16rem; min-width: 0; display: block; }
.suggest-wrap input { width: 100%; }
.tier .suggest-wrap { flex: 1; }
.suggest {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .4rem);
  margin: 0; padding: .35rem; list-style: none;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 1.2rem;
  box-shadow: 6px 6px 0 var(--ink);
}
.suggest [role=option] {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .55rem .8rem; border-radius: .8rem; cursor: pointer; font-weight: 600;
}
.suggest [role=option]:hover, .suggest [aria-selected=true] { background: var(--pink); color: #1B2CC1; }
.suggest-via { font-weight: 400; font-size: .85rem; opacity: .75; }

/* ---- Most-checked: departures board ---- */
.most { margin: 3rem 0 0; }
.board-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.board {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border: 4px solid var(--ink); border-radius: 1.5rem; background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
}
.board li + li { border-top: 3px solid var(--ink); }
/* More than five: two columns, filled top-to-bottom like a departures board. */
.board--split { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.board--split li:nth-child(6) { border-top: 0; }
.board--split li:nth-child(n+6) { border-left: 3px solid var(--ink); }
.board-row {
  display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .8rem;
  padding: .75rem 1.1rem; color: var(--ink); text-decoration: none;
}
.board-row:hover, .board-row:focus-visible { background: var(--soft); outline: none; }
.board-rank {
  font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill;
}
.board-job { font-weight: 800; font-size: 1.05rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-status {
  font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap;
  padding: .2rem .6rem; border: 2px solid var(--ink); border-radius: 999px;
}
.board-status.is-past { background: var(--pink); color: #1B2CC1; }
.board-status.is-never { background: var(--ink); color: var(--bg); }
@media (max-width: 640px) {
  .board--split { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .board--split li:nth-child(6) { border-top: 3px solid var(--ink); }
  .board--split li:nth-child(n+6) { border-left: 0; }
  .board-job { white-space: normal; }
}
