/* Chapter 3 · AI ("Give your AI a memory"), and the notch's shape (chrome.js).
   Four app windows (Claude, ChatGPT, Cursor, VS Code), our own look-alikes drawn in HTML/CSS: their layout, type and
   mood, in Stash's colours (tokens.css only; Cursor stays dark like the real one, VS Code follows the page). */

/* ===== the notch: one sprung path (chrome.js), shaped like the app's NotchShape ===== */
.g-notch.sprung { background: none; border-radius: 0; transition: transform .5s var(--soft); }
.g-notch.sprung .ear { display: none; }
.g-shape { position: absolute; z-index: 0; inset-block-start: 0; inset-inline-start: -6px; fill: black; overflow: visible; pointer-events: none; }
.g-notch.sprung .wing, .g-notch.sprung .g-dl { z-index: 1; }
.g-glow { position: absolute; z-index: -1; inset-block-start: calc(var(--gh, 32px) - 20px); inset-inline: calc(var(--gh, 32px) / 2); block-size: 26px; border-radius: 13px;
  filter: blur(10px); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.g-notch[data-state="listening"] .g-glow { opacity: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--coral) 20%, transparent), color-mix(in srgb, var(--butter) 20%, transparent)); }
.g-notch[data-state="writing"] .g-glow { opacity: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--butter) 14%, transparent), color-mix(in srgb, var(--sky) 14%, transparent)); }
.g-notch[data-peek][data-state="idle"] .g-glow { opacity: .45; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sky) 20%, transparent) 30% 70%, transparent); }
/* content: fades in once the shape has room (0.12 s, 0.2 s from 92 %), out in 0.1 s before it shrinks */
.g-notch.sprung .wing { block-size: var(--gh, 32px); opacity: 0; scale: .92; transition: opacity .1s ease-in, scale .1s ease-in; }
.g-notch.sprung[data-content="1"] .wing { opacity: 1; scale: 1; transition: opacity .2s ease-out, scale .2s ease-out; }
.g-notch.sprung[data-state="ready"] .wing.right, .g-notch.sprung[data-calm="1"] .wing.right { opacity: 0; }
.g-notch.sprung .wing.left { inset-inline-start: 14px; inline-size: 20px; justify-content: flex-start; }
.g-notch.sprung[data-calm="1"] .wing.left { inset-inline-start: calc(var(--wing, 40px) - 28px); inline-size: 22px; }   /* the moving part sits right beside the notch, like the app's calm pill */
.g-notch.sprung .wing.left > * { inset-inline-start: 0; }
.g-notch.sprung .wing .orb { inline-size: 24px; block-size: 24px; inset-inline-start: -2px; }
.g-notch.sprung .wing.right { display: block; inset-inline-end: 14px; overflow: hidden; text-overflow: ellipsis; color: white; font: 500 13px/var(--gh, 32px) var(--font-text); }
.g-notch.sprung[data-state="ready"] .wing.left { block-size: 46px; }
.g-notch.sprung .tick { transition: stroke-dashoffset .4s var(--soft) .16s; }
.g-notch.sprung[data-state="redraw"] .tick { transition: none; stroke-dashoffset: 22; }
/* like the app: the ink line while you talk, the Colour sphere (dots) while it writes; the AI sphere for AI notices */
.g-notch.sprung .ink { display: none; }
.g-notch .wing .n-dots { inline-size: 22px; block-size: 20px; opacity: 0; transition: opacity .15s; }
.g-notch[data-dots="listen"] .n-dots, .g-notch[data-dots="write"] .n-dots { opacity: 1; }
.g-notch.sprung[data-state="writing"] .orb { opacity: 0; }
.g-notch.sprung .tick { display: none; }   /* no check mark after done (round 5) */
.g-notch.sprung .wing.right.swap { opacity: 0; transition: opacity .12s ease-in; }

/* ===== the chapter ===== */
.ai { position: relative; block-size: 200svh; background: var(--surface); color: var(--ink); }
.ai-stick { position: sticky; inset-block-start: 0; block-size: 100svh; overflow: clip; }
.ai-in { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: clamp(12px, 2vh, 20px); block-size: 100%; max-inline-size: 1280px; margin-inline: auto;
  padding: calc(var(--mb) + clamp(20px, 4.5vh, 48px)) var(--gutter) clamp(10px, 2vh, 20px); }
.ai-head { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 24px 56px; align-items: end; }
.ai-head .sec-lead { margin: 0; font-size: 16px; }
.ai-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; inline-size: min(100%, 1000px); justify-self: center; margin: 0; transition: opacity .4s; }
.ai-also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font: 400 13px/1 var(--font-text); color: var(--ink-2); }
.ai-also img { inline-size: 16px; block-size: 16px; opacity: .8; }
:root[data-theme="dark"] .ai-also img:not([src*="color"]), .ai .mk-openai { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ai-also img:is([src*="openai"], [src*="zed"], [src*="raycast"], [src*="windsurf"], [src*="lmstudio"]) { filter: invert(1); } }
:root[data-theme="dark"] .ai-also img:is([src*="openai"], [src*="zed"], [src*="raycast"], [src*="windsurf"], [src*="lmstudio"]) { filter: invert(1); }

/* the switcher: a macOS segmented control; the thin line fills while scroll is about to move on */
.ai-tabs { justify-self: center; display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--well); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .05); }
.ai-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 0; border-radius: 10px; cursor: pointer;
  font: 500 14px/1 var(--font-text); color: var(--ink-2); background: none; transition: color .2s, background .2s, box-shadow .2s, scale .15s; }
.ai-tabs button:hover { color: var(--ink); }
.ai-tabs button:active { scale: .96; }
.ai-tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 .5px rgb(var(--ink-rgb) / .1), 0 2px 6px -2px rgb(var(--shade-rgb) / .2); }
.ai-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ai-tabs img { inline-size: 20px; block-size: 20px; border-radius: 5px; }
.ai-tabs .fill { position: absolute; inset: auto 12px 3px; block-size: 2px; border-radius: 1px; background: var(--sky-text); transform-origin: left; scale: var(--p, 0) 1; opacity: .5; }
.ai-tabs button:not([aria-selected="true"]) .fill { display: none; }
.mk-openai { display: inline-block; inline-size: 18px; block-size: 18px; background: currentColor; -webkit-mask: url(img/logos/openai.svg) center / contain no-repeat; mask: url(img/logos/openai.svg) center / contain no-repeat; }
.ai-tabs .mk-openai { color: var(--ink); }
.ai-hint { margin: 0; font: 400 13px/1.3 var(--font-text); color: var(--ink-2); transition: opacity .4s; }
.ai-hint.off { opacity: 0; } .ai-in:has(.ai-desk.intro) .ai-foot { opacity: 0; }

/* the desk: all four windows sit in the same place; one shows */
.ai-desk { position: relative; min-block-size: 0; inline-size: min(100%, 1000px); justify-self: center; }
.aw { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; color: var(--ink); background: var(--surface);
  box-shadow: 0 0 0 .5px rgb(var(--ink-rgb) / .16), 0 1px 2px rgb(var(--shade-rgb) / .06), 0 30px 70px -28px rgb(var(--shade-rgb) / .38);
  opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .28s var(--soft), transform .55s var(--spring); }
.aw.show { opacity: 1; transform: none; }
.aw[hidden] { display: block; visibility: hidden; }
.ai-desk.intro .aw.show { opacity: var(--deskin, 1); transform: translateY(calc((1 - var(--deskin, 1)) * 60px)) scale(calc(.96 + var(--deskin, 1) * .04)); transition: none; }
.aw-lights { display: flex; gap: 8px; } .aw-lights i { inline-size: 12px; block-size: 12px; border-radius: 50%; background: rgb(var(--ink-rgb) / .16); box-shadow: inset 0 0 0 .5px rgb(var(--shade-rgb) / .14); }
.aw-lights i:nth-child(1) { background: var(--mac-red, rgb(var(--ink-rgb) / .16)); } .aw-lights i:nth-child(2) { background: var(--mac-yellow, rgb(var(--ink-rgb) / .16)); } .aw-lights i:nth-child(3) { background: var(--mac-green, rgb(var(--ink-rgb) / .16)); }
.aw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font: 500 11.5px/1 var(--font-text); color: var(--ink-2); background: rgb(var(--ink-rgb) / .05); }
.aw-chip .dot { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--success); }
.aw input { min-inline-size: 0; border: 0; outline: 0; padding: 0; background: none; color: inherit; font: inherit; }
.aw input::placeholder { color: var(--ink-3); opacity: 1; }
.aw-send { display: grid; place-items: center; flex: none; inline-size: 32px; block-size: 32px; padding: 0; border: 0; cursor: pointer; transition: scale .15s, opacity .2s; }
.aw-send:active { scale: .92; } .aw-send svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-send:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.aw-comp:has(input:placeholder-shown) .aw-send { opacity: .45; }
.aw-log { display: flex; flex-direction: column; gap: 16px; min-block-size: 0; overflow-y: auto; scrollbar-width: none; }
.aw-log::-webkit-scrollbar { display: none; }
.aw-log > * { animation: msg-in .45s var(--spring) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.aw-log p { margin: 0; }
.m-me { align-self: flex-end; max-inline-size: 80%; padding: 10px 15px; border-radius: 18px; font: 400 15px/1.45 var(--font-text); background: var(--well); white-space: pre-wrap; overflow-wrap: anywhere; }
.m-ai ul { margin: 6px 0 0; padding-inline-start: 20px; } .m-ai li { margin-block: 3px; }
.m-ai .w { opacity: 0; transition: opacity .35s ease-out; } .m-ai .w.on { opacity: 1; }
.m-ai blockquote { margin: 10px 0 0; padding: 12px 15px; border-radius: 12px; font: 400 14.5px/1.5 var(--font-text); background: rgb(var(--ink-rgb) / .04); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .07); }
.m-ai code, .m-tool code { font: 12.5px/1.4 var(--font-mono); }
/* the Stash step: one quiet row (turning colour ring → check + count, chevron), the clips slide in one by one */
.m-tool { display: grid; align-self: stretch; border-radius: 12px; font: 400 13px/1.35 var(--font-text); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .1); }
.m-tool .th { display: flex; align-items: center; gap: 8px; inline-size: 100%; padding: 9px 12px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; color: inherit; background: none; text-align: start; }
.m-tool .th:hover { background: rgb(var(--ink-rgb) / .03); } .m-tool .th:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.m-tool .th b { color: var(--ink); font-weight: 600; }
.m-tool .chev { inline-size: 12px; block-size: 12px; margin-inline-start: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: rotate .3s var(--spring); }
.m-tool.open .chev { rotate: 90deg; }
.m-tool .ok { inline-size: 16px; block-size: 16px; flex: none; fill: none; stroke: var(--success); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; animation: draw .35s var(--soft) both; }
@keyframes draw { from { stroke-dashoffset: 16; } }
.t-ring { inline-size: 16px; block-size: 16px; flex: none; border-radius: 50%; background: conic-gradient(from 0deg, var(--coral), var(--butter), var(--sky), var(--coral));
  -webkit-mask: radial-gradient(circle, transparent 4.5px, black 5px); mask: radial-gradient(circle, transparent 4.5px, black 5px); animation: turn .9s linear infinite; }
@keyframes turn { to { rotate: 1turn; } }
.m-tool.busy .lbl { animation: busy 1.1s ease-in-out infinite alternate; }
@keyframes busy { to { opacity: .45; } }
.m-tool .rows-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--soft); }
.m-tool.open .rows-wrap { grid-template-rows: 1fr; }
.m-tool .rows { display: grid; gap: 6px; min-block-size: 0; overflow: hidden; padding-inline: 12px; }
.m-tool.open .rows { padding-block-end: 10px; }
.m-tool .rows > * { animation: clip-in .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 170ms + 80ms); }
.m-tool .rows p { display: flex; align-items: center; gap: 8px; min-inline-size: 0; margin: 0; font-size: 12.5px; color: var(--ink); }
/* a real MCP call: the tool's name, Stash's status, the arguments sent and Stash's reply, line by line */
.m-tool .t-name { font: 500 12.5px/1 var(--font-mono); color: var(--ink); } .m-tool .t-from { font-size: 12.5px; color: var(--ink-2); }
.m-tool .lbl { margin-inline-start: auto; font-size: 12.5px; color: var(--ink-2); }
.m-tool .th { white-space: nowrap; min-inline-size: 0; } .m-tool .th > * { flex: none; } .m-tool .th .lbl { flex: 0 1 auto; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
.aw-code .m-tool .lbl { display: none; } .aw-code .m-tool .th .chev { margin-inline-start: auto; } .m-tool .lbl + .chev { margin-inline-start: 6px; }
.m-tool .r-k { margin: 2px 0 0; font: 600 10.5px/1 var(--font-text) !important; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3) !important; }
.m-tool .r-req { margin: 0; padding: 7px 9px; border-radius: 7px; font: 12px/1.45 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: rgb(var(--ink-rgb) / .045); }
.m-tool .r-res { display: grid; gap: 6px; padding: 8px 9px; border-radius: 7px; background: rgb(var(--ink-rgb) / .045); }
.m-tool .r-res p { display: grid; gap: 3px; align-items: start; }
.m-tool .r-note { font: 11.5px/1.45 var(--font-mono) !important; color: var(--ink-2) !important; }
.m-tool .r-head { font: 11.5px/1.3 var(--font-mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tool .r-body { display: flex; align-items: center; gap: 6px; padding-inline-start: 14px; font-size: 12.5px; color: var(--ink); min-inline-size: 0; }
.m-tool .r-body img { inline-size: 14px; block-size: 14px; flex: none; } .m-tool .r-body { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.j-k { color: var(--sky-text); } .j-s { color: var(--success); } .j-n { color: var(--focus); }
.aw-code .m-tool .t-name, .aw-code .m-tool .r-req, .aw-code .m-tool .r-body { color: var(--c-ink); } .aw-code .m-tool .t-from, .aw-code .m-tool .lbl, .aw-code .m-tool .r-head, .aw-code .m-tool .r-note { color: var(--c-ink2) !important; }
.aw-code .m-tool .r-req, .aw-code .m-tool .r-res { background: var(--c-sel); } .aw-code .j-k { color: var(--c-key); } .aw-code .j-s { color: var(--c-str); }
@keyframes clip-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.m-tool .rows p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-tool .rows img { inline-size: 16px; block-size: 16px; flex: none; }
.m-tool .rows small { margin-inline-start: auto; flex: none; color: var(--ink-2); font-size: 11.5px; }

/* thinking, each app its own way */
.c-spark { display: inline-block; inline-size: 18px; block-size: 18px; flex: none; border-radius: 4px; background: url(img/claude.webp) center / contain no-repeat; animation: spark 2.4s var(--soft) infinite; }
.c-spark.still { animation: none; inline-size: 22px; block-size: 22px; opacity: .9; }
@keyframes spark { 0% { rotate: 0deg; scale: 1; } 25% { rotate: 45deg; scale: .8; } 50% { rotate: 90deg; scale: 1; } 75% { rotate: 135deg; scale: .8; } 100% { rotate: 180deg; scale: 1; } }
.m-think.t-claude .lbl { font: 400 14px/1 var(--font-text); color: var(--ink-2); animation: busy 1.1s ease-in-out infinite alternate; }
.m-think.t-claude.done { gap: 4px; } .m-think.t-claude.done .lbl { animation: none; font-size: 13.5px; } .m-think.done .chev { inline-size: 12px; block-size: 12px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.aw-claude .m-tool { background: color-mix(in srgb, var(--surface) 55%, transparent); border-radius: 10px; }
.c-after { margin-block-start: -6px; }
.g-after { display: flex; gap: 4px; margin-block-start: -8px; } .g-after svg { inline-size: 26px; block-size: 26px; padding: 5px; border-radius: 7px; fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.g-mic { inline-size: 18px; block-size: 18px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; }
.m-think { display: flex; align-items: center; gap: 10px; min-block-size: 24px; color: var(--ink-2); font: 400 13.5px/1 var(--font-text); }
.t-mark { inline-size: 18px; block-size: 18px; border-radius: 4px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { scale: .82; rotate: 45deg; } }
.t-dots { display: inline-flex; gap: 4px; } .t-dots i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--ink-3); animation: wave 1.1s ease-in-out infinite; }
.t-dots i:nth-child(2) { animation-delay: .15s; } .t-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes wave { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.t-pulse { inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--ink); animation: pulse-dot 1.1s ease-in-out infinite; }
@keyframes pulse-dot { 50% { scale: .62; opacity: .7; } }
.t-spin { inline-size: 13px; block-size: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px rgb(var(--ink-rgb) / .16); border: 1.6px solid transparent; border-block-start-color: currentColor; animation: turn .75s linear infinite; }
.aw-code .m-think { color: var(--c-ink2); }
.t-word { animation: busy 1s ease-in-out infinite alternate; }
/* while streaming, ChatGPT shows a dot at the end of the text */
.aw-gpt .m-ai.streaming > :last-child::after, .aw-gpt .m-ai.streaming:not(:has(> *))::after { content: ""; display: inline-block; inline-size: 9px; block-size: 9px; margin-inline-start: 4px; border-radius: 50%; background: var(--ink); vertical-align: middle; animation: pulse-dot 1s ease-in-out infinite; }
.m-sugg { display: flex; flex-wrap: wrap; gap: 8px; animation-delay: .2s; }
.m-sugg button { padding: 8px 12px; border: 0; border-radius: 99px; cursor: pointer; font: 400 13px/1.2 var(--font-text); color: var(--ink); background: none; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .14); transition: background .15s, scale .15s; text-align: start; }
.m-sugg button:hover { background: rgb(var(--ink-rgb) / .05); } .m-sugg button:active { scale: .97; }
.m-sugg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.m-pre { margin: 0; padding: 10px 12px; border-radius: 8px; overflow-x: auto; font: 12px/1.55 var(--font-mono); white-space: pre; background: rgb(var(--ink-rgb) / .05); }
.m-file { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font: 500 12.5px/1 var(--font-text); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .12); }
.m-file .plus { color: var(--success); font-family: var(--font-mono); } .m-file .minus { color: var(--recording); font-family: var(--font-mono); }
.m-file .acc { margin-inline-start: auto; padding: 5px 9px; border-radius: 6px; color: var(--on-primary); background: var(--primary); font-size: 11.5px; }
.m-file .acc.done { color: var(--ink-2); background: none; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .14); }

/* ---- Claude ---- */
.aw-claude { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); background: var(--paper); }
.aw-claude .aw-side, .aw-gpt .aw-side { display: grid; align-content: start; gap: 1px; padding: 14px 10px; font: 400 13.5px/1.3 var(--font-text); color: var(--ink); background: var(--sidebar); border-inline-end: 1px solid rgb(var(--ink-rgb) / .06); }
.aw-side .aw-lights { padding: 0 6px 18px; }
.aw-side p { margin: 0; padding: 8px 10px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-side p.on { background: rgb(var(--ink-rgb) / .07); }
.aw-side .c-k { margin-block-start: 14px; padding-block: 6px; font-size: 12px; color: var(--ink-2); }
.c-new { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.c-plus { display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; font: 500 16px/1 var(--font-text); color: var(--white); background: var(--coral-deep); }
.aw-claude .aw-main, .aw-gpt .aw-main { display: grid; grid-template-rows: 52px minmax(0, 1fr) auto; min-inline-size: 0; }
.aw-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-inline: 16px; font: 500 14px/1 var(--font-text); }
.c-title { display: inline-flex; align-items: center; gap: 8px; } .c-title img { border-radius: 4px; }
.aw-claude .aw-log, .aw-gpt .aw-log { inline-size: min(720px, 100% - 48px); margin-inline: auto; padding-block: 12px 18px; }
.aw-claude .m-ai { font: 400 16.5px/1.62 var(--font-serif); color: var(--ink); }
.aw-claude .m-me { background: var(--selected); font-size: 15px; }
.aw-claude .aw-comp { display: grid; gap: 10px; inline-size: min(720px, 100% - 40px); margin: 0 auto 18px; padding: 14px 14px 10px 18px; border-radius: 20px; background: var(--surface);
  box-shadow: 0 0 0 .5px rgb(var(--ink-rgb) / .16), 0 4px 16px -8px rgb(var(--shade-rgb) / .2); font: 400 16px/1.4 var(--font-text); }
.c-row { display: flex; align-items: center; gap: 8px; } .c-row .aw-send { margin-inline-start: auto; }
.c-btn { display: inline-flex; align-items: center; gap: 5px; block-size: 30px; padding-inline: 9px; border-radius: 9px; font: 500 12.5px/1 var(--font-text); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / .12); }
.c-btn:first-child { inline-size: 30px; justify-content: center; padding: 0; font-size: 17px; }
.c-btn.tool img { border-radius: 3px; display: none; } .c-btn.tool::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--success); }
.c-model { margin-inline-start: auto; font: 400 13px/1 var(--font-text); color: var(--ink-2); }
.aw-claude .aw-send { border-radius: 9px; color: var(--white); background: var(--coral-deep); }

/* ---- ChatGPT ---- */
.aw-gpt { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
.aw-gpt .aw-side { gap: 2px; }
.g-logo { padding: 4px 10px 12px !important; } .g-logo .mk-openai { inline-size: 22px; block-size: 22px; color: var(--ink); }
.g-nav { display: flex; align-items: center; gap: 10px; } .g-nav svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.g-model { display: inline-flex; align-items: center; gap: 4px; font: 500 17px/1 var(--font-text); } .g-model svg { inline-size: 16px; block-size: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; }
.aw-gpt .m-ai { font: 400 15.5px/1.65 var(--font-text); }
.aw-gpt .m-me { border-radius: 20px; padding: 10px 16px; }
.aw-gpt .m-tool { box-shadow: none; inline-size: 100%; justify-items: start; } .aw-gpt .m-tool .rows-wrap { justify-self: stretch; } .aw-gpt .m-tool .th { padding-inline: 0; inline-size: auto; justify-self: start; } .aw-gpt .m-tool .th:hover { background: none; color: var(--ink); } .aw-gpt .m-tool .chev { margin-inline-start: 2px; }
.aw-gpt .m-tool .rows { margin-inline: 0; padding: 0 12px; border-radius: 12px; background: rgb(var(--ink-rgb) / .04); } .aw-gpt .m-tool.open .rows { padding-block: 10px; }
.aw-gpt .aw-comp { display: flex; align-items: center; gap: 12px; inline-size: min(720px, 100% - 40px); margin: 0 auto 20px; padding: 10px 10px 10px 16px; border-radius: 28px; background: var(--surface);
  box-shadow: 0 0 0 .5px rgb(var(--ink-rgb) / .16), 0 6px 18px -8px rgb(var(--shade-rgb) / .22); font: 400 16px/1.4 var(--font-text); }
.aw-gpt .aw-comp input { flex: 1; }
.g-plus { font: 300 22px/1 var(--font-text); color: var(--ink-2); }
.aw-gpt .aw-send { inline-size: 36px; block-size: 36px; border-radius: 50%; color: var(--on-primary); background: var(--primary); }

/* ---- the code editors ---- */
.aw-code { display: grid; grid-template-rows: 38px minmax(0, 1fr) auto; font: 400 13px/1.4 var(--font-text); }
.aw-bar { position: relative; display: flex; align-items: center; justify-content: center; padding-inline: 14px; border-block-end: 1px solid var(--c-line); background: var(--c-bar); color: var(--c-ink2); font: 500 12.5px/1 var(--font-text); }
.aw-bar .aw-lights { position: absolute; inset-inline-start: 14px; }
.k-h { padding: 10px 14px 6px !important; font: 600 11px/1 var(--font-text) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink2); }
.k-tree, .v-tree { padding-block: 4px; overflow: hidden; background: var(--c-side); border-inline-end: 1px solid var(--c-line); color: var(--c-ink); }
.k-tree p, .v-tree p { margin: 0; padding: 4px 14px; font-size: 12.5px; white-space: nowrap; }
.k-tree .d::before, .v-tree .d::before { content: "›"; display: inline-block; inline-size: 12px; rotate: 90deg; color: var(--c-ink2); }
.k-tree .i1, .v-tree .i1 { padding-inline-start: 26px; } .k-tree .i2, .v-tree .i2 { padding-inline-start: 38px; }
.k-tree .on, .v-tree .on { background: var(--c-sel); }
.ed-tabs { display: flex; block-size: 34px; background: var(--c-side); border-block-end: 1px solid var(--c-line); font-size: 12.5px; }
.ed-tabs span { display: flex; align-items: center; padding-inline: 14px; color: var(--c-ink2); border-inline-end: 1px solid var(--c-line); }
.ed-tabs span.on { color: var(--c-ink); background: var(--c-bg); box-shadow: inset 0 1px 0 var(--c-accent); }
.ed-tabs .ts { margin-inline-end: 6px; font: 700 9px/1 var(--font-mono); font-style: normal; color: var(--c-key); }
.crumbs { margin: 0; padding: 5px 14px 3px; font: 400 11.5px/1.2 var(--font-text); color: var(--c-ink2); background: var(--c-bg); white-space: nowrap; overflow: hidden; }
.k-icons { display: inline-flex; gap: 12px; margin-inline-start: auto; color: var(--c-ink2); font: 400 14px/1 var(--font-text); } .k-icons i { font-style: normal; }
.ed-code { margin: 0; padding: 10px 0; overflow: hidden; font: 12.5px/1.7 var(--font-mono); color: var(--c-ink); background: var(--c-bg); counter-reset: ln; tab-size: 2; }
.ed-code .ln { display: block; padding-inline-end: 12px; white-space: pre; }
.ed-code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; inline-size: 44px; padding-inline-end: 16px; text-align: end; color: var(--c-ink3); }
.ed-code .ln.add { background: color-mix(in srgb, var(--success) 18%, transparent); box-shadow: inset 2px 0 0 var(--success); animation: line-in .5s var(--spring) both; }
.ed-code .ln.add::before { color: var(--c-ink2); }
.ed-code .ln.del { background: color-mix(in srgb, var(--recording) 18%, transparent); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--recording) 60%, transparent); }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px); } }
.sx-k { color: var(--c-key); } .sx-s { color: var(--c-str); } .sx-c { color: var(--c-ink3); font-style: italic; } .sx-t { color: var(--c-type); } .sx-n { color: var(--c-key); }
.aw-code .aw-log { padding: 14px; gap: 12px; font: 400 13.5px/1.55 var(--font-text); }
.aw-code .m-me { max-inline-size: 100%; align-self: stretch; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; background: var(--c-sel); color: var(--c-ink); }
.aw-code .m-ai { color: var(--c-ink); }
.aw-code .m-tool { color: var(--c-ink2); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 12.5px; } .aw-code .m-tool .th:hover { background: var(--c-sel); } .aw-code .m-tool .th b, .aw-code .m-tool .rows p { color: var(--c-ink); }
.aw-code .m-pre { background: var(--c-bg); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); }
.aw-code .m-file { box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); }
.aw-code .m-file .acc { color: var(--c-bg); background: var(--c-ink); } .aw-code .m-file .acc.done { color: var(--c-ink2); background: none; box-shadow: inset 0 0 0 1px var(--c-line); }
.aw-code .m-sugg button { color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); } .aw-code .m-sugg button:hover { background: var(--c-sel); }
.aw-code .aw-comp { display: grid; gap: 8px; margin: 0 12px 12px; padding: 10px 10px 8px 12px; border-radius: 10px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); font-size: 13.5px; }
.aw-code input::placeholder { color: var(--c-ink3); }
.k-row { display: flex; align-items: center; gap: 6px; }
.k-mode { padding: 4px 8px; border-radius: 6px; font: 500 11.5px/1 var(--font-text); color: var(--c-ink); background: var(--c-sel); } .k-mode.dim { color: var(--c-ink2); background: none; }
.aw-code .aw-send { margin-inline-start: auto; inline-size: 24px; block-size: 24px; border-radius: 50%; color: var(--c-bg); background: var(--c-ink); } .aw-code .aw-send svg { inline-size: 13px; block-size: 13px; }

/* Cursor: always dark (graphite from the tokens) */
.aw-cursor { --c-bg: var(--graphite-bottom); --c-side: color-mix(in srgb, var(--graphite-top) 22%, var(--graphite-bottom)); --c-bar: color-mix(in srgb, var(--graphite-top) 30%, var(--graphite-bottom));
  --c-line: color-mix(in srgb, var(--white) 8%, transparent); --c-sel: color-mix(in srgb, var(--white) 8%, transparent); --c-ink: color-mix(in srgb, var(--white) 88%, var(--graphite-bottom));
  --c-ink2: color-mix(in srgb, var(--white) 55%, var(--graphite-bottom)); --c-ink3: color-mix(in srgb, var(--white) 32%, var(--graphite-bottom)); --c-accent: var(--sky);
  --c-key: var(--sky); --c-str: color-mix(in srgb, var(--success) 40%, var(--white)); --c-type: color-mix(in srgb, var(--sky) 45%, var(--white));
  background: var(--c-bg); color: var(--c-ink); box-shadow: 0 0 0 .5px rgb(var(--shade-rgb) / .5), 0 30px 70px -28px rgb(var(--shade-rgb) / .5); }
.k-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); grid-template-rows: minmax(0, 1fr); min-block-size: 0; }
.k-ed { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-inline-size: 0; }
.k-agent { display: grid; grid-template-rows: 40px minmax(0, 1fr) auto; min-block-size: 0; background: var(--c-side); border-inline-start: 1px solid var(--c-line); }
.k-agent-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-inline: 14px; border-block-end: 1px solid var(--c-line); font: 500 12.5px/1 var(--font-text); color: var(--c-ink2); } .k-agent-top .on { color: var(--c-ink); }

/* VS Code: follows the page (light / dark), the blue status bar */
.aw-vs { --c-bg: var(--surface); --c-side: var(--sidebar); --c-bar: var(--sidebar); --c-line: rgb(var(--ink-rgb) / .09); --c-sel: rgb(var(--ink-rgb) / .07);
  --c-ink: var(--ink); --c-ink2: var(--ink-2); --c-ink3: var(--ink-3); --c-accent: var(--focus); --c-key: var(--sky-text); --c-str: var(--success); --c-type: color-mix(in srgb, var(--sky-text) 65%, var(--ink));
  grid-template-rows: 38px minmax(0, 1fr) 22px; }
.v-cmd { display: inline-flex; align-items: center; gap: 6px; inline-size: min(340px, 40%); justify-content: center; padding: 5px 10px; border-radius: 6px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); font-weight: 400; }
.v-cmd svg { inline-size: 13px; block-size: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.v-body { display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(300px, 40%); grid-template-rows: minmax(0, 1fr); min-block-size: 0; }
.v-act { display: grid; align-content: start; justify-items: center; gap: 18px; padding-block: 12px; background: var(--c-side); border-inline-end: 1px solid var(--c-line); }
.v-act svg { inline-size: 22px; block-size: 22px; fill: none; stroke: var(--c-ink3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; } .v-act svg.on { stroke: var(--c-ink); }
.v-mid { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-inline-size: 0; }
.v-term { display: grid; grid-template-rows: 30px minmax(0, 1fr); border-block-start: 1px solid var(--c-line); background: var(--c-bg); }
.v-term-tabs { display: flex; gap: 18px; align-items: center; padding-inline: 14px; font: 500 11px/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: var(--c-ink2); }
.v-term-tabs .on { color: var(--c-ink); box-shadow: 0 9px 0 -8px var(--c-accent); }
.v-term pre { margin: 0; padding: 4px 14px; overflow: hidden; font: 12px/1.6 var(--font-mono); color: var(--c-ink); white-space: pre-wrap; }
.v-term .err { color: var(--recording); } .v-term .ok { color: var(--success); } .v-term .dim { color: var(--c-ink2); }
.v-chat { display: grid; grid-template-rows: 36px minmax(0, 1fr) auto; min-block-size: 0; background: var(--c-side); border-inline-start: 1px solid var(--c-line); }
.v-chat-top { display: flex; align-items: center; gap: 12px; padding-inline: 14px; font: 600 11px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink2); }
.v-chat-top .aw-chip { text-transform: none; letter-spacing: 0; }
.v-status { display: flex; align-items: center; gap: 16px; padding-inline: 10px; font: 400 11.5px/1 var(--font-text); color: var(--on-primary); background: var(--focus); }
.v-status .r { margin-inline-start: auto; }

/* ===== the character ===== */
.drop-wrap { position: absolute; z-index: 6; inset: 0 auto auto 0; inline-size: 300px; block-size: 300px; will-change: transform; pointer-events: none; }
.drop { position: relative; inline-size: 100%; block-size: 100%; cursor: grab; touch-action: none; display: block; pointer-events: auto; clip-path: circle(37%); }
.drop:active { cursor: grabbing; }
.ai.dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
.drop-shadow { position: absolute; inset: auto 22% 6% 22%; block-size: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--shade-rgb) / .28), transparent); filter: blur(4px); opacity: var(--sh, .8); }
/* still fallback (no WebGL): a chrome ball in the brand light, two calm eyes */
.drop-still { display: none; position: absolute; inset: 13.5%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 26%, var(--white) 0 7%, transparent 16%), radial-gradient(circle at 18% 66%, color-mix(in srgb, var(--coral) 80%, transparent), transparent 34%),
    radial-gradient(circle at 84% 62%, color-mix(in srgb, var(--sky) 85%, transparent), transparent 36%), radial-gradient(circle at 54% 96%, color-mix(in srgb, var(--butter) 80%, transparent), transparent 34%),
    linear-gradient(180deg, var(--white) 0%, var(--line) 40%, var(--graphite-top) 52%, var(--ink-3) 70%, var(--white) 100%);
  box-shadow: inset 0 -6px 18px rgb(var(--shade-rgb) / .25), inset 0 4px 10px color-mix(in srgb, var(--white) 70%, transparent); }
.drop-still i { position: absolute; inset-block-start: 30%; inline-size: 9%; block-size: 15%; border-radius: 50%; background: var(--graphite-bottom); }
.drop-still i:first-child { inset-inline-start: 33%; } .drop-still i:last-child { inset-inline-end: 33%; }
.drop-wrap.no-gl .drop-still { display: block; } .drop-wrap.no-gl .drop { opacity: 0; }

/* after this chapter it rides in a fixed layer to the top of "What's inside" (ai.js) */
.drop-layer { position: fixed; z-index: 55; inset: 0; pointer-events: none; }
/* the hidden hoop (type "hoops" in a chat box): a paper backboard, an ink rim, a fine net; the far half of the rim
   under the character, the near half and the net over it */
.hoop { position: absolute; z-index: 5; inset: 0 auto auto 0; opacity: 0; transition: opacity .35s var(--soft); pointer-events: none; }
.hoop.front { z-index: 7; } .hoop.on { opacity: 1; }
.hoop svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round;
  transform-origin: 50% 0; transition: transform .6s var(--spring); }
.hoop:not(.on) svg { transform: translateY(-16px) scale(.96); }
.hoop .board { fill: var(--surface); stroke: rgb(var(--ink-rgb) / .16); stroke-width: 1.2; filter: drop-shadow(0 6px 10px rgb(var(--shade-rgb) / .14)); }
.hoop .square { stroke: rgb(var(--ink-rgb) / .35); stroke-width: 1.3; }
.hoop .arm { stroke: rgb(var(--ink-rgb) / .45); stroke-width: 2; }
.hoop .rim-back { stroke: var(--ink); stroke-width: 2.6; opacity: .45; }
.hoop .rim { stroke: var(--ink); stroke-width: 2.8; }
.hoop .net { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 60; stroke-dashoffset: 60; transform-origin: 50% 62px; transition: stroke-dashoffset .9s var(--soft) .25s; }
.hoop.front.on .net { stroke-dashoffset: 0; }
.hoop.swish .net { animation: swish .7s var(--spring); }
@keyframes swish { 30% { transform: scaleY(1.2) scaleX(.92); } 60% { transform: scaleY(.95); } }
/* the speech bubble: it "talks" in squiggles and one emoji, never out loud */
.bubble { position: absolute; z-index: 7; inset: 0 auto auto 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 18px; pointer-events: none;
  background: var(--surface); color: var(--ink-3); box-shadow: 0 0 0 .5px rgb(var(--ink-rgb) / .14), 0 10px 26px -10px rgb(var(--shade-rgb) / .35);
  opacity: 0; scale: .6; transform-origin: var(--bx, 0%) 50%; transition: opacity .18s ease, scale .4s var(--spring); }
.bubble.on { opacity: 1; scale: 1; }
.bubble::after { content: ""; position: absolute; inset-block-start: calc(50% - 6px); inset-inline-start: -5px; inline-size: 12px; block-size: 12px; rotate: 45deg; background: inherit; border-radius: 2px;
  box-shadow: -.5px .5px 0 0 rgb(var(--ink-rgb) / .14); }
.bubble.flip::after { inset-inline-start: auto; inset-inline-end: -5px; box-shadow: .5px -.5px 0 0 rgb(var(--ink-rgb) / .14); }
.b-sq { inline-size: 58px; block-size: 22px; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.b-sq path { stroke: var(--coral); stroke-dasharray: 80; stroke-dashoffset: 80; } .b-sq path + path { stroke: var(--sky); }
.bubble.on .b-sq path { animation: scribble 1.1s var(--soft) forwards; } .bubble.on .b-sq path + path { animation-delay: .35s; }
.b-mark { inline-size: 26px; block-size: 18px; fill: var(--ink); }
.b-q { inline-size: 18px; block-size: 22px; fill: none; stroke: var(--sky-text); stroke-width: 2.3; stroke-linecap: round; } .b-q circle { fill: var(--sky-text); stroke: none; }
.bubble.on .b-q { animation: q-tilt 1.2s var(--soft) both; } @keyframes q-tilt { 0% { rotate: -14deg; scale: .7; } 40% { rotate: 8deg; scale: 1.05; } 100% { rotate: 0deg; scale: 1; } }
.b-clips { display: inline-flex; } .b-clips img { inline-size: 20px; block-size: 20px; border-radius: 5px; box-shadow: 0 0 0 2px var(--surface); animation: clip-in .4s var(--spring) both; }
.b-clips img + img { margin-inline-start: -6px; } .b-clips img:nth-child(2) { animation-delay: .1s; } .b-clips img:nth-child(3) { animation-delay: .2s; }
.b-keys { display: inline-flex; gap: 4px; } .b-keys .fx-cap { min-inline-size: 26px; block-size: 26px; padding-inline: 6px; border-radius: 7px; font-size: 12px; box-shadow: inset 0 -2px 0 rgb(var(--ink-rgb) / .1), 0 0 0 1px rgb(var(--ink-rgb) / .12); }
.b-keys .fx-cap small { display: none; } .b-keys .fx-cap b, .b-keys .fx-cap.mod b, .b-keys .fx-cap b.w { font-size: 12px; } .b-keys .fx-cap.wide { min-inline-size: 34px; } .b-keys .fx-cap.touch { inline-size: 26px; min-inline-size: 26px; }
.bubble > img { inline-size: 20px; block-size: 20px; border-radius: 5px; } .bubble > .mk-openai { inline-size: 20px; block-size: 20px; color: var(--ink); }
.b-orb { inline-size: 20px; block-size: 20px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--white) 85%, transparent) 0 14%, transparent 40%), conic-gradient(from 0deg, var(--coral), var(--butter), var(--sky), var(--coral));
  box-shadow: inset 0 -2px 4px rgb(var(--shade-rgb) / .18); animation: turn 2.6s linear infinite; }
.b-z { inline-size: 44px; block-size: 26px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-z path { animation: zz 2.4s ease-in-out infinite; } .b-z path:nth-child(2) { animation-delay: .4s; } .b-z path:nth-child(3) { animation-delay: .8s; }
@keyframes zz { 0%, 100% { opacity: .25; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes scribble { to { stroke-dashoffset: 0; } }

/* ===== phones and small windows ===== */
@media (max-width: 1100px) {
  .k-body { grid-template-columns: minmax(0, 1fr) minmax(280px, 46%); }
  .v-body { grid-template-columns: 46px minmax(0, 1fr) minmax(260px, 44%); }
}
@media (max-width: 860px) {
  .ai { block-size: 220svh; }
  .ai-in { gap: 12px; padding-block-start: calc(var(--mb) + 18px); }
  .ai-head { grid-template-columns: 1fr; gap: 8px; } .ai-words { padding-inline-end: 96px; } .ai-head .sec-lead { font-size: 15px; } .ai-also { display: none; }
  .ai-tabs { justify-self: stretch; } .ai-tabs button { flex: 1; justify-content: center; gap: 5px; padding: 8px 4px; font-size: 12.5px; white-space: nowrap; } .ai-tabs img, .ai-tabs .mk-openai { inline-size: 16px; block-size: 16px; }
  .aw-claude, .aw-gpt { grid-template-columns: 1fr; } .aw-claude .aw-side, .aw-gpt .aw-side { display: none; }
  .aw-claude .aw-main, .aw-gpt .aw-main { grid-template-rows: 44px minmax(0, 1fr) auto; }
  .aw-top { padding-inline: 14px; font-size: 13px; } .aw-claude .aw-log, .aw-gpt .aw-log { inline-size: calc(100% - 28px); }
  .aw-claude .m-ai { font-size: 15px; } .aw-gpt .m-ai { font-size: 14.5px; } .m-me { font-size: 14px; }
  .aw-claude .aw-comp, .aw-gpt .aw-comp { inline-size: calc(100% - 20px); margin-block-end: 10px; font-size: 15px; } .c-model { display: none; }
  .k-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 34%) minmax(0, 1fr); } .k-agent { border-inline-start: 0; border-block-start: 1px solid var(--c-line); }
  .v-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 34%) minmax(0, 1fr); } .v-act, .v-term { display: none; } .v-mid { grid-template-rows: auto minmax(0, 1fr); }
  .v-chat { border-inline-start: 0; border-block-start: 1px solid var(--c-line); } .v-status span:not(:first-child):not(:last-child) { display: none; }
  .ed-code { font-size: 11px; } .ed-code .ln::before { inline-size: 30px; padding-inline-end: 10px; }
  .ai-hint { font-size: 12px; } .ai-foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .aw, .bubble, .aw-log > *, .ed-code .ln.add, .m-tool .rows p, .m-think *, .t-ring, .m-tool .rows-wrap, .m-tool .ok { transition: none !important; animation: none !important; } }
