:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f1f5f9;background:#10151f;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0}main{place-items:center;min-height:100vh;padding:2rem;display:grid}.card{background:#182131;border:1px solid #2c3a50;border-radius:18px;width:min(100%,1180px);padding:clamp(1.5rem,5vw,3rem);box-shadow:0 24px 70px #00000040}.eyebrow{color:#72d8b2;letter-spacing:.08em;text-transform:uppercase;font-weight:700}h1{margin:.5rem 0 1rem;font-size:clamp(2rem,6vw,3.2rem)}p{color:#cbd5e1;font-size:1.05rem;line-height:1.6}.metrics{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.75rem;margin:1.5rem 0 2rem;display:grid}.metrics div{background:#202c3e;border-radius:10px;padding:1rem}.metrics span{color:#9db0ca;font-size:.9rem;display:block}.metrics strong{margin-top:.35rem;font-size:1.1rem;display:block}h2{margin:0 0 .75rem;font-size:1.3rem}.launcher{background:#152031;border:1px solid #35506c;border-radius:12px;grid-template-columns:minmax(16rem,.75fr) minmax(20rem,1.25fr);gap:1.5rem;margin:0 0 2rem;padding:1.25rem;display:grid}.launcher h2{margin-bottom:.5rem}.hint,.launch-message{color:#aabbd0;margin:0;font-size:.9rem}.launcher form{gap:.75rem;display:grid}.launcher label{color:#dce7f5;gap:.35rem;font-size:.9rem;font-weight:700;display:grid}.launcher input,.launcher select,.launcher textarea{color:#f1f5f9;width:100%;font:inherit;background:#0f1724;border:1px solid #49627f;border-radius:8px;padding:.65rem .75rem}.launcher textarea{resize:vertical;min-height:5.5rem}.launcher button{color:#10251e;cursor:pointer;background:#72d8b2;border:0;border-radius:8px;justify-self:start;padding:.65rem 1rem;font-weight:700}.launcher button:disabled,.launcher input:disabled,.launcher select:disabled,.launcher textarea:disabled{cursor:not-allowed;opacity:.55}.launch-message{grid-column:1/-1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #2c3a50;padding:.7rem}th{color:#9db0ca;white-space:nowrap}.empty{color:#9db0ca}.file-link{color:#72d8b2;margin-bottom:.35rem;display:block}.stand-actions{flex-wrap:wrap;align-items:center;gap:.8rem 1.1rem;margin:1.25rem 0;display:flex}.stand-actions .file-link{margin:0}.stand-workspace-link{color:#10251e;background:#72d8b2;border-radius:8px;align-items:center;min-height:2.75rem;padding:.65rem 1rem;font-weight:700;text-decoration:none;display:inline-flex}.stand-workspace-link:hover,.stand-workspace-link:focus-visible{outline-offset:2px;background:#9ae5c7;outline:2px solid #e6fff4}.admin-page{color:#f1f5f9;background:#10151f;min-height:100vh;padding:2rem;display:block}.admin-shell{width:min(100%,1180px);margin:0 auto}.admin-header{justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1.5rem;display:flex}.admin-header h1{margin:.35rem 0 .5rem}.admin-header p{margin:0}.admin-header nav{flex-wrap:wrap;gap:.65rem;display:flex}.admin-header nav a{color:#dce7f5;white-space:nowrap;border:1px solid #49627f;border-radius:8px;padding:.6rem .8rem;text-decoration:none}.admin-header nav a:hover,.admin-header nav a:focus-visible{color:#72d8b2;border-color:#72d8b2;outline:none}.admin-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.admin-metric{background:#182131;border:1px solid #2c3a50;border-radius:12px;min-height:126px;padding:1rem}.admin-metric span,.admin-metric small{color:#9db0ca;font-size:.8rem;display:block}.admin-metric strong{margin:.55rem 0 .35rem;font-size:1.45rem;display:block}.admin-metric.danger{border-color:#a65858}.admin-metric.danger strong{color:#f09b9b}.admin-section{background:#182131;border:1px solid #2c3a50;border-radius:14px;padding:1.25rem}.admin-section-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.admin-section-heading h2{margin:.25rem 0 0}.admin-status{white-space:nowrap;border:1px solid #49627f;border-radius:999px;padding:.4rem .65rem;font-size:.8rem;display:inline-flex}.admin-status.good{color:#9ae5c7;border-color:#4b967b}.admin-status.danger{color:#f09b9b;border-color:#a65858}@media (max-width:900px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-header{flex-direction:column}}@media (max-width:550px){.admin-page{padding:1rem}.admin-metrics{grid-template-columns:1fr}.admin-section{padding:.8rem}.admin-section-heading{flex-direction:column;align-items:flex-start}}.admin-actions{flex-wrap:wrap;gap:.4rem;display:flex}.admin-actions button,.admin-dialog button{color:#f1f5f9;cursor:pointer;font:inherit;background:#202c3e;border:1px solid #49627f;border-radius:7px;padding:.42rem .58rem;font-size:.8rem}.admin-actions button:hover,.admin-actions button:focus-visible,.admin-dialog button:hover,.admin-dialog button:focus-visible{border-color:#72d8b2;outline:none}.admin-action-primary{color:#10251e!important;background:#72d8b2!important;border-color:#72d8b2!important;font-weight:700!important}.admin-action-danger{color:#ffd0d0!important;border-color:#a65858!important}.admin-action-neutral{color:#9ae5c7!important;border-color:#4b967b!important}.admin-dialog{background:#182131;border:1px solid #49627f;border-radius:14px;gap:.8rem;width:min(100%,460px);padding:1.25rem;display:grid;box-shadow:0 24px 70px #00000059}.admin-dialog h2,.admin-dialog p{margin:0}.admin-dialog label{color:#dce7f5;gap:.35rem;font-size:.9rem;font-weight:700;display:grid}.admin-dialog input,.admin-dialog textarea{color:#f1f5f9;width:100%;font:inherit;background:#0f1724;border:1px solid #49627f;border-radius:8px;padding:.65rem .75rem}.admin-dialog textarea{resize:vertical;min-height:84px}.admin-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.admin-dialog button:disabled{cursor:not-allowed;opacity:.55}.admin-dialog-error{color:#f09b9b!important}.card[style*="900px"]>form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem 1.5rem;margin:1.8rem 0 2rem;display:grid}.card[style*="900px"]>form>label{color:#dce7f5;gap:.55rem;font-size:1.18rem;font-weight:700;display:grid}.card[style*="900px"]>form>label>input:not([type=checkbox]){color:#f1f5f9;width:100%;min-height:48px;font:inherit;background:#0f1724;border:1px solid #49627f;border-radius:8px;padding:.65rem .8rem;font-size:1.12rem}.card[style*="900px"]>form>label:has(input[type=checkbox]){align-items:center;gap:.7rem;padding:.7rem 0;font-weight:500;display:flex}.card[style*="900px"]>form>label input[type=checkbox]{accent-color:#72d8b2;width:18px;height:18px;margin:0}.card[style*="900px"]>form>button{color:#10251e;cursor:pointer;background:#72d8b2;border:0;border-radius:8px;justify-self:start;min-height:48px;padding:.7rem 1.15rem;font:700 1.05rem/1 Arial,Helvetica,sans-serif}.card[style*="900px"]>form>button:hover,.card[style*="900px"]>form>button:focus-visible{outline-offset:2px;background:#9ae5c7;outline:2px solid #e6fff4}@media (max-width:650px){.card[style*="900px"]>form{grid-template-columns:1fr;gap:1rem}.card[style*="900px"]>form>label{font-size:1.12rem}.card[style*="900px"]>form>label>input:not([type=checkbox]){min-height:46px;font-size:1.08rem}}.admin-user-cards{background:#182131;border:1px solid #2c3a50;border-radius:14px;margin-top:1.5rem;padding:1.25rem}.admin-user-cards h2,.admin-user-cards p{margin:.25rem 0 .75rem}.admin-user-cards>div{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.admin-user-cards a{color:#f1f5f9;background:#202c3e;border:1px solid #49627f;border-radius:10px;gap:.3rem;min-height:112px;padding:1rem;text-decoration:none;display:grid}.admin-user-cards a:hover,.admin-user-cards a:focus-visible{border-color:#72d8b2;outline:none}.admin-user-cards span,.admin-user-cards small,.admin-history-hint{color:#9db0ca}.admin-user-cards small{color:#9ae5c7;margin-top:auto}.admin-prompt{white-space:pre-wrap;word-break:break-word;max-width:340px}.admin-history-hint{margin-top:0}.access-card form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1.5rem;margin:1.8rem 0;display:grid}.access-card label{gap:.55rem;font-size:1.12rem;font-weight:700;display:grid}.access-card input{color:#f1f5f9;min-height:46px;font:inherit;background:#0f1724;border:1px solid #49627f;border-radius:8px;padding:.6rem .75rem}.access-card fieldset{border:1px solid #49627f;border-radius:9px;grid-column:1/-1;gap:1.5rem;padding:1rem;display:flex}.access-card fieldset label{align-items:center;gap:.55rem;font-weight:500;display:flex}.access-card input[type=radio]{accent-color:#72d8b2;width:18px;height:18px;min-height:0;padding:0}.access-card small{color:#9db0ca;font-size:.85rem}.access-card button{color:#10251e;cursor:pointer;background:#72d8b2;border:0;border-radius:8px;justify-self:start;min-height:46px;padding:.7rem 1.1rem;font-weight:700}@media (max-width:650px){.access-card form{grid-template-columns:1fr}.access-card fieldset{grid-column:auto;gap:.8rem;display:grid}.metrics,.launcher{grid-template-columns:1fr}}.workspace-shell{--ws-bg:#fffdf4;--ws-surface:#f1f9df;--ws-panel:#f7fbe9;--ws-line:#bccd91;--ws-text:#26301d;--ws-muted:#67705f;--ws-accent:#d84b37;--ws-accent-text:#fff;background:var(--ws-bg);min-height:100vh;color:var(--ws-text);font-family:Arial,Helvetica,sans-serif}.workspace-shell[data-theme=forest]{--ws-bg:#010a04;--ws-surface:#031407;--ws-panel:#061a0b;--ws-line:#81893e;--ws-text:#e7e8a4;--ws-muted:#a8ad7b;--ws-accent:#e66d17;--ws-accent-text:#101606}.workspace-shell[data-theme=aubergine]{--ws-bg:#100408;--ws-surface:#210914;--ws-panel:#18060e;--ws-line:#906676;--ws-text:#e0a0b9;--ws-muted:#ad7a8c;--ws-accent:#ed55bd;--ws-accent-text:#240711}.workspace-shell *{box-sizing:border-box}.workspace-shell button,.workspace-shell select,.workspace-shell textarea{font:inherit}.workspace-shell button{color:inherit}.workspace-topbar{border-bottom:1px solid color-mix(in srgb,var(--ws-line) 36%,transparent);background:var(--ws-surface);grid-template-columns:1fr auto 1fr;align-items:center;min-height:78px;padding:0 3.5vw;display:grid}.workspace-mark{color:var(--ws-text);letter-spacing:.03em;font-weight:800;text-decoration:none}.workspace-topbar nav{gap:1.6rem;display:flex}.workspace-topbar nav button,.logout,.sidebar-heading button,.projects-heading button,.text-button{cursor:pointer;background:0 0;border:0}.workspace-topbar nav button{opacity:.72;border-bottom:2px solid #0000;padding:.5rem .2rem}.workspace-topbar nav button.active{color:var(--ws-accent);border-color:var(--ws-accent);opacity:1}.workspace-user{justify-self:end;align-items:center;gap:.8rem;font-size:.85rem;display:flex}.logout{opacity:.7;text-decoration:underline}.workspace-grid{grid-template-columns:minmax(210px,260px) minmax(420px,1fr) minmax(235px,290px);min-height:calc(100vh - 78px);display:grid}.workspace-sidebar,.workspace-settings{background:var(--ws-panel);padding:1.45rem}.workspace-sidebar{border-right:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent)}.workspace-settings{border-left:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent)}.sidebar-heading,.projects-heading,.settings-row{text-transform:uppercase;letter-spacing:.07em;justify-content:space-between;align-items:center;font-size:.79rem;font-weight:800;display:flex}.sidebar-heading button{color:var(--ws-muted);text-transform:none;font-size:.72rem}.new-chat{background:var(--ws-accent);width:100%;color:var(--ws-accent-text);cursor:pointer;text-align:left;border:0;border-radius:9px;margin:1rem 0 1.4rem;padding:.76rem .85rem;font-weight:800}.history-label{color:var(--ws-muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:.55rem;font-size:.72rem}.chat-list,.project-list{gap:.3rem;display:grid}.chat-item,.project{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:.55rem .58rem}.chat-item:hover,.project:hover,.active-project{background:color-mix(in srgb,var(--ws-surface) 80%,var(--ws-bg))}.chat-item strong,.chat-item small,.project small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.chat-item strong{font-size:.8rem}.chat-item small,.project small{color:var(--ws-muted);margin-top:.18rem;font-size:.72rem}.project{justify-content:space-between;align-items:center;font-size:.86rem;display:flex}.sidebar-empty{color:var(--ws-muted);font-size:.82rem;line-height:1.5}.projects-heading{margin-top:1.8rem}.projects-heading button{font-size:1.2rem}.workspace-stage{flex-direction:column;min-width:0;padding:clamp(1.5rem,4vw,4rem);display:flex}.stage-title{justify-content:space-between;gap:1rem;display:flex}.stage-title h1{margin:.2rem 0 .45rem;font-size:clamp(1.5rem,3vw,2.3rem)}.workspace-shell .eyebrow{color:var(--ws-accent);margin:0;font-size:.7rem}.stage-title p:not(.eyebrow),.empty-stage p,.muted{color:var(--ws-muted);line-height:1.55}.guest-badge{border:1px solid var(--ws-line);color:var(--ws-muted);border-radius:999px;align-self:flex-start;padding:.42rem .62rem;font-size:.72rem}.empty-stage{text-align:center;flex-direction:column;flex:1;justify-content:center;width:min(100%,590px);margin:1.4rem auto;display:flex}.empty-icon{background:var(--ws-surface);width:54px;height:54px;color:var(--ws-accent);border-radius:18px;place-items:center;margin:0 auto 1rem;font-size:1.6rem;display:grid}.empty-stage h2{margin:0;font-size:1.35rem}.pill-row{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.pill-row span{border:1px solid color-mix(in srgb,var(--ws-line) 62%,transparent);color:var(--ws-muted);border-radius:999px;padding:.35rem .6rem;font-size:.75rem}.composer{border:1px solid var(--ws-line);background:color-mix(in srgb,var(--ws-bg) 85%,var(--ws-surface));border-radius:13px;width:min(100%,680px);margin:0 auto;overflow:hidden}.composer textarea{resize:vertical;width:100%;min-height:112px;color:var(--ws-text);background:0 0;border:0;outline:0;padding:1rem;display:block}.composer textarea::placeholder{color:var(--ws-muted)}.composer-bottom{border-top:1px solid color-mix(in srgb,var(--ws-line) 70%,transparent);color:var(--ws-muted);justify-content:space-between;align-items:center;padding:.65rem .7rem .65rem 1rem;font-size:.78rem;display:flex}.primary{background:var(--ws-accent);color:var(--ws-accent-text);cursor:pointer;border:0;border-radius:8px;padding:.52rem .72rem;font-weight:800}.workspace-notice{width:min(100%,680px);color:var(--ws-accent);margin:.8rem auto 0;font-size:.84rem}.settings-section{border-bottom:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent);margin-bottom:1.3rem;padding:.15rem 0 1.4rem}.settings-section h2{margin:0 0 .95rem;font-size:.85rem}.settings-section label{gap:.38rem;font-size:.78rem;font-weight:700;display:grid}.settings-section select{border:1px solid var(--ws-line);background:var(--ws-bg);color:var(--ws-text);border-radius:7px;padding:.58rem .65rem}.muted{font-size:.78rem}.text-button{color:var(--ws-accent);padding:0;font-size:.78rem;font-weight:800}.reference-drop{border:1px dashed var(--ws-line);width:100%;min-height:94px;color:var(--ws-muted);cursor:pointer;background:0 0;border-radius:10px;line-height:1.5}.reference-drop:first-line{color:var(--ws-accent);font-size:1.25rem}.reference-drop span{font-size:.76rem}.reference-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.reference-list li{justify-content:space-between;align-items:center;gap:.4rem;font-size:.78rem;display:flex}.reference-list a{color:var(--ws-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reference-list small{color:var(--ws-muted);white-space:nowrap}.theme-switcher{gap:.55rem;display:flex}.theme-dot{cursor:pointer;border:2px solid #0000;border-radius:50%;width:28px;height:28px}.theme-dot.light{background:#eff8dc}.theme-dot.forest{background:#06200b}.theme-dot.aubergine{background:#3b1327}.theme-dot.chosen{border-color:var(--ws-accent);box-shadow:0 0 0 2px var(--ws-bg)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace-shell button:disabled{cursor:not-allowed;opacity:.55}@media (max-width:1000px){.workspace-grid{grid-template-columns:220px minmax(0,1fr)}.workspace-settings{border-left:0;border-top:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent);grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.settings-section{border-bottom:0;margin:0}.workspace-topbar{grid-template-columns:1fr auto}.workspace-topbar nav{grid-area:2/1/auto/-1;justify-content:center;margin-bottom:.6rem}}@media (max-width:680px){.workspace-topbar{padding:.8rem 1rem 0}.workspace-user span,.workspace-mark{font-size:.8rem}.workspace-topbar nav{justify-content:flex-start;gap:1rem;overflow:auto}.workspace-grid{grid-template-columns:1fr}.workspace-sidebar{border-right:0;border-bottom:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent)}.workspace-sidebar .chat-list,.workspace-sidebar .project-list{max-height:130px;overflow:auto}.workspace-settings{grid-template-columns:1fr}.workspace-stage{min-height:580px;padding:1.5rem 1rem}.stage-title{display:block}.guest-badge{margin-top:.6rem;display:inline-block}.workspace-topbar nav button{white-space:nowrap}.composer-bottom{gap:.5rem}.composer-bottom>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-sidebar{padding:1rem}}.workspace-shell{--ws-bg:#fefef1;--ws-surface:#f2f7df;--ws-panel:#f2f7df;--ws-composer-top:#fbfde9;--ws-composer-bottom:#f2f7df;--ws-line:#adbe92;--ws-text:#242005;--ws-muted:#242005;--ws-accent:#db5800;--ws-accent-text:#fefef1}.workspace-shell[data-theme=forest]{--ws-bg:#010502;--ws-surface:#020c04;--ws-panel:#020c04;--ws-composer-top:#030804;--ws-composer-bottom:#020c04;--ws-line:#7c764f;--ws-text:#cfc483;--ws-muted:#cfc483;--ws-accent:#d1550d;--ws-accent-text:#010502}.workspace-shell[data-theme=aubergine]{--ws-bg:#050103;--ws-surface:#0a0207;--ws-panel:#080206;--ws-composer-top:#050103;--ws-composer-bottom:#080206;--ws-line:#836c64;--ws-text:#a67584;--ws-muted:#a67584;--ws-accent:#eb77c6;--ws-accent-text:#050103}.workspace-shell{box-sizing:border-box;place-items:normal;width:100vw;max-width:none;height:100dvh;min-height:0;margin:0;padding:0;display:block;overflow:hidden}.workspace-topbar{background:var(--ws-surface);border:0;height:6.565vh;min-height:0;padding:0 3.127vw;position:relative}.workspace-topbar nav{white-space:nowrap;justify-self:auto;gap:4.33vw;position:absolute;left:50%;transform:translate(-50%)}.workspace-user{position:absolute;right:3.127vw}.workspace-topbar nav button{border-bottom:0;width:auto;height:auto;padding:0;font-size:.78rem}.chat-kind-icon{vertical-align:-2px;object-fit:contain;width:15px;height:15px;filter:var(--nav-icon-filter);margin-right:6px;display:inline-block}.workspace-shell{--nav-icon-filter:brightness(0) saturate(100%) invert(13%) sepia(13%) saturate(2788%) hue-rotate(31deg) brightness(90%) contrast(102%)}.workspace-shell[data-theme=forest]{--nav-icon-filter:brightness(0) saturate(100%) invert(84%) sepia(17%) saturate(591%) hue-rotate(16deg) brightness(92%) contrast(86%)}.workspace-shell[data-theme=aubergine]{--nav-icon-filter:brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(981%) hue-rotate(285deg) brightness(92%) contrast(87%)}.workspace-topbar nav button.active{border-color:#0000}.workspace-grid{height:calc(100dvh - 6.565vh);min-height:0;display:block;position:relative}.workspace-sidebar,.workspace-settings{z-index:2;background:var(--ws-panel);border:0;border-radius:8px;padding:3.13rem 2.75rem;position:absolute}.workspace-sidebar{scrollbar-width:thin;scrollbar-color:var(--ws-line) transparent;width:14.487vw;height:84.682vh;top:2.188vh;left:3.127vw;overflow:auto}.sidebar-new-chat-floating{z-index:3;background:var(--ws-panel);color:#ef8344;cursor:pointer;border:0;border-radius:8px;place-items:center;width:42px;height:40px;padding:0;display:grid;position:absolute;top:2.188vh;left:19.1vw}.sidebar-new-chat-floating:before,.sidebar-new-chat-floating:after{content:"";background:currentColor;border-radius:999px;width:18px;height:2.25px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sidebar-new-chat-floating:after{transform:translate(-50%,-50%)rotate(90deg)}.sidebar-new-chat-floating:hover{color:var(--ws-accent);filter:brightness(1.05)}.workspace-sidebar .sidebar-content>.new-chat,.workspace-sidebar .sidebar-content>.project-new{display:none}.workspace-settings{width:16.05vw;height:auto;min-height:5.78vh;padding:1rem 1.45rem;top:2.188vh;right:1.563vw;overflow:visible}.workspace-sidebar::-webkit-scrollbar{width:6px}.workspace-sidebar::-webkit-scrollbar-thumb{background:var(--ws-line);border-radius:999px}.workspace-sidebar{padding:0;overflow:visible}.sidebar-tabs{border-bottom:1px solid var(--ws-line);grid-template-columns:1fr 1fr;height:40px;display:grid}.sidebar-tabs button{color:var(--ws-text);cursor:pointer;background:0 0;border:0;font-size:.9rem}.sidebar-tabs button.active{color:var(--ws-accent);border-bottom:2px solid var(--ws-accent)}.sidebar-content{height:calc(100% - 40px);padding:15px 18px;overflow:visible auto}.sidebar-content .new-chat{margin:0 0 12px;display:block}.sidebar-content .history-label{margin-bottom:9px;font-size:.9rem}.chat-row{align-items:center;min-height:29px;display:flex;position:relative}.chat-row .chat-item{flex:1;min-width:0}.chat-row .chat-item strong{font-size:.88rem}.chat-more{color:var(--ws-text);cursor:pointer;background:0 0;border:0;font-size:1.2rem;font-weight:800;line-height:1}.chat-menu{z-index:20;background:var(--ws-bg);border:1px solid var(--ws-line);border-radius:8px;width:230px;padding:12px;position:absolute;top:0;left:calc(100% + 14px);right:auto;box-shadow:0 12px 28px #0000003d}.chat-menu span,.chat-menu button,.chat-menu summary{width:100%;min-height:32px;color:var(--ws-text);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;padding:8px 6px;font-size:.88rem;display:flex}.chat-menu span{color:var(--ws-muted);border-bottom:1px solid var(--ws-line);font-size:.8rem}.chat-menu details button{padding-left:18px}.chat-menu i,.project i{border-radius:50%;width:10px;height:10px;margin-right:8px;display:inline-block}.chat-menu .danger{color:var(--ws-accent);border-top:1px solid var(--ws-line)}.sidebar-content .projects-heading{margin:0 0 10px;display:flex}.sidebar-content .project-list{display:grid}.sidebar-content .project{align-items:center;font-size:.88rem;display:flex}.workspace-sidebar .chat-menu{max-height:calc(100vh - 24px);position:fixed;top:12px;left:12px;overflow-y:auto}.workspace-topbar nav{gap:4.7vw}.workspace-topbar nav button{font-size:1.04rem}.workspace-sidebar .sidebar-tabs{height:53px}.workspace-sidebar .sidebar-content{height:calc(100% - 53px);padding:20px 24px}.workspace-sidebar .history-label{margin-bottom:12px;font-size:1.2rem}.workspace-sidebar .chat-row{min-height:39px}.workspace-sidebar .chat-row .chat-item strong{font-size:1.17rem}.workspace-sidebar .chat-more{font-size:1.6rem;font-weight:900}.workspace-sidebar .project{font-size:1.17rem}@media (min-width:1001px){.workspace-sidebar{width:16.05vw;left:2.085vw}.workspace-sidebar .history-label{margin-bottom:15px;font-size:1.6rem;line-height:1.25}}.workspace-sidebar .history-label{margin-bottom:15px;font-size:1.17rem;line-height:1.25}.workspace-sidebar .sidebar-heading,.workspace-sidebar .new-chat,.workspace-sidebar .projects-heading{display:none}.workspace-sidebar .history-label{color:var(--ws-accent);text-transform:none;letter-spacing:0;margin:0 0 .58rem;font-size:.78rem}.workspace-sidebar .chat-list{margin-bottom:1.8rem}.workspace-sidebar .chat-item,.workspace-sidebar .project{color:var(--ws-text);border-radius:0;padding:.16rem 0}.workspace-sidebar .chat-item:hover,.workspace-sidebar .project:hover,.workspace-sidebar .active-project{color:var(--ws-accent);background:0 0}.workspace-sidebar .chat-item strong,.workspace-sidebar .project{font-size:.78rem;font-weight:400}.workspace-sidebar .chat-item small,.workspace-sidebar .project small{display:none}.workspace-sidebar .sidebar-empty{color:var(--ws-text);font-size:.78rem}.workspace-sidebar .projects-heading{margin:0}.workspace-settings .settings-section{display:block}.workspace-settings .settings-section:first-child{border-bottom:1px solid color-mix(in srgb,var(--ws-line) 35%,transparent);margin:0 0 1.3rem;padding:0 0 1.4rem}.workspace-settings .settings-section:first-child h2,.workspace-settings .settings-section:first-child .muted{display:block}.workspace-settings .settings-section:first-child label{font-size:.78rem;display:grid}.workspace-settings .settings-section:first-child select{border:1px solid var(--ws-line);background:var(--ws-bg);width:100%;height:auto;color:var(--ws-text);border-radius:7px;outline:0;padding:.58rem .65rem;font-size:.78rem}.workspace-stage{min-width:0;padding:0;display:block;position:absolute;inset:0}.stage-title{text-align:center;display:block;position:absolute;top:4.48vh;left:21.52vw;right:21.52vw}.stage-title .eyebrow,.stage-title h1,.stage-title p,.guest-badge{display:none}.empty-stage{width:auto;margin:0;position:absolute;inset:11.5vh 21.52vw 14.3vh}.empty-stage h2{font-size:1rem}.empty-stage p{font-size:.78rem}.empty-icon{width:42px;height:42px;margin-bottom:.55rem}.pill-row span{font-size:.65rem}.composer{z-index:3;background:var(--ws-composer-bottom);border-radius:8px;grid-template-rows:minmax(9.19vh,1fr) 6.2vh;width:42.991vw;height:15.39vh;min-height:15.39vh;max-height:76vh;margin:0;transition:height .18s;display:grid;position:absolute;bottom:3.282vh;left:50%;transform:translate(-50%)}.composer-expanded{height:30.78vh}.composer-input{min-height:0;position:relative}.composer textarea{background:var(--ws-composer-top);width:100%;height:100%;min-height:0;color:var(--ws-text);resize:none;border:0;outline:0;padding:.55rem 2.9rem .65rem 3rem;font-size:.8rem;line-height:28px;display:block}.composer-bottom{background:var(--ws-composer-bottom);height:6.2vh;min-height:6.2vh;padding:.45rem .65rem .45rem .85rem}.primary{border-radius:6px;padding:.35rem .55rem;font-size:.72rem}.workspace-notice{z-index:4;text-align:center;width:42.991vw;margin:0;font-size:.7rem;position:absolute;bottom:1.5vh;left:50%;transform:translate(-50%)}@media (max-width:1000px){.workspace-shell{height:auto;min-height:100vh;overflow:visible}.workspace-topbar nav,.workspace-user{white-space:normal;position:static;transform:none}.workspace-grid{height:auto;min-height:calc(100vh - 78px);display:grid}.workspace-sidebar,.workspace-settings,.workspace-stage,.stage-title,.empty-stage,.composer,.workspace-notice{width:auto;height:auto;min-height:0;position:static;transform:none}.sidebar-new-chat-floating{display:none}.workspace-sidebar,.workspace-settings{border-radius:0;padding:1.45rem}.workspace-sidebar .sidebar-heading,.workspace-sidebar .new-chat,.workspace-sidebar .projects-heading,.workspace-settings .settings-section{display:flex}.workspace-settings .settings-section,.workspace-settings .settings-section:first-child h2,.workspace-settings .settings-section:first-child .muted{display:block}.workspace-settings .settings-section:first-child label{font-size:.78rem;display:grid}.workspace-settings .settings-section:first-child select{border:1px solid var(--ws-line);background:var(--ws-bg);border-radius:7px;height:auto;padding:.58rem .65rem}.workspace-stage{padding:clamp(1.5rem,4vw,4rem);display:flex}.stage-title,.empty-stage,.composer,.workspace-notice{width:min(100%,680px)}.stage-title{text-align:left}.stage-title .eyebrow,.stage-title h1,.stage-title p{display:block}.composer{margin:0 auto}.workspace-notice{margin:.8rem auto 0}.workspace-sidebar .history-label{color:var(--ws-muted);text-transform:uppercase;letter-spacing:.07em}.workspace-sidebar .chat-item,.workspace-sidebar .project{border-radius:7px;padding:.55rem .58rem}.workspace-sidebar .chat-item strong,.workspace-sidebar .project{font-weight:700}.workspace-sidebar .chat-item small,.workspace-sidebar .project small{display:block}}.workspace-sidebar .history-label{font-size:1.17rem;line-height:normal}.workspace-sidebar .chat-menu{width:260px;padding:14px}.workspace-sidebar .chat-menu span,.workspace-sidebar .chat-menu button,.workspace-sidebar .chat-menu summary{text-align:left;justify-content:flex-start;gap:10px;min-height:40px;padding:9px 8px;font-size:1.1rem;line-height:1.2}.workspace-sidebar .chat-menu summary{list-style:none}.workspace-sidebar .chat-menu summary::-webkit-details-marker{display:none}.workspace-sidebar .chat-menu span{padding-left:8px}.workspace-sidebar .chat-menu details button{padding-left:38px}.workspace-sidebar .chat-menu-icon{object-fit:contain;width:20px;height:20px;filter:var(--nav-icon-filter);flex:0 0 20px}.workspace-sidebar .chat-menu{padding:16px 14px}.workspace-sidebar .chat-menu>span{min-height:48px;padding:8px 8px 14px}.workspace-sidebar .chat-menu>span+button{margin-top:11px}.workspace-sidebar .chat-menu>button:not(.danger),.workspace-sidebar .chat-menu>details>summary{min-height:34px;padding:4px 8px}.workspace-sidebar .chat-menu>details{border-bottom:1px solid var(--ws-line);padding:0 0 13px}.workspace-sidebar .chat-menu .danger{border-top:0;min-height:48px;margin-top:11px;padding:14px 8px 8px}.workspace-sidebar .chat-menu .danger .chat-menu-icon{filter:brightness(0)saturate()invert(41%)sepia(76%)saturate(1068%)hue-rotate(350deg)brightness(87%)contrast(93%)}.chat-thread{scrollbar-width:none;-ms-overflow-style:none;background:0 0;border:0;border-radius:0;width:42.991vw;padding:12px 0 calc(15.39vh + 28px);position:absolute;top:0;bottom:3.282vh;left:50%;overflow:hidden auto;transform:translate(-50%)}.workspace-stage:has(.composer-reference-strip) .chat-thread{padding-bottom:calc(24.2vh + 28px)}.workspace-stage:has(.composer-expanded) .chat-thread{padding-bottom:calc(30.78vh + 28px)}.chat-thread::-webkit-scrollbar{display:none}.chat-thread-messages{gap:14px;display:grid}.chat-message{text-align:left;justify-self:stretch;gap:3px;width:100%;display:grid}.chat-message.user{text-align:left;justify-self:stretch}.chat-bubble{width:100%;max-width:none;color:var(--ws-text);white-space:pre-wrap;background:0 0;border:0;border-radius:0;margin:0;padding:0;line-height:1.45}.chat-message-date{color:var(--ws-muted);justify-self:end;font-size:.7rem;line-height:1.25}.chat-markdown{white-space:normal}.chat-markdown p,.chat-markdown h3,.chat-markdown ul,.chat-markdown-table{margin:0 0 12px}.chat-markdown p,.chat-markdown h3,.chat-markdown li{color:var(--ws-text)}.chat-markdown>:last-child{margin-bottom:0}.chat-markdown h3{font-size:1.05em}.chat-markdown ul{padding-left:1.35em}.chat-markdown li+li{margin-top:4px}.chat-markdown-table{border:1px solid var(--ws-line);border-radius:7px;max-width:100%;overflow-x:auto}.chat-markdown-table table{border-collapse:collapse;width:100%;min-width:520px;font-size:.9rem}.chat-markdown-table th,.chat-markdown-table td{border-bottom:1px solid var(--ws-line);text-align:left;vertical-align:top;padding:8px 10px}.chat-markdown-table th{background:color-mix(in srgb,var(--ws-panel) 80%,var(--ws-accent));color:var(--ws-text);font-weight:600}.chat-markdown-table tbody tr:last-child td{border-bottom:0}.chat-markdown a{color:var(--ws-accent);overflow-wrap:anywhere;text-underline-offset:2px;font-weight:600;text-decoration:underline}.chat-markdown a:hover{filter:brightness(1.12)}.chat-message-footer{justify-content:space-between;align-items:center;gap:10px;min-height:26px;display:flex}.chat-message-actions{align-items:center;gap:6px;display:flex}.chat-message-action{border:1px solid color-mix(in srgb,var(--ws-line) 78%,transparent);width:26px;height:26px;color:var(--ws-text);cursor:pointer;font:inherit;background:0 0;border-radius:5px;place-items:center;padding:0;font-size:17px;line-height:1;display:grid}.chat-message-model{cursor:default;position:relative}.chat-message-model:after{z-index:3;border:1px solid var(--ws-line);background:var(--ws-panel);color:var(--ws-text);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;border-radius:5px;padding:5px 7px;font-size:.72rem;font-weight:600;line-height:1;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%,3px)}.chat-message-model:hover:after{opacity:1;transform:translate(-50%)}.chat-message-model .model-icon{width:15px;height:15px}.chat-message-delete img{width:15px;height:15px;filter:var(--nav-icon-filter)}.chat-message-delete:hover img{filter:brightness(0)saturate()invert(39%)sepia(79%)saturate(993%)hue-rotate(350deg)brightness(90%)contrast(92%)}.chat-message-footer .chat-message-date{justify-self:auto}.chat-message-action:hover{color:#586f3f;border-color:#586f3f}.chat-message-copy-icon{background:currentColor;width:15px;height:15px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.chat-message-delete{font-size:25px;font-weight:300;line-height:20px}.chat-message-action{color:#586f3f!important}.chat-message-action:hover{border-color:#586f3f;color:#586f3f!important}.chat-message-model .model-icon{background:#586f3f!important}.chat-message-delete{font-size:0;position:relative;transform:none}.chat-message-delete:before,.chat-message-delete:after{content:"";background:#586f3f;border-radius:999px;width:16px;height:2px;position:absolute;top:50%;left:50%}.chat-message-delete:before{transform:translate(-50%,-50%)rotate(45deg)}.chat-message-delete:after{transform:translate(-50%,-50%)rotate(-45deg)}.chat-generation-cancel{color:#171512;min-height:29px;font:inherit;cursor:pointer;background:#f1e4c9;border:0;border-radius:6px;justify-self:start;padding:0 10px;font-size:.79rem;line-height:1}.chat-generation-cancel:hover{background:#e8d4ae}.chat-generation-cancel:focus-visible{outline:2px solid var(--ws-accent);outline-offset:2px}.workspace-notice{display:none}.asset-picker-error{border:1px solid color-mix(in srgb,var(--ws-accent) 72%,var(--ws-line));background:color-mix(in srgb,var(--ws-accent) 14%,var(--ws-panel));color:var(--ws-accent);border-radius:8px;margin:.8rem 0 0;padding:12px 14px;font-size:1rem;font-weight:600;line-height:1.4}:is(.chat-row:has(.chat-menu) .chat-item,.chat-row:has(.chat-menu) .chat-more){color:var(--ws-accent)}.chat-row:has(.chat-menu) .chat-kind-icon{filter:brightness(0)saturate()invert(41%)sepia(76%)saturate(1068%)hue-rotate(350deg)brightness(87%)contrast(93%)}.workspace-sidebar .chat-group{margin:0 0 18px}.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label{color:var(--ws-text);letter-spacing:0;text-transform:none;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:1.17rem;line-height:1.25;display:flex}.workspace-sidebar .chat-group .history-label,.workspace-sidebar .chat-group-heading{color:var(--ws-accent)}.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label{text-align:left;cursor:pointer;background:0 0;border:0;width:100%;padding:0}.workspace-sidebar .chat-group .history-label:disabled{cursor:default;opacity:1}.workspace-sidebar .chat-group-toggle{object-fit:contain;filter:brightness(0)saturate()invert(41%)sepia(76%)saturate(1068%)hue-rotate(350deg)brightness(87%)contrast(93%);width:14px;height:14px}.workspace-sidebar .chat-kind-icon{filter:none;background:#586f3f;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.chat-row:has(.chat-menu) .chat-kind-icon{filter:none;background:#586f3f}.rename-dialog,.delete-dialog,.project-dialog{z-index:30;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);width:300px;color:var(--ws-text);border-radius:8px;padding:16px;position:fixed;box-shadow:0 14px 32px #00000052}.rename-dialog h2{margin:0 0 12px;font-size:1.1rem;font-weight:500}.rename-dialog label{color:var(--ws-muted);gap:7px;font-size:.84rem;display:grid}.rename-dialog input{border:1px solid var(--ws-line);background:var(--ws-bg);width:100%;color:var(--ws-text);font:inherit;border-radius:6px;outline:0;padding:9px 10px}.rename-dialog input:focus{border-color:color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));box-shadow:none}.rename-dialog-actions{justify-content:flex-end;gap:8px;margin-top:15px;display:flex}.rename-dialog-actions button{border:1px solid var(--ws-line);min-height:34px;color:var(--ws-text);cursor:pointer;background:0 0;border-radius:6px;padding:7px 11px}.rename-dialog-actions .primary{background:var(--ws-accent);color:var(--ws-accent-text);border-color:#0000}.delete-dialog h2{margin:0 0 8px;font-size:1.1rem;font-weight:500}.delete-dialog p{color:var(--ws-muted);margin:0;font-size:.86rem;line-height:1.45}.rename-dialog-actions .danger{background:var(--ws-accent);color:var(--ws-accent-text);border-color:#0000}.message-delete-dialog{z-index:50;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);width:min(390px,100vw - 32px);color:var(--ws-text);border-radius:8px;padding:20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 42px #0000005c}.message-delete-dialog h2{margin:0 0 8px;font-size:1.15rem;font-weight:500}.message-delete-dialog p{color:var(--ws-muted);margin:0;font-size:.86rem;line-height:1.45}.project-dialog h2{margin:0 0 12px;font-size:1.1rem;font-weight:500}.project-dialog label{color:var(--ws-muted);gap:7px;font-size:.84rem;display:grid}.project-dialog input{border:1px solid var(--ws-line);background:var(--ws-bg);width:100%;color:var(--ws-text);font:inherit;border-radius:6px;outline:0;padding:9px 10px}.project-dialog input:focus{border-color:color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));box-shadow:none}.rename-dialog-actions .primary,.project-dialog .primary{background:#d1550d}.project-color-field{color:var(--ws-muted);gap:13px;margin-top:13px;font-size:.84rem;display:grid}.project-color-palette{grid-template-columns:repeat(10,1fr);gap:5px;display:grid}.project-color-palette .color-swatch{aspect-ratio:1;cursor:pointer;border:1px solid #0000;border-radius:4px;width:100%;padding:0}.project-color-palette .color-swatch.chosen{outline:2px solid var(--ws-text);outline-offset:2px}.project-custom-color-row{align-items:center;gap:8px;display:flex;position:relative}.project-custom-color{border:1px solid var(--ws-line);background:var(--ws-bg);width:fit-content;min-height:36px;color:var(--ws-text);letter-spacing:.04em;border-radius:6px;align-items:center;padding:7px 10px;font-size:.9rem;display:inline-flex}.project-custom-swatch{cursor:pointer;border:0;border-radius:4px;flex:0 0 28px;width:28px;height:28px;padding:0}.custom-color-picker{z-index:40;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);border-radius:7px;width:236px;padding:10px;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 12px 28px #0000004d}.custom-color-top{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.color-picker-preview{border:2px solid var(--ws-text);border-radius:50%;width:26px;height:26px}.custom-color-top button{color:var(--ws-muted);cursor:pointer;background:0 0;border:0;font-size:1.2rem;line-height:1}.color-picker-area{cursor:crosshair;width:100%;height:132px;position:relative}.color-picker-cursor{pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0000007a}.project-dialog .color-hue-slider{appearance:none;cursor:pointer;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border:0;border-radius:999px;width:100%;height:12px;margin:11px 0;padding:0}.color-hue-slider::-webkit-slider-thumb{appearance:none;background:0 0;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #0000007a}.color-picker-footer{align-items:center;gap:8px;display:flex}.color-picker-hex{border:1px solid var(--ws-line);background:var(--ws-bg);width:fit-content;color:var(--ws-text);letter-spacing:.04em;border-radius:5px;padding:7px 10px;font-size:.86rem;display:block}.color-picker-accept{min-height:32px;color:var(--ws-accent-text);cursor:pointer;background:#d1550d;border:0;border-radius:5px;padding:6px 12px}.project-field-error{color:#ef8344;margin:7px 0 0;font-size:.78rem;line-height:1.35}.workspace-sidebar .project{justify-content:flex-start}.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label,.workspace-sidebar .sidebar-tabs button.active{color:#ef8344}.workspace-sidebar .chat-group-toggle{filter:none;background:#ef8344;width:14px;height:14px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.workspace-sidebar .project-new{border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));color:#ef8344;cursor:pointer;background:0 0;border-radius:7px;justify-content:center;align-items:center;gap:8px;width:68%;min-height:42px;margin:0 auto;padding:9px 12px;font-size:1rem;display:flex}.workspace-sidebar .project-new:hover{border-color:var(--ws-text)}.workspace-sidebar .project-new span{font-size:1.2em;line-height:1}.workspace-sidebar .project-helper{color:var(--ws-muted);text-align:center;margin:10px 0 19px;font-size:.78rem;line-height:1.45}.workspace-sidebar .project-list .sidebar-empty{display:none}@media (max-width:1000px){.chat-thread{width:min(100%,680px);min-height:220px;margin:1rem auto;position:static;transform:none}}.workspace-sidebar .chat-group{margin-bottom:14px}.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label{margin-bottom:8px}.workspace-sidebar .chat-row,.workspace-sidebar .project{min-height:29px}.workspace-sidebar .chat-row .chat-item{align-items:center;min-height:29px;padding:0;display:flex}.workspace-sidebar .chat-more{min-height:29px;padding:0;line-height:1}.workspace-sidebar .project-list{gap:3.6px}.workspace-sidebar .project{align-items:center;padding:0;font-size:1.17rem;line-height:normal;display:flex}.workspace-sidebar .chat-project-dot{vertical-align:1px;border-radius:50%;width:10px;height:10px;margin:0 7px 0 0;display:inline-block}.workspace-sidebar .project-entry+.project-entry{margin-top:3.6px}.workspace-sidebar .project-chats{margin:4px 0 6px 18px}.workspace-sidebar .project-empty{color:var(--ws-muted);margin:5px 0 7px;font-size:.78rem;line-height:1.35}.chat-menu details .project-choice{align-items:center;padding-left:6px;display:flex}.chat-menu details .project-choice b{width:18px;color:var(--ws-text);text-align:center;flex:0 0 18px;font-weight:700}.chat-menu details .project-choice i{flex:none}.workspace-user{gap:20px}.topbar-menu{position:relative}.theme-trigger,.profile-trigger{border:1px solid color-mix(in srgb,var(--ws-line) 74%,transparent);width:34px;height:34px;color:var(--ws-text);cursor:pointer;font:inherit;background:0 0;border-radius:50%;place-items:center;display:grid}.theme-trigger{border-color:#0000;border-radius:0;line-height:1}.theme-trigger img{display:none}.theme-trigger:before{content:"";background:#d35c17;width:34px;height:34px;display:block;-webkit-mask:url(/navigation-icons/flower.svg) 50%/contain no-repeat;mask:url(/navigation-icons/flower.svg) 50%/contain no-repeat}.profile-trigger{background:var(--ws-accent);color:var(--ws-accent-text);font-size:.84rem;font-weight:800}.theme-trigger:hover{border-color:#0000}.profile-trigger:hover{border-color:var(--ws-text)}.theme-menu,.profile-menu{z-index:35;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);color:var(--ws-text);border-radius:8px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 14px 32px #00000052}.theme-menu{width:158px;padding:14px}.theme-menu h2{margin:0 0 12px;font-size:.92rem;font-weight:600}.theme-menu .theme-switcher{gap:11px}.theme-menu .theme-dot{width:27px;height:27px}.profile-menu-heading{border-bottom:1px solid color-mix(in srgb,var(--ws-line) 55%,transparent);align-items:center;gap:12px;padding-bottom:16px;display:flex}.profile-avatar{background:var(--ws-accent);width:42px;height:42px;color:var(--ws-accent-text);border-radius:50%;flex:none;place-items:center;font-size:1.17rem;font-weight:800;display:grid}.profile-menu-heading strong{font-size:1.17rem;font-weight:500;display:block}.profile-menu-heading p{color:var(--ws-muted);margin:4px 0 0;font-size:1.17rem;line-height:1.2}.profile-details{gap:12px;margin:16px 0;display:grid}.profile-details div{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.profile-details dt{color:var(--ws-muted);font-size:1.17rem}.profile-details dd{text-align:right;margin:0;font-size:1.17rem;font-weight:500}.profile-menu-link,.profile-logout{border:0;border-top:1px solid color-mix(in srgb,var(--ws-line) 55%,transparent);width:100%;min-height:42px;color:var(--ws-text);text-align:left;cursor:pointer;background:0 0;padding:10px 0;font-size:1.17rem;text-decoration:none;display:block}.profile-logout{color:var(--ws-accent)}@media (max-width:680px){.workspace-user{gap:11px}.theme-trigger,.profile-trigger{width:30px;height:30px}.theme-trigger:before{width:27px;height:27px}.profile-menu{right:-4px}.theme-menu{right:0}}.model-picker{color:var(--ws-text);font-size:1.17rem;font-weight:400;display:grid;position:relative}.model-trigger{border:1px solid var(--ws-line);background:var(--ws-bg);width:100%;min-height:46px;color:var(--ws-text);font:inherit;text-align:left;cursor:pointer;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:.5rem .65rem;display:flex}.model-trigger-arrow{background:#ef8344;flex:none;width:14px;height:8px;display:block;-webkit-mask-image:url(/navigation-icons/group-out.svg);mask-image:url(/navigation-icons/group-out.svg);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.model-menu{z-index:25;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);border-radius:7px;width:100%;padding:6px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 28px #0000004d}.model-menu button{width:100%;min-height:42px;color:var(--ws-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;padding:7px 8px;font-size:1.17rem;display:flex}.model-menu button:hover,.model-menu button[aria-selected=true]{background:color-mix(in srgb,var(--ws-surface) 80%,var(--ws-bg))}.model-menu b{color:#ef8344;font-size:1.17rem}.model-label{align-items:center;gap:9px;min-width:0;display:flex}.model-icon{background:#586f3f;flex:none;width:19px;height:19px;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.workspace-settings .settings-section h2,.workspace-settings .settings-row h2,.workspace-settings .muted,.workspace-settings .reference-drop span,.workspace-settings .reference-list li,.workspace-settings .reference-list a,.workspace-settings .reference-list small{font-size:1.17rem}.workspace-settings .settings-section h2{margin-bottom:10px;font-weight:400}.workspace-settings .settings-row{justify-content:flex-start}.workspace-settings .reference-drop{min-height:120px;font-size:1.6rem}.workspace-settings .reference-drop span{line-height:1.35}.workspace-settings .reference-list{gap:10px}.workspace-settings .reference-list li{gap:8px}.image-setting-note{color:var(--ws-muted);margin:-10px 0 18px;font-size:.78rem;line-height:1.35}.deepseek-allowance{color:var(--ws-muted);margin:.75rem 0 0;font-size:.78rem;line-height:1.45}html[data-workspace-model=gpt-5-4-mini] .workspace-settings .settings-section:first-child:after{content:"Можно загрузить PDF до 10 страниц или JPEG/PNG до 10 МБ.";color:var(--ws-muted);margin:.75rem 0 0;font-size:.78rem;line-height:1.45;display:block}.video-duration-note{color:var(--ws-muted);margin:16px 0 4px;font-size:.78rem;line-height:1.35}.image-setting:has(.video-duration-note){margin-bottom:.6rem;padding-bottom:.45rem}.no-wrap{white-space:nowrap}html[data-workspace-mode=video] .workspace-settings .image-setting-note,html[data-workspace-mode=image] .workspace-settings>.settings-section:last-child,html[data-workspace-mode=video] .workspace-settings>.settings-section:last-child{display:none}.image-reference-info{z-index:3;background:var(--ws-panel);width:16.05vw;color:var(--ws-text);border:0;border-radius:8px;margin:0;padding:14px 1.45rem;position:absolute;top:calc(2.188vh + 480px);right:1.563vw}.image-reference-info h2,.image-reference-info p{color:var(--ws-text);margin:0;font-size:1.17rem;font-weight:400;line-height:1.38}.image-reference-info h2{margin-bottom:10px}.image-reference-info p+p{margin-top:5px}.image-reference-info strong{color:#ef8344;font-weight:500}html[data-workspace-mode=premium] .workspace-settings>*{display:none}html[data-workspace-mode=premium] .workspace-settings:before{content:"Раздел находится в разработке";color:var(--ws-muted);font-size:1.17rem;line-height:1.35;display:block}.composer-lock,.composer-expand{z-index:1;width:27px;height:27px;color:var(--ws-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;display:grid;position:absolute}.composer-lock{top:.35rem;left:.6rem}.composer-lock:hover,.composer-lock.locked{color:var(--ws-accent)}.composer-expand:hover{background:color-mix(in srgb,var(--ws-accent) 16%,transparent);color:var(--ws-accent)}.composer-lock i{background:currentColor;width:18px;height:28px;display:block;-webkit-mask:url(/navigation-icons/unlock.svg) top/18px no-repeat;mask:url(/navigation-icons/unlock.svg) top/18px no-repeat}.composer-lock.locked i{-webkit-mask-image:url(/navigation-icons/lock.svg);mask-image:url(/navigation-icons/lock.svg);-webkit-mask-position:50% 4px;mask-position:50% 4px}.composer-expand{top:.55rem;right:.6rem}.composer-expand i{width:14px;height:14px;display:block;position:relative}.composer-expand i:before,.composer-expand i:after{content:"";width:6px;height:6px;position:absolute}.composer-expand i:before{border-top:2px solid;border-right:2px solid;top:0;right:0}.composer-expand i:after{border-bottom:2px solid;border-left:2px solid;bottom:0;left:0}.composer-bottom{justify-content:space-between;gap:12px;padding:.42rem .65rem .42rem .85rem}.composer-controls,.composer-actions{align-items:center;gap:8px;min-width:0;display:flex}.composer-clip,.composer-send{cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.composer-clip{background:color-mix(in srgb,var(--ws-bg) 55%,var(--ws-panel));border-radius:6px;width:36px;height:36px}.composer-clip i{background:var(--ws-text);width:22px;height:22px;display:block;-webkit-mask:url(/navigation-icons/clip.svg) 50%/contain no-repeat;mask:url(/navigation-icons/clip.svg) 50%/contain no-repeat}.composer-clip:hover{background:color-mix(in srgb,var(--ws-accent) 18%,var(--ws-bg))}.composer-chip{background:color-mix(in srgb,var(--ws-bg) 62%,var(--ws-panel));min-height:36px;color:var(--ws-text);white-space:nowrap;border-radius:5px;align-items:center;padding:0 9px;font-size:1.17rem;line-height:1;display:flex}.composer-aspect i{border:2px solid color-mix(in srgb,var(--ws-text) 75%,transparent);border-radius:2px;width:12px;height:16px;position:relative;top:-1px}.composer-cost{background:var(--ws-text);min-height:36px;color:var(--ws-bg);white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:0 9px;font-size:1.17rem;font-weight:700;display:flex}.composer-cost strong{font-size:1.45rem;font-weight:700;line-height:1}.composer-cost i{background:#ef8344;border-radius:50%;width:25px;height:25px;display:block;position:relative}.composer-cost i:after{content:"";background:var(--ws-bg);position:absolute;inset:0;-webkit-mask:url(/navigation-icons/gen.svg) 50%/contain no-repeat;mask:url(/navigation-icons/gen.svg) 50%/contain no-repeat}.composer-send{border-radius:6px;width:36px;height:36px}.composer-send:not(:disabled):hover{background:color-mix(in srgb,var(--ws-accent) 15%,var(--ws-bg))}.composer-send i{border-top:9px solid #0000;border-bottom:9px solid #0000;border-left:14px solid var(--ws-muted);width:0;height:0;margin-left:2px}.composer-send:not(:disabled):hover i{border-left-color:var(--ws-accent)}.composer-send:disabled{opacity:.45}@media (max-width:680px){.composer-bottom{padding:.42rem .55rem}.composer-controls,.composer-actions{gap:5px}.composer-chip{padding:0 6px}}@media (max-width:1000px){.image-reference-info{width:auto;margin:0;padding:14px;position:absolute;top:500px;left:18px;right:18px}}.workspace-sidebar{font-size:81%}.workspace-sidebar .sidebar-tabs button{font-size:.972rem}.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label,.workspace-sidebar .chat-row .chat-item strong,.workspace-sidebar .project{font-size:.948rem}.workspace-sidebar .chat-more{font-size:1.296rem}.workspace-sidebar .chat-kind-icon{vertical-align:-2.43px;width:16.2px;height:16.2px;margin-right:6.48px}.workspace-sidebar .project i{width:10.53px;height:10.53px;margin-right:8.1px}.workspace-sidebar .chat-project-dot{width:8.1px;height:8.1px;margin-right:5.67px}.workspace-sidebar .chat-group-toggle{width:11.34px;height:11.34px}.workspace-sidebar .project-helper,.workspace-sidebar .project-empty,.workspace-sidebar .sidebar-empty{font-size:.632rem}.workspace-sidebar .chat-menu span,.workspace-sidebar .chat-menu button,.workspace-sidebar .chat-menu summary{font-size:.891rem}.sidebar-new-chat-floating:before,.sidebar-new-chat-floating:after{width:14.58px;height:1.8px}.workspace-settings .settings-section h2,.workspace-settings .settings-row h2,.workspace-settings .muted,.workspace-settings .reference-drop span,.workspace-settings .reference-list li,.workspace-settings .reference-list a,.workspace-settings .reference-list small,.model-picker,.model-menu button,.image-reference-info h2,.image-reference-info p,html[data-workspace-mode=premium] .workspace-settings:before{font-size:.948rem}.model-icon{width:15.39px;height:15.39px}.model-label{gap:7.29px}.model-trigger-arrow{width:11.34px;height:6.48px}.image-setting-note,.video-duration-note{font-size:.632rem}.composer-chip{min-height:29.16px;padding:0 7.29px;font-size:.948rem}.composer-clip,.composer-send{width:29.16px;height:29.16px}.composer-clip i{width:17.82px;height:17.82px}.composer-aspect{gap:4.86px}.composer-aspect i{border-width:1.62px;width:9.72px;height:12.96px}.composer-aspect-square i{width:12.96px;height:12.96px}.composer-cost{gap:4.86px;min-height:29.16px;padding:0 7.29px;font-size:.948rem}.composer-cost strong{font-size:1.175rem}.composer-cost i{width:20.25px;height:20.25px}.composer-send i{border-top-width:7.29px;border-bottom-width:7.29px;border-left-width:11.34px}@media (max-width:1000px){.workspace-shell{height:auto;min-height:100dvh;overflow:auto}.workspace-topbar{height:auto;min-height:60px;padding:14px 24px}.workspace-grid{grid-template-columns:220px minmax(0,1fr);grid-template-areas:"sidebar stage""sidebar settings""sidebar references";align-items:start;height:auto;min-height:calc(100dvh - 60px);display:grid}.workspace-sidebar{border-radius:0;grid-area:sidebar;width:auto;height:calc(100dvh - 60px);position:sticky;top:0;left:auto}.workspace-stage{grid-area:stage;min-height:560px;padding:32px 28px}.workspace-settings{border-radius:0;grid-area:settings;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:auto;height:auto;min-height:0;padding:22px 28px;display:grid;position:static}.workspace-settings .settings-section{min-width:0}.workspace-settings .image-setting-note{grid-column:1/-1;margin:-6px 0 0}.image-reference-info{background:var(--ws-panel);border-radius:0;grid-area:references;width:auto;margin:0;padding:20px 28px;position:static}.sidebar-new-chat-floating{top:12px;left:232px}}@media (max-width:680px){.workspace-topbar{flex-wrap:wrap;gap:14px;padding:12px 16px;display:flex}.workspace-topbar nav{order:3;justify-content:flex-start;gap:20px;width:100%;margin:0;position:static;overflow-x:auto;transform:none}.workspace-user{margin-left:auto;position:static}.workspace-grid{flex-direction:column;min-height:0;display:flex}.workspace-sidebar{order:1;height:auto;max-height:310px;position:relative;top:auto}.workspace-sidebar .sidebar-content{max-height:257px}.workspace-sidebar .sidebar-content>.new-chat,.workspace-sidebar .sidebar-content>.project-new{display:block}.sidebar-new-chat-floating{display:none}.workspace-stage{order:2;min-height:520px;padding:26px 16px}.workspace-settings{order:3;grid-template-columns:1fr;gap:0;padding:20px 16px;display:grid}.workspace-settings .image-setting-note{grid-column:auto}.image-reference-info{order:4;padding:18px 16px}}.profile-menu{width:420px;padding:16px 18px 12px}.profile-avatar-upload,.profile-trigger{overflow:hidden}.profile-trigger:has(img){background:0 0;border-color:#0000;padding:0}.profile-avatar-upload{cursor:pointer;border:0;padding:0}.profile-avatar-upload>span,.profile-trigger>span{border-radius:50%;overflow:hidden;width:100%!important;height:100%!important;display:block!important}.profile-avatar img,.profile-trigger img{object-fit:cover;border-radius:50%;display:block;width:100%!important;height:100%!important}.profile-photo-help{color:var(--ws-muted);margin:10px 0 0;font-size:.72rem;line-height:1.35}.profile-form{gap:9px;margin:14px 0 16px;display:grid}.profile-form label{color:var(--ws-muted);gap:5px;font-size:.78rem;display:grid}.profile-form input,.profile-email{border:1px solid color-mix(in srgb,var(--ws-line) 72%,transparent);background:var(--ws-bg);width:100%;min-height:34px;color:var(--ws-text);font:inherit;border-radius:6px;padding:7px 9px;font-size:.84rem}.profile-email{overflow-wrap:anywhere;display:block}.profile-form small{color:var(--ws-muted);font-size:.68rem;line-height:1.35}.profile-form .primary{justify-self:start;min-height:34px;padding:7px 11px;font-size:.8rem}.profile-message{color:var(--ws-accent);margin:0;font-size:.76rem;line-height:1.35}.profile-menu .profile-details{gap:9px;margin:14px 0}.profile-menu .profile-menu-link,.profile-menu .profile-logout{min-height:34px;padding:7px 0}.password-dialog{z-index:50;border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);width:min(390px,100vw - 32px);color:var(--ws-text);border-radius:8px;padding:20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 42px #0000005c}.password-dialog h2{margin:0 0 8px;font-size:1.15rem;font-weight:500}.password-dialog p{color:var(--ws-muted);margin:0 0 14px;font-size:.82rem;line-height:1.45}.password-dialog label{gap:6px;margin-top:10px;font-size:.82rem;display:grid}.password-dialog input{border:1px solid var(--ws-line);background:var(--ws-bg);min-height:38px;color:var(--ws-text);font:inherit;border-radius:6px;padding:8px}.password-dialog .rename-dialog-actions{margin-top:16px}@media (max-width:680px){.profile-menu{width:min(420px,100vw - 20px);padding:14px}.profile-menu .profile-menu-heading strong,.profile-menu .profile-menu-heading p,.profile-menu .profile-details dt,.profile-menu .profile-details dd{font-size:.92rem}}.sidebar-new-chat-floating,.workspace-sidebar .project-new,.workspace-sidebar .sidebar-tabs button.active,.workspace-sidebar .chat-group-heading,.workspace-sidebar .chat-group .history-label,.model-menu b,.project-field-error,.image-reference-info strong{color:#d35c17}.workspace-sidebar .sidebar-tabs button.active{border-bottom-color:#d35c17}.workspace-sidebar .chat-group-toggle,.model-trigger-arrow,.composer-cost i{background:#d35c17}.workspace-shell[data-theme=aubergine] .sidebar-new-chat-floating,.workspace-shell[data-theme=aubergine] .workspace-sidebar .project-new,.workspace-shell[data-theme=aubergine] .workspace-sidebar .sidebar-tabs button.active,.workspace-shell[data-theme=aubergine] .workspace-sidebar .chat-group-heading,.workspace-shell[data-theme=aubergine] .workspace-sidebar .chat-group .history-label,.workspace-shell[data-theme=aubergine] .model-menu b{color:#e16aa9}.workspace-shell[data-theme=aubergine] .workspace-sidebar .sidebar-tabs button.active{border-bottom-color:#e16aa9}.workspace-shell[data-theme=aubergine] .workspace-sidebar .chat-group-toggle,.workspace-shell[data-theme=aubergine] .model-trigger-arrow,.workspace-shell[data-theme=aubergine] .theme-trigger:before{background:#e16aa9}.workspace-shell[data-theme=aubergine] .workspace-sidebar .chat-kind-icon,.workspace-shell[data-theme=aubergine] .workspace-settings .model-icon{background:#835413}.workspace-shell[data-theme=aubergine] .profile-form .primary{color:var(--ws-bg)}.workspace-shell[data-theme=aubergine] .profile-form .primary:disabled{opacity:1;background:color-mix(in srgb,var(--ws-accent) 55%,var(--ws-panel))}.workspace-mark{width:82px;display:block;position:relative}.workspace-mark img{width:100%;height:auto;filter:var(--nav-icon-filter);display:block}.workspace-mark:before,.workspace-mark:after{content:"";z-index:1;background:var(--ws-surface);pointer-events:none;border-radius:50%;display:block;position:absolute}.workspace-mark:before{width:10%;height:16%;top:3%;left:74%}.workspace-mark:after{width:10%;height:22%;top:66%;left:90%}.composer-input{background:var(--ws-composer-top);flex-direction:column;display:flex}.composer-prompt-row{flex:auto;min-height:0;position:relative}.composer-reference-strip{scrollbar-width:thin;flex:none;gap:8px;max-width:100%;padding:10px 12px 0;display:flex;overflow-x:auto}.composer-reference{border:1px solid color-mix(in srgb,var(--ws-line) 72%,transparent);background:var(--ws-bg);border-radius:6px;flex:none;width:62px;height:62px;margin:0;position:relative;overflow:hidden}.composer-reference img{object-fit:cover;width:100%;height:100%;display:block}.composer-reference-order{z-index:1;background:var(--ws-accent);width:18px;height:18px;color:var(--ws-bg);pointer-events:none;border-radius:50%;place-items:center;font-size:.7rem;font-weight:700;line-height:1;display:grid;position:absolute;top:3px;left:3px}.composer-reference button{color:#fff;cursor:pointer;background:#000000a8;border:0;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font-size:15px;line-height:1;display:grid;position:absolute;top:3px;right:3px}.composer-reference .composer-reference-preview{cursor:zoom-in;background:0 0;border-radius:0;width:100%;height:100%;display:block;position:static}.composer-reference-video{background:color-mix(in srgb,var(--ws-accent) 20%,var(--ws-bg));width:100%;height:100%;color:var(--ws-text);place-items:center;font-size:.68rem;display:grid}.composer-reference-document,.reference-file-label{background:color-mix(in srgb,var(--ws-accent) 20%,var(--ws-bg));width:100%;height:100%;color:var(--ws-text);place-items:center;font-size:.72rem;font-weight:700;display:grid}.reference-file-label{min-width:92px;min-height:92px}.composer:has(.composer-reference-strip){grid-template-rows:minmax(18vh,1fr) 6.2vh;height:24.2vh;min-height:24.2vh}.composer.composer-expanded:has(.composer-reference-strip){height:30.78vh}html[data-workspace-mode=image] .reference-drop span,html[data-workspace-mode=video] .reference-drop span{font-size:0}html[data-workspace-mode=image] .reference-drop span:after{content:"Изображение\a до 10 МБ";white-space:pre-line;font-size:.948rem}html[data-workspace-mode=video] .reference-drop span:after{content:"Изображение или видео\a до 10 МБ";white-space:pre-line;font-size:.948rem}.chat-message-references{flex-wrap:wrap;gap:8px;margin:0 0 10px;display:flex}.chat-image-results{gap:8px;margin:0 0 10px;display:grid}.chat-image-result{width:min(100%,366px);margin:0}.chat-image-result img{border:1px solid color-mix(in srgb,var(--ws-line) 72%,transparent);background:0 0;border-radius:7px;width:100%;height:auto;display:block}.chat-image-result figcaption{justify-content:space-between;align-items:center;gap:10px;margin-top:6px;font-size:.78rem;display:flex}.chat-image-result a{color:var(--ws-accent);font-weight:600}.chat-image-format{border:1px solid var(--ws-line);color:var(--ws-muted);border-radius:5px;flex:none;align-self:flex-start;margin-top:5px;padding:3px 7px;font-size:.72rem;line-height:1}.reference-preview-trigger{border:1px solid color-mix(in srgb,var(--ws-line) 72%,transparent);cursor:zoom-in;background:0 0;border-radius:7px;width:92px;height:92px;padding:0;display:block;overflow:hidden}.reference-preview-trigger img{object-fit:cover;width:92px;height:92px;display:block}.video-result-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;display:grid}.chat-video-result{width:min(100%,420px);margin:0 0 10px}.chat-video-result video{border:1px solid color-mix(in srgb,var(--ws-line) 72%,transparent);background:#080b08;border-radius:10px;width:100%;height:auto;display:block}.video-player-controls{color:var(--ws-muted);font-variant-numeric:tabular-nums;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:8px;font-size:.72rem;display:grid}.video-play-toggle{border:1px solid color-mix(in srgb,var(--ws-accent) 72%,var(--ws-line));background:color-mix(in srgb,var(--ws-accent) 10%,transparent);width:30px;height:30px;color:var(--ws-accent);cursor:pointer;font:inherit;border-radius:50%;place-items:center;padding:0;font-size:.78rem;line-height:1;display:grid}.video-play-toggle:hover{background:color-mix(in srgb,var(--ws-accent) 20%,transparent)}.video-player-controls input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:14px;margin:0}.video-player-controls input[type=range]::-webkit-slider-runnable-track{border:1px solid color-mix(in srgb,var(--ws-line) 58%,var(--ws-bg));background:var(--ws-bg);border-radius:999px;height:4px}.video-player-controls input[type=range]::-webkit-slider-thumb{appearance:none;border:1px solid var(--ws-line);background:var(--ws-panel);border-radius:50%;width:12px;height:12px;margin-top:-5px}.video-player-controls input[type=range]::-moz-range-track{border:1px solid color-mix(in srgb,var(--ws-line) 58%,var(--ws-bg));background:var(--ws-bg);border-radius:999px;height:4px}.video-player-controls input[type=range]::-moz-range-thumb{border:1px solid var(--ws-line);background:var(--ws-panel);border-radius:50%;width:12px;height:12px}.video-player-controls time{white-space:nowrap}.chat-video-result .video-result-actions{width:100%;margin:8px 0 0}.video-result-download{border:1px solid color-mix(in srgb,var(--ws-accent) 74%,var(--ws-line));min-width:0;color:var(--ws-accent);background:color-mix(in srgb,var(--ws-accent) 9%,transparent);border-radius:8px;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:9px 32px 9px 11px;font-size:.84rem;font-weight:700;line-height:1.15;text-decoration:none;display:flex;position:relative}.video-result-download:after{content:"↓";font-size:1.05rem;line-height:1;position:absolute;top:11px;right:12px}.video-result-download:hover{background:color-mix(in srgb,var(--ws-accent) 18%,transparent)}.video-result-download span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.video-result-download small{width:100%;color:var(--ws-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:500;overflow:hidden}.active-chat .chat-item,.active-chat .chat-item .chat-kind-icon{color:var(--ws-accent)}.active-chat .chat-kind-icon{background-color:var(--ws-accent)}.active-chat .chat-more{color:var(--ws-accent)}.reference-list li button{min-width:0;color:var(--ws-text);cursor:zoom-in;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;text-decoration:underline;overflow:hidden}.asset-picker-backdrop{z-index:45;background:#00000075;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.asset-picker{border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);width:min(680px,100vw - 32px);max-height:min(720px,100vh - 32px);color:var(--ws-text);border-radius:10px;flex-direction:column;padding:22px;display:flex;overflow:hidden;box-shadow:0 18px 46px #0000006b}.asset-picker-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.asset-picker-heading h2{margin:0;font-size:1.3rem;font-weight:500}.asset-picker-heading button{color:var(--ws-text);cursor:pointer;background:0 0;border:0;font-size:1.8rem;line-height:1}.asset-picker>p{color:var(--ws-muted);margin:8px 0 14px;font-size:.8rem}.asset-picker-upload{border:1px solid var(--ws-line);width:100%;min-height:38px;color:var(--ws-text);cursor:pointer;font:inherit;background:0 0;border-radius:6px}.asset-picker-tabs{border-bottom:1px solid var(--ws-line);gap:22px;margin-top:16px;display:flex}.asset-picker-tabs button{min-height:36px;color:var(--ws-muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 2px}.asset-picker-tabs button.active{border-color:var(--ws-accent);color:var(--ws-accent)}.asset-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-height:140px;padding:14px 0;display:grid;overflow:auto}.asset-picker-item{aspect-ratio:1;position:relative}.asset-picker-choice{border:1px solid var(--ws-line);background:var(--ws-bg);width:100%;height:100%;color:var(--ws-text);cursor:pointer;border-radius:6px;padding:0;display:block;position:relative;overflow:hidden}.asset-picker-choice.chosen{outline:2px solid var(--ws-accent);outline-offset:2px}.asset-picker-grid img{object-fit:cover;width:100%;height:100%;display:block}.asset-picker-choice>span{place-items:center;width:100%;height:100%;font-size:.78rem;display:grid}.asset-picker-grid i{border:1px solid var(--ws-line);background:var(--ws-panel);width:20px;height:20px;color:var(--ws-accent);border-radius:4px;place-items:center;font-style:normal;display:grid;position:absolute;top:5px;right:5px}.asset-picker-delete{z-index:2;border:1px solid color-mix(in srgb,var(--ws-text) 60%,var(--ws-line));color:#fff;cursor:pointer;width:22px;height:22px;font:inherit;background:#000000ad;border-radius:50%;place-items:center;padding:0;font-size:17px;line-height:1;display:grid;position:absolute;top:5px;left:5px}.asset-picker-delete:hover{border-color:var(--ws-accent);background:var(--ws-accent);color:var(--ws-accent-text)}.asset-picker-delete:disabled{cursor:wait;opacity:.55}.asset-picker-empty{color:var(--ws-muted);text-align:center;grid-column:1/-1;align-self:center;margin:0}.asset-picker-actions{border-top:1px solid var(--ws-line);justify-content:space-between;gap:10px;padding-top:12px;display:flex}.asset-picker-actions button{min-height:36px;color:var(--ws-text);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;padding:7px 12px}.asset-picker-actions .primary{background:var(--ws-accent);color:var(--ws-accent-text)}.asset-picker-actions .primary:disabled{cursor:not-allowed;opacity:.5}.reference-preview-backdrop{z-index:50;background:#000000a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.reference-preview{border:1px solid color-mix(in srgb,var(--ws-text) 48%,var(--ws-line));background:var(--ws-panel);width:min(900px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--ws-text);border-radius:10px;flex-direction:column;padding:18px;display:flex;box-shadow:0 18px 46px #0000007a}.reference-preview-heading,.reference-preview-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.reference-preview-heading h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1rem;font-weight:500;overflow:hidden}.reference-preview-heading button,.reference-preview-actions button{color:var(--ws-text);cursor:pointer;font:inherit;background:0 0;border:0}.reference-preview-heading button{font-size:1.8rem;line-height:1}.reference-preview-content{background:var(--ws-bg);place-items:center;min-height:0;margin:14px 0;display:grid;overflow:auto}.reference-preview-content img,.reference-preview-content video{object-fit:contain;max-width:100%;max-height:calc(100vh - 190px);display:block}.reference-preview-actions{justify-content:flex-end}.reference-preview-actions .primary{min-height:36px;color:var(--ws-accent-text);align-items:center;text-decoration:none;display:inline-flex}@media (max-width:560px){.asset-picker{padding:16px}.asset-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.workspace-mark{width:68px}}.workspace-sidebar,.workspace-sidebar .sidebar-content,.workspace-sidebar .chat-list,.workspace-sidebar .chat-group{overflow-x:hidden}.workspace-sidebar .chat-row{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0;display:grid}.workspace-sidebar .chat-row .chat-item,.workspace-sidebar .chat-row .chat-item strong{min-width:0;overflow:hidden}.workspace-sidebar .chat-row .chat-item strong{align-items:center;display:flex}.workspace-sidebar .chat-kind-icon{flex:none}.workspace-sidebar .chat-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-sidebar .chat-more{flex:none;justify-self:end}.workspace-sidebar .sidebar-content{scrollbar-width:thin;scrollbar-color:transparent transparent;padding-right:10px}.workspace-sidebar .sidebar-content::-webkit-scrollbar{width:8px;height:0}.workspace-sidebar .sidebar-content::-webkit-scrollbar-track{background:0 0}.workspace-sidebar .sidebar-content::-webkit-scrollbar-corner{background:0 0}.workspace-sidebar .sidebar-content::-webkit-scrollbar-thumb{background:0 0;border:2px solid #0000;border-radius:999px}.workspace-sidebar:hover .sidebar-content{scrollbar-color:var(--ws-text) transparent}.workspace-sidebar:hover .sidebar-content::-webkit-scrollbar-thumb{background:var(--ws-text);border-color:var(--ws-panel)}.composer textarea{scrollbar-width:none;-ms-overflow-style:none}.composer textarea::-webkit-scrollbar{display:none}.chat-message-model:after{left:0;transform:translateY(3px)}.chat-message-model:hover:after{transform:translateY(0)}html[data-workspace-model=seedance-2]:not([data-workspace-video-quality="480p"]) .workspace-settings .model-menu[aria-label=Длительность] button:last-child{display:none}.admin-section-note{color:#9db0ca;margin:.35rem 0 0}.admin-tariffs{margin-top:1.5rem}.admin-toggle{color:#9ae5c7;cursor:pointer;font:inherit;background:0 0;border:1px solid #4b967b;border-radius:8px;padding:.4rem .65rem}.admin-toggle.danger{color:#f09b9b;border-color:#a65858}.admin-action-message{color:#9ae5c7;margin:.8rem 0}.admin-dialog-backdrop{z-index:30;background:#04080eb8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.admin-dialog{background:#182131;border:1px solid #49627f;border-radius:14px;width:min(100%,460px);padding:1.25rem;box-shadow:0 16px 48px #0000006b}.admin-dialog h2{margin:0 0 .75rem}.admin-dialog p{color:#dce7f5;margin:0;line-height:1.5}.admin-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;margin-top:1.25rem;display:flex}.admin-dialog-actions button{color:#dce7f5;cursor:pointer;font:inherit;background:0 0;border:1px solid #49627f;border-radius:8px;padding:.55rem .8rem}.admin-dialog-actions .primary{color:#10251e;background:#72d8b2;border-color:#4b967b;font-weight:700}.admin-dialog-actions .danger{color:#fff;background:#9d4b4b;border-color:#a65858;font-weight:700}.admin-dialog-actions button:disabled,.admin-toggle:disabled{cursor:not-allowed;opacity:.6}.premium-badge{color:#f4c94d;white-space:nowrap;border:1px solid #c99a37;border-radius:999px;align-items:center;padding:.25rem .45rem;font-size:.74rem;font-weight:700;line-height:1;display:inline-flex}.admin-premium-plans{margin-top:1.5rem}.admin-plan-button{color:#9ae5c7;white-space:nowrap;border:1px solid #4b967b;border-radius:8px;padding:.4rem .65rem;text-decoration:none;display:inline-flex}.admin-plan-button:hover,.admin-plan-button:focus-visible{color:#fff;border-color:#9ae5c7;outline:none}.admin-editor{width:min(100%,680px);max-height:calc(100vh - 2rem);overflow:auto}.admin-editor label{color:#dce7f5;gap:.35rem;margin-top:.85rem;display:grid}.admin-editor input,.admin-editor select,.admin-editor textarea{color:#f1f5f9;width:100%;font:inherit;background:#10151f;border:1px solid #49627f;border-radius:8px;padding:.55rem .65rem}.admin-editor textarea{resize:vertical;min-height:7rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem}.admin-filters{flex-wrap:wrap;align-items:end;gap:.75rem;margin-bottom:1.5rem;display:flex}.admin-filters label{color:#9db0ca;gap:.3rem;font-size:.82rem;display:grid}.admin-filters input,.admin-filters select{color:#f1f5f9;min-width:130px;font:inherit;background:#182131;border:1px solid #49627f;border-radius:8px;padding:.5rem .6rem}.admin-filters a{color:#9ae5c7;padding:.5rem .2rem}.admin-expense-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-log-section,.admin-report-card{margin-top:1.5rem}.admin-report-card .admin-filters{margin:1rem 0 0}.admin-queue-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.access-card form>button{align-self:start;height:46px;margin-top:30px}.access-card fieldset label{align-items:center}.access-card fieldset input[type=radio]{flex:none;display:block;transform:translateY(-3px)}
