:root{--bg:#fff;--side:#f9f9f9;--hover:#ececec;--active:#e3e3e3;--surface:#f4f4f4;--text:#0d0d0d;--text2:#5d5d5d;--text3:#8f8f8f;--line:#ececec;--line2:#e3e3e3;--btn:#0d0d0d;--btn-text:#fff;--voice:#2f7cf6;--composer-shadow:0 4px 4px #0000000a,0 0 1px #0000009e;--pop-shadow:0 8px 24px #0000001f,0 0 1px #0006;--code:#f9f9f9;--add:#e6f4ea;--add-t:#116329;--del:#fdecea;--del-t:#a40e26;--term:#0d1117;--term-t:#d6dde6}@media (prefers-color-scheme:dark){:root{--bg:#212121;--side:#181818;--hover:#2a2a2a;--active:#303030;--surface:#303030;--text:#ececec;--text2:#b4b4b4;--text3:#8f8f8f;--line:#2f2f2f;--line2:#3a3a3a;--btn:#ececec;--btn-text:#0d0d0d;--composer-shadow:0 0 0 1px #3a3a3a;--pop-shadow:0 8px 24px #00000080,0 0 0 1px #3a3a3a;--code:#171717;--add:#12261a;--add-t:#56d364;--del:#2d1416;--del-t:#ff7b72}}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font:14px/1.5 ui-sans-serif,-apple-system,system-ui,Segoe UI,Helvetica,Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}svg{stroke:currentColor;fill:none;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.app{height:100dvh;display:flex;overflow:hidden}.sidebar{background:var(--side);border-right:1px solid var(--line);flex-direction:column;flex:none;width:260px;display:flex}.side-head{flex:none;justify-content:space-between;align-items:center;height:52px;padding:0 8px;display:flex}.brand{border-radius:8px;align-items:center;gap:4px;padding:6px 8px;font-size:17px;font-weight:600;display:flex}.brand svg{width:16px;height:16px;color:var(--text3)}.brand:hover{background:var(--hover)}.icon-btn{width:36px;height:36px;color:var(--text2);border-radius:8px;place-items:center;display:grid}.icon-btn:hover{background:var(--hover);color:var(--text)}.side-scroll{flex:1;padding:4px 6px 16px;overflow-y:auto}.nav{text-align:left;border-radius:10px;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px 10px;font-size:14px;display:flex}.nav span.t{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nav:hover{background:var(--hover)}.nav.active{background:var(--active)}.nav svg{width:18px;height:18px}.nav .live{background:var(--voice);border-radius:50%;flex:none;width:8px;height:8px;margin-left:auto}.nav .live.wait{background:#e7a600}.sec{color:var(--text3);padding:22px 10px 6px;font-size:14px}.subnav{padding-left:36px;font-size:14px}.profile{border-top:1px solid var(--line);padding:8px 6px}.profile .nav{gap:10px}.avatar{color:#fff;background:#19a37a;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:11px;font-weight:600;display:grid}.profile small{color:#c27c0e;font-size:12px;line-height:1.2;display:block}.main{flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.topbar{flex:none;justify-content:center;align-items:center;height:52px;padding:0 8px;display:flex;position:relative}.topbar .l,.topbar .r{align-items:center;gap:6px;display:flex;position:absolute;top:8px}.topbar .l{left:8px}.topbar .r{right:12px}.seg{background:var(--surface);border-radius:999px;padding:3px;display:flex}.seg button{color:var(--text2);border-radius:999px;padding:5px 26px;font-size:14px}.seg button.on{background:var(--bg);color:var(--text);font-weight:500;box-shadow:0 1px 3px #0000001a}.pill{border:1px solid var(--line2);background:var(--bg);border-radius:999px;align-items:center;gap:6px;height:36px;padding:0 14px;font-size:14px;font-weight:500;display:inline-flex}.pill:hover{background:var(--surface)}.pill svg{width:18px;height:18px}.circle{border:1px solid var(--line2);background:var(--bg);border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.circle:hover{background:var(--surface)}.mob,.topbar .l.mob{display:none}.content{flex:1;overflow-y:auto}.wrap{max-width:768px;margin:0 auto;padding:0 24px}.composer{background:var(--bg);box-shadow:var(--composer-shadow);border-radius:28px;align-items:flex-end;gap:4px;min-height:56px;padding:10px;display:flex}.composer textarea{resize:none;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;max-height:200px;padding:6px 4px;font-size:16px;line-height:24px}.composer textarea::placeholder{color:var(--text3)}.cbtn{min-width:36px;height:36px;color:var(--text2);border-radius:999px;flex:none;justify-content:center;align-items:center;gap:4px;padding:0 8px;display:inline-flex}.cbtn:hover{background:var(--hover);color:var(--text)}.cbtn svg{width:20px;height:20px}.cbtn .chev{width:14px;height:14px}.cbtn.proj{color:var(--text);border:1px solid var(--line2);height:32px;margin:2px 0;font-size:13px}.go{background:var(--voice);color:#fff;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.go.send,.go.stop{background:var(--btn);color:var(--btn-text)}.go svg{width:18px;height:18px}.hint{text-align:center;color:var(--text3);padding:8px 0 10px;font-size:12px}.proj-head{align-items:center;gap:12px;margin:40px 0 28px;display:flex}.proj-head .pi svg{width:28px;height:28px}.proj-head h1{letter-spacing:-.01em;margin:0;font-size:28px;font-weight:500}.proj-head .acts{gap:8px;margin-left:auto;display:flex}.tabs{gap:4px;margin:28px 0 10px;display:flex}.tabs button{height:36px;color:var(--text2);border-radius:999px;padding:0 14px;font-size:14px}.tabs button:hover{color:var(--text)}.tabs button.on{background:var(--surface);color:var(--text);font-weight:500}.row{border-bottom:1px solid var(--line);text-align:left;border-radius:0;align-items:center;gap:16px;width:100%;padding:12px 10px;display:flex}.row:hover{background:var(--side)}.row .b{flex:1;min-width:0}.row .t{font-size:14px;font-weight:500}.row .p{color:var(--text2);white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.row .d{color:var(--text3);flex:none;font-size:13px}.empty{color:var(--text2);padding:16px 10px}.frow{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:9px 10px;font-size:14px;display:flex}.frow svg{width:18px;height:18px;color:var(--text2)}.frow .m{color:var(--text3);margin-left:auto;font-size:12px}.thread{padding:24px 0 8px}.u{justify-content:flex-end;margin:0 0 28px;display:flex}.u div{background:var(--surface);border-radius:18px;max-width:70%;padding:10px 18px;font-size:16px;line-height:1.6}.a{margin-bottom:28px;font-size:16px;line-height:1.75}.a p{margin:0 0 14px}.a code{background:var(--surface);border-radius:5px;padding:2px 5px;font-size:14px}.worked{color:var(--text3);align-items:center;gap:4px;margin-bottom:8px;font-size:15px;display:inline-flex}.worked:hover{color:var(--text)}.worked svg{width:16px;height:16px;transition:transform .15s}.worked.open svg{transform:rotate(90deg)}.steps{border-left:2px solid var(--line2);color:var(--text2);margin:4px 0 18px 6px;padding:2px 0 2px 18px;font-size:14px;line-height:1.6}.step{align-items:center;gap:8px;margin:6px 0;display:flex}.step svg{width:16px;height:16px}.step code{font-size:13px}.cb{background:var(--code);border:1px solid var(--line);border-radius:16px;margin:10px 0 14px;overflow:hidden}.cb .h{color:var(--text2);align-items:center;gap:8px;padding:8px 14px;font-family:ui-monospace,Consolas,monospace;font-size:12px;display:flex}.cb .h .n{color:var(--add-t)}.cb .h .r{color:var(--del-t)}.cb .h button{align-items:center;gap:4px;margin-left:auto;font-family:ui-sans-serif,system-ui,sans-serif;display:flex}.cb .h button svg{width:14px;height:14px}.cb pre{margin:0;padding:4px 0 10px;font-size:13px;line-height:1.6;overflow-x:auto}.cb pre div{width:max-content;min-width:100%;padding:0 14px}.cb .ad{background:var(--add);color:var(--add-t)}.cb .dl{background:var(--del);color:var(--del-t)}.cb .hh{color:var(--text3)}.fchip{border:1px solid var(--line2);cursor:pointer;border-radius:16px;align-items:center;gap:12px;max-width:420px;margin:6px 0 16px;padding:12px 14px;display:flex}.fchip:hover{background:var(--side)}.fchip .ic{background:var(--surface);border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.fchip .t{font-size:14px;font-weight:500;line-height:1.3}.fchip .s{color:var(--text2);font-size:13px;line-height:1.3}.confirm{border:1px solid var(--line2);border-radius:20px;margin:8px 0 12px;padding:16px 18px}.confirm .q{font-size:15px;font-weight:500;line-height:1.5}.confirm .s{color:var(--text2);margin-top:4px;font-size:14px;line-height:1.5}.confirm .bt{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.btn-dark{background:var(--btn);height:36px;color:var(--btn-text);border-radius:999px;padding:0 16px;font-size:14px;font-weight:500}.btn-light{border:1px solid var(--line2);border-radius:999px;height:36px;padding:0 16px;font-size:14px;font-weight:500}.btn-light:hover{background:var(--surface)}.acts-row{color:var(--text2);gap:2px;margin:-6px 0 0 -8px;display:flex}.acts-row button{border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.acts-row button:hover{background:var(--hover)}.acts-row svg{width:18px;height:18px}.status{color:var(--text2);align-items:center;gap:8px;margin:2px 0 10px;font-size:14px;display:flex}.dot{background:#e7a600;border-radius:50%;width:8px;height:8px;animation:1.4s infinite pl}@keyframes pl{50%{opacity:.3}}.bottom{background:linear-gradient(to bottom,transparent,var(--bg) 24px);position:sticky;bottom:0}.bottom .wrap{padding-top:12px}.home{flex-direction:column;justify-content:center;min-height:100%;padding-bottom:12vh;display:flex}.home h1{text-align:center;letter-spacing:-.01em;margin:0 0 28px;font-size:28px;font-weight:400}.pop{z-index:50;background:var(--bg);box-shadow:var(--pop-shadow);border-radius:16px;min-width:240px;max-width:320px;padding:6px;position:fixed}.pop .it{text-align:left;border-radius:10px;align-items:center;gap:10px;width:100%;padding:8px 10px;font-size:14px;display:flex}.pop .it:hover{background:var(--hover)}.pop .it small{color:var(--text2);font-size:12px;line-height:1.3;display:block}.pop .it .ck{width:18px;height:18px;margin-left:auto}.pop .it .ar{width:16px;height:16px;color:var(--text3);margin-left:auto}.pop .it.dis{color:var(--text3)}.pop .hd{color:var(--text3);padding:8px 10px 4px;font-size:12px}.pop hr{border:0;border-top:1px solid var(--line);margin:6px 4px}.work{border-left:1px solid var(--line);background:var(--bg);flex-direction:column;flex:none;width:0;transition:width .2s;display:flex;overflow:hidden}.app.work-on .work{width:48%}.work-head{flex:none;align-items:center;gap:4px;height:52px;padding:0 8px 0 12px;display:flex}.work-head .tabs{margin:0}.work-head .x{margin-left:auto}.work-body{flex:1;padding:0 12px 12px;overflow:auto}.work-foot{border-top:1px solid var(--line);align-items:center;gap:8px;padding:10px 12px;display:flex}.work-foot input{border:1px solid var(--line2);background:var(--bg);height:36px;color:var(--text);font:inherit;border-radius:999px;flex:1;padding:0 14px}.term{background:var(--term);color:var(--term-t);white-space:pre-wrap;border-radius:16px;min-height:100%;padding:14px;font:13px/1.6 ui-monospace,Consolas,monospace}.term .g{color:#7ee787}.term .bl{color:#79c0ff}.term .y{color:#e3b341}.scrim{display:none}@media (width<=820px){.sidebar{z-index:30;width:300px;max-width:86%;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.app.side-open .sidebar{transform:none}.app.side-open .scrim{z-index:20;background:#0006;display:block;position:fixed;inset:0}.mob{display:grid}.topbar .l.mob{display:flex}.desk{display:none!important}.app.work-on .work{z-index:25;width:100%;position:fixed;inset:0}.wrap{padding:0 16px}.proj-head{margin:20px 0}.proj-head h1{font-size:24px}.row .p{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.u div{max-width:85%}.seg button{padding:5px 18px}}.loading{min-height:100dvh;color:var(--text3);text-align:center;place-items:center;padding:16px;display:grid}.sidebar .side-close{display:none}@media (width<=820px){.sidebar .side-close{display:grid}}.nav.soon{color:var(--text)}.composer .go:disabled{opacity:.4;cursor:default}.auth{justify-content:center;align-items:center;min-height:100dvh;padding:32px 16px;display:flex}.auth-box{text-align:center;width:100%;max-width:360px}.auth-logo{margin-bottom:48px;font-size:20px;font-weight:600}.auth h1{letter-spacing:-.01em;margin:0 0 10px;font-size:28px;font-weight:500;line-height:1.25}.auth .sub{color:var(--text2);margin:0 0 24px;font-size:15px;line-height:1.5}.auth .sub code{background:var(--surface);border-radius:6px;padding:2px 6px;font-size:13px}.stepno{color:var(--text3);margin-bottom:10px;font-size:13px}.field{border:1px solid var(--line2);background:var(--bg);width:100%;height:52px;color:var(--text);font:inherit;border-radius:999px;outline:0;margin-bottom:12px;padding:0 20px;font-size:16px;display:block}.field:focus{border-color:var(--voice);box-shadow:0 0 0 1px var(--voice)}.btn-wide{border-radius:999px;justify-content:center;align-items:center;gap:10px;width:100%;height:52px;font-size:16px;font-weight:500;display:flex}.btn-wide.dark{background:var(--btn);color:var(--btn-text)}.btn-wide.light{border:1px solid var(--line2)}.btn-wide.light:hover{background:var(--surface)}.btn-wide:disabled{opacity:.5;cursor:default}.btn-wide+.btn-wide{margin-top:12px}.or{color:var(--text3);align-items:center;gap:12px;margin:20px 0;font-size:13px;display:flex}.or:before,.or:after{content:"";border-top:1px solid var(--line2);flex:1}.err{color:var(--del-t);margin:0 0 12px;padding:0 8px;font-size:14px;line-height:1.4}.link{color:var(--text2);text-underline-offset:3px;margin-top:20px;font-size:14px;text-decoration:underline}.link:hover{color:var(--text)}.qr{background:#fff;border-radius:12px;width:184px;height:184px;margin:4px auto 10px;padding:6px;display:block}.secret{color:var(--text2);word-break:break-all;margin:0 0 18px;font:13px/1.5 ui-monospace,Consolas,monospace}.codes{background:var(--surface);border-radius:16px;grid-template-columns:1fr 1fr;gap:8px 16px;margin:0 0 16px;padding:16px 20px;font:15px/1.4 ui-monospace,Consolas,monospace;display:grid}.modal-bg{z-index:60;background:#0006;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--bg);box-shadow:var(--pop-shadow);border-radius:20px;width:100%;max-width:540px;max-height:90dvh;overflow:auto}.modal-head{border-bottom:1px solid var(--line);align-items:center;padding:12px 12px 12px 20px;font-size:16px;font-weight:500;display:flex}.modal-head .icon-btn{margin-left:auto}.modal-sec{border-bottom:1px solid var(--line);padding:16px 20px}.modal-sec:last-child{border-bottom:0}.modal-sec h3{margin:0 0 6px;font-size:14px;font-weight:500}.modal-sec .note{color:var(--text2);margin:0 0 8px;font-size:13px;line-height:1.5}.mrow{align-items:center;gap:12px;padding:8px 0;font-size:14px;display:flex}.mrow .b{flex:1;min-width:0}.mrow small{color:var(--text3);font-size:12px;line-height:1.4;display:block}.mrow .btn-light{flex:none;height:32px;padding:0 12px;font-size:13px}.modal .btn-light,.modal .btn-dark{margin-top:8px}.modal .codes{margin-top:12px}.toast{background:var(--btn);color:var(--btn-text);z-index:70;box-shadow:var(--pop-shadow);text-align:center;border-radius:999px;max-width:calc(100% - 32px);padding:10px 18px;font-size:14px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.cbtn.model{color:var(--text);font-weight:500}.cbtn{white-space:nowrap}.ctools{display:contents}.cbtn.proj .pn{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=820px){.composer{flex-wrap:wrap;row-gap:2px}.composer textarea{flex-basis:100%;order:-1;padding:4px 6px}.ctools{align-items:center;gap:4px;display:flex}.ctools.left{flex:1 1 0;min-width:0}.ctools.right{flex:none}.composer .cbtn.proj{flex-shrink:1;min-width:0}}.profile{align-items:center;gap:2px;display:flex}.profile .nav{flex:1;min-width:0}.pop.wide{min-width:340px;max-width:min(380px,100vw - 16px);padding:4px 6px}.limits{padding:6px 8px}.lim-block+.lim-block{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.lim-head{color:var(--text2);justify-content:space-between;align-items:center;gap:12px;margin:4px 0 10px;font-size:13px;display:flex}.lim-head a{color:var(--text);white-space:nowrap;align-items:center;gap:2px;font-size:13px;text-decoration:none;display:inline-flex}.lim-head a:hover{text-decoration:underline}.lim-head a svg{width:14px;height:14px}.lim-row{margin:0 0 12px}.lim-line{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;font-size:14px;display:flex}.lim-reset{color:var(--text2);white-space:nowrap;font-size:13px}.lim-reset b{color:var(--text2);text-align:right;min-width:44px;margin-left:14px;font-weight:400;display:inline-block}.lim-bar{background:var(--line2);border-radius:2px;height:4px;overflow:hidden}.lim-bar div{background:var(--voice);border-radius:2px;height:100%}.lim-bar div.hot{background:#e5484d}.lim-note{color:var(--text2);margin:4px 0 10px;font-size:13px}.lim-note.err{color:var(--del-t)}.lim-foot{color:var(--text3);border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:4px;padding-top:4px;font-size:12px;display:flex}.lim-foot .icon-btn{width:30px;height:30px}.lim-foot .icon-btn svg{width:16px;height:16px}
