/* CKS app prototypes — product UI on the v3 tokens (css/v3.css supplies colors, fonts, .btn, .tag). */
body { font: 400 14px/1.5 var(--font); letter-spacing: -.005em; }
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.panel, .card { background: rgba(var(--fg-rgb), .045); border-radius: 18px; }
.hair { box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .08); }

/* sidebar */
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-right: 1px solid rgba(var(--fg-rgb), .07); }
.side .brand { padding: 4px 8px 18px; }
.side .brand svg { width: auto; height: 20px; }
.side__site { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 14px; border-radius: 12px; background: rgba(var(--fg-rgb), .05); border: 0; color: var(--bone); font: inherit; text-align: left; cursor: pointer; }
.side__site b { font-weight: 400; display: block; }
.side__site small { color: var(--ash); font-size: 12px; }
.side__site i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--teal), var(--cobalt)); flex: none; }
.side a.nav-i { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--mist); text-decoration: none; font-size: 14px; }
.side a.nav-i:hover { background: rgba(var(--fg-rgb), .05); color: var(--bone); }
.side a.nav-i[aria-current="page"] { background: rgba(var(--fg-rgb), .08); color: var(--bone); }
.side a.nav-i svg { width: 16px; height: 16px; opacity: .8; flex: none; }
.side a.nav-i .count { margin-left: auto; font-size: 11px; font-weight: 600; background: var(--cobalt); color: #fff; border-radius: 999px; padding: 1px 7px; }
.side__group { margin: 14px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.side__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 6px 0; font-size: 12px; color: var(--ash); }

/* main */
.main { padding: 28px clamp(20px, 3vw, 44px) 80px; min-width: 0; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.top h1 { margin: 0; font-weight: 400; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; line-height: 1.05; }
.top p { margin: 8px 0 0; color: var(--mist); max-width: 640px; }
.top__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(var(--fg-rgb), .06); }
.seg button { border: 0; background: none; color: var(--mist); font: 500 13px/1 var(--font); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--bone); color: var(--void); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 12px; }
.btn--quiet { background: rgba(var(--fg-rgb), .08); color: var(--bone); }
.btn--quiet:hover { background: rgba(var(--fg-rgb), .14) !important; }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ash); padding: 6px 12px; border-radius: 999px; background: rgba(var(--fg-rgb), .05); }
.demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }

/* grids */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 18px; }
.kpi .k-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ash); }
.kpi .k-src { margin-left: auto; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); opacity: .8; }
.kpi b { display: block; margin-top: 10px; font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.kpi .delta { margin-top: 8px; font-size: 12px; }
.up { color: #36c28f; } .down { color: var(--coral); } .flat { color: var(--ash); }
:root[data-theme="light"] .up { color: #0f8a5f; }
.row2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.card { padding: 20px; }
.card h2 { margin: 0; font-weight: 400; font-size: 18px; letter-spacing: -.02em; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__head small { color: var(--ash); font-size: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--mist); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 3px; border-radius: 2px; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart text { fill: var(--ash); font: 11px var(--font); }
svg.chart .grid line { stroke: rgba(var(--fg-rgb), .08); }

/* lists and tables */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(var(--fg-rgb), .06); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex: none; }
.list p { margin: 0; }
.list small { color: var(--ash); display: block; margin-top: 2px; font-size: 12px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); padding: 0 12px 10px; white-space: nowrap; }
.t td { padding: 12px; border-top: 1px solid rgba(var(--fg-rgb), .06); vertical-align: middle; }
.t tr.click { cursor: pointer; }
.t tr.click:hover td { background: rgba(var(--fg-rgb), .03); }
.t .num { text-align: right; font-variant-numeric: tabular-nums; }
.t .topic { display: flex; align-items: center; gap: 10px; }
.t .topic i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cat { font-size: 12px; color: var(--ash); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(var(--fg-rgb), .07); white-space: nowrap; }
.pill--ok { color: #36c28f; background: rgba(54, 194, 143, .12); }
.pill--gap { color: var(--saffron); background: rgba(155, 135, 245, .12); }
.pill--bad { color: var(--coral); background: rgba(239, 91, 63, .12); }
.pill--info { color: var(--cobalt-hi); background: rgba(79, 123, 255, .13); }
:root[data-theme="light"] .pill--ok { color: #0f7a55; }
.spark { width: 90px; height: 26px; }
.bar { height: 6px; border-radius: 3px; background: rgba(var(--fg-rgb), .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; }

/* score ring */
.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 400; font-size: 40px; letter-spacing: -.04em; }
.ring b small { display: block; font-size: 11px; color: var(--ash); letter-spacing: .04em; text-transform: uppercase; margin-top: -18px; }

/* drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); z-index: 50; background: var(--void); border-left: 1px solid rgba(var(--fg-rgb), .1); padding: 28px; overflow: auto; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.is-open { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .4); }
.drawer__close { position: absolute; top: 18px; right: 18px; }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transition: opacity .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }

/* kanban */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.col { padding: 14px; min-height: 380px; }
.col h3 { margin: 0 0 12px; display: flex; justify-content: space-between; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.draft { display: block; width: 100%; text-align: left; padding: 14px; margin-bottom: 10px; border-radius: 14px; border: 0; background: rgba(var(--fg-rgb), .06); color: var(--bone); font: inherit; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.draft:hover { background: rgba(var(--fg-rgb), .1); transform: translateY(-1px); }
.draft b { display: block; font-weight: 400; font-size: 15px; letter-spacing: -.01em; }
.draft small { display: block; margin-top: 8px; color: var(--ash); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(var(--fg-rgb), .07); color: var(--mist); }

/* views */
.view { display: none; animation: rise .5s var(--ease); }
.view.is-active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* connections */
.conn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.conn .card { display: flex; flex-direction: column; gap: 10px; }
.conn__top { display: flex; align-items: center; gap: 12px; }
.conn__logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: #fff; flex: none; }
.conn p { margin: 0; color: var(--mist); }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6; padding: 12px 14px; border-radius: 12px; background: rgba(var(--fg-rgb), .06); color: var(--mist); overflow-x: auto; white-space: pre; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: opacity .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(440px, 100%); padding: 28px; border-radius: 22px; background: var(--void); box-shadow: 0 0 0 1px rgba(var(--fg-rgb), .1), 0 40px 100px rgba(0, 0, 0, .5); }
.modal__box h2 { margin: 0 0 8px; font-weight: 400; font-size: 24px; letter-spacing: -.03em; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; color: var(--mist); }
.check::before { content: "✓"; color: #36c28f; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--bone); color: var(--void); font-weight: 500; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row2, .row3, .conn { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid rgba(var(--fg-rgb), .07); }
  .side__group, .side__foot, .side__site { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: 1fr; }
  .t { font-size: 12.5px; }
}

/* chart draw-in */
svg.chart path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.ring-arc { transition: stroke-dashoffset 1.2s var(--ease); animation: ring 1.4s var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { from { stroke-dashoffset: 402; } }
@media (prefers-reduced-motion: reduce) { svg.chart path.draw, .ring-arc, .view { animation: none; stroke-dashoffset: 0; } }
.main:focus { outline: none; }
.kpi .k-label { flex-direction: column; align-items: flex-start; gap: 3px; }
.kpi .k-src { margin-left: 0; }

/* before / after */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.diff > div { padding: 12px 14px; border-radius: 12px; }
.diff .label { display: block; margin-bottom: 4px; font-size: 10.5px; }
.diff p { margin: 0; font-size: 14px; }
.diff__b { background: rgba(239, 91, 63, .08); }
.diff__b p { color: var(--mist); text-decoration: line-through; text-decoration-color: rgba(239, 91, 63, .6); }
.diff__a { background: rgba(54, 194, 143, .09); }

/* video */
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, #0e2a3c, #1c1330); display: grid; place-items: center; overflow: hidden; }
.vid__play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: 20px; }
.vid__bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.vid__bar i { display: block; height: 100%; width: 0; background: var(--saffron); transition: width 1.3s var(--ease); }

/* switch */
.switch { width: 44px; height: 26px; border-radius: 13px; border: 0; padding: 3px; background: rgba(var(--fg-rgb), .16); cursor: pointer; flex: none; transition: background-color .2s; }
.switch i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--bone); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--cobalt); }
.switch[aria-checked="true"] i { transform: translateX(18px); background: #fff; }

/* knowledge map */
svg.kmap { width: 100%; height: auto; display: block; }
.kmap text { fill: var(--mist); font: 11px var(--font); }
.kmap text.mt { fill: var(--bone); font-weight: 500; font-size: 12px; }
.kmap .ml { stroke-width: 1.4; opacity: .35; transition: opacity .25s; }
.kmap .mn { cursor: pointer; transition: opacity .25s; outline: none; }
.kmap.is-focus .ml { opacity: .06; }
.kmap.is-focus .mn { opacity: .25; }
.kmap.is-focus .ml.on { opacity: 1; stroke-width: 2; }
.kmap.is-focus .mn.on { opacity: 1; }
@media (max-width: 760px) { .diff { grid-template-columns: 1fr; } }

/* ---------- Topicweave look (2026-10-01) ---------- */
.top h1, .modal__box h2, .drawer h2, .card h2, .kpi b, .ring b { font-family: var(--serif, inherit); }
.top h1 { font-weight: 400; letter-spacing: -.02em; }
.card h2 { font-weight: 450; letter-spacing: -.005em; }
.kpi b, .ring b { font-weight: 400; letter-spacing: -.03em; }
.panel, .card { border-radius: 4px; }
.draft, .seg, .seg button, .side a.nav-i, .side__site, .pill, .chip, .modal__box, .code, .demo-note { border-radius: 3px; }
.side a.nav-i[aria-current="page"] { box-shadow: inset 2px 0 0 var(--saffron); }

/* light theme: small labels and change figures readable on paper */
:root[data-theme="light"] .kpi .k-src { opacity: 1; }
:root[data-theme="light"] .up, :root[data-theme="light"] .pill--ok { color: #0b6b4a; }
:root[data-theme="light"] .down, :root[data-theme="light"] .pill--bad { color: #a8301a; }
:root[data-theme="light"] .pill--gap { color: #6b3fa0; }
:root[data-theme="light"] .diff .label, :root[data-theme="light"] .draft small { color: #4a5663; }
.conn__logo { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }

@media (max-width: 760px) {
  /* a compact nav strip instead of a 19-link list; the theme toggle stays reachable */
  .side { position: sticky; top: 0; z-index: 30; flex-direction: row; flex-wrap: nowrap; align-items: center; overflow-x: auto; gap: 4px; padding: 10px 12px;
    background: var(--void); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .side::-webkit-scrollbar { display: none; }
  .side .brand { padding: 0 8px 0 2px; flex: none; }
  .side .brand .brand__word, .side .brand span { display: none; }
  .side a.nav-i { flex: none; white-space: nowrap; padding: 8px 10px; }
  .side a.nav-i[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--saffron); }
  .side__foot { display: flex; order: -1; margin: 0 4px 0 0; padding: 0; flex: none; }
  .side__foot > span { display: none; }
  /* views that set their own columns inline stack on phones */
  .main [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  /* wide tables scroll sideways inside their card, with a fade as the hint */
  .card:has(> table.t), .card:has(> div > table.t) { overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  table.t { min-width: 600px; }
  .code { white-space: pre-wrap; word-break: break-word; }
  svg.kmap { max-width: 100%; height: auto; }
  .main { padding-left: 16px; padding-right: 16px; }
  .ghost { min-height: 32px; }
}
/* phone app: serif screen titles */
.intro h1, .sc h2 { font-family: var(--serif, inherit); letter-spacing: -.02em; }
.kpi .k-src { opacity: 1; }
.conn__logo[style*="139E8A"] { background: #0b7a6b !important; }
.conn__logo[style*="EF5B3F"] { background: #c23a20 !important; }
@media (max-width: 760px) {
  .side #sidenav { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 2px; flex: none; }
  .side #sidenav .side__group { display: none; }
  .side .brand { display: inline-flex; }
}

@media (max-width: 760px) { .side .brand svg.brand__logo { height: 16px; } }

html, body, * { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; }

/* B115: back out of the prototypes (app/back.js) */
.tw-back { position: fixed; z-index: 50; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px 0 12px; font: 500 13px/1 var(--font); color: var(--bone); text-decoration: none;
  background: rgba(var(--bg-rgb), .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .14), 0 10px 30px rgba(0, 0, 0, .25); transition: box-shadow .2s, transform .2s; }
.tw-back[hidden] { display: none; }
.tw-back svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.tw-back:hover { box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .6), 0 10px 30px rgba(0, 0, 0, .25); }
.tw-back:hover svg { transform: translateX(-3px); }
.tw-back:focus-visible { outline: 2px solid var(--loom-accent, #9b87f5); outline-offset: 3px; }

/* B122: prototype switcher (app/back.js) */
.protos { display: inline-flex; align-items: stretch; flex-wrap: wrap; background: var(--glass, rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px var(--glass-line, rgba(255,255,255,.1));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 12.5px/1 var(--font); }
.protos__k { display: flex; align-items: center; padding: 0 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); box-shadow: inset -1px 0 0 var(--glass-line, rgba(255,255,255,.1)); }
.protos a { display: flex; align-items: center; height: 34px; padding: 0 12px; color: var(--ash); text-decoration: none; transition: color .2s, background-color .2s; position: relative; }
.protos a:hover { color: var(--bone); background: rgba(155, 135, 245, .06); }
.protos a[aria-current="page"] { color: var(--bone); background: rgba(155, 135, 245, .1); }
.protos a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--loom-accent, #9b87f5); }
@media (max-width: 560px) { .protos__k { display: none; } .protos a { padding: 0 9px; } }

/* B124: dashboard facelift, in the site's look */
.app { position: relative; isolation: isolate; }
.app::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(91, 69, 201, .14), transparent 70%), radial-gradient(50% 45% at 30% 100%, rgba(19, 158, 138, .07), transparent 70%),
    linear-gradient(rgba(var(--fg-rgb), .03) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(var(--fg-rgb), .03) 1px, transparent 1px) 0 0 / 56px 56px; }
:root[data-theme="light"] .app::before { background: radial-gradient(60% 50% at 85% 0%, rgba(91, 69, 201, .09), transparent 70%), radial-gradient(50% 45% at 30% 100%, rgba(19, 158, 138, .06), transparent 70%),
    linear-gradient(rgba(11, 27, 43, .045) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(11, 27, 43, .045) 1px, transparent 1px) 0 0 / 56px 56px; }
.app .panel, .app .card, .app .col { border-radius: 0; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-shadow); }
.app .draft { border-radius: 0; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--glass-line); }
.app .draft:hover { background: rgba(155, 135, 245, .07); box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .45); transform: none; }
.app .card h2 { font-family: var(--serif, "Fraunces", Georgia, serif); font-size: 19px; letter-spacing: -.01em; }
.app .kpi b { font-family: var(--serif, "Fraunces", Georgia, serif); letter-spacing: -.02em; }
.app .col h3 { color: var(--ash); }
/* sidebar: glass, the current section tinted with a lilac edge */
.side { background: rgba(var(--bg-rgb), .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-right: 1px solid var(--glass-line, rgba(var(--fg-rgb), .07)); }
.side a.nav-i { border-radius: 0; }
.side a.nav-i:hover { background: rgba(155, 135, 245, .06); }
.side a.nav-i[aria-current="page"] { background: rgba(155, 135, 245, .11); box-shadow: inset 2px 0 0 var(--loom-accent, #9b87f5); }
.side a.nav-i .count { border-radius: 0; }
.side__group { color: var(--loom-accent, #9b87f5) !important; }
:root[data-theme="light"] .side__group { color: #5b45c9 !important; }
.side__site { border-radius: 0 !important; background: var(--glass) !important; box-shadow: inset 0 0 0 1px var(--glass-line); }
/* date range: glass strip, the chosen one tinted with an underline (like the prototype switcher) */
.seg { border-radius: 0; padding: 0; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.seg button { border-radius: 0; padding: 10px 13px; position: relative; }
.seg button[aria-pressed="true"] { background: rgba(155, 135, 245, .12); color: var(--bone); }
.seg button[aria-pressed="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--loom-accent, #9b87f5); }
.app .pill, .app .chip { border-radius: 0; }
.app .demo-note { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.app .demo-note::before { background: var(--loom-accent, #9b87f5); }
.modal__box, .drawer { border-radius: 0; }
/* B125: the prototype bar (back + switcher) at the top of every prototype page */
.protobar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0 0 22px; }
.tw-back.tw-back--bar { position: static; height: auto; min-height: 34px; padding: 0 12px 0 10px; font-size: 12.5px; color: var(--mist); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.tw-back.tw-back--bar:hover { color: var(--bone); box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .5); }
@media (max-width: 560px) { .protobar .protos { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .protobar .protos a { flex: 1 0 auto; justify-content: center; white-space: nowrap; padding: 0 8px; font-size: 12px; } }

/* B134: floating back + Prototypes menu (when there's no room for the bar) */
.tw-float { position: fixed; z-index: 50; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 6px; align-items: stretch; }
.tw-float .tw-back { position: static; }
.tw-float__btn { display: grid; place-items: center; width: 38px; border: 0; cursor: pointer; color: var(--bone);
  background: rgba(var(--bg-rgb), .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .14), 0 10px 30px rgba(0, 0, 0, .25); }
.tw-float__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tw-float__btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .7), 0 10px 30px rgba(0, 0, 0, .25); }
.tw-pop { position: absolute; left: 0; bottom: calc(100% + 8px); min-width: 210px; padding: 6px; background: rgba(var(--bg-rgb), .92);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .14), 0 20px 50px rgba(0, 0, 0, .35); }
.tw-pop[hidden] { display: none; }
.protos.protos--list { display: grid; width: 100%; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.protos--list .protos__k { display: block; padding: 8px 10px 6px; box-shadow: none; }
.protos--list a { height: 40px; padding: 0 10px; font-size: 14px; }
.protos--list a[aria-current="page"]::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
/* B135: the floating back/menu sits under the page-change cloth (z 60/61) but above the app (its highest layer is 30) */

/* B140: the dashboard's section menu is solid (content scrolling under it on phones, or beside it, stays out of sight) */
.side { background: var(--void); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* B140: on phones the section strip sits at the top; content fades out under it instead of cutting off */
@media (max-width: 760px) { .side { box-shadow: 0 16px 18px -6px var(--void); z-index: 5; } }

/* B161: no jumping scrollbar while the page-change cloth is up */
@supports (-moz-appearance: none) { html.pw-arrive, html.pw-busy { scrollbar-color: transparent transparent; } }
html.pw-arrive::-webkit-scrollbar-thumb, html.pw-busy::-webkit-scrollbar-thumb { background: transparent; }

/* B172: bigger screens: no page-change cloth (phones only); the prototype fades in instead, and fades out on leaving */
@keyframes pg-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 600px) and (orientation: portrait), (min-width: 600px) and (min-height: 521px) {
  body { animation: pg-in .5s cubic-bezier(.2, .7, .2, 1) both; }
  html.pg-out body { opacity: 0; transition: opacity .38s cubic-bezier(.2, .7, .2, 1); animation: none; }
}
@media (prefers-reduced-motion: reduce) { body { animation: none !important; } }

/* sweep 2026-10-04 (B179, B181): phones */
@media (max-width: 760px) {
  /* a short view stretched the grid rows, so the nav strip grew taller (Video to chapters) */
  .app { align-content: start; }
  /* tables become stacked rows: the first cell as the row's title, every other value under its column name */
  .card:has(> table.t), .card:has(> div > table.t) { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  table.t { min-width: 0; }
  table.t, table.t tbody { display: block; }
  table.t thead { display: none; }
  table.t tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 0; border-top: 1px solid rgba(var(--fg-rgb), .07); }
  table.t tbody tr:first-child { border-top: 0; padding-top: 4px; }
  table.t td { display: block; padding: 0; border: 0; text-align: left !important; min-width: 0; }
  table.t td:first-child { grid-column: 1 / -1; font-size: 15px; }
  table.t td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
  table.t td.t-wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  table.t tr.click:hover td { background: none; }
}
/* B183: the service logos on Connections and the site switcher's swatch go square like everything else */
.conn__logo, .side__site i { border-radius: 0; }

/* B184: Video to chapters: the chapters card beside the video */
.vid__tick { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .7); }
.chap { list-style: none; margin: 0; padding: 0; display: grid; }
.chap li { border-top: 1px solid rgba(var(--fg-rgb), .07); opacity: .35; transition: opacity .4s var(--ease); }
.chap li:first-child { border-top: 0; }
.chap li.is-on { opacity: 1; }
.chap button { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; width: 100%; padding: 12px 6px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.chap button:disabled { cursor: default; }
.chap button:not(:disabled):hover, .chap button[aria-current="true"] { background: rgba(var(--fg-rgb), .05); }
.chap button[aria-current="true"] { box-shadow: inset 2px 0 0 var(--loom-accent, #9b87f5); }
.chap__t { font-variant-numeric: tabular-nums; color: var(--loom-accent, #9b87f5); font-weight: 500; }
:root[data-theme="light"] .chap__t { color: #5b45c9; }
.chap b { display: block; font-weight: 500; }
.chap small { display: block; margin-top: 2px; color: var(--ash); font-size: 13px; line-height: 1.45; }
.chap__note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; }

/* B187: cards answer the pointer, the site's way (Pricing packages): a separate card lifts 2px with a faint lilac edge;
   cells of a joined sheet (B188) tint instead of lifting. Clickable cards also show a small arrow. */
.app .card { transition: box-shadow .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease); }
a.card { display: block; color: inherit; text-decoration: none; }
.kpi .k-go { position: absolute; top: 18px; right: 18px; color: var(--loom-accent, #9b87f5); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .app .card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .4), 0 14px 36px rgba(91, 69, 201, .14); }
  .app :is(.kpis, .row2, .row3, .conn) > .card:hover { transform: none; background: rgba(155, 135, 245, .06); box-shadow: 1px 0 0 0 var(--glass-line), 0 1px 0 0 var(--glass-line); }
  .app :is(.kpis, .row2, .row3, .conn) > a.card:hover { box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .45); }
  .app a.card:hover .k-go { opacity: 1; transform: none; }
}
.app a.card:focus-visible { outline: 2px solid var(--loom-accent, #9b87f5); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .app .card, .kpi .k-go { transition: none; } .app .card:hover { transform: none; } }

/* B188: grids of cards become one seamless glass sheet, cells split by hairlines (like the site's steps, FAQ and footer) */
.app :is(.kpis, .row2, .row3, .conn) { gap: 0; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-shadow); overflow: hidden; }
.app :is(.kpis, .row2, .row3, .conn) > .card { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 1px 0 0 0 var(--glass-line), 0 1px 0 0 var(--glass-line); }
.app :is(.kpis, .row2, .row3, .conn) + :is(.kpis, .row2, .row3, .conn, .card) { margin-top: 12px; }

/* B186: card tips: a small glass note after resting on a card (desktop) or tapping its ⓘ (phones) */
.tip { position: fixed; z-index: 80; max-width: 290px; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; color: var(--bone);
  background: var(--glass, rgba(20, 20, 24, .9)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .45), 0 14px 36px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
:root[data-theme="dark"] .tip { background: rgba(14, 13, 22, .92); }
:root[data-theme="light"] .tip { background: rgba(250, 249, 246, .96); box-shadow: inset 0 0 0 1px rgba(91, 69, 201, .35), 0 14px 36px rgba(11, 27, 43, .14); }
.tip.is-on { opacity: 1; transform: none; }
.app .card { position: relative; }
.tipbtn { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  font: italic 600 13px/1 Georgia, serif; color: var(--loom-accent, #9b87f5); background: rgba(155, 135, 245, .1); box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .35); }
:root[data-theme="light"] .tipbtn { color: #5b45c9; }
:root[data-tips-off] .tipbtn, :root[data-tips-off] .tip { display: none; }
.tipsw[aria-pressed="true"] { color: var(--loom-accent, #9b87f5); }
:root[data-theme="light"] .tipsw[aria-pressed="true"] { color: #5b45c9; }
.side__foot { gap: 6px; }
.side__foot > span { margin-right: auto; }

/* B189: details open in the middle of the screen (were a panel from the right edge, a long way from the click on
   wide screens). Desktop: a centered glass window over a dimmed, softly blurred page. Phones: a sheet from the bottom. */
.drawer { top: 50%; left: 50%; right: auto; bottom: auto; width: min(640px, calc(100% - 48px)); max-height: min(84vh, 780px);
  border-left: 0; padding: 30px 32px; opacity: 0; visibility: hidden; transform: translate(-50%, -48%) scale(.98);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .3), 0 40px 120px rgba(0, 0, 0, .5); }
.drawer.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s;
  box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .3), 0 40px 120px rgba(0, 0, 0, .5); }
:root[data-theme="light"] .drawer, :root[data-theme="light"] .drawer.is-open { box-shadow: inset 0 0 0 1px rgba(91, 69, 201, .25), 0 40px 120px rgba(11, 27, 43, .22); }
.scrim { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (max-width: 760px) {
  .drawer { top: auto; bottom: 0; left: 0; width: 100%; max-height: 88vh; padding: 26px 20px calc(26px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .drawer.is-open { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer.is-open { transition: none; } }

/* B190: Search ideas: "Draft it" and "Dismiss" had no room between them */
.acts { display: inline-flex; align-items: center; gap: 16px; white-space: nowrap; }
.acts .ghost { font-size: 12px; }

/* B191: Review queue: each stage in its thread color, in the order work moves (lilac → coral → teal → cobalt).
   A colored bar on top of each column, a dot by its name, a thin edge on its cards. In review (needs you) is tinted
   and tagged; Published cards are quieter. The approval gate sits on the line between In review and Approved. */
.board--stages { position: relative; }
.col[data-stage="draft"] { --st: #9b87f5; } .col[data-stage="review"] { --st: #ef5b3f; }
.col[data-stage="approved"] { --st: #139e8a; } .col[data-stage="published"] { --st: #4f7bff; }
:root[data-theme="light"] .col[data-stage="draft"] { --st: #5b45c9; } :root[data-theme="light"] .col[data-stage="review"] { --st: #d2401f; }
:root[data-theme="light"] .col[data-stage="approved"] { --st: #0b7a6b; } :root[data-theme="light"] .col[data-stage="published"] { --st: #2f5bea; }
.app .col[data-stage] { box-shadow: inset 0 2px 0 var(--st), inset 0 0 0 1px var(--glass-line), var(--glass-shadow); }
.app .col[data-stage="review"] { background: linear-gradient(rgba(239, 91, 63, .07), transparent 60%), var(--glass); }
.col[data-stage] h3 { justify-content: flex-start; align-items: center; gap: 8px; color: var(--bone); }
.col[data-stage] h3 > span { margin-left: auto; color: var(--ash); }
.col__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--st); flex: none; }
.col__you { font-style: normal; font-size: 10px; letter-spacing: .06em; padding: 3px 6px; color: var(--st); box-shadow: inset 0 0 0 1px var(--st); }
.app .col[data-stage] .draft { box-shadow: inset 2px 0 0 var(--st), inset 0 0 0 1px var(--glass-line); }
.app .col[data-stage] .draft:hover { box-shadow: inset 2px 0 0 var(--st), inset 0 0 0 1px rgba(155, 135, 245, .45); }
.app .col[data-stage="published"] .draft { opacity: .78; }
.app .col[data-stage="published"] .draft:hover { opacity: 1; }
.gate { position: absolute; z-index: 2; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--bone); background: var(--void); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .22); }
.gate svg { width: 13px; height: 13px; color: #139e8a; }
@media (max-width: 1100px) { .gate { display: none; } }

/* B192: the woven knowledge map: threads on a canvas behind the SVG labels and hit areas */
.kmap-wrap { position: relative; }
.kmap-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
svg.kmap--woven { position: relative; }
.kmap--woven .ml { opacity: 0 !important; }
.kmap--woven .mn circle { fill: transparent !important; }
.kmap--woven .mn:focus-visible circle { stroke: var(--loom-accent, #9b87f5); stroke-width: 1.5; }
.kmap--woven.is-focus .mn { opacity: .35; } .kmap--woven.is-focus .mn.on { opacity: 1; }
.kmap-credit { position: relative; float: right; margin-top: 0; padding: 7px 0; /* a 30px tap area on phones */ display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ash); text-decoration: none; }
.kmap-credit i { width: 10px; height: 10px; background: conic-gradient(#9b87f5 0 25%, #ef5b3f 0 50%, #139e8a 0 75%, #4f7bff 0); }
.kmap-credit:hover { color: var(--bone); }
.kmap-wrap::after { content: ""; display: block; clear: both; }

/* B196: the small underlined links ("Review tag →") had the underline almost on the letters: more room under the text */
.app .ghost { padding-bottom: 5px; background-position: 0 100%; }
.app .ghost:hover, .app .ghost:focus-visible { animation-name: lab-underline; } /* the moving underline at the same height */

/* B197: the ⓘ no longer covers card text on phones: inside a header row it is the row's last item; in other cards it keeps the corner and the top line leaves room */
.tipbtn--inline { position: static; flex: none; margin-left: 10px; align-self: flex-start; }
.card__head:has(.tipbtn--inline) { align-items: flex-start; }
.has-tipbtn > :first-child { padding-right: 34px; }
.card__head:has(.tipbtn--inline) { justify-content: flex-start; }
.card__head:has(.tipbtn--inline) > small { margin-left: auto; text-align: right; }

/* B199: the ⓘ is a lilac "i" in a thin circle (no square chip); the tap area stays 30px around it */
.tipbtn { width: 30px; height: 30px; top: 6px; right: 6px; background: none; box-shadow: none; font: italic 600 12px/1 Georgia, serif; }
.tipbtn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px currentColor; }
.tipbtn--inline { margin-left: 6px; margin-top: -6px; margin-right: -8px; position: relative; top: auto; right: auto; }
:root[data-theme="light"] .tipbtn { color: #5b45c9; }

/* B205: the ⓘ is quieter until you reach for it */
.tipbtn { opacity: .55; transition: opacity .2s; }
.tipbtn:hover, .tipbtn:focus-visible, .tipbtn:active { opacity: 1; }

/* B202: phones: bottom tabs + a "More" hub instead of the long sideways strip (desktop unchanged) */
.mtabs, .mhub { display: none; }
@media (max-width: 760px) {
  .side #sidenav { display: none; }
  .side { justify-content: space-between; -webkit-mask-image: none; mask-image: none; }
  .side .brand .brand__word, .side .brand span { display: inline; }
  .side .brand svg { height: 18px; }
  .side__foot { order: 2; margin: 0; }
  .main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .mtabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 6px calc(12px + env(safe-area-inset-bottom, 0px)); background: #000;
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: inset 0 1px 0 var(--glass-line); }
  :root[data-theme="light"] .mtabs { background: #f7f5f0; } /* solid: nothing reads through the tab bar */
  .mtabs > * { position: relative; display: grid; justify-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; cursor: pointer;
    color: var(--ash); text-decoration: none; font: 500 11px/1.2 var(--font); }
  .mtabs svg { width: 21px; height: 21px; }
  .mtabs [aria-current="true"] { color: var(--bone); }
  .mtabs [aria-current="true"] svg { color: var(--tc); }
  :root[data-theme="light"] .mtabs [aria-current="true"] svg { color: var(--tcl); }
  .mtabs [aria-current="true"]::before { content: ""; position: absolute; top: -10px; left: 50%; width: 22px; height: 2px; margin-left: -11px; background: var(--tc); }
  :root[data-theme="light"] .mtabs [aria-current="true"]::before { background: var(--tcl); }
  .mt__badge { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center;
    font-size: 10px; font-weight: 600; color: #fff; background: var(--coral, #ef5b3f); }
  .mhub { display: block; position: fixed; inset: 0; z-index: 60; }
  .mhub[hidden] { display: none; }
  .mhub__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
  .mhub__sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    background: var(--void); box-shadow: inset 0 1px 0 rgba(155, 135, 245, .35), 0 -20px 60px rgba(0, 0, 0, .4); transform: translateY(100%); transition: transform .35s var(--ease); }
  .mhub.is-open .mhub__scrim { opacity: 1; } .mhub.is-open .mhub__sheet { transform: none; }
  .mhub__grip { width: 36px; height: 4px; margin: 2px auto 10px; background: rgba(var(--fg-rgb), .2); }
  .mhub__head { display: flex; align-items: center; justify-content: space-between; }
  .mhub__head b { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
  .mhub__x { width: 36px; height: 36px; border: 0; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); color: var(--bone); cursor: pointer; }
  .mhub__g { margin: 18px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--loom-accent, #9b87f5); }
  :root[data-theme="light"] .mhub__g { color: #5b45c9; }
  .mhub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); overflow: hidden; }
  .mhub__grid a { position: relative; display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 78px; padding: 12px 6px; text-align: center;
    color: var(--mist); text-decoration: none; font-size: 12px; line-height: 1.25; box-shadow: 1px 0 0 0 var(--glass-line), 0 1px 0 0 var(--glass-line); }
  .mhub__grid a svg { width: 20px; height: 20px; color: var(--bone); opacity: .85; }
  .mhub__grid a[aria-current="true"] { color: var(--bone); background: rgba(155, 135, 245, .1); box-shadow: inset 0 -2px 0 var(--loom-accent, #9b87f5), 1px 0 0 0 var(--glass-line), 0 1px 0 0 var(--glass-line); }
  .mhub__grid .mt__badge { top: 10px; left: auto; right: 12px; }
  html.mhub-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .mhub__sheet, .mhub__scrim { transition: none; } }

/* B206: small secondary text was 12px in the dim gray (#9a9a9a): same font as the site (Inter Tight 400), but faint.
   Descriptions under list rows are 13px in the lighter gray; the dim gray itself has more contrast in both themes. */
.app { --ash: #ababab; }
:root[data-theme="light"] .app { --ash: #4f5a65; }
.app .list small, .app .list p + small, .app .card > p.ash, .app .card > p.caption, .app td small, .app .grp small { font-size: 13px; line-height: 1.5; color: var(--mist); }
.app .card__head small { font-size: 12.5px; }

/* B209: Capture inbox: one joined sheet; each item a dot in its kind's thread color + kind + source and time on one
   line, the title, the text, its suggested tags under one label, and the two actions side by side */
.app .inbox { display: grid; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-shadow); overflow: hidden; }
.app .inbox > .inb { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 0 var(--glass-line); padding: 20px 22px; }
@media (hover: hover) and (pointer: fine) { .app .inbox > .inb:hover { transform: none; background: rgba(155, 135, 245, .05); box-shadow: 0 1px 0 0 var(--glass-line); } }
.inb[data-kind="call"] { --k: #9b87f5; } .inb[data-kind="voice"] { --k: #ef5b3f; } .inb[data-kind="link"] { --k: #139e8a; } .inb[data-kind="photo"] { --k: #4f7bff; } .inb[data-kind="email"] { --k: #9a9a9a; }
.inb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px; padding-right: 30px; font-size: 12.5px; color: var(--ash); }
.inb__meta b { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.inb__meta span::before { content: "·"; margin-right: 8px; }
.inb__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k); flex: none; }
.inb h2 { margin: 0; font-size: 19px; line-height: 1.25; }
.inb__body { margin: 8px 0 0; color: var(--mist); font-size: 14.5px; line-height: 1.55; max-width: 72ch; }
.inb__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-top: 14px; }
.inb__tags small { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.inb__tags .chips { margin: 0; }
.inb__acts { display: flex; align-items: center; gap: 18px; }
.inb__acts .ghost { font-size: 12px; }
@media (max-width: 760px) { .app .inbox > .inb { padding: 18px 16px; } .inb__acts { width: 100%; justify-content: space-between; } }

/* B210: on load a faint band showed across the glass number sheet (desktop): the whole view rose in as one fading
   group, and a glass blur can't sample the page behind it while an ancestor is mid-fade, so the sheet drew differently
   for half a second, then snapped. Each block now rises on its own (same motion), so no glass sits inside a fade. */
.view { animation: none; }
.view > * { animation: rise .5s var(--ease) both; }
.view > *:nth-child(2) { animation-delay: .04s; } .view > *:nth-child(3) { animation-delay: .08s; } .view > *:nth-child(n+4) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .view > * { animation: none; } }

/* B211: on load the background grid showed through every glass card: a card that fades in drops its glass blur until the
   fade ends (real graphics chips). Cards now rise in without fading (transform only), so the glass never loses its blur. */
@keyframes rise-t { from { transform: translateY(8px); } to { transform: none; } }
.view > * { animation-name: rise-t; }

/* B212: with no note on the right of a card's header, the ⓘ still goes to the top right */
.card__head:has(.tipbtn--inline):not(:has(> small)) > .tipbtn--inline { margin-left: auto; }

/* B213: the ⓘ is smaller and quieter (gray, not lilac) until you reach for it */
.tipbtn { opacity: .4; color: var(--ash) !important; font-size: 11px; }
.tipbtn::before { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; box-shadow: inset 0 0 0 1.1px currentColor; }
.tipbtn:hover, .tipbtn:focus-visible, .tipbtn:active { opacity: 1; color: var(--loom-accent, #9b87f5) !important; }
:root[data-theme="light"] .tipbtn:hover, :root[data-theme="light"] .tipbtn:focus-visible { color: #5b45c9 !important; }

/* B214: long status chips ("Going quiet: last piece 5 months ago") ran off narrow phones: chips wrap when they don't fit */
.app .pill, .app .chip { max-width: 100%; }
@media (max-width: 760px) { .app .pill, .app .chip { white-space: normal; line-height: 1.35; text-align: left; } }

/* B215: Link health score: ring and words side by side, centered in the card; on phones stacked and centered */
.hscore { display: flex; gap: 22px; align-items: center; justify-content: center; }
@media (max-width: 760px) { .hscore { flex-direction: column; text-align: center; gap: 16px; padding-top: 28px; padding-bottom: 26px; } .hscore p { max-width: 30ch; margin-left: auto !important; margin-right: auto !important; } }

/* B216: Link health groups: one seamless sheet; each group a dot in its severity color (fix = coral, gap = lilac,
   nudge = teal), the title with its count right beside it, the reason, the items, then the action as a short
   underlined link at the foot (was a gray block button squeezed beside the title) */
.app .hgroups { display: grid; margin-top: 12px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-shadow); overflow: hidden; }
.app .hgroups > .hg { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 0 var(--glass-line); }
@media (hover: hover) and (pointer: fine) { .app .hgroups > .hg:hover { transform: none; background: rgba(155, 135, 245, .04); box-shadow: 0 1px 0 0 var(--glass-line); } }
.hg[data-sev="bad"] { --sv: #ef5b3f; } .hg[data-sev="gap"] { --sv: #9b87f5; } .hg[data-sev="info"] { --sv: #139e8a; }
.hg .card__head { margin-bottom: 6px; }
.hg h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.hg__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sv); flex: none; }
.hg__n { font-family: var(--font); font-size: 12px; font-weight: 600; padding: 2px 7px; color: var(--sv); box-shadow: inset 0 0 0 1px var(--sv); white-space: nowrap; }
.hg__why { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--mist); max-width: 70ch; }
.hg__fix { margin-top: 10px; font-size: 12px; }
.hg__fix svg { width: 13px; height: 13px; margin-left: 4px; vertical-align: -2px; }

/* B217: the full draft in the detail window: a readable article */
.dr__meta { margin: 0 0 14px; font-size: 12.5px; color: var(--ash); }
.dr__body { font-size: 16px; line-height: 1.7; max-width: 62ch; }
.dr__body h3 { margin: 22px 0 6px; font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 20px; letter-spacing: -.01em; }
.dr__body p { margin: 0 0 12px; } .dr__body ul { margin: 0 0 12px; padding-left: 20px; } .dr__body li { margin: 4px 0; }
.dr__body mark.never { background: none; color: inherit; text-decoration: underline wavy #ef5b3f 2px; text-underline-offset: 4px; }

/* B218: phones: the card's two actions span the bottom 50/50, the main one on the right (thumb side), the other a
   glass button; on Search ideas the query is the card's serif title and the numbers sit quieter under it */
@media (max-width: 760px) {
  .acts, .inb__acts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .acts > .btn, .inb__acts > .btn { order: 2; justify-content: center; min-height: 44px; }
  .acts > .ghost, .inb__acts > .ghost { order: 1; display: grid; place-items: center; min-height: 44px; padding: 0 !important; background: var(--glass) !important;
    box-shadow: inset 0 0 0 1px var(--glass-line); color: var(--bone); font-size: 12px; animation: none !important; }
  .acts > .ghost svg, .inb__acts > .ghost svg { display: none; }
  .inb__foot { flex-direction: column; align-items: stretch; }
  table.t tr[data-idea] td:first-child { font-family: var(--serif, Georgia, serif); font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
  table.t tr[data-idea] td[data-label]:not(:first-child)::before { font-size: 10px; }
  table.t tr[data-idea] td.num { font-size: 14px; color: var(--mist); }
  table.t tr[data-idea] td.t-wide { margin-top: 6px; }
}
@media (max-width: 760px) { .acts > .ghost::after, .inb__acts > .ghost::after, .acts > .ghost::before, .inb__acts > .ghost::before { display: none !important; } }

/* B219: toasts in the brand: square dark glass with a lilac hairline and a small mark of the four thread colors,
   white text (was a white rounded pill with black text); above the phone tab bar */
.toast { border-radius: 0; display: inline-flex; align-items: center; gap: 10px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 16px 12px 14px;
  background: rgba(14, 13, 22, .94); color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.4;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .45), 0 14px 40px rgba(0, 0, 0, .35); }
.toast::before { content: ""; width: 10px; height: 10px; flex: none; background: conic-gradient(#9b87f5 0 25%, #ef5b3f 0 50%, #139e8a 0 75%, #4f7bff 0); }
:root[data-theme="light"] .toast { background: rgba(250, 249, 246, .97); color: #0b1b2b; box-shadow: inset 0 0 0 1px rgba(91, 69, 201, .4), 0 14px 40px rgba(11, 27, 43, .16); }
@media (max-width: 760px) { .app ~ .toast, body > .toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* B220: an idea / inbox item turned into a draft collapses to one teal line with a way to open the review queue */
.drafted { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--mist); }
.drafted__ic { width: 22px; height: 22px; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #36c28f; box-shadow: inset 0 0 0 1px rgba(54, 194, 143, .55); }
.drafted b { color: var(--bone); font-weight: 600; }
.drafted__go { margin-left: auto; color: var(--bone); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.drafted__q { display: block; margin: 0 0 8px; font-size: 14px; color: var(--ash); text-decoration: line-through; text-decoration-color: rgba(54, 194, 143, .5); }
.is-drafted, tr.is-drafted td { background: rgba(54, 194, 143, .06) !important; box-shadow: inset 2px 0 0 #36c28f; }
tr.is-drafted td { padding: 14px 16px; }
.inb.is-drafted { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 760px) { tr.is-drafted { display: block !important; padding: 0 !important; } tr.is-drafted td { display: block; } .drafted__go { margin-left: 32px; } }

/* B221: AI visibility check log: assistant tiles (initials in their own colors), named = teal check, not named = quiet */
.ai-ic { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.ai-chatgpt { background: #10a37f; } .ai-claude { background: #d97757; } .ai-gemini { background: #4f7bff; } .ai-perplexity { background: #20808d; }
.th-ai { display: inline-flex; align-items: center; gap: 7px; }
.as { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.as .ai-ic, .as .as__n { display: none; }
.as--yes .as__s { color: #36c28f; font-weight: 600; } .as--yes .as__s::before { content: "✓ "; }
.as--no { opacity: .55; } .as--no .as__s { color: var(--ash); }
.as__sum { display: block; margin-top: 3px; font-size: 12px; color: var(--ash); }
@media (max-width: 760px) {
  table.t--ai td.t-ai::before { display: none !important; }
  table.t--ai tr { grid-template-columns: 1fr 1fr; gap: 8px; }
  table.t--ai td:first-child { font-family: var(--serif, Georgia, serif); font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
  .as { display: flex; padding: 8px 10px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); width: 100%; box-sizing: border-box; }
  .as .ai-ic, .as .as__n { display: inline-grid; } .as .as__n { display: inline; color: var(--bone); font-weight: 500; }
  .as__s { margin-left: auto; font-size: 11.5px; }
  .as--yes { box-shadow: inset 0 0 0 1px rgba(54, 194, 143, .55); background: rgba(54, 194, 143, .07); opacity: 1; }
  .as--no { opacity: .6; } .as--yes .as__s::before { content: "✓"; } .as--yes .as__s { font-size: 0; } .as--yes .as__s::before { font-size: 14px; }
  .as--no .as__s { font-size: 0; } .as--no .as__s::after { content: "—"; font-size: 13px; }
}

/* B222: Changes: one seamless sheet; each change a header line (dot in its kind's color, kind, date, who approved),
   the page as the serif title, the field, the before/after as one joined block, then the result and Undo at the foot */
.app .chg { display: grid; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-shadow); overflow: hidden; }
.app .chg > .chg__i { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 0 var(--glass-line); padding: 20px 22px; }
@media (hover: hover) and (pointer: fine) { .app .chg > .chg__i:hover { transform: none; background: rgba(155, 135, 245, .04); box-shadow: 0 1px 0 0 var(--glass-line); } }
.chg__i[data-k="tag"] { --k: #9b87f5; } .chg__i[data-k="title"] { --k: #4f7bff; } .chg__i[data-k="faq"] { --k: #139e8a; } .chg__i[data-k="links"] { --k: #ef5b3f; }
.chg__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; padding-right: 30px; font-size: 12.5px; color: var(--ash); }
.chg__meta b { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.chg__meta span::before { content: "·"; margin-right: 8px; }
.chg__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k); flex: none; }
.chg__i h2 { margin: 0; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.chg__field { margin: 4px 0 12px; font-size: 12px; color: var(--ash); }
.app .diff { gap: 0; box-shadow: inset 0 0 0 1px var(--glass-line); }
.app .diff > div { border-radius: 0; }
.app .diff__a { box-shadow: -1px 0 0 0 var(--glass-line); }
.chg__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 12px; }
.chg__lift { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ash); }
.chg__lift.is-done { color: #36c28f; }
.btn--glass { background: var(--glass) !important; color: var(--bone) !important; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .4) !important; }
.btn--glass:hover { background: rgba(155, 135, 245, .1) !important; }
.chg__i.is-undone { opacity: .5; }
@media (max-width: 760px) {
  .app .chg > .chg__i { padding: 18px 16px; }
  .app .diff { grid-template-columns: 1fr; } .app .diff__a { box-shadow: 0 -1px 0 0 var(--glass-line); }
  .chg__foot { flex-direction: column; align-items: stretch; } .chg__foot .btn { min-height: 44px; justify-content: center; }
}
tr.is-drafted td, tr.is-drafted td:first-child { font-family: var(--font) !important; font-size: 13.5px !important; }
.drafted { flex-wrap: nowrap; } .drafted > span { flex: 1; min-width: 0; }
@media (max-width: 760px) { .drafted { flex-wrap: wrap; } .drafted__go { margin-left: 32px; flex-basis: 100%; } }
.as__sum { font-family: var(--font); letter-spacing: 0; }
.toast { width: max-content; }

/* B225: the count stays with the title's last word, so it never drops to a line of its own */
.hg h2 { display: block; }
.hg__dot { display: inline-block; margin-right: 10px; vertical-align: .22em; }
.hg__nw { white-space: nowrap; }
.hg__n { display: inline-block; margin-left: 10px; vertical-align: .18em; line-height: 1.2; }

/* B224: the score sits dead center in its ring, "of 100" right under it (was nudged down-right by a negative margin) */
.ring b { display: grid; place-items: center; }
.ring b > span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ring b small { margin-top: 6px !important; font-family: var(--font); font-size: 10.5px; letter-spacing: .08em; }
.hg h2 { position: relative; padding-left: 18px; }
.hg__dot { position: absolute; left: 0; top: .52em; margin: 0; }

/* B226: the room kept for the ⓘ (B197) padded the card's whole first child; on table cards that was the table, so
   every row sat 34px short of the right edge. Only the first line makes room now (for a table, its first row's title). */
.has-tipbtn > table:first-child, .has-tipbtn > div:first-child:has(> table) { padding-right: 0; }
.has-tipbtn > table.t tbody tr:first-child td:first-child, .has-tipbtn > div > table.t tbody tr:first-child td:first-child { padding-right: 30px; }
@media (min-width: 761px) { .has-tipbtn > table.t thead th:last-child { padding-right: 34px; } .has-tipbtn > table.t tbody tr:first-child td:first-child { padding-right: 12px; } }

/* B229: the digits themselves are centered in the ring (a line box isn't: the serif's digits sit low in it, and the
   tight letter-spacing nudged them right); "of 100" hangs below without moving them */
.ring b { display: block; }
.ring__n { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: .72em; line-height: .72em; padding-top: .02em;
  text-align: center; letter-spacing: 0; font-variant-numeric: lining-nums; }
.ring__of { position: absolute; left: 0; right: 0; top: calc(50% + 24px); margin: 0 !important; text-align: center; }
/* B228: the dot beside "Illustration of a generic CMS editor" was squeezed into an oval (a flex item without flex: none) */
.demo-note::before { flex: none !important; }

/* B227: an undone change collapses to one line (coral, the "back" color) */
.chg__i.is-undone { opacity: 1; padding-top: 16px; padding-bottom: 16px; background: rgba(239, 91, 63, .05) !important; box-shadow: inset 2px 0 0 #ef5b3f, 0 1px 0 0 var(--glass-line) !important; }
.chg__i.is-undone .drafted__q { text-decoration-color: rgba(239, 91, 63, .5); }
.drafted--undo .drafted__ic { color: #ef5b3f; box-shadow: inset 0 0 0 1px rgba(239, 91, 63, .55); }
.ring__n { transform: translateY(calc(-50% - .15em)); } /* measured on Pixel 7 + iPhone 13: Fraunces digits sat .15em low */
.ring__of { top: calc(50% + 14px); }

/* B230: the toast's mark is the Topicweave logo mark itself */

/* B231: Connections: state as a colored dot + word (teal on, coral not connected, gray optional) instead of pills;
   secondary actions are glass; the one primary action (Connect Search Console) stays cobalt; the phone app gets the mark */
.cstate { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mist); white-space: nowrap; }
.cstate i { width: 7px; height: 7px; border-radius: 50%; background: var(--cs); flex: none; }
.cstate--ok { --cs: #36c28f; } .cstate--off { --cs: #ef5b3f; } .cstate--opt { --cs: #9a9a9a; }
.conn .btn--quiet { background: var(--glass) !important; color: var(--bone) !important; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .4) !important; }
.conn .btn--quiet:hover { background: rgba(155, 135, 245, .1) !important; }
.conn__logo--mark { background: #050507 !important; box-shadow: inset 0 0 0 1px var(--glass-line); }
.conn__logo--mark svg { width: 20px; height: 20px; }
.conn .card > p { font-size: 14px; line-height: 1.55; }

/* B232: "Keep for later" collapses too (lilac: saved, not done) */
.is-kept { padding-top: 16px !important; padding-bottom: 16px !important; background: rgba(155, 135, 245, .06) !important; box-shadow: inset 2px 0 0 #9b87f5, 0 1px 0 0 var(--glass-line) !important; }
.is-kept .drafted__q { text-decoration: none; }
.drafted--kept .drafted__ic { color: #9b87f5; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .55); }

/* B233: For machines: framed square code, status as dot + word, glass action */
.app .code { border-radius: 0; box-shadow: inset 0 0 0 1px var(--glass-line); }
.mstate { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; }
.mstate i { width: 7px; height: 7px; border-radius: 50%; background: var(--ms); }
.mstate--ok { --ms: #36c28f; color: var(--mist); } .mstate--gap { --ms: #9b87f5; color: var(--bone); } .mstate--bad { --ms: #ef5b3f; color: var(--bone); }
.mach .btn--quiet { background: var(--glass) !important; color: var(--bone) !important; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .4) !important; }

/* B234: a piece's journey: from where it started to published, then (once published) what it did */
.jr { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.jr li { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 0 0 14px; }
.jr li::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: -2px; width: 1px; background: var(--glass-line); }
.jr li:last-child::before { display: none; }
.jr i { width: 9px; height: 9px; margin: 4px 0 0 4px; border-radius: 50%; background: var(--jc, #9a9a9a); }
.jr li.is-now i { box-shadow: 0 0 0 4px rgba(155, 135, 245, .25); }
.jr b { display: block; font-size: 13.5px; font-weight: 600; } .jr small { display: block; font-size: 12.5px; color: var(--ash); line-height: 1.45; }
.jr li.is-todo { opacity: .45; }
.jr__h { margin: 22px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--loom-accent, #9b87f5); }
:root[data-theme="light"] .jr__h { color: #5b45c9; }
.res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; box-shadow: inset 0 0 0 1px var(--glass-line); }
.res > div { padding: 12px 14px; box-shadow: 1px 0 0 0 var(--glass-line), 0 1px 0 0 var(--glass-line); }
.res b { display: block; font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; }
.res span { font-size: 12px; color: var(--ash); }
.res .res__more { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--mist); }
.toast::before { width: 16px; height: 16px; }

/* B235: the B230 logo mark never showed: the SVG's double quotes broke the url(), so the old square stayed. Fully encoded now. */
.toast::before { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2066.73%2066.73%22%3E%3Cpath%20fill%3D%22%239085bf%22%20d%3D%22M28.98%2C1.78v31h-14.83V1.78c0-.98.8-1.78%2C1.78-1.78h11.27c.98%2C0%2C1.78.8%2C1.78%2C1.78Z%22%2F%3E%3Cpath%20fill%3D%22%239085bf%22%20d%3D%22M14.15%2C56.54h14.83v8.41c0%2C.98-.8%2C1.78-1.78%2C1.78h-11.27c-.98%2C0-1.78-.8-1.78-1.78v-8.41Z%22%2F%3E%3Cpath%20fill%3D%22%23f05b40%22%20d%3D%22M1.78%2C14.15h7.41v14.83H1.78c-.98%2C0-1.78-.8-1.78-1.78v-11.27c0-.98.8-1.78%2C1.78-1.78Z%22%2F%3E%3Cpath%20fill%3D%22%230f9e8a%22%20d%3D%22M32.78%2C37.74v14.83H1.78c-.98%2C0-1.78-.8-1.78-1.78v-11.27c0-.98.8-1.78%2C1.78-1.78h31Z%22%2F%3E%3Cpath%20fill%3D%22%230f9e8a%22%20d%3D%22M66.73%2C39.52v11.27c0%2C.98-.8%2C1.78-1.78%2C1.78h-7.41v-14.83h7.41c.98%2C0%2C1.78.8%2C1.78%2C1.78Z%22%2F%3E%3Cpath%20fill%3D%22%234861ad%22%20d%3D%22M52.57%2C1.78v7.41h-14.83V1.78c0-.98.8-1.78%2C1.78-1.78h11.27c.98%2C0%2C1.78.8%2C1.78%2C1.78Z%22%2F%3E%3Cpath%20fill%3D%22%234861ad%22%20d%3D%22M37.74%2C33.95h14.83v31c0%2C.98-.8%2C1.78-1.78%2C1.78h-11.27c-.98%2C0-1.78-.8-1.78-1.78v-31Z%22%2F%3E%3Cpath%20fill%3D%22%23f05b40%22%20d%3D%22M66.73%2C15.94v11.27c0%2C.98-.8%2C1.78-1.78%2C1.78h-31v-14.83h31c.98%2C0%2C1.78.8%2C1.78%2C1.78Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }

/* B236: a published piece's live page */
.dr__live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.dr__url { font-size: 13px; color: var(--mist); overflow-wrap: anywhere; }
@media (max-width: 760px) { .dr__live .btn { width: 100%; justify-content: center; min-height: 44px; } }

/* B237: phones: a detail opens full screen (the bottom sheet left the page's top bar showing through a dim strip, which
   read as a nav bar, especially in light). It slides up, the ✕ stays at the top right, and the page behind can't scroll. */
@media (max-width: 760px) {
  .drawer { top: 0; bottom: 0; left: 0; width: 100%; height: 100%; max-height: none; transform: translateY(24px); opacity: 0;
    padding: calc(22px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px)); box-shadow: none !important; }
  .drawer.is-open { transform: none; opacity: 1; }
  .drawer__close { position: sticky; top: 0; float: right; z-index: 2; margin: -4px -4px 0 12px; }
  .drawer > .label:first-of-type, .drawer > p.label { padding-right: 52px; }
  html:has(.drawer.is-open) { overflow: hidden; }
}
/* B237: the draft window's actions: Approve is the one cobalt action; Publish waits as a glass button with a lock until then */
.drawer [data-approve] { background: var(--cobalt) !important; color: #fff !important; box-shadow: none !important; }
.drawer [data-publish][disabled] { opacity: 1 !important; background: var(--glass) !important; color: var(--ash) !important; box-shadow: inset 0 0 0 1px var(--glass-line) !important; }
.drawer [data-approve].is-done { background: rgba(54, 194, 143, .1) !important; color: #36c28f !important; box-shadow: inset 0 0 0 1px rgba(54, 194, 143, .5) !important; }
.drawer [data-approve].is-done::before { content: "✓ "; }
@media (max-width: 760px) { .drawer .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .drawer .actions .btn { justify-content: center; min-height: 44px; } }

/* B239: the prototypes fade in and out on every screen size (phones had the full-screen cloth, which felt slow) */
body { animation: pg-in .45s cubic-bezier(.2, .7, .2, 1) both; }
html.pg-out body { opacity: 0; transition: opacity .3s cubic-bezier(.2, .7, .2, 1); animation: none; }
@media (prefers-reduced-motion: reduce) { body { animation: none !important; } html.pg-out body { transition: none; } }

/* B261: switching prototypes is quick and snappy: a short fade out and in (the next page is prefetched by back.js) */
body { animation-duration: .2s; }
html.pg-out body { transition-duration: .12s; }

/* B264: approved cards carry the only "Publish now" (and Undo) as small text links, below the card */
.dcard { margin-bottom: 10px; }
.dcard .draft { margin-bottom: 0; }
.dlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 9px 14px 10px; font-size: 12px; color: var(--ash);
  background: rgba(var(--fg-rgb), .03); box-shadow: inset 2px 0 0 var(--st, #139e8a), inset 0 0 0 1px var(--glass-line); margin-top: -1px; }
.dlinks span { flex: 1 0 100%; } /* the note on its own line, the links in a row under it */
.dlinks button { padding: 6px 0; border: 0; background: none; cursor: pointer; font: 600 11.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--bone);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(var(--fg-rgb), .35); }
.dlinks button:hover { text-decoration-color: currentColor; }

/* B267: Your voice */
.vlvl { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.vlvl b { font: 400 30px/1 var(--serif, Georgia, serif); letter-spacing: -.02em; }
.vlvl span { font-size: 13.5px; color: var(--mist); }
.vbar { position: relative; display: flex; height: 10px; background: rgba(var(--fg-rgb), .07); margin-top: 34px; }
.vbar i { display: block; height: 100%; transition: width .4s var(--ease); }
.vbar__s { background: linear-gradient(90deg, #9b87f5, #4f7bff); }
.vbar__w { background: linear-gradient(90deg, #ef5b3f, #139e8a); }
.vbar em { position: absolute; top: -20px; transform: translateX(-50%); font: 600 10.5px/1 var(--font); letter-spacing: .05em; font-style: normal; color: var(--ash); }
.vbar em::after { content: ""; position: absolute; left: 50%; top: 14px; width: 1px; height: 22px; background: rgba(var(--fg-rgb), .35); }
.vkey { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; font-size: 13px; color: var(--mist); }
.vkey span { display: inline-flex; align-items: center; gap: 8px; }
.vkey i { width: 10px; height: 10px; display: inline-block; }
.vkey b { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
.vedits { display: flex; align-items: flex-end; gap: 22px; height: 104px; }
.vedits div { display: grid; justify-items: center; gap: 4px; }
.vedits span { width: 34px; background: linear-gradient(#9b87f5, rgba(155, 135, 245, .35)); }
.vedits div:last-child span { background: linear-gradient(#139e8a, rgba(19, 158, 138, .35)); }
.vedits b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vedits small { font-size: 11.5px; color: var(--ash); }
.vadd { margin-top: 12px; }
.vadd .card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.vadd .card__head { margin-bottom: 4px; width: 100%; }
.vq { margin: 0; font: 400 18px/1.35 var(--serif, Georgia, serif); letter-spacing: -.01em; }
.vadd textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 76px; padding: 10px 12px; border: 0; border-radius: 0; font: 400 14px/1.5 var(--font); color: var(--bone);
  background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px var(--glass-line); }
.vadd textarea:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .7); }
.vadd .btn { margin-top: auto; }
.vsound li { align-items: center; }
.vsound li p { flex: 1; }
.vx { width: 26px; height: 26px; flex: none; border: 0; background: none; cursor: pointer; color: var(--ash); font: 400 16px/1 var(--font); opacity: .55; }
.vx:hover { opacity: 1; color: var(--bone); }
.vchip { display: inline-flex; align-items: center; gap: 2px; padding-right: 2px !important; }
.vchip .vx { width: 20px; height: 20px; font-size: 14px; }
.vlab { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); }
.vsug { margin: 14px 0 0; padding: 10px 12px; font-size: 13.5px; background: rgba(239, 91, 63, .06); box-shadow: inset 2px 0 0 #ef5b3f; }
.vsug span { color: var(--mist); }
.vlink { margin-left: auto; padding: 6px 0 6px 10px; border: 0; background: none; cursor: pointer; font: 600 11.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--bone);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(var(--fg-rgb), .35); white-space: nowrap; }
.vsug .vlink { margin-left: 8px; }
.list li.is-undone p { color: var(--ash); text-decoration: line-through; text-decoration-color: rgba(var(--fg-rgb), .3); }
.vtag { display: inline-block; margin-right: 10px; padding: 3px 7px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vtag--talk { color: #9b87f5; box-shadow: inset 0 0 0 1px rgba(155, 135, 245, .5); }
.vtag--write { color: #ef5b3f; box-shadow: inset 0 0 0 1px rgba(239, 91, 63, .5); }
:root[data-theme="light"] .vtag--talk { color: #5b45c9; } :root[data-theme="light"] .vtag--write { color: #c8391d; }
@media (max-width: 760px) { .vchip .vx { width: 30px; height: 30px; } .vlink { padding: 12px 0 12px 12px; } .vx { width: 34px; height: 34px; } } /* B267: thumb-sized taps */

/* B268: the newer design language on Reports, Team and roles, Automations, Languages and All client sites */
.lead { display: flex; flex-direction: column; gap: 10px; }
.lead__k { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); }
.lead__k i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.lead__h { margin: 0 !important; font: 400 26px/1.18 var(--serif, Georgia, serif) !important; letter-spacing: -.02em; text-wrap: balance; }
.lead__t { margin: 0; font-size: 14px; color: var(--mist); }
.lead .golink { align-self: flex-start; margin-top: 4px; }
.golink { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 0; font: 600 11.5px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--bone);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(var(--fg-rgb), .35); white-space: nowrap; }
.golink svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.golink:hover { text-decoration-color: currentColor; } .golink:hover svg { transform: translateX(2px); }
.list li > .golink, .list li > .vlink { margin-left: auto; align-self: center; }
.todo { margin: 2px 0 0; padding: 0; list-style: none; counter-reset: td; display: grid; }
.todo li { counter-increment: td; display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; border-top: 1px solid rgba(var(--fg-rgb), .07); }
.todo li::before { content: counter(td); width: 22px; height: 22px; flex: none; display: grid; place-items: center; font: 600 11.5px/1 var(--font); color: var(--bone); box-shadow: inset 0 0 0 1px rgba(79, 123, 255, .6); }
.todo li span { flex: 1; min-width: 0; }
.cstate--info { --cs: #4f7bff; } .cstate--lilac { --cs: #9b87f5; }
.rlist li { align-items: center; gap: 16px; }
.pbar { display: flex; height: 10px; margin-top: 6px; background: rgba(var(--fg-rgb), .08); }
.pbar i { display: block; height: 100%; }
.pkey { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 4px 0 0; font-size: 13px; color: var(--mist); }
.pkey span { display: inline-flex; align-items: center; gap: 8px; }
.pkey i { width: 10px; height: 10px; flex: none; background: rgba(var(--fg-rgb), .2); }
.pkey b { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
.who { display: flex; gap: 12px; align-items: center; }
.who p { margin: 0; } .who small { color: var(--ash); font-size: 12.5px; }
.ava { width: 34px; height: 34px; flex: none; display: grid; place-items: center; font: 500 15px/1 var(--serif, Georgia, serif); color: var(--bone);
  background: color-mix(in srgb, var(--rc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 55%, transparent); }
.ppl li { align-items: center; }
.ppl p { margin: 0; }
.role { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); }
.role::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }
.pvoice { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--mist); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--fg-rgb), .3); }
.pvoice:hover { color: var(--bone); }
.ppl li.is-pending p { color: var(--mist); }
.rcp { list-style: none; margin: 0; padding: 0; }
.rcp li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(var(--fg-rgb), .07); }
.rcp li:first-child { border-top: 0; padding-top: 2px; }
.rcp__wt p { margin: 0; font-size: 14px; } .rcp__wt p + p { margin-top: 3px; }
.rcp__wt small { display: block; margin-top: 4px; font-size: 12px; color: var(--ash); }
.rcp__k { display: inline-block; width: 44px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); }
.rcp__st { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.rcp__src { min-width: 92px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--loom-accent, #9b87f5); }
:root[data-theme="light"] .rcp__src { color: #5b45c9; }
.app .switch { border-radius: 0; } .app .switch i { border-radius: 0; }
.t td.is-warm { color: #ef5b3f; font-weight: 600; }
@media (max-width: 760px) {
  .rcp li { grid-template-columns: auto minmax(0, 1fr); } .rcp__st { grid-column: 1 / -1; justify-content: space-between; }
  .rcp--sug li { grid-template-columns: minmax(0, 1fr); } .rcp--sug .rcp__st { grid-column: auto; }
  .todo li { flex-wrap: wrap; } .rlist li { flex-wrap: wrap; }
  .golink, .vlink { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 760px) { .pvoice { padding: 8px 0; margin-top: 0; } } /* B268: thumb-sized */

/* B269: Overview's bottom row holds four cards (Your voice joined it) */
.row3.row3--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .row3.row3--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .row3.row3--4 { grid-template-columns: minmax(0, 1fr); } }

/* B297: "Woven by Topicweave", the footer credit on client sites, previewed in Connections */
.credit-prev { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 10px; padding: 12px 14px; border-radius: 8px;
  background: rgba(var(--fg-rgb, 255, 255, 255), .04); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb, 255, 255, 255), .1); font-size: 12px; color: var(--fg3, #9a9a9a); }
.credit { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; font-size: 12px; letter-spacing: .01em; }
.credit:hover { color: var(--fg, #fff); }
.credit__mark { width: 13px; height: 13px; flex: none; }

/* B273: an in-place re-render (an action on the same page) keeps its spot and doesn't replay the rise or chart draws */
.view.is-stay > *, .view.is-stay * { animation: none !important; }

/* B329: Your voice → What it's built from. The tag gets its own column so a wrapped title lines up under itself,
   not under the tag; on phones the meta reads "630 words · Sep 28" on one line with Remove beside it */
.vsrc .vsrc__k { width: 1%; padding-right: 0; }
.vsrc .vtag { margin-right: 0; min-width: 6.6em; text-align: center; box-sizing: border-box; }
@media (max-width: 760px) {
  .vsrc-card .card__head { flex-wrap: wrap; }
  .vsrc-card .card__head > h2 { flex: 1 1 auto; }
  .vsrc-card .card__head > small { order: 3; flex: 1 0 100%; margin: 4px 0 0 !important; text-align: left !important; }
  table.t.vsrc tr { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "k t t t" ". w d r"; gap: 4px 6px; align-items: center; }
  table.t.vsrc td.vsrc__k { padding-right: 8px !important; }
  table.t.vsrc td.vsrc__k { grid-area: k; width: auto; align-self: start; padding-top: 1px; }
  table.t.vsrc td.vsrc__t { grid-area: t; grid-column: 2 / -1; font-size: 15px; line-height: 1.35; }
  table.t.vsrc td.vsrc__w { grid-area: w; font-size: 13px; color: var(--mist); }
  table.t.vsrc td.vsrc__d { grid-area: d; font-size: 13px; }
  table.t.vsrc td.vsrc__d::before { content: "· "; }
  table.t.vsrc td.vsrc__r { grid-area: r; }
  table.t.vsrc .vlink { padding: 10px 0 10px 12px; }
}

/* B335: vocabulary links at first mention (dotted underline in the topic's color) + their pop-up, and the two
   Link health review drawers (words to link, suggested connections). Square corners like the rest of the app. */
.tlink { color: inherit; text-decoration: none; border-bottom: 1.5px dotted var(--tc, #9b87f5); cursor: pointer; padding-bottom: 1px; }
.tlink:hover, .tlink:focus-visible, .tlink[aria-describedby]:focus { background: color-mix(in srgb, var(--tc, #9b87f5) 16%, transparent); outline: none; }
.tpop { position: fixed; z-index: 80; width: min(320px, calc(100vw - 24px)); padding: 14px 16px 12px; background: var(--void); color: var(--bone);
  border: 1px solid rgba(var(--fg-rgb), .14); border-top: 2px solid var(--tc, #9b87f5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: 13.5px; line-height: 1.5; }
.tpop__k { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.tpop__k i { width: 8px; height: 8px; background: var(--tc, #9b87f5); }
.tpop b { display: block; margin: 6px 0 4px; font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 18px; letter-spacing: -.01em; }
.tpop p { margin: 0; color: rgba(var(--fg-rgb), .82); }
.tpop__more { margin-top: 10px; padding: 4px 0; background: none; border: 0; color: var(--bone); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tc, #9b87f5); }
.tl__note, .qnote { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: rgba(var(--fg-rgb), .8); background: rgba(var(--fg-rgb), .045); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .08); }
.tl__note i, .qnote i { flex: none; width: 8px; height: 8px; margin-top: 6px; background: #139e8a; }
.qnote { margin: 0 0 14px; } .qnote i { background: #ef5b3f; }
.qnote button { padding: 0; background: none; border: 0; font: inherit; color: var(--bone); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ef5b3f; }
.dr__h { margin: 8px 0 0; font-weight: 400; font-size: 30px; letter-spacing: -.04em; line-height: 1.1; }
.tl__piece { margin-top: 22px; box-shadow: 0 -1px 0 0 rgba(var(--fg-rgb), .1); padding-top: 14px; }
.tl__p { margin: 0 0 8px; font-size: 15px; } .tl__p small { display: block; margin-top: 2px; font-size: 13px; color: var(--ash); }
.tl { padding: 12px 14px; background: rgba(var(--fg-rgb), .04); margin-top: 8px; }
.tl__row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; margin: 0 0 6px; font-size: 14.5px; line-height: 1.55; }
.tl__row:not(.tl__row--after) > span:last-child { color: var(--ash); }
.tl__k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.tl__row--after .tl__k { color: #139e8a; }
.tl__acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 10px 0 0; }
.tl__acts .vlink { padding: 8px 0; }
.tl__done { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 0; padding: 10px 14px; font-size: 14px; line-height: 1.5; background: rgba(19, 158, 138, .08); }
.tl__done i { flex: none; width: 8px; height: 8px; margin-top: 7px; background: #139e8a; }
.tl__done span { flex: 1; min-width: 0; } .tl__done .vlink { flex: none; padding: 0; }
.tl__done--skip { background: rgba(var(--fg-rgb), .04); color: var(--ash); } .tl__done--skip i { background: rgba(var(--fg-rgb), .3); }
.cn { margin-top: 18px; padding: 16px; background: rgba(var(--fg-rgb), .04); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .08); }
.cn--done { padding: 0; background: none; box-shadow: none; }
.cn__k { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-size: 13px; color: var(--ash); }
.cn__kind { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; color: #4f7bff; background: rgba(79, 123, 255, .13); }
.cn__kind--bridge { color: #9b87f5; background: rgba(155, 135, 245, .14); }
.cn__pair { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 12px; font-size: 15px; } .cn__pair b { font-weight: 500; } .cn__pair span { color: var(--ash); }
.cn__where { margin: 0 0 6px; font-size: 13px; color: var(--ash); }
.cn__text { margin: 0; font-size: 15px; line-height: 1.6; }
.cn__text ins { text-decoration: none; background: rgba(155, 135, 245, .16); padding: 1px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cn__text ins[contenteditable="true"] { outline: 1.5px solid #9b87f5; outline-offset: 4px; background: none; }
.cn__why { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--ash); } .cn__why b { font-weight: 500; color: rgba(var(--fg-rgb), .8); }
.inl { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #4f7bff; }
@media (max-width: 560px) { .tl__row { grid-template-columns: 1fr; gap: 2px; } .dr__h { font-size: 26px; } }
