:root{--bg:#090b17;--panel:#101426;--panel-2:#141a2d;--line:rgba(172,184,225,.13);--text:#f5f6ff;--muted:#9099b7;--soft:#c1c8df;--accent:#a48bff;--accent-2:#73d8d1;--danger:#ff929b;--success:#6cddb2;--shadow:0 30px 90px rgba(0,0,0,.34);color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif}body{min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.ambient{position:fixed;z-index:0;pointer-events:none;filter:blur(90px);opacity:.2;border-radius:50%}.ambient-one{width:440px;height:440px;background:#7254d8;top:-250px;left:9%}.ambient-two{width:380px;height:380px;background:#277b89;right:-210px;bottom:-150px;opacity:.14}.hidden{display:none!important}
.auth-layout{position:relative;z-index:1;min-height:100vh;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(420px,1fr) minmax(470px,.92fr);padding:24px;gap:22px}.intro-panel{position:relative;min-height:calc(100vh - 48px);border:1px solid var(--line);border-radius:30px;padding:clamp(32px,5vw,76px);background:linear-gradient(145deg,rgba(35,39,70,.92),rgba(17,23,43,.92) 50%,rgba(13,29,42,.95));overflow:hidden;display:flex;flex-direction:column}.intro-panel:before{content:"";position:absolute;width:540px;height:540px;right:-240px;top:12%;border:1px solid rgba(177,160,255,.1);border-radius:50%;box-shadow:0 0 0 42px rgba(177,160,255,.025),0 0 0 95px rgba(177,160,255,.02),0 0 100px rgba(137,113,239,.12)}.intro-panel:after{content:"✳";position:absolute;right:9%;top:29%;font-size:clamp(130px,18vw,260px);font-weight:400;color:rgba(178,160,255,.08);transform:rotate(-17deg)}.brand,.sidebar-brand{display:flex;align-items:center;gap:11px;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;letter-spacing:.03em}.brand-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:linear-gradient(140deg,#a28aff,#6e76e9);color:#fff;font-size:22px;box-shadow:0 8px 24px rgba(137,112,244,.26)}.brand-ai{color:#a995ff;margin-left:3px}.intro-copy{position:relative;z-index:2;margin:auto 0 42px;max-width:600px}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:800;color:#a99aff}.intro-copy .eyebrow{display:flex;align-items:center;gap:10px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 15px var(--success)}.intro-copy h1{font-family:Manrope,sans-serif;font-size:clamp(39px,5vw,68px);line-height:1.12;letter-spacing:-.055em;margin:24px 0 20px}.intro-copy h1 span{color:#aa98ff}.intro-copy p{font-size:16px;line-height:1.75;color:#aeb7d2;max-width:420px}.feature-stack{position:relative;z-index:2;display:grid;gap:13px;max-width:430px}.feature-item{display:flex;align-items:center;gap:15px;border:1px solid rgba(196,202,241,.1);background:rgba(13,18,34,.42);border-radius:15px;padding:13px 15px;backdrop-filter:blur(10px)}.feature-icon{width:36px;height:36px;border-radius:11px;background:rgba(161,139,255,.12);color:#b4a4ff;display:grid;place-items:center;font-size:19px}.feature-item b,.feature-item small{display:block}.feature-item b{font-size:13px;font-weight:700}.feature-item small{font-size:11px;color:#8490b1;margin-top:3px}.intro-foot{position:relative;z-index:2;margin-top:38px;color:#7682a2;font-size:11px;display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 12px rgba(108,221,178,.5);flex:none}
.auth-side{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:22px 30px}.auth-topline,.auth-bottom{width:min(440px,100%);display:flex;align-items:center;justify-content:space-between;color:#7783a3;font-size:11px}.auth-card{width:min(440px,100%);padding:38px 38px 28px;background:linear-gradient(150deg,rgba(19,25,46,.96),rgba(13,18,34,.96));border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow);backdrop-filter:blur(20px);margin:20px 0}.auth-card-heading{text-align:center}.auth-emblem{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 15px;border-radius:16px;background:linear-gradient(145deg,rgba(157,133,255,.23),rgba(86,193,190,.1));border:1px solid rgba(177,160,255,.24);font-size:25px;color:#b4a3ff}.auth-card-heading .eyebrow{margin-bottom:8px}.auth-card h2,.modal-card h2{font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-.04em;margin:0}.auth-card-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin:9px auto 0;max-width:320px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:25px 0 22px;background:#0a0e1d;border:1px solid rgba(170,183,229,.08);border-radius:12px}.auth-tab{padding:10px;border:0;border-radius:9px;background:transparent;color:#7f8bab;font-size:13px;font-weight:700;transition:.2s}.auth-tab.active{color:white;background:linear-gradient(120deg,#292b4c,#242b49);box-shadow:0 4px 14px rgba(0,0,0,.18)}.field-label{display:block;font-size:12px;font-weight:700;color:#c6cce0;margin:0 0 8px}.input-wrap{height:49px;display:flex;align-items:center;gap:10px;background:#0b1020;border:1px solid #28314c;border-radius:12px;padding:0 13px;transition:border .2s,box-shadow .2s}.input-wrap:focus-within{border-color:#907df3;box-shadow:0 0 0 3px rgba(144,125,243,.12)}.input-icon{color:#7886ac;font-size:16px;width:17px;text-align:center}.input-wrap input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);height:100%;font-size:13px}.input-wrap input::placeholder{color:#596582}.password-heading{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.password-heading .field-label{margin:0}.text-button{border:0;background:transparent;color:#ac9bff;font-size:11px;font-weight:700;padding:3px 0}.text-button:hover{text-decoration:underline}.password-toggle{border:0;background:transparent;color:#8590ad;font-size:16px;padding:5px}.field-hint{margin:8px 0 0;color:#6f7b9b;font-size:10px}.primary-button{width:100%;height:49px;margin-top:22px;padding:0 17px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:linear-gradient(105deg,#8c75f2,#756fe5 55%,#5d9fcb);color:white;font-weight:800;font-size:13px;box-shadow:0 10px 26px rgba(119,105,231,.24);transition:transform .18s,filter .18s}.primary-button:hover{transform:translateY(-1px);filter:brightness(1.07)}.button-arrow{margin-left:auto;font-size:18px}.auth-divider{display:flex;align-items:center;gap:12px;margin:23px 0 13px}.auth-divider span{height:1px;flex:1;background:var(--line)}.auth-divider small{font-size:9px;letter-spacing:.12em;color:#606d8b}.auth-legal{text-align:center;color:#697592;font-size:10px;line-height:1.7;margin:0}.auth-bottom{margin-top:auto}.notice{border-radius:11px;padding:11px 13px;font-size:11px;line-height:1.6;margin:14px 0 0;white-space:pre-wrap}.notice-success{background:rgba(63,184,133,.1);border:1px solid rgba(100,222,170,.22);color:#9be3c5}.notice-error{background:rgba(224,97,117,.1);border:1px solid rgba(255,146,155,.23);color:#ffb0b6}.notice-info{background:rgba(122,142,207,.1);border:1px solid rgba(122,142,207,.2);color:#b7c7ef}.resend-box{display:flex;justify-content:center;align-items:center;gap:9px;margin-top:13px;color:#8e9abb;font-size:11px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.025);color:#aab4d1;font-size:17px}.icon-button:hover{border-color:rgba(172,153,255,.5);color:#fff}
.app-layout{position:relative;z-index:1;height:100vh;min-height:600px;display:grid;grid-template-columns:270px 1fr}.sidebar{display:flex;flex-direction:column;padding:23px 16px 14px;border-right:1px solid var(--line);background:rgba(11,15,29,.9);min-height:0}.sidebar-brand{font-size:19px;padding:0 8px 27px}.sidebar-brand .brand-symbol{width:32px;height:32px;border-radius:11px;font-size:20px}.beta-pill{margin-left:auto;padding:4px 7px;border-radius:6px;background:rgba(163,139,255,.12);color:#a997ff;font:800 8px 'DM Sans',sans-serif;letter-spacing:.1em}.new-chat-button{height:44px;border-radius:12px;border:1px solid rgba(169,150,255,.28);background:linear-gradient(105deg,rgba(142,118,242,.16),rgba(95,126,194,.08));color:#e7e3ff;text-align:left;padding:0 14px;font-weight:700;font-size:12px}.new-chat-button span{font-size:18px;margin-right:8px;color:#b4a4ff}.sidebar-section-title{font-size:9px;letter-spacing:.17em;color:#687494;font-weight:800;padding:28px 8px 12px}.chat-list{overflow:auto;display:grid;align-content:start;gap:4px}.chat-item{display:flex;align-items:center;gap:8px;min-width:0;border:0;border-radius:9px;background:transparent;color:#9aa5c3;padding:10px 9px;text-align:left;font-size:11px}.chat-item:hover,.chat-item.active{background:rgba(135,145,201,.1);color:#e9ebfb}.chat-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.chat-delete{border:0;background:transparent;color:#687493;opacity:0;padding:2px 4px;font-size:14px}.chat-item:hover .chat-delete{opacity:1}.sidebar-bottom{margin-top:auto}.privacy-note{display:flex;gap:10px;align-items:center;padding:13px 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.privacy-lock{color:#a896ff;font-size:18px}.privacy-note b,.privacy-note small{display:block}.privacy-note b{font-size:10px;color:#bbc4dd}.privacy-note small{font-size:9px;color:#6f7b99;margin-top:4px}.profile-row{display:flex;align-items:center;gap:9px;padding:14px 6px 3px}.profile-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(140deg,#8d79e9,#5d99b6);font-weight:800;font-size:12px}.profile-info{min-width:0;flex:1}.profile-info b,.profile-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-info b{font-size:10px;color:#c4cce1}.profile-info small{font-size:9px;color:#7180a0;margin-top:3px}.logout-button{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:transparent;color:#8692af}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.app-header{height:72px;flex:none;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(10,14,27,.55)}.header-context{display:flex;flex-direction:column;gap:3px}.header-kicker{font-size:8px;letter-spacing:.18em;color:#6f7b9a;font-weight:800}.header-context b{font-family:Manrope,sans-serif;font-size:13px}.header-actions{display:flex;align-items:center;gap:12px}.service-status{display:flex;align-items:center;gap:8px;font-size:10px;color:#8490ae}.service-status .status-dot{width:6px;height:6px}.service-status.offline .status-dot{background:#f5b768;box-shadow:none}.support-button{padding:9px 13px;border:1px solid rgba(215,154,190,.22);border-radius:10px;background:rgba(180,98,149,.08);color:#e7b7d1;font-size:10px;font-weight:700}.mobile-menu{display:none}.welcome-screen{width:min(720px,calc(100% - 40px));margin:auto;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 0 10px;text-align:center}.welcome-orb{width:74px;height:74px;display:grid;place-items:center;position:relative;border:1px solid rgba(176,159,255,.28);border-radius:25px;background:linear-gradient(145deg,rgba(157,139,255,.18),rgba(86,188,194,.1));box-shadow:0 15px 50px rgba(120,104,231,.13);margin-bottom:24px}.welcome-orb span{font-size:35px;color:#bbaaff}.welcome-orb i{position:absolute;width:7px;height:7px;border-radius:50%;background:#73d8d1;right:11px;top:10px;box-shadow:0 0 16px #73d8d1}.welcome-screen h1{font-family:Manrope,sans-serif;font-size:clamp(34px,4vw,48px);line-height:1.13;letter-spacing:-.06em;margin:13px 0}.welcome-screen h1 span{color:#aa98ff}.welcome-screen>p{margin:0;color:#8792b1;font-size:13px;line-height:1.7}.prompt-cards{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:37px}.prompt-card{min-height:111px;display:grid;grid-template-columns:30px 1fr 14px;align-items:start;gap:9px;padding:15px 12px;text-align:left;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(22,29,51,.78),rgba(15,20,37,.78));color:var(--text);transition:.2s}.prompt-card:hover{border-color:rgba(164,139,255,.5);transform:translateY(-2px);background:#171d35}.prompt-card-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#b3a1ff;background:rgba(164,139,255,.12);font-size:14px}.prompt-card b,.prompt-card small{display:block}.prompt-card b{font-size:10px;margin:2px 0 6px}.prompt-card small{color:#7e89a8;font-size:9px;line-height:1.5}.prompt-go{color:#7986a7;font-size:12px}.messages{width:min(850px,calc(100% - 48px));margin:0 auto;flex:1;overflow:auto;padding:26px 0 12px}.message-row{display:flex;align-items:flex-start;gap:12px;margin:19px 0;line-height:1.75}.message-avatar{width:31px;height:31px;flex:none;display:grid;place-items:center;border-radius:10px;background:rgba(164,139,255,.14);color:#b7a4ff;font-size:15px}.message-row.user .message-avatar{background:rgba(98,186,165,.13);color:#8fe0c1}.message-content{min-width:0;max-width:760px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#dce1f2;padding-top:4px}.message-row.user .message-content{color:#f4f5ff}.message-actions{opacity:0;margin-left:6px;border:0;background:transparent;color:#8290ae;font-size:11px}.message-row:hover .message-actions{opacity:1}.typing-dots{display:flex;gap:4px;padding:8px 0}.typing-dots i{width:5px;height:5px;border-radius:50%;background:#aa98ff;animation:pulse 1.1s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.chat-error{width:min(850px,calc(100% - 48px));margin:0 auto 8px;padding:10px 13px;border-radius:10px;background:rgba(226,109,125,.1);border:1px solid rgba(226,109,125,.22);color:#ffb0b6;font-size:11px;line-height:1.5}.composer-area{width:min(850px,calc(100% - 48px));margin:0 auto;padding:12px 0 20px}.turnstile-slot{display:flex;justify-content:flex-start;min-height:0}.composer-form{border:1px solid #303a58;background:linear-gradient(145deg,rgba(22,29,51,.98),rgba(16,22,40,.98));border-radius:17px;padding:13px 14px 10px;box-shadow:0 12px 36px rgba(0,0,0,.12);transition:border .2s}.composer-form:focus-within{border-color:rgba(162,141,255,.62)}.composer-form textarea{display:block;width:100%;min-height:43px;max-height:180px;resize:none;outline:0;border:0;background:transparent;color:var(--text);font-size:13px;line-height:1.6}.composer-form textarea::placeholder{color:#65718e}.composer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.composer-bottom span{font-size:9px;color:#65718e}.send-button{width:34px;height:34px;border:0;border-radius:11px;background:linear-gradient(145deg,#9b83ff,#687fdf);color:#fff;font-size:21px;box-shadow:0 6px 18px rgba(126,109,235,.2)}.composer-disclaimer{text-align:center;color:#65718d;font-size:9px;margin-top:10px}.turnstile-slot:empty{display:none}.modal{position:fixed;z-index:50;inset:0;background:rgba(3,5,13,.78);display:grid;place-items:center;padding:20px;backdrop-filter:blur(12px)}.modal-card{position:relative;width:min(420px,100%);padding:32px;border:1px solid var(--line);border-radius:22px;background:#12182b;box-shadow:var(--shadow)}.modal-card h2{text-align:center}.modal-copy{text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#9ba6c2;font-size:25px}.plain-input{width:100%;height:46px;padding:0 13px;background:#0b1020;border:1px solid #303a58;border-radius:11px;color:white;outline:0}.split-preview{display:grid;grid-template-columns:7fr 3fr;gap:8px;margin:15px 0}.split-preview div{padding:12px;border-radius:11px;background:#1a233c;display:flex;flex-direction:column;gap:4px}.split-preview div:first-child strong{color:#70dcb0}.split-preview div:last-child strong{color:#af9dff}.split-preview span{font-size:10px;color:#9aa6c3}.toast{position:fixed;z-index:90;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;max-width:min(90vw,480px);padding:11px 16px;border:1px solid var(--line);border-radius:11px;background:#202944;color:#f2f4ff;font-size:11px;line-height:1.5;box-shadow:var(--shadow);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.sidebar-scrim{display:none}
body.light{--bg:#f2f4fb;--panel:#fff;--panel-2:#f7f8fc;--line:rgba(41,53,95,.13);--text:#20263b;--muted:#69738e;--soft:#4a5570;color-scheme:light}body.light .ambient{opacity:.09}body.light .intro-panel{background:linear-gradient(145deg,#292f54,#202a46 58%,#1c3845)}body.light .auth-card{background:rgba(255,255,255,.94)}body.light .auth-topline,body.light .auth-bottom{color:#76809a}body.light .auth-card h2{color:#20263b}body.light .auth-card-heading p{color:#707b98}body.light .auth-tabs{background:#edf0f8}body.light .auth-tab{color:#77819c}body.light .auth-tab.active{background:#fff;color:#343b56;box-shadow:0 2px 8px #28345214}body.light .field-label{color:#47516c}body.light .input-wrap,body.light .plain-input{background:#f7f8fc;border-color:#d9deec}body.light .input-wrap input{color:#222a43}body.light .field-hint{color:#78829b}body.light .auth-legal{color:#8490a8}body.light .sidebar{background:#fbfcff}body.light .app-header{background:rgba(255,255,255,.75)}body.light .new-chat-button{color:#473d79}body.light .chat-item{color:#65708d}body.light .chat-item.active,body.light .chat-item:hover{background:#edf0fa;color:#303956}body.light .privacy-note b,body.light .profile-info b{color:#3e4966}body.light .welcome-screen h1{color:#28304b}body.light .welcome-screen>p{color:#707b96}body.light .prompt-card{background:#fff;color:#303954;border-color:#e0e4ef}body.light .prompt-card:hover{background:#f5f3ff}body.light .message-content{color:#303954}body.light .message-row.user .message-content{color:#202944}body.light .composer-form{background:#fff;border-color:#dfe3ef}body.light .composer-form textarea{color:#242c47}body.light .composer-form textarea::placeholder{color:#99a2b8}body.light .composer-bottom span,body.light .composer-disclaimer{color:#8993aa}body.light .modal-card{background:#fff;color:#20263b}body.light .modal-copy{color:#707b96}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr;max-width:580px;padding:15px}.intro-panel{display:none}.auth-side{min-height:calc(100vh - 30px);padding:12px}.auth-card{margin:18px 0}.app-layout{grid-template-columns:235px 1fr}.app-header{padding:0 20px}.service-status{display:none}}
@media(max-width:680px){.app-layout{grid-template-columns:1fr}.sidebar{position:fixed;z-index:60;left:0;top:0;bottom:0;width:min(290px,85vw);transform:translateX(-105%);transition:transform .22s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.sidebar-scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.5)}.mobile-menu{display:grid}.app-header{height:62px;padding:0 13px;gap:10px}.header-context{margin-right:auto}.header-kicker{font-size:7px}.header-context b{font-size:12px}.header-actions{gap:7px}.welcome-screen{width:calc(100% - 30px)}.welcome-screen h1{font-size:35px}.prompt-cards{grid-template-columns:1fr;gap:8px;margin-top:25px}.prompt-card{min-height:70px;align-items:center}.prompt-card b{font-size:11px}.prompt-card small{font-size:10px}.messages,.composer-area,.chat-error{width:calc(100% - 24px)}.messages{padding-top:13px}.composer-area{padding-bottom:12px}.composer-bottom span{font-size:8px}.auth-card{padding:30px 23px 22px}.auth-card h2{font-size:24px}.auth-bottom{font-size:9px}.support-button{font-size:9px;padding:8px}.toast{bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Google OAuth button */
.google-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;border:1px solid #dadce0;border-radius:12px;background:#fff;color:#3c4043;font-family:Arial,sans-serif;font-size:14px;font-weight:600;letter-spacing:.01em;box-shadow:0 1px 2px rgba(0,0,0,.08);transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.google-button:hover{background:#f8faff;border-color:#c7d2fe;box-shadow:0 3px 10px rgba(60,64,67,.16);transform:translateY(-1px)}
.google-button:focus-visible,.primary-button:focus-visible,.auth-tab:focus-visible,.text-button:focus-visible{outline:3px solid rgba(164,139,255,.55);outline-offset:3px}
.google-button:disabled{cursor:wait;transform:none;opacity:.72}
.google-button.is-loading{background:#f4f5f7}
.google-mark{width:19px;height:19px;flex:none}
.auth-divider-form{margin:19px 0 18px}
body.light .google-button{background:#fff;color:#3c4043;border-color:#dadce0}

/* NOVA model catalogue and subscription access */
.app-header{position:relative;z-index:30;overflow:visible}
.header-actions{min-width:0;position:relative}
.model-picker{position:relative;z-index:35}
.model-picker-button{min-width:220px;max-width:300px;min-height:42px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:6px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);color:var(--text);text-align:left;transition:border-color .18s,background .18s}
.model-picker-button:hover,.model-picker-button[aria-expanded="true"]{border-color:rgba(172,153,255,.58);background:rgba(145,125,235,.09)}
.model-picker-caption{grid-column:1;grid-row:1;color:#7784a3;font-size:8px;font-weight:800;letter-spacing:.14em}
.model-picker-current{grid-column:1;grid-row:2;display:flex;align-items:center;gap:7px;min-width:0}
.model-picker-current b{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}
.model-picker-chevron{grid-column:2;grid-row:1/3;color:#a99aff;font-size:18px}
.model-badge{flex:none;padding:3px 5px;border-radius:5px;font-size:7px;font-weight:900;letter-spacing:.08em}
.model-badge.free{background:rgba(86,202,158,.13);color:#80dfb7}
.model-badge.pro{background:rgba(172,146,255,.15);color:#c2b0ff}
.subscription-pill{height:36px;padding:0 11px;border:1px solid rgba(171,148,255,.24);border-radius:10px;background:rgba(148,125,238,.1);color:#c4b5ff;font-size:10px;font-weight:800;white-space:nowrap}
.subscription-pill.active{border-color:rgba(93,207,158,.3);background:rgba(78,194,143,.1);color:#83dfb8}
.model-menu{position:absolute;top:calc(100% + 10px);right:0;width:min(440px,calc(100vw - 28px));max-height:min(72vh,680px);display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid rgba(161,151,217,.23);border-radius:17px;background:linear-gradient(155deg,#171d34,#0f1528);box-shadow:0 22px 70px rgba(0,0,0,.45);backdrop-filter:blur(20px)}
.model-menu.hidden{display:none}
.model-menu-heading{display:flex;align-items:center;justify-content:space-between}
.model-menu-heading b,.model-menu-heading small{display:block}
.model-menu-heading b{font-size:13px;color:#f0efff}
.model-menu-heading small{margin-top:3px;color:#7f8bab;font-size:9px}
.model-refresh{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.035);color:#b9aaff;font-size:19px}
.model-search{height:39px;width:100%;padding:0 12px;border:1px solid #303a58;border-radius:10px;background:#0b1020;color:#f4f5ff;outline:0;font-size:11px}
.model-search:focus{border-color:#9a86f4;box-shadow:0 0 0 3px rgba(154,134,244,.12)}
.model-filters{display:flex;gap:5px;padding:3px;border:1px solid rgba(160,172,210,.09);border-radius:10px;background:rgba(0,0,0,.13)}
.model-filters button{flex:1;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:#8995b2;font-size:9px;font-weight:800}
.model-filters button.active{background:rgba(150,131,238,.2);color:#ddd6ff}
.model-list{overflow:auto;min-height:80px;display:grid;gap:5px;padding-right:2px;overscroll-behavior:contain}
.model-option{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:10px;background:rgba(255,255,255,.025);color:#e8e9f6;text-align:left;transition:background .16s,border-color .16s}
.model-option:hover{background:rgba(153,134,239,.1);border-color:rgba(153,134,239,.18)}
.model-option.selected{background:rgba(112,191,164,.09);border-color:rgba(112,191,164,.25)}
.model-option.locked{opacity:.82}
.model-option-mark{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:8px;background:rgba(149,132,238,.13);color:#c0b1ff;font-size:13px}
.model-option-copy{min-width:0;flex:1}
.model-option-copy b,.model-option-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.model-option-copy b{font-size:10px;font-weight:750}
.model-option-copy small{margin-top:4px;color:#7f8bab;font-size:8px}
.model-option-state{flex:none;padding:4px 6px;border-radius:6px;background:rgba(78,198,145,.11);color:#82dcb6;font-size:8px;font-weight:900}
.model-option-state.pro{background:rgba(165,140,246,.13);color:#c5b5ff}
.model-empty{padding:25px 10px;text-align:center;color:#8490ad;font-size:10px}
.model-menu-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid var(--line);color:#8691ad;font-size:9px;line-height:1.4}
.model-menu-foot button{border:0;background:transparent;color:#b6a5ff;font-size:9px;font-weight:800;white-space:nowrap}
body.light .model-picker-button{background:#fff;color:#303954}
body.light .model-picker-caption{color:#818ba4}
body.light .model-menu{background:linear-gradient(155deg,#fff,#f4f5fc);border-color:#dfe3ef;box-shadow:0 22px 60px rgba(34,43,76,.2)}
body.light .model-menu-heading b{color:#28304b}
body.light .model-search{background:#fff;color:#28304b;border-color:#dfe3ef}
body.light .model-filters{background:#f0f1f9}
body.light .model-filters button{color:#707b96}
body.light .model-filters button.active{background:#e4ddff;color:#55458c}
body.light .model-option{color:#303954;background:#fff}
body.light .model-option-copy small{color:#7c86a0}
body.light .model-menu-foot{color:#7c86a0;border-color:#e4e7f0}
@media(max-width:900px){.model-picker-button{min-width:180px}.model-picker-current b{max-width:125px}.subscription-pill{font-size:9px;padding:0 8px}}
@media(max-width:680px){.header-actions{gap:6px}.model-picker-button{min-width:0;max-width:164px;padding:5px 8px;column-gap:5px}.model-picker-current b{max-width:105px;font-size:9px}.model-picker-caption{font-size:7px}.subscription-pill{height:32px;padding:0 7px;font-size:8px}.model-menu{right:-72px;max-height:70vh;padding:11px}.service-status{display:none}}
