
@font-face { font-family:"Newsreader"; font-style:normal; font-weight:400; font-display:swap; src:url(/fonts/newsreader-latin-400.woff2) format("woff2"); }
/* One cream in Day: a card is canvas edged by the hairline, not a lighter paper on canvas (deyu, 2026-11-16: "米色加白色不太对?"; DESIGN.md, under the palette). Night keeps its two greens-greys. */
:root { color-scheme:light dark; --canvas:#f5f2e8; --paper:#f5f2e8; --ink:#1c1f1c; --moss:#3d5947; --ink2:rgba(28,31,28,.64); --ink3:rgba(28,31,28,.45); --line:rgba(28,31,28,.1); --fill:rgba(28,31,28,.05); --warn:#915500; --warn-fill:rgba(145,85,0,.08); --danger:#c4352b; --danger-fill:#c4352b; --lift:0 1px 2px rgba(28,31,28,.05),0 6px 20px rgba(28,31,28,.05); --sans:-apple-system,BlinkMacSystemFont,system-ui,"Helvetica Neue",sans-serif; --serif:"Newsreader","New York",ui-serif,Georgia,serif; }
@media (prefers-color-scheme: dark) { :root { --canvas:#161816; --paper:#1f221f; --ink:#ecebe4; --moss:#8fb39b; --ink2:rgba(236,235,228,.62); --ink3:rgba(236,235,228,.45); --line:rgba(236,235,228,.12); --fill:rgba(236,235,228,.06); --warn:#f0b35a; --warn-fill:rgba(240,179,90,.1); --danger:#ff6b5e; --danger-fill:#c93a32; --lift:none; } }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--canvas); color:var(--ink); font:400 17px/22px var(--sans); -webkit-font-smoothing:antialiased; text-wrap:pretty; }
main { max-width:440px; margin:0 auto; padding:max(40px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 48px max(20px,env(safe-area-inset-left)); }
/* The account page holds lists with a button on each line: System Settings' pane width, not a sign-in sheet's. */
main.wide { max-width:600px; }
/* The sign-in: one short column in the middle of the window, not at the top of an empty one. */
main.solo { min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; justify-content:center; max-width:400px; padding-bottom:max(64px,env(safe-area-inset-bottom)); }
/* The site's serif for the sign-in's title, as the site sets its own headings. On the site's
   origin /fonts is the site's; a developer's copy has none and draws New York or Georgia. */
main.solo .icon { width:56px; height:56px; margin-bottom:22px; }
h1.serif { margin:0 0 10px; font:400 36px/42px var(--serif); letter-spacing:-.012em; }
a { color:var(--moss); text-decoration:none; }
a:hover { text-decoration:underline; }
:focus-visible { outline:2px solid var(--moss); outline-offset:3px; }
h1 { margin:0 0 8px; font:700 28px/34px var(--sans); letter-spacing:-.02em; }
h2 { margin:28px 0 8px; padding:0 16px; font:600 13px/18px var(--sans); letter-spacing:.02em; text-transform:uppercase; color:var(--ink2); }
p { margin:0 0 14px; color:var(--ink2); }
p strong { color:var(--ink); font-weight:600; }
small, .fine { font-size:13px; line-height:18px; color:var(--ink2); }
.fine { margin:20px 0 0; }
/* A link in grey fine print differs from its words by hue alone, so it is underlined, as the site's prose links are. */
.fine a { text-decoration:underline; text-underline-offset:3px; }
.center { text-align:center; }
.vh { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* The name, the site's top-bar way: the icon at 26 and the serif beside it. */
.brand { display:flex; width:fit-content; align-items:center; gap:8px; margin:0 0 32px; color:var(--ink); }
a.brand:hover { text-decoration:none; }
.brand img { width:28px; height:28px; display:block; }
.brand svg { height:13px; width:62px; fill:currentColor; display:block; }
.icon { display:block; width:64px; height:64px; margin:0 auto 20px; filter:drop-shadow(0 2px 6px rgba(28,31,28,.12)); }
.pair { display:flex; align-items:center; justify-content:center; gap:14px; margin:0 0 20px; }
.pair .icon { width:56px; height:56px; margin:0; }
/* A macOS icon carries its own margin: drawn at 70 to match the 56 tile, not cropped. */
.pair .agent { width:70px; height:70px; margin:-7px; }
.monogram { width:56px; height:56px; border-radius:14px; display:grid; place-items:center; background:var(--paper); border:1px solid var(--line); box-shadow:var(--lift); font:600 26px/1 var(--sans); color:var(--ink); }
.dots { display:flex; gap:5px; }
.dots i { width:5px; height:5px; border-radius:50%; background:var(--ink3); }

/* Buttons: the site's pill. A plain <button> is the quiet outlined one. One line of words is the
   44 exactly (the 36 ones take 6); two, at 200 % text, keep the same off the pill's top and bottom. */
button, .button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:44px; margin:12px 0 0; padding:10px 20px; border-radius:999px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font:600 17px/22px var(--sans); text-align:center; text-decoration:none; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.button:hover { text-decoration:none; }
button:active, .button:active { opacity:.8; }
button.primary { background:var(--ink); border-color:var(--ink); color:var(--canvas); }
button.quiet { background:transparent; border-color:transparent; color:var(--ink2); font-weight:400; }
/* Deleting: red words, as Settings' Delete Account. */
button.destructive { color:var(--danger); }
a.button.quiet { border-color:transparent; background:transparent; color:var(--ink2); font-weight:400; }
form { margin:0; }
/* Rows of one height: when large text wraps one button's words, the other grows with it, never left the smaller ("approximately the same size", Google; "no smaller than other sign-in buttons", Apple). */
.signin { display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:1fr; gap:10px; margin:28px 0 0; container-type:inline-size; }
.signin button { height:100%; min-height:48px; margin:0; }
.signin + .fine { margin-top:22px; }

/* Sign in with Apple: white, outlined in Google's #747775 so the pair has one edge (the HIG lets a custom button change its bezel), on light and dark alike. The title is 15 px, Google's label's size; the logo is Apple's artwork for a 17 px title scaled to 15 (12 × 44 → 10.6 × 38.8): large text makes the button taller with more lines of the same title, not a larger one, so the logo stays the title's size. */
button.apple { gap:6px; padding:0 16px; background:#fff; border:1px solid #747775; color:#000; font-size:15px; line-height:20px; font-weight:500; letter-spacing:-.01em; }
button.apple svg { width:10.6px; height:38.8px; flex:none; fill:currentColor; }
button.apple span { padding:8px 0; }

/* Sign in with Google: the kit's light theme, on light and dark alike, beside Apple's white. The label is the kit's one line in three windows, "Sign in", "with" and "Google", which wrap as words do: a button narrower than the line (12 + 20 + 10 + 126 + 12 + the border) puts "Google" under "Sign in with", narrower than that each word takes a line, and only narrower than "Google" do the three shrink, together, rather than cross the border. The G keeps its size and its 10 px throughout. */
button.google { position:relative; gap:10px; padding:0 12px; background:#fff; border:1px solid #747775; color:#1f1f1f; }
button.google img { width:20px; height:20px; flex:none; }
button.google .label { display:flex; flex-wrap:wrap; justify-content:center; gap:2px 3px; min-width:0; }
button.google svg { height:auto; fill:currentColor; }
button.google svg:nth-child(1) { width:42.2px; max-width:calc(100% * 42.2 / 49.2); aspect-ratio:42.2/20; }
button.google svg:nth-child(2) { width:28.6px; max-width:calc(100% * 28.6 / 49.2); aspect-ratio:28.6/20; }
button.google svg:nth-child(3) { width:49.2px; max-width:100%; aspect-ratio:49.2/20; }
@container (width < 182px) { button.google .label { width:74px; padding:8px 0; } }
@container (width < 130px) { button.google .label { width:49.2px; } }

.dev { margin:28px 0 0; padding:16px 0 0; border-top:1px solid var(--line); }
.dev button { margin-top:0; font-size:15px; font-weight:500; }
.dev p { margin:8px 0 0; text-align:center; line-height:18px; }

/* A paper card, and grouped rows inside one — Settings' shape. */
.card { background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:var(--lift); padding:4px 16px; margin:0; }
.card p { margin:12px 0; }
/* A value too long for its line goes under its label, never past the card's edge. */
.row { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 12px; min-height:48px; padding:11px 0; border-top:1px solid var(--line); }
.row:first-child { border-top:none; }
/* A row that opens a page reads as a Settings row, not as a link: the list's row on the account page. */
a.row { color:inherit; text-decoration:none; }
.row > * { min-width:0; overflow-wrap:break-word; }
.row > div:first-child { flex:1 1 10em; }
.row > span:last-child:not(:first-child) { color:var(--ink2); text-align:right; }
.row small { display:block; margin-top:2px; }
.row form { flex:none; }
.row button, .row .button, .under .button { flex:0 1 auto; width:auto; max-width:100%; min-height:36px; margin:0; padding:6px 14px; font-size:15px; }
.row button, .row .button { white-space:nowrap; }

/* Who is signed in, the way Settings heads an account: a picture, the address, the sign-in. */
h1 + .card { margin-top:20px; }
.me { display:flex; align-items:center; gap:14px; padding:14px 16px; }
.me > div { min-width:0; overflow-wrap:anywhere; font-weight:600; }
.me small { display:block; margin-top:2px; font-weight:400; }
.avatar { flex:none; width:48px; height:48px; display:block; color:var(--ink3); }
.avatar .face { fill:var(--paper); }

/* An agent: its mark, its name and how it is doing, and Edit… at the end of the line. */
.row.agent { display:grid; grid-template-columns:32px minmax(0,1fr) auto; column-gap:12px; }
.row.agent > .about { grid-column:2; }
.row.agent code { margin-left:6px; font:500 13px/18px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink2); }

.mark { grid-column:1; width:32px; height:32px; display:grid; place-items:center; overflow:hidden; border-radius:8px; background:var(--canvas); border:1px solid var(--line); font:600 15px/1 var(--sans); color:var(--ink); }
/* A macOS icon carries its own margin and its own shape: drawn at 40 to fill the 32, not cropped. */
.mark.icon-mark { background:none; border:none; overflow:visible; }
.mark.icon-mark img { width:40px; height:40px; margin:-4px; display:block; }
.row.agent > .button { grid-column:3; }
/* Edit… opens the agent's name, its webhook, and Disconnect, each a form of its own, in a sheet. */
.editor { display:flex; min-width:0; flex-direction:column; gap:8px; }
.editor .line { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.editor .line button { flex:none; }
/* An address to copy, as the Agent address row draws one: not the name's code beside it. As
   ChatGPT's form rows, it keeps twelve of its characters and its Copy goes under it at 200 % text. */
.editor .line code.address { flex:1 1 12ch; margin:0; align-self:center; font-size:13px; line-height:18px; color:var(--ink2); }
.editor label { margin:6px 0 -2px; font-size:13px; line-height:18px; color:var(--ink2); }
.editor input { flex:1; min-width:0; min-height:36px; padding:0 12px; border-radius:8px; border:1px solid var(--line); background:var(--canvas); color:var(--ink); font:400 15px/22px var(--sans); }
.editor textarea { min-height:264px; padding:8px 12px; border-radius:8px; border:1px solid var(--line); background:var(--canvas); color:var(--ink); font:400 15px/22px var(--sans); resize:vertical; }
.editor p, .editor small { margin:0; font-size:13px; line-height:18px; color:var(--ink2); }
.editor button { width:auto; min-height:36px; margin:0; padding:6px 14px; font-size:15px; }
.editor button:disabled { opacity:.4; cursor:default; }
.editor button.remove { align-self:flex-start; }
.editor label:first-child { margin-top:0; }
/* A touch screen gets the 44 px the site's own buttons have; a pointer keeps the row's 36. */
@media (pointer: coarse) { .row button, .row .button, .under .button, .editor button, .editor input, .choices button, .choices .button, .bar .button { min-height:44px; } }
/* At 200 % text a phone is under 360 css px wide: the picture over the address, the mark over the
   name, a field over its Save, so no fixed column takes a word's room and breaks it mid-word. */
@media (max-width: 360px) {
  .me { flex-direction:column; align-items:flex-start; gap:8px; }
  .row.agent { grid-template-columns:minmax(0,1fr); }
  .row.agent > .mark, .row.agent > .about, .row.agent > .button { grid-column:1; }
  .row.agent > .mark { margin-bottom:6px; }
  .row.agent > .button { justify-self:start; margin-top:8px; }
  .row > span:last-child:not(:first-child) { text-align:left; }
  .under { flex-direction:column; }
  .under .button { width:100%; }
}
.button.destructive, button.destructive { color:var(--danger); }
/* Under a list, as System Settings puts Add Account…: the button that adds to it, and the agents' Org chart beside it. */
.under { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; margin:8px 0 0; }
p.warn + .card, h2 + p.warn { margin-top:0; }
h2 + p.warn { margin-bottom:8px; }
/* Download my data, apart from the list it downloads more than; Sign out and Delete account… under it. */
.card.data { margin-top:28px; }
.signout { margin-top:28px; }
.address { font:500 15px/20px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink); overflow-wrap:anywhere; user-select:all; }
[hidden] { display:none !important; }
/* A phrase kept whole, as .word keeps a word: on a line of its own, and wrapped only where none holds it. */
.whole { display:inline-block; max-width:100%; }

/* What an agent asks for: a switch per scope, the site's moss. */
label.scope { display:grid; grid-template-columns:22px 1fr; gap:12px; padding:14px 0; border-top:1px solid var(--line); color:var(--ink); cursor:pointer; }
label.scope:first-child { border-top:none; }
label.scope input { width:20px; height:20px; margin:1px 0 0; accent-color:var(--moss); }
label.scope b { font-weight:600; }
label.scope span { display:block; margin-top:3px; color:var(--ink2); font-size:15px; line-height:20px; }
.warn { color:var(--warn); }
p.warn { background:var(--warn-fill); border-radius:12px; padding:12px 14px; overflow-wrap:anywhere; }
.who { margin:20px 0 0; text-align:center; }
/* `breakable`'s word: whole where a line holds it, and broken only where none can. */
.word { display:inline-block; max-width:100%; overflow-wrap:anywhere; }
.actions { margin:20px 0 0; }
.actions button { margin-top:10px; }

/* Connecting agents (connect.ts): a tile per agent, one step, a wait. */
form.routine, form.review, form.email-agent, form.device-code { display:flex; flex-direction:column; gap:8px; margin:12px 0 0; }
form.review, form.email-agent { margin-top:28px; }
form.review + p.warn { margin-top:16px; }
/* Instinct's step: a refused address is said under the message and its question, apart from them. */
.msg ~ p.warn { margin-top:16px; }
/* Its question's 44 px target already holds the field apart: the form's 28 on top of it left 60 px between groups. */
.why:not([hidden]) ~ form.email-agent { margin-top:4px; }
form.routine input, form.review input, form.email-agent input, form.device-code input { min-height:44px; padding:0 14px; border-radius:12px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font:400 17px/22px var(--sans); }
form.routine button, form.review button, form.email-agent button, form.device-code button { margin:4px 0 0; }
/* Muse's key (apikey.ts): its button 12 px under its boxes, and the key itself only where the clipboard
   refused it, in a copy box like an address's, broken at the line's end rather than at a dash of its own,
   which would read as a hyphen. */
.key { display:flex; flex-direction:column; gap:8px; margin:0; }
.key .warn, .key .cmd { margin:0; }
.key .cmd code { word-break:break-all; }
/* A link's code (deviceCodePage): eight letters, read back as typed. */
form.device-code input { font:600 20px/24px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; text-align:center; text-transform:uppercase; }
form.routine ol.steps { margin:8px 0 0; }
/* Instinct's step: its field under its label, as the account page's Edit… labels its fields. */
form.email-agent label { margin:8px 0 -2px; font-size:15px; line-height:20px; color:var(--ink2); }
form.email-agent small { margin:-2px 0 0; font-size:13px; line-height:18px; color:var(--ink2); }
.tiles { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin:20px 0 0; }
@media (max-width: 340px) { .tiles { grid-template-columns:minmax(0,1fr); } }
.tile { display:grid; justify-items:center; gap:10px; padding:20px 12px; border-radius:16px; background:var(--paper); border:1px solid var(--line); box-shadow:var(--lift); color:var(--ink); font-weight:600; }
.tile:hover { text-decoration:none; border-color:var(--ink3); }
.tile:last-child:nth-child(odd) { grid-column:1 / -1; }
.tile img, .tile .mono { width:52px; height:52px; border-radius:13px; }
.mono { display:grid; place-items:center; background:var(--canvas); border:1px solid var(--line); font:600 20px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink); }
ol.steps { margin:0 0 4px; padding:0 0 0 22px; color:var(--ink); }
ol.steps li { margin:0 0 8px; }
a.button.primary { background:var(--ink); border-color:var(--ink); color:var(--canvas); }
.cmd { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 0; padding:8px 8px 8px 12px; border-radius:10px; background:var(--paper); border:1px solid var(--line); }
.cmd code { flex:1 1 16em; min-width:0; font:500 13px/18px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink); overflow-wrap:anywhere; user-select:all; }
.cmd code.path { overflow-wrap:normal; }
.cmd button { flex:none; width:auto; min-height:44px; margin:0; padding:10px 14px; font-size:15px; }
/* A message the person sends, drawn as a sent message on an iPhone: a blue bubble on the right with its
   tail, white words. The steps above it are in ink, and the message in the same ink on a near-white card
   read as one block. The blue is the home page's (DESIGN.md, "Visual language"), a shade under iOS's
   #007AFF, so the 17 px white words keep 4.5:1, and it is one blue in light and dark, as Messages' is. The tail is the bubble's colour
   carved by the colour behind it, --behind: the page's, or a card's, and ends blunt, 2 px tall, as
   Messages' does. It is drawn under the words, in a layer of the message's own: on top, it covered the
   last 6 px of a last line that filled the bubble. DESIGN.md, "Settings, the account, and other forms". */
.msg { --sent:#0071e3; --behind:var(--canvas); position:relative; z-index:0; margin:10px 0 0; }
.msg > p { position:relative; width:fit-content; max-width:88%; margin:0 7px 0 auto; padding:8px 15px 9px 13px; border:1px solid transparent; border-radius:20px; background:var(--sent); color:#fff; overflow-wrap:anywhere; white-space:pre-line; user-select:all; }
.msg p::selection, .msg p ::selection { background:rgba(255,255,255,.32); color:#fff; }
.msg > p::before { content:""; position:absolute; z-index:-1; bottom:-1px; right:-8px; width:28px; height:20px; border-bottom-right-radius:2px; background:var(--sent); }
.msg > p::after { content:""; position:absolute; z-index:-1; bottom:1px; right:-11px; width:10px; height:20px; background:var(--behind); border-bottom-left-radius:10px; }
/* Large text: the 88 % and the margins left a narrower column than a word ("Subscrib / e" in a card at
   200 %, the Design review, 2026-10-10), so the bubble takes the column, as Messages' do at its largest sizes. */
@media (max-width: 300px) { .msg > p { max-width:none; padding-left:11px; padding-right:11px; } }
/* Forced colours drop the fill: the transparent border is drawn in its place, and the tail, which is
   fill alone, goes. */
@media (forced-colors: active) { .msg > p::before, .msg > p::after { display:none; } }
/* The message inside a picture of the agent's own chat, where the agent has one app (deyu, 2026-10-10:
   "你的图片不对, 能在电脑上找到大概长什么样, 用那些图画"). Each is drawn from deyu's own recordings of
   that day — Muse's, Grok Bot's and Dot's iPhone apps, dark, as recorded — and Instinct from Messages:
   their top bar, the colours of a sent and a received message, and the field at the bottom. The answer
   to Allow comes back as a card, not a link ("it doesnt return a link but a card to auth. draw that as
   well"), drawn from Muse's: OF, Authorize Offhand, and the server's host. A picture: only the sent message is
   read out; the steps above say the rest. Muse's blue is #0177F1 in its app, drawn as the home page's
   #0071E3 so its white words keep 4.5:1; Dot's #336AF0 and Grok Bot's grey keep it as they are. */
.chat { --chat-bg:#070707; --chat-sent:#0071e3; --chat-got:#1f1f1f; --chat-field:#212121; --chat-go:#0177f1; }
.chat-grok { --chat-bg:#151515; --chat-sent:#5c5c5c; --chat-got:#212121; --chat-field:#383838; --chat-go:#fff; }
/* Text drawn in the picture keeps 4.5:1 too: the app's #8E8E93 on Grok Bot's field is 3.6:1. */
.chat-grok .chat-field { color:#aeaeb2; }
/* Grok Bot's Mac app, where its webhook is made (deyu, 2026-10-13: "用我屏幕画的instruction"), from his
   screen that evening: a window's corner and lights, its name in a pill, grey sent words, and the field with
   its + inside. Its received grey is #1c1c1c on #131313, as drawn. */
.chat-grok-mac { --chat-bg:#131313; --chat-sent:#3d3d3d; --chat-got:#1c1c1c; --chat-field:#1d1d1d; --chat-go:#fff; }
.chat-grok-mac .chat-app { border-radius:14px; }
.chat-grok-mac .chat-field { color:#aeaeb2; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.chat-grok-mac .chat-field .in { color:#aeaeb2; }
.chat-lights { display:flex; gap:5px; padding:4px 0 0 2px; }
.chat-lights i { width:9px; height:9px; border-radius:50%; background:#ff5f57; }
.chat-lights i + i { background:#febc2e; }
.chat-lights i + i + i { background:#28c840; }
.chat-note { justify-self:center; display:flex; align-items:center; gap:5px; margin:0; font-size:12px; line-height:16px; color:#8e8e93; }
.chat-note svg { width:12px; height:12px; }
.chat-links { margin:6px 0 0; padding:0; list-style:none; }
.chat-links li { display:flex; align-items:center; gap:6px; margin:2px 0 0; }
.chat-links svg { flex:none; width:14px; height:14px; color:#8e8e93; }
.chat-imessage { --chat-bg:#000; --chat-got:#3a3a3c; --chat-field:#1c1c1e; }
.chat-dot { --chat-bg:#020202; --chat-sent:#336af0; --chat-got:#212121; }
/* Duet's own phone on claude.com/product/claude-duet (2026-10-22): white,
   peach sent words, mascot at the top, and Chat / Tasks / Make below Message.
   Keep its illustrated appearance in both Offhand appearances, as the other chats do. */
.chat-duet { --chat-bg:#f8f8f6; --chat-sent:#f4cbb7; --chat-field:#fff; --chat-go:#141413; }
.chat-duet .chat-app, .chat-duet .chat-sent { color:#20201e; }
.chat-duet .chat-btn { background:#fff; box-shadow:0 1px 4px #00000014; }
.chat-duet .chat-field { color:#62625e; box-shadow:inset 0 0 0 1px #e4e4df; }
.chat-duet .chat-field .in { color:#20201e; }
.chat-duet .chat-go i { width:14px; height:14px; border-radius:0; background:linear-gradient(90deg,#fff 0 2px,transparent 2px 4px,#fff 4px 6px,transparent 6px 8px,#fff 8px 10px,transparent 10px 12px,#fff 12px 14px); }
.chat-tabs { display:flex; justify-content:space-around; margin-top:10px; padding:8px; border:1px solid #e4e4df; border-radius:22px; color:#454542; font:600 12px/16px -apple-system,BlinkMacSystemFont,system-ui,"Helvetica Neue",sans-serif; }
.chat-tabs span { padding:2px 8px; border-radius:16px; }
.chat-tabs span:first-child { background:#e9e9e6; }
.chat-app { padding:12px 12px 10px; border:1px solid var(--line); border-radius:26px; background:var(--chat-bg); color:#fff; font-family:-apple-system,BlinkMacSystemFont,system-ui,sans-serif; }
.chat svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.chat-top { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; align-items:start; margin:0 0 14px; }
.chat-btn { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#1c1c1e; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); }
.chat-who { display:grid; justify-items:center; gap:4px; min-width:0; font:600 14px/18px -apple-system,system-ui,sans-serif; text-align:center; }
.chat-who img { display:block; width:56px; height:56px; border-radius:50%; background:#fff; object-fit:cover; }
.chat-who img.dot { background:none; border-radius:0; width:44px; height:44px; margin:8px 0 6px; transform:scale(1.68); }
.chat-pill { display:inline-flex; align-items:center; gap:8px; justify-self:center; max-width:100%; min-height:40px; padding:5px 16px 5px 5px; border-radius:20px; background:#262626; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); font:600 16px/20px -apple-system,system-ui,sans-serif; }
.chat-pill img { flex:none; width:30px; height:30px; border-radius:50%; }
.chat-name { position:relative; padding:2px 10px; white-space:nowrap; border-radius:11px; background:#2c2c2e; font-size:12px; line-height:18px; }
.chat-face { display:block; width:46px; height:46px; border-radius:50%; overflow:hidden; background:#fff; }
.chat-face img { display:block; width:100%; height:100%; transform:scale(1.2); }
.chat-imessage .chat-btn { background:none; box-shadow:none; color:#0a84ff; }
.chat-body { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.chat-sent, .chat-got { margin:0; padding:9px 14px 10px; border:1px solid transparent; border-radius:20px; color:#fff; font-size:16px; line-height:21px; overflow-wrap:anywhere; }
.chat-sent { justify-self:end; max-width:86%; background:var(--chat-sent); white-space:pre-line; user-select:all; }
.chat-got { justify-self:start; max-width:80%; background:var(--chat-got); }
.chat-got u { text-underline-offset:3px; }
.chat-card { justify-self:start; display:flex; flex-wrap:wrap; align-items:center; gap:12px; width:80%; padding:10px 14px 10px 10px; border:1px solid transparent; border-radius:16px; background:var(--chat-got); }
.chat-card .tile { flex:none; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; box-shadow:none; border-radius:10px; background:#3a3a3c; font:600 13px/1 -apple-system,system-ui,sans-serif; color:#c7c7cc; }
.chat-card > span:nth-child(2) { flex:1 1 0; min-width:0; overflow-wrap:anywhere; }
/* Muse's Connect, under its card's title: the card's width, a capsule; its tile is white. */
.chat-card-button { flex:1 0 100%; padding:6px 0; border-radius:999px; background:#545456; color:#fff; text-align:center; font:500 15px/20px -apple-system,system-ui,sans-serif; }
.chat-card .tile.white { background:#fff; color:#1c1c1e; }
.chat-card .tile.white svg { width:24px; height:24px; }
.chat-card b { display:block; font:600 15px/20px -apple-system,system-ui,sans-serif; }
.chat-card small { display:block; font-size:13px; line-height:18px; color:#8e8e93; }
.chat-bar { display:flex; align-items:center; gap:8px; margin:14px 0 0; }
.chat-plus { flex:none; display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#1c1c1e; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); font:300 24px/1 -apple-system,system-ui,sans-serif; }
.chat-field { flex:1; display:flex; align-items:center; gap:8px; min-width:0; height:40px; padding:0 5px 0 14px; border-radius:20px; background:var(--chat-field); color:#8e8e93; font-size:16px; }
.chat-field .ph { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.chat-field .in { margin-left:-4px; color:#fff; font:300 24px/1 -apple-system,system-ui,sans-serif; }
.chat-go { flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--chat-go); }
.chat-go i { width:10px; height:10px; border-radius:2px; background:#fff; }
.chat-grok .chat-go i, .chat-grok-mac .chat-go i { width:12px; height:12px; border-radius:0; background:linear-gradient(90deg,#000 0 2px,transparent 2px 5px,#000 5px 7px,transparent 7px 10px,#000 10px 12px); }
.chat-app + .msg-actions { margin-top:14px; }
/* Large text: the bar's side buttons, the field's glyphs and the card's tile go, and the paddings narrow — into the
   card's own, where the chat sits in one — so the name and the words keep the width ("Subscrib / e" in Dot's at 200 %). */
@media (max-width: 300px) { .chat-btn, .chat-plus, .chat-lights, .chat-field svg, .chat-go, .chat-card .tile, .chat-tabs { display:none; } .chat-top { grid-template-columns:minmax(0,1fr); } .chat-sent, .chat-got, .chat-card { max-width:none; width:auto; }
  .chat-app { padding:8px 6px; border-radius:18px; } .chat-sent, .chat-got { padding-left:10px; padding-right:10px; } .card.pad .chat { margin-left:-10px; margin-right:-10px; } }
/* Grok Bot's routine as its Mac app opens it from Webhook URL, drawn from deyu's screen (2026-10-13): its name,
   when it runs, and the webhook's three rows — POST to, key, header — the two that steps 3 and 4 copy ringed. The
   key is drawn as dots: it is the person's. */
.grok-routine { margin:12px 0 0; padding:12px 14px 14px; border:1px solid var(--line); border-radius:14px; background:#131313; color:#e5e5e5; font:400 13px/18px -apple-system,BlinkMacSystemFont,system-ui,sans-serif; }
.grok-routine svg { flex:none; width:14px; height:14px; fill:none; stroke:#8e8e93; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gr-head { display:grid; grid-template-columns:20px minmax(0,1fr) 20px; align-items:center; margin:0 0 4px; text-align:center; font-weight:600; }
.gr-head b { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:600; }
.grok-routine small { display:block; margin:10px 0 4px; font-size:12px; line-height:16px; color:#8e8e93; }
.gr-when { display:flex; align-items:center; gap:6px; }
.gr-row { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:8px; margin:6px 0 0; }
.gr-row > span { color:#8e8e93; }
.gr-row code { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:5px 8px; border-radius:7px; background:#1c1c1c; color:#e5e5e5; font:400 12px/16px ui-monospace,Menlo,monospace; }
.gr-row.pick code { box-shadow:0 0 0 2px #8fb39b; }
/* Large text: the pictures' small glyphs go, as the chat's field glyphs do, so a word keeps its line ("Webho / ok
   URL" at 200 %), and the routine's name and rows wrap instead of cutting off. */
@media (max-width: 300px) { .chat-links svg, .gr-head svg { display:none; } .chat-note { display:block; text-align:center; } .chat-note svg { display:inline; margin:0 3px; vertical-align:-1px; }
  .gr-head { grid-template-columns:minmax(0,1fr); } .gr-head b { white-space:normal; } .gr-row { grid-template-columns:minmax(0,1fr); gap:2px; } }
.msg code { display:inline-block; max-width:100%; font:500 14px/20px ui-monospace,SFMono-Regular,Menlo,monospace; }
.msg-actions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0; }
.msg-actions button { flex:1 1 7em; margin:0; font-size:15px; }
.msg-actions button[hidden] { display:none; }
/* ChatGPT's Plugins page, its top right, in a browser's bar: a pointer opens Add and goes to Add custom
   MCP server. A picture only (aria-hidden): the step above it says the same. An SVG, so the pointer lands
   on the same row at any width. It plays twice and rests, as an animation beside a form must stop
   (WCAG 2.2.2, the Design review, 2026-10-10): each loop starts and ends on the rest frame — the menu
   open, the pointer on its row — which is all that reduced motion shows. It starts 8 % in, closed. */
.gpt { margin:6px 0 4px; border-radius:12px; background:var(--paper); border:1px solid var(--line); overflow:hidden; }
.gpt svg { display:block; width:100%; height:auto; }
/* A picture keeps its size when text grows: at 200 % text, under 300 css px, it shows only the top
   right — Add and its menu, from x 104 of 340 — so their words are half again as big. */
@media (max-width: 300px) { .gpt svg { width:144%; margin-left:-44%; } }
.gpt text { font-family:var(--sans); fill:var(--ink); }
.gpt .h { font-size:20px; font-weight:700; letter-spacing:-.01em; }
.gpt .m { font-size:13px; }
.gpt .b { font-weight:600; }
.gpt .dim { font-size:12px; fill:var(--ink3); }
.gpt .url { font-size:10.5px; fill:var(--ink2); text-anchor:middle; }
.gpt .chrome { fill:var(--canvas); }
.gpt .rule { stroke:var(--line); }
.gpt .search { fill:none; stroke:var(--line); }
.gpt .bar, .gpt .open, .gpt .hl, .gpt .lights { fill:var(--line); }
.gpt .add, .gpt .tile, .gpt .field { fill:var(--fill); }
.gpt .tile { stroke:var(--line); }
.gpt .glyph { fill:none; stroke:var(--ink2); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.gpt .chev { stroke:var(--ink); }
.gpt .sheet-bg { fill:var(--paper); stroke:var(--line); }
.gpt .menu { filter:drop-shadow(0 6px 14px rgba(0,0,0,.14)); }
.gpt .ring { fill:none; stroke:var(--moss); stroke-width:2; opacity:0; transform-box:fill-box; transform-origin:center; }
.gpt .pointer path { fill:#111; stroke:#fff; stroke-width:1.2; stroke-linejoin:round; }
.gpt .pointer { transform:translate(303px,158px); }
@media (prefers-reduced-motion: no-preference) {
  .gpt .pointer, .gpt .press, .gpt .menu, .gpt .open, .gpt .hl, .gpt .ring { animation-duration:7s; animation-delay:-.56s; animation-iteration-count:2; }
  .gpt .pointer { animation-name:gpt-pointer; }
  .gpt .press { animation-name:gpt-press; transform-box:fill-box; transform-origin:0 0; }
  .gpt .menu { animation-name:gpt-menu; }
  .gpt .open { animation-name:gpt-open; }
  .gpt .hl { animation-name:gpt-hl; }
  .gpt .ring.one { animation-name:gpt-ring-one; }
  .gpt .ring.two { animation-name:gpt-ring-two; }
}
@keyframes gpt-pointer {
  0% { transform:translate(303px,158px); opacity:1; }
  5% { transform:translate(303px,158px); opacity:0; }
  6% { transform:translate(190px,150px); opacity:0; }
  12% { transform:translate(190px,150px); opacity:1; }
  26%, 38% { transform:translate(305px,41px); }
  54%, 100% { transform:translate(303px,158px); opacity:1; }
}
@keyframes gpt-press { 0%, 27%, 33%, 55%, 61%, 100% { transform:none; } 29%, 58% { transform:scale(.86); } }
@keyframes gpt-menu { 0%, 35%, 100% { opacity:1; transform:none; } 5%, 30% { opacity:0; transform:translateY(-4px); } }
@keyframes gpt-open { 0%, 30%, 100% { opacity:1; } 5%, 27% { opacity:0; } }
@keyframes gpt-hl { 0%, 54%, 100% { opacity:1; } 5%, 50% { opacity:0; } }
@keyframes gpt-ring-one { 0%, 28% { opacity:0; transform:scale(.4); } 29% { opacity:.8; transform:scale(.4); } 37%, 100% { opacity:0; transform:scale(1.8); } }
@keyframes gpt-ring-two { 0%, 57% { opacity:0; transform:scale(.4); } 58% { opacity:.8; transform:scale(.4); } 66%, 100% { opacity:0; transform:scale(1.8); } }

/* ChatGPT's form, drawn as a card of its own fields in its order, each with what to put in it. */
ol.steps + ol.steps, .button + ol.steps, .form + ol.steps, .gpt + ol.steps, .cmd + ol.steps, .msg + ol.steps, .key + ol.steps { margin-top:20px; }
.form { margin:6px 0 4px; border-radius:12px; background:var(--paper); border:1px solid var(--line); }
.field { padding:10px 12px; border-top:1px solid var(--line); }
.field:first-child { border-top:none; }
.field small { display:block; }
/* A value is as wide as its longest word: where it and its button cannot share the line, at 200 %
   text, the button goes under it rather than breaking Offhand.png mid-word. The address goes by
   twelve of its characters, so its Copy goes under it too, and it still breaks anywhere. */
.field div { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:2px; color:var(--ink); }
.field div span { flex:1 1 auto; overflow-wrap:break-word; }
.field code { flex:1 1 12ch; font:500 14px/20px ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap:anywhere; user-select:all; }
.field button, .field .button { flex:none; width:auto; min-height:44px; margin:0; padding:10px 12px; font-size:15px; }
.wait { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:24px 0 0; padding:10px 10px 10px 14px; border-radius:12px; background:var(--fill); color:var(--ink2); }
/* The status takes the line's room, so a short one keeps its button at the line's end; a long one — an Allow
   chosen — puts its button under it, at the start of the line, never alone at the right. */
.wait [role=status] { flex:1 1 auto; min-width:0; max-width:calc(100% - 28px); }
.wait .button { width:auto; min-height:44px; margin:0; padding:10px 16px; font-size:15px; }
.spin { flex:none; width:18px; height:18px; border-radius:50%; border:2px solid var(--line); border-top-color:var(--moss); animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation:none; } }
.big { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 20px; border-radius:50%; background:var(--fill); color:var(--moss); }
.big svg { width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
/* A question about the step above, in fine print: a link's look, a button's target. */
.fine.why { margin:4px 0 0; }
.fine.why button { display:inline-flex; width:auto; min-height:44px; margin:0; padding:0; border:0; border-radius:0; background:none; color:var(--moss); font:inherit; text-decoration:underline; text-underline-offset:3px; }
.back { display:flex; align-items:center; justify-content:center; min-height:44px; margin:16px 0 0; font-size:15px; text-align:center; }
.center code { font:500 15px/20px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ink); }

/* The connect pages' top: the name, and the way back to the account at the other end, as a sheet's Done. */
.bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 32px; }
.bar .brand { margin:0; }
.bar .button { width:auto; min-height:36px; margin:0; padding:6px 16px; font-size:15px; }
/* Where the name and Cancel cannot share the row — 98 + 12 + 83 + the 40 of margins is 233 — the
   icon stands for the name, so the page does not scroll sideways at 200 % text; the name is still
   read out. A phone at 100 % is 320 or wider, and a bar with no button, so they keep the name. */
@media (max-width: 240px) { .bar .brand:not(:only-child) svg { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); } }
/* A section of a page in a card of its own, with words in it rather than rows. */
.card.pad { padding:16px; }
.card.pad > :first-child { margin-top:0; }
.card.pad > :last-child { margin-bottom:0; }
.card.pad .cmd { background:var(--canvas); }
.card.pad .msg { --behind:var(--paper); }
/* A link inside a card's sentence is underlined, as the fine print's are: its colour alone is too near the text's. */
.card.pad > p a { text-decoration:underline; text-underline-offset:3px; }
.card.pad form.routine input { background:var(--canvas); }
.button.next { margin-top:28px; }

/* A question over the page: System Settings' sheet and alert. The app icon heads it only where it is
   a page of its own (no script), as a macOS alert carries the app's icon. */
dialog { width:min(420px, calc(100% - 32px)); max-width:none; max-height:calc(100% - 32px); margin:auto; padding:0; border:none; border-radius:18px; background:var(--paper); color:var(--ink); box-shadow:0 0 0 1px var(--line),0 24px 64px rgba(0,0,0,.28); overflow:auto; overscroll-behavior:contain; }
dialog::backdrop { background:rgba(15,17,15,.42); }
@media (prefers-color-scheme: dark) { dialog::backdrop { background:rgba(0,0,0,.6); } }
/* A question is an alert, narrower than a sheet: its two answers side by side, no wider than they need. */
dialog.alert { width:min(360px, calc(100% - 32px)); }
main > .sheet.alert { max-width:360px; margin:0 auto; width:100%; }
html:has(dialog[open]) { overflow:hidden; }
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation:rise .2s cubic-bezier(.2,.8,.2,1); }
  dialog[open]::backdrop { animation:fade .2s ease-out; }
}
@keyframes rise { from { opacity:0; transform:translateY(8px) scale(.98); } }
@keyframes fade { from { opacity:0; } }
.sheet { padding:24px; }
main > .sheet { background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--lift); }
.sheet .icon { width:56px; height:56px; margin:0 0 16px; }
.sheet .title { margin:0 0 8px; padding:0; font:700 20px/26px var(--sans); letter-spacing:-.01em; text-transform:none; color:var(--ink); }
.sheet .title:focus { outline:none; }
.sheet > p, .sheet form > p { font-size:15px; line-height:20px; }
.sheet .head { display:grid; grid-template-columns:32px minmax(0,1fr); align-items:center; column-gap:12px; margin:0 0 20px; }
.sheet .head .title { margin:0; overflow-wrap:anywhere; }
.sheet .head small { display:block; }
/* At 200 % text, the mark over the name, as the account's rows stack it (below, so it wins over the rule above). */
@media (max-width: 360px) { .sheet .head { grid-template-columns:minmax(0,1fr); row-gap:8px; } }
.editor p.warn { color:var(--warn); }
/* Its answers in a row of equal buttons, Cancel before the action, as a Mac alert sets them; where
   one's words no longer fit on a line, a column, the action on top (wrap-reverse), as an iPhone alert stacks. */
.choices { display:flex; flex-wrap:wrap-reverse; gap:10px; margin:24px 0 0; }
/* Each starts at half the row and is never narrower than its words on one line (fit-content), so one
   that does not fit half puts both on lines of their own. Narrower than 241, at 200 % text and up,
   half a row is narrower than any answer and they stack anyway; there a word wider than the whole
   row would push the page sideways, so the floor is off. */
.choices > * { flex:1 1 calc(50% - 5.5px); }
@media (min-width: 241px) { .choices > * { min-width:fit-content; } }
.choices button, .choices .button { width:100%; margin:0; }
/* Answers too long for a row at any size, stacked as an iPhone alert stacks them, the action on top. */
.choices.stack { flex-direction:column-reverse; flex-wrap:nowrap; }
.choices.stack > * { flex:none; }
/* The sheet's own end: Disconnect at one end, Done at the other. */
.choices.ends { flex-wrap:wrap; justify-content:space-between; padding-top:16px; border-top:1px solid var(--line); }
.choices.ends > * { flex:0 1 auto; }
/* Done alone, where nothing disconnects (a dot's, dotPlace), still at the end. */
.choices.ends > :only-child { margin-left:auto; }
.choices.ends button, .choices.ends .button { width:auto; min-height:36px; padding:6px 16px; font-size:15px; }
/* The one action that ends something, filled, so it is never the button pressed by habit. */
button.danger { background:var(--danger-fill); border-color:var(--danger-fill); color:#fff; }

/* The setup in Japanese and Chinese (i18n.ts): the device's own fonts for the script, as the site's /ja and /zh pages
   set them (Web/public/locales.css); a heading broken at a phrase, never mid-word; Google's button label as text. */
@font-face { font-family:"Ellipsis JA"; src:local("HiraginoSans-W3"), local("Hiragino Sans W3"), local("YuGothic-Regular"); unicode-range:U+2026; font-weight:100 500; }
@font-face { font-family:"Ellipsis JA"; src:local("HiraginoSans-W6"), local("Hiragino Sans W6"), local("YuGothic-Bold"); unicode-range:U+2026; font-weight:600 900; }
@font-face { font-family:"Ellipsis ZH"; src:local("PingFangSC-Regular"), local("PingFang SC Regular"), local("MicrosoftYaHei"); unicode-range:U+2026; font-weight:100 500; }
@font-face { font-family:"Ellipsis ZH"; src:local("PingFangSC-Semibold"), local("PingFang SC Semibold"), local("MicrosoftYaHei-Bold"); unicode-range:U+2026; font-weight:600 900; }
:root:lang(ja) { --sans:"Ellipsis JA",-apple-system,BlinkMacSystemFont,system-ui,"Hiragino Sans","Yu Gothic",sans-serif; }
:root:lang(zh-Hans) { --sans:"Ellipsis ZH",-apple-system,BlinkMacSystemFont,system-ui,"PingFang SC","Microsoft YaHei",sans-serif; }
:root:is(:lang(ja),:lang(zh-Hans)) body { line-break:strict; }
/* Japanese breaks at a phrase, so no line ends on one or two characters; Chinese evens its last line (the review, 2026-12-01). */
:root:lang(ja) :is(h1, h2, button, .button, p, li, .scope b, .scope span) { word-break:auto-phrase; }
:root:lang(zh-Hans) :is(p, li, .scope b, .scope span) { text-wrap:pretty; }
/* A full-width ？ at a link's end is drawn half-width, so the underline ends at the mark. */
:root:is(:lang(ja),:lang(zh-Hans)) .why button { font-feature-settings:"halt"; }
/* The heading as the site's /ja and /zh pages set theirs (Web/public/locales.css): the system sans, bold, no tracking. */
:root:is(:lang(ja),:lang(zh-Hans)) h1.serif { font:700 36px/1.25 var(--sans); letter-spacing:0; }
:root:is(:lang(ja),:lang(zh-Hans)) h2 { text-transform:none; letter-spacing:0; }
/* A link to an English page: its name underlined, its （英語） label beside it, the two kept on one line. */
a.en-only { white-space:nowrap; }
a.en-only span { display:inline-block; }
.can-do { margin:0 0 8px; color:var(--ink); font-weight:600; }
/* Paired with Apple's: its title's size, weight, colour and tracking (the review, 2026-12-01). */
button.google .label.words { display:block; padding:8px 0; font:500 15px/20px var(--sans); color:#000; letter-spacing:-.01em; }
/* The row of languages at the page's foot: the site's footer row (Web/public/styles.css, nav.locale-switch). */
.locale-switch { display:flex; flex-wrap:wrap; justify-content:center; gap:0 20px; margin:32px 0 0; }
.locale-switch a { display:inline-flex; align-items:center; min-width:44px; min-height:44px; justify-content:center; font-size:13px; line-height:18px; color:var(--ink2); }
.locale-switch [aria-current="page"] { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.msg-note { margin:8px 0 0; text-align:center; }
.msg-note + ol.steps { margin-top:20px; }
