
/* ChatGPT's layout (spec 26 Oct: the 768px column, the sidebar, the spacing) in Plenne's design system, cut-out paper
   (founder, 31 Oct): paper ground, raised paper and butter for what sits on it, sun to mark what's selected, cobalt for
   the one primary action and links. Shapes are told apart by colour, never by shadows or outlines (the keyboard focus
   ring excepted). Everything tappable is a pill; cards and bubbles 20px; sheets 28px; inputs 8px. Figtree for text,
   Bricolage Grotesque for headings, bundled (the page's policy loads nothing from elsewhere: font-src 'self'). */
@font-face{font-family:"Figtree";src:url(/app/fonts/figtree-latin.woff2) format("woff2");font-weight:300 800;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url(/app/fonts/bricolage-latin.woff2) format("woff2");font-weight:400 800;
font-display:swap}
:root{--font:"Figtree",ui-sans-serif,-apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
--display:"Bricolage Grotesque","Figtree",ui-sans-serif,system-ui,sans-serif;
--bg:#FFFCF0;--raised:#FFFFFF;--butter:#FFF3C4;--line:#EFE6C8;--text:#1B2340;--muted:#4F5775;
--side:var(--butter);--surface:var(--butter);--bubble:var(--butter);--field-bg:var(--butter);
--hover:#EFE6C8;--sun:#FFDD55;--on-sun:#1B2340;--accent:#2447B3;--on-accent:#FFFFFF;--link:#2447B3;--focus:#2447B3;
--solid:#1B2340;--on-solid:#FFFCF0;--off:#EFE6C8;--offtext:#4F5775;--leaf:#3B9466;--leaf-ink:#1E6B44;--leaf-soft:#E2F2E7;
--warn:#A3410E;--coral:#A3410E;--edge:rgba(27,35,64,.18);--cut-sky:#CFE3F7;--cut-leaf:#3B9466;--cut-sun:#FFDD55;--cut-cobalt:#2447B3;--glass:rgba(255,243,196,.42);--glass-off:rgba(239,230,200,.5);--rim:rgba(255,255,255,.55);--tape:rgba(255,221,85,.7);--lift:0 1px 1px rgba(27,35,64,.10),0 5px 10px -5px rgba(27,35,64,.16),0 18px 24px -18px rgba(27,35,64,.24);--sheen:rgba(255,255,255,.35);--curl:rgba(27,35,64,.07);--kb:0px;--sidew:0px;
--cid-badge:#E9E9E9;--cid-badge-ink:#262626}  /* ConnectID's own badge colours (its UX Standards 4: connectid.py), both schemes */
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#121733;--raised:#1B2147;--butter:#262B4E;--line:#2F3660;--text:#FBF6E4;
--muted:#C2C6DA;--hover:#2F3660;--accent:#9DB4FF;--on-accent:#121733;--link:#9DB4FF;--focus:#FFDD55;--solid:#FBF6E4;
--on-solid:#121733;--off:#2F3660;--offtext:#C2C6DA;--leaf:#6CC495;--leaf-ink:#8FD8AE;--leaf-soft:#1D3A33;--warn:#F4A261;--coral:#F4A261;--edge:rgba(251,246,228,.2);--cut-sky:#26386B;--cut-leaf:#2F7A55;--cut-sun:#D9B73A;--cut-cobalt:#5B78D6;--glass:rgba(38,43,78,.5);--glass-off:rgba(47,54,96,.55);--rim:rgba(251,246,228,.12);--tape:rgba(255,221,85,.42);--lift:0 1px 1px rgba(0,0,0,.25),0 6px 12px -5px rgba(0,0,0,.35),0 18px 26px -18px rgba(0,0,0,.45);--sheen:rgba(255,255,255,.06);--curl:rgba(0,0,0,.18);color-scheme:dark}}
:root[data-theme=dark]{--bg:#121733;--raised:#1B2147;--butter:#262B4E;--line:#2F3660;--text:#FBF6E4;
--muted:#C2C6DA;--hover:#2F3660;--accent:#9DB4FF;--on-accent:#121733;--link:#9DB4FF;--focus:#FFDD55;--solid:#FBF6E4;
--on-solid:#121733;--off:#2F3660;--offtext:#C2C6DA;--leaf:#6CC495;--leaf-ink:#8FD8AE;--leaf-soft:#1D3A33;--warn:#F4A261;--coral:#F4A261;--edge:rgba(251,246,228,.2);--cut-sky:#26386B;--cut-leaf:#2F7A55;--cut-sun:#D9B73A;--cut-cobalt:#5B78D6;--glass:rgba(38,43,78,.5);--glass-off:rgba(47,54,96,.55);--rim:rgba(251,246,228,.12);--tape:rgba(255,221,85,.42);--lift:0 1px 1px rgba(0,0,0,.25),0 6px 12px -5px rgba(0,0,0,.35),0 18px 26px -18px rgba(0,0,0,.45);--sheen:rgba(255,255,255,.06);--curl:rgba(0,0,0,.18);color-scheme:dark}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}
html,body{height:100%;margin:0;overflow:hidden}
body{background:var(--bg);color:var(--text);font:16px/24px var(--font);-webkit-font-smoothing:antialiased;
-webkit-text-size-adjust:100%}
button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
svg [stroke-width]{stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
h1,h2,.wordmark,.ct{font-family:var(--display);font-weight:700;letter-spacing:-.02em}
.hl{background:var(--sun);color:var(--on-sun);border-radius:8px;padding:0 .12em;-webkit-box-decoration-break:clone;
box-decoration-break:clone}
.mark{flex:0 0 auto;display:block}
header{position:fixed;top:0;left:var(--sidew);right:0;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;
align-items:center;height:calc(env(safe-area-inset-top) + 52px);padding:env(safe-area-inset-top) 4px 0;background:var(--bg)}
#menu{grid-area:1/1}#title{grid-area:1/2}#newchat,#spacer{grid-area:1/3}
.title{font-size:16px;line-height:24px;font-weight:500;text-align:center;padding:0 8px;white-space:nowrap;overflow:hidden;
text-overflow:ellipsis}
.spacer{width:44px}
.ib{flex:0 0 auto;width:44px;height:44px;border:0;border-radius:999px;background:transparent;color:var(--text);
display:inline-flex;align-items:center;justify-content:center;padding:0}
main{position:fixed;top:0;bottom:0;left:var(--sidew);right:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
overscroll-behavior:contain;padding:calc(env(safe-area-inset-top) + 68px) max(16px,calc((100vw - var(--sidew) - 768px) / 2))
calc(var(--kb) + env(safe-area-inset-bottom) + 96px)}
main:has(~ .card.float:not([hidden])){padding-bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 100px + var(--cardh,140px))}
main:has(~ #composer .pill.tall){padding-bottom:calc(var(--kb) + var(--composer,76px) + 24px)}
h1{margin:0 0 8px;font-size:28px;line-height:36px}
h2{margin:0 0 16px;font-size:20px;line-height:28px}p{margin:0 0 16px}.muted{color:var(--muted)}
.start{max-width:400px;margin:12vh auto 0}.start .muted{margin-bottom:24px}
.start h2{font-size:18px;line-height:26px;margin:24px 0 8px}.start a{color:var(--link)}h1[tabindex="-1"]:focus{outline:none}.small{font-size:14px;line-height:20px}
#shared{margin-top:8vh}.shared{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;margin:0 0 8px}
.shared dt{color:var(--muted)}
.verified{display:table;background:var(--cid-badge);color:var(--cid-badge-ink);border-radius:999px;padding:4px 12px;margin:0 0 12px;
font-size:14px;line-height:20px;font-weight:500}.shared dd{margin:0;font-weight:500;overflow-wrap:anywhere}#shared .primary{margin-top:16px}#shared .alt{margin-top:8px}
form{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
label{font-size:14px;line-height:20px;font-weight:500;color:var(--text);margin-top:8px}label:first-child{margin-top:0}
input{width:100%;min-height:52px;border:0;border-radius:8px;padding:0 16px;font:inherit;
background:var(--field-bg);color:var(--text);outline:none}
input::placeholder{color:var(--muted)}
input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
button.primary,button.alt{min-height:52px;border-radius:999px;font-weight:600;padding:0 24px;width:100%}
button.primary{background:var(--accent);color:var(--on-accent);border:0}
button.alt{background:var(--butter);border:0}
button.plain{background:transparent;border:0;font-weight:600;min-height:44px;padding:0 16px;border-radius:999px}
form button.primary{margin-top:16px}
.msg{font-weight:500;font-size:14px;line-height:20px}
.round{flex:0 0 auto;width:44px;height:44px;border-radius:50%;border:0;display:inline-flex;align-items:center;
justify-content:center;padding:0;color:var(--text)}
.plainicon{background:transparent}
.card{background:var(--raised);border:0;border-radius:20px;padding:16px;margin:8px 0 24px}
#joinform{flex-direction:row}#joinform input{flex:1;min-width:0}#joinform button{width:auto;flex:0 0 auto;margin:0}
#join{margin-top:8vh}#namebox{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}#namebox[hidden]{display:none}
#join .joinhow{margin:32px 0 8px}.small{font-size:14px;line-height:20px}
.card.float{position:fixed;z-index:6;left:calc(var(--sidew) + 12px);right:12px;max-width:480px;margin:0 auto;
bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 84px);padding:16px;background:var(--butter)}
.ct{font-size:18px;line-height:28px;margin:0 40px 0 0}.float .muted{font-size:14px;line-height:20px;margin:4px 0 12px}
.float p:last-child{margin-bottom:0}
.row{display:flex;gap:8px}.row .primary,.row .alt{flex:1;min-height:44px}.row .plain{flex:1}
.x{position:absolute;top:4px;right:4px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;
color:var(--muted);font-size:22px;line-height:1}
#empty{text-align:center;margin-top:28vh}#empty h2{font-size:28px;line-height:36px;margin:0 0 24px}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.chip{border:0;background:var(--butter);border-radius:999px;padding:0 16px;font-size:14px;line-height:20px;
min-height:40px;color:var(--text)}
/* the thread */
#log{display:flex;flex-direction:column;gap:24px}
.b{white-space:pre-wrap;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.b.me{align-self:flex-end;max-width:70%;background:var(--bubble);border-radius:20px;padding:8px 16px}
.b.bot{align-self:stretch;max-width:100%}
.b.them{align-self:flex-start;max-width:70%;background:var(--raised);border-radius:20px;padding:8px 16px}
.who{display:block;font-size:13px;line-height:20px;font-weight:600;color:var(--muted)}
.b pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:20px;background:var(--surface);padding:16px;border-radius:12px}
/* a text to send on (a ``` block): one tap copies it (Andrew, 27 Oct: the cleaner's text was hard to copy) */
.b pre+.copy{margin:-4px 0 8px}.copy{min-height:40px;border-radius:999px;border:0;background:var(--raised);color:var(--text);
font-weight:600;font-size:14px;line-height:20px;padding:8px 16px;display:inline-flex;align-items:center;gap:8px}
.copy:active{background:var(--sun);color:var(--on-sun)}
.b a{color:var(--link)}.b img{max-width:100%;border-radius:12px}.b figure{margin:0 0 8px}
.b figcaption{font-size:14px;color:var(--muted)}
.b.media{padding:4px}.b.media img{display:block;width:100%;max-width:280px;max-height:360px;object-fit:cover;border-radius:16px}
.b.media .who{padding:4px 12px 0}.b .cap{padding:4px 12px}.vn{display:flex;flex-direction:column;gap:4px;padding:4px 8px}
.vn span{font-size:14px;line-height:20px}.vn audio{width:240px;max-width:100%}
.btns{display:flex;flex-direction:column;gap:8px;margin-top:16px;white-space:normal}.btns:empty{display:none}
.brow{display:flex;gap:8px;flex-wrap:wrap}
.qr{flex:0 1 auto;min-height:40px;border-radius:999px;border:0;background:var(--butter);color:var(--text);
font-weight:600;font-variant-numeric:tabular-nums;font-size:14px;line-height:20px;padding:8px 16px;text-align:center;text-decoration:none;display:inline-flex;
align-items:center;justify-content:center}
a.qr{background:var(--accent);color:var(--on-accent)}
button.qr:active,button.qr:disabled{background:var(--sun);color:var(--on-sun)}
/* A tap shows at once (plenne#558): the button tapped is ticked and pops, the others of its row fade, then the
   server's answer (the choice alone, or the row with the tick moved) replaces them. A ticked button is a choice made. */
.qr.done,.qr.chosen{background:var(--sun);color:var(--on-sun)}
/* Press feedback as the finger lands, then a short pop on the choice (review-animations: under 300 ms, strong
   ease-out, transform and opacity only). */
button.qr{transition:transform .16s cubic-bezier(.23,1,.32,1)}button.qr:active:not(:disabled){transform:scale(.97)}
.qr.chosen{animation:picked .24s cubic-bezier(.23,1,.32,1)}
.qr.done.chosen{animation:none}
.btns.sent button.qr:not(.chosen){background:var(--butter);color:var(--text);opacity:.4;
 transition:opacity .2s cubic-bezier(.23,1,.32,1)}
@keyframes picked{0%{transform:scale(.97)}45%{transform:scale(1.04)}100%{transform:scale(1)}}
/* One tap in front of them at a time: the buttons of an older message dim once a newer message brings its own. They
   still work (an approval or a check-in can be answered late) and come back to full strength on hover or focus. */
.btns.old{opacity:.5;transition:opacity .2s cubic-bezier(.23,1,.32,1)}.btns.old:focus-within{opacity:1}
@media (hover:hover) and (pointer:fine){.btns.old:hover{opacity:1}}
@media (prefers-reduced-motion:reduce){.qr.chosen{animation:none}button.qr:active:not(:disabled){transform:none}
 .btns.sent button.qr:not(.chosen),.btns.old{transition:none}}
/* A card a bot message can carry (its "card": saloon_chat.py's dinner shortlist and result): venue tiles that vote
   when tapped, a first/backup pair, bars and a panel. Paper on paper, by colour (UX.md, Look); .lbl is a caption */
.cardx{display:flex;flex-direction:column;gap:12px;margin-top:16px;white-space:normal}
.tile{position:relative;display:flex;gap:12px;align-items:flex-start;width:100%;margin:0;padding:12px;border:0;
border-radius:20px;background:var(--raised);color:var(--text);font:inherit;text-align:left}
button.tile{cursor:pointer}.tile.picked{background:var(--butter)}.tile.picked .vtag{background:var(--raised)}
.art{flex:0 0 64px;height:64px;border-radius:16px;position:relative;overflow:hidden;background:var(--leaf-soft)}
.art::before,.art::after{content:"";position:absolute}
.art0{background:var(--butter)}.art0::before{width:34px;height:34px;border-radius:50%;background:var(--sun);left:15px;top:8px}
.art0::after{left:0;right:0;bottom:0;height:18px;background:var(--leaf)}
.art1::before{width:30px;height:46px;border-radius:0 100% 0 100%;background:var(--leaf);left:17px;top:9px}
.art2{background:var(--butter)}.art2::before{width:56px;height:28px;border-radius:56px 56px 0 0;background:var(--coral);left:4px;bottom:0}
.art2::after{width:16px;height:16px;border-radius:50%;background:var(--sun);right:8px;top:8px}
.art3{background:var(--hover)}.art3::before{width:44px;height:44px;border-radius:50%;background:var(--accent);left:-10px;bottom:-10px}
.art3::after{width:22px;height:22px;border-radius:50%;background:var(--sun);right:10px;top:10px}
.art4::before{width:64px;height:24px;border-radius:24px 24px 0 0;background:var(--sun);left:0;bottom:0}
.art4::after{width:20px;height:34px;border-radius:0 100% 0 100%;background:var(--leaf);left:22px;top:6px}
.tbody{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px;padding-right:44px}
.ttl{font-family:var(--display);font-weight:700;font-size:18px;line-height:24px;letter-spacing:-.01em}
.vmeta,.vnote,.vfoot,.bar{font-size:16px;line-height:22px}.vmeta,.vfoot{color:var(--muted)}
.tags{display:flex;flex-wrap:wrap;gap:4px}
.vtag{font-size:13px;line-height:20px;padding:2px 10px;border-radius:999px;background:var(--butter);color:var(--text)}
.vnote{font-weight:600}.vnote.ok{color:var(--leaf-ink)}.vnote.ask{color:var(--warn)}
.vmark{position:absolute;top:12px;right:12px;font-size:13px;line-height:20px;font-weight:700;padding:2px 10px;
border-radius:999px;background:var(--sun);color:var(--on-sun)}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pt{background:var(--raised);border-radius:20px;padding:12px 16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.pt.on{background:var(--sun);color:var(--on-sun)}.pt .lbl{font-size:13px;line-height:20px;font-weight:600}
.pt .ttl{overflow-wrap:anywhere}
.bars{display:flex;flex-direction:column;gap:8px}
.bar{display:grid;grid-template-columns:1fr auto;gap:4px 8px}
.bar i{grid-column:1/-1;display:block;height:8px;border-radius:999px;background:var(--butter);overflow:hidden}
.bar i span{display:block;height:100%;border-radius:999px;background:var(--muted)}
.bar.b1 i span{background:var(--leaf)}.bar.b2 i span{background:var(--sun)}
.panel{background:var(--butter);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:4px}
.panel .lbl{font-size:13px;line-height:20px;font-weight:600}
.panel .big{font-family:var(--display);font-weight:700;font-size:28px;line-height:34px;font-variant-numeric:tabular-nums}
.panel .txt{font-size:16px;line-height:22px}
.dots{display:flex;gap:4px;padding:16px 0}.dots span{width:8px;height:8px;border-radius:50%;background:var(--muted);
animation:blink 1.2s infinite ease-in-out}.dots span:nth-child(2){animation-delay:.15s}.dots span:nth-child(3){animation-delay:.3s}
@keyframes blink{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
#composer{position:fixed;z-index:6;left:var(--sidew);right:0;bottom:var(--kb);margin:0;background:var(--bg);
padding:8px max(12px,calc((100vw - var(--sidew) - 768px) / 2)) calc(env(safe-area-inset-bottom) + 8px)}
.kbup #composer{padding:8px}
.pill{display:flex;align-items:flex-end;gap:0;padding:4px;min-height:52px;border-radius:28px;background:var(--surface);
transition:border-radius .2s}
.pill textarea{flex:1 1 auto;min-width:0;min-height:44px;max-height:168px;border:0;background:transparent;color:var(--text);
padding:10px 4px;font:inherit;font-size:16px;line-height:24px;resize:none;outline:none;transition:height .15s ease}
.pill textarea::placeholder{color:var(--muted)}
#attach[hidden] ~ textarea{padding-left:16px}
#pill{position:relative}#plusmenu{left:0;right:auto;width:240px;bottom:calc(100% + 8px)}
#plusmenu .subh{display:block;margin:4px 12px 4px}#attach.busy{opacity:.5;pointer-events:none}
@media (hover:hover) and (pointer:fine){.pill:focus-within{outline:3px solid var(--focus);outline-offset:3px}}
.pill.tall{flex-wrap:wrap;align-items:center;border-radius:24px;padding:8px 4px 4px}
.pill.tall textarea{order:-1;flex:1 1 100%;padding:4px 12px 8px}
.pill.tall #attach{margin-right:auto}
#send{padding:4px;background-clip:content-box;background-color:var(--accent);color:var(--on-accent);transition:background .15s,scale .16s cubic-bezier(.23,1,.32,1)}
#send:disabled{background-color:var(--off);color:var(--offtext)}
#join button.busy{background:var(--off);color:var(--offtext);cursor:progress}
#join button.busy::before{content:"";display:inline-block;width:16px;height:16px;margin-right:10px;vertical-align:-3px;
border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
#mic.on{color:var(--warn);animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.4}}
#down{position:fixed;z-index:6;left:calc(50% + var(--sidew) / 2);transform:translateX(-50%);background:var(--butter);
bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 84px)}
#toast{position:fixed;z-index:7;left:calc(50% + var(--sidew) / 2);transform:translateX(-50%);
bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 84px);max-width:min(420px,calc(100% - 32px));background:var(--solid);
color:var(--on-solid);border-radius:999px;padding:8px 16px;font-size:14px;line-height:20px;text-align:center}
#down:not([hidden]) ~ #toast{bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 136px)}
.card.float:not([hidden]) ~ #toast{bottom:auto;top:calc(env(safe-area-inset-top) + 60px)}
body:has(#pill.tall) .card.float{visibility:hidden}
@media (hover:hover) and (pointer:fine){.ib:hover,.item:hover,.chip:hover,.qr:not(a):hover,button.alt:hover,
button.plain:hover,.plainicon:hover,#down:hover{background-color:var(--hover)}.item.active:hover{background-color:var(--sun)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* the sidebar: a drawer over the chat on a phone, beside it at a desk */
#scrim{position:fixed;inset:0;z-index:8;background:rgba(27,35,64,.4)}
#side{position:fixed;z-index:9;top:0;bottom:0;left:0;width:min(86vw,320px);background:var(--side);display:flex;
flex-direction:column;transform:translateX(-102%);visibility:hidden;
transition:transform .28s cubic-bezier(.2,.8,.2,1),visibility 0s linear .28s;
padding:env(safe-area-inset-top) 8px calc(env(safe-area-inset-bottom) + 8px)}
#side.open{transform:none;visibility:visible;transition-delay:0s}
/* swipes (founder, 1 Nov): main and the sidebar pan only up and down, so a sideways swipe drags nothing but the drawer */
main,#side,#scrim{touch-action:pan-y pinch-zoom}
#swipehint{position:fixed;z-index:7;right:0;top:50%;transform:translate(100%,-50%);padding:10px 16px 10px 20px;
border-radius:999px 0 0 999px;background:var(--raised);color:var(--muted);font-size:14px;line-height:20px;
font-weight:500;box-shadow:var(--lift);pointer-events:none;visibility:hidden}
#swipehint.on{visibility:visible}#swipehint.go{background:var(--sun);color:var(--text)}
.sidehead{display:flex;align-items:center;height:52px;flex:0 0 auto;padding-left:8px}
.wordmark{flex:1;display:flex;align-items:center;gap:8px;padding:0;font-size:20px;line-height:28px}
.sidebody{flex:1;overflow-y:auto;overscroll-behavior:contain;padding-bottom:8px}
#side h3{font-size:13px;line-height:20px;font-weight:500;color:var(--muted);margin:16px 0 4px;padding:0 8px}
.item{display:flex;align-items:center;gap:8px;width:100%;height:36px;padding:0 12px;border:0;border-radius:999px;
background:transparent;text-align:left;color:var(--text);font-size:14px;line-height:20px}
.item>svg{flex:0 0 20px}
.item:focus-visible{outline-offset:-3px}
.item.active{background:var(--sun);color:var(--on-sun)}.item.active .trail{color:var(--on-sun)}
.it{display:flex;flex-direction:column;min-width:0;flex:1}
.main{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub{font-size:13px;line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trail{flex:0 0 16px;color:var(--muted)}
.count{flex:0 0 auto;min-width:24px;height:20px;padding:0 8px;border-radius:999px;background:var(--sun);color:var(--on-sun);font-variant-numeric:tabular-nums;
font-size:13px;line-height:20px;font-weight:600;text-align:center}
.search{padding:8px 0 0}.search input{min-height:36px;border-radius:8px;padding:0 12px;background:var(--raised)}
#side .empty,dialog .empty{font-size:14px;line-height:20px;color:var(--muted);margin:4px 8px 8px}
.sidefoot{position:relative;flex:0 0 auto;padding-top:8px}
.item.prof{height:52px}
.av{flex:0 0 32px;height:32px;border-radius:50%;background:var(--solid);color:var(--on-solid);display:inline-flex;
align-items:center;justify-content:center;font-weight:600;font-size:14px}
.pop{position:absolute;z-index:10;left:0;right:0;bottom:calc(100% + 4px);background:var(--raised);border:0;
border-radius:20px;padding:8px}
.dot{flex:0 0 8px;height:8px;margin:0 6px;border-radius:50%;background:var(--muted)}.dot.on{background:var(--leaf)}
.tag{flex:0 0 auto;font-size:13px;line-height:20px;font-weight:500;color:var(--link)}
.acts{display:flex;flex-wrap:wrap;gap:8px;padding:4px 8px 8px 44px}.acts .chip{font-size:14px}
.subh{font-size:13px;line-height:20px;font-weight:500;color:var(--muted);margin:8px 8px 4px}
/* the order card (Orders, then an order): where it's at, the delivery window, then what to do */
#orderdetail{padding:0 8px}#orderdetail .back{margin:0 0 16px}
.ostate{font-size:18px;line-height:26px;font-weight:600;margin:0 0 16px}.ostate:focus{outline:none}
.stages{list-style:none;margin:0 0 16px;padding:0}
.stages li{position:relative;display:flex;align-items:center;gap:12px;min-height:36px;font-size:14px;line-height:20px;color:var(--muted)}
.stages li::before{content:'';flex:0 0 14px;height:14px;box-sizing:border-box;border-radius:50%;border:2px solid var(--muted);background:var(--raised);position:relative;z-index:1}
.stages li:not(:last-child)::after{content:'';position:absolute;left:6px;top:25px;width:2px;height:22px;background:var(--line)}
.stages li.done,.stages li.now{color:var(--text)}.stages li.now{font-weight:600}
.stages li.done::before{background:var(--leaf);border-color:var(--leaf)}.stages li.done::after{background:var(--leaf)}
.stages li.now::before{background:var(--sun);border-color:var(--text)}
#orderdetail .shared{margin:0 0 16px;font-size:14px;line-height:20px}#orderdetail .alt{margin-top:8px}
@media (max-width:1023.98px){
#sideclose{display:none}.ib,.item{height:44px}.item{border-style:solid;border-color:transparent;border-width:4px 0;background-clip:padding-box}.item.prof{height:56px}
.chip,.qr,.acts .chip{min-height:44px}.brow .qr{flex:1 1 auto}.search input{min-height:44px}
.brow.stack{flex-direction:column}}
@media (min-width:1024px){
header{grid-template-columns:auto minmax(0,1fr) auto;padding:0 8px}
.title{text-align:left;font-size:18px;line-height:28px;font-weight:400;padding:0 8px}
.ib{width:36px;height:36px}
#down{width:36px;height:36px}
body.in{--sidew:260px}body.in.collapsed{--sidew:0px}
body.in #side{transform:none;visibility:visible;width:260px}
body.in.collapsed #side{transform:translateX(-102%);visibility:hidden}
body.in #scrim{display:none!important}
body.in:not(.collapsed) #menu,body.in:not(.collapsed) #newchat,body.in:not(.collapsed) #title{display:none!important}
#composer{padding-bottom:calc(env(safe-area-inset-bottom) + 16px)}
main{padding-bottom:calc(var(--kb) + env(safe-area-inset-bottom) + 104px)}}
/* a new chat at a desk: the greeting, the box just under it, the suggestions under that */
@media (min-width:768px) and (min-height:560px){
body.blank #composer{bottom:auto;top:calc(46% - 26px);padding-top:0;padding-bottom:0;background:transparent}
body.blank #empty{position:fixed;left:var(--sidew);right:0;top:0;bottom:0;margin:0;pointer-events:none}
body.blank #empty h2{position:absolute;left:16px;right:16px;bottom:calc(54% + 58px);margin:0}
body.blank #empty .chips{position:absolute;left:0;right:0;top:calc(46% + 50px);max-width:768px;margin:0 auto;padding:0 16px;
pointer-events:auto}
body.blank:has(#pill.tall) #empty .chips{visibility:hidden}}
/* dialogs: settings, orders and connections */
dialog{border:0;border-radius:28px;padding:16px 24px 24px;max-width:480px;width:calc(100% - 32px);
max-height:min(80vh,640px);max-height:min(80dvh,640px);overscroll-behavior:contain;
background:var(--raised);color:var(--text)}
/* the chat behind an open dialog steps right back (the ink of #scrim, deeper), so nothing of it (a card's Change button)
   reads as part of the dialog; a click on it closes the dialog as its close button does (JS: backdrop) */
dialog::backdrop{background:rgba(27,35,64,.72)}
.dhead{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin:0 -8px 8px 0}
.dhead h2{margin:0;font-size:20px;line-height:28px}
dialog h3{font-size:13px;line-height:20px;font-weight:500;color:var(--muted);margin:16px 0 4px}
.dbody{margin:0 -8px}.dbody h3{padding:0 8px}
.dbody .item{height:auto;min-height:52px;padding:8px;border:0}
#settings button.alt,#settings button.primary{min-height:44px;margin-top:8px}#settings button.primary{margin-top:24px}
.check{display:flex;gap:12px;align-items:center;font-size:16px;line-height:24px;font-weight:400;color:var(--text);
padding:8px 0;margin:0}
.check input{width:20px;min-height:20px;height:20px;margin:0;accent-color:var(--accent)}
/* privacy and sharing (B6): a row per thing, opening its choices underneath */
.choices{padding:0 8px 8px 16px}.choices .chips{justify-content:flex-start;margin:4px 0 8px}
.choices .note{font-size:13px;line-height:20px;color:var(--muted);margin:4px 0 8px}
/* chosen = sun, with the dark ink on it in both themes (UX.md "Look") */
.chip[aria-pressed="true"],.chip[aria-pressed="true"]:hover{background:var(--sun);color:var(--on-sun)}
.choices input.limit{width:160px;min-height:44px;margin:0 0 8px}
.choices button.primary{width:auto;min-height:44px;padding:0 20px}
/* the whiteboard (founder, 1 Nov; framer page "whiteboard", push Medium): cut-outs on the wall behind the chat, suggestions
   as sticky notes, a message that wants an answer as a taped sheet, a glass message box. Words stay straight to read. */
#wall{position:fixed;top:0;bottom:0;left:var(--sidew);right:0;z-index:0;pointer-events:none;overflow:hidden}
#wall::after{content:"";position:absolute;inset:0;background:#000;filter:url(#grain);opacity:.05}
#wall .defs{position:absolute}
main{z-index:1}
.scribble{display:block;margin:6px auto 0;color:var(--accent);filter:url(#marker)}.scribble path{stroke-width:3}
#empty .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;max-width:420px;margin:0 auto}
@media (min-width:768px){#empty .chips{grid-template-columns:repeat(4,minmax(0,1fr));max-width:680px}}
#empty .chip{min-height:72px;padding:14px 14px 16px;border-radius:6px 8px 18px 6px;text-align:left;font-weight:600;font-size:15px;
line-height:20px;display:flex;align-items:flex-end;animation:settle .3s cubic-bezier(.23,1,.32,1) both}
#empty .chip:nth-child(1){transform:rotate(-1.2deg)}
#empty .chip:nth-child(2){transform:rotate(.7deg);background:var(--raised);animation-delay:.06s}
#empty .chip:nth-child(3){transform:rotate(.7deg);background:var(--raised);animation-delay:.12s}
#empty .chip:nth-child(4){transform:rotate(-.7deg);animation-delay:.18s}
@keyframes settle{from{translate:0 -14px;opacity:0}to{translate:0 0;opacity:1}}
.b.bot:has(.brow){background:var(--raised);padding:20px 18px 16px;border-radius:10px 14px 22px 12px;align-self:flex-start;
max-width:min(100%,560px);transform:rotate(-1deg)}
.b.them{transform:rotate(-.6deg)}
.card.float{transform:rotate(.8deg);border-radius:6px 8px 18px 6px}
#chatlist .item.active{transform:rotate(-1.2deg);border-radius:6px 8px 14px 6px}
@media (max-width:1023.98px){#chatlist .item.active{border-width:0;height:44px}}
/* a chat's ⋯ (founder, 1 Nov, as ChatGPT): at a desk on hover, and always on the open chat; on a phone a long press
   opens the same menu, and the open chat shows its ⋯ too, so nothing needs the long press (UX.md, Touch) */
.crow{position:relative}.crow>.item{padding-right:44px}
#chatlist .item{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.crow>.more{position:absolute;z-index:1;right:4px;top:50%;transform:translateY(-50%);display:none;color:var(--muted)}
.crow:has(>.item.active)>.more,.crow.menu>.more,.crow:focus-within>.more{display:inline-flex}
.crow:has(>.item.active)>.more{color:var(--on-sun)}
@media (hover:hover) and (pointer:fine){.crow:hover>.more{display:inline-flex}}
#chatmenu{position:fixed;z-index:11;left:auto;right:auto;bottom:auto;width:200px}
#chatdelete{color:var(--warn)}
#goals form{margin:0}#goals input{min-height:44px}#goals .drow{margin-top:16px}#goals .drow .primary{width:auto;margin:0}#goals p{margin:0 0 8px}
#goals #goalsnote{color:var(--text);font-weight:600}
#delchat{max-width:400px}#delchat p{margin:0 0 24px;font-size:16px;line-height:24px}
.drow{display:flex;gap:8px;justify-content:flex-end}
button.danger{min-height:44px;border:0;border-radius:999px;padding:0 20px;font-weight:600;background:var(--warn);color:var(--on-accent)}
#empty .chip,.b.bot:has(.brow),.b.them,.card.float,#chatlist .item.active{position:relative;isolation:isolate;box-shadow:var(--lift)}
.card.float{position:fixed}
#empty .chip::after,.b.bot:has(.brow)::after,.b.them::after,.card.float::after,#chatlist .item.active::after{content:"";
position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none;background:linear-gradient(168deg,var(--sheen),
transparent 30%,transparent 62%,var(--curl)),radial-gradient(70% 45% at 100% 100%,var(--curl),transparent 70%)}
#empty .chip:nth-child(even)::before,.b.bot:has(.brow)::before,.card.float::before{content:"";position:absolute;top:-9px;left:50%;
width:64px;height:18px;margin-left:-32px;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.08) 60%),var(--tape);
clip-path:polygon(3% 0,97% 0,100% 15%,96% 30%,100% 50%,96% 70%,100% 88%,97% 100%,3% 100%,0 85%,4% 68%,0 50%,4% 32%,0 14%);
transform:rotate(-4deg);pointer-events:none;z-index:1}
#composer{background:transparent}
.pill{background:var(--glass);-webkit-backdrop-filter:blur(2.5px) saturate(1.1);backdrop-filter:blur(2.5px) saturate(1.1);
box-shadow:inset 0 0 0 1px var(--rim),0 8px 18px -12px rgba(27,35,64,.25)}
#send:disabled{background-color:var(--glass-off)}

/* The Admin Feedback chat (admin_console.py, Andrew, 2 Nov 2026): each feedback a slip of paper, its kind, household,
   who and when on top, its words clipped with the rest a tap away. Slips one after another sit closer together */
.b.bot:has(.fbh){align-self:flex-start;max-width:min(100%,560px);background:var(--raised);border-radius:20px;padding:12px 16px}
.b.bot:has(.fbh)+.b.bot:has(.fbh){margin-top:-12px}
.fbh{display:block;font-size:14px;line-height:20px;color:var(--muted)}.fbh b{color:var(--text)}
.fbx summary{display:block;cursor:pointer;list-style:none}.fbx summary::-webkit-details-marker{display:none}
.fbx[open] summary{display:none}
.fbmore{display:inline-block;padding:10px 6px;margin:-10px 0;color:var(--link);font-weight:600}
/* A saloon dinner's invite (saloon_chat.py): who's hosting and when, above the sign-in */
.dinv{background:var(--butter);border-radius:20px;padding:16px;margin:0 0 24px;text-align:left}
.dinv .ct{font-weight:600;margin:0 0 4px}.dinv .muted{margin:0}

/* the wall scrolls with the chat (founder, 1 Nov): main carries it on its own background, repeating down */
main{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%231B2340' flood-opacity='.18'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%236E8BF0'/%3E%3Cstop offset='1' stop-color='%231A3590'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23FF9A86'/%3E%3Cstop offset='1' stop-color='%23C9442A'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(96 170)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%231B2340' opacity='.18'/%3E%3Ccircle r='11' fill='url(%23t1)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(30 560) scale(.75)' filter='url(%23c)'%3E%3Cpath fill='%233B9466' d='M60 175c-6-40 4-70-10-100S20 30 40 12c14 18 0 40 16 56 10-20 30-30 44-24-6 22-30 30-30 52 16-8 34-4 40 6-18 14-36 10-46 30z'/%3E%3C/g%3E%3Cg transform='translate(90 1040) scale(.45)' filter='url(%23c)'%3E%3Cpath fill='%23F2674A' d='M50 4l11 30 32-6-22 24 22 24-32-6-11 30-11-30-32 6 22-24L7 28l32 6z'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%231B2340' flood-opacity='.18'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%236E8BF0'/%3E%3Cstop offset='1' stop-color='%231A3590'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23FF9A86'/%3E%3Cstop offset='1' stop-color='%23C9442A'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(40 240) scale(.55)' filter='url(%23c)'%3E%3Cpath fill='%23CFE3F7' d='M210 30c40 30 20 80 60 95s95-20 110 30-45 70-30 110 60 70 20 105-90-5-120 25-35 85-80 70-20-70-60-90-100 10-105-40 55-60 45-100-70-60-35-95 80 10 110-20 45-120 85-85z'/%3E%3C/g%3E%3Cg transform='translate(70 860)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%231B2340' opacity='.18'/%3E%3Ccircle r='11' fill='url(%23t2)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(110 1060) scale(.7)' filter='url(%23c)'%3E%3Ccircle cx='80' cy='80' r='62' fill='%23FFDD55'/%3E%3Cpath fill='%232447B3' d='M18 92c22-14 40 8 62-4s40-16 62 0c-4 34-30 54-62 54s-58-20-62-50z'/%3E%3C/g%3E%3C/svg%3E");background-repeat:repeat-y;background-attachment:local;background-size:180px 1400px,260px 1400px;background-position:left -100px top 0,right -150px top 0}
@media (min-width:1024px){main{background-position:left 16px top 0,right 8px top 0}}
/* parallax (founder, 1 Nov): the wall moves at 60% of the scroll, so the messages slide over a wall behind them.
   app.js moves #wall .tiles, its own GPU layer, by transform (moving main's background repainted it every frame,
   which juddered); with reduced motion it doesn't, and main keeps the wall, moving with the chat */
#wall .tiles{display:none;position:absolute;top:0;left:0;right:0;height:calc(100% + 1400px);z-index:1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%231B2340' flood-opacity='.18'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%236E8BF0'/%3E%3Cstop offset='1' stop-color='%231A3590'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23FF9A86'/%3E%3Cstop offset='1' stop-color='%23C9442A'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(96 170)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%231B2340' opacity='.18'/%3E%3Ccircle r='11' fill='url(%23t1)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(30 560) scale(.75)' filter='url(%23c)'%3E%3Cpath fill='%233B9466' d='M60 175c-6-40 4-70-10-100S20 30 40 12c14 18 0 40 16 56 10-20 30-30 44-24-6 22-30 30-30 52 16-8 34-4 40 6-18 14-36 10-46 30z'/%3E%3C/g%3E%3Cg transform='translate(90 1040) scale(.45)' filter='url(%23c)'%3E%3Cpath fill='%23F2674A' d='M50 4l11 30 32-6-22 24 22 24-32-6-11 30-11-30-32 6 22-24L7 28l32 6z'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%231B2340' flood-opacity='.18'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%236E8BF0'/%3E%3Cstop offset='1' stop-color='%231A3590'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23FF9A86'/%3E%3Cstop offset='1' stop-color='%23C9442A'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(40 240) scale(.55)' filter='url(%23c)'%3E%3Cpath fill='%23CFE3F7' d='M210 30c40 30 20 80 60 95s95-20 110 30-45 70-30 110 60 70 20 105-90-5-120 25-35 85-80 70-20-70-60-90-100 10-105-40 55-60 45-100-70-60-35-95 80 10 110-20 45-120 85-85z'/%3E%3C/g%3E%3Cg transform='translate(70 860)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%231B2340' opacity='.18'/%3E%3Ccircle r='11' fill='url(%23t2)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(110 1060) scale(.7)' filter='url(%23c)'%3E%3Ccircle cx='80' cy='80' r='62' fill='%23FFDD55'/%3E%3Cpath fill='%232447B3' d='M18 92c22-14 40 8 62-4s40-16 62 0c-4 34-30 54-62 54s-58-20-62-50z'/%3E%3C/g%3E%3C/svg%3E");background-repeat:repeat-y;background-size:180px 1400px,260px 1400px;background-position:left -100px top 0,right -150px top 0;will-change:transform;backface-visibility:hidden}
@media (min-width:1024px){#wall .tiles{background-position:left 16px top 0,right 8px top 0}}
#wall.parallax .tiles{display:block}
main.parallax{background-image:none!important}
/* where the browser can, it moves the wall itself from main's scroll (a scroll-driven animation), in step with the
   scroll; app.js only sets --laps, how many 1400px tiles the wall passes over the whole scroll (60% of it), when the
   chat's height changes. Moving it from a scroll handler juddered on iPhones: the handler runs late or not at all
   in some frames of a flick (founder's recording, 1 Nov) */
@keyframes wallglide{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-1400px,0)}}
@supports (animation-timeline:scroll()){body{timeline-scope:--chat}main{scroll-timeline:--chat y}#wall.glide .tiles{animation:wallglide linear both;animation-timeline:--chat;animation-iteration-count:var(--laps,1)}}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) main,:root:not([data-theme=light]) #wall .tiles{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%23000000' flood-opacity='.4'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%237F98F2'/%3E%3Cstop offset='1' stop-color='%232A47A8'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23E58A72'/%3E%3Cstop offset='1' stop-color='%23A8442C'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(96 170)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%23000000' opacity='.4'/%3E%3Ccircle r='11' fill='url(%23t1)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(30 560) scale(.75)' filter='url(%23c)'%3E%3Cpath fill='%232F7A55' d='M60 175c-6-40 4-70-10-100S20 30 40 12c14 18 0 40 16 56 10-20 30-30 44-24-6 22-30 30-30 52 16-8 34-4 40 6-18 14-36 10-46 30z'/%3E%3C/g%3E%3Cg transform='translate(90 1040) scale(.45)' filter='url(%23c)'%3E%3Cpath fill='%23C9603F' d='M50 4l11 30 32-6-22 24 22 24-32-6-11 30-11-30-32 6 22-24L7 28l32 6z'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%23000000' flood-opacity='.4'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%237F98F2'/%3E%3Cstop offset='1' stop-color='%232A47A8'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23E58A72'/%3E%3Cstop offset='1' stop-color='%23A8442C'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(40 240) scale(.55)' filter='url(%23c)'%3E%3Cpath fill='%2326386B' d='M210 30c40 30 20 80 60 95s95-20 110 30-45 70-30 110 60 70 20 105-90-5-120 25-35 85-80 70-20-70-60-90-100 10-105-40 55-60 45-100-70-60-35-95 80 10 110-20 45-120 85-85z'/%3E%3C/g%3E%3Cg transform='translate(70 860)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%23000000' opacity='.4'/%3E%3Ccircle r='11' fill='url(%23t2)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(110 1060) scale(.7)' filter='url(%23c)'%3E%3Ccircle cx='80' cy='80' r='62' fill='%23D9B73A'/%3E%3Cpath fill='%235B78D6' d='M18 92c22-14 40 8 62-4s40-16 62 0c-4 34-30 54-62 54s-58-20-62-50z'/%3E%3C/g%3E%3C/svg%3E")}}
:root[data-theme=dark] main,:root[data-theme=dark] #wall .tiles{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%23000000' flood-opacity='.4'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%237F98F2'/%3E%3Cstop offset='1' stop-color='%232A47A8'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23E58A72'/%3E%3Cstop offset='1' stop-color='%23A8442C'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(96 170)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%23000000' opacity='.4'/%3E%3Ccircle r='11' fill='url(%23t1)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(30 560) scale(.75)' filter='url(%23c)'%3E%3Cpath fill='%232F7A55' d='M60 175c-6-40 4-70-10-100S20 30 40 12c14 18 0 40 16 56 10-20 30-30 44-24-6 22-30 30-30 52 16-8 34-4 40 6-18 14-36 10-46 30z'/%3E%3C/g%3E%3Cg transform='translate(90 1040) scale(.45)' filter='url(%23c)'%3E%3Cpath fill='%23C9603F' d='M50 4l11 30 32-6-22 24 22 24-32-6-11 30-11-30-32 6 22-24L7 28l32 6z'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='1400'%3E%3Cdefs%3E%3Cfilter id='c' x='-10%25' y='-10%25' width='125%25' height='130%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='3' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeDropShadow in='d' dx='0' dy='3' stdDeviation='2' flood-color='%23000000' flood-opacity='.4'/%3E%3C/filter%3E%3CradialGradient id='t1' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%237F98F2'/%3E%3Cstop offset='1' stop-color='%232A47A8'/%3E%3C/radialGradient%3E%3CradialGradient id='t2' cx='.35' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%23E58A72'/%3E%3Cstop offset='1' stop-color='%23A8442C'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='translate(40 240) scale(.55)' filter='url(%23c)'%3E%3Cpath fill='%2326386B' d='M210 30c40 30 20 80 60 95s95-20 110 30-45 70-30 110 60 70 20 105-90-5-120 25-35 85-80 70-20-70-60-90-100 10-105-40 55-60 45-100-70-60-35-95 80 10 110-20 45-120 85-85z'/%3E%3C/g%3E%3Cg transform='translate(70 860)'%3E%3Cellipse cx='5' cy='15' rx='10' ry='4' fill='%23000000' opacity='.4'/%3E%3Ccircle r='11' fill='url(%23t2)'/%3E%3Ccircle cx='-3.5' cy='-3.5' r='3' fill='%23fff' opacity='.5'/%3E%3C/g%3E%3Cg transform='translate(110 1060) scale(.7)' filter='url(%23c)'%3E%3Ccircle cx='80' cy='80' r='62' fill='%23D9B73A'/%3E%3Cpath fill='%235B78D6' d='M18 92c22-14 40 8 62-4s40-16 62 0c-4 34-30 54-62 54s-58-20-62-50z'/%3E%3C/g%3E%3C/svg%3E")}
.themepick{justify-content:flex-start;margin:4px 0 8px}
/* Native feel on a phone (#569; emilkowalski/skills mobile-native + review-animations at 5206a95): no double-tap delay;
   a long press on a control selects nothing (message text stays selectable); every tappable control gives press feedback
   as the finger lands (the `scale` property, so a control's own transform stays; 160 ms, ease-out). */
button,a,summary,.check{touch-action:manipulation}
button,.chip,.item,.ib,.round,.qr{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ib,.item,.chip,.round,.x,button.primary,button.alt,button.plain{transition:scale .16s cubic-bezier(.23,1,.32,1)}
.ib:active:not(:disabled),.item:active,.chip:active,.round:active:not(:disabled),.x:active,button.primary:active:not(:disabled),
button.alt:active,button.plain:active{scale:.97}
.item:not(.active):active,.ib:active,.chip:not([aria-pressed="true"]):active,button.alt:active,button.plain:active,
.plainicon:active,#down:active,.x:active{background-color:var(--hover)}
@media (prefers-reduced-motion:reduce){.ib,.item,.chip,.round,.x,button.primary,button.alt,button.plain,#send{scale:none!important}}
