@font-face{font-family:GeistMono;src:url(../media/GeistMono_Variable.p.3ms9vq719j3f8.woff2)format("woff2");font-display:swap;font-weight:100 900}.geistmono_157ca88a-module__iaM1Ya__className{font-family:GeistMono,ui-monospace,SFMono-Regular,Roboto Mono,Menlo,Monaco,Liberation Mono,DejaVu Sans Mono,Courier New,monospace}.geistmono_157ca88a-module__iaM1Ya__variable{--font-geist-mono:"GeistMono", ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace}
@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-ext-wght-normal.20g3-bbbhdq0_.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-cyrillic-wght-normal.2cxlyxah-fd35.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-ext-wght-normal.0mkxydxl0e43d.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-greek-wght-normal.1rx9vjatjkdar.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-vietnamese-wght-normal.2kcj5i_8uff48.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-ext-wght-normal.3gdi_th3seg1n.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(../media/inter-latin-wght-normal.0gsaq8ukbf34m.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--app-safe-top:env(safe-area-inset-top,0px);--app-safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#070708;--background-rgb:7 7 8;--foreground:#f4f4f5;--muted:#96969f;--border:#34343a;--surface:#151518;--surface-soft:#222226;--surface-raised:linear-gradient(145deg, #ffffff07, #8b5cf605 58%, transparent), var(--surface);--primary:#8b5cf6;--primary-gradient:linear-gradient(135deg, #6d4dff 0%, #8b5cf6 48%, #c558f2 100%)}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}body{background:radial-gradient(circle at 84% -14%, #8b5cf61c, transparent 32rem), radial-gradient(circle at 12% 108%, #6841cd0d, transparent 34rem), var(--background);color:var(--foreground);margin:0;font-family:Inter Variable,Inter,Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{appearance:none;cursor:pointer;color:inherit;text-align:inherit}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-field button:hover{background:var(--surface-soft)}.password-field svg{width:19px;height:19px}.chat-route-status{min-height:calc(100dvh - 66px);color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:14px;display:grid}.chat-route-status svg{width:26px;height:26px;animation:.7s linear infinite sidebar-spin}.chat-route-status p{margin:0;font-weight:700}.chat-route-status a{color:#c4b5fd;font-weight:800}.app-shell{min-height:100vh}.sidebar{z-index:50;border-right:1px solid var(--border);will-change:transform;background:radial-gradient(circle at 12% 0,#8b5cf617,#0000 18rem),#08080a;flex-direction:column;width:272px;padding:20px 18px;transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden auto;transform:translate(0)}.app-shell.sidebar-closed .sidebar{transform:translate(-100%)}.app-shell.sidebar-open .sidebar{transform:translate(0)}.sidebar-backdrop{z-index:40;opacity:0;pointer-events:none;background:#00000073;border:0;width:100%;height:100%;transition:opacity .28s;display:none;position:fixed;inset:0}.main{transition:margin-left .28s cubic-bezier(.2,.8,.2,1)}@media (prefers-reduced-motion:reduce){.sidebar,.sidebar-backdrop,.main{transition:none}}.sidebar-top{align-items:center;margin-bottom:24px;display:flex}.sidebar-header{flex:1;align-items:center;gap:12px;min-width:0;margin-bottom:0;display:flex}.sidebar-collapse{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;flex:0 0 36px;place-items:center;display:grid}.sidebar-collapse:hover{background:var(--surface-soft);color:var(--foreground)}.sidebar-collapse svg{stroke-width:1.9px;width:21px;height:21px}.sidebar-header strong{font-size:18px;line-height:1.1;display:block}.app-logo{flex:0 0 46px;place-items:center;width:46px;height:46px;display:grid}.app-logo img{object-fit:contain;width:100%;height:100%;display:block}.sidebar-history{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-height:0;margin-right:-8px;padding-right:8px;overflow-y:auto}.sidebar-empty{color:var(--muted);margin:8px 0;font-size:13px;font-weight:600}.sidebar-chats-sentinel{min-height:12px;color:var(--muted);place-items:center;display:grid}.sidebar-chats-sentinel svg{width:18px;height:18px;animation:.7s linear infinite sidebar-spin}@keyframes sidebar-spin{to{transform:rotate(360deg)}}.sidebar-title{color:var(--muted);margin:0 0 12px;font-size:16px;font-weight:800}.sidebar-link{min-height:46px;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;border-radius:0;align-items:center;gap:12px;padding:0;font-size:17px;font-weight:500;display:flex;overflow:hidden}.sidebar-link:hover{background:0 0}.sidebar>nav .sidebar-link{border-radius:9px;padding:0 9px}.sidebar>nav .sidebar-link:hover,.sidebar>nav .sidebar-link:focus-visible{background:var(--surface);outline:none}.sidebar-chat-row{border-radius:9px;min-width:0;position:relative}.sidebar-chat-link{border-radius:inherit;width:100%;padding-left:12px;padding-right:36px}.sidebar-chat-link span{text-overflow:ellipsis;min-width:0;overflow:hidden}.sidebar-chat-actions{background:var(--surface);width:30px;height:30px;color:var(--muted);opacity:0;pointer-events:none;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.sidebar-chat-row:hover .sidebar-chat-actions,.sidebar-chat-row:focus-within .sidebar-chat-actions,.sidebar-chat-actions[aria-expanded=true]{opacity:1;pointer-events:auto}.sidebar-chat-actions:hover{background:var(--surface-soft);color:var(--foreground)}.sidebar-chat-actions svg{width:19px;height:19px}.sidebar-chat-menu{z-index:120;border:1px solid var(--border);background:#252527;border-radius:10px;width:152px;padding:4px;position:fixed;overflow:hidden;box-shadow:0 14px 40px #00000061}.sidebar-chat-menu button{color:#ff9daf;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;width:100%;min-height:40px;padding:0 10px;font-size:14px;font-weight:700;display:flex}.sidebar-chat-menu button:hover,.sidebar-chat-menu button:focus-visible{background:#ff63841c;outline:none}.sidebar-chat-menu svg{width:17px;height:17px}@media (hover:none){.sidebar-chat-actions{opacity:1;pointer-events:auto}}.sidebar-icon{width:28px;height:28px;color:var(--muted);stroke-width:2px;flex:0 0 28px}.sidebar-link.is-photo .sidebar-icon{color:#f0abfc}.sidebar-link.is-video .sidebar-icon{color:#67e8f9}.sidebar-link-pending{width:14px;height:14px;color:var(--muted);flex:none;margin-left:auto;animation:.7s linear infinite sidebar-spin}.sidebar-count{background:var(--surface-soft);color:var(--muted);border-radius:999px;margin-left:auto;padding:1px 8px;font-size:12px;font-weight:600}.sidebar-account-area{z-index:2;background:linear-gradient(#08080ab3,#08080a 18px);width:100%;margin-top:auto;padding-top:12px;position:sticky;bottom:0}.sidebar-account{background:var(--surface-soft);text-align:left;border:0;border-radius:12px;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 10px;display:grid}.sidebar-account-avatar{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:14px;font-weight:800;display:grid}.sidebar-account-copy{gap:2px;min-width:0;display:grid}.sidebar-account-copy strong,.sidebar-account-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-account-copy strong{font-size:14px}.sidebar-account-copy small{color:var(--muted);font-size:12px;font-weight:700}.sidebar-account>svg{width:18px;height:18px;color:var(--muted);transition:transform .15s}.sidebar-account>svg.is-open{transform:rotate(180deg)}.sidebar-account-menu{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;padding:6px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 16px 40px #0006}.sidebar-account-menu button,.sidebar-account-menu-status{background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:42px;padding:0 10px;font-size:14px;font-weight:700;display:flex}.sidebar-account-menu-status{color:var(--muted);cursor:default}.sidebar-account-menu button:hover{background:#414146}.sidebar-account-menu button:disabled{cursor:default;opacity:.6}.sidebar-account-menu svg{width:19px;height:19px;color:var(--muted)}.main{background:radial-gradient(at 86% -10%,#8b5cf614,#0000 40rem),radial-gradient(at 12% 106%,#6943d00b,#0000 36rem);min-width:0;min-height:100vh;position:relative}.main.chat-main .topbar{z-index:20;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;position:absolute;top:0;left:0;right:0}.main.chat-main .topbar:after{z-index:0;content:"";pointer-events:none;background:linear-gradient(#000000d1,#00000073 45%,#0000);height:96px;position:absolute;top:0;left:0;right:0}.main.chat-main .topbar .burger,.main.chat-main .topbar .topbar-brand,.main.chat-main .topbar .topbar-input{z-index:1}.topbar{background:rgb(var(--background-rgb) / 82%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:0;justify-content:center;align-items:center;gap:16px;height:66px;padding:0 24px;display:flex;position:relative}.app-mobile-topbar{display:none}.burger{width:38px;height:38px;color:var(--muted);background:0 0;border:0;display:none;position:absolute;left:28px}.burger svg{stroke-width:2px;width:25px;height:25px}.composer-tools{z-index:30;justify-content:flex-start;align-items:center;gap:8px;padding:0 4px 8px;display:flex;position:relative}.composer-menu{min-width:0;position:static}.composer-tool{border:1px solid var(--border);background:var(--surface-soft);max-width:100%;height:34px;color:var(--foreground);border-radius:10px;align-items:center;gap:7px;padding:0 11px;font-size:14px;font-weight:700;line-height:1;transition:border-color .16s,background-color .16s;display:inline-flex}.composer-tool:hover,.composer-tool[aria-expanded=true]{background:#2a2340;border-color:#a78bfa75}.composer-tool svg{width:16px;height:16px;color:var(--muted);stroke-width:2.4px;flex:none}.composer-tool .role-select-icon{color:#c4b5fd;stroke-width:2px;width:18px;height:18px}.composer-tool-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-select-logo{object-fit:contain;flex:0 0 18px;width:18px;height:18px}.model-select-logo.openai{filter:invert()}.composer-dropdown{border:1px solid var(--border);background:var(--surface);border-radius:12px;width:min(560px,100%);max-height:calc(100dvh - 180px);position:absolute;bottom:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 24px 70px #0000006b}.role-option{border:0;border-bottom:1px solid var(--border);background:var(--surface);text-align:left;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;padding:8px 12px;display:grid}.role-option:hover{background:var(--surface-soft)}.role-option.is-selected{background:#2d2738}.role-option.is-locked{color:var(--muted)}.role-option:last-child{border-bottom:0}.role-copy strong{color:var(--foreground);font-size:14px;line-height:1.2;display:block}.role-option.is-locked .role-copy strong{color:inherit}.role-copy span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:12px;font-weight:400;line-height:1.3;display:-webkit-box;overflow:hidden}.role-option.is-selected .model-status{color:var(--primary)}.model-option{border:0;border-bottom:1px solid var(--border);background:var(--surface);text-align:left;grid-template-columns:46px minmax(0,1fr) 24px;align-items:start;gap:18px;width:100%;padding:24px 28px;display:grid}.model-option.is-selected{background:#2d2738}.model-option.is-locked{color:var(--muted)}.model-option:last-child{border-bottom:0}.model-logo{background:#ffffff0d;border:1px solid #ffffff14;border-radius:50%;place-items:center;width:46px;height:46px;display:grid}.model-logo img{object-fit:contain;width:28px;height:28px}.model-logo.openai img{filter:invert()}.model-logo.deepseek{background:#4660ff1c}.model-logo.claude{background:#d977571c}.model-logo.google{background:#6b72ff17}.model-status{width:24px;height:24px;color:var(--muted);align-self:center;place-items:center;display:grid}.model-option.is-selected .model-status{color:var(--primary)}.model-status svg.is-loading{animation:.7s linear infinite sidebar-spin}.model-error{border-bottom:1px solid var(--border);color:#d9c8ff;background:#35284c;margin:0;padding:12px 18px;font-size:13px;font-weight:700}.topbar.has-upgrade-modal{z-index:120!important}.model-upgrade-backdrop{z-index:120;-webkit-backdrop-filter:blur(18px);background:#0000008c;justify-content:center;align-items:center;animation:.2s upgrade-fade;display:flex;position:fixed;inset:0}.model-upgrade-modal{background:#070708;border:1px solid #ffffff14;border-radius:24px;width:min(100%,520px);margin:16px;padding:10px 24px 24px;animation:.26s cubic-bezier(.2,.8,.2,1) upgrade-rise;position:relative;box-shadow:0 -10px 60px #0009}.model-upgrade-modal:before{content:"";background:#ffffff4d;border-radius:999px;width:72px;height:5px;margin:0 auto 26px;display:block}.model-upgrade-modal h2{letter-spacing:-.02em;margin:0;font-size:28px;font-weight:800;line-height:1.15}.model-upgrade-modal p{color:var(--muted);margin:10px 0 26px;font-size:16px;font-weight:400;line-height:1.45}.model-upgrade-action{background:var(--primary-gradient);color:#fff;border-radius:28px;justify-content:center;align-items:center;min-height:56px;font-size:17px;font-weight:700;display:flex;box-shadow:0 14px 30px #8b5cf642}.model-upgrade-action:hover{filter:brightness(1.08)}.model-upgrade-secondary{min-height:52px;color:var(--foreground);background:#ffffff0f;border:1px solid #ffffff24;border-radius:28px;justify-content:center;align-items:center;margin-top:10px;font-size:16px;font-weight:600;display:flex}.model-upgrade-secondary:hover{background:#ffffff1a}@keyframes upgrade-fade{0%{opacity:0}}@keyframes upgrade-rise{0%{opacity:0;transform:translateY(40px)}}.model-copy strong{color:var(--foreground);font-size:24px;line-height:1.15;display:block}.model-copy span{color:var(--muted);margin-top:8px;font-size:17px;font-weight:700;line-height:1.28;display:block}.composer-dropdown .model-option{grid-template-columns:32px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:8px 12px}.composer-dropdown .model-option:hover{background:var(--surface-soft)}.composer-dropdown .model-option.is-selected{background:#2d2738}.composer-dropdown .model-logo{width:32px;height:32px}.composer-dropdown .model-copy strong{font-size:14px;line-height:1.2}.composer-dropdown .model-copy span{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:12px;font-weight:400;line-height:1.3;display:-webkit-box;overflow:hidden}.content{padding:24px}.chat-page{height:100dvh;position:relative;overflow:hidden}.chat-page:after{z-index:5;content:"";pointer-events:none;background:linear-gradient(#0000,#00000080 55%,#000000d9);height:200px;position:absolute;bottom:0;left:0;right:0}.messages{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;flex-direction:column;gap:20px;width:100%;min-width:0;max-width:100%;height:100%;margin:0;padding:88px 0 170px;display:flex;overflow:hidden auto}.chat-messages-loader{color:var(--muted);flex:1;place-items:center;display:grid}.chat-messages-loader svg{width:26px;height:26px;animation:.7s linear infinite sidebar-spin}.older-messages-loader{color:var(--muted);align-self:center;font-size:13px;font-weight:700}.empty-chat-title{text-align:center;margin:auto;padding-bottom:8vh;font-size:34px;font-weight:900}.chat-welcome{box-sizing:border-box;text-align:center;width:100%;max-width:720px;margin:auto;padding:0 16px 6vh}.chat-welcome .empty-chat-title{margin:0 0 8px;padding-bottom:0}.chat-welcome-text{color:var(--muted);margin:0 0 22px;font-size:14px;font-weight:400;line-height:1.4}.chat-suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 18px;display:grid}.chat-suggestions button{border:1px solid var(--border);background:var(--surface);color:var(--muted);text-align:left;border-radius:12px;padding:12px 14px;font-size:14px;font-weight:400;line-height:1.35;transition:border-color .15s,background .15s,color .15s}.chat-suggestions button:hover{background:var(--surface-soft);color:var(--foreground);border-color:#8b5cf699}.chat-suggestions button:disabled{opacity:.6;cursor:default}.chat-promos{text-align:left;grid-template-columns:1fr 1fr;gap:10px;display:grid}.chat-promo{border:1px solid var(--border);background:var(--surface);min-height:150px;color:var(--foreground);text-align:left;border-radius:16px;align-content:end;gap:4px;padding:14px;transition:border-color .15s,transform .15s;display:grid;position:relative;overflow:hidden}.chat-promo:before{content:"";pointer-events:none;background:radial-gradient(120% 90% at 85% 0,#f0abfc6b,#0000 60%),radial-gradient(90% 70% at 0 100%,#8b5cf647,#0000 65%),linear-gradient(160deg,#ffffff0a,#0000 55%);position:absolute;inset:0}.chat-promo.is-video:before{background:radial-gradient(120% 90% at 85% 0,#67e8f966,#0000 60%),radial-gradient(90% 70% at 0 100%,#3b82f647,#0000 65%),linear-gradient(160deg,#ffffff0a,#0000 55%)}.chat-promo:hover{border-color:var(--primary);transform:translateY(-2px)}.chat-promo.is-video:hover{border-color:#67e8f9}.chat-promo b{align-items:center;gap:6px;font-size:15px;font-weight:500;display:flex;position:relative}.chat-promo b svg{width:18px;height:18px}.chat-promo span{color:var(--muted);font-size:13px;font-weight:400;position:relative}.chat-promo.is-photo b svg{color:#f472b6}.chat-promo.is-video b svg{color:#67e8f9}.chat-promo-thumbs{z-index:1;display:flex;position:absolute;top:12px;right:12px}.chat-promo-thumbs img{object-fit:cover;width:54px;height:72px;transform:rotate(var(--r,0deg));border-radius:10px;margin-left:-18px;box-shadow:0 6px 18px #00000073}.chat-promo-thumbs img:first-child{--r:-8deg}.chat-promo-thumbs img:nth-child(3){--r:8deg}.chat-promo-reel{z-index:1;place-items:center;width:140px;height:96px;display:grid;position:absolute;inset:0 0 auto auto}.chat-promo-reel svg{color:#67e8f9;opacity:.8;width:34px;height:34px}html[data-tg-fullscreen="1"]{--app-safe-top:calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px));--app-safe-bottom:var(--tg-safe-area-inset-bottom,0px)}html[data-tg-fullscreen="1"] .app-shell .topbar:after,html[data-tg-fullscreen="1"] .app-shell .app-mobile-topbar:after{z-index:0;height:var(--app-safe-top);background:rgb(var(--background-rgb));content:"";pointer-events:none;display:block;position:absolute;top:0;left:0;right:0}html[data-tg-fullscreen="1"] .app-shell .main.chat-main .topbar:after{height:var(--app-safe-top);background:rgb(var(--background-rgb));display:block}.auth-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000ad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.auth-modal{background:linear-gradient(145deg, #8b5cf62e 0%, transparent 48%), var(--surface);text-align:center;border:1px solid #a78bfa47;border-radius:22px;width:min(100%,410px);padding:30px;position:relative;box-shadow:0 24px 80px #0000007a,0 0 44px #7c4adc1a}.auth-modal-close{background:var(--surface-soft);width:34px;height:34px;color:var(--muted);border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:14px;right:14px}.auth-modal-close svg{width:18px;height:18px}.auth-modal-brand{align-items:center;gap:11px;margin:0 auto 20px;font-size:19px;font-weight:900;display:inline-flex}.auth-modal-logo{place-items:center;width:48px;height:48px;display:grid}.auth-modal-logo img{object-fit:contain;width:100%;height:100%;display:block}.auth-modal h2{margin:0;font-size:25px;line-height:1.15}.auth-modal p{color:var(--muted);margin:12px 0 0;font-size:15px;font-weight:600;line-height:1.45}.auth-modal-actions{gap:10px;margin-top:24px;display:grid}.auth-modal-actions a{border-radius:13px;justify-content:center;align-items:center;min-height:48px;font-size:15px;font-weight:900;display:flex}.auth-modal-primary{background:var(--primary-gradient);color:#fff}.auth-modal-secondary{background:var(--surface-soft)}.chat-delete-backdrop{z-index:130;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000ad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.chat-delete-dialog{background:linear-gradient(145deg, #8b5cf624 0%, transparent 48%), var(--surface);text-align:center;border:1px solid #a78bfa3d;border-radius:18px;width:min(100%,390px);padding:28px;position:relative;box-shadow:0 24px 80px #0000007a}.chat-delete-close{background:var(--surface-soft);width:32px;height:32px;color:var(--muted);border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:12px;right:12px}.chat-delete-close svg{width:17px;height:17px}.chat-delete-icon{color:#ff9daf;background:#ff638421;border-radius:14px;place-items:center;width:46px;height:46px;margin:0 auto 16px;display:grid}.chat-delete-icon svg{width:22px;height:22px}.chat-delete-dialog h2{margin:0;font-size:22px}.chat-delete-dialog p{color:var(--muted);margin:10px 0 0;font-size:14px;font-weight:600;line-height:1.45}.chat-delete-dialog .chat-delete-error{color:#ff9daf}.chat-delete-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.chat-delete-actions button{background:var(--surface-soft);text-align:center;border:0;border-radius:11px;min-height:44px;padding:0 14px;font-size:14px;font-weight:800}.chat-delete-actions button.is-danger{color:#fff;background:#d94b67}.chat-delete-actions button:disabled,.chat-delete-close:disabled{cursor:default;opacity:.58}.chat-message{gap:14px;min-width:0;max-width:min(760px,100%);display:flex}.chat-message.user{align-self:flex-end;margin-right:max(30px,50% - 420px)}.chat-message.assistant{align-self:flex-start;width:min(840px,100% - 60px);max-width:840px;margin-left:max(30px,50% - 420px)}.chat-message-body{min-width:0;max-width:100%}.chat-message.assistant .chat-message-body{width:100%}.chat-bubble{width:fit-content;min-width:0;max-width:100%;color:var(--foreground);overflow-wrap:anywhere;word-break:break-word;font-size:19px;line-height:1.35}.message-images{gap:8px;max-width:100%;margin-bottom:8px;display:flex;overflow-x:auto}.message-image{background:var(--surface-soft);border:1px solid #0000;border-radius:12px;flex:0 0 112px;place-items:center;width:112px;height:112px;display:grid;overflow:hidden}.message-image img{object-fit:cover;width:100%;height:100%;display:block}.message-image.is-unavailable{background:linear-gradient(145deg, var(--surface-soft), #7e57ff1f);border-color:#8b66ff3d}.message-image-fallback{max-width:100%;color:var(--muted);text-align:center;place-items:center;gap:7px;padding:10px;display:grid}.message-image-loading{color:var(--muted);place-items:center;display:grid}.message-image-loading svg{width:23px;height:23px;animation:.9s linear infinite message-image-spin}@keyframes message-image-spin{to{transform:rotate(360deg)}}.message-image-fallback svg{stroke-width:1.8px;width:25px;height:25px}.message-image-fallback span{font-size:11px;font-weight:700;line-height:1.2}.message-documents{gap:8px;margin-bottom:9px;display:grid}.message-document{background:#8b5cf614;border:1px solid #a78bfa33;border-radius:11px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;width:min(100%,310px);min-width:0;padding:8px 10px;display:grid}.message-document-icon{color:#b99cff;background:#8b5cf629;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.message-document-icon svg{width:19px;height:19px}.message-document>span:last-child,.message-document strong,.message-document small{min-width:0;display:block}.message-document strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3;overflow:hidden}.message-document small{color:var(--muted);margin-top:2px;font-size:9px;font-weight:800}.chat-message.is-pending .chat-bubble{color:var(--muted);font-size:14px}.chat-message.assistant .chat-bubble{width:100%;padding-top:6px}.markdown-message{overflow-wrap:anywhere;word-break:break-word;width:100%;min-width:0;max-width:100%}.markdown-message>:first-child{margin-top:0}.markdown-message>:last-child{margin-bottom:0}.markdown-message p{margin:0 0 12px}.markdown-message ul,.markdown-message ol{margin:10px 0 14px;padding-left:24px}.markdown-message li+li{margin-top:5px}.inline-code{font:.88em var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;overflow-wrap:anywhere;word-break:break-word;background:#2e2938;border-radius:6px;padding:2px 5px}.code-block{color:#e8e8eb;background:#1b1b1d;border:1px solid #3b3b40;border-radius:16px;width:100%;min-width:0;max-width:100%;margin:16px 0 22px;overflow:hidden}.code-block-header{border-bottom:1px solid #35353a;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:0 13px 0 16px;display:flex}.code-block-header>span,.code-block-header button{align-items:center;gap:8px;display:inline-flex}.code-block-header>span{font-size:14px;font-weight:800}.code-block-header button{color:#aaaab2;background:0 0;border:0;border-radius:9px;min-height:32px;padding:0 8px;font-size:12px;font-weight:700}.code-block-header button:hover{color:#fff;background:#303034}.code-block-header svg{width:17px;height:17px}.code-block pre{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;font:14px/1.55 var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;tab-size:2;margin:0;padding:18px;overflow:auto hidden}.code-block code{font:inherit;overflow-wrap:normal;word-break:normal;white-space:pre}.code-block .hljs-keyword,.code-block .hljs-selector-tag,.code-block .hljs-literal{color:#c4a5ff}.code-block .hljs-string,.code-block .hljs-attr,.code-block .hljs-template-variable{color:#8bd49c}.code-block .hljs-title,.code-block .hljs-title.function_,.code-block .hljs-section{color:#78baff}.code-block .hljs-number,.code-block .hljs-built_in,.code-block .hljs-type{color:#f3a56f}.code-block .hljs-comment,.code-block .hljs-quote{color:#8d8d96;font-style:italic}.code-block .hljs-tag,.code-block .hljs-name,.code-block .hljs-variable,.code-block .hljs-params{color:#f39aa7}.message-actions{gap:10px;margin-top:14px;display:flex}.message-actions button{background:var(--surface-soft);width:44px;height:34px;color:var(--muted);border:0;border-radius:17px;place-items:center;display:grid}.message-actions svg{stroke-width:2.2px;width:19px;height:19px}.composer-dock{z-index:30;width:min(100% - 32px,812px);margin:0 0 26px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.composer{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:8px;transition:border-color .15s;display:grid;box-shadow:0 14px 42px #00000061}.composer-row{align-items:flex-end;gap:6px;display:flex}.attachment-control{flex:none;place-items:center;display:grid;position:relative}.attachment-previews{flex-wrap:wrap;gap:8px;padding:4px 4px 8px;display:flex}.attachment-preview{border:1px solid var(--border);background:var(--surface-soft);width:64px;height:64px;color:var(--muted);border-radius:10px;place-items:center;display:grid;position:relative;overflow:hidden}.attachment-preview img{object-fit:cover;width:100%;height:100%}.attachment-preview>svg{width:24px;height:24px}.attachment-preview.is-uploading img{opacity:.45}.attachment-preview.is-failed{color:#f87171;border-color:#f87171}.attachment-preview .attachment-spin,.attachment-preview .attachment-failed-icon{color:#fff;width:20px;height:20px;position:absolute}.attachment-preview .attachment-spin{animation:.9s linear infinite attachment-spin}.attachment-preview .attachment-failed-icon{color:#f87171}.attachment-preview button{color:#fff;background:#000000a6;border:0;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;top:3px;right:3px}.attachment-preview button svg{width:12px;height:12px}@keyframes attachment-spin{to{transform:rotate(360deg)}}.attachment-button{width:40px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:10px;place-items:center;transition:background .15s,color .15s;display:inline-grid}.attachment-button:hover,.attachment-button.is-open{background:var(--surface-soft);color:var(--foreground)}.attachment-button svg{width:20px;height:20px}.attachment-menu{z-index:40;border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;min-width:200px;padding:6px;display:grid;position:absolute;bottom:46px;left:0;box-shadow:0 12px 32px #00000080}.attachment-menu button{text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;font-size:14px;font-weight:500;display:flex}.attachment-menu button:hover{background:var(--border)}.attachment-menu button.is-unavailable{color:var(--muted)}.attachment-menu svg{flex:0 0 18px;width:18px;height:18px}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.send-button{background:var(--primary-gradient);color:#fff;border:0;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;transition:background .15s,color .15s;display:grid}.send-button svg{stroke-width:2.2px;width:20px;height:20px}.send-button:disabled{background:var(--surface-soft);color:var(--muted);cursor:default;opacity:1}.send-button.is-generating:disabled{background:var(--primary-gradient);color:#fff;cursor:wait}.send-button.is-generating svg{fill:currentColor;width:16px;height:16px}.composer textarea{resize:none;min-width:0;min-height:40px;max-height:220px;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;padding:8px 4px;font-size:16px;line-height:1.5;overflow-y:auto}.composer textarea::placeholder{color:#6b6b74}.composer textarea:disabled{cursor:wait;opacity:.6}.composer-error{color:#ff9daf;margin:6px 4px 0;font-size:13px;line-height:1.3}.panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-width:820px;padding:18px}.panel+.panel{margin-top:16px}.panel h2,.panel h3{margin:0 0 12px}.panel p{color:var(--muted);line-height:1.5}.account-avatar{color:#fff;background:linear-gradient(145deg,#7550de,#a78bfa);border-radius:18px;flex:0 0 62px;place-items:center;width:62px;height:62px;font-size:24px;font-weight:850;display:grid}.language-option:focus-visible,.language-dialog-close:focus-visible{outline-offset:2px;outline:2px solid #a78bfa}.language-dialog-backdrop{z-index:140;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000b3;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.language-dialog{background:radial-gradient(circle at 12% 0%, #8b5cf62e, transparent 38%), var(--surface);scrollbar-width:thin;border:1px solid #a78bfa42;border-radius:20px;width:min(100%,560px);max-height:min(760px,100dvh - 40px);padding:24px;position:relative;overflow-y:auto;box-shadow:0 28px 90px #0000008a}.language-dialog-close{z-index:1;background:var(--surface-soft);width:34px;height:34px;color:var(--muted);border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:14px;right:14px}.language-dialog-close:hover{color:var(--foreground)}.language-dialog-close svg{width:18px;height:18px}.language-dialog-heading{align-items:center;gap:14px;padding-right:42px;display:flex}.language-dialog-icon{color:#fff;background:linear-gradient(135deg,#7545eb,#a78bfa);border-radius:14px;flex:0 0 46px;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 10px 25px #7545eb3d}.language-dialog-icon svg{width:23px;height:23px}.language-dialog-heading h2{margin:0;font-size:21px;line-height:1.2}.language-dialog-heading p{color:var(--muted);margin:5px 0 0;font-size:12px;font-weight:650;line-height:1.4}.language-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:22px;display:grid}.language-option{border:1px solid var(--border);background:#2b2b2eb8;border-radius:13px;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:10px;min-width:0;min-height:62px;padding:9px 11px;transition:border-color .16s,background .16s,transform .16s;display:grid}.language-option:hover{background:#303034;border-color:#a78bfa7a}.language-option.is-selected{background:#8b5cf624;border-color:#8b5cf6;box-shadow:inset 0 0 0 1px #a78bfa29}.language-option:disabled{cursor:wait;opacity:.62}.language-option-flag{text-align:center;font-size:25px;line-height:1}.language-option-copy,.language-option-copy strong,.language-option-copy small{min-width:0;display:block}.language-option-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25;overflow:hidden}.language-option-copy small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:800}.language-option-status{color:#b99cff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.language-option-status svg.is-loading{animation:.7s linear infinite sidebar-spin}.language-dialog-error{color:#ff9daf;text-align:center;background:#d94b671f;border-radius:10px;margin:14px 0 0;padding:10px 12px;font-size:12px;font-weight:750}@keyframes news-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.like-button{border:1px solid var(--border);background:var(--surface-soft);min-height:30px;color:var(--muted);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:5px 11px 5px 9px;font-size:12px;font-weight:650;transition:border-color .16s,background-color .16s,color .16s;display:inline-flex}.like-button svg{stroke-width:2.2px;width:15px;height:15px;transition:transform .16s}.like-button.is-liked{color:#fb7185;background:#fb71851f;border-color:#fb718566}.like-button.is-liked svg{fill:currentColor}.like-button.is-popping svg{animation:.45s cubic-bezier(.34,1.56,.64,1) like-pop}@keyframes like-pop{0%{transform:scale(.6)}55%{transform:scale(1.35)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.like-button.is-popping svg{animation:none}}.like-button:disabled{cursor:wait;opacity:.65}.like-button:not(:disabled):hover{color:#fb7185;border-color:#fb718573}.like-button:not(:disabled):hover svg{transform:scale(1.1)}.like-button:focus-visible{outline-offset:2px;outline:2px solid #a78bfa}@container subscription (max-width:920px){.plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container subscription (max-width:720px){.plans-grid{grid-template-columns:minmax(0,1fr)}.plan-card{height:auto}}@container subscription (max-width:920px){.package-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container subscription (max-width:620px){.package-plans-grid{grid-template-columns:minmax(0,1fr)}}@media (min-width:761px){.app-shell.sidebar-closed .app-mobile-topbar{z-index:20;width:auto;height:66px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0 24px;display:flex;position:fixed;top:0;left:0;right:0}.app-shell.sidebar-closed .app-mobile-topbar:after{z-index:0;content:"";pointer-events:none;background:linear-gradient(#000000d1,#00000073 45%,#0000);height:96px;position:absolute;top:0;left:0;right:0}.app-shell.sidebar-closed .app-mobile-topbar .burger{z-index:1}.sidebar-header strong{font-size:16px}.sidebar-title{font-size:14px}.sidebar-link{min-height:42px;font-size:15px}.sidebar-icon{flex-basis:25px;width:25px;height:25px}.model-option{padding:19px 22px}.model-copy strong{font-size:20px}.model-copy span{font-size:15px}.chat-bubble{font-size:17px}.composer textarea{font-size:16px}.code-block pre{font-size:13px}}@media (max-width:760px){.auth-modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.language-dialog-backdrop{align-items:end;padding:10px}.language-dialog{width:100%;max-height:calc(100dvh - 20px);padding:20px 16px calc(18px + var(--app-safe-bottom));border-radius:18px}.language-options{grid-template-columns:minmax(0,1fr)}.app-mobile-topbar{z-index:20;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;display:flex;position:fixed;top:0;left:0;right:0}.app-mobile-topbar:after{z-index:0;content:"";pointer-events:none;background:linear-gradient(#000000d1,#00000073 45%,#0000);height:96px;position:absolute;top:0;left:0;right:0}.app-mobile-topbar .burger{z-index:1}.main:not(.chat-main){padding-top:58px}.app-shell.has-chat-page{overscroll-behavior:none;width:100%;height:100dvh;min-height:0;overflow:hidden}.main.chat-main{width:100%;height:100%;overflow:hidden}.sidebar{border:0;border-radius:0 14px 14px 0;width:min(330px,100% - 28px);max-height:none;padding:18px 16px 24px;inset:0 auto 0 0;transform:translate(-100%)}.sidebar-header{gap:10px}.sidebar-top{margin-bottom:18px}.sidebar-header strong{font-size:16px}.app-logo{border-radius:12px;flex-basis:42px;width:42px;height:42px;font-size:22px}.sidebar-section{margin-top:22px}.sidebar-title{margin-bottom:10px;font-size:14px}.sidebar-link{gap:10px;min-height:42px;font-size:16px}.sidebar-icon{stroke-width:1.7px;flex-basis:25px;width:25px;height:25px}.app-shell.sidebar-default .burger{display:inline-block}.app-shell.sidebar-open .burger{display:none}.app-shell.sidebar-default .main,.app-shell.sidebar-open .main{margin-left:0}.app-shell.sidebar-default .sidebar{transform:translate(-100%)}.sidebar-backdrop{display:block}.app-shell.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.app-shell.sidebar-open .sidebar{transform:translate(0)}.hero h1{font-size:27px}.topbar{height:58px;padding:0 16px}.burger{width:36px;height:36px;font-size:27px;left:12px}.composer-tools{gap:10px;padding:0 2px 8px}.composer-tool{border-radius:12px;height:40px;padding:0 13px;font-size:14px}.composer-tool svg{width:17px;height:17px}.composer-tool .role-select-icon,.model-select-logo{width:20px;height:20px}.model-select-logo{flex-basis:20px}.composer-tool-label{max-width:36vw}.composer-dropdown{border-radius:12px;width:100%}.model-option{grid-template-columns:40px minmax(0,1fr) 20px;gap:12px;padding:16px}.model-logo{width:40px;height:40px;font-size:23px}.model-logo.google{font-size:27px}.model-copy strong{font-size:17px}.model-copy span{font-size:13px}.model-upgrade-backdrop{align-items:flex-end}.model-upgrade-modal{width:100%;padding:10px 20px max(22px, calc(var(--app-safe-bottom) + 14px));border-bottom:0;border-radius:24px 24px 0 0;margin:0}.model-upgrade-modal h2{font-size:25px}.chat-page{height:100dvh}.chat-page:after{height:180px}.empty-chat-title{padding-bottom:12vh;font-size:22px}.chat-welcome{padding-bottom:4vh}.chat-welcome .empty-chat-title{padding-bottom:0}.chat-suggestions,.chat-promos{grid-template-columns:1fr}.chat-promo{min-height:120px}.auth-modal{border-radius:16px;padding:22px 18px 18px}.content,.messages{padding-left:14px;padding-right:14px}.messages{padding-top:calc(72px + var(--app-safe-top));gap:18px;padding-bottom:168px}.chat-message{gap:10px;max-width:100%}.chat-message.user{margin-right:0}.chat-message.assistant{width:100%;max-width:100%;margin-left:0}.chat-bubble{font-size:16px;line-height:1.45}.code-block{border-radius:14px}.code-block pre{padding:15px;font-size:13px}.code-block-header button>span{display:none}.chat-message.user .chat-bubble{border-radius:20px;padding:10px 15px}.message-actions button{border-radius:18px;width:44px;height:36px}.message-actions svg{width:19px;height:19px}.composer-dock{width:calc(100% - 20px);margin-bottom:max(30px, calc(var(--app-safe-bottom) + 22px))}.composer{border-radius:16px;padding:6px}.composer textarea{min-height:38px;padding:7px 4px;font-size:16px}.attachment-button,.send-button{width:38px;height:38px}.app-mobile-topbar{pointer-events:none}.app-mobile-topbar .burger{pointer-events:auto}.plain-topbar-main .app-mobile-topbar:after{content:none}.plain-topbar-main .app-mobile-topbar .burger{border:1px solid var(--border);background:rgb(var(--background-rgb) / 55%);color:var(--foreground);-webkit-backdrop-filter:blur(10px);border-radius:11px;place-items:center;display:grid;box-shadow:0 4px 14px #00000047}.plain-topbar-main .app-mobile-topbar .burger svg{width:22px;height:22px}}.mode-select .mode-select-icon{color:#c4b5fd}.mode-select.is-image .mode-select-icon{color:#f0abfc}.mode-select.is-video .mode-select-icon{color:#67e8f9}.mode-select.is-music .mode-select-icon{color:#86efac}.mode-select.is-abstract .mode-select-icon,.mode-select.is-diploma .mode-select-icon,.mode-select.is-coursework .mode-select-icon,.mode-select.is-essay .mode-select-icon,.mode-select.is-article .mode-select-icon,.mode-select.is-translate .mode-select-icon{color:#fcd34d}.mode-dropdown{width:min(320px,100%);padding:4px}.mode-option{width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px 12px;display:grid}.mode-option:hover{background:var(--surface-soft)}.mode-option.is-selected{background:#2d2738}.mode-option>svg{color:#c4b5fd;width:18px;height:18px}.mode-option.is-image>svg{color:#f0abfc}.mode-option.is-video>svg{color:#67e8f9}.mode-option.is-music>svg{color:#86efac}.mode-option.is-abstract>svg,.mode-option.is-diploma>svg,.mode-option.is-coursework>svg,.mode-option.is-essay>svg,.mode-option.is-article>svg,.mode-option.is-translate>svg{color:#fcd34d}.mode-group-title{border-top:1px solid var(--border);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:6px 0 2px;padding:6px 12px 2px;font-size:11px;font-weight:500}.mode-copy strong{font-size:14px;line-height:1.2;display:block}.mode-copy span{color:var(--muted);margin-top:2px;font-size:12px;font-weight:400;line-height:1.3;display:block}.mode-option.is-selected .model-status{color:var(--primary)}.composer-tools.is-studio{flex-wrap:wrap}.model-cost{color:var(--muted);font-weight:600}.settings-dropdown{width:min(520px,100%);padding:6px 4px;left:auto;right:0}.settings-loading{color:var(--muted);place-items:center;margin:0;padding:18px;display:grid}.settings-section{border-bottom:1px solid var(--border);padding:8px 10px 10px}.settings-section:last-child{border-bottom:0}.settings-section.is-muted{opacity:.55}.settings-section h3{letter-spacing:.01em;text-transform:uppercase;color:var(--muted);align-items:center;gap:6px;margin:0 0 8px;font-size:13px;font-weight:800;display:flex}.settings-section h3 svg{width:13px;height:13px}.settings-hint{color:var(--muted);margin:-4px 0 8px;font-size:12px;line-height:1.35}.settings-chips{flex-wrap:wrap;gap:6px;display:flex}.settings-chip{border:1px solid var(--border);background:var(--surface-soft);min-height:30px;color:var(--foreground);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 11px;font-size:13px;font-weight:700;line-height:1.2;transition:border-color .16s,background-color .16s;display:inline-flex}.settings-chip:hover:not(:disabled){border-color:#a78bfa75}.settings-chip.is-active{background:#332a52;border-color:#a78bfa99}.settings-chip:disabled{cursor:default}.settings-chip small{color:var(--muted);font-weight:600}.settings-chip svg,.settings-toggle svg{width:14px;height:14px}.settings-chip svg.is-loading,.settings-toggle svg.is-loading,.settings-loading svg.is-loading{animation:.7s linear infinite sidebar-spin}.settings-toggle{width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:6px 2px;font-size:14px;font-weight:700;display:flex}.settings-toggle-track{background:var(--border);border-radius:999px;flex:none;width:36px;height:20px;transition:background-color .16s;position:relative}.settings-toggle.is-on .settings-toggle-track{background:var(--primary)}.settings-toggle-thumb{background:#fff;border-radius:999px;width:16px;height:16px;transition:transform .16s;position:absolute;top:2px;left:2px}.settings-toggle.is-on .settings-toggle-thumb{transform:translate(16px)}.sidebar-group{display:grid}.sidebar-group-title{width:100%;min-height:46px;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;margin:0;padding:0 9px;font-size:17px;font-weight:500;display:flex}.sidebar-group-title:hover,.sidebar-group-title.is-open{background:var(--surface)}.sidebar-group-title .sidebar-icon{color:#c4b5fd}.sidebar>nav .sidebar-sublink{min-height:38px;margin-left:18px;font-size:15px}.sidebar-sublink.is-image .sidebar-icon{color:#f0abfc}.sidebar-sublink.is-video .sidebar-icon{color:#67e8f9}.sidebar-sublink.is-music .sidebar-icon{color:#86efac}.sidebar-subgroup-title{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;margin:6px 0 2px 27px;font-size:12px;font-weight:500}.sidebar-sublink.is-document .sidebar-icon{color:#fcd34d}.sidebar>nav .sidebar-link.is-active{background:var(--surface)}.studio-page .messages{padding-bottom:calc(var(--dock-height,230px) + 30px)}.composer.is-embedded{box-shadow:none}.composer.is-embedded textarea{min-height:96px}@media (max-width:760px){.settings-dropdown{left:0;right:auto}.composer-tools .settings-menu{margin-left:0}.studio-page .messages{padding-bottom:calc(var(--dock-height,270px) + 30px)}}@media (max-width:520px){.composer-tools{flex-wrap:wrap-reverse;gap:8px}.composer-tools .composer-menu{flex:calc(50% - 4px);max-width:calc(50% - 4px)}.composer-tools .composer-tool{justify-content:space-between;width:100%}.composer-tools .composer-tool-label{text-align:left;flex:1;max-width:none}.composer-tools .settings-menu{margin-left:0}}.model-select-emoji{flex:none;font-size:17px;line-height:1}.model-logo.model-logo-emoji{background:0 0;place-items:center;font-size:20px;line-height:1;display:grid}:root{--background:#09090c;--background-rgb:9 9 12;--foreground:#f4f4f6;--muted:#9a9aa6;--border:#ffffff14;--surface:#18181d;--surface-soft:#232329;--surface-raised:var(--surface);--primary:#8b5cf6;--primary-gradient:linear-gradient(135deg, #6d4dff 0%, #8b5cf6 48%, #c558f2 100%);--accent-soft:#b9a6ff;--ok:#5eead4;--r-sm:12px;--r-md:20px;--sidebar-width:260px;--tabbar-height:60px}html,body{overflow-x:clip}body{background:var(--background)}.main{background:0 0}.sidebar{width:var(--sidebar-width);border-right:1px solid var(--border);background:var(--surface);padding:16px 12px}.app-shell.sidebar-default .main,.app-shell.sidebar-open .main{margin-left:var(--sidebar-width)}.sidebar-top{margin-bottom:14px}.sidebar-header{gap:10px;padding:4px 6px}.sidebar-header strong{font-size:15px;font-weight:700}.app-logo{border-radius:9px;flex-basis:28px;width:28px;height:28px;overflow:hidden}.sidebar-collapse{border-radius:var(--r-sm);flex-basis:30px;width:30px;height:30px}.sidebar>nav{gap:2px;display:grid}.sidebar>nav .sidebar-link,.sidebar-group-title{border-radius:var(--r-sm);gap:10px;min-height:40px;padding:0 10px;font-size:14px;font-weight:500}.sidebar>nav .sidebar-link:hover,.sidebar>nav .sidebar-link:focus-visible,.sidebar>nav .sidebar-link.is-active,.sidebar-group-title:hover{background:var(--surface-soft)}.sidebar>nav .sidebar-link.is-active .sidebar-icon{color:var(--accent-soft)}.sidebar-icon{box-sizing:border-box;width:28px;height:28px;color:var(--muted);stroke-width:2px;border-radius:8px;flex-basis:28px;padding:5px}.sidebar>nav .sidebar-link.is-new-chat{background:var(--primary-gradient);color:#fff;margin-bottom:6px;font-weight:600}.sidebar>nav .sidebar-link.is-new-chat:hover{filter:brightness(1.1)}.sidebar-link.is-new-chat .sidebar-icon{color:#fff}.sidebar-group-title.is-create,.sidebar>nav .sidebar-link.is-photo,.sidebar>nav .sidebar-link.is-video{font-weight:600}.sidebar-group-title.is-create .sidebar-icon,.sidebar>nav>.sidebar-link.is-photo .sidebar-icon,.sidebar>nav>.sidebar-link.is-video .sidebar-icon{color:#fff;padding:6px}.sidebar-group-title.is-create .sidebar-icon{color:var(--accent-soft);background:#8b5cf633}.sidebar>nav>.sidebar-link.is-photo .sidebar-icon{background:#c84fe6}.sidebar>nav>.sidebar-link.is-video .sidebar-icon{background:#5b6cf0}.sidebar-sublink .sidebar-icon{color:var(--muted);background:0 0;padding:5px}.sidebar>nav>.sidebar-link.is-photo{margin-top:12px;position:relative}.sidebar>nav>.sidebar-link.is-photo:before{background:var(--border);content:"";height:1px;position:absolute;top:-7px;left:10px;right:10px}.sidebar-group-chevron{width:16px;height:16px;color:var(--muted);margin-left:auto}.sidebar-sublink{font-weight:500}.sidebar-subgroup-title{padding-left:10px}.sidebar-count{background:var(--surface-soft);font-size:11px}.sidebar-section{margin-top:18px}.sidebar-title{letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px;padding:0 10px;font-size:11px;font-weight:600}.sidebar-chat-row{border-radius:var(--r-sm)}.sidebar-chat-row:hover,.sidebar-chat-row:focus-within{background:var(--surface-soft)}.sidebar-chat-link{min-height:36px;color:var(--muted);padding-left:10px;font-size:13px;font-weight:500}.sidebar-chat-row:hover .sidebar-chat-link,.sidebar-chat-link.is-active{color:var(--foreground)}.sidebar-account-area{background:linear-gradient(to bottom, #18181d00, var(--surface) 14px)}.sidebar-account{border-radius:var(--r-md);background:var(--surface-soft)}.sidebar-account:hover,.sidebar-account[aria-expanded=true]{background:#2b2b32}.sidebar-account-avatar{background:linear-gradient(135deg,#7c3aed,#a855f7 60%,#c4b5fd);border-radius:11px}.sidebar-account-copy strong{font-size:13px;font-weight:600}.sidebar-account-copy small{font-size:11px;font-weight:500}.sidebar-account-menu{border-radius:var(--r-md);background:var(--surface-soft);box-shadow:none}.topbar,.main.chat-main .topbar,.app-mobile-topbar{height:calc(56px + var(--app-safe-top));padding:calc(10px + var(--app-safe-top)) 12px 0;-webkit-backdrop-filter:none;pointer-events:none;background:0 0;border-bottom:0;justify-content:space-between;align-items:flex-start;gap:8px;-webkit-mask-image:none;mask-image:none}.topbar:before,.main.chat-main .topbar:before,.app-mobile-topbar:before{z-index:-1;height:calc(124px + var(--app-safe-top));opacity:0;content:"";pointer-events:none;background:linear-gradient(#09090cf7 0%,#09090ced 38%,#09090cc7 62%,#09090c73 82%,#09090c26 94%,#09090c00 100%);transition:opacity .25s;position:absolute;top:0;left:0;right:0}html.is-scrolled .topbar:before,html.is-scrolled .main.chat-main .topbar:before,html.is-scrolled .app-mobile-topbar:before{opacity:1}.topbar.is-static,.app-mobile-topbar.is-static,.app-shell.sidebar-closed .app-mobile-topbar.is-static{position:relative!important}.topbar.is-static:before,.app-mobile-topbar.is-static:before{display:none}.main:not(.chat-main):has(>.is-static){padding-top:0!important}.topbar>*,.app-mobile-topbar>*{pointer-events:auto}.sticky-filters{z-index:25;top:calc(56px + var(--app-safe-top));pointer-events:none;margin:0 -16px;padding:4px 16px 8px;position:sticky}.sticky-filters>*{pointer-events:auto}.sticky-filters .glass{-webkit-backdrop-filter:blur(12px);background:#ffffff1a}.topbar-title.is-editable{max-width:min(60vw,420px);color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:text;background:0 0;border:0;border-radius:10px;align-items:center;gap:6px;padding:6px 10px;font-weight:600;display:inline-flex;overflow:hidden}.topbar-title.is-editable:hover{background:var(--surface)}.topbar-spin{width:14px;height:14px;animation:.7s linear infinite sidebar-spin}.topbar-input{top:calc(10px + var(--app-safe-top));background:var(--surface);width:min(60vw,420px);height:36px;color:var(--foreground);font:inherit;text-align:center;border:0;border-radius:10px;outline:0;padding:0 12px;font-size:15px;font-weight:600;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #8b5cf68c}.main.chat-main .topbar:after,.app-mobile-topbar:after{display:none}.burger,.topbar-action{border-radius:var(--r-sm);background:var(--surface);width:36px;height:36px;color:var(--foreground);border:0;flex:none;place-items:center;display:grid;position:static}.burger svg,.topbar-action svg{stroke-width:2px;width:18px;height:18px}.app-shell.sidebar-default .burger,.app-shell.sidebar-open .burger{display:none}.app-shell.sidebar-closed .burger{display:grid}.topbar-brand{top:calc(10px + var(--app-safe-top));white-space:nowrap;align-items:center;gap:8px;height:36px;font-size:15px;font-weight:700;display:flex;position:absolute;left:50%;transform:translate(-50%)}.topbar-brand img{border-radius:8px}.topbar-title{font-weight:600}.topbar-action{margin-left:auto}.app-mobile-topbar,.app-shell.sidebar-closed .app-mobile-topbar{z-index:20;border-radius:0;width:auto;height:56px;padding:0 12px;display:flex;position:sticky;top:0}.main:not(.chat-main){padding-top:0}.tabbar{display:none}.chat-welcome{text-align:left;max-width:760px;padding:0 16px 4vh}.chat-eyebrow{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:6px;margin:0 0 8px;font-size:11px;font-weight:600;display:flex}.chat-eyebrow i{background:var(--ok);border-radius:50%;width:7px;height:7px}.chat-welcome .empty-chat-title{letter-spacing:-.025em;text-align:left;text-wrap:balance;margin:0 0 18px;font-size:34px;font-weight:800;line-height:1.08}.chat-welcome-text{display:none}.chat-suggestions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}.chat-suggestions button{border-radius:var(--r-md);background:var(--surface);min-height:92px;color:var(--foreground);border:0;align-content:start;gap:10px;padding:14px;font-size:13px;font-weight:500;line-height:1.3;display:grid}.chat-suggestions button:hover{background:var(--surface-soft);color:var(--foreground)}.chat-suggestion-icon{background:var(--surface-soft);border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.chat-suggestion-icon svg{stroke-width:2px;width:15px;height:15px}.studio-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--foreground);text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;transition:background .15s;display:grid}.studio-card:hover{background:var(--surface-soft)}.studio-card h3{margin:0;font-size:16px;font-weight:700}.studio-card p{color:var(--muted);margin:3px 0 0;font-size:12px}.studio-card-chips{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.studio-card-chips span{background:var(--surface-soft);color:var(--muted);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:600}.studio-card-thumbs{flex:none;width:112px;height:88px;position:relative}.studio-card-thumbs img{border:2px solid var(--surface);object-fit:cover;border-radius:10px;width:58px;height:76px;position:absolute;box-shadow:0 8px 20px #00000073}.studio-card-thumbs img:first-child{top:10px;left:0;transform:rotate(-10deg)}.studio-card-thumbs img:nth-child(2){z-index:1;top:2px;left:27px;transform:rotate(-2deg)}.studio-card-thumbs img:nth-child(3){z-index:2;top:8px;left:54px;transform:rotate(8deg)}.studio-card-thumbs.is-empty{width:72px;color:var(--accent-soft);place-items:center;display:grid}.studio-card-thumbs.is-empty svg{width:32px;height:32px}.chat-bubble{font-size:16px;line-height:1.5}.chat-message.user .chat-bubble{background:var(--surface-soft);border-radius:18px 18px 4px;padding:10px 14px}.message-actions{gap:6px;margin-top:10px}.message-actions button{background:var(--surface);border-radius:10px;width:30px;height:30px}.message-actions svg{width:15px;height:15px}.composer{border:1px solid var(--border);background:var(--surface);box-shadow:none;border-radius:22px;padding:12px 12px 10px}.composer:focus-within{border-color:#8b5cf68c}.composer-row{gap:8px}.composer textarea{padding:8px 2px;font-size:16px}.attachment-button,.send-button{border-radius:var(--r-sm);width:36px;height:36px}.attachment-button{background:var(--surface-soft);color:var(--foreground)}.send-button:disabled{background:var(--surface-soft);color:var(--muted)}.composer-tools{flex-wrap:wrap;gap:6px;padding:10px 0 0}.composer-tool{border-radius:var(--r-sm);background:var(--surface-soft);border:0;height:30px;padding:0 10px;font-size:12px;font-weight:600}.composer-tool:hover,.composer-tool[aria-expanded=true]{background:#2b2b32;border:0}.composer-tool svg{width:13px;height:13px;color:var(--muted)}.composer-tools .settings-menu{margin-left:0}.composer-tools.is-studio{margin:0;padding:10px 0 0;position:static}.composer.is-embedded .composer-tools.is-studio{padding-top:8px}.composer-dropdown,.mode-dropdown,.model-dropdown,.role-dropdown,.settings-dropdown{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);width:min(380px,100%);padding:6px;box-shadow:0 24px 60px #00000080}.settings-dropdown{width:min(440px,100%)}.mode-option,.composer-dropdown .model-option,.role-option{border-radius:var(--r-sm);background:0 0;border:0;grid-template-columns:32px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:8px 10px;transition:background .15s}.role-option{grid-template-columns:minmax(0,1fr) 20px}.mode-option:hover,.composer-dropdown .model-option:hover,.role-option:hover{background:var(--surface-soft)}.mode-option.is-selected,.composer-dropdown .model-option.is-selected,.role-option.is-selected{background:#8b5cf629}.mode-option>svg,.composer-dropdown .model-logo{box-sizing:border-box;background:var(--surface-soft);border:0;border-radius:10px;width:32px;height:32px}.mode-option>svg,.mode-option[class*=is-]>svg{color:var(--accent-soft);padding:7px}.composer-dropdown .model-logo img{width:18px;height:18px}.mode-copy strong,.model-copy strong,.role-copy strong{font-size:14px;font-weight:600;line-height:1.25}.mode-copy span,.model-copy span,.role-copy span{color:var(--muted);margin-top:2px;font-size:12px;font-weight:400;line-height:1.3}.model-status{color:var(--accent-soft)}.model-status svg{width:16px;height:16px}.mode-group-title,.settings-section h3{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;border:0;margin:8px 0 2px;padding:6px 10px 4px;font-size:11px;font-weight:600}.settings-section{border:0;padding:4px 4px 8px}.settings-section h3{margin:0 0 6px;padding:6px 6px 0}.settings-hint{margin:0 6px 8px}.settings-chips{padding:0 6px}.settings-chip{border-radius:var(--r-sm);background:var(--surface-soft);border:0;min-height:30px;padding:4px 10px;font-size:12px;font-weight:600}.settings-chip.is-active{color:var(--accent-soft);background:#8b5cf62e}.model-error{border-radius:var(--r-sm);color:var(--accent-soft);background:#8b5cf61f;border:0;margin:4px;padding:10px 12px;font-weight:500}@media (max-width:1023px){.app-shell.sidebar-default .main,.app-shell.sidebar-open .main{margin-left:0}.app-shell.sidebar-default .sidebar{transform:translate(-100%)}.app-shell.sidebar-open .sidebar{transform:translate(0)}.sidebar{border-right:0;border-radius:0 24px 24px 0;width:min(300px,100% - 40px);padding:16px 12px 20px}.sidebar-backdrop{display:block}.app-shell.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.app-shell.sidebar-default .burger,.app-shell.sidebar-closed .burger{display:grid}.app-shell.sidebar-open .burger{display:none}}@media (max-width:760px){.sidebar>nav .sidebar-link,.sidebar-group-title{min-height:42px;font-size:15px}.sidebar-icon{stroke-width:2px;flex-basis:28px;width:28px;height:28px;padding:5px}.topbar,.app-mobile-topbar{height:calc(124px + var(--app-safe-top));padding:12px 12px 0}.app-mobile-topbar:after{display:none}.app-mobile-topbar,.app-shell.sidebar-closed .app-mobile-topbar{height:calc(56px + var(--app-safe-top));position:fixed;left:0;right:0}.topbar-brand,.topbar-input{top:calc(10px + var(--app-safe-top))}.sticky-filters{top:calc(56px + var(--app-safe-top));margin:0 -12px;padding:4px 12px 8px}.main:not(.chat-main){padding-top:calc(62px + var(--app-safe-top));padding-bottom:calc(var(--tabbar-height) + var(--app-safe-bottom) + 28px)}.tabbar{z-index:35;right:16px;bottom:calc(12px + var(--app-safe-bottom));height:var(--tabbar-height);-webkit-backdrop-filter:blur(22px)saturate(140%);background:#18181dc7;border:1px solid #ffffff14;border-radius:999px;grid-template-columns:repeat(4,1fr);padding:5px;display:grid;position:fixed;left:16px}.tabbar-item{color:var(--muted);border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;display:flex;position:relative}.tabbar-item svg{stroke-width:2px;width:21px;height:21px}.tabbar-item.is-active{color:var(--foreground);background:#ffffff1a}.tabbar-item.is-active:before{content:none}.chat-welcome .empty-chat-title{font-size:30px}.chat-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-promos{grid-template-columns:1fr}.chat-bubble{font-size:15px}.messages{padding-top:calc(64px + var(--app-safe-top));padding-bottom:calc(var(--tabbar-height) + var(--app-safe-bottom) + 190px)}.composer-dock{width:calc(100% - 24px);margin-bottom:calc(var(--tabbar-height) + var(--app-safe-bottom) + 24px)}.composer{border-radius:22px;padding:10px 10px 8px}.composer-tool{border-radius:var(--r-sm);height:30px;padding:0 10px;font-size:12px}.composer-tool svg{width:13px;height:13px}.composer-tool-label{max-width:30vw}}@media (max-width:520px){.composer-tools{flex-wrap:wrap;gap:6px}.composer-tools .composer-menu{flex:calc(50% - 3px);max-width:calc(50% - 3px)}.composer-tools .composer-tool{justify-content:space-between;width:100%}}.chat-page:after{background:linear-gradient(#09090c00 0%,#09090c73 35%,#09090cd9 65%,#09090cf7 100%);height:180px}.topbar,.main.chat-main .topbar,.app-mobile-topbar,.app-shell.sidebar-closed .app-mobile-topbar,.app-shell.sidebar-open .app-mobile-topbar{-webkit-backdrop-filter:none!important;box-shadow:none!important;height:calc(56px + var(--app-safe-top))!important;padding-top:calc(10px + var(--app-safe-top))!important;background:0 0!important;border:0!important}.app-shell .burger.is-back{display:grid}.language-dialog-backdrop{z-index:140;-webkit-backdrop-filter:none;background:#000000b8;padding:20px}.language-dialog{border:1px solid var(--border);background:var(--surface);width:min(100%,480px);max-height:calc(100dvh - 40px);box-shadow:none;border-radius:24px;padding:20px 16px 16px}.language-dialog-close{background:var(--surface-soft);width:36px;height:36px;color:var(--foreground);border-radius:12px;top:12px;right:12px}.language-dialog-heading{gap:0;padding-right:44px}.language-dialog-icon{display:none}.language-dialog-heading h2{letter-spacing:-.02em;font-size:20px;font-weight:800}.language-dialog-heading p{margin-top:4px;font-size:13px;font-weight:400}.language-options{background:var(--surface-soft);border-radius:16px;grid-template-columns:1fr;gap:0;margin-top:16px;overflow:hidden}.language-option{border:0;border-top:1px solid var(--border);min-height:52px;color:var(--foreground);box-shadow:none;background:0 0;border-radius:0;align-items:center;gap:12px;padding:0 14px;transition:background .15s;display:flex}.language-option:first-child{border-top:0}.language-option:hover{background:#2b2b32;transform:none}.language-option.is-selected,.language-option.is-selected:hover{border-color:var(--border);box-shadow:none;background:#8b5cf624}.language-option:active{transform:none}.language-option:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.language-option.is-selected .language-option-status{background:0 0}.language-option-flag{width:auto;height:auto;box-shadow:none;background:0 0;font-size:20px}.language-option-copy{flex:1;align-items:baseline;gap:8px;min-width:0;display:flex}.language-option-copy strong{font-size:15px;font-weight:600}.language-option-copy small{color:var(--muted);letter-spacing:.06em;font-size:11px;font-weight:600}.language-option-status{color:#b9a6ff;background:0 0;width:24px;height:24px}.language-option-status svg{width:18px;height:18px}.language-dialog-error{color:#fda4af;background:#fda4af1a;border-radius:12px;margin:12px 0 0;padding:10px 12px;font-size:13px}@media (max-width:760px){.language-dialog-backdrop{place-items:end stretch;padding:0}.language-dialog{width:100%;max-height:min(92dvh, calc(100dvh - var(--app-safe-top) - 12px));padding-bottom:calc(16px + var(--app-safe-bottom));border:0;border-radius:24px 24px 0 0}}.main.chat-main .topbar:before,html .main.chat-main .topbar:before{opacity:1}html .main.chat-main .topbar:before{height:calc(78px + var(--app-safe-top));background:linear-gradient(to bottom, #09090cf5 0%, #09090ce6 calc(var(--app-safe-top) + 40px), #09090c8c calc(var(--app-safe-top) + 58px), #09090c00 100%)}.composer-popover{z-index:200;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;align-content:start;gap:2px;min-width:0;display:grid;position:fixed;overflow:hidden auto}.composer-sheet-backdrop{z-index:200;background:#0009;align-items:flex-end;animation:.18s ease-out composer-fade;display:flex;position:fixed;inset:0}.composer-popover.is-sheet{width:100%;max-width:none;max-height:82dvh;padding:6px 8px calc(12px + var(--app-safe-bottom));box-shadow:none;border:0;border-radius:24px 24px 0 0;animation:.22s ease-out composer-sheet-in;position:relative;inset:auto}.composer-sheet-handle{z-index:1;background:#ffffff38;border-radius:2px;width:36px;height:4px;margin:4px auto 10px;display:block;position:sticky;top:0}@keyframes composer-fade{0%{opacity:0}}@keyframes composer-sheet-in{0%{opacity:.6;transform:translateY(24px)}}.composer-popover.is-sheet .mode-option,.composer-popover.is-sheet .model-option,.composer-popover.is-sheet .role-option{min-height:52px;padding:10px 12px}.model-copy strong .model-cost{color:var(--muted);font-size:inherit;margin:0;font-weight:500;display:inline}@media (max-width:760px){.studio-page .messages{padding-bottom:calc(var(--dock-height,270px) + var(--tabbar-height) + var(--app-safe-bottom) + 44px)}}.model-upgrade-backdrop,.auth-modal-backdrop{z-index:210;-webkit-backdrop-filter:none;background:#000000a6}.model-upgrade-modal,.auth-modal{border:1px solid var(--border);background:var(--surface);width:min(100% - 32px,440px);box-shadow:none;border-radius:24px;margin:0;padding:22px 20px 20px}button.model-upgrade-action{cursor:pointer;width:100%;font-family:inherit}.auth-modal-backdrop{animation:.2s upgrade-fade}.auth-modal{animation:.26s cubic-bezier(.2,.8,.2,1) upgrade-rise}.model-upgrade-modal:before{content:none}.model-upgrade-modal h2,.auth-modal h2{color:#fff;letter-spacing:-.02em;margin:0;font-size:22px;font-weight:800;line-height:1.2}.model-upgrade-modal p,.auth-modal p{color:#c2c2cc;margin:8px 0 18px;font-size:14px;line-height:1.5}.model-upgrade-action,.auth-modal-primary{background:var(--primary-gradient);color:#fff;min-height:48px;box-shadow:none;border:0;border-radius:14px;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.model-upgrade-secondary,.auth-modal-secondary{background:var(--surface-soft);min-height:48px;color:var(--foreground);border:0;border-radius:14px;justify-content:center;align-items:center;margin-top:8px;font-size:15px;font-weight:600;display:flex}.model-upgrade-secondary:hover,.auth-modal-secondary:hover{background:#2b2b32}.auth-modal-actions{gap:0;display:grid}.auth-modal-actions a{margin:0}.auth-modal-actions a+a{margin-top:8px}.auth-modal-brand{justify-content:flex-start;gap:10px;margin-bottom:14px}.auth-modal-logo{width:36px;height:36px;box-shadow:none;background:0 0;border-radius:12px}.auth-modal-close{background:var(--surface-soft);width:36px;height:36px;color:var(--foreground);border-radius:12px;top:12px;right:12px}@media (max-width:760px){.model-upgrade-backdrop,.auth-modal-backdrop{justify-content:stretch;align-items:flex-end;padding:0}.model-upgrade-modal,.auth-modal{width:100%;padding:22px 16px calc(16px + var(--app-safe-bottom));border:0;border-radius:24px 24px 0 0}}.channel-gate-list{grid-template-columns:minmax(0,1fr);gap:8px;max-height:min(42vh,320px);margin:0 0 14px;padding:0;list-style:none;display:grid;overflow-y:auto}.channel-gate-link{background:var(--surface-soft);min-height:52px;color:var(--foreground);border-radius:14px;align-items:center;gap:12px;padding:8px 12px;font-size:15px;font-weight:600;display:flex}.channel-gate-link:hover{background:#2b2b32}.channel-gate-icon{background:var(--primary-gradient);color:#fff;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;display:grid}.channel-gate-icon svg{width:18px;height:18px}.channel-gate-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.channel-gate-chevron{color:#8a8a96;flex:none;width:18px;height:18px}.channel-gate-note{color:#fca5a5;background:#f871711f;border-radius:12px;margin:-6px 0 14px;padding:10px 12px;font-size:13px;line-height:1.4}.channel-gate .model-upgrade-action{gap:8px}.channel-gate .model-upgrade-action:disabled{cursor:default;opacity:.7}.channel-gate-spin{width:18px;height:18px;animation:.9s linear infinite channel-gate-spin}@keyframes channel-gate-spin{to{transform:rotate(360deg)}}@media (max-width:700px){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select{font-size:max(16px,1em)}}.burger.is-placeholder{visibility:hidden;pointer-events:none}@media (max-width:1023px){.sidebar{padding-top:calc(16px + var(--app-safe-top));padding-bottom:calc(20px + var(--app-safe-bottom))}}
