/* Cosign search: a quiet list-and-reader layout. Motion follows cosign.co's own
   vocabulary — an odometer count, a rolodex of example searches, blur-in status
   text — and all of it stops under prefers-reduced-motion. */
cosign-board {
  --co-ease: cubic-bezier(.2, 0, 0, 1);
  --co-out: cubic-bezier(.16, 1, .3, 1);
  display: block; margin: 12px 0;
}
cosign-board[hidden] { display: none; }
/* clip, not hidden: hidden would make this a scroll container and stop the
   selection bar sticking to the bottom of the window. */
.co-page { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); overflow: clip; }
.co-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.co-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
.co-link:hover { color: var(--fg); text-decoration-color: currentColor; }

/* ─── Hero and composer ─── */
.co-hero { padding: 38px 24px 22px; text-align: center;
  background: radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--scan) 7%, transparent), transparent 70%); }
.co-eyebrow { margin: 0 0 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.co-hero h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.co-sub { margin: 10px auto 22px; max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.co-count { display: inline-flex; height: 1.2em; line-height: 1.2; overflow: hidden; vertical-align: bottom; font-variant-numeric: tabular-nums; }
.co-digit { position: relative; display: inline-block; height: 1.2em; overflow: hidden; }
.co-digit-w { visibility: hidden; }
.co-reel { position: absolute; inset: 0 auto auto 0; width: 100%; display: flex; flex-direction: column; align-items: center;
  transform: translateY(var(--to)); animation: co-reel 1.1s var(--co-out) var(--delay) both; }
.co-reel > span { height: 1.2em; flex-shrink: 0; }
@keyframes co-reel { from { transform: translateY(0); } }

/* The search row and the filter rail are separate rows, so a long city label
   widens its pill instead of pushing the Search button onto a line of its own. */
.co-composer { max-width: 860px; margin: 0 auto; border: 1px solid var(--border-2); border-radius: var(--r-lg);
  background: var(--card); text-align: left; box-shadow: var(--shadow-1);
  transition: border-color .15s var(--co-ease), box-shadow .2s var(--co-ease); }
.co-composer:focus-within { border-color: color-mix(in srgb, var(--fg) 55%, var(--border-2)); box-shadow: var(--shadow-2); }
.co-compose-top { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 4px; }
.co-query { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 10px; color: var(--muted); min-height: 42px; min-width: 0; }
.co-term { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 15px; }
.co-term::-webkit-search-cancel-button { filter: grayscale(1); }
.co-example-slot { position: absolute; left: 37px; right: 10px; top: 50%; translate: 0 -50%; pointer-events: none;
  perspective: 12rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--faint); font-size: 15px; line-height: 1.4; }
.co-example { display: inline-block; transform-origin: 50% 100%; }
.co-example.co-flip { animation: co-rolodex .46s var(--co-out); }
@keyframes co-rolodex { from { opacity: 0; filter: blur(2px); transform: translateY(100%) rotateX(-55deg); } }
.co-go { min-width: 96px; height: 38px; border-radius: 9px; font-size: 13px; transition: transform .12s var(--co-ease), filter .15s ease; }
.co-go:active:not(:disabled) { transform: scale(.97); }
.co-refine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px;
  border-top: 1px solid var(--border); border-radius: 0 0 var(--r-lg) var(--r-lg); background: color-mix(in srgb, var(--card-2) 55%, transparent); }
.co-pillsel { position: relative; }
.co-pillsel::after { content: ""; position: absolute; right: 11px; top: 50%; width: 5px; height: 5px; pointer-events: none;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.co-refine select, .co-cities-btn, .co-remote { height: 30px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel);
  color: var(--fg); font: inherit; font-size: 12.5px; transition: border-color .15s var(--co-ease), background .15s var(--co-ease), transform .12s var(--co-ease); }
.co-refine select { appearance: none; -webkit-appearance: none; padding: 0 28px 0 12px; cursor: pointer; }
.co-refine select:hover, .co-cities-btn:hover { border-color: var(--border-2); }
.co-pillsel.co-on select, .co-cities-btn.co-on { border-color: color-mix(in srgb, var(--scan) 55%, var(--border)); background: color-mix(in srgb, var(--scan) 8%, var(--panel)); }
.co-remote { padding: 0 12px; color: var(--muted); }
.co-remote[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 600; }
.co-refine :is(select, button):active:not(:disabled) { transform: scale(.97); }
.co-prefs { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.co-prefs b { color: var(--fg); font-weight: 500; }

/* A progress line that creeps but never claims to finish; it leaves on arrival. */
.co-loadbar { height: 2px; background: var(--scan); transform: scaleX(0); transform-origin: 0; opacity: 0; transition: opacity .2s ease .1s; }
cosign-board.co-loading .co-loadbar { opacity: 1; transition: none; animation: co-creep 1.2s ease-out both; }
@keyframes co-creep { from { transform: scaleX(0); } 45% { transform: scaleX(.72); } to { transform: scaleX(.92); } }

/* ─── Workspace: list left, reader right ─── */
.co-workspace { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; border-top: 1px solid var(--border); min-height: 560px; }
.co-list-pane { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--border); min-width: 0; }
.co-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 12px; }
.co-status { color: var(--muted); font-variant-numeric: tabular-nums; }
.co-status.co-error { color: var(--bad); }
.co-swap { animation: co-status .18s var(--co-ease) backwards; }
@keyframes co-status { from { opacity: 0; filter: blur(4px); transform: translateY(-4px); } }
.co-list { list-style: none; margin: 0; padding: 0; max-height: 720px; overflow: auto; scrollbar-gutter: stable; transition: opacity .2s var(--co-ease); }
cosign-board.co-loading .co-list { opacity: .55; }

.co-row { position: relative; display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.co-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--scan); transform: scaleY(0); transition: transform .18s var(--co-ease); }
.co-row[aria-selected="true"] { background: var(--card); }
.co-row[aria-selected="true"]::before { transform: scaleY(1); }
.co-row:hover { background: var(--card); }
.co-row.co-enter { animation: co-rise .3s var(--co-ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes co-rise { from { opacity: 0; filter: blur(2px); transform: translateY(.4rem); } }
.co-dim .co-row-title, .co-dim .co-logo { opacity: .5; }
.co-pick { display: flex; align-items: flex-start; padding: 16px 0 0 14px; cursor: pointer; }
.co-pick input { width: 15px; height: 15px; margin: 0; accent-color: var(--scan); cursor: pointer; }
.co-pick input:disabled { cursor: default; opacity: .35; }
.co-open { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px 13px 11px; border: 0; background: none; text-align: left; font: inherit; }
.co-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.co-row-title { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--fg); }
.co-row-company { font-size: 12.5px; color: var(--fg); opacity: .85; }
.co-row-meta { font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.co-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.co-row-side time { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.co-tag { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.co-tag-on { border-color: color-mix(in srgb, var(--scan) 45%, transparent); color: var(--scan); }

.co-logo { flex-shrink: 0; border-radius: 6px; object-fit: cover; background: var(--card-2); border: 1px solid var(--border); }
.co-logo-text { display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); font-size: calc(var(--s) * .36); font-weight: 600; color: var(--muted); }

.co-more { margin: 14px auto; }
.co-selbar { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; margin-top: auto;
  border-top: 1px solid var(--border-2); background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(8px);
  font-size: 12.5px; animation: co-rise .2s var(--co-ease) both; }
.co-selcount { font-weight: 600; font-variant-numeric: tabular-nums; }
.co-selrow { display: flex; align-items: center; gap: 10px; }
.co-selrow .co-selcount { white-space: nowrap; }
.co-selrow .btn { padding: 7px 11px; }
.co-selrow .co-spacer { min-width: 0; }
.co-selnote { margin: 0; color: var(--faint); font-size: 11.5px; line-height: 1.45; }
.co-all { display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; cursor: pointer; font-size: 12px; color: var(--fg); font-variant-numeric: tabular-nums; }
.co-all input { width: 15px; height: 15px; margin: 0; accent-color: var(--scan); cursor: pointer; }
.co-list-head .co-status { margin-right: auto; }
.co-spacer { flex: 1; }

.co-detail { min-width: 0; max-height: 780px; overflow: auto; }
.co-empty-detail { display: grid; place-items: center; height: 100%; min-height: 300px; color: var(--faint); font-size: 13px; padding: 24px; text-align: center; }
.co-detail-body { padding: 30px 40px 40px; max-width: 760px; animation: co-reveal .18s var(--co-ease) backwards; }
@keyframes co-reveal { from { opacity: 0; } }
.co-back { display: none; margin-bottom: 16px; }
.co-detail-org { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; }
.co-detail-org small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.co-detail h3 { margin: 20px 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.co-detail-meta { margin: 0; color: var(--muted); font-size: 12.5px; }
.co-detail-pay { margin: 6px 0 0; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-note { margin: 14px 0 0; padding: 9px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--run) 10%, transparent); color: var(--fg); font-size: 12.5px; }
.co-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.co-detail-actions .btn { padding: 9px 16px; }
.co-hint { margin: 10px 0 0; color: var(--faint); font-size: 11.5px; }
.co-detail hr { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }
.co-desc { white-space: pre-line; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.7; color: var(--fg); opacity: .92; }
.co-desc.co-collapsed { position: relative; max-height: 18rem; overflow: clip; }
.co-desc.co-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 4rem; pointer-events: none;
  background: linear-gradient(transparent, var(--panel)); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(#0000, #000); mask-image: linear-gradient(#0000, #000); }
.co-expand { margin-top: 12px; }

/* ─── City picker ─── */
.co-cities { position: relative; }
.co-cities-btn { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; padding: 0 11px; cursor: pointer; }
.co-cities-btn:hover { border-color: var(--border-2); }
.co-cities-btn svg { flex-shrink: 0; color: var(--muted); }
.co-cities-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.co-cities-btn[aria-expanded="true"] svg:last-child { rotate: 180deg; }
.co-cities-btn svg:last-child { transition: rotate .18s var(--co-ease); }
.co-cities-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(300px, calc(100vw - 48px));
  display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: var(--panel-solid); box-shadow: var(--shadow-2); transform-origin: 0 0; animation: co-pop .16s var(--co-ease) both; }
@keyframes co-pop { from { opacity: 0; transform: scale(.97) translateY(-4px); } }
.co-scope { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; border-radius: var(--r-sm); background: var(--card-2); }
.co-scope button { height: 28px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 500;
  transition: background .15s var(--co-ease), color .15s var(--co-ease); }
.co-scope button[aria-checked="true"] { background: var(--panel); color: var(--fg); box-shadow: var(--shadow-1); font-weight: 600; }
.co-preferred { align-self: flex-start; text-align: left; }
.co-cities-filter { height: 32px; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0 9px; background: var(--card); color: var(--fg); font: inherit; font-size: 12.5px; outline: 0; }
.co-cities-filter:focus { border-color: var(--fg); }
.co-cities-note { margin: 0; color: var(--faint); font-size: 11.5px; }
.co-cities-list { max-height: 232px; overflow: auto; margin: 0 -4px; }
.co-city-opt { display: flex; align-items: center; gap: 8px; padding: 6px 6px; border-radius: 5px; font-size: 13px; cursor: pointer; }
.co-city-opt:hover { background: var(--card-2); }
.co-city-opt.co-on { font-weight: 600; }
.co-city-opt input { width: 15px; height: 15px; margin: 0; accent-color: var(--scan); }
.co-city-opt:has(input:disabled) { opacity: .45; cursor: default; }
.co-cities-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); }
.co-cities-foot .co-link[hidden] + .btn { margin-left: auto; }

/* ─── Search motion: the button, per-city pills, placeholder rows ─── */
.co-go { display: inline-grid; place-items: center; }
.co-go > * { grid-area: 1 / 1; }
.co-go-text { transition: opacity .12s var(--co-ease), filter .12s var(--co-ease); }
.co-go[data-state="busy"] .co-go-text, .co-go[data-state="done"] .co-go-text { opacity: 0; filter: blur(3px); }
.co-go-icon { display: inline-flex; }
.co-spinner { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1.6px solid currentColor; border-right-color: transparent;
  animation: co-turn .7s linear infinite; }
@keyframes co-turn { to { transform: rotate(1turn); } }
.co-check { width: 15px; height: 15px; animation: co-morph .24s var(--co-ease) backwards; }
.co-check path { stroke-dasharray: 24; animation: co-draw .22s ease-out .04s both; }
@keyframes co-morph { from { opacity: 0; transform: scale(.7); } }
@keyframes co-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

.co-list-head { flex-wrap: wrap; }
.co-progress { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.co-progress:empty, .co-progress[hidden] { display: none; }
.co-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); font-size: 11.5px; animation: co-status .18s var(--co-ease) backwards;
  transition: border-color .2s var(--co-ease), color .2s var(--co-ease); }
.co-pill b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--fg); display: inline-block; }
.co-pill b:empty { display: none; }
.co-pill-icon { display: inline-flex; width: 13px; justify-content: center; }
.co-pill .co-spinner { width: 10px; height: 10px; border-width: 1.4px; }
.co-pill .co-check { width: 12px; height: 12px; }
.co-pill[data-state="done"] { color: var(--fg); border-color: color-mix(in srgb, var(--scan) 40%, var(--border)); }
.co-pill[data-state="done"] .co-pill-icon { color: var(--scan); }
.co-pill[data-state="fail"] { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--border)); }
.co-x { font-size: 10px; animation: co-morph .2s var(--co-ease) backwards; }
.co-tick { animation: co-tick .22s var(--co-ease) backwards; }
@keyframes co-tick { from { opacity: 0; transform: translateY(70%); } }

.co-skel { display: flex; gap: 11px; padding: 15px 16px 15px 43px; border-bottom: 1px solid var(--border);
  animation: co-rise .3s var(--co-ease) both; animation-delay: calc(var(--i) * 40ms); }
.co-skel-box { width: 34px; height: 34px; border-radius: 6px; flex-shrink: 0; }
.co-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; padding-top: 2px; }
.co-skel-lines i { display: block; height: 9px; border-radius: 4px; }
.co-skel-lines i:nth-child(1) { width: 78%; } .co-skel-lines i:nth-child(2) { width: 42%; } .co-skel-lines i:nth-child(3) { width: 58%; }
.co-skel-box, .co-skel-lines i {
  background: linear-gradient(90deg, var(--card-2) 0%, color-mix(in srgb, var(--card-2) 40%, var(--border-2)) 50%, var(--card-2) 100%);
  background-size: 300% 100%; animation: co-shimmer 1.3s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes co-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ─── Applications pane ─── */
.co-pane-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 4px; padding: 10px 40px 0; background: var(--panel); border-bottom: 1px solid var(--border); }
.co-pane-tabs button { position: relative; padding: 8px 12px 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 500; }
.co-pane-tabs button:disabled { opacity: .4; }
.co-pane-tabs button[aria-selected="true"] { color: var(--fg); font-weight: 600; }
.co-pane-tabs button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--scan);
  transform: scaleX(0); transition: transform .22s var(--co-out); }
.co-pane-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.co-pane-tabs b { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--card-2); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-apps h3 { margin-top: 4px; }
.co-apps-summary { margin: 0 0 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.co-meter { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: var(--card-2); }
.co-meter i { display: block; height: 100%; width: 0; transition: width .6s var(--co-out); }
.co-meter [data-k="applied"] { background: var(--scan); }
.co-meter [data-k="active"] { background: color-mix(in srgb, var(--info) 70%, transparent);
  background-image: linear-gradient(90deg, transparent, color-mix(in srgb, #fff 35%, transparent), transparent);
  background-size: 200% 100%; animation: co-shimmer 1.4s linear infinite; }
.co-meter [data-k="attention"] { background: var(--run); }
.co-meter [data-k="skipped"] { background: var(--border-2); }
.co-app-list { list-style: none; margin: 18px 0 0; padding: 0; }
.co-app { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border);
  animation: co-rise .3s var(--co-ease) both; animation-delay: calc(var(--i) * 30ms); }
.co-app[data-id]:not([data-id=""]) { cursor: pointer; }
.co-app:hover { background: var(--card); }
.co-app-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--info); }
.co-app-icon .co-check { width: 16px; height: 16px; }
.co-app[data-phase="applied"] .co-app-icon { color: var(--scan); }
.co-app[data-phase="attention"] .co-app-icon { color: var(--run); }
.co-app[data-status="skipped"] .co-app-icon { color: var(--faint); }
.co-dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--faint); }
.co-mark { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid currentColor;
  font-size: 11px; font-weight: 700; animation: co-morph .2s var(--co-ease) backwards; }
.co-app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.co-app-title { font-size: 13.5px; font-weight: 500; }
.co-app-co { font-size: 12px; color: var(--muted); }
.co-app-detail { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--fg); opacity: .85; }
.co-app[data-status="skipped"] .co-app-detail { color: var(--muted); }
.co-answer { margin-left: 4px; color: var(--run); text-decoration-color: currentColor; }
.co-app-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.co-app-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.co-app[data-phase="applied"] .co-app-label { color: var(--scan); font-weight: 600; }
.co-app[data-phase="attention"]:not([data-status="skipped"]) .co-app-label { color: var(--run); font-weight: 600; }
.co-app-score { font-size: 11px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.co-clear-done { margin-top: 14px; }
.co-live { margin-left: 4px; font-size: 12px; color: var(--muted); }
.co-live[data-phase="applied"] { color: var(--scan); font-weight: 600; }

/* Score → Tailor → Check → Apply → Submitted, with the line filling behind it. */
.co-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 10px 0 2px; padding: 0; max-width: 380px; }
.co-steps::before, .co-steps::after { content: ""; position: absolute; top: 8px; left: 10%; height: 2px; border-radius: 2px; }
.co-steps::before { right: 10%; background: var(--border); }
.co-steps::after { width: calc(80% * var(--at, 0) / 4); background: var(--scan); transition: width .6s var(--co-out); }
.co-steps[data-state="stopped"]::after { background: color-mix(in srgb, var(--run) 60%, var(--scan)); }
.co-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: var(--faint); }
.co-steps i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border-2); background: var(--panel); font-style: normal; font-size: 10px; font-weight: 700;
  transition: border-color .2s var(--co-ease), background .2s var(--co-ease), color .2s var(--co-ease); }
.co-steps .co-spinner { width: 10px; height: 10px; border-width: 1.4px; }
.co-steps .co-check { width: 11px; height: 11px; }
.co-steps li.done { color: var(--muted); }
.co-steps li.done i { border-color: var(--scan); background: var(--scan); color: var(--scan-ink); }
.co-steps li.active { color: var(--fg); font-weight: 600; }
.co-steps li.active i { border-color: var(--info); color: var(--info); box-shadow: 0 0 0 4px color-mix(in srgb, var(--info) 14%, transparent); }
.co-steps li.waiting { color: var(--fg); }
.co-steps li.waiting i { border-color: var(--info); border-style: dashed; animation: co-turn 3s linear infinite; }
.co-steps li.stopped { color: var(--run); font-weight: 600; }
.co-steps li.stopped i { border-color: var(--run); color: var(--run); animation: co-morph .2s var(--co-ease) backwards; }
.co-app[data-status="skipped"] .co-steps li.stopped { color: var(--muted); }
.co-app[data-status="skipped"] .co-steps li.stopped i { border-color: var(--border-2); color: var(--muted); }
.co-steps-toggle { font-size: 11.5px; margin-top: 2px; }
.co-app[data-pk] { cursor: pointer; }
.co-timeline { list-style: none; margin: 10px 0 2px; padding: 0 0 0 12px; border-left: 1.5px solid var(--border); cursor: default; }
.co-timeline li { position: relative; display: flex; gap: 10px; padding: 4px 0; font-size: 12px; line-height: 1.45; }
.co-timeline li::before { content: ""; position: absolute; left: -16.5px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); }
.co-timeline li:last-child::before { background: var(--info); box-shadow: 0 0 0 3px color-mix(in srgb, var(--info) 18%, transparent); }
.co-timeline time { flex-shrink: 0; width: 58px; color: var(--faint); font-variant-numeric: tabular-nums; }
.co-timeline li.co-tone-good::before { background: var(--scan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--scan) 18%, transparent); }
.co-timeline .co-tone-ask span { color: var(--run); }
.co-timeline .co-tone-bad span { color: var(--bad); }
.co-timeline li.co-new { animation: co-rise .3s var(--co-ease) both; }

@media (max-width: 860px) {
  .co-hero { padding: 24px 16px 14px; }
  .co-hero h2 { font-size: 21px; }
  .co-go { min-width: 0; padding-inline: 14px; }
  /* Wrap rather than scroll: a scrolling rail would clip the city popover. */
  .co-cities-btn { max-width: 190px; }
  .co-workspace { grid-template-columns: 1fr; min-height: 0; }
  .co-list-pane { border-right: 0; }
  .co-detail { display: none; max-height: none; }
  cosign-board.co-reading .co-detail { display: block; }
  cosign-board.co-reading .co-list-pane { display: none; }
  .co-back { display: inline-block; }
  .co-pane-tabs { padding: 8px 12px 0; }
  .co-detail-body { padding: 18px 16px 28px; animation-name: co-slide; }
  @keyframes co-slide { from { opacity: 0; transform: translateX(16px); } }
  .co-detail h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  cosign-board *, cosign-board *::before, cosign-board *::after { animation: none !important; transition: none !important; }
  .co-reel { transform: translateY(var(--to)); }
}
/* The board a posting lives on, always visible but never loud. */
.co-src { font-size: 10.5px; color: var(--faint); white-space: nowrap; }
