:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#f6f8f6;--surface:#fff;--surface-raised:#eef1ef;--line:#e2e6e2;--line-strong:#ccd2cc;--ink:#171b19;--ink-muted:#69746e;--accent:#0b6e6f;--accent-ink:#fff;--accent-wash:#e1f0ee;--brand-panel:#0a5a5d;--success:#1f9d6c;--success-wash:#e2f5ec;--warning:#c98a1f;--danger:#d1495b;--danger-wash:#fbe6ea;--sans:"Figtree", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;--display:"Manrope", var(--sans);--mono:"IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;--shadow-sm:0 1px 2px #0f17140d;--shadow-md:0 1px 2px #0f17140a, 0 10px 24px -14px #0f171438;--shadow-lg:0 2px 4px #0f17140a, 0 24px 48px -20px #0f171452}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#0e1413;--surface:#171f1d;--surface-raised:#1e2725;--line:#29332f;--line-strong:#3b4640;--ink:#edf2ef;--ink-muted:#8b968f;--accent:#49d3c4;--accent-ink:#08211f;--accent-wash:#1b3532;--success:#3fc487;--success-wash:#16302a;--warning:#d9a84c;--danger:#e5737f;--danger-wash:#3a1f22;--shadow-sm:0 1px 2px #0000003d;--shadow-md:0 1px 2px #0003, 0 12px 28px -14px #00000080;--shadow-lg:0 2px 4px #0003, 0 28px 56px -20px #0009}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--sans);background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}a{color:var(--accent)}button{font:inherit;cursor:pointer}input{font:inherit}.btn{background:var(--surface-raised);color:var(--ink);border:none;border-radius:10px;padding:.6rem 1.05rem;font-weight:500;transition:background .12s,transform 50ms}.btn:hover{background:var(--line)}.btn:active{transform:scale(.98)}.btn.primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 1px 2px #0f171414, 0 10px 20px -12px color-mix(in srgb, var(--accent) 70%, transparent);font-weight:600}.btn.primary:hover{background:color-mix(in srgb, var(--accent) 88%, black)}.btn.danger{background:var(--danger);color:#fff;font-weight:600}.btn.danger-outline{color:var(--danger)}.btn:disabled{opacity:.5;cursor:default;transform:none}.lamp{background:var(--ink-muted);border-radius:50%;flex:none;width:.6rem;height:.6rem;display:inline-block}.lamp.on{background:var(--success);box-shadow:0 0 0 3px color-mix(in srgb, var(--success) 15%, transparent)}.lamp.warn{background:var(--warning);box-shadow:0 0 0 3px color-mix(in srgb, var(--warning) 15%, transparent)}.lamp.crit{background:var(--danger);box-shadow:0 0 0 3px color-mix(in srgb, var(--danger) 15%, transparent)}.tag{background:var(--accent-wash);color:var(--accent);white-space:nowrap;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.78em;font-weight:600;display:inline-flex}.tag.online{background:color-mix(in srgb, var(--success) 15%, transparent);color:var(--success)}.tag.warn{background:color-mix(in srgb, var(--warning) 15%, transparent);color:var(--warning)}.error-banner{background:var(--danger-wash);border:1px solid color-mix(in srgb, var(--danger) 40%, transparent);color:var(--danger);overflow-wrap:anywhere;border-radius:12px;padding:.6rem .8rem;font-size:.9em}.error-banner.ok-banner{background:color-mix(in srgb, var(--success) 12%, transparent);border-color:color-mix(in srgb, var(--success) 40%, transparent);color:var(--success)}.auth-screen{min-height:100%;display:flex}.auth-brand{background:var(--brand-panel);color:#fff;flex-direction:column;flex:46%;justify-content:space-between;max-width:560px;padding:3rem;display:flex;position:relative;overflow:hidden}.auth-brand:before{content:"";background:radial-gradient(circle,#ffffff14,#0000 70%);border-radius:50%;width:480px;height:480px;position:absolute;top:-160px;right:-160px}.auth-brand-mark{align-items:center;gap:.7rem;display:flex;position:relative}.auth-brand-ic{background:#ffffff24;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.auth-brand-ic svg{color:#fff;width:20px;height:20px}.auth-brand-mark span{font-family:var(--display);letter-spacing:-.01em;font-size:1.15rem;font-weight:700}.auth-brand-body{max-width:26rem;position:relative}.auth-brand-body h2{font-family:var(--display);letter-spacing:-.01em;margin:0 0 1rem;font-size:1.9rem;font-weight:700;line-height:1.3}.auth-brand-body p{color:#ffffffb8;margin:0;font-size:.92rem;line-height:1.6}.auth-feat-list{flex-direction:column;gap:1rem;display:flex;position:relative}.auth-feat{color:#ffffffd9;align-items:center;gap:.8rem;font-size:.85rem;font-weight:500;display:flex}.auth-feat-ic{background:#ffffff1f;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid}.auth-feat-ic svg{color:#fff;width:16px;height:16px}.auth-formside{background:var(--canvas);flex:1;place-items:center;padding:2rem 1rem;display:grid}@media (width<=760px){.auth-brand{display:none}}.auth-card{background:var(--surface);width:100%;max-width:420px;box-shadow:var(--shadow-lg);border-radius:20px;flex-direction:column;gap:1.1rem;padding:2.2rem;display:flex}.brand{align-items:center;gap:.6rem;display:flex}.brand svg{width:28px;height:28px;color:var(--accent);flex:none}.brand-name{font-family:var(--display);letter-spacing:-.01em;font-size:1.2rem;font-weight:700}.tagline{color:var(--ink-muted);margin:-.6rem 0 0;line-height:1.4}.field{flex-direction:column;gap:.4rem;display:flex}.field label{color:var(--ink-muted);font-size:.8em;font-weight:600}.field input{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:12px;padding:.7rem .8rem;transition:border-color .12s,box-shadow .12s}.field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash);outline:none}.field-hint{color:var(--ink-muted);margin:.1rem 0 0;font-size:.8em;line-height:1.4}.ctl{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:10px;padding:.6rem .75rem;transition:border-color .12s,box-shadow .12s}.ctl:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash);outline:none}.form-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.form-row>.ctl{flex:220px}.stack{flex-direction:column;gap:.6rem;display:flex}.settings-heading{font-weight:600}.settings-section{padding-top:1.4rem}.settings-section:first-child{padding-top:0}.settings-section+.settings-section{border-top:1px solid var(--line)}.settings-section-head{align-items:center;gap:.6rem;display:flex}.settings-section-icon{background:var(--accent-wash);width:30px;height:30px;color:var(--accent);border-radius:9px;flex:none;place-items:center;display:grid}.settings-section-icon svg{width:15px;height:15px}.settings-section-title{font-size:.98rem;font-weight:700}.row-actions{justify-content:flex-end;gap:.4rem;display:flex}.check-row{align-items:center;gap:.5rem;display:flex}.check-row input[type=checkbox]{width:auto}.auth-switch{text-align:center;color:var(--ink-muted);font-size:.9em}.linkbtn{color:var(--accent);font-size:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;text-decoration:underline}.app-shell{height:100%;display:flex}.shell-main{flex-direction:column;flex:1;min-width:0;height:100%;display:flex;overflow:hidden}.rail{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;flex:none;align-items:center;gap:.3rem;width:68px;padding:1rem 0;display:flex}.rail-logo{background:var(--accent);width:38px;height:38px;color:var(--accent-ink);border-radius:11px;flex:none;place-items:center;margin-bottom:.7rem;display:grid}.rail-logo svg{width:19px;height:19px}.rail-item{width:44px;height:44px;color:var(--ink-muted);background:0 0;border:none;border-radius:13px;flex:none;place-items:center;text-decoration:none;transition:background .12s,color .12s;display:grid}.rail-item svg{width:20px;height:20px}.rail-item:hover{background:var(--surface-raised);color:var(--ink)}.rail-item.active{background:var(--accent-wash);color:var(--accent)}.rail-spacer{flex:1}.rail-avatar{background:var(--accent);width:36px;height:36px;color:var(--accent-ink);border-radius:50%;flex:none;place-items:center;font-size:.78em;font-weight:700;display:grid;position:relative}.rail-avatar .status-ring{background:var(--success);border:2px solid var(--surface);border-radius:50%;width:11px;height:11px;position:absolute;bottom:-1px;right:-1px}.rail-avatar .status-ring.off{background:var(--ink-muted)}.rail [data-tooltip]:after{top:50%;bottom:auto;left:calc(100% + 10px);transform:translateY(-50%)translate(-3px)}.rail [data-tooltip]:hover:after,.rail [data-tooltip]:focus-visible:after{transform:translateY(-50%)translate(0)}.iconbtn{background:var(--surface-raised);width:34px;height:34px;color:var(--ink);border:none;border-radius:10px;place-items:center;text-decoration:none;transition:background .12s;display:grid}.iconbtn:hover{background:var(--line)}.iconbtn svg{width:16px;height:16px}[data-tooltip]{position:relative}[data-tooltip]:after{content:attr(data-tooltip);background:var(--ink);color:var(--canvas);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:60;box-shadow:var(--shadow-md);border-radius:8px;padding:.35rem .65rem;font-size:.76em;font-weight:500;transition:opacity .1s .15s,transform .1s .15s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(2px)}[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after{opacity:1;visibility:visible;transform:translate(-50%)translateY(0)}.convo-head [data-tooltip]:after{top:calc(100% + 8px);bottom:auto;transform:translate(-50%)translateY(-2px)}.convo-head [data-tooltip]:hover:after,.convo-head [data-tooltip]:focus-visible:after{transform:translate(-50%)translateY(0)}.body{grid-template-columns:340px 1fr;display:grid;overflow:hidden}.listpane{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;display:flex;overflow:hidden}.listpane-head{flex-direction:column;flex:none;gap:.6rem;padding:.9rem 1rem .6rem;display:flex}.new-chat-form{gap:.4rem;display:flex}.new-chat-form input{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);border-radius:10px;flex:1;padding:.5rem .7rem}.tabsrow{flex-wrap:wrap;gap:.35rem;display:flex}.tabpill{background:var(--surface-raised);color:var(--ink-muted);border:none;border-radius:999px;padding:.4rem .85rem;font-size:.85em;font-weight:600}.tabpill:hover{background:var(--line)}.tabpill.active{color:var(--accent-ink);background:var(--accent)}.seg{background:var(--surface-raised);border-radius:12px;gap:2px;padding:3px;display:flex}.seg-item{text-align:center;color:var(--ink-muted);background:0 0;border:none;border-radius:9px;flex:1;padding:.35rem .7rem;font-size:.85em;font-weight:600}.seg-item.active{color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sm)}.subtabs{border-bottom:1px solid var(--line);flex:none;gap:1.4rem;padding:0 1.2rem;display:flex}.subtab{color:var(--ink-muted);background:0 0;border:none;border-bottom:2px solid #0000;padding:.7rem .1rem;font-weight:600}.subtab.active{color:var(--accent);border-color:var(--accent)}.docs{flex-direction:column;flex:1;gap:.5rem;min-height:0;padding:1rem 1.2rem;display:flex;overflow-y:auto}.doc-row{background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.7rem .9rem;display:grid}.doc-row svg.file{width:22px;height:22px;color:var(--accent);flex:none}.doc-name{font-size:.9em;font-weight:600}.doc-meta{color:var(--ink-muted);font-size:.8em;font-family:var(--mono)}.task-done{color:var(--ink-muted);text-decoration:line-through}.list{flex-direction:column;flex:1;gap:.2rem;padding:.3rem 1rem;display:flex;overflow-y:auto}.row{text-align:left;width:100%;color:inherit;background:0 0;border:none;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:.6rem;transition:background .1s;display:grid}.row:hover{background:var(--surface-raised)}.row.is-active{background:var(--accent-wash)}.avatar{width:38px;height:38px;color:var(--accent-ink);background:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:.85em;font-weight:700;display:grid}.avatar.group{background:var(--surface-raised);color:var(--ink);border:1px solid var(--line-strong)}.row-main{flex-direction:column;gap:.1rem;min-width:0;display:flex}.row-title{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.row-sub{color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85em;overflow:hidden}.row-time{color:var(--ink-muted);font-size:.75em;font-family:var(--mono)}.row-meta{flex-direction:column;flex:none;align-items:flex-end;gap:.3rem;display:flex}.unread-badge{background:var(--accent);min-width:1.2rem;height:1.2rem;color:var(--accent-ink);border-radius:999px;place-items:center;padding:0 .35rem;font-size:.72em;font-weight:700;display:grid}.empty{place-items:center;height:100%;padding:2rem;display:grid}.empty-inner{color:var(--ink-muted);text-align:center;flex-direction:column;align-items:center;gap:.8rem;max-width:22rem;display:flex}.empty-inner svg{width:52px;height:52px;color:var(--line-strong)}.empty-title{color:var(--ink);font-size:1.05rem;font-weight:600}.convo{flex-direction:column;display:flex;overflow:hidden}.convo-head{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:.6rem;height:3.2rem;padding:0 1.2rem;display:flex}.convo-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:700;overflow:hidden}.back-btn{flex:none;display:none}.messages{flex-direction:column;flex:1;gap:.6rem;min-height:0;padding:1.2rem;display:flex;overflow-y:auto}.bubble-row{display:flex}.bubble-row.own{justify-content:flex-end}.bubble{word-break:break-word;border-radius:19px;flex-direction:column;gap:.3rem;max-width:60%;padding:.65rem .9rem;line-height:1.5;display:flex;position:relative}.bubble.in{background:var(--surface);box-shadow:var(--shadow-sm);border-bottom-left-radius:6px}.bubble.own{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:6px}.bubble.own .bubble-meta,.bubble.own .row-sub{color:color-mix(in srgb, var(--accent-ink) 70%, transparent)}.bubble.own .mention{color:var(--accent-ink);text-decoration:underline}.bubble.own a{color:var(--accent-ink)}.bubble-image{cursor:zoom-in;border-radius:12px;max-width:100%;max-height:320px;display:block}.link-preview{background:var(--surface);color:inherit;box-shadow:var(--shadow-sm);border-radius:12px;flex-direction:column;text-decoration:none;display:flex;overflow:hidden}.bubble.own .link-preview{background:color-mix(in srgb, var(--accent-ink) 12%, transparent)}.link-preview-image{object-fit:cover;width:100%;max-height:160px;display:block}.link-preview-text{flex-direction:column;gap:.15rem;min-width:0;padding:.5rem .65rem;display:flex}.link-preview-title{text-overflow:ellipsis;white-space:nowrap;font-size:.9em;font-weight:600;overflow:hidden}.link-preview-desc{color:var(--ink-muted);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82em;display:-webkit-box;overflow:hidden}.link-preview-url{color:var(--ink-muted);font-size:.75em;font-family:var(--mono);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bubble-meta{color:var(--ink-muted);font-size:.72em;font-family:var(--mono);text-align:right}.composer{border-top:1px solid var(--line);flex:none;align-items:center;gap:.6rem;padding:.8rem 1rem;display:flex}.composer input{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);border-radius:22px;flex:1;padding:.7rem .9rem;transition:border-color .12s,box-shadow .12s}.composer input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash);outline:none}.composer input::placeholder{color:var(--ink-muted)}.composer .iconbtn.send{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.composer .iconbtn.send:disabled{opacity:.5}.recording-indicator{font-family:var(--mono);color:var(--ink);flex:1;align-items:center;gap:.5rem;padding:.7rem .9rem;display:flex}.recording-dot{background:var(--danger);border-radius:50%;width:10px;height:10px;animation:1.2s ease-in-out infinite recording-pulse}@keyframes recording-pulse{0%,to{opacity:1}50%{opacity:.3}}.bubble-audio{width:100%;max-width:260px}.modal-overlay{z-index:100;background:#00000080;place-items:center;display:grid;position:fixed;inset:0}.modal-card{background:var(--surface);width:100%;max-width:440px;max-height:85vh;box-shadow:var(--shadow-lg);border-radius:20px;flex-direction:column;gap:1rem;padding:1.5rem;display:flex;overflow-y:auto}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal-title{font-family:var(--display);letter-spacing:-.01em;font-size:1.1rem;font-weight:700}.suggestions-row{flex-wrap:wrap;gap:.4rem;padding:.5rem 1rem 0;display:flex}.suggestion-chip{background:var(--surface-raised);color:var(--ink);border:none;border-radius:999px;padding:.35rem .75rem;font-size:.85em;font-weight:500}.suggestion-chip:hover{background:var(--line)}.search-bar{border-bottom:1px solid var(--line);flex:none;gap:.4rem;padding:.6rem 1.2rem;display:flex}.search-bar input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;flex:1;padding:.55rem .75rem}.bubble-actions{background:var(--surface);box-shadow:var(--shadow-md);opacity:0;pointer-events:none;border-radius:999px;gap:1px;padding:3px;transition:opacity .12s,transform .12s;display:flex;position:absolute;top:-16px;transform:translateY(3px)}.bubble.own .bubble-actions{right:8px}.bubble.in .bubble-actions{left:8px}.bubble:hover .bubble-actions,.bubble:focus-within .bubble-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.bubble-action-btn{width:27px;height:27px;color:var(--ink-muted);background:0 0;border:none;border-radius:50%;flex:none;place-items:center;display:grid}.bubble-action-btn svg{width:14px;height:14px}.bubble-action-btn:hover{background:var(--surface-raised);color:var(--ink)}.bubble-confirm{align-items:center;gap:.5rem;margin-top:.2rem;display:flex}.mention{color:var(--accent);font-weight:600}.bubble-translation{border-top:1px dashed var(--line-strong);color:var(--ink-muted);margin-top:.3rem;padding-top:.3rem;font-style:italic}.call-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.6rem;display:grid}.call-tile{aspect-ratio:4/3;background:var(--surface-raised);box-shadow:var(--shadow-sm);border-radius:16px;position:relative;overflow:hidden}.call-video{object-fit:cover;background:#000;width:100%;height:100%}.call-tile-label{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border-radius:999px;padding:.15rem .55rem;font-size:.78em;font-weight:500;position:absolute;bottom:.4rem;left:.4rem}.call-tile-screen{aspect-ratio:16/9;grid-column:1/-1}.call-tile-screen .call-video{object-fit:contain}.call-annotation-canvas{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.call-annotation-canvas.drawing{cursor:crosshair}.call-tile-toolbar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000073;border-radius:999px;gap:2px;padding:4px;display:flex;position:absolute;top:.5rem;right:.5rem}.anno-tool{color:#fff;background:0 0;border:none;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.anno-tool svg{width:14px;height:14px}.anno-tool:hover{background:#ffffff29}.anno-tool.on{background:var(--accent);color:var(--accent-ink)}.call-controlbar{background:var(--surface);box-shadow:var(--shadow-lg);border-radius:999px;align-self:center;align-items:center;gap:.4rem;padding:.4rem;display:flex}.cb{width:46px;height:46px;color:var(--ink-muted);background:0 0;border:none;border-radius:50%;place-items:center;display:grid}.cb svg{width:19px;height:19px}.cb:hover{background:var(--surface-raised);color:var(--ink)}.cb.on{background:var(--accent-wash);color:var(--accent)}.cb.off{background:var(--danger-wash);color:var(--danger)}.cb-sep{background:var(--line);width:1px;height:24px;margin:0 .15rem}.cb-leave{background:var(--danger);color:#fff;border:none;border-radius:15px;align-items:center;gap:.4rem;height:46px;padding:0 1.1rem;font-size:.85em;font-weight:700;display:flex}.cb-leave svg{width:16px;height:16px}.call-end-btn{position:absolute;top:50%;right:0;transform:translateY(-50%)}.admin-main{flex-direction:column;gap:1.4rem;padding:1.3rem 1.6rem;display:flex;overflow-y:auto}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--ink-muted);margin-bottom:.5rem;font-size:.8rem}.section-title-row{justify-content:space-between;align-items:center;display:flex}.table{flex-direction:column;gap:.3rem;display:flex}.trow{grid-template-columns:var(--cols,1.4fr 1fr .8fr 1fr auto);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;align-items:center;gap:.9rem;padding:.7rem 1rem;display:grid}.trow.clickable{cursor:pointer;transition:background .12s,box-shadow .12s}.trow.clickable:hover{background:var(--surface-raised);box-shadow:var(--shadow-md)}.trow.thead{color:var(--ink-muted);background:0 0;border:none;padding:0 .9rem;font-size:.8em}.tname{align-items:center;gap:.4rem;font-weight:600;display:flex}.tmuted{color:var(--ink-muted);font-size:.9em}.table>.tmuted{text-align:center;background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;padding:1.3rem 1rem}.radar{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:.7rem;margin-top:.8rem;display:grid}.rcard{background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px;flex-direction:column;gap:.5rem;padding:1rem 1.1rem;display:flex}.rcard.spaced{margin-bottom:1.2rem}.rcard.crit{box-shadow:var(--shadow-sm), inset 3px 0 0 var(--danger)}.rcard.warn{box-shadow:var(--shadow-sm), inset 3px 0 0 var(--warning)}.rcard-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.rcard-title{font-weight:600}.rcard-title.crit{color:var(--danger)}.rcard-title.warn{color:var(--warning)}.rcard-body{color:var(--ink-muted);line-height:1.5}.tag.crit{background:color-mix(in srgb, var(--danger) 15%, transparent);color:var(--danger)}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.7rem;display:grid}.stat-tile{background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px;padding:1rem 1.1rem;transition:box-shadow .12s}.stat-tile.warn{box-shadow:var(--shadow-sm), inset 3px 0 0 var(--warning)}.stat-tile[data-tooltip]:hover{box-shadow:var(--shadow-md)}.stat-tile.ok{box-shadow:var(--shadow-sm), inset 3px 0 0 var(--success)}.stat-value{font-family:var(--display);font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:700}.stat-label{color:var(--ink-muted);margin-top:.2rem;font-size:.82em;font-weight:500}.resbar{margin-bottom:.7rem}.resbar:last-child{margin-bottom:0}.resbar-head{justify-content:space-between;margin-bottom:.25rem;font-size:.85em;display:flex}.resbar-track{background:var(--surface-raised);border-radius:999px;height:8px;overflow:hidden}.resbar-fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s}.resbar-fill.warn{background:var(--warning)}.resbar-fill.crit{background:var(--danger)}.expiry-select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:.4rem .5rem;font-size:.85em}@media (width<=768px){.body{grid-template-columns:1fr}.body:not(.chat-open) .convo,.body:not(.chat-open) .empty,.body.chat-open .listpane{display:none}.app-shell:has(.body.chat-open) .rail{display:none}.back-btn{display:grid}.bubble{max-width:82%}.modal-card{max-width:calc(100vw - 2rem)}.new-chat-form{flex-wrap:wrap}.new-chat-form input{flex:100%;min-width:0}.search-bar{flex-wrap:wrap}.search-bar input{flex:100%;min-width:0}.tabsrow{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;min-height:2.2rem;overflow-x:auto}.tabpill{flex:none}.table{overflow-x:auto}.trow{min-width:560px}.call-controlbar-row{flex-direction:column;gap:.6rem}.call-controlbar-row .call-end-btn{position:static;transform:none}}.phone-display{box-sizing:border-box;text-align:center;width:100%;font-size:1.3rem;font-family:var(--mono);border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;margin-bottom:.8rem;padding:.7rem}.phone-display:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash);outline:none}.dialpad{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.dialkey{aspect-ratio:1;border:1px solid var(--line);background:var(--surface-raised);color:var(--ink);cursor:pointer;border-radius:999px;font-size:1.1rem}.dialkey:hover{border-color:var(--line-strong)}
