@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font:"Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--mono:ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;--bg:#f5f5f3;--surface:#fff;--surface-2:#f0f0ed;--surface-3:#e8e8e4;--border:#e2e2dd;--border-strong:#cdcdc6;--text:#1b1d1f;--text-2:#464b51;--text-3:#62676d;--scrim:#1416186b;--accent:#0070eb;--accent-hover:#005fcc;--accent-soft:#e6f0fe;--accent-soft-2:#cfe2fd;--on-accent:#fff;--focus:#0070eb;--link-them:#005fcc;--danger:#b3261e;--danger-soft:#fbeceb;--warning:#7a5200;--warning-soft:#fbf1dc;--warning-border:#ecd9ad;--success:#1c6e3a;--radius-s:6px;--radius:10px;--radius-l:14px;--shadow-pop:0 1px 2px #0000000f, 0 8px 24px #0000001a;--bubble-me:var(--accent);--on-bubble-me:#fff;--bubble-them:#e9e9eb;--on-bubble-them:#000;--bubble-them-2:#d8d8dc;--spring:cubic-bezier(.2, .9, .25, 1.12);--thread-line:#c7c7cc;--sidebar-w:288px;--col:46rem}@media (prefers-color-scheme:dark){:root{--bg:#111112;--surface:#1c1c1e;--surface-2:#2c2c2e;--surface-3:#3a3a3c;--border:#2e2e30;--border-strong:#48484a;--text:#f2f2f7;--text-2:#c7c7cc;--text-3:#98989f;--scrim:#0009;--accent:#0a84ff;--accent-hover:#409cff;--accent-soft:#0b2a4d;--accent-soft-2:#123a66;--on-accent:#fff;--focus:#409cff;--link-them:#4da3ff;--danger:#f2877d;--danger-soft:#3a1f1d;--warning:#e8bd62;--warning-soft:#33291a;--warning-border:#4d3d20;--success:#6ccb8c;--shadow-pop:0 1px 2px #0006, 0 10px 30px #00000080;--bubble-me:#0070eb;--on-bubble-me:#fff;--bubble-them:#262628;--on-bubble-them:#fff;--bubble-them-2:#3a3a3c;--thread-line:#3a3a3c}}:root{--thread-wash:#f2f2f7bd}@media (prefers-color-scheme:dark){:root{--thread-wash:#0000009e}}:root{--quote-line:#c7c7cc}@media (prefers-color-scheme:dark){:root{--quote-line:#48484a}}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{font-family:var(--font);color:var(--text);background:var(--bg);font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior:none;margin:0;font-size:15px;line-height:1.5}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-s)}a{color:var(--accent)}h1,h2,h3{margin:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.boot{background:var(--bg);place-items:center;height:100%;display:grid}.boot-mark{letter-spacing:-.01em;color:var(--text-3);font-weight:600}.brand{align-items:center;gap:9px;display:inline-flex}.brand-name{letter-spacing:-.015em;font-size:16px;font-weight:650}.brand-mark{flex:none}.brand-mark-ring{stroke:var(--on-accent)}.btn{border-radius:var(--radius);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:14px;font-weight:550;transition:background-color .12s,border-color .12s;display:inline-flex}.btn-block{width:100%}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{opacity:.7}.btn-secondary{background:var(--surface);border-color:var(--border-strong)}.btn-secondary:hover:not(:disabled){background:var(--surface-2)}.btn-quiet{color:var(--text-2);background:0 0;min-height:34px;font-size:13px}.btn-quiet:hover:not(:disabled){background:var(--surface-2)}.icon-btn{border-radius:var(--radius-s);width:36px;height:36px;color:var(--text-2);background:0 0;border:0;flex:none;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--surface-3);color:var(--text)}.link-btn{color:var(--accent);font-weight:550;font-size:inherit;background:0 0;border:0;border-radius:4px;align-items:center;gap:4px;margin:-2px -4px;padding:2px 4px;display:inline-flex}.link-btn:hover{text-underline-offset:2px;text-decoration:underline}.kbd{font-family:var(--font);color:var(--text-3);border:1px solid var(--border);background:var(--surface-2);border-radius:5px;margin-left:auto;padding:1px 6px;font-size:11.5px;font-weight:500}.field{gap:6px;display:grid}.field label{color:var(--text-2);font-size:13px;font-weight:550}.field input{border-radius:var(--radius);border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:44px;padding:0 12px;font-size:16px}.field input:focus-visible{outline:2px solid var(--focus);outline-offset:-1px;border-color:#0000}.field input[aria-invalid=true]{border-color:var(--danger)}.form-error{color:var(--danger);margin:0;font-size:13.5px}.callout{border-radius:var(--radius);align-items:flex-start;gap:10px;margin:0;padding:10px 12px;font-size:13.5px;line-height:1.45;display:flex}.callout svg{flex:none;margin-top:2px}.callout-info{background:var(--accent-soft);color:var(--text)}.callout-info svg{color:var(--accent)}.callout-warning{background:var(--warning-soft);border:1px solid var(--warning-border);color:var(--text)}.callout-warning svg{color:var(--warning)}.callout strong{font-weight:600}.login{min-height:100%;padding:32px 16px calc(32px + env(safe-area-inset-bottom));place-items:center;display:grid}.login-panel{gap:20px;width:100%;max-width:384px;display:grid}.login-head{justify-items:start;gap:6px;display:grid}.login-head h1{letter-spacing:-.02em;margin-top:14px;font-size:24px;font-weight:650}.login-sub{color:var(--text-3);margin:0}.login-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-l);gap:16px;padding:24px;display:grid}.login-form .btn{min-height:44px;margin-top:4px}.login-foot{color:var(--text-3);margin:0;font-size:12.5px;line-height:1.5}.shell{height:100%;grid-template-columns:var(--sidebar-w) minmax(0, 1fr);height:100dvh;display:grid;overflow:hidden}.sidebar-slot{border-right:1px solid var(--border);background:var(--bg);min-height:0}.main-slot{background:var(--surface);min-width:0;min-height:0}.nav-scrim,.nav-toggle,.nav-new{display:none}.sidebar{flex-direction:column;height:100%;min-height:0;display:flex}.sidebar-top{flex:none;align-items:center;height:56px;padding:0 18px;display:flex}.sidebar-actions{gap:10px;padding:4px 12px 12px;display:grid}.new-thread{justify-content:flex-start;padding:0 12px}.search{position:relative}.search input{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);appearance:none;width:100%;height:36px;padding:0 32px 0 34px;font-size:14px}.search input::-webkit-search-cancel-button{display:none}.search input::placeholder{color:var(--text-3)}.search input:focus-visible{outline:2px solid var(--focus);outline-offset:-1px;border-color:#0000}.search-icon{color:var(--text-3);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.search-clear{width:30px;height:30px;position:absolute;top:3px;right:3px}.thread-scroll{flex:1;min-height:0;padding:0 8px 12px;overflow-y:auto}.thread-group+.thread-group{margin-top:10px}.thread-group-label{color:var(--text-3);padding:8px 10px 4px;font-size:12px;font-weight:600}.thread-list{gap:1px;margin:0;padding:0;list-style:none;display:grid}.thread{border-radius:var(--radius);position:relative}.thread:hover{background:var(--surface-2)}.thread-main{text-align:left;border-radius:var(--radius);background:0 0;border:0;gap:2px;width:100%;padding:9px 10px;display:grid}.thread-row{align-items:baseline;gap:8px;min-width:0;display:flex}.thread-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;font-weight:500;overflow:hidden}.thread-title.is-untitled{color:var(--text-2)}.thread.is-unread .thread-title{font-weight:650}.thread-time{color:var(--text-3);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.thread-preview{min-width:0;color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;overflow:hidden}.thread-working{color:var(--accent);align-items:center;gap:7px;font-weight:500;display:inline-flex}.pulse-dot{background:var(--accent);border-radius:50%;width:7px;height:7px;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.35}}.unread-dot{background:var(--accent);border-radius:50%;flex:none;align-self:center;width:8px;height:8px}.menu-wrap.thread-menu{opacity:0;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.thread:hover .thread-menu,.thread:focus-within .thread-menu{opacity:1}.thread-menu:has([aria-expanded=true]){opacity:1}.thread:hover .thread-time,.thread:focus-within .thread-time{visibility:hidden}.thread-menu .icon-btn{background:var(--surface-3);width:30px;height:30px}.thread.is-active .thread-menu .icon-btn{background:var(--border)}@media (hover:none){.thread:hover .thread-time,.thread:focus-within .thread-time{visibility:visible}.thread-menu .icon-btn{background:0 0}.thread.is-active .thread-menu{opacity:1}.thread.is-active .thread-time{visibility:hidden}.thread:not(.is-active) .thread-menu{display:none}}.thread-skeleton{border-radius:var(--radius);background:var(--surface-2);height:52px;margin:2px 0}.rename-input{border-radius:var(--radius);border:1px solid var(--accent);background:var(--surface);width:100%;height:40px;box-shadow:0 0 0 2px var(--accent-soft-2);outline:none;padding:0 10px;font-size:14px}.sidebar-note{color:var(--text-3);margin:8px 10px;font-size:13px}.sidebar-foot{padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);flex:none;align-items:center;gap:10px;display:flex}.avatar{background:var(--surface-3);width:32px;height:32px;color:var(--text-2);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:650;display:grid}.who{flex:1;min-width:0;line-height:1.3;display:grid}.who-name{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:550;overflow:hidden}.who-email{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.menu-wrap{position:relative}.menu{z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:160px;box-shadow:var(--shadow-pop);padding:4px;position:absolute;top:calc(100% + 4px);right:0}.menu-item{border-radius:var(--radius-s);text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 10px;font-size:14px;display:flex}.menu-item:hover,.menu-item:focus-visible{background:var(--surface-2);outline:none}.menu-item-danger{color:var(--danger)}.conversation{flex-direction:column;height:100%;min-height:0;display:flex;position:relative}.conv-header{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:8px;height:56px;padding:0 16px 0 24px;display:flex}.conv-title-wrap{flex:1;align-items:center;gap:2px;min-width:0;display:flex}.conv-title{letter-spacing:-.005em;flex:0 auto;min-width:0;max-width:100%;margin-left:-8px;font-size:15px;font-weight:600;overflow:hidden}.conv-title>span,.conv-title-btn{white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}.conv-title-btn{font-weight:inherit;border-radius:var(--radius-s);text-align:left;background:0 0;border:0;padding:4px 8px}.conv-title-btn:hover{background:var(--surface-2)}.conv-rename{max-width:480px;height:36px;font-size:15px;font-weight:600}.conv-menu .icon-btn{width:32px;height:32px}.secure{height:28px;color:var(--text-2);border:1px solid var(--border);background:var(--surface);cursor:default;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;font-weight:500;display:inline-flex}.secure svg{color:var(--accent)}.conn-banner{background:var(--warning-soft);color:var(--text);border-bottom:1px solid var(--warning-border);flex:none;align-items:center;gap:10px;padding:8px 24px;font-size:13.5px;display:flex}.conn-banner svg{color:var(--warning);flex:none}.conn-banner .link-btn{color:var(--text);text-underline-offset:2px;margin-left:auto;text-decoration:underline}.scroller{overscroll-behavior:contain;flex:1;min-height:0;scroll-padding-top:16px;position:relative;overflow-y:auto}.col{width:100%;max-width:var(--col);margin:0 auto;padding:28px 24px 24px}.load-older{justify-content:center;margin-bottom:16px;display:flex}.conv-fresh,.conv-error{color:var(--text-3);text-align:center}.conv-error{justify-items:center;gap:12px;padding-top:64px;display:grid}.md{overflow-wrap:anywhere;font-size:15.5px;line-height:1.62}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p,.md ul,.md ol,.md blockquote,.md pre,.md .md-table{margin:0 0 .85em}.md h1,.md h2,.md h3,.md h4{letter-spacing:-.01em;margin:1.3em 0 .5em;font-weight:650;line-height:1.3}.md h1{font-size:1.25em}.md h2{font-size:1.12em}.md h3,.md h4{font-size:1em}.md ul,.md ol{padding-left:1.4em}.md li+li{margin-top:.3em}.md li>ul,.md li>ol{margin:.3em 0 0}.md strong{font-weight:650}.md a{color:var(--accent);text-decoration:underline;-webkit-text-decoration-color:var(--accent-soft-2);text-decoration-color:var(--accent-soft-2);text-underline-offset:2px;text-decoration-thickness:1.5px}.md a:hover{text-decoration-color:currentColor}.md code{font-family:var(--mono);background:var(--surface-2);border-radius:4px;padding:.1em .35em;font-size:.88em}.md pre{border-radius:var(--radius);background:var(--surface-2);padding:12px 14px;overflow-x:auto}.md pre code{background:0 0;padding:0;font-size:13.5px}.md blockquote{border-left:3px solid var(--border-strong);color:var(--text-2);padding:2px 0 2px 14px}.md hr{border:0;border-top:1px solid var(--border);margin:1.2em 0}.md-table{border:1px solid var(--border);border-radius:var(--radius);overflow-x:auto}.md table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px;line-height:1.45}.md th,.md td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:8px 12px}.md th{color:var(--text-2);background:var(--surface-2);white-space:nowrap;font-size:13px;font-weight:600}.md tr:last-child td{border-bottom:0}.md td[align=right],.md th[align=right]{text-align:right}.md td[align=center],.md th[align=center]{text-align:center}.sources{gap:8px;margin-top:6px;display:grid}.sources-label{color:var(--text-3);font-size:12px;font-weight:600}.source-list{grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.source-chip{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);height:100%;min-height:56px;color:var(--text);align-items:flex-start;gap:10px;padding:9px 12px 9px 10px;text-decoration:none;transition:border-color .12s,background-color .12s;display:flex}.source-chip:hover{border-color:var(--border-strong);background:var(--surface-2)}.source-n{background:var(--accent-soft);width:20px;height:20px;color:var(--accent);font-variant-numeric:tabular-nums;border-radius:5px;flex:none;place-items:center;margin-top:1px;font-size:11.5px;font-weight:650;display:grid}.source-body{gap:2px;min-width:0;display:grid}.source-title{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:13px;font-weight:550;line-height:1.35;display:-webkit-box;overflow:hidden}.source-meta{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.sources .link-btn{justify-self:start;font-size:13px}.attachments{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.attachment{border:1px solid var(--border);border-radius:var(--radius);color:var(--text);align-items:center;gap:10px;max-width:320px;padding:8px 12px;text-decoration:none;display:flex}.attachment:hover{background:var(--surface-2)}.attachment svg{color:var(--text-3);flex:none}.attachment-body{min-width:0;display:grid}.attachment-name{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:550;overflow:hidden}.attachment-meta{color:var(--text-3);font-size:12px}.sk{border-radius:var(--radius);background:var(--surface-2)}.sk-user{justify-self:end;width:55%;height:44px}.sk-lines{height:120px}.sk-lines.short{width:70%;height:64px}.empty{max-width:var(--col);flex-direction:column;align-items:flex-start;margin:0 auto;padding:10vh 24px 32px;display:flex}.empty-title{letter-spacing:-.02em;margin-top:18px;font-size:24px;font-weight:650}.empty-sub{max-width:36rem;color:var(--text-2);margin:8px 0 24px;line-height:1.55}.examples{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;padding:0;list-style:none;display:grid}.example{text-align:left;border:1px solid var(--border);border-radius:var(--radius-l);background:var(--surface);gap:6px;width:100%;height:100%;padding:14px 16px;transition:border-color .12s,background-color .12s;display:grid}.example:hover{border-color:var(--border-strong);background:var(--bg)}.example-kind{color:var(--accent);font-size:12px;font-weight:600}.example-text{color:var(--text);font-size:14px;line-height:1.45}.empty-foot{color:var(--text-3);margin:14px 0 0;font-size:12.5px}.lock-backdrop{z-index:50;background:var(--bg);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-l);width:100%;max-width:420px;box-shadow:var(--shadow-pop);gap:10px;padding:28px;display:grid}.dialog-icon{background:var(--warning-soft);width:40px;height:40px;color:var(--warning);border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.dialog h2{letter-spacing:-.01em;font-size:18px;font-weight:650}.dialog p{color:var(--text-2);margin:0;line-height:1.5}.countdown{align-items:baseline;gap:8px;display:flex;margin:8px 0!important}.countdown-num{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:32px;font-weight:650;color:var(--text)!important}.countdown-label{color:var(--text-3);font-size:14px}.dialog-actions{gap:10px;margin-top:8px;display:flex}.dialog-actions .btn{flex:1;min-height:44px}.toasts{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));z-index:60;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:grid;position:fixed;transform:translate(-50%)}.toast{border-radius:var(--radius);background:var(--text);min-height:44px;color:var(--surface);box-shadow:var(--shadow-pop);align-items:center;gap:12px;padding:6px 6px 6px 16px;font-size:14px;display:flex}.toast.is-danger .toast-text:before{content:"";background:var(--danger);vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:10px;display:inline-block}.toast-action{color:inherit;text-underline-offset:3px;border-radius:var(--radius-s);background:0 0;border:0;padding:6px 8px;font-weight:650;text-decoration:underline}.toast-close{width:32px;height:32px;color:inherit;opacity:.7}.toast-close:hover{color:inherit;opacity:1;background:#7f7f7f40}.toast :focus-visible{outline-color:var(--surface)}@media (max-width:1100px){:root{--sidebar-w:264px}}@media (max-width:760px){body{font-size:16px}.shell{grid-template-columns:minmax(0,1fr)}.sidebar-slot{z-index:40;visibility:hidden;width:min(86vw,320px);padding-top:env(safe-area-inset-top);transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.nav-open .sidebar-slot{visibility:visible;box-shadow:var(--shadow-pop);transform:none}.nav-scrim{z-index:35;background:var(--scrim);display:block;position:fixed;inset:0}.nav-toggle,.nav-new{display:inline-grid}.conv-header{padding:0 6px;padding-top:env(safe-area-inset-top);height:calc(52px + env(safe-area-inset-top));gap:2px}.conv-title-wrap{justify-content:center;padding:0 4px}.conv-title{margin-left:0;font-size:15px}.conv-title-btn{text-align:center;margin-left:0}.conv-menu{display:none}.secure{border:0;justify-content:center;width:36px;height:36px;padding:0}.secure-text{display:none}.col{padding:20px 16px 16px}.conn-banner{padding:8px 16px;font-size:13px}.md{font-size:16px}.source-list{grid-template-columns:minmax(0,1fr)}.empty{padding:28px 16px 16px}.empty-title{font-size:21px}.examples{grid-template-columns:minmax(0,1fr);gap:8px}.example{gap:3px;padding:11px 14px}.example-text{font-size:14.5px}.empty-sub{margin-bottom:18px;font-size:15px}.empty .brand-mark{width:32px;height:32px}.empty-title{margin-top:12px}.empty-foot{display:none}.sidebar-top{height:52px}.search input{height:40px;font-size:16px}.thread-main{padding:11px 10px}.kbd{display:none}}.thread-list{gap:0}.thread{border-radius:var(--radius)}.thread+.thread:before{content:"";background:var(--border);height:1px;position:absolute;top:0;left:22px;right:10px}.thread.is-active:before,.thread.is-active+.thread:before{display:none}.thread-main{gap:3px;padding:10px 12px 11px 22px;position:relative}.thread-title{font-size:14px;font-weight:650}.thread-title.is-untitled{font-weight:500}.thread-preview{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-height:2.7em;line-height:1.35;display:-webkit-box}.thread-working{min-height:0;display:flex}.unread-dot{width:9px;height:9px;position:absolute;top:16px;left:7px}.thread.is-active{background:var(--accent)}.thread.is-active .thread-title,.thread.is-active .thread-time,.thread.is-active .thread-preview,.thread.is-active .thread-working{color:var(--on-accent)}.thread.is-active .thread-preview,.thread.is-active .thread-time{opacity:.85}.thread.is-active .pulse-dot,.thread.is-active .unread-dot{background:var(--on-accent)}.thread.is-active .thread-menu .icon-btn{color:var(--on-accent);background:0 0}.thread-menu .icon-btn{background:var(--surface-2)}.thread-menu{top:22px}.col{padding-top:16px}.msg-list{flex-direction:column;display:flex}.time-sep{text-align:center;color:var(--text-3);font-variant-numeric:tabular-nums;margin:18px 0 8px;font-size:11.5px;font-weight:600}.msg{touch-action:pan-y;outline:none;flex-direction:column;margin-top:10px;display:flex;position:relative}.msg-me{align-items:flex-end}.msg-them{align-items:flex-start}.bubble-row{align-items:center;gap:6px;width:100%;display:flex;position:relative}.msg-me .bubble-row{flex-direction:row-reverse}.bubble{isolation:isolate;overflow-wrap:anywhere;border-radius:18px;max-width:min(76%,36rem);padding:8px 13px;font-size:15.5px;line-height:1.42;transition:transform .15s;position:relative}.bubble-text{white-space:pre-wrap}.msg-me .bubble{background:var(--bubble-me);color:var(--on-bubble-me)}.msg-them .bubble{background:var(--bubble-them);color:var(--text)}.msg-me.pos-first .bubble{border-bottom-right-radius:5px}.msg-me.pos-middle .bubble{border-top-right-radius:5px;border-bottom-right-radius:5px}.msg-me.pos-last .bubble{border-top-right-radius:5px}.msg-them.pos-first .bubble{border-bottom-left-radius:5px}.msg-them.pos-middle .bubble{border-top-left-radius:5px;border-bottom-left-radius:5px}.msg-them.pos-last .bubble{border-top-left-radius:5px}.msg.has-tail .bubble:before,.msg.has-tail .bubble:after{content:"";z-index:-1;height:20px;position:absolute;bottom:0}.msg-me.has-tail .bubble:before{background:var(--bubble-me);border-bottom-left-radius:16px 14px;width:20px;right:-7px}.msg-me.has-tail .bubble:after{background:var(--surface);border-bottom-left-radius:10px;width:10px;right:-10px}.msg-them.has-tail .bubble:before{background:var(--bubble-them);border-bottom-right-radius:16px 14px;width:20px;left:-7px}.msg-them.has-tail .bubble:after{background:var(--surface);border-bottom-right-radius:10px;width:10px;left:-10px}.msg-them.is-rich .bubble{width:100%;max-width:100%;padding:14px 18px 16px;font-size:15.5px}.bubble .md{font-size:inherit;line-height:1.5}.bubble .md p,.bubble .md ul,.bubble .md ol,.bubble .md blockquote,.bubble .md pre,.bubble .md .md-table{margin-bottom:.7em}.bubble .md-table{background:var(--surface);border-color:var(--bubble-them-2)}.bubble .md th{background:var(--surface-2)}.bubble .md code,.bubble .md pre{background:var(--surface)}.bubble .md blockquote{border-left-color:var(--border-strong)}.bubble .md a{text-decoration-color:currentColor;text-decoration-thickness:1px}.msg:focus-visible .bubble{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--focus)}.bubble.is-flash,.msg.is-flash .bubble{animation:1.4s ease-out bubble-flash}@keyframes bubble-flash{0%,30%{box-shadow:0 0 0 3px var(--surface), 0 0 0 6px var(--accent)}to{box-shadow:0 0 0 3px #0000,0 0 0 6px #0000}}.more-btn{opacity:0;width:28px;height:28px;color:var(--text-3);flex:none}.msg:hover .more-btn,.msg:focus-within .more-btn,.more-btn[aria-expanded=true]{opacity:1}@media (hover:none){.more-btn{display:none}}.msg-them .sources,.msg-them .attachments{width:100%;margin-top:8px}.msg-me .attachments{margin-top:6px}.msg-status{color:var(--text-3);font-variant-numeric:tabular-nums;align-items:center;gap:5px;margin:3px 4px 0;font-size:11.5px;display:inline-flex}.msg-status strong{color:var(--text-2);font-weight:650}.msg-status.is-failed{color:var(--danger);font-size:12px;font-weight:550}.msg-status.is-securing svg{color:var(--accent)}.retry-btn{margin-left:4px}.msg-me.is-failed .bubble{background:var(--surface-2);color:var(--text);box-shadow:inset 0 0 0 1.5px var(--danger)}.msg-me.is-failed.has-tail .bubble:before{background:var(--surface-2)}.notice{color:var(--text-3);justify-content:center;align-items:flex-start;gap:8px;margin:14px 8% 4px;font-size:12.5px;display:flex}.notice svg{flex:none;margin-top:2px}.quote{text-align:left;background:0 0;border:0;border-radius:14px;max-width:80%;padding:0;display:flex}.msg-them .quote{margin-left:22px}.msg-me .quote{margin-right:22px}.quote-bubble{white-space:nowrap;text-overflow:ellipsis;max-width:100%;color:var(--text-2);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:5px 11px;font-size:13px;line-height:1.4;display:block;overflow:hidden}.quote-bubble.is-me{background:var(--accent-soft);border-color:var(--accent-soft-2)}.quote:hover .quote-bubble{border-color:var(--border-strong);color:var(--text)}.msg.is-reply .quote+.reply-connector+.bubble-row{margin-top:3px}.reply-connector{border-top:1.5px solid var(--border-strong);pointer-events:none;width:13px;height:30px;position:absolute;top:14px}.msg-them .reply-connector{border-left:1.5px solid var(--border-strong);border-top-left-radius:11px;left:9px}.msg-me .reply-connector{border-right:1.5px solid var(--border-strong);border-top-right-radius:11px;right:9px}.replies-btn{color:var(--accent);background:0 0;border:0;border-radius:4px;margin:4px 10px 0;padding:2px;font-size:12.5px;font-weight:650}.replies-btn:hover{text-underline-offset:2px;text-decoration:underline}.tapback-badge{border:2px solid var(--surface);background:var(--bubble-them);width:28px;height:28px;color:var(--text-2);z-index:2;border-radius:50%;place-items:center;display:grid;position:absolute;top:-14px}.msg-them .tapback-badge{right:-12px}.msg-me .tapback-badge{left:-12px}.tapback-badge.is-mine{background:var(--accent);color:var(--on-accent)}.tapback-bar{z-index:30;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-pop);animation:bar-pop .26s var(--spring) both;border-radius:999px;align-items:center;gap:2px;padding:5px;display:flex;position:absolute;bottom:calc(100% + 8px)}.tapback-left{transform-origin:0 100%;left:0}.tapback-right{transform-origin:100% 100%;right:0}@keyframes bar-pop{0%{opacity:0;transform:scale(.7)translateY(6px)}}.tapback-btn{width:38px;height:38px;color:var(--text-2);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.tapback-btn:hover,.tapback-btn:focus-visible{background:var(--surface-2);color:var(--text);outline-offset:-2px}.tapback-btn.is-on{background:var(--accent);color:var(--on-accent)}.tapback-sep{background:var(--border);width:1px;height:22px;margin:0 4px}.typing-bubble{padding:12px 15px}.dots{gap:5px;display:inline-flex}.dots span{background:var(--text-3);border-radius:50%;width:8px;height:8px;animation:1.3s ease-in-out infinite typing}.dots span:nth-child(2){animation-delay:.16s}.dots span:nth-child(3){animation-delay:.32s}@keyframes typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.working-note{max-width:34rem;color:var(--text-3);margin:6px 4px 0;font-size:12.5px}.working-time{font-variant-numeric:tabular-nums}.anim-send .bubble-row{animation:swoosh .42s var(--spring) both;transform-origin:100% 100%}@keyframes swoosh{0%{opacity:0;transform:translateY(46px)scale(.9)}45%{opacity:1}}.anim-in .bubble-row,.anim-in .sources{animation:pop-in .38s var(--spring) both;transform-origin:0 100%}@keyframes pop-in{0%{opacity:0;transform:translateY(10px)scale(.94)}}.composer-dock{padding:8px 24px calc(14px + env(safe-area-inset-bottom));background:var(--surface);flex:none;position:relative}.composer-wrap{max-width:calc(var(--col) - 48px);margin:0 auto}.composer{border:1px solid var(--border-strong);background:var(--surface);border-radius:21px;align-items:flex-end;gap:6px;min-height:40px;padding:4px 4px 4px 16px;display:flex}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.composer textarea{resize:none;background:0 0;border:0;outline:none;flex:1;min-height:30px;max-height:40vh;padding:5px 0;font-size:15.5px;line-height:1.4}.composer textarea::placeholder{color:var(--text-3)}.send-btn{background:var(--accent);width:30px;height:30px;color:var(--on-accent);animation:send-in .22s var(--spring) both;border:0;border-radius:50%;flex:none;place-items:center;margin-bottom:1px;display:grid}.send-btn:hover:not(:disabled){background:var(--accent-hover)}@keyframes send-in{0%{opacity:0;transform:scale(.4)}}.composer-note{border-radius:var(--radius);background:var(--surface-2);color:var(--text-2);align-items:flex-start;gap:8px;margin:0 0 8px;padding:8px 12px;font-size:13px;display:flex}.composer-note svg{flex:none;margin-top:2px}.reply-chip{background:var(--surface-2);color:var(--text-3);border-radius:16px;align-items:center;gap:10px;margin:0 0 8px;padding:6px 4px 6px 12px;font-size:13px;display:flex}.reply-chip .icon-btn{width:30px;height:30px}.reply-chip-body{flex:1;min-width:0;display:grid}.quote-line{background:var(--accent);border-radius:2px;flex:none;align-self:stretch;width:2px}.quote-who{color:var(--text-2);font-size:12px;font-weight:650}.quote-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.jump{background:var(--accent);height:32px;color:var(--on-accent);box-shadow:var(--shadow-pop);animation:pop-in .3s var(--spring) both;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex;position:absolute;top:-44px;left:50%;transform:translate(-50%)}.thread-overlay{z-index:60;place-items:center;padding:28px 24px;display:grid;position:fixed;inset:0}.thread-backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(14px)saturate(115%);backdrop-filter:blur(14px)saturate(115%);animation:.25s both fade-in;position:absolute;inset:0}@keyframes fade-in{0%{opacity:0}}.thread-sheet{background:var(--surface);border:1px solid var(--border);width:min(44rem,100%);height:min(100%,58rem);animation:lift .46s var(--spring) both;border-radius:20px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 80px #00000047}@keyframes lift{0%{opacity:0;transform:translateY(24px)scale(.96)}}.thread-sheet .msg-list>*{animation:lift-item .5s var(--spring) both}.thread-sheet .msg-list>:nth-child(2){animation-delay:40ms}.thread-sheet .msg-list>:nth-child(3){animation-delay:80ms}.thread-sheet .msg-list>:nth-child(4){animation-delay:.12s}.thread-sheet .msg-list>:nth-child(n+5){animation-delay:.16s}@keyframes lift-item{0%{opacity:0;transform:translateY(18px)scale(.97)}}.thread-panel-head{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:8px;height:54px;padding:0 10px 0 22px;display:flex}.thread-panel-titles{flex:1;align-items:baseline;gap:10px;min-width:0;display:flex}.thread-panel-titles h2{outline:none;font-size:15px;font-weight:650}.thread-panel-sub{color:var(--text-3);font-size:12.5px}.thread-back{display:none}.thread-panel-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:14px 22px 16px;overflow-y:auto}.thread-panel-composer{padding:6px 16px calc(14px + env(safe-area-inset-bottom));flex:none}.thread-panel-composer .composer-wrap{max-width:none}@media (max-width:760px){.col{padding:12px}.bubble{max-width:80%;font-size:16px}.msg-them.is-rich .bubble{padding:12px 14px 14px;font-size:16px}.composer-dock{padding:6px 10px calc(10px + env(safe-area-inset-bottom))}.composer textarea{font-size:16px}.source-list{grid-template-columns:minmax(0,1fr)}.thread-overlay{padding:0}.thread-backdrop{display:none}.thread-sheet{width:100%;height:100%;box-shadow:none;padding-top:env(safe-area-inset-top);border:0;border-radius:0;animation-name:slide-in}.thread-panel-head{height:52px;padding:0 8px 0 2px}.thread-back{width:auto;color:var(--accent);gap:0;padding:0 10px 0 4px;font-weight:550;display:inline-flex}.thread-close{display:none}.thread-panel-titles{justify-content:center;margin-right:64px}.thread-panel-scroll{padding:12px}.thread-panel-composer{padding:6px 10px calc(10px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.thread-typing{color:var(--text-3);align-items:center;gap:8px;margin:4px 10px 0;font-size:12px;display:inline-flex}.dots-sm span{width:5px;height:5px}.time-sep strong{font-weight:700}.time-sep{font-weight:500}.msg-them.is-rich .bubble{flex:1;width:auto}.msg.is-rich .more-btn{align-self:flex-start;margin-top:8px}.menu-wrap.thread-menu{top:7px;transform:none}.composer-wrap{position:relative}.emoji-btn{width:30px;height:30px;color:var(--text-3);background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin-bottom:1px;display:grid}.emoji-btn:hover,.emoji-btn[aria-expanded=true]{color:var(--text);background:var(--surface-2)}.emoji-pop{z-index:40;position:absolute;bottom:calc(100% + 8px)}.emoji-pop-left{left:0}.emoji-pop-right,.emoji-pop-composer{right:0}.emoji-picker{background:var(--surface);border:1px solid var(--border);width:336px;max-width:calc(100vw - 24px);height:360px;box-shadow:var(--shadow-pop);animation:bar-pop .24s var(--spring) both;border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.emoji-loading{color:var(--text-3);place-items:center;font-size:13px;display:grid}.emoji-search{background:var(--surface-2);height:34px;color:var(--text-3);border-radius:10px;align-items:center;gap:8px;margin:10px 10px 4px;padding:0 10px;display:flex}.emoji-search input{min-width:0;color:var(--text);appearance:none;background:0 0;border:0;outline:none;flex:1;font-size:14px}.emoji-search:focus-within{box-shadow:0 0 0 2px var(--focus)}.emoji-grid{overscroll-behavior:contain;flex:1;padding:0 8px 10px;overflow-y:auto}.emoji-section{z-index:1;color:var(--text-3);background:var(--surface);padding:8px 4px 4px;font-size:11.5px;font-weight:650;position:sticky;top:0}.emoji-cells{grid-template-columns:repeat(8,1fr);display:grid}.emoji-cell{aspect-ratio:1;background:0 0;border:0;border-radius:8px;place-items:center;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:22px;line-height:1;display:grid}.emoji-cell:hover,.emoji-cell:focus-visible{background:var(--surface-2);outline-offset:-2px}.emoji-empty{color:var(--text-3);margin:16px;font-size:13px}.tapback-badge.is-emoji{background:var(--surface);border-color:var(--border);box-shadow:0 1px 2px #0000001f}.tapback-badge.is-emoji.is-mine{background:var(--accent-soft);border-color:var(--accent-soft-2)}.badge-emoji,.bar-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:16px;line-height:1}.bar-emoji{font-size:20px}.tapback-btn.is-on .bar-emoji{filter:none}.msg.is-jumbo .bubble{box-shadow:none;color:var(--text);padding:0 2px;line-height:1.1;background:0 0!important}.msg.is-jumbo .bubble:before,.msg.is-jumbo .bubble:after{display:none}.msg.jumbo-1 .bubble{font-size:48px}.msg.jumbo-2 .bubble{font-size:42px}.msg.jumbo-3 .bubble{font-size:36px}@media (max-width:760px){.tapback-bar{gap:0;max-width:calc(100vw - 20px);padding:3px}.tapback-btn{width:33px;height:33px}.tapback-sep{margin:0 2px}}.msg{margin-top:20px}.msg.pos-middle,.msg.pos-last{margin-top:3px}.time-sep{margin:32px 0 6px}.time-sep:first-child{margin-top:8px}.time-sep+.msg{margin-top:12px}.bubble{max-width:70%;padding:10px 15px;line-height:1.5}.msg-them:not(.is-rich) .bubble .md{line-height:1.5}.msg-them.is-rich .bubble{flex:0 auto;width:70%;min-width:0;max-width:70%;padding:14px 18px 16px}.bubble .md{min-width:0}.bubble .md-table,.bubble .md pre{max-width:100%;overflow-x:auto}.bubble .sources{border-top:1px solid var(--bubble-them-2);margin-top:12px;padding-top:12px}.bubble .source-list{grid-template-columns:repeat(auto-fill,minmax(13.5rem,1fr))}.bubble .source-chip{background:var(--surface);border-color:var(--bubble-them-2)}.bubble .source-chip:hover{background:var(--surface);border-color:var(--border-strong)}.bubble .sources .link-btn{color:var(--accent)}.msg-them .attachments{width:auto;margin-top:6px}.replies-btn{margin-top:6px}.msg-status{margin-top:5px}@media (max-width:760px){.bubble,.msg-them.is-rich .bubble{max-width:85%}.msg-them.is-rich .bubble{width:85%;padding:12px 15px 14px}.bubble .source-list{grid-template-columns:minmax(0,1fr)}.msg{margin-top:18px}}.bubble .source-meta{white-space:normal;overflow-wrap:anywhere}.bubble .source-title{overflow-wrap:anywhere}.bubble .md td,.bubble .md th{overflow-wrap:normal;word-break:normal;min-width:6rem}.msg.in-thread{--ky:21px;padding-left:26px}.msg.in-thread.has-quote{--ky:55px}.msg-them.in-thread .quote{margin-left:0}.msg-me.in-thread .quote{margin-right:0}.thread-line,.thread-hook,.thread-knot{pointer-events:none;position:absolute}.thread-line{background:var(--thread-line);border-radius:1px;width:2px;top:-26px;bottom:0;left:9px}.msg.thread-first .thread-line{top:calc(var(--ky) - 12px)}.msg.thread-last .thread-line{bottom:calc(100% - var(--ky))}.msg.thread-first.thread-last .thread-line{display:none}.thread-hook{left:9px;top:calc(var(--ky) - 30px);border-left:2px solid var(--thread-line);border-top:2px solid var(--thread-line);border-top-left-radius:12px;width:14px;height:20px}.msg.thread-first.thread-last .thread-hook{height:26px}.thread-knot{left:5px;top:calc(var(--ky) - 5px);border:2px solid var(--thread-line);background:var(--surface);border-radius:50%;width:10px;height:10px}.reply-connector{display:none}.replies-btn{align-items:center;gap:2px;display:inline-flex}.msg-me .replies-btn{margin-right:10px}.tapback-badge{width:32px;height:32px;box-shadow:0 0 0 2px var(--surface);border:0;top:-26px}.tapback-badge:before,.tapback-badge:after{content:"";background:inherit;box-shadow:0 0 0 2px var(--surface);border-radius:50%;position:absolute}.tapback-badge:before{width:9px;height:9px;bottom:-2px}.tapback-badge:after{width:5px;height:5px;bottom:-8px}.tapback-badge.at-top-left{left:-20px;right:auto}.tapback-badge.at-top-left:before{right:-1px}.tapback-badge.at-top-left:after{right:-6px}.tapback-badge.at-top-right{left:auto;right:-20px}.tapback-badge.at-top-right:before{left:-1px}.tapback-badge.at-top-right:after{left:-6px}.tapback-badge.is-emoji{background:var(--surface-2);box-shadow:0 0 0 2px var(--surface);border:0}.tapback-badge.is-emoji.is-mine{background:var(--accent-soft)}.msg.has-badge{margin-top:30px}.msg.pos-middle.has-badge,.msg.pos-last.has-badge{margin-top:26px}.msg.is-jumbo .tapback-badge{top:-18px}.msg.in-thread:not(.thread-first) .thread-line{top:-44px}.anim-send .bubble-row{animation:.32s cubic-bezier(.2,1.1,.3,1.04) both send-rise;animation-delay:var(--d,0s);transform-origin:100% 100%}@keyframes send-rise{0%{opacity:0;transform:translateY(56px)scale(.94)}55%{opacity:1}}.anim-send.is-jumbo .bubble-row{animation-name:jumbo-pop;animation-duration:.42s}@keyframes jumbo-pop{0%{opacity:0;transform:translateY(40px)scale(.4)}60%{opacity:1;transform:translateY(-4px)scale(1.15)}to{transform:none}}.anim-in .bubble-row,.anim-in .sources{animation:bubble-in .34s var(--spring) both;animation-delay:var(--d,0s);transform-origin:0 100%}@keyframes bubble-in{0%{opacity:0;transform:scale(.9)}}.anim-fade .bubble-row{animation:.28s ease-out both fade-in;animation-delay:var(--d,0s)}.typing.anim-grow .bubble-row{animation:typing-grow .26s var(--spring) both;transform-origin:0 100%}@keyframes typing-grow{0%{opacity:0;transform:scale(.5)}}.typing.is-leaving .bubble-row{transform-origin:0 100%;animation:.18s ease-in both typing-out}@keyframes typing-out{to{opacity:0;transform:scale(.6)}}.motion-on .msg-status{animation:.3s ease-out both fade-in}.motion-on .tapback-badge.is-new{animation:badge-pop .38s var(--spring) both}@keyframes badge-pop{0%{transform:scale(0)}60%{transform:scale(1.15)}to{transform:scale(1)}}.tapback-badge.is-leaving{animation:.18s ease-in both badge-out}@keyframes badge-out{to{opacity:0;transform:scale(0)}}.motion-on .replies-btn.is-ticking{animation:tick .3s var(--spring) both}@keyframes tick{0%{opacity:0;transform:translateY(6px)}}.jump{animation:none}.jump.anim-slide{animation:pill-in .28s var(--spring) both}@keyframes pill-in{0%{opacity:0;transform:translate(-50%,14px)}}.jump.is-leaving{pointer-events:none;animation:.18s ease-in both pill-out}@keyframes pill-out{to{opacity:0;transform:translate(-50%,14px)}}.thread-overlay:not(.is-animated) .thread-backdrop,.thread-overlay:not(.is-animated) .thread-sheet,.thread-overlay:not(.is-animated) .msg-list>*{animation:none}.thread-overlay.is-closing{pointer-events:none}.thread-overlay.is-closing .thread-backdrop{animation:.22s ease-in both fade-out}.thread-overlay.is-closing .thread-sheet{animation:.22s ease-in both lift-out}@keyframes fade-out{to{opacity:0}}@keyframes lift-out{to{opacity:0;transform:translateY(24px)scale(.96)}}@media (max-width:760px){.thread-overlay.is-closing .thread-sheet{animation-name:slide-out}}.thread,.thread-title,.thread-preview,.thread-time{transition:background-color .2s,color .2s}.msg-list>*{will-change:auto}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-delay:0s!important}}@keyframes slide-in{0%{transform:translate(100%)}}@keyframes slide-out{to{transform:translate(100%)}}.thread-line,.thread-hook,.thread-knot{display:none}.msg-list{position:relative}.thread-lines{pointer-events:none;z-index:0;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.thread-lines path{fill:none;stroke:var(--thread-line);stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round}.msg.in-thread{padding-left:26px}.msg-me.in-thread,.msg.in-thread,.msg-me.in-thread{padding-left:0}.msg-list>.msg,.msg-list>.time-sep{z-index:1;position:relative}.replies-btn{background:var(--surface);margin-left:4px;padding:2px 6px;position:relative}.thread-lines path{stroke-width:2px}.attachment{background:var(--surface)}.tapback-badge{top:-30px}.tapback-badge.at-top-left{left:-26px}.tapback-badge.at-top-right{right:-26px}.shell{grid-template-columns:minmax(0,1fr)}.conv-header{height:auto;min-height:76px;padding:8px 14px 6px;padding-top:calc(8px + env(safe-area-inset-top));border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;display:flex;position:relative}.hdr-center{left:50%;top:calc(8px + env(safe-area-inset-top));pointer-events:none;flex-direction:column;align-items:center;gap:2px;display:flex;position:absolute;transform:translate(-50%)}.hdr-name{letter-spacing:-.005em;font-size:13px;font-weight:650}.hdr-status{min-height:15px;color:var(--text-3);margin:0;font-size:11.5px}.hdr-pop-wrap{z-index:5;position:relative}.hdr-btn{min-width:36px;height:36px;color:var(--text-3);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.hdr-btn:hover,.hdr-btn[aria-expanded=true]{background:var(--surface-2);color:var(--text)}.hdr-pop{background:var(--surface);border:1px solid var(--border);min-width:240px;max-width:calc(100vw - 24px);box-shadow:var(--shadow-pop);animation:bar-pop .22s var(--spring) both;border-radius:14px;padding:6px;position:absolute;top:calc(100% + 6px)}.hdr-left .hdr-pop{transform-origin:0 0;left:0}.hdr-right .hdr-pop{transform-origin:100% 0;right:0}.secure-pop{outline:none;max-width:300px;padding:8px 10px;font-size:13px;line-height:1.45}.secure-pop p{color:var(--text-2);margin:4px 0 0}.acct-who{padding:8px 10px 6px;line-height:1.35;display:grid}.acct-secure{border-bottom:1px solid var(--border);color:var(--text-3);align-items:center;gap:6px;margin:0 4px 4px;padding:6px 8px 8px;font-size:12px;display:flex}.acct-secure svg{color:var(--accent)}.load-older-text{color:var(--text-3);font-size:12.5px}@media (max-width:760px){.conv-header{min-height:72px;padding-left:8px;padding-right:8px}}.conv-header{min-height:calc(84px + env(safe-area-inset-top))}.hdr-center .brand-mark-bg{rx:16px}@media (max-width:760px){.conv-header{min-height:calc(80px + env(safe-area-inset-top));min-height:calc(88px + env(safe-area-inset-top))}}.menu-note{color:var(--text-3);max-width:260px;margin:0;padding:8px 10px;font-size:12.5px;line-height:1.4}.menu-item:disabled{opacity:.6}.a2hs{color:var(--text-2);background:var(--surface-2);border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:6px 8px 6px 16px;font-size:13px;display:flex}.a2hs span{flex:1}.a2hs .icon-btn{width:30px;height:30px}.msg-them .bubble{color:var(--on-bubble-them)}.msg-them .bubble .md a{color:var(--link-them);text-decoration-color:currentColor}.msg-me .bubble a{color:#fff;text-decoration:underline}.msg-them .bubble .md-table,.msg-them .bubble .md pre,.msg-them .bubble .md code{color:var(--text)}.replies-btn,.thread-typing{font-size:12px}.quote-bubble.is-me{border-color:var(--accent);color:var(--text-2);background:0 0}.brand-mark-bg{fill:var(--accent)}.msg-images{flex-direction:column;gap:3px;max-width:min(320px,70%);display:flex;position:relative}.msg-me .msg-images{align-self:flex-end;align-items:flex-end}.msg-images+.bubble-row:not(.is-image-only){margin-top:3px}.bubble-row.is-image-only{height:0;position:absolute;inset:auto 0 0}.msg.is-image-only .more-btn{display:none}.img-bubble{background:var(--bubble-them);cursor:zoom-in;border:0;border-radius:18px;width:280px;max-width:100%;min-height:60px;padding:0;display:block;position:relative;overflow:hidden}.img-bubble.has-ratio{min-height:0}.img-bubble:not(.has-ratio):not(.is-loaded){height:200px}.img-bubble img{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .25s;display:block}.img-bubble.is-loaded img{opacity:1}.img-bubble:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.img-skeleton{width:100%;height:100%;min-height:inherit;background:var(--bubble-them);animation:1.6s ease-in-out infinite pulse;display:block}.img-bubble.is-error{cursor:default;height:auto;min-height:0}.img-error{color:var(--text-3);align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:inline-flex}.msg-me .img-bubble+.img-bubble,.msg-me.pos-middle .img-bubble,.msg-me.pos-last .img-bubble{border-top-right-radius:5px}.msg-me .img-bubble:not(:last-of-type),.msg-me.pos-first .img-bubble,.msg-me.pos-middle .img-bubble{border-bottom-right-radius:5px}.msg-them .img-bubble+.img-bubble,.msg-them.pos-middle .img-bubble,.msg-them.pos-last .img-bubble{border-top-left-radius:5px}.msg-them .img-bubble:not(:last-of-type),.msg-them.pos-first .img-bubble,.msg-them.pos-middle .img-bubble{border-bottom-left-radius:5px}.msg-images+.bubble-row:not(.is-image-only) .bubble{border-top-left-radius:5px;border-top-right-radius:5px}.msg-images .tapback-badge{top:-30px}.msg-me .msg-images .tapback-badge{left:-26px}.msg-them .msg-images .tapback-badge{right:-26px}@media (max-width:760px){.msg-images{max-width:70%}.img-bubble{width:100%}}.lightbox{z-index:80;grid-template-rows:auto 1fr;display:grid;position:fixed;inset:0}.lightbox-backdrop{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#000000d1;animation:.2s both fade-in;position:absolute;inset:0}.lightbox-bar{z-index:2;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 18px;color:#fff;align-items:center;gap:8px;display:flex;position:relative}.lightbox-count{color:#ffffffbf;font-variant-numeric:tabular-nums;min-width:56px;font-size:13px}.lightbox-name{text-align:center;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;font-weight:550;overflow:hidden}.lb-btn{color:#fff;background:#ffffff1f;border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.lb-btn:hover{background:#ffffff38}.lb-btn:disabled{opacity:.4}.lb-btn:focus-visible{outline-offset:2px;outline:2px solid #fff}.lb-prev,.lb-next{z-index:2;width:44px;height:44px;position:absolute;top:50%;transform:translateY(-50%)}.lb-prev{left:16px}.lb-next{right:16px}.lightbox-stage{z-index:1;min-height:0;padding:8px 72px calc(24px + env(safe-area-inset-bottom));touch-action:none;cursor:zoom-in;place-items:center;display:grid;position:relative;overflow:hidden}.lightbox-stage.is-zoomed{cursor:grab}.lightbox-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;will-change:transform;max-width:100%;max-height:100%;animation:lift .28s var(--spring) both;border-radius:6px}.lightbox-skeleton{background:#ffffff14;border-radius:12px;width:min(60vw,480px);height:min(50vh,360px)}.lightbox-error{color:#fffc}@media (max-width:760px){.lightbox-stage{padding:8px 8px calc(16px + env(safe-area-inset-bottom))}.lb-prev,.lb-next{display:none}}.conv-header{min-height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0}.hdr-center{top:calc(5px + env(safe-area-inset-top));gap:1px}.hdr-center .brand-mark{width:28px;height:28px}.hdr-name{font-size:11.5px;font-weight:600;line-height:1.2}.hdr-status{white-space:nowrap;min-height:0;margin-top:1px;font-size:10.5px;line-height:1;position:absolute;top:100%}.hdr-btn{min-width:32px;height:32px}.hdr-btn .avatar{width:28px;height:28px;font-size:11px}@media (max-width:760px){.conv-header{min-height:calc(52px + env(safe-area-inset-top));padding-left:6px;padding-right:6px}}.conv-header:has(.hdr-status:not(:empty)){min-height:calc(64px + env(safe-area-inset-top))}.sk-list .sk-msg{pointer-events:none}.sk-clip{border-radius:inherit;pointer-events:none;position:absolute;inset:0;overflow:hidden}.sk-sheen{will-change:transform;background:linear-gradient(100deg,#0000 0%,#ffffff80 50%,#0000 100%);width:60%;animation:1.4s ease-in-out infinite sk-sweep;position:absolute;top:0;bottom:0;left:0;transform:translate(-120%)}.sk-d1 .sk-sheen{animation-delay:.12s}.sk-d2 .sk-sheen{animation-delay:.24s}.sk-d3 .sk-sheen{animation-delay:.36s}@keyframes sk-sweep{0%{transform:translate(-120%)}70%,to{transform:translate(260%)}}.msg-me .sk-bubble{opacity:.4}.sk-l1{height:38px}.sk-l2{height:62px}.sk-l3{height:86px}.sk-w36{width:36%}.sk-w40{width:40%}.sk-w46{width:46%}.sk-w52{width:52%}.sk-w58{width:58%}.sk-w62{width:62%}.sk-w68{width:68%}@media (prefers-color-scheme:dark){.sk-sheen{background:linear-gradient(100deg,#0000 0%,#ffffff17 50%,#0000 100%)}}@media (prefers-reduced-motion:reduce){.sk-sheen{display:none}.sk-bubble{animation:1.6s ease-in-out infinite sk-pulse!important}}@keyframes sk-pulse{50%{opacity:.55}}.thread-overlay{place-items:stretch stretch;padding:0}.thread-backdrop{background:var(--thread-wash);-webkit-backdrop-filter:blur(22px)saturate(120%);backdrop-filter:blur(22px)saturate(120%);display:block}.thread-sheet{width:100%;max-width:none;height:100%;padding-top:env(safe-area-inset-top);box-shadow:none;pointer-events:none;background:0 0;border:0;border-radius:0;margin:0 auto}.thread-sheet>*{pointer-events:auto}.thread-panel-head{top:calc(10px + env(safe-area-inset-top));z-index:3;border:0;height:auto;padding:0;position:absolute;right:12px}.thread-close-float{background:var(--surface-3);width:30px;height:30px;color:var(--text-2);border:0;border-radius:50%;place-items:center;display:grid}.thread-close-float:hover{color:var(--text)}.thread-panel-scroll{width:100%;max-width:var(--col);flex-direction:column;justify-content:flex-end;margin:0 auto;padding:56px 24px 16px;display:flex}.thread-panel-scroll>.msg-list{min-height:0}.thread-panel-composer{width:100%;max-width:calc(var(--col) - 16px);background:0 0;margin:0 auto}.thread-sheet .time-sep{color:var(--text-2)}@media (max-width:760px){.thread-sheet{animation-name:lift}.thread-backdrop{display:block}.thread-panel-scroll{padding:52px 12px 12px}.thread-panel-head{right:10px}}html,body,.conv-header,.composer-dock{background:var(--surface)}.composer-dock{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.conv-header{border-bottom-color:color-mix(in srgb, var(--border) 70%, transparent)}@media (pointer:coarse){.msg .bubble,.msg .bubble *,.msg .img-bubble{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.msg .bubble,.msg .img-bubble{touch-action:manipulation}}.bubble.is-pressing{transition:transform .18s;transform:scale(.97)}.msg.has-tail .bubble:after{display:none}.msg-me.has-tail .bubble:before{-webkit-mask:linear-gradient(90deg,#000 13px,#0000 13px) 0 0/100% 100% no-repeat,radial-gradient(10px at 23px 0,#0000 98%,#000 100%) 0 100%/100% 50% no-repeat;mask:linear-gradient(90deg,#000 13px,#0000 13px) 0 0/100% 100% no-repeat,radial-gradient(10px at 23px 0,#0000 98%,#000 100%) 0 100%/100% 50% no-repeat}.msg-them.has-tail .bubble:before{-webkit-mask:linear-gradient(270deg,#000 13px,#0000 13px) 0 0/100% 100% no-repeat,radial-gradient(10px at -3px 0,#0000 98%,#000 100%) 0 100%/100% 50% no-repeat;mask:linear-gradient(270deg,#000 13px,#0000 13px) 0 0/100% 100% no-repeat,radial-gradient(10px at -3px 0,#0000 98%,#000 100%) 0 100%/100% 50% no-repeat}.composer-row{align-items:flex-end;gap:8px;display:flex}.composer-row>.composer{flex:1;min-width:0}.attach-wrap{flex:none;margin-bottom:3px;position:relative}.attach-btn{background:var(--surface-2);width:34px;height:34px;color:var(--text-2);border:0;border-radius:50%;place-items:center;display:grid}.attach-btn:hover{color:var(--text);background:var(--surface-3)}.attach-menu{z-index:40;background:var(--surface);border:1px solid var(--border);min-width:190px;box-shadow:var(--shadow-pop);animation:bar-pop .22s var(--spring) both;border-radius:14px;padding:6px;position:absolute;bottom:calc(100% + 8px);left:0}.attach-tray{gap:8px;margin:0 0 8px 42px;padding:2px 2px 6px;list-style:none;display:flex;overflow-x:auto}.tray-item{background:var(--surface-2);border-radius:12px;flex:none;align-items:stretch;display:flex;position:relative;overflow:hidden}.tray-item.is-image{width:64px;height:64px}.tray-thumb{object-fit:cover;width:100%;height:100%}.tray-doc{max-width:200px;color:var(--text-2);align-items:center;gap:8px;padding:8px 28px 10px 10px;display:flex}.tray-doc-body{min-width:0;display:grid}.tray-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:550;overflow:hidden}.tray-meta{color:var(--text-3);font-size:11.5px}.tray-progress{background:color-mix(in srgb, var(--text-3) 30%, transparent);border-radius:2px;height:3px;position:absolute;bottom:5px;left:6px;right:6px;overflow:hidden}.tray-progress-bar{background:var(--accent);transform-origin:0;height:100%;transition:transform .15s linear;display:block;transform:scaleX(0)}.tray-item.is-uploading.is-image .tray-thumb{opacity:.6}.tray-item.is-error{box-shadow:inset 0 0 0 1.5px var(--danger)}.tray-retry{background:var(--surface);color:var(--danger);border:0;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:2px 4px;font-size:11px;font-weight:600;display:inline-flex;position:absolute;inset:auto 4px 4px}.tray-remove{color:#fff;background:#0009;border:0;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.attach-note{color:var(--text-3);margin:6px 0 0 42px;font-size:11.5px}.img-grid{gap:3px;width:280px;max-width:100%;display:grid}.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:1fr 1fr 1fr}.grid-4{grid-template-columns:1fr 1fr}.img-grid .img-bubble{border-radius:6px;width:100%;height:auto;min-height:0}.msg-me .img-grid .img-bubble:first-child,.msg-them .img-grid .img-bubble:first-child{border-top-left-radius:18px}.grid-2 .img-bubble:nth-child(2),.grid-3 .img-bubble:nth-child(3),.grid-4 .img-bubble:nth-child(2){border-top-right-radius:18px}.grid-2 .img-bubble:first-child,.grid-3 .img-bubble:first-child,.grid-4 .img-bubble:nth-child(3){border-bottom-left-radius:18px}.grid-2 .img-bubble:nth-child(2),.grid-3 .img-bubble:nth-child(3),.grid-4 .img-bubble:nth-child(4){border-bottom-right-radius:18px}.img-more{color:#fff;background:#00000073;place-items:center;font-size:22px;font-weight:650;display:grid;position:absolute;inset:0}.file-bubble{background:var(--bubble-them);max-width:min(300px,80vw);color:var(--on-bubble-them);text-align:left;cursor:pointer;border:0;border-radius:18px;gap:10px;padding:10px 14px 10px 10px}.file-bubble.is-mine{background:var(--bubble-me);color:var(--on-bubble-me)}.file-bubble .attachment-meta,.file-bubble svg{color:inherit;opacity:.75}.file-icon{flex:none;place-items:center;width:34px;height:40px;display:grid;position:relative}.file-ext{letter-spacing:.02em;font-size:8px;font-weight:800;position:absolute;bottom:2px}.msg-me .attachments{justify-content:flex-end}.drop-overlay{z-index:30;border:2px dashed var(--accent);background:color-mix(in srgb, var(--surface) 82%, transparent);color:var(--accent);pointer-events:none;border-radius:18px;place-items:center;font-weight:600;display:grid;position:absolute;inset:8px}.drop-overlay span{background:var(--accent);color:var(--on-accent);box-shadow:var(--shadow-pop);border-radius:999px;padding:10px 18px}.float-typing{max-width:calc(var(--col) - 48px);pointer-events:none;margin:0 auto;padding:0 0 6px;position:absolute;bottom:100%;left:0;right:0}.float-typing .msg{margin-top:0;padding-left:0}.scroller .col{transition:padding-bottom .25s}.scroller.has-typing .col{padding-bottom:72px}@media (max-width:760px){.float-typing{padding-left:12px}}.quote{z-index:1;background:0 0;border:0;max-width:min(70%,26rem);margin:0 0 4px;padding:0;position:relative}.quote.from-me{align-self:flex-end;margin-right:8px}.quote.from-them{align-self:flex-start;margin-left:8px}.msg-them .quote,.msg-me .quote{margin-left:8px;margin-right:8px}.quote-bubble,.quote-bubble.is-me{-webkit-line-clamp:2;line-clamp:2;white-space:normal;text-overflow:ellipsis;border:0;border-radius:15px;-webkit-box-orient:vertical;padding:6px 12px;font-size:13.5px;line-height:1.35;display:-webkit-box;position:relative;overflow:hidden}.quote-bubble.is-me{background:color-mix(in srgb, var(--bubble-me) 32%, var(--surface));color:var(--text)}.quote-bubble.is-them{background:color-mix(in srgb, var(--bubble-them) 70%, var(--surface));color:var(--text-2)}.quote:hover .quote-bubble{filter:brightness(1.05)}.quote:after{content:"";width:10px;height:10px;position:absolute;bottom:0}.quote.from-me:after{background:color-mix(in srgb, var(--bubble-me) 32%, var(--surface));right:-4px;-webkit-mask:radial-gradient(8px at 0 0,#0000 98%,#000 100%);mask:radial-gradient(8px at 0 0,#0000 98%,#000 100%)}.quote.from-them:after{background:color-mix(in srgb, var(--bubble-them) 70%, var(--surface));left:-4px;-webkit-mask:radial-gradient(8px at 100% 0,#0000 98%,#000 100%);mask:radial-gradient(8px at 100% 0,#0000 98%,#000 100%)}.quote-block{z-index:1;flex-direction:column;width:min(76%,36rem);margin:0 0 6px;display:flex;position:relative}.quote-block.from-me{align-self:flex-end;align-items:flex-end}.quote-block.from-them{align-self:flex-start;align-items:flex-start}.quote-block .quote,.quote-block .quote.from-me,.quote-block .quote.from-them{text-align:left;background:0 0;border:0;width:100%;max-width:none;margin:0;padding:0;display:block;position:relative}.quote-block .quote:after{display:none}.quote-block .quote-bubble{-webkit-line-clamp:3;line-clamp:3;border:1.5px solid var(--quote-line);background:var(--surface);color:var(--text-3);white-space:normal;filter:none;border-radius:18px;-webkit-box-orient:vertical;padding:8px 14px;font-size:14px;line-height:1.4;display:-webkit-box;overflow:hidden}.quote-tail{position:absolute;bottom:-8px;overflow:visible}.from-them .quote-tail{left:2px}.from-me .quote-tail{right:2px;transform:scaleX(-1)}.quote-tail-fill{fill:var(--surface)}.quote-tail-line{fill:none;stroke:var(--quote-line);stroke-width:1.5px;stroke-linecap:round}.quote-replies{color:var(--accent);background:0 0;border:0;align-items:center;gap:10px;margin:10px 0 0;padding:0 2px;font-size:13px;font-weight:600;display:inline-flex}.from-them .quote-replies{margin-left:12px}.from-me .quote-replies{margin-right:12px}.quote-stub{background:var(--thread-line);border-radius:2px;width:4px;height:14px}.quote-replies:hover{text-decoration:underline}.quote-block.from-me .quote-bubble{border-color:var(--accent);color:var(--accent)}.quote-block.from-me .quote-tail-line{stroke:var(--accent)}.quote-block .quote-bubble{-webkit-line-clamp:unset;line-clamp:none;display:block}.quote-clamp{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.from-me .quote-stub{display:none}html,body{overscroll-behavior:none;height:100%;overflow:hidden}.shell{left:0;right:0;top:var(--app-top,0px);height:100dvh;height:var(--app-h,100dvh);position:fixed}#root{overflow-y:auto}.signin-small{color:var(--text-3);margin:0;font-size:12.5px;line-height:1.45}.signin-back{justify-self:center;font-size:13.5px}.signin-sent{text-align:center;justify-items:center}.signin-sent p{margin:0}.signin-mail{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.signin-center{justify-items:center}.signin-busy{color:var(--text-2);align-items:center;gap:8px;display:inline-flex}.retry-btn:disabled{opacity:.5;cursor:default;text-decoration:none}.settings-overlay{z-index:60;place-items:center;padding:28px 24px;display:grid;position:fixed;inset:0}.settings-backdrop{background:var(--scrim);animation:.2s both fade-in;position:absolute;inset:0}.settings-sheet{background:var(--bg);border:1px solid var(--border);width:min(36rem,100%);height:min(100%,46rem);box-shadow:var(--shadow-pop);border-radius:20px;flex-direction:column;display:flex;position:relative;overflow:hidden}.settings-head{flex:none;justify-content:center;align-items:center;height:52px;display:flex;position:relative}.settings-head h2{letter-spacing:-.01em;outline:none;font-size:16px;font-weight:650}.settings-close{position:absolute;top:8px;right:8px}.seg{background:var(--surface-3);border-radius:9px;flex:none;gap:2px;margin:0 16px 8px;padding:2px;display:flex}.seg-btn{min-height:32px;color:var(--text-2);background:0 0;border:0;border-radius:7px;flex:1;font-size:13.5px;font-weight:550}.seg-btn.is-on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #00000014}.settings-scroll{overscroll-behavior:contain;min-height:0;padding:8px 16px calc(24px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.set-section{gap:14px;display:grid}.set-intro{color:var(--text-3);margin:0;font-size:13px;line-height:1.5}.set-toolbar{display:flex}.kind-pick{flex-wrap:wrap;gap:8px;display:flex}.set-link{color:var(--accent);white-space:nowrap;align-items:center;gap:3px;font-weight:550;display:inline-flex}.set-muted{color:var(--text-3);margin:0;font-size:13px}.set-error,.set-empty{border-radius:var(--radius-l);background:var(--surface);justify-items:start;gap:8px;padding:16px;display:grid}.set-error p,.set-empty p{color:var(--text-2);margin:0;font-size:13.5px}.set-group{gap:6px;display:grid}.set-group-label{color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;padding:0 4px;font-size:12px;font-weight:600}.set-list{border-radius:var(--radius-l);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.set-row{align-items:center;gap:12px;min-height:56px;padding:8px 8px 8px 14px;display:flex}.set-row+.set-row{border-top:1px solid var(--border)}.set-row-stack{flex-direction:column;align-items:stretch;gap:6px;padding:10px 10px 10px 14px}.set-row-line{align-items:center;gap:12px;display:flex}.set-row-icon{color:var(--text-3);flex:none}.set-row-main{flex:1;min-width:0;display:grid}.set-row-title{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:550;overflow:hidden}.set-row-sub{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.set-row-sub.is-on{color:var(--success)}.set-row-actions{flex:none;display:flex}.set-accounts{margin:0;padding:0;list-style:none;display:grid}.set-account{justify-content:space-between;align-items:center;gap:8px;min-height:36px;display:flex}.set-account-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-2);font-size:13.5px;overflow:hidden}.set-pending{line-height:1.5}.device-code{border-radius:var(--radius);background:var(--accent-soft);justify-items:start;gap:8px;padding:12px;font-size:13.5px;display:grid}.device-code p{margin:0}.device-code-row{align-items:center;gap:10px;display:flex}.device-code-value{font-family:var(--mono);letter-spacing:.08em;-webkit-user-select:all;user-select:all;font-size:22px;font-weight:600}.btn-small{min-height:32px;padding:0 12px;font-size:13px}.btn-quiet-danger{color:var(--danger)}.btn-danger{background:var(--danger);color:var(--surface)}.btn-danger:disabled{opacity:.7}.confirm-backdrop{z-index:70;background:var(--scrim);place-items:center;padding:16px;display:grid;position:fixed;inset:0}@media (max-width:760px){.settings-overlay{padding:0}.settings-sheet{width:100%;height:100%;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);border:0;border-radius:0}.set-row-actions .btn{padding:0 10px}}
