:root {
  --bg: #f4f6fb; --surface: #ffffff; --text: #1d2230; --muted: #6b7385; --line: #e3e7ef;
  --accent: #2f6fd6; --accent-soft: #e4edfc; --user: #2f6fd6; --user-text: #ffffff;
  --busy: #2f6fd6; --waiting: #c88b30; --unread: #27ad64; --danger: #d1453b;
  --mono: ui-monospace, Menlo, monospace;
  --code-inline: #0b57d0; --code-bg: #f1f4f9;
  --tok-keyword: #cf222e; --tok-string: #0a3069; --tok-number: #0550ae; --tok-title: #8250df; --tok-comment: #6e7781; --tok-builtin: #953800;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d; --surface: #1f2228; --text: #e6e8ee; --muted: #9098a8; --line: #2e323a;
    --accent: #6f9cf0; --accent-soft: #24324a; --user: #3a6fd0; --user-text: #ffffff;
    --code-inline: #8ab4f8; --code-bg: #161b22;
    --tok-keyword: #ff7b72; --tok-string: #a5d6ff; --tok-number: #79c0ff; --tok-title: #d2a8ff; --tok-comment: #8b949e; --tok-builtin: #ffa657;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; overflow: hidden; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.screen { position: fixed; inset: 0; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: calc(env(safe-area-inset-top) + 6px) 14px 6px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); }
.bar h1 { margin: 0; font-size: 18px; font-weight: 650; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -8px; padding: 0; border: 0; border-radius: 10px; background: none; }
.icon-button:active { background: var(--line); }
.connection { margin-left: auto; font-size: 12px; color: var(--muted); }
.connection[data-state="offline"] { color: var(--danger); }

/* Pairing */
#pair { align-items: center; justify-content: center; padding: 32px; text-align: center; }
.pair-logo { width: 72px; height: 72px; border-radius: 18px; }
#pair h1 { margin: 18px 0 8px; font-size: 22px; }
#pair p { margin: 0; color: var(--muted); max-width: 320px; }

/* Session list */
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: transparent; }
.dot[data-state="busy"] { width: 12px; height: 12px; border: 2px solid var(--busy); border-left-color: transparent; animation: spin .85s linear infinite; }
.dot[data-state="waiting"] { background: var(--waiting); }
.dot[data-state="unread"] { background: var(--unread); }
.dot[data-state="offline"] { border: 1.5px solid var(--muted); opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dot[data-state="busy"] { animation: none; } }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); }

/* Session detail */
.status { font-size: 12px; color: var(--muted); }
.status[data-state="busy"] { color: var(--busy); }
.status[data-state="waiting"] { color: var(--waiting); }
#chat { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.message { max-width: 88%; padding: 9px 13px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.load-older { align-self: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--muted); font-size: 13px; }
.chat-start { align-self: center; margin: 0; font-size: 12px; color: var(--muted); }
/* Claude's replies use the full width and render Markdown; the user's own messages stay as bubbles. */
.markdown > :first-child { margin-top: 0; }
.markdown > :last-child { margin-bottom: 0; }
.markdown :is(p, ul, ol, blockquote, .table-wrap, pre) { margin: 0 0 .7em; }
.markdown :is(ul, ol) { padding-left: 1.3em; }
.markdown li + li { margin-top: .25em; }
.markdown li > :is(ul, ol) { margin: .25em 0 0; }
.markdown :is(h1, h2, h3, h4) { margin: 1em 0 .45em; line-height: 1.35; }
.markdown h1 { font-size: 1.25em; } .markdown h2 { font-size: 1.15em; } .markdown :is(h3, h4) { font-size: 1.05em; }
.markdown strong { font-weight: 700; }
.markdown a { color: var(--accent); overflow-wrap: anywhere; }
.markdown :not(pre) > code { padding: .1em .38em; border-radius: 5px; background: color-mix(in srgb, var(--code-inline) 12%, transparent);
  color: var(--code-inline); font-size: .86em; overflow-wrap: anywhere; }
.markdown blockquote { padding: .1em .9em; border-left: 3px solid var(--line); color: var(--muted); }
.markdown hr { border: 0; border-top: 1px solid var(--line); margin: 1em 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.markdown table { border-collapse: collapse; min-width: 100%; font-size: 13.5px; line-height: 1.45; }
.markdown :is(th, td) { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 5.5em; }
.markdown th { background: color-mix(in srgb, var(--text) 5%, transparent); font-weight: 600; white-space: nowrap; }
.markdown tr:last-child td { border-bottom: 0; }
.markdown :is(th, td) + :is(th, td) { border-left: 1px solid var(--line); }
/* Code blocks: highlight.js token colors for both themes. */
.message pre { background: var(--code-bg) !important; border: 1px solid var(--line); }
.hljs-keyword, .hljs-selector-tag, .hljs-doctag, .hljs-meta .hljs-keyword { color: var(--tok-keyword); }
.hljs-string, .hljs-regexp, .hljs-meta .hljs-string, .hljs-template-tag { color: var(--tok-string); }
.hljs-number, .hljs-literal, .hljs-attr, .hljs-attribute, .hljs-property, .hljs-symbol, .hljs-variable.constant_ { color: var(--tok-number); }
.hljs-title, .hljs-title.function_, .hljs-title.class_, .hljs-section, .hljs-type { color: var(--tok-title); }
.hljs-comment, .hljs-quote { color: var(--tok-comment); font-style: italic; }
.hljs-built_in, .hljs-variable, .hljs-params, .hljs-meta, .hljs-selector-class, .hljs-name { color: var(--tok-builtin); }
.hljs-addition { color: #3fb950; } .hljs-deletion { color: #f85149; }
.message pre { margin: 6px 0; padding: 8px 10px; overflow-x: auto; border-radius: 8px; background: color-mix(in srgb, var(--text) 7%, transparent);
  font: 12.5px/1.45 var(--mono); white-space: pre; }
.message code { font-family: var(--mono); font-size: .9em; }

/* Composer: a large talk button by default (hold to talk, or tap to start and tap to stop), with a
   switch to the phone keyboard. Transcribed text lands in the draft for review before sending. */
#composer { padding: 4px 14px calc(env(safe-area-inset-bottom) + 12px); border-top: 1px solid var(--line); background: var(--bg); }
.composer-top { display: flex; align-items: center; gap: 8px; min-height: 40px; }
#compose-status { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#compose-status[data-error] { color: var(--danger); }
.text-button { flex: none; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--accent); font-size: 14px; font-weight: 600; }
.round-button { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--text); }
.round-button:active, .text-button:active { opacity: .7; }
/* Mode switches sit on the left: the keyboard key beside the talk button (mirroring send), the voice key beside the input. */
#live-composer[data-mode="voice"] #voice-toggle { display: none; }
/* With no status and no draft the top row would only hold empty space. */
#live-composer[data-mode="keyboard"]:not([data-draft]) .composer-top:has(#compose-status:empty) { display: none; }

#draft-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 2px; }
#live-composer[data-mode="voice"]:not([data-draft]) #draft-row { display: none; }
#live-composer[data-mode="keyboard"] #voice-pad, #live-composer[data-mode="keyboard"] #attach-voice, #live-composer[data-mode="voice"] .card-actions { display: none; }
#live-composer:not([data-draft]) #clear-draft { display: none; }
#message { flex: 1; min-height: 46px; max-height: 32vh; padding: 11px 14px; border: 1px solid var(--line); border-radius: 16px; resize: none;
  background: var(--surface); color: var(--text); font: 16px/1.4 -apple-system, "PingFang SC", sans-serif; outline: none; }
#message:focus { border-color: var(--accent); }
.send-button { display: grid; place-items: center; flex: none; width: 52px; height: 46px; padding: 0; border: 0; border-radius: 15px;
  background: var(--accent); color: #fff; }
.send-button:disabled { opacity: .35; }
#voice-pad { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; padding: 14px 0 4px; }
/* Keyboard key and send button mirror each other around the talk button. */
#voice-pad .side-button { width: 52px; height: 46px; border-radius: 15px; }
#clear-draft { color: var(--muted); }
.talk { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: min(46vw, 184px); aspect-ratio: 1; padding: 0; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 70%);
  color: var(--text); font-size: 15px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 7%, transparent), 0 10px 30px color-mix(in srgb, var(--accent) 16%, transparent); }
.talk .waves { width: 54px; height: 36px; stroke: var(--accent); stroke-width: 4; }
#talk-label { color: var(--muted); }
.talk-ring { position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; }
.talk[aria-pressed="true"] { border-color: var(--danger); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--danger) 16%, var(--surface)), var(--surface) 72%); }
.talk[aria-pressed="true"] .waves { stroke: var(--danger); animation: waves .9s ease-in-out infinite alternate; }
.talk[aria-pressed="true"] .talk-ring { animation: ring 1.4s ease-out infinite; }
.talk[aria-pressed="true"] #talk-label { color: var(--danger); }
.talk[data-cancel] { border-color: var(--muted); }
.talk[data-cancel] .waves { stroke: var(--muted); }
.talk[data-busy] { opacity: .6; }
@keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 40%, transparent); } to { box-shadow: 0 0 0 22px transparent; } }
@keyframes waves { to { transform: scaleY(.65); } }
@media (prefers-reduced-motion: reduce) { .talk[aria-pressed="true"] :is(.waves, .talk-ring) { animation: none; } }


/* Home: brand bar, welcome, stat tiles, Mac card, resume card, quick actions and sessions grouped by project. */
.home-bar { border-bottom: 0; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.brand-logo { width: 26px; height: 26px; border-radius: 7px; }
#home { padding: 4px 16px calc(env(safe-area-inset-bottom) + 24px); }
.welcome { margin: 10px 2px 14px; font-size: 26px; font-weight: 750; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.stat-card strong { margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.1; }
.stat-card span:last-child { font-size: 12px; color: var(--muted); }
.section-label { margin: 22px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--muted); }
.tile-icon svg { width: 20px; height: 20px; }
.tile-icon.small { width: 30px; height: 30px; border-radius: 9px; }
.tile-icon.small svg { width: 16px; height: 16px; }
.tile-icon .harness-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }
.session-tab .harness-logo { flex: none; width: 14px; height: 14px; border-radius: 3px; object-fit: contain; }
.host-card, .session-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; }
.session-card { margin: 0 0 8px; }
.session-card:active, .quick-action:active { background: color-mix(in srgb, var(--text) 6%, var(--surface)); }
.session-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.session-text .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.session-text .meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.host-status::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--unread); vertical-align: 1px; }
.host-status[data-state="offline"]::before { background: var(--danger); }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-action { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; font-size: 14px; text-align: left; }
.quick-action svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.quick-action:disabled { opacity: .5; }
.quick-action[data-on="true"] svg { color: var(--unread); }

/* Session screen: centered title between round buttons, sibling sessions as tabs. */
.detail-bar { display: grid; grid-template-columns: 40px 1fr 40px; }
.circle-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.circle-button svg { width: 20px; height: 20px; }
.title-block { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.title-block h1 { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.status::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--muted); vertical-align: 1px; opacity: .6; }
.status[data-state="busy"]::before { background: var(--busy); opacity: 1; }
.status[data-state="waiting"]::before { background: var(--waiting); opacity: 1; }
.status[data-state="idle"]::before, .status[data-state="unread"]::before { background: var(--unread); opacity: 1; }
#session-tabs { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.session-tab { display: flex; align-items: center; gap: 6px; flex: none; max-width: 60vw; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 16px; background: none; font-size: 13px; color: var(--muted); }
.session-tab span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-tab[aria-current="true"] { background: var(--surface); color: var(--text); font-weight: 600; }

/* Conversation: Claude's replies are plain text across the width; the user's messages are quiet pills. */
#chat { gap: 8px; padding: 12px 16px 16px; }
.message.user { align-self: flex-end; max-width: 85%; padding: 9px 14px; border-radius: 18px; background: color-mix(in srgb, var(--text) 10%, var(--bg)); color: var(--text); }
.message.assistant { align-self: stretch; max-width: 100%; padding: 2px 0; background: none; white-space: normal; line-height: 1.6; }
.message-time { margin: -2px 0 6px; font-size: 12px; color: var(--muted); }
.turn-summary { display: flex; align-items: center; gap: 6px; align-self: stretch; margin-top: 4px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font-size: 13px; text-align: left; }
.turn-summary::after { content: '›'; font-size: 16px; transition: transform .15s; }
.turn-summary[aria-expanded="true"]::after { transform: rotate(90deg); }
.tool-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 0; font-size: 14px; }
.tool-row svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.tool-verb { flex: none; color: var(--muted); }
.tool-target { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 13px; }
.tool-stat { display: flex; gap: 6px; flex: none; margin-left: auto; font: 12px var(--mono); }
.tool-stat .add { color: #2ea043; } .tool-stat .del { color: var(--danger); }
#working { display: flex; align-items: center; gap: 8px; padding: 6px 16px 8px; font-size: 13px; color: var(--muted); }
#working-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spinner { flex: none; width: 13px; height: 13px; border: 2px solid var(--muted); border-left-color: transparent; border-radius: 50%; animation: spin .85s linear infinite; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* Composer card (keyboard mode): the input on top, actions underneath; send turns into stop while Claude works. */
#composer { position: relative; }
#live-composer[data-mode="keyboard"] #draft-row { flex-direction: column; align-items: stretch; gap: 0; margin-top: 6px; padding: 6px 8px 8px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
#live-composer[data-mode="keyboard"] #draft-row:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
#live-composer[data-mode="keyboard"] #message { border: 0; background: none; padding: 8px 8px 4px; min-height: 42px; }
.card-actions { display: flex; align-items: center; gap: 6px; }
.card-spacer { flex: 1; }
.mini-button { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.mini-button svg { width: 19px; height: 19px; }
.card-actions .send-button { width: 38px; height: 38px; border-radius: 50%; }
.send-button .stop-icon, .send-button[data-action="stop"] .send-icon { display: none; }
.send-button[data-action="stop"] .stop-icon { display: block; }
.send-button[data-action="stop"] { background: var(--text); color: var(--bg); }
#attach-voice { margin-right: 2px; }
#attachments { display: flex; gap: 8px; padding: 6px 2px; overflow-x: auto; }
.attachment { position: relative; flex: none; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.attachment img { width: 100%; height: 100%; object-fit: cover; }
.attachment[data-state="uploading"] img { opacity: .45; }
.attachment[data-state="error"] { border-color: var(--danger); }
.attachment-remove { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #000a; color: #fff; font-size: 14px; line-height: 20px; }
#suggestions { position: absolute; left: 14px; right: 14px; bottom: calc(100% + 6px); z-index: 5; max-height: 42vh; overflow-y: auto; padding: 4px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 30px #0004; }
.suggestion { display: flex; align-items: baseline; gap: 8px; width: 100%; min-width: 0; padding: 9px 10px; border: 0; border-radius: 10px; background: none; text-align: left; }
.suggestion[aria-selected="true"], .suggestion:active { background: color-mix(in srgb, var(--text) 8%, transparent); }
.suggestion-label { flex: none; font-family: var(--mono); font-size: 14px; }
.suggestion-detail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }

/* Bottom sheet for choosing a project. */
.sheet { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-end; background: #0007; }
.sheet-panel { width: 100%; max-height: 70vh; overflow-y: auto; padding: 18px 16px calc(env(safe-area-inset-bottom) + 14px); border-radius: 20px 20px 0 0; background: var(--bg); }
.sheet-panel h2 { margin: 0 4px 12px; font-size: 16px; }
.sheet-option, .sheet-cancel { display: block; width: 100%; margin-bottom: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; font-size: 15px; }
.sheet-cancel { margin-top: 6px; text-align: center; color: var(--muted); }
.harness-option { display: flex; align-items: center; gap: 10px; }
.harness-option .harness-logo { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; }
/* The ChatGPT knot (Codex) is a black glyph; light it up on dark backgrounds. */
@media (prefers-color-scheme: dark) { .harness-logo:is([src$="codex.png"], [src$="dsh.png"]) { filter: invert(1); } }

/* A message sent from this phone before Claude has recorded it. */
.message.user.pending { opacity: .6; }
.pending-label { align-self: flex-end; margin-top: -4px; }

/* A send in flight: the button stays put and shows it is working until the Mac answers. */
#send.sending, #send-inline.sending { opacity: .55; animation: send-pulse 1s ease-in-out infinite; }
@keyframes send-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { #send.sending, #send-inline.sending { animation: none; } }

/* A question from Claude (permission, plan, AskUserQuestion) that the phone can answer. */
#ask-card { flex: none; max-height: 58vh; overflow-y: auto; margin: 0 12px 8px; padding: 12px; border: 1px solid #3b7ddd; border-radius: 14px; background: var(--surface); }
#ask-card[hidden] { display: none; }
.ask-title { margin-bottom: 8px; font-weight: 650; font-size: 15px; }
.ask-progress { margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.ask-detail { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.ask-code { margin: 0 0 8px; padding: 9px 10px; max-height: 24vh; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 9px; background: color-mix(in srgb, var(--text) 6%, transparent); font: 12px/1.5 ui-monospace, Menlo, monospace; }
.ask-plan { max-height: 28vh; overflow: auto; margin-bottom: 8px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 9px; }
.ask-option { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--text); font-size: 15px; text-align: center; }
.ask-option.primary { border-color: #3b7ddd; background: #3b7ddd; color: #fff; font-weight: 600; }
.ask-option:disabled { opacity: .45; }
.ask-choice { display: flex; align-items: flex-start; gap: 10px; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.ask-choice:has(input:checked) { border-color: #3b7ddd; }
.ask-choice input { margin-top: 3px; }
.ask-choice-text { display: flex; flex-direction: column; font-size: 15px; }
.ask-choice-text small { color: var(--muted); font-size: 12.5px; }
.ask-text { box-sizing: border-box; width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--text); font-size: 15px; }
