[hidden] { display: none !important; }

/* ---------- Frame: header, then the chat beside the board ---------- */
.ob { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
@media (min-width: 901px) { body[data-page="setup"] { overflow: hidden; } }
.ob-top { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 10px 20px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.ob-top .brand { padding: 2px 0; }
.ob-top .spacer { flex: 1; }
.small-link { font-size: 13px; }
.link-btn { font: inherit; font-weight: 500; color: var(--accent-text); background: none; border: 0; padding: 0; cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.ob-know { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); color: var(--text2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px; cursor: pointer; }
.ob-know:hover { border-color: var(--line2); color: var(--ink); }
.ob-know-bar { width: 64px; height: 5px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
#ob-know-short { display: none; }
.ob-know-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }

.ob-panes { display: none; }
.ob-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 46%); min-height: 0; }
.ob-chat { display: flex; flex-direction: column; min-width: 0; height: calc(100vh - var(--ob-top, 57px)); height: calc(100dvh - var(--ob-top, 57px)); position: sticky; top: var(--ob-top, 57px); }
.ob-board { border-left: 1px solid var(--line); background: var(--bg); min-width: 0; height: calc(100vh - var(--ob-top, 57px)); height: calc(100dvh - var(--ob-top, 57px)); position: sticky; top: var(--ob-top, 57px); overflow-y: auto; overscroll-behavior: contain; }

/* ---------- The conversation ---------- */
.ob-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 12px; display: flex; flex-direction: column; gap: 14px; }
.ob-msg { display: flex; gap: 10px; max-width: 680px; animation: ob-in .25s ease both; }
.ob-msg.me { align-self: flex-end; justify-content: flex-end; max-width: min(560px, 86%); }
.ob-av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--note-ink); margin-top: 18px; }
.ob-av svg { width: 15px; height: 15px; }
.ob-av-clicky { background: var(--brand-grad); color: var(--on-accent); }
.ob-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.ob-who { font-size: 11.5px; color: var(--text3); }
.ob-who b { color: var(--text2); font-weight: 600; }
.ob-bub { padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; max-width: 100%; }
.ob-msg.me .ob-bub { background: var(--sel); border-color: color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 14px; border-top-right-radius: 4px; }
.ob-bub b { font-weight: 600; }
.ob-note { align-self: center; display: inline-flex; gap: 7px; align-items: center; font-size: 12px; color: var(--text3); background: var(--bg); padding: 3px 10px; border-radius: 999px; text-align: center; }
.ob-note svg { width: 13px; height: 13px; flex: 0 0 13px; }
.ob-typing { display: inline-flex; gap: 4px; padding: 12px 14px; margin-left: 40px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; }
.ob-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text3); animation: ob-dot 1s infinite ease-in-out; }
.ob-typing i:nth-child(2) { animation-delay: .15s; } .ob-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ob-dot { 50% { opacity: .25; transform: translateY(-2px); } }
@keyframes ob-in { from { opacity: 0; transform: translateY(4px); } }
.ob-status { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text2); padding: 0 24px 8px; }
.ob-status svg { width: 14px; height: 14px; color: var(--text3); animation: ob-pulse 1.4s ease-in-out infinite; }
@keyframes ob-pulse { 50% { opacity: .35; } }

.ob-reply { border-top: 1px solid var(--line); background: var(--bg); padding: 12px 24px 12px; display: flex; flex-direction: column; gap: 10px; }
.ob-helpers { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; }
.ob-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-btns .btn { min-height: 38px; }
.ob-list { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 6px; }
.ob-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; cursor: pointer; }
.ob-row:hover { border-color: var(--line2); }
.ob-row input { accent-color: var(--accent); width: 16px; height: 16px; flex: 0 0 16px; margin: 0; }
.ob-row:has(input:checked) { border-color: var(--accent); background: var(--sel); }
.ob-extra { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text3); }
.ob-form { display: flex; gap: 8px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
.ob-form:focus-within { border-color: var(--line2); }
.ob-form textarea.input { flex: 1; border: 0; background: transparent; resize: none; min-height: 40px; max-height: 160px; padding: 9px 10px; line-height: 1.45; font-size: 14px; box-shadow: none; }
.ob-form textarea.input:focus { outline: none; box-shadow: none; }
.ob-form .btn { height: 40px; }
.ob-form .btn svg { width: 15px; height: 15px; }
.ob-foot { font-size: 11.5px; }

/* ---------- Cards in the chat ---------- */
.ob-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; max-width: 600px; }
.card-h { display: flex; flex-direction: column; gap: 2px; }
.card-h b { font-family: var(--f-head); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.card-h .meta, .meta { font-family: var(--f-mono); font-size: 11.5px; color: var(--text3); font-weight: 400; }
.ob-src { display: inline-block; font: 500 10.5px/1.5 var(--f-mono); color: var(--text3); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 2px; white-space: nowrap; vertical-align: 1px; }
.ob-stars { display: inline-flex; align-items: center; gap: 3px; }
.ob-stars svg { width: 13px; height: 13px; color: var(--hot); }
.ob-stars svg path { fill: currentColor; }
.lbl { display: block; font: 500 10.5px/1.6 var(--f-mono); color: var(--text3); text-transform: uppercase; letter-spacing: .04em; }

.lst { flex-direction: row; padding: 0; overflow: hidden; gap: 0; }
.lst-map { flex: 0 0 120px; position: relative; background:
  linear-gradient(90deg, transparent 47%, color-mix(in srgb, var(--surface) 80%, transparent) 47% 53%, transparent 53%),
  linear-gradient(0deg, transparent 30%, color-mix(in srgb, var(--surface) 80%, transparent) 30% 36%, transparent 36%),
  linear-gradient(35deg, transparent 62%, color-mix(in srgb, var(--surface) 70%, transparent) 62% 66%, transparent 66%),
  var(--d-trk); }
.lst-pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--accent); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.lst-pin svg { rotate: 45deg; width: 16px; height: 16px; color: var(--on-accent); }
.lst-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text2); font-size: 13px; }
.lst-body > b { font-family: var(--f-head); font-size: 16px; color: var(--ink); font-weight: 600; }
.lst-nums { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.lst-match { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--pos); }
.lst-match li { display: flex; gap: 6px; align-items: center; }
.lst-match svg { width: 13px; height: 13px; }

.found { display: grid; grid-template-columns: 110px 1fr; gap: 7px 14px; margin: 0; }
.found dt { font-size: 12.5px; color: var(--text3); font-weight: 500; }
.found dd { margin: 0; font-size: 13px; }
.card-warn { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; background: var(--hot-soft); border-radius: 10px; padding: 8px 10px; }
.card-warn svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--hot); margin-top: 2px; }

.cx-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cx-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: var(--sunken); display: grid; place-items: center; }
.cx-ic svg { width: 17px; height: 17px; }
.cx-t { flex: 1 1 160px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cx-t b { font-weight: 600; }
.cx-t span { font-size: 12.5px; color: var(--text2); }
.cx-msg { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; border-radius: 10px; padding: 8px 10px; }
.cx-msg svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 2px; }
.cx-msg.warn { background: var(--hot-soft); } .cx-msg.warn svg { color: var(--hot); }
.cx-msg.ok { background: var(--pos-soft); } .cx-msg.ok svg { color: var(--pos); }
.chip.hot { background: var(--hot-soft); color: var(--hot); }

.mini-rv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mini-rv li { display: grid; grid-template-columns: 1fr auto 44px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; }
.mini-rv li + li { border-top: 1px solid var(--line); }
.mini-rv li b { font-weight: 500; }
.mini-rv li .mono { text-align: right; color: var(--text2); font-size: 12px; }
.mini-rv li.you b { font-weight: 600; color: var(--accent-text); }
.ob-card > .link-btn { align-self: flex-start; font-size: 13px; }

.edge ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.edge li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.edge li svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--accent-text); margin-top: 2px; }
.ob-card.edge { background: var(--sel); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

.rec p { font-size: 13.5px; line-height: 1.5; }
.ag-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 55%, var(--surface)); color: var(--note-ink); }
.ag-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.ag-chip.planned { background: transparent; border: 1px dashed var(--line2); color: var(--text2); }
.ag-chip.empty { background: transparent; border: 1px dashed var(--line2); color: var(--text3); }
.ag-chip.empty::before { display: none; }

.camp-prev { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.camp-top { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font-size: 12px; color: var(--text3); }
.camp-top b { display: block; color: var(--ink); font-size: 13px; }
.camp-logo { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.camp-prev > p { padding: 0 12px 10px; font-size: 13px; line-height: 1.5; }
.camp-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.camp-pics span { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--note-ink); text-align: center; padding: 6px; }
.camp-pics svg { width: 18px; height: 18px; opacity: .7; }
.camp-form { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text3); }
.camp-form b { font-size: 13px; color: var(--ink); }

.tm ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tm li { display: flex; gap: 10px; align-items: flex-start; }
.tm li div { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; color: var(--text2); }
.tm li b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.tm li .why { color: var(--text3); }
.tm-dot { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 4px; margin-top: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.tm-not { font-size: 12.5px; color: var(--text2); }
.live-yours { font-size: 13px; padding: 8px 12px; border-radius: 8px; background: var(--sel); }

.run { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.run-col > b { display: flex; gap: 7px; align-items: center; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.run-col > b svg { width: 15px; height: 15px; color: var(--accent-text); }
.run-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.run-col li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12.5px; color: var(--text2); }
.run-you { grid-column: 1 / -1; font-size: 13px; padding: 9px 12px; border-radius: 10px; background: var(--sel); }

.val ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.val-free { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; background: var(--pos-soft); border-radius: 10px; padding: 8px 10px; }
.val-free svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--pos); margin-top: 2px; }

.try { gap: 8px; }
.try-q, .try-a { display: block; padding: 8px 11px; border-radius: 10px; font-size: 13.5px; }
.try-q { background: var(--sunken); align-self: flex-end; max-width: 90%; }
.try-a { background: var(--bg); border: 1px solid var(--line); max-width: 94%; }

/* ---------- The board ---------- */
.ob-btabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 4px; padding: 12px 20px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.ob-btabs [role="tab"] { font: 500 13px/1 var(--f-body); color: var(--text2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 10px 11px; cursor: pointer; }
.ob-btabs [role="tab"]:hover { color: var(--ink); }
.ob-btabs [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.ob-bpanel { padding: 18px 20px 40px; display: flex; flex-direction: column; gap: 14px; }
.bp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.bp-head h2 { font-size: 17px; }
.bp-lede { font-size: 13px; color: var(--text2); }
.ob-empty { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px dashed var(--line2); border-radius: 14px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.ob-empty > svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--accent-text); }
.ob-empty p { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text2); }
.ob-empty b { color: var(--ink); font-size: 14px; }

.jr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.jr-step { display: flex; gap: 12px; position: relative; padding-bottom: 12px; animation: ob-in .35s ease both; }
.jr-step::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line2); }
.jr-step:last-child::before { display: none; }
.jr-n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--surface); border: 1.5px solid var(--line2); position: relative; z-index: 1; }
.jr-body { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; }
.jr-body > b { font-size: 14px; font-weight: 600; }
.jr-words { font-size: 12.5px; color: var(--text2); }
.jr-lanes { display: grid; grid-template-columns: 104px 1fr; gap: 6px 10px; margin: 2px 0 0; align-items: center; }
.jr-lanes dt { font: 500 10.5px/1.4 var(--f-mono); color: var(--text3); text-transform: uppercase; letter-spacing: .03em; }
.jr-lanes dd { margin: 0; display: flex; gap: 5px; flex-wrap: wrap; }
.app-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: var(--sunken); color: var(--text2); }
.app-chip.on { background: var(--pos-soft); color: var(--pos); }
.app-chip svg { width: 11px; height: 11px; }
.jr-gap { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: var(--ink); background: var(--hot-soft); border-radius: 8px; padding: 6px 9px; }
.jr-gap svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--hot); margin-top: 1px; }
.jr-step.has-gap .jr-n { border-color: var(--hot); color: var(--hot); }
.jr-loop { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text2); padding: 4px 0 0 4px; }
.jr-loop svg { width: 15px; height: 15px; color: var(--accent-text); flex: 0 0 15px; }

.km { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.km-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.km-ic { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; margin-top: 1px; }
.km-ic svg { width: 11px; height: 11px; }
.km-row.part .km-ic { border-color: var(--accent); background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); }
.km-row.done .km-ic { border-color: var(--pos); background: var(--pos); color: var(--surface); }
.km-row.skip .km-ic { color: var(--text3); }
.km-row.skip { opacity: .7; }
.km-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.km-body > b { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.km-st { font: 500 11px/1.6 var(--f-mono); color: var(--text3); }
.km-row.done .km-st { color: var(--pos); }
.km-row.part .km-st { color: var(--accent-text); }
.km-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text2); }
.km-need { font-size: 12px; color: var(--text3); }

.edge { background: var(--sel); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.edge > b { font-size: 13.5px; }
.rvs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rv { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; animation: ob-in .3s ease both; }
.rv.you { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.rv.out { opacity: .5; }
.rv.out .rv-top b { text-decoration: line-through; text-decoration-color: var(--line2); }
.rv-top { display: flex; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; align-items: baseline; }
.rv-top b { font-size: 14px; font-weight: 600; }
.rv-top .chip { font-size: 11px; vertical-align: 1px; margin-left: 4px; }
.rv-base { font-size: 12px; color: var(--text3); }
.rv-nums { display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text2); align-items: center; }
.rv-nums b { color: var(--ink); font-weight: 500; }
.rv-say { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text2); }
.rv-say span { display: flex; gap: 6px; align-items: flex-start; }
.rv-say svg { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 3px; color: var(--text3); }
.rv-acts { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; align-items: center; font-size: 12.5px; padding-top: 2px; }
.rv-ads { display: flex; gap: 12px; flex-wrap: wrap; }
.rv-ads a { color: var(--accent-text); display: inline-flex; gap: 3px; align-items: center; text-decoration: none; }
.rv-ads a:hover { text-decoration: underline; }
.rv-ads svg { width: 11px; height: 11px; }
.rv-add { display: flex; gap: 8px; }
.rv-add .input { flex: 1; }

/* ---------- Phones and narrow screens: one pane at a time ---------- */
@media (max-width: 900px) {
  .ob-top { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
  .ob-top .brand-name { display: none; }
  .ob-top .brand { flex: 0 0 34px; width: 34px; min-width: 34px; gap: 0; overflow: visible; }
  .ob-top .brand .brand-mark { flex: 0 0 34px; width: 34px; height: 34px; }
  .ob-know { flex: 1 1 auto; min-width: 0; justify-content: flex-start; gap: 8px; padding: 6px 12px; }
  .ob-know-bar { flex: 1 1 56px; width: auto; min-width: 24px; max-width: 72px; }
  #ob-know-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #ob-know-short { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font: 500 12.5px/1 var(--f-body); color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #ob-know-short b { font-size: 12px; font-weight: 600; color: var(--ink); }
  #ob-know-short svg { display: none; width: 14px; height: 14px; flex: 0 0 14px; color: var(--pos); }
  .ob-know.done .ob-know-bar { display: none; }
  .ob-know.done #ob-know-short svg { display: block; }
  .ob-know.done #ob-know-short { color: var(--ink); }
  .ob-top .spacer { display: none; }
  #ob-restart { display: none; }
  .ob-top .small-link { white-space: nowrap; }
  .ob-top .btn .lbl, .ob-top .btn kbd { display: none; }
  .ob-top .btn { padding: 0 9px; }
  .ob-panes { display: flex; position: sticky; top: var(--ob-top, 50px); z-index: 4; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0 10px; }
  .ob-panes [role="tab"] { flex: 1; font: 500 13.5px/1 var(--f-body); color: var(--text2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 6px; cursor: pointer; position: relative; }
  .ob-panes [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
  .ob-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: 2px; }
  .ob-body { display: block; }
  .ob-chat, .ob-board { height: auto; position: static; overflow: visible; border-left: 0; }
  .ob-board { display: none; }
  body.ob-show-board .ob-board { display: block; }
  body.ob-show-board .ob-chat { display: none; }
  .ob-log { overflow: visible; padding: 16px 14px 8px; }
  .ob-reply { position: sticky; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px -12px rgba(0,0,0,.3); }
  .ob-helpers { max-height: 40vh; }
  .ob-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-row { padding: 8px 10px; font-size: 13px; }
  .ob-status { padding: 0 14px 8px; }
  .ob-btabs { padding: 8px 12px 0; top: calc(var(--ob-top, 50px) + 43px); overflow-x: auto; }
  .ob-bpanel { padding: 14px 12px 30px; }
  .ob-av { display: none; }
  .ob-msg { max-width: 100%; }
  .lst-map { flex-basis: 84px; }
  .found { grid-template-columns: 1fr; gap: 2px; }
  .found dd { margin-bottom: 6px; }
  .run { grid-template-columns: 1fr; }
  .jr-lanes { grid-template-columns: 1fr; gap: 3px; }
  .jr-lanes dd { margin-bottom: 4px; }
  .ob-foot { display: none; }
}
@media (max-width: 360px) {
  #ob-know-lead { display: none; }
  .ob-know.done #ob-know-lead { display: inline; }
  .ob-know.done .ok-ic, .ob-know { overflow: hidden; }
  .ob-top .small-link { font-size: 12px; }
}
@media (max-width: 560px) {
  .ob-top .lang-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ob-top .btn .lbl, #ob-know-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ob-top .brand-name > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-msg, .jr-step, .rv { animation: none; }
  .ob-know-bar i { transition: none; }
  .ob-typing i, .ob-status svg { animation: none; }
}

/* ---------- Research team ---------- */
.rs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rs-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.rs-ic { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; margin-top: 1px; }
.rs-ic svg { width: 11px; height: 11px; }
.rs-row.done .rs-ic { border-color: var(--pos); background: var(--pos); color: var(--surface); }
.rs-row.run .rs-ic { border-color: var(--check); }
.rs-spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--check); border-right-color: transparent; animation: rs-spin .9s linear infinite; }
@keyframes rs-spin { to { transform: rotate(360deg); } }
.rs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text2); }
.rs-body > b { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.rs-body .chip { font-size: 11px; }
.rs-found, .rs-coming { display: flex; gap: 6px; align-items: flex-start; }
.rs-found { color: var(--ink); }
.rs-found svg, .rs-coming svg { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 3px; color: var(--accent-text); }
.rs-coming { color: var(--text3); }
.rs-coming svg { color: var(--text3); }
.rs-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text2); }
.rs-mini li { display: flex; gap: 8px; align-items: flex-start; }
.rs-mini svg { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 3px; color: var(--check); }
.rs-mini b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .rs-spin { animation: none; } }

/* ---------- Quick answers ---------- */
.ob-sugs { display: flex; flex-direction: column; gap: 6px; }
.ob-sug-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-sug { font: 500 13.5px/1.3 var(--f-body); text-align: left; color: var(--ink); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 12px; padding: 9px 13px; cursor: pointer; max-width: 100%; }
.ob-sug:hover { background: var(--sel); border-color: var(--accent); }
.ob-sug:first-child { background: var(--sel); }

/* ---------- Profile and plan ---------- */
.card-h b svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--accent-text); }
.pf .found { grid-template-columns: 130px 1fr; }
.pf-board { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; grid-template-columns: 130px 1fr; }
.km-h { font-size: 14px; margin-top: 4px; }
.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pl-list > li { display: flex; flex-direction: column; gap: 4px; }
.pl-list > li + li { border-top: 1px solid var(--line); padding-top: 10px; }
.pl-list > li > b { font-size: 13.5px; font-weight: 600; }
.pl-list > li > b .chip { font-size: 10.5px; margin-left: 4px; vertical-align: 1px; }
.pl-ch { font: 500 11.5px/1.4 var(--f-mono); color: var(--text3); }
.pl-why { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--text2); }
.pl-why svg { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 3px; color: var(--accent-text); }
.chain { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.chain li { position: relative; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--sunken); color: var(--ink); }
.chain li + li { margin-left: 16px; }
.chain li + li::before { content: '→'; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); color: var(--text3); }
.pl-sec { display: flex; flex-direction: column; gap: 8px; }
.pl-sec h3 { display: flex; align-items: center; gap: 7px; font-size: 14.5px; }
.pl-sec h3 svg { width: 15px; height: 15px; color: var(--accent-text); }
.pl-sec h3 span { font: 400 12px/1 var(--f-body); color: var(--text3); }
.pl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; }
.pl-item.off { opacity: .55; }
.pl-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pl-top b { font-size: 13.5px; font-weight: 600; }
.pl-top .chip { font-size: 11px; }

/* ---------- Team view ---------- */
.tv { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px 56px; align-items: start; }
.tv-wires { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 0; }
.tv-wires .w { fill: none; stroke: var(--text3); stroke-width: 2; stroke-dasharray: 4 5; opacity: .6; }
.tv-wires .w[data-dept="customers"] { stroke: var(--accent); }
.tv-wires .w[data-dept="ads"] { stroke: var(--check); }
.tv-wires .w[data-dept="data"] { stroke: var(--hot); }
.tv-wires .w[data-dept="front"] { stroke: var(--text2); stroke-dasharray: none; animation: none; }
.tv-wires .w.on { stroke-dasharray: 7 6; opacity: 1; animation: tv-flow 1.2s linear infinite; }
.tv-wires .w.dim { opacity: .15; }
.tv-wires .w.hl { stroke-width: 3; opacity: 1; }
@keyframes tv-flow { to { stroke-dashoffset: -13; } }
.tv-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tv-h { font: 500 10.5px/1.4 var(--f-mono); color: var(--text3); text-transform: uppercase; letter-spacing: .04em; }
.tv-node { font: inherit; text-align: left; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; min-width: 0; }
.tv-node:hover { border-color: var(--line2); }
.tv-node.hl { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.tv-node b { font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tv-node > span { font-size: 11.5px; color: var(--text3); }
.tv-app { border-style: dashed; }
.tv-app > span { padding-left: 14px; }
.tv-app.on { border-style: solid; }
.tv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); flex: 0 0 8px; }
.tv-app.on .tv-dot { background: var(--pos); }
.tv-people { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-person { flex: 1 1 120px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.tv-person > span:not(.tv-av) { flex-basis: 100%; }
.tv-av { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: 0 0 24px; }
.tv-team { margin-top: 0; border: 1.5px solid var(--line2); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.tv-clicky { display: flex; gap: 10px; align-items: center; padding: 4px 4px 6px; cursor: pointer; }
.tv-clicky .ob-av { margin: 0; display: grid; }
.tv-clicky b { display: block; font-size: 13.5px; }
.tv-clicky span span { font-size: 11.5px; color: var(--text3); }
.tv-dept { border-left: 4px solid var(--c); border-style: dashed dashed dashed solid; }
.tv-dept.on { border-style: solid; }
.tv-dept b i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.tv-dept[data-node="customers"] b i { background: var(--accent) !important; }
.tv-dept[data-node="ads"] b i { background: var(--check) !important; }
.tv-dept[data-node="data"] b i { background: var(--hot) !important; }
.tv-h2 { margin-top: 22px; }
.tv-st { font: 500 10.5px/1.4 var(--f-mono) !important; color: var(--text3); }
.tv-dept.on .tv-st { color: var(--pos); }
.tv-checks { display: flex; gap: 6px; align-items: center; font-size: 11.5px; color: var(--text3); padding: 2px 4px; }
.tv-checks svg { width: 12px; height: 12px; }
.tv-group { background: var(--sel); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.tv-wait { font-size: 12px; color: var(--text3); }
.tv-to { color: var(--text2) !important; }
.tv-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text2); }
.tv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tv-legend i { width: 22px; height: 0; border-top: 2px solid var(--text2); display: inline-block; }
.tv-legend i.l-off { border-top-style: dashed; opacity: .7; }
.tv-cap { font-size: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.tv-cap.hint { color: var(--text3); background: none; border: 0; padding: 0; }
.tv.narrow { grid-template-columns: 1fr; gap: 16px; }
.tv.narrow .tv-wires { display: none; }
.tv.narrow .tv-c2 { order: -1; }
.tv.narrow .tv-team { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .tv-wires .w.on { animation: none; } }
@media (max-width: 900px) { .pf .found, .pf-board { grid-template-columns: 1fr; } }

/* ---------- Working for you ---------- */
.ob-work { padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.wk-now { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text2); }
.wk-now b { color: var(--ink); font-weight: 600; }
.wk-pulse { position: relative; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.wk-pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: wk-ping 1.6s ease-out infinite; }
.wk-now.on .wk-pulse { background: var(--pos); }
.wk-now.on .wk-pulse::after { border-color: var(--pos); }
@keyframes wk-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wk-nums { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; }
.wk-nums li { display: flex; align-items: baseline; gap: 5px; font-size: 11.5px; color: var(--text3); }
.wk-nums b { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- The marketing engine ---------- */
.eng { border-radius: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.eng-h { display: flex; flex-direction: column; gap: 2px; }
.eng-h b { font-family: var(--f-head); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.eng-h b svg { width: 15px; height: 15px; color: var(--accent-text); }
.eng-h span { font-size: 12.5px; color: var(--text2); }
.eng-row { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: stretch; padding: 10px; border-radius: 12px; background: var(--bg); overflow: hidden; }
.eng-name { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.eng-name b { font-size: 13px; }
.eng-name span { font: 500 10.5px/1.4 var(--f-mono); color: var(--text3); text-transform: uppercase; letter-spacing: .04em; }
.eng-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; position: relative; z-index: 1; }
.eng-step { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px 9px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line2); font-size: 11.5px; min-width: 0; }
.eng-step + .eng-step::before { content: ''; position: absolute; left: -9px; top: 50%; width: 9px; border-top: 2px solid var(--line2); }
.eng-step b { font-size: 12px; font-weight: 600; line-height: 1.3; }
.eng-who { color: var(--text3); display: flex; align-items: center; gap: 5px; }
.eng-who::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: 0 0 7px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.eng-st { font: 500 10px/1.4 var(--f-mono); color: var(--text3); }
.eng-step.s-idle { opacity: .55; }
.eng-step.s-off { opacity: .45; }
.eng-step.s-plan { border-style: solid; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.eng-step.s-plan .eng-st { color: var(--accent-text); }
.eng-step.s-on { border-style: solid; border-color: var(--pos); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pos) 14%, transparent); }
.eng-step.s-on .eng-st { color: var(--pos); }
.eng-step.s-wait { border-style: solid; border-color: var(--check); }
.eng-step.s-wait .eng-st { color: var(--check); }
.eng-step.s-fixed { border-style: solid; }
.eng-row .eng-run { display: none; }
.eng-row.live .eng-run { display: block; position: absolute; left: 102px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 10px var(--pos); animation: eng-run 3.2s linear infinite; z-index: 2; }
@keyframes eng-run { from { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { transform: translateX(calc(100cqw - 130px)); opacity: 0; } }
.eng-row { container-type: inline-size; }

/* ---------- Built for marketing ---------- */
.xp { gap: 12px; }
.xp-sec { display: flex; flex-direction: column; gap: 4px; }
.xp-sec ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.xp-sec p { font-size: 13px; }
.xp-bench { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: baseline; }
.xp-bench .mono { font-size: 13px; color: var(--ink); }
.xp-base { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text2); padding-top: 8px; border-top: 1px solid var(--line); }
.xp-base svg { width: 14px; height: 14px; color: var(--pos); flex: 0 0 14px; }

@media (max-width: 900px) {
  .ob-work { padding: 10px 12px; }
  .eng-row { grid-template-columns: 1fr; }
  .eng-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eng-step + .eng-step::before { display: none; }
  .eng-row.live .eng-run { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wk-pulse::after, .eng-row.live .eng-run { animation: none; } .eng-row.live .eng-run { display: none; } }
.jr-gap.fixed { background: var(--pos-soft); }
.jr-gap.fixed svg { color: var(--pos); }
.jr-gap.fixed s { color: var(--text3); text-decoration-color: var(--text3); }

/* ---------- Intro: what you can do ---------- */
.intro { max-width: 640px; }
.in-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.in-grid li { display: flex; flex-direction: column; gap: 6px; }
.in-tile { font: inherit; text-align: left; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; height: 100%; }
.in-tile:hover { border-color: var(--line2); }
.in-tile[aria-expanded="true"] { border-color: var(--accent); background: var(--sel); }
.in-tile > svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--accent-text); margin-top: 1px; }
.in-tile b { display: block; font-size: 13px; font-weight: 600; }
.in-tile span span { font-size: 12px; color: var(--text2); line-height: 1.4; }
.in-ex { font-size: 12.5px; color: var(--ink); background: var(--surface); border-left: 3px solid var(--accent); padding: 6px 10px; border-radius: 0 8px 8px 0; }

/* ---------- The board in the chat ---------- */
.ob-card.cb { max-width: 760px; width: 100%; padding: 12px; gap: 8px; }
.cb-bar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.cb-jump { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-jump .tgl { font: 500 12px/1 var(--f-body); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); cursor: pointer; }
.cb-jump .tgl[aria-pressed="true"] { background: var(--sel); border-color: var(--accent); }
.cb-zoom { display: flex; gap: 4px; align-items: center; }
.cb-zoom .mono { font-size: 11.5px; min-width: 40px; text-align: center; color: var(--text2); }
.cb-zoom .icon-btn { width: 28px; height: 28px; }
.cb-zoom .icon-btn svg { width: 14px; height: 14px; }
.cb-zoom .btn svg { width: 13px; height: 13px; }
.cb-board { position: relative; height: 440px; border-radius: 12px; overflow: hidden; background-color: var(--bg); background-image: radial-gradient(var(--dots) 1.2px, transparent 1.2px); background-size: 18px 18px; border: 1px solid var(--line); touch-action: pan-y; cursor: pointer; }
.cb-board.active { touch-action: none; cursor: grab; }
.cb-board.dragging { cursor: grabbing; }
.cb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cb-frame { position: absolute; border: 1.5px dashed var(--line2); border-radius: 18px; background: color-mix(in srgb, var(--surface) 45%, transparent); }
.cb-frame > span { position: absolute; left: 22px; top: 16px; font: 600 22px/1 var(--f-head); color: var(--ink); letter-spacing: -0.01em; }
.cb-frame { cursor: zoom-in; }
.cb-wires { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.cb-wires .w { fill: none; stroke: var(--text3); stroke-width: 2.5; stroke-dasharray: 6 6; opacity: .6; }
.cb-wires .w.on { opacity: 1; stroke-dasharray: 9 7; animation: tv-flow 1.2s linear infinite; }
.cb-wires .w[data-dept="customers"] { stroke: var(--accent); }
.cb-wires .w[data-dept="ads"] { stroke: var(--check); }
.cb-wires .w[data-dept="data"] { stroke: var(--hot); }
.cb-wires .w[data-dept="front"] { stroke: var(--text2); }
.cb-wires .w.dim { opacity: .12; }
.cb-wires .w.hl { stroke-width: 4; opacity: 1; }
.cb-n { position: absolute; font: inherit; text-align: left; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; overflow: hidden; box-shadow: var(--note-shadow); }
.cb-n:hover { border-color: var(--line2); }
.cb-n.hl { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.cb-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cb-t b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.cb-t > span { font-size: 12.5px; color: var(--text2); line-height: 1.35; }
.cb-who { font-size: 12px !important; color: var(--text3) !important; }
.cb-st { font: 500 11px/1.3 var(--f-mono) !important; color: var(--text3) !important; }
.cb-gap { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--hot-soft); color: var(--hot); }
.cb-gap.ok { background: var(--pos-soft); color: var(--pos); }
.cb-gap svg { width: 13px; height: 13px; }
.k-app { border-style: dashed; }
.k-app.on { border-style: solid; border-color: color-mix(in srgb, var(--pos) 60%, var(--line)); }
.k-dept { border-left-width: 6px; }
.k-dept.d-customers { border-left-color: var(--accent); }
.k-dept.d-ads { border-left-color: var(--check); }
.k-dept.d-data { border-left-color: var(--hot); }
.k-clicky { background: var(--sel); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); align-items: center; }
.k-clicky .ob-av { margin: 0; }
.k-group { background: var(--sel); }
.k-note { background: transparent; border-style: dashed; box-shadow: none; align-items: center; }
.k-note b { font-size: 12.5px; font-weight: 500; color: var(--text2); }
.cb-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; pointer-events: none; }
.cb-hint svg { width: 13px; height: 13px; }
.cb-board.active .cb-hint { display: none; }
.cb-cap { font-size: 13px; color: var(--ink); background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.ob-card.cb.full { position: fixed; inset: 12px; max-width: none; z-index: 50; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.ob-card.cb.full .cb-board { height: auto; flex: 1; }
body.cb-open { overflow: hidden; }
@media (max-width: 900px) {
  .in-grid { grid-template-columns: 1fr; }
  .cb-board { height: 340px; }
  .ob-card.cb.full { inset: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .cb-wires .w.on { animation: none; } }

/* ---------- Past campaigns (Campaign History) ---------- */
.pa .pa-toggle { align-self: flex-start; font-size: 13px; }
.pa-list { list-style: none; margin: 0; padding: 0; display: none; flex-direction: column; gap: 12px; }
.pa.open .pa-list { display: flex; }
.pa-ad { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.pa-pic { position: relative; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center; font-size: 11.5px; color: var(--note-ink); overflow: hidden; }
.pa-pic.s-square { aspect-ratio: 1; }
.pa-pic.s-wide { aspect-ratio: 1.91; }
.pa-pic > svg { width: 20px; height: 20px; opacity: .7; }
.pa-banner { position: absolute; left: 0; right: 0; top: 0; padding: 7px 4px; background: #D92D20; color: #FFF; font: 800 15px/1 var(--f-head); font-style: normal; letter-spacing: .02em; }
.pa-tag { position: absolute; left: 6px; bottom: 6px; font: 600 10px/1 var(--f-body); font-style: normal; padding: 4px 6px; border-radius: 5px; background: rgba(0,0,0,.55); color: #FFF; }
.pa-tag.ok { background: var(--pos); }
.pa-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 13px; }
.pa-body > b { font-size: 13.5px; }
.pa-nums { font-size: 11.5px; color: var(--text3); }
.pa-body ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; }
.pa-look li::marker { color: var(--accent); }
.pa-ad.best .pa-look li::marker { color: var(--pos); }
@media (max-width: 900px) { .pa-ad { grid-template-columns: 96px 1fr; } }
.pa-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--sunken); }
