
:root{color-scheme:dark;--bg:#050505;--panel:#101010;--text:#F5F1E8;--muted:#b2aba0;--yellow:#FFC72C;--bright:#FFD95A;--orange:#FF7A00;--red:#D62828;--line:#332b1e;--radius:18px;--helios-selected:#FFC72C09;--helios-warm-panel:#211c12;--helios-danger-soft:#D6282815}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 78% 0%,#FF7A0010,transparent 50%),var(--bg);color:var(--text);font:16px/1.65 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh}a{color:var(--bright);text-underline-offset:4px}a:hover{color:#fff}button,input,textarea,select{font:inherit}button,a,input,textarea,select{transition:background .18s,border-color .18s,box-shadow .18s}:focus-visible{outline:2px solid var(--bright);outline-offset:4px}.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link:focus{position:fixed;background:var(--panel);z-index:5;padding:12px}
.site-header{max-width:1440px;margin:auto;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:650;font-size:21px;letter-spacing:.2em}.brand img{width:62px;height:62px;object-fit:contain}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.14em}nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}nav a{font-size:13px;text-decoration:none}nav form{margin:0}nav button{font-size:12px;padding:8px 14px;background:var(--panel);color:var(--bright);border:1px solid #66501e}
main{max-width:1180px;margin:0 auto;padding:44px 32px 64px;overflow-wrap:anywhere}main>h1,main>form,main>p,main>ul,main>div{max-width:760px}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}h1{font-size:clamp(30px,5vw,48px);font-weight:600}h2{font-size:24px}h3{font-size:17px}.account-intro{display:flex;align-items:center;gap:20px;margin-bottom:32px;border-bottom:1px solid var(--line);padding-bottom:24px}.account-intro img{width:108px;height:108px;object-fit:contain}.eyebrow{color:var(--yellow);font-size:10px;letter-spacing:.18em;text-transform:uppercase}.account-intro p{margin:6px 0;color:var(--muted)}
input,textarea,select{padding:13px 15px;border:1px solid #494033;border-radius:10px;background:#0b0b0b;color:var(--text);max-width:100%;box-sizing:border-box}input:not([type=checkbox]):not([type=radio]),textarea{width:100%}input::placeholder,textarea::placeholder{color:#a3998c}input:focus,textarea:focus{border-color:var(--yellow)}label{display:block;margin:14px 0 7px;font-size:14px}label:has(input[type=checkbox]),label:has(input[type=radio]){display:flex;align-items:center;gap:10px}button,.primary-link{display:inline-block;border:1px solid transparent;border-radius:10px;padding:12px 20px;background:linear-gradient(115deg,var(--bright),#FFB300 60%,#FF7A00);color:#171006;font-weight:650;cursor:pointer;text-decoration:none}button:hover,.primary-link:hover{background:linear-gradient(115deg,#ffe791,#FFC72C 60%,#ff9130);color:#171006;box-shadow:0 4px 20px #FFB30018}button:disabled{opacity:.5;cursor:default}form button{margin-top:12px}small,.helptext{color:var(--muted);font-size:12px}.errorlist,[role=alert]{color:#ffb4a5;background:#D6282815;padding:12px 20px;border-left:2px solid var(--red)}.messages{border:1px solid #66501e;background:#FFC72C09;border-radius:12px;padding:12px 20px;margin-bottom:24px}pre{white-space:pre-wrap;overflow-wrap:anywhere}svg{max-width:100%;background:white}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px;border-bottom:1px solid var(--line)}
.dashboard{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px}.history-panel,.chat-panel{background:linear-gradient(145deg,#141210,#0b0b0b);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.history-panel h2{font-size:18px}.history-panel ul{list-style:none;padding:0;margin-top:28px}.history-panel li{padding:14px 0;border-bottom:1px solid var(--line)}.history-panel li a{display:block;font-size:14px;text-decoration:none}.history-panel [aria-current]{color:#fff;border-left:2px solid var(--yellow);padding-left:10px}.history-panel button{width:100%;font-size:13px}.chat-panel form{max-width:none}.chat-panel article{border:1px solid var(--line);background:#FFFFFF03;border-radius:12px;margin:16px 0;padding:18px}.chat-panel article h3{font-size:10px;letter-spacing:.14em;color:var(--yellow);margin-top:0}.chat-panel textarea{resize:vertical;min-height:130px}.solar-welcome{display:flex;align-items:center;gap:24px;padding:14px 0 30px}.solar-welcome img{width:155px;height:155px;object-fit:contain}.solar-welcome h2{font-size:30px;margin:10px 0}.solar-welcome p{color:var(--muted);font-size:14px}.site-footer{padding:24px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;color:var(--muted);font-size:12px}.site-footer a{margin-left:15px}
@media(max-width:800px){.site-header{padding:16px 20px;align-items:flex-start;flex-direction:column;gap:12px}nav{gap:12px}main{padding:28px 18px}.dashboard{grid-template-columns:1fr}.history-panel ul{max-height:220px;overflow:auto}.account-intro img{width:76px;height:76px}.solar-welcome{gap:12px}.solar-welcome img{width:100px;height:100px}.solar-welcome h2{font-size:25px}.site-footer{flex-wrap:wrap;padding:22px 20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.totp-qr{display:block;width:300px;max-width:100%;height:auto;background:#fff;padding:20px;border:1px solid #fff;border-radius:12px;margin:24px 0;color-scheme:light}details{margin:20px 0}summary{cursor:pointer;color:var(--bright)}

/* HELIOS visual system: existing black, gold and amber palette. */
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,.primary-link{min-height:44px}input:not([type=checkbox]):not([type=radio]),select{min-height:46px}
.site-header{padding-top:16px;padding-bottom:16px}.brand img{width:48px;height:48px}.brand{font-size:19px;letter-spacing:.18em}
.site-header nav{gap:8px 20px}.site-header nav a{padding:8px 0}.site-footer{line-height:1.8}
.account-main{padding-top:64px;padding-bottom:76px;max-width:1200px}
.account-page .account-intro,.discover-page .account-intro{display:none}
main>.account-layout,main>.discovery{max-width:none}
.account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:clamp(40px,7vw,100px);align-items:center}
.account-story{padding:20px 0}.story-brand{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;letter-spacing:.13em;text-transform:uppercase}
.story-brand img{width:52px;height:52px;object-fit:contain}.account-story h2{font-size:clamp(36px,4.5vw,58px);line-height:1.1;letter-spacing:-.05em;font-weight:550;margin:28px 0 22px}
.account-story h2 span,.discovery h1 span{color:var(--bright)}
.account-story>p{color:var(--muted);max-width:360px;font-size:16px;line-height:1.8}
.story-benefits{list-style:none;padding:12px 0 0;margin:26px 0 0;display:grid;gap:20px}
.story-benefits li{display:flex;gap:14px;align-items:flex-start;font-size:14px}.story-benefits b{font-size:10px;color:var(--bright);border:1px solid var(--line);border-radius:8px;padding:6px 8px;letter-spacing:.08em}
.story-benefits strong{display:block;font-size:14px;font-weight:550}.story-benefits small{font-size:12px}
.account-card{padding:32px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#141210,#0b0b0b);box-shadow:0 24px 70px #0007}
.account-card h1{font-size:30px;line-height:1.2;margin:14px 0 16px;letter-spacing:-.04em}
.account-card>p{font-size:14px;color:var(--muted);line-height:1.75}.account-card form{margin-top:24px}.account-card label{font-size:13px;margin-top:18px}
.account-card form>button{width:100%;margin-top:22px;font-size:14px}.account-card .account-switch{margin:24px 0 0;padding-top:22px;border-top:1px solid var(--line);font-size:13px}
.account-step{display:inline-flex;align-items:center;gap:8px;font-size:10px;color:var(--bright);letter-spacing:.12em;text-transform:uppercase}
.account-step::before{content:"";height:5px;width:5px;background:var(--yellow);border-radius:50%}
.account-card .helptext,.account-card form ul{font-size:12px}.account-card form ul:not(.errorlist){padding-left:18px;color:var(--muted)}
.account-card input{background:var(--bg);border-color:#494033}.account-card input:focus{border-color:var(--yellow);box-shadow:0 0 0 3px #FFC72C09}
.secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #494033;border-radius:10px;text-decoration:none;color:var(--text);font-size:14px}
.secondary-link:hover{background:var(--panel);border-color:var(--yellow)}
.discovery{padding:14px 0}.discovery-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:64px;align-items:center}
.discovery h1{font-size:clamp(40px,5.6vw,68px);line-height:1.08;font-weight:550;margin:22px 0}
.discovery-lead{max-width:580px;color:var(--muted);font-size:17px;line-height:1.8}
.discovery-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px;align-items:center}.discovery-actions .primary-link{font-size:14px}
.discovery-note{font-size:12px;color:var(--muted);margin-top:18px}
.discovery-visual{padding:34px 28px;border:1px solid #51432c;border-radius:24px;background:linear-gradient(140deg,#211c12,#151410)}
.discovery-visual>img{width:94px;height:94px;object-fit:contain;display:block;margin-bottom:24px}.discovery-visual h2{font-size:25px;font-weight:500}
.discovery-visual p{font-size:14px;color:var(--muted)}.discovery-visual a{font-size:13px}
.discovery-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:64px 0 32px}
.discovery-feature{border-top:1px solid #51432c;padding:22px 4px}.discovery-feature>span{font-size:11px;letter-spacing:.12em;color:var(--bright)}
.discovery-feature h2{font-size:20px;letter-spacing:-.025em}.discovery-feature p{font-size:14px;color:var(--muted)}
.discovery-access{border-top:1px solid var(--line);padding-top:24px}.discovery-access h2{font-size:20px}.discovery-access p{font-size:13px;color:var(--muted);max-width:760px}
@media(max-width:850px){.account-main{padding-top:30px}.account-layout{gap:34px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.account-card{padding:26px}.account-story h2{font-size:38px}.discovery-hero{gap:30px}.discovery-visual{padding:24px}.discovery-features{gap:16px}}
@media(max-width:640px){.site-header{flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px;padding:16px 20px}.brand{font-size:17px}.brand img{width:42px;height:42px}.brand small{font-size:8px}.site-header nav{width:100%;gap:6px 20px}.site-header nav a{font-size:12px}.account-main{padding:24px 20px 40px}.account-layout{grid-template-columns:1fr;gap:24px}.account-story{padding:0}.story-brand{font-size:10px}.story-brand img{width:36px;height:36px}.account-story h2{font-size:32px;margin:18px 0 14px}.account-story>p{font-size:14px;margin-bottom:0}.story-benefits{display:none}.account-card{padding:24px 20px;border-radius:18px}.account-card h1{font-size:25px}.account-card>p{font-size:13px}.account-card form{margin-top:20px}.account-card form>button{font-size:13px}.discovery-hero{grid-template-columns:1fr;gap:30px}.discovery h1{font-size:42px}.discovery-lead{font-size:15px}.discovery-visual{display:none}.discovery-features{grid-template-columns:1fr;margin-top:40px;gap:8px}.discovery-feature{padding:20px 0}.discovery-feature h2{margin:12px 0}.discovery-actions{gap:10px}.discovery-actions a{width:100%}}

/* Installed apps use the same interface with iPhone safe-area support. */
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.site-footer,.workspace-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}
.app-update{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:1500;width:min(560px,calc(100% - 32px));padding:14px 18px;background:#171510;border:1px solid #756239;border-radius:16px;box-shadow:0 8px 35px #0008;color:#eee9df;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.app-update[hidden]{display:none}.app-update p{margin:0;flex:1 1 260px;font-size:14px}.app-update button{min-height:40px;padding:8px 14px;font-size:14px}
@media(display-mode:standalone){.site-header,.workspace-header{padding-top:max(12px,env(safe-area-inset-top))}}

.delete-conversation-card{max-width:600px;margin:30px auto;padding:clamp(20px,4vw,36px);border:1px solid #51432c;border-radius:22px;background:#13120f}
.delete-conversation-card h1{font-size:clamp(24px,4vw,34px);line-height:1.2}
.delete-conversation-card blockquote{margin:24px 0;padding:16px;border-left:2px solid #d5b361;background:#201c13;color:#eadbc0;border-radius:0 10px 10px 0;overflow-wrap:anywhere}
.delete-conversation-card p{line-height:1.7}.delete-conversation-note{font-size:12px;color:#aaa08c}
.delete-conversation-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}
.delete-conversation-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #51432c;border-radius:10px;text-decoration:none;color:#d7c296}
.delete-conversation-actions button{min-height:44px;margin:0}
@media(max-width:480px){.delete-conversation-actions>*{width:100%}.delete-conversation-actions a{order:2}}
