:root{--paper:#f2f2f7;--panel:#ffffff;--rail:#f2f2f7;--raised:#ffffff;--ink:#000000;--ink-2:rgba(60,60,67,.6);--ink-3:rgba(60,60,67,.3);--rule:rgba(60,60,67,.18);--rule-2:rgba(60,60,67,.29);--accent:#0b6e4f;--accent-ink:#ffffff;--accent-soft:rgba(11,110,79,.1);--bad:#c0392b;--mine:#d7f2e4;--theirs:#ffffff;--doodle:#e9e9ee;--material:rgba(255,255,255,.72);--sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display", "Segoe UI",Roboto,Helvetica,Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--r-card:14px;--r-control:11px;--r-pill:980px;--tap:44px;color-scheme:light}@media(prefers-color-scheme:dark){:root{--paper:#000000;--panel:#1c1c1e;--rail:#2c2c2e;--raised:#2c2c2e;--ink:#ffffff;--ink-2:rgba(235,235,245,.6);--ink-3:rgba(235,235,245,.3);--rule:rgba(84,84,88,.45);--rule-2:rgba(84,84,88,.65);--accent:#34c79a;--accent-ink:#00150e;--accent-soft:rgba(52,199,154,.16);--bad:#ff6961;--mine:#0e4a38;--theirs:#1c1c1e;--doodle:#0a0a0c;--material:rgba(28,28,30,.72);color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--sans);background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}.gate{max-width:34rem;margin:0 auto;padding:18vh 24px 0;text-align:left}.gate h1{font-size:2.4rem;margin:0 0 .4em;letter-spacing:-.02em}.gate p{color:var(--ink-2);line-height:1.6;max-width:44ch}.gate button{margin:1.4em 0;padding:.7em 1.5em;font:inherit;font-weight:600;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer}.gate button:disabled{opacity:.6;cursor:default}.gate .fine{font-size:.85rem}.gate code.recovery{display:block;margin-top:.6em;padding:.7em .9em;background:var(--rail);border:1px solid var(--rule);border-radius:6px;font-family:var(--mono);font-size:.78rem;word-spacing:.35em;line-height:1.7;color:var(--ink)}.err{color:var(--bad)}.app{display:grid;grid-template-columns:min(30%,22rem) 1fr;height:100%}@supports (height:100dvh){.app{height:100dvh}}aside{display:flex;flex-direction:column;min-height:0;background:var(--panel);border-right:1px solid var(--rule)}aside header{display:flex;align-items:baseline;gap:.6em;padding:16px 18px;border-bottom:1px solid var(--rule)}aside header strong{font-size:1.05rem}.region{font-family:var(--mono);font-size:.68rem;color:var(--ink-2)}.bar{height:4px;border-radius:2px;background:var(--rule);overflow:hidden}.bar i{display:block;height:100%;background:var(--accent);transition:width .25s}.import{padding:14px 18px;border-bottom:1px solid var(--rule)}.import.bad .status{color:var(--bad)}.import button{width:100%;padding:.6em 1em;font:inherit;font-weight:600;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer}.import .status{margin:.7em 0 .4em;font-size:.78rem;color:var(--ink-2);line-height:1.4}.import .hint{margin:.6em 0 0;font-size:.72rem;color:var(--ink-2)}.import code{font-family:var(--mono);font-size:.9em}.chats{flex:1;min-height:0;overflow-y:auto;margin:0;padding:0;list-style:none}.chats li{display:flex;align-items:center;gap:10px;padding:13px 18px;cursor:pointer;border-bottom:1px solid var(--rule)}.chats li:hover,.chats li.on{background:var(--rail)}.chats .title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}.chats .count{font-family:var(--mono);font-size:.7rem;color:var(--ink-2)}.chats .empty{color:var(--ink-2);font-size:.85rem;cursor:default}main{min-width:0;min-height:0;background:var(--doodle);display:flex;flex-direction:column}main>.chat{flex:1;min-height:0}.chat-bar{display:none;align-items:center;gap:.4em;padding:10px 12px;background:var(--panel);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:2;flex:0 0 auto}.chat-bar strong{font-size:.98rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-bar .back{display:flex;align-items:center;gap:.15em;flex:0 0 auto;background:none;border:0;padding:.3em .5em .3em .2em;margin:0;font:inherit;font-size:.92rem;font-weight:600;color:var(--accent);cursor:pointer}.chat-bar .back span{font-size:1.35em;line-height:1}.blank{display:grid;place-content:center;height:100%;color:var(--ink-2);font-size:.9rem;text-align:center;padding:24px}.chat{height:100%;overflow-y:auto;padding:14px 6%}.spacer{position:relative;width:100%}.vrow{position:absolute;top:0;left:0;width:100%;padding:2px 0}.day{display:flex;justify-content:center;margin:12px 0}.day span{padding:5px 12px;border-radius:8px;background:var(--panel);color:var(--ink-2);font-size:.72rem;font-variant-numeric:tabular-nums}.system{margin:6px auto;max-width:80%;padding:7px 12px;border-radius:8px;background:var(--panel);color:var(--ink-2);font-size:.76rem;text-align:center;line-height:1.5}.bubble{position:relative;max-width:min(65ch,74%);width:fit-content;padding:7px 10px 18px;border-radius:8px;background:var(--theirs);box-shadow:0 1px .5px #0b141a21;font-size:.92rem;line-height:1.45}.bubble.mine{margin-left:auto;background:var(--mine)}.bubble .who{font-size:.78rem;font-weight:600;margin-bottom:2px}.bubble .text{white-space:pre-wrap;overflow-wrap:anywhere}.bubble time{position:absolute;right:9px;bottom:4px;font-size:.63rem;color:var(--ink-2);font-variant-numeric:tabular-nums}.bubble .media{display:block;max-width:100%;max-height:22rem;border-radius:6px;margin-bottom:4px}.bubble audio{display:block;width:16rem;max-width:100%;margin:2px 0 4px}.bubble .file{display:inline-block;margin-bottom:4px;color:var(--accent)}@media(max-width:720px){.app{grid-template-columns:1fr}.app>aside{min-height:0}.app.reading>aside:not(.keep){display:none}.app:not(.reading)>main{display:none}.app.reading>main{display:flex;flex-direction:column}.chat-bar{display:flex}.chat{padding:14px 12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.gate .actions{display:flex;flex-wrap:wrap;gap:10px;margin:1.4em 0}.gate .actions button{margin:0}.gate button.ghost{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.gate button.link{background:none;color:var(--ink-2);padding:0;margin:.8em 0 0;font-size:.82rem;text-decoration:underline;text-underline-offset:3px;box-shadow:none}.gate .warn{color:var(--bad)}.gate code.recovery{font-size:.86rem;line-height:2;word-spacing:.5em;letter-spacing:.02em}.recover{margin:1.2em 0}.recover label{display:block;font-size:.78rem;color:var(--ink-2);margin-bottom:.4em}.recover textarea{width:100%;padding:.7em .9em;font-family:var(--mono);font-size:.82rem;line-height:1.7;background:var(--rail);color:var(--ink);border:1px solid var(--rule);border-radius:6px;resize:vertical}.recover button{margin-top:.7em}aside header .avatar{margin-left:auto;width:28px;height:28px;padding:0;border:0;border-radius:50%;overflow:hidden;background:var(--accent);color:#fff;font:inherit;font-size:.78rem;font-weight:600;cursor:pointer;flex:0 0 auto}aside header .avatar img{width:100%;height:100%;object-fit:cover;display:block}.sheet{position:fixed;inset:0;z-index:20;background:#00000073;display:flex;justify-content:center;overflow-y:auto}.sheet-body{background:var(--panel);width:min(38rem,100%);height:max-content;min-height:100%;padding:0 28px 48px}.sheet-body header{display:flex;align-items:center;gap:.6em;position:sticky;top:0;background:var(--panel);padding:20px 0 12px;border-bottom:1px solid var(--rule)}.sheet-body h2{margin:0;font-size:1.3rem;letter-spacing:-.01em}.sheet-body h3{margin:1.8em 0 .3em;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2)}.sheet-body .x{margin-left:auto;background:none;border:0;color:var(--ink-2);font-size:1.5rem;line-height:1;cursor:pointer;padding:0 .2em}.sheet-body .fine{font-size:.82rem;color:var(--ink-2);line-height:1.5;margin:.3em 0}.sheet-body button{padding:.5em 1em;font:inherit;font-size:.88rem;font-weight:600;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer}.sheet-body button:disabled{opacity:.5;cursor:default}.sheet-body button.ghost{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 1px var(--rule)}.sheet-body button.small{font-size:.8rem;padding:.35em .8em}.sheet-body .who{display:flex;gap:16px;align-items:flex-start;margin:22px 0 4px}.sheet-body .who .fields{flex:1;min-width:0}.sheet-body .who label{display:block;font-size:.78rem;color:var(--ink-2);margin-bottom:.4em}.sheet-body .who .row{display:flex;gap:8px}.sheet-body .who input{flex:1;min-width:0;padding:.5em .7em;font:inherit;font-size:.92rem;color:var(--ink);background:var(--rail);border:1px solid var(--rule);border-radius:8px}.big-avatar{width:56px;height:56px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:600}.big-avatar img{width:100%;height:100%;object-fit:cover}.sheet-body .bar{height:6px;border-radius:3px;margin:.2em 0 .6em}.sheet-body .usage{margin:0 0 .2em;font-size:17px;font-variant-numeric:tabular-nums;color:var(--ink-2)}.sheet-body .usage strong{font-weight:590;color:var(--ink)}.rows{list-style:none;margin:.6em 0;padding:0}.rows li{display:flex;align-items:center;gap:12px;padding:.7em 0;border-bottom:1px solid var(--rule)}.rows li>div{flex:1;min-width:0;display:flex;flex-direction:column}.rows li .fine{margin:.15em 0 0}.rows li strong{font-size:.92rem;font-weight:600}@media(max-width:560px){.sheet-body{padding:0 18px 40px}.sheet-body .who{flex-direction:column}}aside header .avatar svg,.big-avatar svg{width:58%;height:58%;opacity:.85}.gate.wide{max-width:44rem;padding-top:8vh}.gate h2.check-h{font-size:1.15rem;margin:1.8em 0 .2em;letter-spacing:-.01em}.words{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;margin:1.2em 0 0;padding:0;font-family:var(--mono);font-size:.84rem}.words li{display:flex;align-items:baseline;gap:.5em;padding:.32em .5em;background:var(--rail);border-radius:4px;min-width:0}.words li .n{font-size:.68rem;color:var(--ink-2);flex:0 0 1.4em;text-align:right;font-variant-numeric:tabular-nums}.confirm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1em 0 0}.confirm label{display:flex;flex-direction:column;gap:.35em;min-width:0}.confirm .which{font-size:.72rem;color:var(--ink-2);font-variant-numeric:tabular-nums}.confirm input{width:100%;padding:.55em .7em;font-family:var(--mono);font-size:.9rem;color:var(--ink);background:var(--rail);border:1px solid var(--rule);border-radius:6px}.confirm input.good{border-color:var(--accent)}.confirm input.bad{border-color:var(--bad)}.seg{display:inline-flex;gap:2px;margin:1.2em 0 .4em;padding:2px;background:var(--rail);border-radius:8px}.seg button{padding:.4em 1em;font:inherit;font-size:.86rem;font-weight:600;border:0;border-radius:6px;background:transparent;color:var(--ink-2);cursor:pointer}.seg button.on{background:var(--panel);color:var(--ink);box-shadow:0 1px 2px #0000001f}.steps{list-style:none;margin:.8em 0 0;padding:0;display:flex;flex-direction:column;gap:2px}.steps li{display:grid;grid-template-columns:26px 1fr;gap:12px;align-items:start;padding:.6em 0;border-bottom:1px solid var(--rule)}.steps li:last-child{border-bottom:0}.steps .n{width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-size:.74rem;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:.1em}.steps li>div{display:flex;flex-direction:column;min-width:0}.steps strong{font-size:.95rem}.plain{margin:.5em 0 0;padding-left:1.1em;display:flex;flex-direction:column;gap:.5em;font-size:.9rem;color:var(--ink-2);line-height:1.5}.plain strong{color:var(--ink)}.warn-soft{background:var(--rail);border-left:3px solid var(--accent);border-radius:4px;padding:.8em 1em;margin-top:1.2em!important}.chats li.empty button.link,.import .hint button.link{background:none;border:0;padding:0;font:inherit;font-size:inherit;color:var(--accent);text-decoration:underline;cursor:pointer}@media(max-width:560px){.words{grid-template-columns:repeat(2,minmax(0,1fr))}.confirm{grid-template-columns:1fr}}.find{position:relative;padding:10px 12px;border-bottom:1px solid var(--rule);flex:0 0 auto}.find input{width:100%;padding:.5em 2em .5em .7em;font:inherit;font-size:.9rem;color:var(--ink);background:var(--rail);border:1px solid var(--rule);border-radius:8px;-webkit-appearance:none;appearance:none}.find input::-webkit-search-cancel-button{display:none}.find .clear{position:absolute;right:18px;top:50%;transform:translateY(-50%);background:none;border:0;padding:0 .3em;font-size:1.2rem;line-height:1;color:var(--ink-2);cursor:pointer}aside:has(.results) .chats{display:none}.results{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.results .found{padding:8px 14px;font-family:var(--mono);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);border-bottom:1px solid var(--rule);flex:0 0 auto}.results ul{list-style:none;margin:0;padding:0}.results li{border-bottom:1px solid var(--rule)}.results li button{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;background:none;border:0;padding:10px 14px;font:inherit;cursor:pointer;color:inherit}.results li button:hover{background:var(--rail)}.results .meta{font-size:.72rem;color:var(--ink-2)}.results .snip{font-size:.88rem;line-height:1.4;overflow-wrap:anywhere}.results .snip mark{background:var(--mine);color:inherit;border-radius:2px;padding:0 .1em}.results .in{font-size:.7rem;color:var(--ink-2);font-style:italic}.vrow.flash .bubble{animation:flash 2.2s ease-out}@keyframes flash{0%,55%{box-shadow:0 0 0 2px var(--accent)}to{box-shadow:0 0 0 2px transparent}}@media(prefers-reduced-motion:reduce){.vrow.flash .bubble{animation:none;box-shadow:0 0 0 2px var(--accent)}}.gate .secondary{display:flex;flex-wrap:wrap;gap:.2em 1.4em;margin-top:1.6em}.gate .secondary button.link{margin:0;padding:0;font-size:.88rem}.sheet-body .row.gap{display:flex;flex-wrap:wrap;gap:10px;margin-top:.8em}.tryit{margin:1.6em 0 0;padding:20px;border:1px dashed var(--rule-2,#c8d1ca);border-radius:10px;background:var(--panel);text-align:center}.tryit.over{border-color:var(--accent);background:var(--rail)}.tryit button{margin:0 0 .5em}.tryit .fine{margin:0;font-size:.85rem;color:var(--ink-2)}.or{display:flex;align-items:center;gap:12px;margin:1.8em 0 .6em;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}.or:before,.or:after{content:"";flex:1;height:1px;background:var(--rule)}.app.preview{grid-template-columns:1fr;grid-template-rows:1fr auto}.app.preview>main{display:flex;flex-direction:column;min-height:0}.app.preview .chat-bar{display:flex}.app.preview .chat-bar .count{margin-left:auto;font-family:var(--mono);font-size:.72rem;color:var(--ink-2);white-space:nowrap}aside.keep{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px;background:var(--panel);border-top:1px solid var(--rule);border-right:0}aside.keep>div{display:flex;flex-direction:column;flex:1;min-width:14rem}aside.keep strong{font-size:.95rem}aside.keep span{font-size:.84rem;color:var(--ink-2);line-height:1.4}aside.keep button{padding:.6em 1.3em;font:inherit;font-weight:600;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer}aside.keep button:disabled{opacity:.6;cursor:default}aside.keep .ways{display:flex;align-items:center;gap:14px;flex-wrap:wrap}aside.keep .ways button.link{padding:0;background:none;color:var(--accent);font-weight:400;text-decoration:underline;text-underline-offset:3px}.media.pending{display:block;width:min(260px,60vw);height:150px;border-radius:8px;background:var(--rail)}aside.keep{text-align:left;justify-content:space-between}aside.keep>div{align-items:flex-start}.omitted{display:flex;flex-direction:column;gap:1px;padding:.55em .7em;margin-bottom:.2em;border-radius:8px;background:var(--rail);border:1px dashed var(--rule)}.omitted span{font-size:.9rem;font-weight:600;color:var(--ink-2)}.omitted small{font-size:.76rem;color:var(--ink-2);opacity:.85}.mediareport{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 14px;background:var(--rail);border-bottom:1px solid var(--rule);font-size:.84rem;color:var(--ink-2);flex:0 0 auto}.mediareport.trouble{background:#fff6ea;color:#6b4a12}@media(prefers-color-scheme:dark){.mediareport.trouble{background:#2a2113;color:#e8c98c}}.mediareport small{opacity:.9}.mediareport button.link{margin-left:auto;background:none;border:0;padding:0;font:inherit;font-size:.82rem;color:var(--accent);text-decoration:underline;cursor:pointer}.update{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 16px;background:var(--accent);color:#fff;font-size:.88rem;padding-top:max(9px,env(safe-area-inset-top))}.update button{margin-left:auto;padding:.35em 1em;font:inherit;font-size:.85rem;font-weight:600;border:0;border-radius:7px;background:#fff;color:var(--accent);cursor:pointer}.import .keepopen{margin-top:.4em;color:var(--ink-2);font-size:.8rem;line-height:1.4}.sheet-body section.danger h3{color:var(--bad)}.sheet-body .danger-btn{background:var(--bad);color:#fff}.sheet-body .ghost.danger-btn{background:transparent;color:var(--bad);box-shadow:inset 0 0 0 1px var(--bad)}.confirm-delete{margin-top:.8em}.confirm-delete label{display:block;font-size:.8rem;color:var(--ink-2);margin-bottom:.4em}.confirm-delete .row{display:flex;flex-wrap:wrap;gap:8px}.confirm-delete input{flex:1;min-width:8rem;padding:.5em .7em;font:inherit;font-family:var(--mono);font-size:.9rem;color:var(--ink);background:var(--rail);border:1px solid var(--rule);border-radius:8px}body{font-size:17px;line-height:1.47;letter-spacing:-.022em;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;background:var(--paper)}button{font-family:inherit;letter-spacing:-.01em}button:not(.link):not(.x):not(.back):not(.clear):not(.add):not(.menu):not(.me):not(.avatar){min-height:var(--tap);border-radius:var(--r-control);font-weight:590;transition:opacity .15s ease,transform .1s ease}button:not(.link):not(.x):not(.back):not(.clear):not(.add):not(.menu):not(.me):active{transform:scale(.97)}button:disabled{opacity:.35}:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:2px;border-radius:6px}input,textarea,select{font-family:inherit;font-size:17px;border-radius:var(--r-control)}input,textarea{min-height:var(--tap)}.gate{max-width:34rem;padding:max(9vh,var(--s6)) var(--s5) var(--s6);padding-bottom:max(var(--s6),env(safe-area-inset-bottom))}.gate h1{font-size:clamp(2rem,7vw,2.5rem);font-weight:700;letter-spacing:-.03em;line-height:1.08;margin-bottom:var(--s3)}.gate p{font-size:17px;line-height:1.47;color:var(--ink-2);max-width:36ch}.gate .actions button,.gate>button{width:100%;max-width:22rem;padding:.82em 1.4em;font-size:17px;box-shadow:none}.gate .fine{font-size:13px;line-height:1.38;color:var(--ink-2);max-width:36ch}.gate button.link{min-height:auto;font-weight:400;font-size:15px;text-decoration:none;color:var(--accent)}.gate button.link:hover{text-decoration:underline}.gate .secondary{gap:var(--s2) var(--s5);margin-top:var(--s5)}.tryit{border-radius:var(--r-card);border:1px dashed var(--rule-2);background:var(--panel);padding:var(--s5)}.tryit.over{border-color:var(--accent);background:var(--accent-soft)}.or{font-size:12px;letter-spacing:.06em;color:var(--ink-3)}aside header,.chat-bar,.sheet-body header,.mediareport,.find{background:var(--material);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--rule)}@supports not (backdrop-filter:blur(1px)){aside header,.chat-bar,.sheet-body header,.mediareport,.find{background:var(--panel)}}aside header{padding:var(--s3) var(--s4);gap:var(--s2);padding-top:max(var(--s3),env(safe-area-inset-top))}aside header strong{font-size:22px;font-weight:700;letter-spacing:-.025em}.region{display:none}aside header .avatar{width:32px;height:32px}.chats li,.results li,.rows li{border-bottom:1px solid var(--rule)}.chats li{padding:var(--s3) var(--s4);min-height:var(--tap);gap:var(--s3);transition:background .12s ease}.chats li:active{background:var(--rail)}.chats li.on{background:var(--accent-soft)}.chats .title{font-size:17px;letter-spacing:-.02em}.chats .count{font-size:15px;color:var(--ink-2)}main{background:var(--doodle)}.chat{padding:var(--s4) max(var(--s4),4%)}.bubble{border-radius:18px;box-shadow:none;max-width:min(78%,34rem);padding:var(--s2) var(--s3) 22px}.bubble.mine{background:var(--mine)}.bubble.theirs{background:var(--theirs);border:1px solid var(--rule)}.bubble .text{font-size:16px;line-height:1.4;letter-spacing:-.01em}.bubble .who{font-size:13px;font-weight:590}.bubble time{font-size:11px;color:var(--ink-2);letter-spacing:0}.day span{font-size:12px;font-weight:590;color:var(--ink-2);background:var(--material);border-radius:var(--r-pill);padding:var(--s1) var(--s3);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.media{border-radius:12px}.omitted{border-radius:12px;border-style:dashed}.chat-bar{padding:var(--s2) var(--s3);gap:var(--s1);padding-top:max(var(--s2),env(safe-area-inset-top))}.chat-bar strong{font-size:17px;font-weight:590;letter-spacing:-.02em}.chat-bar .back{color:var(--accent);font-size:17px;min-height:var(--tap);display:flex;align-items:center}.sheet{background:#00000047;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);align-items:flex-end}.sheet-body{border-radius:var(--r-card) var(--r-card) 0 0;min-height:auto;max-height:92vh;overflow-y:auto;padding-bottom:max(var(--s6),env(safe-area-inset-bottom))}@media(min-width:700px){.sheet{align-items:center}.sheet-body{border-radius:var(--r-card);max-height:86vh}}.sheet-body header{position:sticky;top:0;margin-inline:calc(var(--s5) * -1);padding-inline:var(--s5)}.sheet-body h2{font-size:20px;font-weight:700;letter-spacing:-.025em}.sheet-body h3{font-size:13px;letter-spacing:.02em;font-weight:590}.sheet-body .fine{font-size:15px;line-height:1.4}.sheet-body button{min-height:var(--tap);border-radius:var(--r-control);font-size:16px}.sheet-body .x{min-height:auto;font-size:28px;line-height:.7;color:var(--ink-3)}.import{padding:var(--s4)}.import button{width:100%;font-size:17px}.import .status{font-size:15px;font-weight:400;color:var(--ink-2)}.import .bar{height:6px;border-radius:var(--r-pill);overflow:hidden;background:var(--rail)}.import .bar i{border-radius:var(--r-pill)}.find{padding:var(--s2) var(--s3)}.find input{background:var(--rail);border:0;font-size:17px;min-height:38px;border-radius:999px;padding:.4em 2.2em .4em .9em}.find .clear{right:20px}.results .found{font-size:12px;letter-spacing:.04em}.results .snip{font-size:15px}.results .snip mark{background:var(--accent-soft);color:inherit;border-radius:4px;padding:0 3px}.update{padding-top:max(var(--s2),env(safe-area-inset-top));font-size:15px;font-weight:500;background:var(--accent);color:var(--accent-ink)}.update button{min-height:32px;border-radius:var(--r-pill);font-size:14px;background:var(--accent-ink);color:var(--accent)}.words li{border-radius:10px;background:var(--rail);font-size:15px}.confirm input{background:var(--rail);border:1px solid var(--rule)}aside.keep{padding:var(--s4);padding-bottom:max(var(--s4),env(safe-area-inset-bottom));background:var(--material);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--rule)}aside.keep strong{font-size:17px;font-weight:590;letter-spacing:-.02em}aside.keep span{font-size:15px}aside.keep button{min-height:var(--tap);border-radius:var(--r-control);font-size:17px;padding-inline:var(--s5)}@media(prefers-reduced-transparency:reduce){aside header,.chat-bar,.sheet-body header,.mediareport,.find,aside.keep,.day span{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--panel)}}@media(prefers-reduced-motion:reduce){button:active{transform:none}}.gate p code,.tryit code,.fine code{display:inline;padding:.1em .35em;margin:0;border:0;background:var(--rail);border-radius:5px;font-family:var(--mono);font-size:.86em;line-height:inherit}.gate .actions button,.gate>button:not(.link),.import button,aside.keep button,.sheet-body button:not(.ghost):not(.x):not(.link){background:var(--accent);color:var(--accent-ink)}.update button{background:var(--accent-ink);color:var(--accent)}.chat>.spacer{max-width:46rem;margin-inline:auto}.bubble{max-width:min(82%,32rem)}.bubble{min-width:4.75rem}.chat{overflow-x:hidden;overscroll-behavior:contain}.bubble,.bubble .text,.bubble .file,.results .snip,.mediareport{overflow-wrap:anywhere;word-break:break-word;min-width:0}.bubble .media{max-width:100%;height:auto}.bubble .file{display:inline-block;max-width:100%}.import .hint{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35em;justify-content:center;text-align:center}.import .hint button.link{min-height:auto}.app{overflow-x:clip}.app>*{min-width:0}aside{min-width:0;max-width:100%}.chats li,.results li,.import,.find{min-width:0}.chats li{display:flex;align-items:center;gap:var(--s3);padding:10px var(--s4);border-bottom:0;position:relative}.chats li:after{content:"";position:absolute;left:calc(var(--s4) + 48px + var(--s3));right:0;bottom:0;height:1px;background:var(--rule)}.chats li:last-child:after{display:none}.chats .face{flex:0 0 auto;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:590;letter-spacing:-.02em;user-select:none}.chats .body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.chats .top{display:flex;align-items:baseline;gap:var(--s2)}.chats .title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:590;letter-spacing:-.02em}.chats .top time{flex:0 0 auto;font-size:13px;color:var(--ink-2);font-variant-numeric:tabular-nums}.chats .sub{font-size:15px;color:var(--ink-2);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.chats .sub b{font-weight:400;color:var(--ink-2)}.chats li.empty{display:block;padding:var(--s5) var(--s4);text-align:center}.chats li.empty:after{display:none}aside header .menu,aside header .add{flex:0 0 auto;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;display:grid;place-items:center;line-height:0}aside header .menu{margin-left:auto;background:var(--rail);color:var(--ink-2)}aside header .add{background:var(--accent);color:var(--accent-ink)}aside header .menu svg,aside header .add svg{width:18px;height:18px;display:block}aside header .add svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}aside header .menu svg{fill:currentColor;stroke:none}aside header .menu:active,aside header .add:active{transform:scale(.92)}aside .me{display:flex;align-items:center;gap:var(--s3);width:100%;padding:10px var(--s4);padding-bottom:max(10px,env(safe-area-inset-bottom));margin-top:auto;flex:0 0 auto;background:var(--material);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border:0;border-top:1px solid var(--rule);border-radius:0;font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:68px}aside .me:active{background:var(--rail)}aside .me .face{flex:0 0 auto;width:48px;height:48px;border-radius:50%;overflow:hidden;background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:590;letter-spacing:-.02em}aside .me .face img{width:100%;height:100%;object-fit:cover;display:block}aside .me .face svg{width:58%;height:58%;opacity:.9}aside .me .who{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:590;letter-spacing:-.02em;color:var(--ink)}.chats{flex:1 1 auto;min-height:0}.import{padding:var(--s2) var(--s4)}.import .hint{font-size:13px;color:var(--ink-2)}.import:not(:has(.status)):not(:has(.bar)):not(:has(.dropping)){display:none}.dropping{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:color-mix(in srgb,var(--paper) 78%,transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:none}.dropping span{padding:var(--s4) var(--s5);border-radius:var(--r-card);background:var(--panel);color:var(--ink);font-size:17px;font-weight:590;box-shadow:0 10px 40px #0000002e;outline:2px dashed var(--accent);outline-offset:-8px}aside header .menu,aside header .add{border-radius:50%}aside .me{border-radius:0}aside .me .face{border-radius:50%}aside .me .who{font-size:17px;font-weight:590;color:var(--ink)}
