/* Client asks: a feature page (Linear's /asks). 1024 column, a live Ask the client panel as the hero, two-tone 24px
   sentences, an annotated ask, the gap field over five weeks, and Copy all asks as the signature funnel into one email. Prefix ca-. */

.ca-col { max-width: 1024px; margin: 0 auto; }
.ca-center { text-align: center; }
.ca-mr { background: #3b4a5c !important; color: #eef3f8 !important; }

/* ---------- hero ---------- */
.ca-hero { position: relative; padding-top: 168px; overflow: clip; }
.ca-eyebrow { justify-content: center; margin-bottom: 20px; color: var(--fg-2); }
.ca-h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 560; }
.ca-lede { margin: 24px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--fg-3); }
.ca-pill { margin-top: 32px; }

.ca-panels { position: relative; max-width: 1024px; height: 540px; margin: 80px auto 0;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.ca-panels::before { content: ""; position: absolute; left: 50%; top: -80px; width: 120%; height: 120%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 30%, color-mix(in srgb, var(--fg-2) 9%, transparent), transparent 70%); }
.ca-gapswin { right: 0; top: 56px; width: 56%; height: 484px; }
.ca-askwin { left: 0; top: 0; width: 58%; height: 540px; }

.ca-gh { height: 36px; padding: 0 16px; display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--bg-2) 70%, transparent); color: var(--fg-3); font-size: 12px; border-bottom: 1px solid var(--line-2); }
.ca-gh span { color: var(--fg-4); }
.ca-g { height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.ca-g .nm { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-g .pl { color: var(--fg-4); white-space: nowrap; }
.ca-g .ap-badge { margin-left: auto; }
.ca-g.ph-r .ph { flex: 0 0 180px; }

.ca-ask { padding: 16px 20px 0; display: grid; gap: 12px; }
.ca-fn { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; font-size: 13px; }
.ca-fn span { color: var(--fg-3); font-size: 12.5px; }
.ca-fn p { color: var(--fg-2); }
.ca-fn > * { min-width: 0; }
.ca-req { margin-top: 6px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); overflow: hidden; }
.ca-req-l { padding: 10px 14px 0; color: var(--fg-3); font-size: 12px; }
.ca-text { min-height: 128px; padding: 8px 14px 12px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; color: var(--fg-1); }
.ca-text mark { background: var(--bg-3); color: var(--fg-1); box-shadow: 0 0 0 1px var(--line-3); border-radius: 3px; }
.ca-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: var(--fg-1); animation: ca-blink 1.2s steps(2) infinite; }
@keyframes ca-blink { 50% { opacity: 0; } }
.ca-close { padding: 10px 14px; display: flex; align-items: center; gap: 8px; border-top: 1px dashed var(--line-3); color: var(--fg-3); font-size: 12.5px; }
.ca-close svg { width: 13px; height: 13px; flex: none; }
.ca-foot { margin: 16px 20px 0; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.ca-foot .r { margin-left: auto; display: flex; gap: 8px; }
.ca-done { display: flex; align-items: center; gap: 8px; color: var(--fg-3); opacity: 0; transform: translateY(6px); transition: opacity var(--dur-enter) var(--ease-enter), transform var(--dur-enter) var(--ease-enter); }
.ca-done.on { opacity: 1; transform: none; }
.ca-g { transition: background var(--dur-hover) var(--ease-swap); }
.ca-g.flash { background: color-mix(in srgb, var(--fg-1) 5%, transparent); }

/* ---------- sections ---------- */
.ca-sec { padding-top: 176px; }
.ca-sec-sm { padding-top: 128px; }
.ca-tt { max-width: 760px; font-size: 24px; line-height: 1.33; letter-spacing: -0.018em; color: var(--fg-3); font-weight: 450; }
.ca-tt span { color: var(--fg-1); }
.ca-h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.026em; }
.ca-under { margin-top: 24px; color: var(--fg-3); font-size: 15px; max-width: 64ch; }
.ca-under a { color: var(--fg-1); text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 3px; }
.ca-stage { margin-top: 56px; }
.ca-stage .stage2-in { height: 600px; }

/* ---------- anatomy: one ask with callout lines ---------- */
.ca-anatwin { left: 25%; right: 25%; top: 96px; height: 480px; }
.ca-doc { padding: 22px 24px; display: grid; gap: 14px; font-size: 14px; line-height: 1.6; }
.ca-part { position: relative; padding: 6px 10px 6px 34px; border-radius: 8px; color: var(--fg-2); transition: background var(--dur-enter), color var(--dur-enter), box-shadow var(--dur-enter); }
.ca-part i { position: absolute; left: 8px; top: 8px; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 10.5px; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line-3); transition: color var(--dur-enter), box-shadow var(--dur-enter), background var(--dur-enter); }
.ca-fixed { color: var(--fg-3); border-top: 1px dashed var(--line-3); border-radius: 0 0 8px 8px; padding-top: 12px; }
.ca-edit { box-shadow: inset 0 -1px 0 var(--fg-4); }
.ca-call { position: absolute; z-index: 5; margin-top: -10px; width: 22%; display: flex; flex-direction: column; gap: 2px; font-size: 13px; opacity: .45; transition: opacity var(--dur-enter); }
.ca-call b { font-weight: 500; color: var(--fg-1); }
.ca-call span { color: var(--fg-3); font-size: 12.5px; }
.ca-call.l { left: 2%; text-align: right; padding-right: 20px; }
.ca-call.r { right: 2%; padding-left: 20px; }
.ca-call::after { content: ""; position: absolute; top: 10px; width: 14%; min-width: 24px; height: 1px; background: var(--line-3); }
.ca-call.l::after { right: -14%; }
.ca-call.r::after { left: -14%; }
.ca-call::before { content: ""; position: absolute; top: 7px; width: 7px; height: 7px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--fg-4); }
.ca-call.l::before { right: 2px; }
.ca-call.r::before { left: 2px; }
.ca-call.hot { opacity: 1; }
.ca-call.hot::before { background: var(--fg-1); box-shadow: none; }
.ca-call.hot::after { background: var(--fg-4); }
.ca-legend { display: none; }

/* ---------- the gap field: every gap of one assessment over five weeks ---------- */
:root[data-theme="light"] .ca-mailcard, :root[data-theme="light"] .ca-cr { background: #fff; box-shadow: inset 0 0 0 1px #00000014, 0 12px 32px #00000012; }
.ca-fcap { margin: 28px -32px 0; padding: 22px 32px 26px; border-top: 1px solid var(--line); }
.ca-fcap h3 { font-size: 15px; font-weight: 500; }
.ca-fcap p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--fg-3); max-width: 70ch; }

/* ---------- signature: Copy all asks ---------- */
.ca-split { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 64px; align-items: start; }
.ca-split-t { position: sticky; top: 140px; }
.ca-split-t p { margin-top: 20px; color: var(--fg-3); font-size: 17px; line-height: 1.6; max-width: 38ch; }
.ca-split-t p b { color: var(--fg-1); font-weight: 500; }
.ca-funnel { position: relative; width: 560px; }
.ca-groups, .ca-tiles { padding: 0 20px; display: grid; grid-template-columns: repeat(7, 64px); column-gap: 12px; }
.ca-groups span { position: relative; padding-bottom: 10px; text-align: center; white-space: nowrap; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0; color: var(--fg-4); }
.ca-groups span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border: 1px solid var(--line-3); border-bottom: 0; border-radius: 4px 4px 0 0; }
.ca-tiles { margin-top: 12px; }
.ca-tile { width: 64px; height: 64px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-3); transition: color var(--dur-hover), box-shadow var(--dur-hover), background var(--dur-hover); }
.ca-tile svg { width: 18px; height: 18px; }
.ca-tile b { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; font-size: 13px; color: var(--fg-2); }
.ca-tile span { font-size: 10px; white-space: nowrap; }
.ca-tile.hot { color: var(--fg-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--fg-4); }
.ca-tile.hot b { color: var(--fg-1); }
.ca-tile.out { opacity: .4; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.ca-tile.out b { text-decoration: line-through; color: var(--fg-4); }
.ca-wires { display: block; width: 560px; height: 110px; overflow: visible; }
.ca-wires path { fill: none; stroke: var(--line-3); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke var(--dur-hover); }
.ca-wires path.hot { stroke: var(--fg-3); }
.ca-mailcard { position: relative; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 24px 60px #00000040; overflow: hidden; }
.ca-mailcard-h { height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--fg-3); }
.ca-mailcard-h b { color: var(--fg-1); font-weight: 500; }
.ca-mailcard-h .r { margin-left: auto; }
.ca-lines { padding: 10px 0 60px; }
.ca-lines > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 8px 16px; font-size: 13.5px; line-height: 1.5; color: var(--fg-1);
  opacity: .12; filter: blur(1.5px); transition: opacity var(--dur-enter) var(--ease-enter), filter var(--dur-enter) var(--ease-enter), background var(--dur-enter); }
.ca-lines > div.on { opacity: 1; filter: none; }
.ca-lines > div.hot { background: color-mix(in srgb, var(--fg-1) 5%, transparent); }
.ca-lines .src { padding-top: 2px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0; color: var(--fg-4); }
.ca-lines-close { margin-top: 6px; border-top: 1px dashed var(--line-3); padding-top: 12px !important; }
.ca-lines-close p { grid-column: 2; color: var(--fg-3); }
.ca-toast { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 10px); padding: 8px 14px; border-radius: 999px; background: var(--inv); color: var(--inv-fg); font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity var(--dur-hover), transform var(--dur-hover) var(--ease-enter); }
.ca-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- tracked until it lands ---------- */
.ca-trackwin { left: 8%; right: 8%; top: 80px; height: 520px; }
.ca-steps { position: relative; padding: 28px 24px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ca-steps::before { content: ""; position: absolute; left: calc(24px + 12.5% - 6%); right: calc(24px + 12.5% - 6%); top: 35px; height: 1px; border-top: 1px dashed var(--line-3); }
.ca-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12.5px; color: var(--fg-4); transition: color var(--dur-hover); }
.ca-step i { width: 15px; height: 15px; margin-bottom: 8px; border-radius: 999px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--fg-4); transition: background var(--dur-hover), box-shadow var(--dur-hover); }
.ca-step b { font-weight: 500; font-size: 13px; }
.ca-step.done { color: var(--fg-3); }
.ca-step.done b { color: var(--fg-1); }
.ca-step.done i { background: var(--fg-3); box-shadow: inset 0 0 0 4px var(--bg-1), inset 0 0 0 5px var(--fg-3); }
.ca-step.hot i { background: var(--fg-1); box-shadow: inset 0 0 0 4px var(--bg-1), inset 0 0 0 5px var(--fg-1); }
.ca-step.hot b { color: var(--fg-1); }
.ca-note { margin: 4px 24px 0; padding: 12px 14px; border-radius: 10px; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--fg-3); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3);
  opacity: .25; transition: opacity var(--dur-enter); }
.ca-note b { color: var(--fg-1); font-weight: 500; }
.ca-note svg { width: 14px; height: 14px; margin-top: 3px; flex: none; color: var(--fg-3); }
.ca-note.on { opacity: 1; }
.ca-resolve { margin: 14px 24px 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-3); opacity: .25; transition: opacity var(--dur-enter); }
.ca-resolve.on { opacity: 1; }
.ca-rv-r { min-height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; flex-wrap: wrap; }
.ca-rv-r > span:first-child { width: 96px; color: var(--fg-3); }
.ca-chip { height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-3); }
.ca-chip.on { color: var(--fg-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--fg-4); }
.ca-dim { color: var(--fg-3); }
.ca-rv-f { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.ca-rv-f .ap-btn { margin-left: auto; }
.ca-stamp { display: flex; align-items: center; gap: 8px; color: var(--fg-3); font-size: 12.5px; opacity: 0; transition: opacity var(--dur-enter); }
.ca-stamp.on { opacity: 1; }

/* ---------- the client's requests ---------- */
.ca-cr { margin-top: 56px; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3); overflow: hidden; font-size: 13px; }
.ca-cr-h { min-height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); font-size: 12.5px; flex-wrap: wrap; }
.ca-cr-h b { color: var(--fg-1); font-weight: 500; font-size: 13px; }
.ca-cr-h .r { margin-left: auto; }
.ca-crr { padding: 14px 20px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; border-bottom: 1px solid var(--line-2); }
.ca-crr p { color: var(--fg-1); }
.ca-crr > .ap-key { justify-self: start; }
.ca-crr.ph-r { display: flex; gap: 16px; }
.ca-crr.ph-r .ph { flex: 0 0 260px; }
.ca-crx { grid-column: 2 / -1; display: grid; gap: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--dur-swap) var(--ease-enter), opacity var(--dur-enter), margin var(--dur-swap) var(--ease-enter); }
.ca-crr.open .ca-crx { max-height: 220px; opacity: 1; margin-top: 12px; }
.ca-crx > div { padding: 10px 12px; border-radius: 8px; background: var(--bg-2); display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; color: var(--fg-2); }
.ca-lbl { width: 56px; flex: none; color: var(--fg-3); }
.ca-reply { flex: 1; line-height: 1.5; }
.ca-reply em { display: block; margin-top: 4px; font-style: normal; color: var(--cu); font-size: 11.5px; }
.ca-cr-f { padding: 14px 20px; display: flex; align-items: center; gap: 12px; color: var(--fg-3); font-size: 12.5px; }
.ca-cr-f .ap-btn { margin-left: auto; }

/* ---------- also, related, pre-footer ---------- */
.ca-pre { margin-top: 128px; padding: 96px 0; border-top: 1px solid var(--line); }
.ca-pre-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ca-pre h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.026em; }

/* ---------- small screens ---------- */
@media (max-width: 1024px) {
  .ca-split { grid-template-columns: 1fr; }
  .ca-split-t { position: static; order: -1; }
  .ca-funnel { margin: 0 auto; }
  .ca-anatwin { left: 6%; right: 6%; }
  .ca-call { display: none; }
  .ca-legend { display: grid; gap: 8px; margin: 24px 0 0; padding-left: 20px; color: var(--fg-3); font-size: 15px; }
  .ca-legend b { color: var(--fg-1); font-weight: 500; }
}
@media (max-width: 860px) {
  .ca-panels { height: 680px; }
  .ca-gapswin { display: none; }
  .ca-askwin { width: 100%; height: 680px; }
  .ca-trackwin { left: 16px; right: 16px; }
}
@media (max-width: 640px) {
  .ca-hero { padding-top: 132px; }
  .ca-sec { padding-top: 120px; }
  .ca-tt { font-size: 20px; }
  .ca-anatwin { left: 12px; right: 12px; top: 40px; height: 520px; }
  .ca-funnel { width: 100%; }
  .ca-groups { display: none; }
  .ca-tiles { padding: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 4px; }
  .ca-tile { width: auto; height: 52px; }
  .ca-tile span { display: none; }
  .ca-tile b { font-size: 11px; }
  .ca-wires { width: 100%; height: 72px; }
  .ca-lines > div { grid-template-columns: 1fr; gap: 0; }
  .ca-lines-close p { grid-column: 1; }
  .ca-steps { padding: 20px 12px 16px; }
  .ca-step span { display: none; }
  .ca-steps::before { top: 27px; }
  .ca-note, .ca-resolve { margin-left: 12px; margin-right: 12px; }
  .ca-rv-r > span:first-child { width: 100%; padding-top: 10px; }
  .ca-rv-r { padding-bottom: 10px; }
  .ca-dim { display: none; }
  .ca-stage .stage2-in { height: 760px; }
  .ca-trackwin { top: 40px; height: 600px; }
  .ca-h1 { font-size: 36px; }
  .ca-hero .win-bar > span:not(.r):not(.ap-key), .ca-stage .win-bar > span:not(.r):not(.ap-key) { display: none; }
  .ca-crr { grid-template-columns: 1fr auto; row-gap: 8px; padding: 14px 16px; }
  .ca-crr p { grid-column: 1 / -1; grid-row: 2; }
  .ca-crx { grid-column: 1 / -1; }
  .ca-crx > div { flex-wrap: wrap; }
  .ca-cr-h .r { margin-left: 0; width: 100%; padding-bottom: 10px; }
  .ca-cr-f { flex-wrap: wrap; }
  .ca-foot { flex-wrap: wrap; }
  .ca-foot .r { margin-left: 0; }
  .ca-fn { grid-template-columns: 1fr; gap: 2px; }
  .ca-fcap { margin: 20px -14px 0; padding: 18px 14px 22px; }
  /* phone QA: captions below their scene, touch-size controls */
  .stage2-cap { position: static; max-width: none; padding: 18px 12px 12px; }
  .ca-stage #ca-anat { height: 600px; }
  .ca-stage #ca-track { height: 680px; }
}

/* ---------- round 2 (bold, calm): request text Enpasse drafts by rule (not AI), so it sits on the normal product
   surface (the .doc-page look: --bg-2, normal ink, --line-3 edge). Never white: white is only for cited client files. ---------- */
.ca-panels::before { display: none; }
.ca-req, .ca-anatwin .ca-doc { background: var(--bg-2); color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); }
.ca-anatwin .ca-doc { margin: 16px; border-radius: 8px; }
.ca-part.hot, .ca-anatwin .ca-doc .ca-part.hot { background: var(--bg-3); color: var(--fg-1); }
.ca-part.hot i { color: var(--fg-1); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--fg-4); }
.ca-anatwin .ca-doc .ca-edit { background: var(--bg-3); box-shadow: none; color: var(--fg-1); }
.ca-lines { margin: 12px 16px 16px; padding: 10px 0 14px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); }
/* the Suggested reply: copper mark and underline until the lead accepts it */
.ca-reply { display: flex; gap: 8px; align-items: flex-start; }
.ca-reply .ai-mark { --ai-mark-size: 20px; margin-top: 1px; }
.ca-sugtx { text-decoration: underline 1px; text-decoration-color: var(--cu); text-underline-offset: 4px; transition: text-decoration-color var(--dur-draw) var(--ease-spring); }
.ca-cr.ok .ca-sugtx { text-decoration-color: transparent; }

/* ================= NEW (invention round): two seats, one request ================= */
.ca-so { background: #3f4a3a !important; color: #eef4ea !important; }
.ca-lc { background: #4a4238 !important; color: #f5efe6 !important; }
:root[data-theme="light"] .ca-so { background: #e2eadb !important; color: #2a3424 !important; }
:root[data-theme="light"] .ca-mr { background: #dfe6ee !important; color: #23303d !important; }
:root[data-theme="light"] .ca-lc { background: #eee6db !important; color: #3a3026 !important; }
.ca-seat { margin-top: 56px; }
.ca-seat-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.ca-seat-seg button { height: 34px; padding: 0 12px 0 6px; border: 0; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; color: var(--fg-3); background: transparent; cursor: pointer; transition: background var(--dur-hover), color var(--dur-hover); }
.ca-seat-seg button[aria-pressed="true"] { background: var(--bg-4); color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); }
:root[data-theme="light"] .ca-seat-seg button[aria-pressed="true"] { background: #fff; }
.ca-seat-role { color: var(--fg-4); font-size: 12px; }
.ca-seat-win { margin-top: 14px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 30px 80px #00000059; overflow: hidden; font-size: 13px; }
:root[data-theme="light"] .ca-seat-win { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 24px 60px #00000014; }
.ca-seat-bar { height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); font-size: 12.5px; }
.ca-seat-bar b { color: var(--fg-1); font-weight: 500; }
.ca-seat-here { margin-left: auto; display: flex; }
.ca-seat-here .ap-av { width: 20px; height: 20px; font-size: 8.5px; position: relative; box-shadow: 0 0 0 2px var(--bg-1); }
.ca-seat-here .ap-av + .ap-av { margin-left: -4px; }
.ca-seat-here .ap-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 6px; height: 6px; border-radius: 9px; background: var(--ok); box-shadow: 0 0 0 1.5px var(--bg-1); }
.ca-seat-b { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 290px; }
.ca-seat-main { position: relative; padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ca-seat-banner { height: 0; margin-bottom: -16px; opacity: 0; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; background: color-mix(in srgb, var(--fg-1) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; color: var(--fg-3); transition: height var(--dur-enter) var(--ease-spring), opacity var(--dur-enter), margin var(--dur-enter) var(--ease-spring); }
.ca-seat-banner b { color: var(--fg-1); font-weight: 500; }
.ca-seat-banner .t { margin-left: auto; color: var(--fg-4); }
.ca-seat-banner .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
.ca-seat-banner.on { height: 40px; margin-bottom: 0; opacity: 1; }
.ca-seat-text { padding: 16px 18px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-3); display: grid; gap: 8px; line-height: 1.6; color: var(--fg-1); }
.ca-seat-close { color: var(--fg-3); }
.ca-seat-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ca-seat-foot .ap-btn { cursor: pointer; }
.ca-seat-note { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); font-size: 12.5px; transition: opacity var(--dur-hover); }
.ca-seat-note::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3.25' y='7' width='9.5' height='6.75' rx='1.5' fill='none' stroke='black' stroke-width='1.3'/><path d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='black' stroke-width='1.3'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3.25' y='7' width='9.5' height='6.75' rx='1.5' fill='none' stroke='black' stroke-width='1.3'/><path d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='black' stroke-width='1.3'/></svg>") center / contain no-repeat; }
.ca-seat[data-as="MR"] .ca-seat-note, .ca-seat[data-as="SO"] #ca-seat-mark { display: none; }
.ca-seat[data-as="MR"] #ca-seat-copy { display: none; }
.ca-seat-foot .ap-btn.press { transform: scale(.96); filter: brightness(1.15); }
.ca-seat-toast { position: absolute; left: 24px; bottom: 64px; height: 34px; padding: 0 12px; border-radius: 9px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3), 0 12px 30px #0000004d; opacity: 0; transform: translateY(6px); transition: opacity var(--dur-enter), transform var(--dur-enter) var(--ease-spring); pointer-events: none; }
.ca-seat-toast.on { opacity: 1; transform: none; }
.ca-seat-hist { border-left: 1px solid var(--line-2); padding: 18px 20px; background: color-mix(in srgb, var(--fg-1) 2%, transparent); }
.ca-seat-hh { font-size: 12px; color: var(--fg-3); margin-bottom: 10px; }
#ca-seat-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
#ca-seat-log li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 12.5px; color: var(--fg-3); line-height: 1.45; animation: ca-li var(--dur-enter) var(--ease-spring) both; }
#ca-seat-log li b { color: var(--fg-1); font-weight: 500; }
#ca-seat-log li .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
#ca-seat-log li .t { display: block; color: var(--fg-4); font-size: 11.5px; }
#ca-seat-log li .dot { width: 20px; height: 20px; display: grid; place-items: center; } #ca-seat-log li .dot::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: var(--fg-4); }
@keyframes ca-li { from { opacity: 0; transform: translateY(-6px); } }

/* ================= NEW (invention round): drop the reply on its gap ================= */
.ca-drop { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.ca-mail, .ca-dgaps { border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 30px 80px #00000052; overflow: hidden; font-size: 13px; }
:root[data-theme="light"] .ca-mail, :root[data-theme="light"] .ca-dgaps { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 24px 60px #00000014; }
.ca-mail { padding: 18px 20px 20px; }
.ca-mail-h { display: flex; align-items: center; gap: 10px; }
.ca-mail-h .ap-av { width: 28px; height: 28px; font-size: 10px; }
.ca-mail-h div { display: grid; } .ca-mail-h b { font-weight: 500; } .ca-mail-h div span { color: var(--fg-3); font-size: 12px; }
.ca-mail-h .r { margin-left: auto; color: var(--fg-3); font-size: 12px; }
.ca-mail-s { margin-top: 16px; font-weight: 500; color: var(--fg-1); }
.ca-mail-p { margin-top: 6px; color: var(--fg-2); line-height: 1.6; }
.ca-files { margin-top: 16px; display: grid; gap: 8px; }
.ca-file { position: relative; height: 44px; padding: 0 10px 0 12px; border-radius: 9px; display: flex; align-items: center; gap: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: opacity var(--dur-enter), transform var(--dur-enter) var(--ease-spring), box-shadow var(--dur-hover); }
.ca-file svg { width: 16px; height: 16px; color: var(--fg-3); flex: none; }
.ca-file .fn { font-family: "Geist Mono", monospace; font-size: 11.5px; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-file-sug { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-family: "Geist Mono", monospace; color: var(--cu); background: var(--cu-tint); box-shadow: inset 0 0 0 1px var(--cu-line); flex: none; }
.ca-file-sug .ai-mark { --ai-mark-h: 9px; }
.ca-file:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--fg-3); }
@media (any-hover: hover) { .ca-file:hover { box-shadow: inset 0 0 0 1px var(--fg-4); } }
.ca-file.lift { opacity: .35; }
.ca-file.used { opacity: .4; pointer-events: none; }
.ca-file.used .ca-file-sug { color: var(--fg-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); }
.ca-ghost { position: absolute; left: 0; top: 0; z-index: 20; height: 40px; padding: 0 12px; border-radius: 9px; display: none; align-items: center; gap: 8px; font-family: "Geist Mono", monospace; font-size: 11.5px; color: var(--fg-1); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--fg-4), 0 18px 40px #00000073; pointer-events: none; white-space: nowrap; transform: rotate(-1.5deg); }
.ca-ghost.on { display: flex; }
.ca-ghost.fly { transition: left 600ms var(--ease-swap), top 600ms var(--ease-swap), opacity 300ms 450ms; }
.ca-dgaps-h { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); font-size: 12.5px; }
.ca-dgaps-h b { color: var(--fg-1); font-weight: 500; font-size: 13.5px; }
.ca-dgaps-h .r { margin-left: auto; font-variant-numeric: tabular-nums; }
.ca-dg { position: relative; min-height: 60px; padding: 10px 18px; display: grid; grid-template-columns: 14px 44px minmax(0, 1fr) auto; grid-template-areas: "s k n p" ". . x x"; column-gap: 10px; row-gap: 0; align-items: center; border-bottom: 1px solid var(--line-2); transition: background var(--dur-hover), box-shadow var(--dur-hover); }
.ca-dg .si-ring { grid-area: s; width: 13px; height: 13px; border-radius: 99px; box-shadow: inset 0 0 0 1.3px var(--fg-3); }
.ca-dg .ap-key { grid-area: k; justify-self: start; }
.ca-dg .nm { grid-area: n; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-dg .pl { grid-area: p; color: var(--fg-3); font-size: 12px; font-family: "Geist Mono", monospace; }
.ca-dg-slot { grid-area: x; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-3); max-height: 0; overflow: hidden; transition: max-height var(--dur-enter) var(--ease-spring), margin var(--dur-enter); }
.ca-dg.has .ca-dg-slot { max-height: 30px; margin-top: 8px; }
.ca-dg-slot .ap-av { width: 18px; height: 18px; font-size: 8px; }
.ca-dg-slot .r { margin-left: auto; }
.ca-dg.target { background: color-mix(in srgb, var(--cu) 7%, transparent); box-shadow: inset 0 0 0 1px var(--cu-line); }
.ca-dg.over { background: color-mix(in srgb, var(--fg-1) 7%, transparent); box-shadow: inset 0 0 0 1px var(--fg-3); }
.ca-dg.landed { animation: ca-land 900ms var(--ease-swap); }
@keyframes ca-land { 0%, 25% { background: color-mix(in srgb, var(--fg-1) 10%, transparent); } }
.ca-dgaps-f { min-height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 12.5px; }
.ca-dg-reset { margin-left: auto; border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--fg-3); cursor: pointer; opacity: 0; pointer-events: none; }
.ca-dg-reset.on { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
  .ca-seat-b { grid-template-columns: 1fr; }
  .ca-seat-hist { border-left: 0; border-top: 1px solid var(--line-2); }
  .ca-drop { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ca-seat-seg { display: flex; } .ca-seat-seg button { flex: 1; justify-content: center; padding: 0 8px 0 4px; } .ca-seat-role { display: none; }
  .ca-seat-main { padding: 18px 16px; } .ca-seat-bar { padding: 0 14px; }
  .ca-seat-toast { left: 16px; right: 16px; }
  .ca-dg { padding: 10px 14px; grid-template-columns: 14px 40px minmax(0, 1fr); grid-template-areas: "s k n" ". . x"; } .ca-dg .pl { display: none; }
  .ca-file .fn { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ca-seat-banner, .ca-seat-toast, #ca-seat-log li, .ca-file, .ca-dg-slot, .ca-dg, .ca-ghost { transition: none !important; animation: none !important; } }
@media (max-width: 640px) { .ca-hide-s { display: none !important; } }
/* click to choose (replaces drag): the gap menu under a file */
.ca-file { cursor: pointer; touch-action: auto; }
.ca-file.open { box-shadow: inset 0 0 0 1px var(--fg-3); }
.ca-pick { position: absolute; z-index: 25; width: 320px; padding: 6px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 50px #00000080; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity var(--dur-hover), transform var(--dur-enter) var(--ease-spring); }
:root[data-theme="light"] .ca-pick { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px #0000001f; }
.ca-pick.on { opacity: 1; transform: none; pointer-events: auto; }
.ca-pick-h { padding: 6px 8px 8px; font-size: 11.5px; color: var(--fg-3); }
.ca-pick button { width: 100%; height: 36px; padding: 0 8px; border: 0; border-radius: 7px; display: flex; align-items: center; gap: 8px; font: inherit; font-size: 12.5px; color: var(--fg-1); background: transparent; cursor: pointer; text-align: left; }
.ca-pick button .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-pick button:focus-visible, .ca-pick button.lit { outline: none; background: var(--bg-4); }
:root[data-theme="light"] .ca-pick button:focus-visible, :root[data-theme="light"] .ca-pick button.lit { background: var(--bg-3); }
@media (any-hover: hover) { .ca-pick button:hover { background: var(--bg-3); } }
@media (max-width: 640px) { .ca-pick { width: calc(100% - 24px); left: 12px !important; } }

/* ---------- bento card fragments (the card itself is the shared .bento) ---------- */
.bfx { width: 100%; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); font-size: 12px; overflow: hidden; text-align: left; }
.bfx-h { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); color: var(--fg-3); white-space: nowrap; }
.bfx-h b { color: var(--fg-1); font-weight: 500; }
.bfx-r { height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bfx-r .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--fg-2); }
.bfx-r .d { color: var(--fg-4); }
.bfx-r .d.mono { font-family: "Geist Mono", monospace; font-size: 11px; }
.bfx-r .ap-badge { height: 20px; font-size: 11px; }

/* restored from the Old site (enpasse-site-v4pre asks.css 85-150 and its narrow-screen rules) */
/* ---------- the gap field: every gap of one assessment over five weeks ---------- */
.ca-fieldstage { --s: 20px; --lab: 132px; position: relative; margin-top: 64px; padding: 32px 32px 0; border-radius: 20px;
  background: radial-gradient(70% 90% at 50% 0%, #1d1e21 0%, #121315 40%, var(--bg) 85%); box-shadow: inset 0 1px 0 #ffffff12, inset 0 0 0 1px #ffffff0a; }
:root[data-theme="light"] .ca-fieldstage { background: radial-gradient(70% 90% at 50% 0%, #f1f1f3 0%, #f7f7f8 50%, var(--bg) 100%); box-shadow: inset 0 0 0 1px #0000000d; }
.ca-ft { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ca-day { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--fg-3); }
.ca-day b { font-size: 22px; font-weight: 560; letter-spacing: -0.02em; color: var(--fg-1); font-variant-numeric: tabular-nums; min-width: 4.5em; }
.ca-counts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--fg-3); }
.ca-counts span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ca-counts b { color: var(--fg-1); font-weight: 560; font-variant-numeric: tabular-nums; }

/* state swatches, shared by tiles, counts, legend and the list */
.ca-fieldstage i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.ca-fieldstage i.tc, .ca-gt.tc { background: var(--cu-tint); box-shadow: inset 0 0 0 1px var(--cu); color: var(--cu); }
.ca-fieldstage i.op, .ca-gt.op { background: transparent; box-shadow: inset 0 0 0 1px var(--fg-3); color: var(--fg-2); }
.ca-fieldstage i.ak, .ca-gt.ak { background: color-mix(in srgb, var(--fg-3) 45%, transparent); box-shadow: none; color: var(--fg-1); }
.ca-fieldstage i.ne, .ca-gt.ne { background: var(--amber); box-shadow: none; color: var(--bg); }
.ca-fieldstage i.rs, .ca-gt.rs { background: var(--ok); box-shadow: none; color: var(--bg); }
.ca-fieldstage i.ds, .ca-gt.ds { background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--fg-4); }
.ca-counts i.op { background: color-mix(in srgb, var(--fg-3) 45%, transparent); box-shadow: none; }

.ca-lanes { position: relative; display: grid; }
.ca-lane { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: end; border-bottom: 1px solid var(--line); }
.ca-lane:first-child { border-top: 1px solid var(--line); }
.ca-lane-l { padding: 0 0 10px; font-size: 12.5px; color: var(--fg-3); white-space: nowrap; }
.ca-lane-t { position: relative; height: calc(16px + var(--rows) * (var(--s) + 4px)); }
.ca-gt { position: absolute; left: calc((100% - var(--s)) * var(--x)); bottom: calc(8px + var(--k) * (var(--s) + 4px)); width: var(--s); height: var(--s); border-radius: 5px;
  display: grid; place-items: center; font-size: 9.5px; font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; cursor: default; opacity: 0; transform: scale(.4);
  transition: background .45s var(--ease-enter), box-shadow .45s var(--ease-enter), color .45s, opacity .4s, transform .45s var(--ease-enter); }
.ca-gt.tc, .ca-gt.op, .ca-gt.ak, .ca-gt.ne, .ca-gt.rs, .ca-gt.ds { opacity: 1; transform: none; }
.ca-gt.rs { opacity: .8; }
.ca-gt.ds { opacity: .55; }
.ca-gt.pick { outline: 1.5px solid var(--fg-1); outline-offset: 2px; opacity: 1; }
.ca-now { position: absolute; top: -10px; bottom: 0; width: 1px; pointer-events: none; z-index: 1;
  left: calc(var(--lab) + (100% - var(--lab) - var(--s)) * var(--x, 0) + var(--s) / 2); background: linear-gradient(transparent, var(--fg-3) 12%, var(--fg-3) 88%, transparent); }

.ca-scrub { margin: 18px 0 0 var(--lab); display: flex; align-items: flex-start; gap: 14px; }
.ca-play { margin-left: -46px; width: 32px; height: 32px; flex: none; border-radius: 999px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--bg-2); color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); }
.ca-play svg { width: 14px; height: 14px; }
.ca-play .pl, .ca-play.paused .pa { display: none; }
.ca-play.paused .pl { display: inline; }
.ca-range { position: relative; flex: 1; min-width: 0; padding-bottom: 22px; }
.ca-range input { width: 100%; margin: 8px 0 0; accent-color: var(--fg-2); cursor: pointer; }
.ca-ticks span { position: absolute; bottom: 0; font-size: 11.5px; color: var(--fg-4); white-space: nowrap; }

.ca-side { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ca-needs, .ca-tip { border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 40px #0000004d; padding: 14px 16px; font-size: 13px; min-height: 178px; }
:root[data-theme="light"] .ca-needs, :root[data-theme="light"] .ca-tip { background: #fff; box-shadow: inset 0 0 0 1px #00000014, 0 12px 30px #00000010; }
.ca-needs-h { color: var(--fg-1); font-weight: 500; margin-bottom: 6px; }
.ca-needs-l { display: flex; flex-direction: column; max-height: 196px; overflow: auto; }
.ca-ni { appearance: none; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 8px 4px; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border-radius: 0; }
.ca-ni:hover { background: color-mix(in srgb, var(--fg-1) 4%, transparent); }
.ca-ni .t { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-ni small { color: var(--fg-3); font-size: 12px; white-space: nowrap; }
.ca-needs-e { padding-top: 8px; border-top: 1px solid var(--line-2); color: var(--fg-3); font-size: 12.5px; line-height: 1.55; }
.ca-tip-h { display: flex; align-items: center; gap: 10px; color: var(--fg-1); }
.ca-tip-h b { font-weight: 500; }
.ca-tip-k { margin: 4px 0 10px; color: var(--fg-4); font-size: 12px; }
.ca-tip ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line-3); display: grid; gap: 7px; }
.ca-tip li { position: relative; color: var(--fg-2); font-size: 12.5px; line-height: 1.45; }
.ca-tip li::before { content: ""; position: absolute; left: -17.5px; top: 6px; width: 6px; height: 6px; border-radius: 99px; background: var(--fg-3); }
.ca-tip li:last-child { color: var(--fg-1); }
.ca-tip li:last-child::before { background: var(--fg-1); }
.ca-tip-e { color: var(--fg-3); font-size: 12.5px; }
.ca-flegend { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--fg-3); }
.ca-flegend span { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .ca-side { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ca-fieldstage { --s: 9px; --lab: 0px; padding: 22px 16px 0; }
  .ca-lane { grid-template-columns: 1fr; }
  .ca-lane-l { padding: 10px 0 0; font-size: 12px; }
  .ca-lane-t { height: calc(12px + var(--rows) * (var(--s) + 3px)); }
  .ca-gt { font-size: 0; border-radius: 2.5px; bottom: calc(6px + var(--k) * (var(--s) + 3px)); }
  .ca-scrub { margin-left: 0; }
  .ca-play { margin-left: 0; width: 40px; height: 40px; }
  .ca-range input { height: 40px; margin: 0; }
  .ca-ticks span:nth-child(even) { display: none; }
  .ca-counts { margin-left: 0; gap: 6px 14px; font-size: 12.5px; }
  .ca-fieldstage .ca-fcap { margin: 24px -16px 0; padding: 18px 16px 22px; }
  .ca-ni { grid-template-columns: 10px auto minmax(0, 1fr); row-gap: 2px; }
  .ca-ni small { grid-column: 3; }
  .ca-gt::before { content: ""; position: absolute; inset: -6px -3px; }
}

/* ---------- Linear D6: the notification stack beside "Each file, on its gap" ---------- */
.ca-dhead { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.ca-nstack { position: relative; height: 150px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ca-n { position: absolute; left: 0; right: 0; top: 40px; height: 64px; padding: 0 16px; border-radius: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: color-mix(in srgb, var(--bg-2) 92%, transparent); box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px #0005; font-size: 13px; white-space: nowrap;
  transform-origin: 50% 0; transition: transform .7s cubic-bezier(.645,.045,.355,1), opacity .7s cubic-bezier(.645,.045,.355,1), filter .7s cubic-bezier(.645,.045,.355,1); }
:root[data-theme="light"] .ca-n { background: #fff; box-shadow: inset 0 0 0 1px var(--line-3), 0 12px 30px #00000012; }
.ca-n > div { min-width: 0; display: flex; flex-direction: column; }
.ca-n b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ca-n div span { color: var(--fg-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.ca-n time { align-self: start; padding-top: 14px; color: var(--fg-4); font-size: 12px; }
.ca-n[data-k="0"] { z-index: 3; }
.ca-n[data-k="1"] { z-index: 2; transform: translateY(-10px) scale(.95); opacity: .7; filter: blur(2px); }
.ca-n[data-k="2"] { z-index: 1; transform: translateY(-16px) scale(.9); opacity: .4; filter: blur(2px); }
.ca-n[data-k="out"] { z-index: 0; transform: translateY(-16px) scale(.9); opacity: 0; filter: blur(2px); }
.ca-n[data-k="in"] { z-index: 4; transform: scale(1.05); opacity: 0; filter: blur(2px); }
@media (max-width: 860px) { .ca-dhead { grid-template-columns: 1fr; gap: 24px; } .ca-nstack { max-width: 440px; } }
@media (prefers-reduced-motion: reduce) { .ca-n { transition: none; } }

/* Gaps and Get evidence tasks (25 Oct): a task is round, a gap (a failing control) is square. */
.ca-gt[data-kind="T"] { border-radius: 50%; }
.ca-gt[data-kind="G"] { border-radius: 3px; }
.ca-flegend .ca-kind i { background: transparent; box-shadow: inset 0 0 0 1px var(--fg-3); }
.ca-flegend .ca-kind i.k-t { border-radius: 50%; }
.ca-flegend .ca-kind i.k-g { border-radius: 2px; }
