/* A lightweight, CSS-only identity for the opening workspace. */
.workspace-home{position:relative;isolation:isolate;overflow:hidden;padding:0 26px 24px;margin:0 0 24px;border:1px solid #5c506a;border-radius:22px;background:radial-gradient(ellipse at 90% 10%,#a978d52b,transparent 54%),linear-gradient(125deg,#24202d,#17171e 68%);box-shadow:0 16px 45px #05020c25}
.workspace-home:before{content:'';position:absolute;z-index:-1;left:26px;right:26px;top:0;height:1px;background:linear-gradient(90deg,transparent,#e4cfff,#d9b6a8,transparent)}
.journey-intro{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(160px,.8fr);align-items:center;min-height:238px;gap:20px}
.journey-copy{position:relative;z-index:1;padding:30px 0 27px;min-width:0}
.journey-eyebrow{color:#c9b8df;font-size:9px;letter-spacing:2.3px;line-height:1.5;margin:0 0 17px;font-weight:600}
.workspace-home .journey-copy h2{font-size:clamp(32px,3.6vw,51px);letter-spacing:-1.8px;line-height:1.09;font-weight:600;margin:0 0 17px;color:#f7f2ee}
.journey-copy h2 span{display:block;color:#d5b9ef;background:linear-gradient(100deg,#d4bbf4 5%,#efbfba 78%);background-clip:text;-webkit-text-fill-color:transparent}
.journey-description{font-size:13px;line-height:1.7;color:#c4bbcE;max-width:410px;margin:0}
.journey-art{height:220px;position:relative;min-width:0;pointer-events:none;contain:layout paint}
.journey-art:before{content:'';position:absolute;inset:10%;border-radius:50%;background:radial-gradient(ellipse,#c9a0ed25,transparent 67%);animation:journey-glow 8s ease-in-out infinite alternate}
.journey-prism{position:absolute;left:50%;top:45%;width:104px;height:126px;border:1px solid #e6cafa80;border-radius:25px;box-shadow:inset 1px 1px 20px #ffffff12,0 12px 25px #09031530}
.journey-prism-back{transform:translate(-29%,-44%) rotate(30deg);background:linear-gradient(145deg,#dbb6b74d,#8770aa14 45%,#b794d54d);border-color:#d4aebb73}
.journey-prism-front{transform:translate(-68%,-55%) rotate(-23deg);background:linear-gradient(135deg,#ead0ff85,#9874c322 48%,#27203199 76%);box-shadow:inset 1px 1px 0 #f8dfff73,0 16px 35px #0b041d40}
.journey-orbit{position:absolute;left:50%;top:45%;width:220px;height:86px;border:1px solid #c9a6e947;border-radius:50%;transform:translate(-50%,-50%) rotate(-29deg)}
.journey-orbit-back{width:188px;height:157px;transform:translate(-50%,-50%) rotate(38deg);border-color:#d7acc526}
.journey-orbit-front{border-top-color:transparent;border-right-color:transparent;border-bottom-color:#e7c6f4ad;box-shadow:0 4px 10px #c59fea0b}
.journey-monogram{position:absolute;left:50%;top:45%;transform:translate(-56%,-59%) rotate(-10deg);font-size:42px;font-weight:650;letter-spacing:-7px;color:#f2dfff;text-shadow:0 4px 20px #1c0f3880}
.journey-art-caption{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:3px;color:#b9a9cd}
.journey-spark{position:absolute;width:6px;height:6px;border-radius:50%;background:#efd8fc;box-shadow:0 0 12px #c7a0f17d}
.journey-spark-one{left:19%;top:34%}.journey-spark-two{right:14%;top:62%;width:4px;height:4px;background:#e6b5ad}
.journey-route-title{font-size:12px;letter-spacing:.1px;font-weight:500;color:#c8c0d2;margin:0 0 12px}
#workspace-home .workspace-routes{gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}
#workspace-home .journey-route{display:grid;grid-template-columns:30px minmax(0,1fr) 12px;align-items:center;gap:10px;min-height:68px;border:1px solid #51465e;border-radius:12px;background:#282330cf;color:#f0e6f7;padding:13px 12px!important;font-size:12px!important;line-height:1.45;box-shadow:inset 0 1px 0 #e8d1ff06}
.journey-route-icon{display:grid;place-items:center;width:30px;height:34px;font-size:23px;color:#d5bced;background:#bd96db13;border-radius:9px;font-weight:400}
[data-intent=image] .journey-route-icon{color:#e5bbae;background:#db9b8713}[data-intent=write] .journey-route-icon{color:#b8cedf;background:#88b5d013}[data-intent=design] .journey-route-icon{color:#bdd1c1;background:#a3c6a113}
.journey-route-label{min-width:0;overflow-wrap:break-word}.journey-route-arrow{font-size:15px;color:#aa98bd}
#workspace-home .journey-route:hover{background:#352d40;border-color:#b398ce;transform:translateY(-2px)}
#workspace-home .journey-route:focus-visible{outline:2px solid #e3c7fb;outline-offset:3px}
.workspace-home .workspace-resume{border-color:#564a62;margin-top:18px;padding-top:16px}.workspace-home .workspace-resume small{font-size:11px}
@keyframes journey-glow{from{opacity:.45;transform:scale(.95)}to{opacity:1;transform:scale(1.08)}}
@media(max-width:1100px){#workspace-home .workspace-routes{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-intro{min-height:215px}.workspace-home .journey-copy h2{font-size:38px}.journey-art{height:205px}}
@media(max-width:650px){.workspace-home{padding:0 16px 16px;border-radius:17px;margin-bottom:18px}.journey-intro{grid-template-columns:minmax(0,1fr) 92px;gap:0;min-height:183px}.journey-copy{padding:22px 0 20px}.journey-eyebrow{font-size:7px;letter-spacing:1.2px;margin-bottom:13px}.workspace-home .journey-copy h2{font-size:30px;line-height:1.12;letter-spacing:-1px;margin-bottom:12px}.journey-description{font-size:11px;line-height:1.65;max-width:220px}.journey-art{width:120px;height:172px;margin-left:-18px;align-self:center;opacity:.85}.journey-prism{width:53px;height:71px;border-radius:14px}.journey-monogram{font-size:26px;letter-spacing:-4px}.journey-orbit{width:118px;height:48px}.journey-orbit-back{width:102px;height:91px}.journey-art-caption{font-size:6px;letter-spacing:1.3px;bottom:19px}.journey-spark{width:3px;height:3px}.journey-spark-two{width:3px;height:3px}.journey-art:before{animation:none}.journey-route-title{font-size:11px;margin-bottom:10px}#workspace-home .workspace-routes{gap:8px}#workspace-home .journey-route{grid-template-columns:25px minmax(0,1fr);gap:8px;min-height:66px;padding:10px!important;font-size:11px!important;border-radius:10px}.journey-route-icon{width:25px;height:30px;font-size:20px}.journey-route-arrow{display:none}#workspace-home .journey-route:hover{transform:none}.workspace-home .workspace-resume{margin-top:14px;padding-top:12px}.workspace-home .workspace-resume .quiet{font-size:12px}}
@media(max-width:360px){.journey-intro{grid-template-columns:minmax(0,1fr) 66px}.workspace-home .journey-copy h2{font-size:27px}.journey-art{margin-left:-38px}.journey-eyebrow{font-size:6px;letter-spacing:1px}#workspace-home .journey-route{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.journey-art:before{animation:none}#workspace-home .journey-route{transition:none}#workspace-home .journey-route:hover{transform:none}}

/* Account and interruption controls share the workspace's quiet surfaces. */
#chat-question{display:block;margin-top:10px}
.recovery-panel{margin:0 23px 18px;padding:16px;border:1px solid #776244;border-radius:12px;background:#302a213d;display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.recovery-panel[hidden],.profile-options[hidden],.custom-revision:not([open]){display:none!important}
.recovery-panel>p{flex-basis:100%;margin:0 0 4px;color:#ead9bd;font-size:13px;line-height:1.7}
.recovery-panel .quiet{font-size:12px;min-height:44px;white-space:normal;max-width:100%}
.profile-options{display:grid;gap:12px;margin:22px 0;clear:both}
.profile-options>details{border:1px solid #504557;border-radius:12px;background:#19171e;padding:0 16px;min-width:0}
.profile-options summary{padding:15px 0;min-height:48px;font-weight:500;font-size:14px;line-height:1.4;color:#e3d4ed;cursor:pointer}
.profile-options details[open]{padding-bottom:16px}
.profile-options details[open]>summary{border-bottom:1px solid #463c4f;margin-bottom:14px}
.profile-options label{display:grid;gap:8px;margin:14px 0;font-size:13px}
.profile-options select{width:100%;min-width:0;margin:0}
.profile-options button{margin:4px 8px 6px 0;min-height:44px;white-space:normal}
.profile-options small,.profile-options p{font-size:12px;line-height:1.7;color:#c4b6ce;overflow-wrap:anywhere}
.profile-options [role=status]:empty{display:none}
.profile-options #credit-history>div{max-height:360px;max-height:min(360px,45dvh);overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.profile-options #credit-history>div>p{padding:11px 0;margin:0;border-bottom:1px solid #423849;font-variant-numeric:tabular-nums}
.profile-options #credit-history>div>p:first-child{padding-top:0;color:#b5a8bf}.profile-options #credit-history>div>p:last-child{border-bottom:0}
.custom-revision{width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:28px;box-sizing:border-box}
.custom-revision h2{font-size:24px;letter-spacing:-.5px;line-height:1.3;margin:0 0 20px}
.custom-revision>label{display:grid;gap:9px;margin:18px 0;color:#ded1e8;font-size:13px;line-height:1.65}
.custom-revision textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;font-size:15px;line-height:1.7;max-height:45dvh}
.custom-revision textarea[readonly]{color:#d0c5d9;background:#151219;border-color:#5b4b66;min-height:130px;cursor:text;user-select:text}
.custom-revision>p{font-size:12px;line-height:1.7;color:#bdb0c7;margin:16px 0}.custom-revision>[role=status]{color:#f1c6a9}.custom-revision>[role=status]:empty{display:none}
.custom-revision>button{min-height:44px;white-space:normal;margin:6px 8px 0 0;max-width:100%}
@media(max-width:650px){.recovery-panel{margin:0 17px 16px;padding:14px}.recovery-panel .quiet{flex:1 1 130px}.profile-options{gap:10px;margin:18px 0}.profile-options>details{padding-inline:12px}.profile-options button{font-size:12px}.custom-revision{padding:20px;max-height:calc(100dvh - 20px);width:calc(100% - 20px)}.custom-revision h2{font-size:21px}.custom-revision>button{width:100%;margin:6px 0 0}.custom-revision textarea{font-size:16px}}

/* Editorial hierarchy: one focal point, then quiet, legible work surfaces. */
.studio-stages{gap:12px;margin-bottom:30px}
.studio-stages button{background:#1d1b21;border-color:#49404f;border-radius:12px;box-shadow:none;text-align:left;transition:background-color .18s ease,border-color .18s ease}
.studio-stages button strong{font-family:inherit;font-weight:600;letter-spacing:-.4px;font-size:20px}
.studio-stages button small{font-size:13px;color:#bcb0c6;line-height:1.6}
.studio-stages button[aria-pressed=true]{background:#ddd0e6;color:#28202e;border-color:#ddd0e6}
.studio-stages button[aria-pressed=true] small{color:#524457}
.tools-heading{margin-bottom:18px}.tools-heading h2{font-size:20px;font-weight:500;letter-spacing:-.45px}
.feature-grid .feature{border-color:#453e4b;border-radius:14px;background:#1c1b20;box-shadow:none}
.feature-grid .feature.selected{background:#28232f;border-color:#b299c4;box-shadow:inset 0 -2px 0 #bba4cb}
.feature-grid .feature:after{display:none}
.studio-grid{gap:24px}
.studio-grid>.panel{border-color:#4d4454;border-radius:18px;background:#1c1a20;box-shadow:0 10px 30px #00000012;overflow:hidden}
.studio-grid .panel-heading{padding:24px;border-bottom:1px solid #39333f;align-items:center}
.studio-grid .panel-heading h2{font-size:24px;font-weight:550;margin-top:6px;letter-spacing:-.65px}
.studio-grid .mini-label{color:#bfaacd;font-size:10px;letter-spacing:1.8px}
.studio-grid input,.studio-grid textarea,.studio-grid select{background:#121116;border-color:#55495f;border-radius:10px}
.studio-grid textarea{line-height:1.8}
.studio-grid label{font-size:14px;color:#e0d5e8}
.studio-grid .input-meta{margin-top:10px;line-height:1.6}
.studio-options{border-color:#4a3f54;background:#211d26;border-radius:10px;padding:14px 16px}
.studio-options summary{font-size:14px;line-height:1.6;min-height:32px}
.preparation{border:0;border-left:2px solid #b9a2cb;border-radius:0 9px 9px 0;background:#28222e;margin:18px 0;padding:14px 16px}
.preparation summary{font-size:14px;line-height:1.6;cursor:pointer;min-height:30px}
.preparation label{font-size:14px;line-height:1.7}.preparation p{font-size:14px;line-height:1.7;color:#cbbdd4}
.studio-more{border-color:#43384d;border-radius:10px;background:#17151b}.studio-more>summary{font-size:14px;line-height:1.6}
#empty-result{padding:42px 24px}#empty-result h3{font-size:21px;font-weight:500;letter-spacing:-.5px;margin:20px 0 12px}#empty-result p{font-size:14px;line-height:1.8;max-width:360px;margin-inline:auto}
.result .orb{width:68px;height:68px;border-radius:20px;background:#29232f;border:1px solid #665070;color:#ddc5ed}
.result-note,.protection,.image-limits{font-size:13px;line-height:1.75}
.result #output{font-family:inherit;font-size:15px;line-height:1.85;color:#e4dbe9;background:transparent}
.result-use{border-color:#463b50;background:#19171e}.result-use h3{font-weight:500;font-size:18px}.result-use small{font-size:13px;color:#bcafc9}
#projects-page>h1,#projects-page>h2{font-size:32px;font-weight:550;letter-spacing:-1px}
.project-workspace{padding:18px 0;margin:18px 0 24px;border-top:1px solid #413749;border-bottom:1px solid #413749}
.project-workspace label{font-size:14px;display:grid;gap:8px}.project-workspace small{font-size:13px;line-height:1.7;color:#bbaec5;flex-basis:100%}
.project-card{background:#1d1a21;border-color:#4b3f56;border-radius:16px;padding:24px;min-width:0}
.project-card h3{font-size:22px;font-weight:550;letter-spacing:-.5px;line-height:1.4;margin:0 0 14px;color:#f1e9ef}
.project-card .project-meta{font-size:12px;line-height:1.7;color:#bdb0c6;gap:12px;padding-bottom:15px;margin-bottom:10px;border-bottom:1px solid #423849}
.project-card>.quiet{background:#242029;border-color:#55485f;line-height:1.55;min-height:44px}
.project-card details{margin:14px 0;padding:0 0 12px;border-bottom:1px solid #403548}.project-card details summary{font-size:13px;line-height:1.6;min-height:32px;cursor:pointer;color:#c7b9d0}
.project-card details label{display:grid;gap:8px;font-size:14px;margin-top:12px}.project-card details input{width:100%;min-width:0}
.project-card>pre{font-family:inherit;font-size:15px;line-height:1.8;padding:18px;background:#15121a;border-radius:10px;border:1px solid #3e3347;overflow-wrap:anywhere}
.project-card>small{font-size:13px;line-height:1.7;color:#b8a8c6}.project-card>label{font-size:14px;line-height:1.7;margin-top:18px}
.account-chat-dialog{border-radius:18px;border-color:#6c577c;background:#1d1922}
.account-chat-dialog h2{font-weight:550;letter-spacing:-.6px}.account-chat-dialog>p{font-size:14px;color:#cfc1d9;line-height:1.8}
.account-chat-dialog .profile-balance{font-size:34px;font-weight:550;letter-spacing:-.7px;line-height:1.3;color:#ecdcec;padding:20px 0;margin:16px 0;border-bottom:1px solid #514059}
.account-chat-dialog form{border-top:1px solid #493b53;padding-top:14px;margin-top:24px}.account-chat-dialog form label{font-size:14px}
.profile-options>details{border-color:#564460;background:#19151e}.profile-options summary{font-size:15px}.profile-options small,.profile-options p{font-size:13px}
@media(max-width:650px){
 .sidebar{padding-top:12px;padding-bottom:12px}.sidebar .brand{font-size:21px}
 header{padding:10px 16px;gap:8px;align-items:center}.header-right{width:auto;flex:1 1 auto;gap:8px;min-width:0;flex-wrap:wrap}.header-right .quiet{font-size:14px;min-height:44px}.header-right .language-control select{font-size:14px!important;min-height:44px;padding-inline:9px}.active-visitors{margin-left:auto;font-size:12px;padding:4px 0;border:0;background:transparent}
 .journey-description{font-size:14px;line-height:1.55;max-width:250px}.journey-intro{min-height:195px}.journey-copy{padding:21px 0 18px}.journey-route-title{font-size:14px;line-height:1.5}
 #workspace-home .journey-route{font-size:14px!important;line-height:1.45;min-height:80px;padding:11px 10px!important;grid-template-columns:22px minmax(0,1fr);gap:7px}.journey-route-icon{width:22px;height:30px;font-size:20px}.journey-route-label{overflow-wrap:normal}
 .workspace-home .workspace-resume .quiet{font-size:14px}.workspace-home .workspace-resume small{font-size:13px;line-height:1.6}
 .studio-stages{gap:8px;margin-bottom:24px}.studio-stages button{border-radius:10px}.studio-stages button strong{font-size:17px}
 .tools-heading h2{font-size:19px;line-height:1.4}.feature-grid .feature-copy strong{font-size:14px!important;line-height:1.4}.feature-grid .feature{min-height:80px!important}
 .studio-grid{gap:18px}.studio-grid>.panel{border-radius:14px}.studio-grid .panel-heading{padding:20px 17px}.studio-grid .panel-heading h2{font-size:22px}.studio-grid .outline-pill{font-size:12px}.studio-grid label,.input-meta,.generation-footer,.suggestions,.suggestions button{font-size:14px}
 .studio-grid .input-meta{font-size:12px;gap:10px;align-items:flex-start}.studio-grid .auth-note,.studio-grid .protection,.studio-grid .image-limits,.studio-grid .result-note{font-size:14px!important;line-height:1.7}
 .studio-options,.preparation{padding:13px}.preparation button{font-size:14px;white-space:normal;line-height:1.5;min-height:44px}.generation-footer{gap:12px;padding:12px 7px;background:#211b27}.generation-footer .primary{font-size:14px;white-space:normal;line-height:1.5}
 .result-use{padding:17px}.result-use button,.result-use small,.result-use p,.recovery-panel p,.recovery-panel .quiet,.profile-options small,.profile-options p,.profile-options button{font-size:14px}.result-use small{line-height:1.7}
 .project-card{padding:18px;border-radius:14px}.project-card h3{font-size:21px}.project-card .project-meta{font-size:13px}.project-card>.quiet,.project-card details summary,.project-card>small{font-size:14px}.project-card>.quiet{margin:6px 6px 6px 0}.project-card>pre{font-size:15px;padding:14px}
 .project-workspace small{font-size:14px}.project-workspace>button{font-size:14px}
 .account-chat-dialog .profile-balance{font-size:28px;padding:18px 0}.account-chat-dialog>p,.account-chat-dialog small,.custom-revision>p,.custom-revision>label{font-size:14px}
}
@media(max-width:360px){.journey-intro{grid-template-columns:minmax(0,1fr) 58px}.journey-description{padding-right:2px}.journey-art{opacity:.6;margin-left:-44px}.header-right{flex-basis:100%}.active-visitors{padding:0;margin-top:-4px}.journey-route-icon{display:none}#workspace-home .journey-route{grid-template-columns:1fr;text-align:left;min-height:76px;font-size:14px!important}}
@media(max-width:650px){.shell{position:relative}header .active-visitors{position:absolute;top:20px;right:16px;margin:0;padding:0;max-width:calc(100% - 205px);font-size:11px;white-space:normal;line-height:1.3;background:transparent;border:0}header .active-visitors:before{width:4px;height:4px}.sidebar .brand{max-width:195px}}
