:root{--paper:#f8f5ef;--white:#fffefa;--ink:#302d29;--muted:#918a80;--line:#e9e4dc;--orange:#ec875e;--orange-dark:#d96f48;--pale:#f8e8de;--shadow:0 18px 55px #63452a12}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"DM Sans",sans-serif;color:var(--ink)}body{background:var(--paper)}[hidden]{display:none!important}button,textarea,input{font:inherit}button{color:inherit}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--ink)}.brand-mark{width:29px;height:29px;border-radius:10px;background:#f1b28f;display:grid;grid-template:repeat(2,1fr)/repeat(2,1fr);gap:3px;padding:7px;transform:rotate(-8deg);flex:none}.brand-mark span{background:#fff9f2;border-radius:2px}.brand-mark span:nth-child(2){opacity:.7}.brand-mark span:nth-child(3){opacity:.55}.brand-name,.mobile-brand strong{font:800 21px Manrope,sans-serif;letter-spacing:-1.1px}.brand-period{color:var(--orange)}.centered{justify-content:center}.sun-orb{position:relative;width:57px;height:57px;margin:0 auto 18px;border-radius:50%;background:linear-gradient(145deg,#f6c59d,#ec8a64);box-shadow:0 10px 25px #e99b7242;display:grid;place-items:center}.sun-orb span{width:23px;height:23px;background:#fff4dd;border-radius:50%;box-shadow:0 0 0 7px #fff4dd38}.sun-orb i{position:absolute;width:5px;height:5px;background:#fff7e7;border-radius:50%;right:12px;top:11px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#b4a294;margin:0 0 12px}.gate-screen{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(ellipse at 50% 40%,#fffdfa 0%,#f8f5ef 69%)}.gate-card,.onboard-card{width:min(100%,480px);border:1px solid #eee8de;border-radius:21px;background:#fffefa;padding:32px 38px;box-shadow:var(--shadow);text-align:center}.gate-card>.brand,.onboard-card>.brand{margin:0 auto 27px}.gate-card h1,.welcome-step h1{font:600 clamp(34px,6vw,43px)/1.12 Manrope,sans-serif;letter-spacing:-1.8px;margin:0;color:#37312c}.gate-card h1 em,.welcome-step h1 em{font-style:normal;color:var(--orange)}.gate-copy,.welcome-step>p:not(.eyebrow){font-size:12px;line-height:1.8;color:#938c82;margin:14px auto 22px;max-width:340px}.google-button-wrap{min-height:43px;display:flex;justify-content:center}.google-disabled{height:40px;border:1px solid #d9dce1;border-radius:22px;background:#f6f7f8;color:#777;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 20px;font-size:13px;font-weight:600}.google-g{font:700 17px Arial;color:#4285f4}.tiny-note{font-size:9px;color:#aea79e;margin:18px 0 0}.setup-notice{min-height:15px;font-size:10px;line-height:1.5;color:#a5644a;margin:10px auto 0;max-width:360px}.onboard-card{text-align:left;width:min(100%,530px);padding:27px 34px 30px}.onboard-card>.brand{margin:0 0 26px}.welcome-step{text-align:center;padding:7px 5px 8px}.welcome-step .eyebrow{text-align:center}.welcome-step>p:not(.eyebrow){margin-bottom:23px}.primary-button{border:0;border-radius:10px;background:var(--orange);color:#fff;padding:11px 17px;font-size:11px;font-weight:700;cursor:pointer;transition:background .15s,transform .15s}.primary-button:hover:not(:disabled){background:var(--orange-dark);transform:translateY(-1px)}.primary-button:disabled{opacity:.48;cursor:not-allowed}.primary-button span{padding-left:11px}.progress-header{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;font-weight:700;color:#b0a79d}.progress-header i{font-style:normal;color:#b4ada4}.progress-track{height:3px;background:#f0ece5;border-radius:4px;margin:11px 0 23px;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:4px;background:var(--orange);transition:width .2s}.question-step h2,.username-step h2{font:600 23px/1.3 Manrope,sans-serif;letter-spacing:-.6px;margin:0 0 7px}.question-hint{font-size:10px;color:#a29a90;line-height:1.6;margin:0 0 15px}.answer-options{display:grid;gap:7px}.answer-option{width:100%;min-height:42px;text-align:left;display:flex;align-items:center;gap:11px;padding:7px 10px;border:1px solid #eee9e0;border-radius:10px;background:#fffdfa;font-size:11px;cursor:pointer;transition:.15s}.answer-option:hover{border-color:#e8b99f}.answer-option.selected{border-color:#e6a17e;background:#fdf5f0}.option-marker{height:23px;width:23px;display:grid;place-items:center;border-radius:7px;background:#f5f0e9;color:#a2988c;font-size:9px;font-weight:700}.answer-option.selected .option-marker{background:#f8dfd0;color:#b96442}.step-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.back-button{border:0;background:transparent;color:#8d867d;font-size:10px;font-weight:600;padding:9px 3px;cursor:pointer}.back-button:hover{color:var(--ink)}.username-field{height:44px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff}.username-field:focus-within{border-color:#e2b298}.username-field>span{color:#b2a79c;font-size:14px}.username-field input{width:100%;border:0;outline:0;background:none;font-size:12px;color:var(--ink)}.availability{height:16px;margin:6px 0 0;font-size:9px;color:#a39a8f}.availability.available{color:#598262}.availability.taken{color:#af5c47}.availability.checking{color:#a39a8f}.finish-step{padding-top:13px}.finish-check{width:45px;height:45px;margin:0 auto 17px;border-radius:50%;display:grid;place-items:center;background:#e5f1e3;color:#57855b;font-size:20px}.onboard-error{padding:9px 11px;background:#fff3ee;color:#aa533a;border:1px solid #f1d3c8;border-radius:9px;margin-top:13px;font-size:10px;line-height:1.5}.app-shell{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr);padding:10px;gap:10px}.sidebar{position:relative;min-height:calc(100vh - 20px);border:1px solid #eee9e0;border-radius:17px;background:#f4f0e9;padding:23px 15px 12px;display:flex;flex-direction:column}.sidebar>.brand{margin:0 5px 28px}.new-chat{width:100%;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e7dfd4;border-radius:9px;background:var(--white);font-weight:600;font-size:11px;cursor:pointer;transition:.2s}.new-chat:hover{border-color:#e2aa8d}.new-chat svg,.top-new svg{width:15px;fill:none;stroke:currentColor;stroke-width:1.8}.shortcut{margin-left:auto;color:#aaa297;font-size:9px}.sidebar-label{margin:25px 8px 10px;font-size:9px;letter-spacing:1.2px;font-weight:700;color:#aaa297}.mode-selector{display:grid;gap:5px}.mode-button{height:36px;text-align:left;padding:0 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#7e786f;font-size:11px;cursor:pointer}.mode-button span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;margin-right:7px;background:#f2e4d9;color:#cb7953}.mode-button:nth-child(2) span{background:#ece8f3;color:#8378a0}.mode-button.active{border-color:#ece5db;background:#fffdfa;color:#39342f;font-weight:700}.mode-description{font-size:9px;line-height:1.55;color:#a29a90;padding:0 10px;margin:7px 0}.sidebar-bottom{margin-top:auto}.privacy-note{display:flex;gap:8px;align-items:center;padding:11px 8px;border-top:1px solid #e6e0d6;color:#969086;font-size:9px;line-height:1.4}.privacy-dot,.status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#8fba94;box-shadow:0 0 0 3px #8fba941f;flex:none}.profile-wrap{position:relative;border-top:1px solid #e6e0d6;padding-top:11px}.profile{width:100%;padding:2px 5px 3px;display:flex;align-items:center;gap:9px;border:0;background:transparent;text-align:left;cursor:pointer}.avatar{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:#efc5ad;color:#975d42;font:700 12px Manrope}.avatar-img{width:29px;height:29px;border-radius:9px;object-fit:cover}.profile-copy{min-width:0}.profile-copy strong,.profile-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy strong{font-size:10px}.profile-copy small{max-width:140px;margin-top:3px;font-size:8px;color:#a29b91}.profile-more{margin-left:auto;font-weight:700;letter-spacing:2px;color:#a8a196}.profile-menu{position:absolute;left:4px;right:4px;bottom:49px;padding:8px;border:1px solid #e9e3da;border-radius:11px;background:#fffefa;box-shadow:var(--shadow);z-index:4}.menu-user{padding:6px 7px 9px;border-bottom:1px solid #f0ece5}.menu-user strong,.menu-user small{display:block}.menu-user strong{font-size:10px}.menu-user small{font-size:8px;color:#999187;margin-top:3px}.profile-menu>button{width:100%;border:0;background:transparent;text-align:left;padding:9px 7px;border-radius:7px;color:#a4533c;font-size:10px;cursor:pointer}.profile-menu>button:hover{background:#fff3ee}.main-panel{min-height:calc(100vh - 20px);border:1px solid #eee9e0;border-radius:17px;background:var(--white);display:flex;flex-direction:column;overflow:hidden;position:relative}.topbar{height:51px;border-bottom:1px solid #f0ece5;display:flex;align-items:center;justify-content:space-between;padding:0 22px;flex:none}.mode-label{font-size:10px;font-weight:600;color:#8b857c}.topbar-right{display:flex;align-items:center;gap:10px}.model-badge{display:flex;align-items:center;gap:7px;color:#68645d;font-size:9px;font-weight:600;padding:6px 9px;background:#f8f6f1;border:1px solid #f0ece5;border-radius:20px}.model-badge .status-dot{width:6px;height:6px;box-shadow:none}.mobile-brand,.top-new{display:none}.chat-area{flex:1;min-height:180px;display:flex;flex-direction:column;justify-content:center;overflow-y:auto}.welcome{width:min(550px,calc(100% - 36px));margin:auto;padding:18px 0 20px;text-align:center}.welcome .sun-orb{width:52px;height:52px;margin-bottom:14px}.welcome .sun-orb span{width:21px;height:21px}.welcome .eyebrow{margin-bottom:10px}.welcome h1{font:600 clamp(32px,3.8vw,43px)/1.1 Manrope,sans-serif;letter-spacing:-1.9px;margin:0;color:#37312c}.welcome h1 em{font-style:normal;color:var(--orange)}.welcome-copy{font-size:11px;line-height:1.75;color:#938c82;margin:12px 0 22px}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:left}.suggestion{position:relative;min-height:68px;border:1px solid #eee9e0;background:#fffdfa;border-radius:10px;padding:10px 9px;display:flex;align-items:flex-start;gap:7px;cursor:pointer;transition:transform .18s,border-color .18s}.suggestion:hover{transform:translateY(-2px);border-color:#ebc2ac}.suggestion-icon{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;flex:none;font-size:11px}.peach{background:#f9e7dc;color:#d77851}.lavender{background:#eee9f7;color:#8175a1}.yellow{background:#fbf1d9;color:#c69a43}.suggestion strong,.suggestion small{display:block}.suggestion strong{font-size:9px;margin:1px 0 4px}.suggestion small{font-size:8px;color:#a39b91;white-space:nowrap}.suggestion-arrow{position:absolute;right:8px;top:6px;color:#c3b9ad;font-size:10px}.messages{width:min(690px,calc(100% - 40px));margin:0 auto;padding:20px 0;display:flex;flex-direction:column;gap:15px}.messages:empty{display:none}.message{display:flex;gap:9px;align-items:flex-start;animation:appear .22s ease-out}.message.user{justify-content:flex-end}.message-avatar{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;flex:none;background:#f4e8dc;color:#bd7755;font-size:10px;font-weight:700}.message-content{max-width:min(82%,560px);font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .message-content{padding:9px 12px;border-radius:12px 12px 4px 12px;background:#f8e8de}.assistant-content{padding-top:1px}.reply-prose{margin:0 0 9px}.reply-prose:last-child{margin-bottom:0}.code-block{margin:9px 0 12px;border:1px solid #e9e4dc;border-radius:10px;background:#f8f6f1;overflow:hidden}.code-head{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #eae5dc;color:#999187;font-size:8px}.copy-code{border:1px solid #e6e0d6;border-radius:6px;background:#fffefa;padding:4px 7px;color:#6f695f;font-size:8px;cursor:pointer}.copy-code:hover{border-color:#dfaa8e;color:#a65d40}.code-block pre{margin:0;padding:11px;overflow:auto;white-space:pre;font:11px/1.6 Consolas,"Cascadia Code",monospace;color:#3d3934}.typing{display:flex;gap:4px;padding:9px 0}.typing span{width:5px;height:5px;border-radius:50%;background:#d8a68e;animation:bounce .9s infinite alternate}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes bounce{to{opacity:.4;transform:translateY(-4px)}}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.composer-wrap{width:min(690px,calc(100% - 40px));margin:0 auto;padding:0 0 10px}.composer{background:#fff;border:1px solid #e9e4dc;border-radius:13px;padding:10px 11px 8px;box-shadow:0 5px 20px #60442a08;transition:border-color .2s}.composer:focus-within{border-color:#e2b298}.composer textarea{width:100%;border:0;outline:0;resize:none;min-height:25px;max-height:130px;background:transparent;font-size:12px;line-height:1.6;color:var(--ink);padding:2px 3px}.composer textarea::placeholder{color:#b2aba1}.composer-tools{display:flex;align-items:center;justify-content:space-between;padding-top:4px}.composer-hint{font-size:8px;color:#b2aba1}.composer-actions{display:flex;gap:8px;align-items:center}.char-count{font-size:8px;color:#b4ada3}.send-button{width:29px;height:29px;border:0;border-radius:9px;background:var(--orange);color:white;display:grid;place-items:center;cursor:pointer}.send-button:disabled{background:#eee9e2;color:#b7b0a6;cursor:default}.send-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.disclaimer{text-align:center;color:#b1aaa0;font-size:8px;margin:7px 0 0}.error-banner{margin:0 0 7px;padding:8px 10px;border:1px solid #f1cdc1;border-radius:9px;background:#fff4ef;color:#a94f36;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.error-banner button{border:1px solid #e8b8a4;border-radius:7px;background:#fffdfa;padding:5px 9px;color:#a25337;font-size:9px;font-weight:700;cursor:pointer}.error-banner button:hover{background:#fce9df}
@media(max-width:720px){.app-shell{display:block;padding:0}.sidebar{display:none}.main-panel{min-height:100dvh;border:0;border-radius:0}.topbar{height:49px;padding:0 13px}.mobile-brand{display:flex;align-items:center;gap:7px;padding:0;border:0;background:none}.mobile-brand strong{font-size:17px}.brand-mark.small{width:23px;height:23px;border-radius:8px;padding:5px;gap:2px}.mode-label{display:none}.topbar-right{gap:7px}.model-badge{font-size:8px;padding:5px 7px}.top-new{display:grid;place-items:center;width:29px;height:29px;border:1px solid #eee9e0;background:#fffdfa;border-radius:8px}.chat-area{min-height:0}.welcome{width:calc(100% - 28px);padding:18px 0}.welcome h1{font-size:clamp(31px,9vw,40px)}.welcome-copy{font-size:10px;margin:10px 0 17px}.suggestions{grid-template-columns:1fr;gap:6px}.suggestion{min-height:51px;padding:8px;align-items:center}.suggestion strong{font-size:9px;margin:0 0 3px}.suggestion small{font-size:8px}.suggestion-arrow{top:16px}.composer-wrap{width:calc(100% - 20px);padding-bottom:max(9px,env(safe-area-inset-bottom))}.composer{border-radius:12px;padding:9px}.composer-hint{font-size:7px}.messages{width:calc(100% - 24px);gap:12px;padding:16px 0}.message-content{font-size:11px;max-width:87%}.disclaimer{font-size:7px}.desktop-break{display:none}.gate-screen{padding:12px}.gate-card,.onboard-card{padding:25px 20px;border-radius:17px}.onboard-card>.brand{margin-bottom:22px}.question-step h2,.username-step h2{font-size:21px}.answer-option{min-height:40px}.welcome-step h1,.gate-card h1{font-size:35px}}
/* Theme control and time-aware welcome */
.theme-toggle{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e9e4dc;border-radius:9px;background:#fffefa;color:#6e685f;cursor:pointer;transition:background .18s,border-color .18s,color .18s}.theme-toggle:hover{border-color:#dfb39d;color:#b66846}.theme-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.gate-screen{position:relative}.gate-theme{position:absolute;top:19px;right:21px}.topbar-right{gap:8px}.welcome h1{max-width:100%;font-size:clamp(34px,3.8vw,45px);letter-spacing:-1.7px}.welcome-copy{max-width:430px;margin-left:auto;margin-right:auto}.thinking-label{display:block;margin-top:1px;color:#989187;font-size:9px;letter-spacing:.1px}.typing{align-items:center}.theme-toggle:focus-visible,.mode-button:focus-visible,.suggestion:focus-visible,.answer-option:focus-visible,.primary-button:focus-visible{outline:2px solid #e39b77;outline-offset:2px}
html[data-theme="dark"]{color-scheme:dark;--paper:#181817;--white:#222220;--ink:#eeeae3;--muted:#aaa49a;--line:#3a3935;--orange:#e89a73;--orange-dark:#d9825c;--pale:#3b2c25;background:#181817;color:#eeeae3}html[data-theme="dark"] body{background:#181817;color:#eeeae3}html[data-theme="dark"] .gate-screen{background:radial-gradient(ellipse at 50% 40%,#242320 0%,#181817 72%)}html[data-theme="dark"] .gate-card,html[data-theme="dark"] .onboard-card,html[data-theme="dark"] .main-panel{background:#222220;border-color:#383733;box-shadow:0 18px 55px #0003}html[data-theme="dark"] .sidebar{background:#1e1d1b;border-color:#383733}html[data-theme="dark"] .brand,html[data-theme="dark"] .welcome h1,html[data-theme="dark"] .gate-card h1,html[data-theme="dark"] .welcome-step h1,html[data-theme="dark"] .question-step h2,html[data-theme="dark"] .username-step h2{color:#f0ede6}html[data-theme="dark"] .welcome h1 em,html[data-theme="dark"] .gate-card h1 em,html[data-theme="dark"] .welcome-step h1 em{color:#eea17d}html[data-theme="dark"] .topbar,html[data-theme="dark"] .profile-wrap,html[data-theme="dark"] .privacy-note{border-color:#393834}html[data-theme="dark"] .new-chat,html[data-theme="dark"] .suggestion,html[data-theme="dark"] .answer-option,html[data-theme="dark"] .composer,html[data-theme="dark"] .model-badge,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .top-new,html[data-theme="dark"] .profile-menu,html[data-theme="dark"] .username-field{background:#282724;border-color:#403e39;color:#e8e3da}html[data-theme="dark"] .mode-button.active{background:#2b2926;border-color:#48443d;color:#f0ece4}html[data-theme="dark"] .mode-button{color:#b0aaa0}html[data-theme="dark"] .mode-button span{background:#40332d;color:#efa784}html[data-theme="dark"] .mode-button:nth-child(2) span{background:#393543;color:#b2a7d2}html[data-theme="dark"] .answer-option.selected{background:#3a2d27;border-color:#b87555}html[data-theme="dark"] .option-marker{background:#37342f;color:#c3baae}html[data-theme="dark"] .answer-option.selected .option-marker{background:#563b2f;color:#ffc19d}html[data-theme="dark"] .composer:focus-within,html[data-theme="dark"] .username-field:focus-within{border-color:#b87959}html[data-theme="dark"] .composer textarea,html[data-theme="dark"] .username-field input{color:#eeeae3}html[data-theme="dark"] .composer textarea::placeholder,html[data-theme="dark"] .username-field input::placeholder{color:#89847b}html[data-theme="dark"] .model-badge{color:#c4beb4}html[data-theme="dark"] .mode-label,html[data-theme="dark"] .welcome-copy,html[data-theme="dark"] .gate-copy,html[data-theme="dark"] .welcome-step>p:not(.eyebrow),html[data-theme="dark"] .question-hint,html[data-theme="dark"] .mode-description,html[data-theme="dark"] .privacy-note,html[data-theme="dark"] .disclaimer,html[data-theme="dark"] .tiny-note,html[data-theme="dark"] .composer-hint{color:#aaa49a}html[data-theme="dark"] .suggestion small,html[data-theme="dark"] .profile-copy small,html[data-theme="dark"] .menu-user small,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .progress-header{color:#aaa197}html[data-theme="dark"] .profile-copy strong,html[data-theme="dark"] .menu-user strong,html[data-theme="dark"] .suggestion strong{color:#ece7de}html[data-theme="dark"] .message.user .message-content{background:#40342d;color:#f1e9e1}html[data-theme="dark"] .message.assistant .message-content{color:#e6e1d8}html[data-theme="dark"] .message-avatar{background:#443329;color:#f1ae87}html[data-theme="dark"] .code-block{background:#191918;border-color:#41403b}html[data-theme="dark"] .code-head{border-color:#3b3934;color:#aaa49a}html[data-theme="dark"] .code-block pre{color:#e8e2d8}html[data-theme="dark"] .copy-code{background:#2c2b28;border-color:#49463f;color:#ded8ce}html[data-theme="dark"] .progress-track{background:#3a3833}html[data-theme="dark"] .back-button{color:#b8b1a7}html[data-theme="dark"] .availability{color:#aaa49a}html[data-theme="dark"] .availability.available{color:#93c69a}html[data-theme="dark"] .availability.taken{color:#e3947b}html[data-theme="dark"] .google-disabled{background:#2b2a27;border-color:#494741;color:#a9a49b}html[data-theme="dark"] .error-banner{background:#3a2622;border-color:#75483d;color:#ffc0aa}html[data-theme="dark"] .error-banner button{background:#342925;border-color:#805344;color:#ffd2bf}html[data-theme="dark"] .menu-user{border-color:#3f3d38}html[data-theme="dark"] .profile-menu>button:hover{background:#3a2c27}
@media(max-width:720px){.gate-theme{top:12px;right:12px}.theme-toggle{width:29px;height:29px}.topbar-right{gap:6px}.welcome h1{font-size:clamp(31px,8.5vw,39px)}}
/* Larger, easier-to-read layout and recent conversations */
.app-shell{grid-template-columns:264px minmax(0,1fr);padding:13px;gap:13px}.sidebar{min-height:calc(100vh - 26px);padding:26px 17px 14px}.sidebar>.brand{margin-bottom:29px}.sidebar-label{font-size:10px;margin-top:27px}.new-chat{font-size:12px;padding:11px}.mode-button{height:40px;font-size:12px}.mode-button span{width:25px;height:25px}.mode-description{font-size:10.5px;line-height:1.6}.history-section{display:flex;flex:1;min-height:90px;flex-direction:column;margin-top:15px}.history-heading{display:flex;align-items:center;justify-content:space-between;padding:0 7px 8px;color:#aaa297;font-size:9px;font-weight:700;letter-spacing:1.15px}.history-heading button{width:25px;height:25px;border:1px solid transparent;border-radius:7px;background:transparent;color:#969086;font-size:16px;cursor:pointer}.history-heading button:hover{border-color:#e6dfd5;background:#fffdfa}.history-list{flex:1;min-height:45px;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.history-empty{padding:5px 8px;color:#a39b91;font-size:10px;line-height:1.6}.history-item{width:100%;min-height:39px;display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid transparent;border-radius:8px;background:transparent;text-align:left;cursor:pointer;color:#6d675f;transition:background .15s,border-color .15s}.history-item:hover{background:#fffdfa;border-color:#eae3d9}.history-item.active{background:#fffdfa;border-color:#e6ded3;color:#3b3630}.history-item-icon{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#f5e9df;color:#be7957;font-size:14px;flex:none}.history-item-text{min-width:0;display:flex;flex-direction:column;gap:2px}.history-item-text strong{font-size:10.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item-text small{font-size:9px;color:#a49c92}.topbar{height:56px;padding:0 25px}.model-badge{font-size:10px;padding:7px 10px}.welcome{width:min(620px,calc(100% - 44px));padding:22px 0 25px}.welcome h1{font-size:clamp(40px,4.3vw,53px);letter-spacing:-2px}.welcome-copy{font-size:13px;line-height:1.8;max-width:470px}.suggestions{gap:10px}.suggestion{min-height:78px;padding:12px 11px;gap:9px}.suggestion-icon{width:27px;height:27px;font-size:12px}.suggestion strong{font-size:10.5px}.suggestion small{font-size:9.5px}.messages{width:min(760px,calc(100% - 48px));gap:18px;padding:24px 0}.message-content{font-size:14px;line-height:1.75}.message-avatar{width:28px;height:28px;font-size:11px}.composer-wrap{width:min(760px,calc(100% - 48px));padding-bottom:13px}.composer{padding:12px 13px 9px;border-radius:14px}.composer textarea{font-size:14px;min-height:29px}.composer-hint{font-size:9px}.disclaimer{font-size:9px}.send-button{width:32px;height:32px}.thinking-label{font-size:10px}.code-block pre{font-size:12px;line-height:1.65}.code-head{height:33px;font-size:9px}.copy-code{font-size:9px;padding:5px 8px}.profile-copy strong{font-size:11px}.profile-copy small{font-size:9px}.privacy-note{font-size:10px}.theme-toggle{width:32px;height:32px}.theme-toggle svg{width:16px;height:16px}
html[data-theme="dark"] .history-heading{color:#aaa197}html[data-theme="dark"] .history-heading button{color:#b3aca2}html[data-theme="dark"] .history-heading button:hover,html[data-theme="dark"] .history-item:hover,html[data-theme="dark"] .history-item.active{background:#2b2926;border-color:#48443d}html[data-theme="dark"] .history-item{color:#c9c2b7}html[data-theme="dark"] .history-item-icon{background:#40332d;color:#efa784}html[data-theme="dark"] .history-item-text strong{color:#e8e3da}html[data-theme="dark"] .history-item-text small,html[data-theme="dark"] .history-empty{color:#aaa49a}
@media(max-width:720px){.app-shell{padding:0}.topbar{height:53px;padding:0 15px}.model-badge{font-size:9px}.welcome{width:calc(100% - 30px);padding:21px 0}.welcome h1{font-size:clamp(35px,9.4vw,45px)}.welcome-copy{font-size:12px;line-height:1.7;margin:12px auto 19px}.suggestion{min-height:57px;padding:9px}.suggestion strong{font-size:10px}.suggestion small{font-size:9px}.message-content{font-size:13px;line-height:1.7}.messages{width:calc(100% - 28px);gap:15px;padding:18px 0}.composer-wrap{width:calc(100% - 22px);padding-bottom:max(10px,env(safe-area-inset-bottom))}.composer{padding:10px}.composer textarea{font-size:14px;min-height:28px}.composer-hint{font-size:8px}.disclaimer{font-size:8px}.theme-toggle{width:29px;height:29px}}

/* Nivli dawn mark: a calm, friendly symbol for new ideas. */
.brand-mark{display:grid;place-items:center;padding:0;transform:none;border-radius:10px;background:linear-gradient(145deg,#f6c6a7,#e98c68);overflow:hidden}
.brand-mark svg{width:25px;height:25px;fill:none;stroke:#fff9f1;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.brand-mark.small svg{width:20px;height:20px}
.sun-orb{background:linear-gradient(145deg,#f7c6a5,#ec8b67)}
.sun-orb>svg{width:40px;height:40px;fill:none;stroke:#fff7e9;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.welcome .sun-orb>svg{width:36px;height:36px}
html[data-theme="dark"] .brand-mark{background:linear-gradient(145deg,#f1b18f,#dd7858)}
.brand-mark.small{padding:0;gap:0}

.model-badge.model-unavailable .status-dot{background:#d2a078;box-shadow:0 0 0 3px #d2a07820}
html[data-theme="dark"] .model-badge.model-unavailable .status-dot{background:#d49a72;box-shadow:0 0 0 3px #d49a7220}

/* Assistant-style composer controls, image attachments, and an honest model picker. */
.composer-tools{gap:10px;justify-content:space-between;flex-wrap:wrap}.composer-left{display:flex;align-items:center;gap:7px}.popover-anchor{position:relative}.composer-icon-button,.model-picker-button{height:30px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s}.composer-icon-button{width:31px}.composer-icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.composer-icon-button:hover,.model-picker-button:hover{background:var(--pale);border-color:#e4c7b8}.model-picker-button{gap:7px;padding:0 9px;font-size:10px;font-weight:600}.model-picker-dot{width:7px;height:7px;border-radius:50%;background:#75a77a}.model-picker-chevron{font-size:15px;color:var(--muted);margin-top:-4px}.composer-popover{position:absolute;z-index:30;bottom:calc(100% + 10px);left:0;width:min(285px,calc(100vw - 36px));padding:8px;border:1px solid var(--line);border-radius:13px;background:var(--white);box-shadow:0 12px 34px #30251b24;color:var(--ink)}.model-popover{width:min(300px,calc(100vw - 36px))}.popover-action,.model-option{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:0;border-radius:9px;background:transparent;text-align:left;color:inherit}.popover-action{cursor:pointer}.popover-action:hover{background:var(--paper)}.popover-icon{width:28px;height:28px;border-radius:8px;background:var(--pale);display:grid;place-items:center;color:var(--orange-dark);font-size:16px}.popover-action>span:last-child,.model-option>span:last-child{display:grid;gap:3px}.popover-action strong,.model-option strong{font-size:11px;font-weight:650}.popover-action small,.model-option small{font-size:9px;color:var(--muted)}.composer-popover>p{margin:5px 8px 6px;color:var(--muted);font-size:9px;line-height:1.55}.model-option{border:1px solid #e8c7b5;background:#fcf6f1}.model-option-check{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f3dfd3;color:#b46b48;font-size:11px}.attachment-strip{display:flex;gap:8px;overflow-x:auto;padding:1px 2px 10px}.attachment-preview{position:relative;flex:none;width:104px;height:75px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper)}.attachment-preview img{width:100%;height:100%;object-fit:cover}.attachment-preview span{position:absolute;left:0;right:0;bottom:0;padding:13px 6px 5px;background:linear-gradient(transparent,#0009);color:white;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-preview button{position:absolute;top:4px;right:4px;width:20px;height:20px;border:0;border-radius:50%;background:#161616bb;color:#fff;font-size:16px;line-height:16px;cursor:pointer}.message-images{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.message-images img{display:block;max-width:min(240px,100%);max-height:220px;border-radius:10px;object-fit:contain;background:#0001}.message.user .message-content:has(.message-images){max-width:min(88%,620px)}
html[data-theme="dark"] .composer-icon-button,html[data-theme="dark"] .model-picker-button,html[data-theme="dark"] .composer-popover{background:#282724;border-color:#403e39;color:#e8e3da}html[data-theme="dark"] .popover-action:hover{background:#34322e}html[data-theme="dark"] .model-option{background:#3a2d27;border-color:#79543f}html[data-theme="dark"] .model-option-check{background:#563b2f;color:#ffc19d}html[data-theme="dark"] .attachment-preview{background:#282724;border-color:#403e39}
@media(max-width:520px){.composer-tools{gap:7px}.composer-left{gap:5px}.composer-hint{display:none}.composer-actions{margin-left:auto}.model-picker-button{font-size:9px;padding:0 7px}.composer-popover{bottom:calc(100% + 8px)}}

.model-option{cursor:pointer;text-align:left;border:1px solid transparent;background:transparent}.model-option:hover{background:var(--paper)}.model-option.selected{border-color:#e8c7b5;background:#fcf6f1}.model-option-check{flex:none}

/* Keep the send control aligned to the right of the composer tools. */
.composer-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px}.composer-left{grid-column:1;grid-row:1;min-width:0}.composer-hint{grid-column:1;grid-row:2;min-width:0}.composer-actions{grid-column:2;grid-row:1/3;margin-left:0;justify-self:end}.error-detail{flex-basis:100%;font-size:9px;line-height:1.5;opacity:.86}html[data-theme="dark"] .error-detail{color:#f0c6b6}

.plans-nav-link{min-height:36px;display:flex;align-items:center;gap:8px;margin-top:9px;padding:6px 9px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);text-decoration:none}.plans-nav-link>span{color:var(--orange-dark);font-size:15px}.plans-nav-link strong{font-size:10px;font-weight:650}.plans-nav-link small{margin-left:auto;color:var(--muted);font-size:9px}.plans-nav-link:hover{border-color:#e4c7b8;background:var(--pale)}html[data-theme="dark"] .plans-nav-link{background:#282724;border-color:#403e39;color:#e8e3da}html[data-theme="dark"] .plans-nav-link:hover{background:#34322e}

/* Roomier rounded composer and deeper personalization controls. */
.composer{padding:12px 14px 10px;border-radius:24px;background:var(--white);box-shadow:0 7px 24px #4b3e3010;transition:border-color .18s,box-shadow .18s}.composer:focus-within{border-color:#e3b69e;box-shadow:0 8px 26px #4b3e3017}.composer textarea{min-height:40px;max-height:180px;padding:2px 1px 8px;line-height:1.5}.composer-tools{border-top:1px solid var(--line);padding-top:8px;gap:4px 12px}.composer-icon-button{width:30px;height:30px;border:0;border-radius:50%;background:transparent}.composer-icon-button:hover{background:var(--pale)}.model-picker-button{height:30px;border:0;background:transparent;border-radius:16px;font-size:11px}.composer-hint{display:flex;align-items:center;gap:6px;font-size:10px}.composer-hint-dot{width:6px;height:6px;border-radius:50%;background:#86a98a}.send-button{width:34px;height:34px;border-radius:50%;background:#f08b63}.send-button:hover:not(:disabled){background:#dc744c}.send-button:disabled{background:#aeb0b5;opacity:1}.composer-actions{align-items:center}.char-count{font-size:9px}.settings-dialog{max-height:min(88vh,780px);overflow-y:auto}.memory-label{display:grid;gap:7px;margin-top:13px;color:var(--ink);font-size:11px;font-weight:600}.memory-label textarea{width:100%;resize:vertical;min-height:82px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);font:inherit;font-size:11px;line-height:1.55}.memory-label textarea:focus{outline:2px solid #e8b99f;outline-offset:1px}.memory-label textarea::placeholder{color:var(--muted);font-weight:400}.memory-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.memory-controls>span{font-size:9px;line-height:1.5;color:var(--muted)}.memory-controls .settings-done{flex:none}.settings-select select{height:36px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);font:inherit;font-size:11px}.settings-section .settings-check{margin-top:13px}html[data-theme="dark"] .composer{background:#242320;border-color:#3d3b36;box-shadow:0 8px 25px #0003}html[data-theme="dark"] .composer-tools{border-color:#3d3b36}html[data-theme="dark"] .memory-label textarea,html[data-theme="dark"] .settings-select select{background:#282724;border-color:#403e39;color:#e8e3da}@media(max-width:520px){.composer{border-radius:20px;padding:10px 11px 9px}.composer-tools{padding-top:6px}.composer-hint{font-size:9px}.memory-controls{align-items:flex-start;flex-direction:column}}
