.studio-shell{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}.studio-projects .panel{padding:18px}.studio-projects h2{font-size:14px}.project-link{display:block;width:100%;border:1px solid var(--line);background:var(--bg);border-radius:7px;padding:12px;margin-top:10px;text-align:left}.project-link b{font-size:11px}.project-link small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.project-link.active{border-color:#8ca56f}.studio-title{display:flex;align-items:center;gap:15px;margin-bottom:20px}.studio-title h2{font-size:22px;margin:0}.studio-columns{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(260px,1.1fr);gap:18px}.studio-columns .panel{padding:20px}.studio-note{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0}.design-locks{border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.design-locks h3{font-size:15px}.lock-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:14px}.lock-grid label{font-size:10px;margin:6px 0}.design-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.design-comparison figure{margin:0;min-width:0}.design-comparison figcaption{font-size:10px;color:var(--muted);margin-bottom:9px}.design-comparison img{width:100%;height:auto;max-height:620px;object-fit:contain;background:var(--bg);border-radius:7px}.design-review{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.design-review .primary{font-size:10px}.version-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.version-card{padding:5px;border:1px solid var(--line);border-radius:7px;background:var(--bg);text-align:left}.version-card.selected{border-color:#98b677}.version-card img{width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:4px}.version-card span{display:block;font-size:9px;padding:8px 3px}.studio-result{min-width:0}.studio-shell input[type=file]{font-size:10px;padding:10px;max-width:100%}@media(max-width:1250px){.studio-shell{grid-template-columns:1fr}.studio-projects{display:grid;grid-template-columns:1fr 1fr;gap:18px}.studio-columns{grid-template-columns:1fr 1fr}}@media(max-width:800px){.studio-projects,.studio-columns{grid-template-columns:1fr}.studio-title h2{font-size:19px}}
/* Creative GPT conversation workspace */
.creative-studio{grid-template-columns:210px minmax(0,1fr);gap:26px}.creative-studio>section{min-width:0}.creative-studio .studio-projects{position:sticky;top:20px}.creative-studio .studio-projects .panel{background:transparent;padding:14px;border-radius:12px}.creative-studio summary{cursor:pointer;font-weight:600;font-size:12px;padding:8px 0}.creative-studio .studio-title{margin-bottom:8px}.creative-studio .studio-title h2{font-size:17px}.creative-studio .project-settings{padding:10px 18px;margin-bottom:14px;background:transparent}.creative-studio .studio-columns{display:flex;flex-direction:column-reverse;gap:20px}.creative-studio .studio-result{border:0;box-shadow:none;background:transparent;padding:12px 0}.creative-studio .creative-composer,.creative-composer{border-radius:22px;padding:20px;background:var(--white);box-shadow:0 5px 22px #0000000c}.creative-studio .creative-composer{position:sticky;bottom:12px;z-index:2}.creative-composer textarea{border:0;background:transparent;resize:vertical;min-height:85px;font-size:14px;padding:10px 0}.creative-composer h2{font-size:12px;color:var(--muted)}.creative-composer .notice{font-size:10px;padding:8px 12px;margin:8px 0}.creative-composer .full{width:auto;min-width:170px}.creative-composer .lock-options{margin-top:12px}.creative-composer .design-locks{margin-top:5px;padding-top:10px}.creative-user{margin:22px 0 24px auto;max-width:85%;width:fit-content;padding:14px 20px;background:var(--bg);border:1px solid var(--line);border-radius:22px 22px 5px 22px;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.creative-assistant{line-height:1.8;min-width:0}.creative-assistant>b{display:block;font-size:13px;margin-bottom:16px}.creative-assistant pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.chat-image{display:block;border:0;background:transparent;padding:0;max-width:520px;width:100%;text-align:left}.chat-image img{display:block;width:100%;max-height:640px;object-fit:contain;border-radius:16px;background:var(--bg)}.creative-exchange{margin-bottom:35px}.creative-studio .design-comparison img{max-height:760px;border-radius:16px}.creative-studio .studio-modes{gap:5px;flex-wrap:wrap}.creative-studio .studio-modes button{font-size:10px}.creative-text{max-width:850px;margin:0 auto;min-height:70vh;display:flex;flex-direction:column}.creative-text-header{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:15px}.creative-text-header h1{font-size:23px;margin:0}.creative-text-header p{font-size:12px;color:var(--muted)}.creative-text-thread{flex:1;padding:15px 8px 30px}.creative-text .creative-composer{position:sticky;bottom:12px}.creative-text .creative-composer label{font-size:11px}.creative-text .empty{padding:65px 15px}.creative-studio .version-grid{margin-top:15px}@media(max-width:1100px){.creative-studio{grid-template-columns:1fr}.creative-studio .studio-projects{position:static;display:grid;grid-template-columns:1fr 1fr}.creative-studio .creative-composer{position:static}}@media(max-width:650px){.creative-studio .studio-projects{grid-template-columns:1fr}.creative-text-header{align-items:flex-start}.creative-user{max-width:95%}.creative-text .creative-composer{position:static}.creative-studio .design-comparison{grid-template-columns:1fr}}
.creative-studio .creative-composer{position:static}.creative-studio .studio-result{min-height:340px}.creative-studio .creative-composer textarea{min-height:95px;max-height:220px}.creative-studio .studio-result .empty{padding:55px 15px}
/* Keep the brief visible instead of reserving a full welcome screen. */
.creative-studio .studio-result{min-height:0;padding:0!important;max-height:42dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.creative-studio.empty-project .studio-result{max-height:90px;overflow:hidden}.creative-welcome{display:flex;flex-direction:column;gap:5px;padding:12px 0 16px;font-size:13px}.creative-welcome span{font-size:11px;color:var(--muted)}.creative-studio .studio-columns{gap:10px}.creative-studio .creative-composer{padding:14px 18px;margin-bottom:10px}.creative-studio .creative-composer h2{margin:0 0 4px;font-size:11px}.creative-studio #design-generate>label{margin:6px 0}.creative-studio #design-generate textarea{min-height:65px;height:70px;margin-top:2px;padding:6px 0}.creative-studio .creative-composer .notice{padding:5px 8px;margin:6px 0;font-size:9px}.creative-studio .creative-composer .primary{padding:11px 18px}.creative-studio .creative-composer .lock-options{margin-top:5px}.creative-studio .project-settings{padding:4px 12px;margin-bottom:8px}.creative-studio .studio-title{margin-bottom:5px}.creative-studio .studio-modes{margin-top:5px;margin-bottom:10px}.content:has(.creative-studio){padding-top:18px}.content:has(.creative-studio)>.page-heading{margin-bottom:12px}.content:has(.creative-studio)>.page-heading h1{font-size:26px;margin:4px 0}.content:has(.creative-studio)>.page-heading p{font-size:11px}.content:has(.creative-studio)>.notice{padding:8px 12px;margin-bottom:10px;font-size:10px}.creative-text .empty{padding:18px 10px}.creative-text .empty>span{font-size:24px}.creative-text-thread{min-height:90px;max-height:45dvh;overflow:auto}.creative-text{min-height:0}.creative-text .creative-composer{position:static}@media(max-width:650px){.creative-studio .studio-projects{gap:5px}.creative-studio .studio-projects .panel{padding:8px;margin-bottom:6px}.creative-studio .studio-projects section{max-height:120px;overflow:auto}.creative-studio .studio-result{max-height:30dvh}}
.creative-studio.empty-project .studio-result{max-height:none;overflow:visible}.creative-studio.empty-project .studio-result .section-heading{margin:0 0 4px}.creative-studio.empty-project .creative-welcome{padding:4px 0 8px;gap:3px}.creative-studio.empty-project .creative-welcome b{font-size:12px}

/* Creative GPT has its own neutral dark workspace, independent of account palette. */
html .shell:has(.creative-studio, .creative-text){
 color-scheme:dark;--bg:#212121;--white:#212121;--ink:#ececec;--muted:#a6a6a6;--line:#383838;--green:#ececec;--accent:#303030;
 background:#212121;color:#ececec;
}
html .shell:has(.creative-studio, .creative-text) :is(main,.content,.topbar){background:#212121;color:#ececec}
html .shell:has(.creative-studio, .creative-text) .sidebar{background:#171717;color:#ececec;border-color:#303030}
html .shell:has(.creative-studio, .creative-text) :is(.workspace-badge,.profile){border-color:#303030}
html .shell:has(.creative-studio, .creative-text) :is(.workspace-icon,.avatar,.token-card,nav .selected,nav i){background:#303030;color:#ececec}
html .shell:has(.creative-studio, .creative-text) :is(nav button,.topbar b,.plain,label,.badge,.eyebrow){color:#d4d4d4}
html .shell:has(.creative-studio, .creative-text) :is(.panel,.secondary,.filters button){background:#292929;color:#ececec;border-color:#424242;box-shadow:none}
html .shell:has(.creative-studio, .creative-text) :is(.notice,.badge){background:#303030;color:#c5c5c5;border-color:#414141}
html .shell:has(.creative-studio, .creative-text) :is(input,select,textarea){background:#262626;color:#ececec;border-color:#484848}
html .shell:has(.creative-studio, .creative-text) :is(input,textarea)::placeholder{color:#969696}
html .shell:has(.creative-studio, .creative-text) :is(.form-note,.studio-note,.empty,.empty p,.creative-welcome span,.page-heading p,.creative-text-header p,.project-link small,.app-footer){color:#a6a6a6!important}
html .shell:has(.creative-studio, .creative-text) .primary{background:#ececec;color:#171717;border-radius:24px;font-weight:600}
html .shell:has(.creative-studio, .creative-text) button:focus-visible{outline:2px solid #fff;outline-offset:3px}
html .shell:has(.creative-studio, .creative-text) .content{max-width:none;padding:24px 32px 12px}
html .shell:has(.creative-studio, .creative-text) .topbar{height:60px;border-color:#303030}
html .shell:has(.creative-studio, .creative-text) .page-heading{margin-bottom:20px}
html .shell:has(.creative-studio, .creative-text) .page-heading h1{font-size:22px;font-weight:600;letter-spacing:-.5px}
html .shell:has(.creative-studio, .creative-text) .app-footer{padding-bottom:22px}
html .creative-studio{grid-template-columns:220px minmax(0,1fr);gap:32px;min-height:calc(100dvh - 250px)}
html .creative-studio .studio-projects{background:#1b1b1b;border-radius:16px;padding:10px;top:16px}
html .creative-studio .studio-projects .panel{background:transparent;border:0;margin-bottom:8px;padding:10px}
html .creative-studio .studio-projects h2{font-size:12px;font-weight:500;color:#a6a6a6}
html .creative-studio .project-link{background:transparent;border:0;color:#ececec;border-radius:10px;padding:12px;text-align:left}
html .creative-studio .project-link:hover,html .creative-studio .project-link.active{background:#303030}
html .creative-studio .project-link b{font-weight:500;font-size:13px}
html .creative-studio>section{width:100%;max-width:860px;margin:0 auto;display:flex;flex-direction:column}
html .creative-studio .studio-title{padding:8px 0;margin-bottom:12px;flex-wrap:wrap}
html .creative-studio .project-settings{background:transparent;border:0;border-bottom:1px solid #383838;border-radius:0;padding:8px 0;margin-bottom:12px}
html .creative-studio .studio-columns{flex:1;gap:24px}
html .creative-studio .studio-result{background:transparent;border:0;max-height:none;overflow:visible;padding:8px 0!important}
html .creative-studio.empty-project .studio-result{max-height:none;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:180px}
html .creative-studio .creative-welcome{padding:28px 12px;text-align:center;align-items:center;gap:12px}
html .creative-studio.empty-project .creative-welcome b{font-size:28px;font-weight:550;letter-spacing:-.8px;color:#ececec}
html .creative-studio .creative-welcome span{font-size:13px;line-height:1.7;max-width:460px}
html .shell:has(.creative-studio, .creative-text) .creative-composer{background:#303030;border:1px solid #414141;border-radius:26px;padding:18px 22px;box-shadow:0 8px 28px #0002;margin-bottom:16px}
html .shell:has(.creative-studio, .creative-text) .creative-composer textarea{background:transparent;border:0;box-shadow:none;min-height:85px;height:auto;color:#ececec;font-size:15px;padding:8px 0;resize:vertical}
html .shell:has(.creative-studio, .creative-text) .creative-composer textarea:focus{outline:none}
html .shell:has(.creative-studio, .creative-text) .creative-composer:focus-within{border-color:#737373}
html .shell:has(.creative-studio, .creative-text) .creative-composer .primary{margin-left:auto;min-width:0;width:auto;padding:12px 20px}
html .creative-studio .studio-modes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
html .creative-studio .studio-modes button{border-radius:20px;padding:9px 13px;font-size:11px}
html .shell:has(.creative-studio, .creative-text) .creative-user{background:#303030;border:0;border-radius:24px;padding:14px 20px;color:#ececec;max-width:80%;line-height:1.8}
html .shell:has(.creative-studio, .creative-text) .creative-assistant{color:#ececec;font-size:15px;line-height:1.9;padding:12px 4px 28px}
html .shell:has(.creative-studio, .creative-text) .creative-assistant>b{font-weight:600;color:#ececec}
html .creative-text{min-height:calc(100dvh - 180px);max-width:820px}
html .creative-text-header{border:0;padding:8px 0 20px}
html .creative-text-header h1{font-size:22px;font-weight:600}
html .creative-text-thread{flex:1;max-height:none;padding:12px 0 28px;overflow:visible}
html .creative-text .empty{padding:80px 12px}
html .creative-text .empty h2{font-size:28px;font-weight:500;letter-spacing:-.8px;color:#ececec}
html .creative-text .empty>span{color:#ececec;font-size:36px}
@media(max-width:1100px){html .creative-studio{grid-template-columns:1fr;gap:18px}html .creative-studio .studio-projects{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px}html .creative-studio .studio-projects section{max-height:180px;overflow:auto}}
@media(max-width:760px){html .shell:has(.creative-studio, .creative-text) .content{padding:18px 14px}html .creative-studio{min-height:0}html .creative-studio .studio-projects{grid-template-columns:1fr;padding:6px}html .creative-studio .studio-projects .panel{padding:8px}html .creative-studio .studio-projects section{max-height:120px}html .creative-studio.empty-project .creative-welcome b{font-size:24px}html .shell:has(.creative-studio, .creative-text) .creative-composer{padding:14px 16px;border-radius:22px}html .creative-text{min-height:65dvh}html .creative-studio .design-comparison{grid-template-columns:1fr}}
/* Focused Creative GPT: icon rail, compact menu, bottom composer. */
html .shell:has(.creative-studio) .sidebar{width:72px;padding:22px 10px;transition:width .25s ease;overflow:visible}
html .shell:has(.creative-studio) main{margin-left:72px;transition:margin-left .25s ease}
html .shell:has(.creative-studio) .sidebar :is(.logotext,.workspace-badge,.nav-label,.token-card,.profile>div){display:none}
html .shell:has(.creative-studio) .sidebar .logo{justify-content:center}
html .shell:has(.creative-studio) .sidebar nav{margin-top:32px;gap:10px}
html .shell:has(.creative-studio) .sidebar nav button{font-size:0;justify-content:center;padding:13px;gap:0;min-height:46px}
html .shell:has(.creative-studio) .sidebar nav button>span{font-size:21px;width:24px}
html .shell:has(.creative-studio) .sidebar nav i{display:none}
html .shell:has(.creative-studio) .sidebar-bottom{padding-top:16px}
html .shell:has(.creative-studio) .profile{flex-direction:column;gap:16px}
html .shell:has(.creative-studio) .profile button{margin:0}
html .shell:has(.creative-studio) .topbar{display:none}
html .shell:has(.creative-studio) .app-footer{display:none}
html .shell:has(.creative-studio) .content{height:100dvh;display:flex;flex-direction:column;padding:16px 28px 12px;max-width:none;overflow:hidden}
html .creative-studio{display:block;min-height:0;flex:1;overflow:hidden}
html .creative-studio>section{height:100%;max-width:820px;position:relative}
html .creative-studio .studio-columns{display:flex;flex-direction:column-reverse;min-height:0;overflow:hidden;gap:12px}
html .creative-studio .studio-result{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 8px!important;scrollbar-width:thin}
html .creative-studio.empty-project .studio-result{min-height:0;flex:1}
html .creative-studio .creative-composer{flex-shrink:0;margin:0 0 4px;position:relative}
html .creative-studio #design-generate>label{font-size:0;margin:0}
html .creative-studio #design-generate textarea{font-size:15px;min-height:60px;max-height:160px;margin:0}
html .creative-studio .creative-composer textarea{min-height:60px}
.creative-menu{position:relative;z-index:5;align-self:flex-start;margin-bottom:12px}
.creative-menu>summary{cursor:pointer;list-style:none;font-size:19px;font-weight:600;padding:10px 14px;border-radius:12px;display:flex;gap:16px;align-items:center}
.creative-menu>summary::-webkit-details-marker{display:none}
.creative-menu>summary:hover,.creative-menu[open]>summary{background:#303030}
.creative-menu>summary span{color:#aaa}
.creative-menu-body{position:absolute;top:100%;left:0;width:min(440px,calc(100vw - 120px));max-height:70dvh;overflow:auto;padding:18px;background:#252525;border:1px solid #444;border-radius:16px;box-shadow:0 18px 50px #0006}
html .creative-menu .studio-projects{position:static;display:block;background:transparent;padding:0}
html .creative-menu .studio-projects .panel{padding:12px;margin-bottom:12px}
html .creative-menu .project-link{display:block;width:100%;background:#303030;color:#ececec;border-color:#444}
html .creative-menu .project-link.active{border-color:#aaa}
html .creative-menu .studio-modes{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
html .creative-menu .studio-modes button{border-radius:18px;padding:10px;font-size:11px}
html .creative-menu .studio-title{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
html .creative-menu .studio-title h2{font-size:16px}
.composer-options>summary,.generation-options>summary{cursor:pointer;color:#b5b5b5;font-size:11px;padding:8px 0}
.composer-options[open],.generation-options[open]{max-height:30dvh;overflow:auto;margin-bottom:8px}
.creative-start{flex:1;display:grid;place-items:center;text-align:center}
.creative-start h2{font-size:28px;font-weight:500;color:#ececec}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){html .shell:has(.creative-studio){display:flex}html .shell:has(.creative-studio) .sidebar{position:fixed;top:0;bottom:0;width:56px;padding:14px 5px;display:flex;flex-direction:column;z-index:6}html .shell:has(.creative-studio) main{margin-left:56px}html .shell:has(.creative-studio) .sidebar nav{display:grid;overflow:visible;margin-top:24px;gap:4px}html .shell:has(.creative-studio) .sidebar nav button{padding:10px}html .shell:has(.creative-studio) .sidebar-bottom{display:block;margin-top:auto}html .shell:has(.creative-studio) .content{padding:10px 12px}html .creative-menu-body{width:min(400px,calc(100vw - 88px))}html .creative-menu>summary{font-size:17px;padding:8px}.creative-start h2{font-size:23px}html .creative-studio .creative-composer{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){html .shell:has(.creative-studio) :is(.sidebar,main){transition:none}}
body:has(.creative-studio) .theme-controls{display:none}
html .creative-menu .project-link small{display:block;color:#aaa;font-size:10px;margin-top:5px}
html .creative-menu .studio-projects section{max-height:none}
html .creative-studio #design-generate>label.creative-attachment,html .creative-studio .creative-attachment{display:block;font-size:12px;margin:8px 0 12px;color:#ddd}
html .creative-studio .creative-attachment>span{display:inline-block;padding:8px 12px;background:#3b3b3b;border-radius:18px}
html .creative-studio .creative-attachment input{display:block;background:transparent;border:0;padding:8px 0;font-size:11px;max-width:100%;margin:0}
html .creative-studio .creative-attachment small{font-size:10px;color:#aaa}
/* Reference layout: black canvas and a single quiet, rounded prompt bar. */
html .shell:has(.creative-studio){--bg:#000;--white:#191919;background:#000}
html .shell:has(.creative-studio) :is(main,.content,.sidebar){background:#000}
html .shell:has(.creative-studio) .sidebar{border-color:#202020}
html .shell:has(.creative-studio) .creative-menu>summary{font-size:18px;font-weight:500}
html .creative-studio>section{max-width:880px}
html .creative-studio.empty-project>section{justify-content:center;padding-bottom:12dvh}
html .creative-studio.empty-project .studio-columns{flex:0;overflow:visible;gap:24px}
html .creative-studio.empty-project .studio-result{flex:0;min-height:0;overflow:visible}
html .creative-studio.empty-project .section-heading{display:none}
html .creative-studio.empty-project .creative-welcome{padding:0 12px 12px}
html .creative-studio.empty-project .creative-welcome b{font-size:28px;font-weight:450;letter-spacing:-.5px}
html .creative-studio.empty-project .creative-welcome span{display:none}
html .creative-start{flex:0;display:block;margin-bottom:30px}
html .creative-start h2{margin:0;font-size:28px;font-weight:450;letter-spacing:-.5px}
html .shell:has(.creative-studio) .creative-composer{border:0;background:#1c1c1c;border-radius:32px;padding:8px 10px;box-shadow:none;margin:0 0 8px}
html .creative-studio #design-generate,html .creative-studio #design-quick-start{display:grid;grid-template-columns:40px minmax(0,1fr) 42px;align-items:center;column-gap:8px}
html .creative-studio #design-quick-start.creative-composer{padding:8px 10px}
html .creative-studio #design-generate>label:has(textarea){grid-column:2;grid-row:1}
html .creative-studio #design-quick-start>textarea{grid-column:2;grid-row:1}
html .creative-studio #design-generate textarea,html .creative-studio #design-quick-start textarea{min-height:40px;height:40px;max-height:140px;resize:vertical;font-size:16px;padding:8px 0;margin:0;line-height:24px;background:transparent}
html .creative-studio #design-generate>label.creative-attachment,html .creative-studio label.creative-attachment{position:relative;grid-column:1;grid-row:1;display:grid;place-items:center;width:40px;height:40px;margin:0;cursor:pointer;border-radius:50%}
html .creative-studio .creative-attachment>span{padding:0;background:transparent;font-size:29px;font-weight:300;color:#969696;line-height:1}
html .creative-studio .creative-attachment input{position:absolute;inset:0;opacity:0;width:40px;height:40px;margin:0;padding:0;cursor:pointer;font-size:0}
html .creative-studio .creative-attachment:hover,html .creative-studio .creative-attachment:focus-within{background:#333}
html .creative-studio .creative-attachment.has-attachment>span{color:#a8c8ff}
html .shell:has(.creative-studio) .creative-composer .primary{grid-column:3;grid-row:1;width:40px;height:40px;min-width:40px;border-radius:50%;padding:0;display:grid;place-items:center;font-size:24px;line-height:1;background:#315d98;color:#e9eff9;margin:0}
.attachment-status{grid-column:2 / 4;display:block;font-size:11px;color:#b6c9e7;overflow-wrap:anywhere}
.attachment-status:empty{display:none}
html .creative-menu-body :is(.composer-options,.generation-options){padding:10px 0;border-top:1px solid #393939;max-height:none;overflow:visible}
html .creative-menu-body .notice{font-size:11px}
@media(max-width:760px){html .creative-studio.empty-project>section{padding-bottom:10dvh}html .creative-start h2,html .creative-studio.empty-project .creative-welcome b{font-size:23px}html .shell:has(.creative-studio) .creative-composer{border-radius:28px;padding:6px 8px}html .creative-studio #design-generate,html .creative-studio #design-quick-start{grid-template-columns:34px minmax(0,1fr) 36px;column-gap:4px}html .creative-studio .creative-attachment input,html .creative-studio label.creative-attachment{width:34px;height:36px}html .shell:has(.creative-studio) .creative-composer .primary{width:36px;height:36px;min-width:36px}html .creative-studio #design-generate textarea,html .creative-studio #design-quick-start textarea{font-size:14px}}
/* Keep the welcome title plain and the prompt controls precisely centered. */
html .shell:has(.creative-studio) .creative-start,
html .shell:has(.creative-studio) .creative-start h2,
html .shell:has(.creative-studio) .creative-welcome,
html .shell:has(.creative-studio) .creative-welcome b{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html .shell:has(.creative-studio) .creative-start{padding:0;margin-bottom:32px}
html .shell:has(.creative-studio) .creative-start h2{line-height:1.4}
html .shell:has(.creative-studio) #design-generate textarea,
html .shell:has(.creative-studio) #design-quick-start textarea{resize:none;overflow-y:auto}
html .shell:has(.creative-studio) .creative-composer button.primary{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:0!important;text-align:center;text-indent:0;font-family:Arial,sans-serif;font-weight:400;font-size:25px;line-height:1}
/* Welcome text must never inherit the panel background from account themes. */
html .shell .creative-studio.empty-project .studio-result,
html .shell .creative-studio.empty-project .creative-history,
html .shell .creative-studio .creative-start,
html .shell .creative-studio .creative-welcome{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html .shell .creative-studio .creative-start h2,
html .shell .creative-studio.empty-project .creative-welcome b{font-size:20px!important;font-weight:400;line-height:1.5;letter-spacing:0;background:transparent!important}
@media(max-width:760px){html .shell .creative-studio .creative-start h2,html .shell .creative-studio.empty-project .creative-welcome b{font-size:18px!important}}
/* Compact prompt bar and attachment/send controls. */
html .creative-studio>section{max-width:740px}
html .shell:has(.creative-studio) .creative-composer{padding:6px 9px;border-radius:26px}
html .creative-studio #design-quick-start.creative-composer{padding:6px 9px}
html .creative-studio #design-generate,html .creative-studio #design-quick-start{grid-template-columns:32px minmax(0,1fr) 32px;column-gap:7px}
html .shell:has(.creative-studio) #design-generate textarea,
html .shell:has(.creative-studio) #design-quick-start textarea{min-height:34px;height:34px;padding:6px 0;font-size:14px;line-height:22px}
html .creative-studio #design-generate>label.creative-attachment,
html .creative-studio label.creative-attachment,
html .creative-studio .creative-attachment input{width:32px;height:32px}
html .creative-studio .creative-attachment>span{font-size:23px}
html .shell:has(.creative-studio) .creative-composer button.primary{width:32px;height:32px;min-width:32px;font-size:20px}
/* Smaller dark prompt bar with pure white text. */
html .creative-studio>section{max-width:680px}
html .shell:has(.creative-studio) .creative-composer,
html .creative-studio #design-quick-start.creative-composer{background:#141414!important;padding:5px 8px;border-radius:24px;color:#fff}
html .shell:has(.creative-studio) #design-generate textarea,
html .shell:has(.creative-studio) #design-quick-start textarea{min-height:30px;height:30px;padding:4px 0;font-size:13px;line-height:22px;color:#fff!important}
html .shell:has(.creative-studio) .creative-composer textarea::placeholder{color:#fff!important;opacity:1}
html .creative-studio .creative-attachment>span{color:#fff}
/* Requested sizing: 30px narrower, 10px taller, smaller bold send arrow. */
html .creative-studio>section{max-width:650px}
html .shell:has(.creative-studio) .creative-composer,
html .creative-studio #design-quick-start.creative-composer{padding:10px 8px}
html .shell:has(.creative-studio) .creative-composer button.primary{font-size:16px;font-weight:800}
html .creative-studio .attachment-status:not(:empty){display:flex;align-items:center;gap:10px;margin:5px 0 2px;padding:5px 10px;background:#252525;border:1px solid #393939;border-radius:10px;width:fit-content;max-width:100%}
html .creative-studio .attachment-status>span{overflow-wrap:anywhere;min-width:0;font-size:11px;color:#fff}
html .creative-studio .remove-attachment{border:0;background:#393939;color:#fff;flex-shrink:0;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;padding:0;font-size:18px;line-height:1;cursor:pointer}
html .creative-studio .remove-attachment:hover{background:#555}
.image-preview-panel{margin:12px 0;border:1px solid #333;border-radius:14px;overflow:hidden;background:#111}
.image-preview-panel>summary{display:flex;justify-content:flex-end;align-items:center;list-style:none;cursor:pointer;padding:12px 16px;color:#eee;font-size:12px;min-height:44px;background:#202020}
.image-preview-panel>summary::-webkit-details-marker{display:none}
.image-preview-panel>summary:hover{background:#303030}
.image-preview-panel .design-comparison{padding:12px}
/* Conversations sit directly on the canvas; only the composer retains its surface. */
html .shell .creative-studio :is(.studio-result,.creative-history,.creative-exchange,.creative-assistant,.creative-user,.image-preview-panel,.design-comparison,.design-comparison figure){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html .shell .creative-studio .creative-user{padding:12px 0;margin:22px 0 18px auto}
html .shell .creative-studio .image-preview-panel{overflow:visible}
html .shell .creative-studio .image-preview-panel>summary{background:transparent;border:0;padding:8px 0;color:#aaa}
html .shell .creative-studio .image-preview-panel>summary:hover{color:#fff;background:transparent}
html .shell .creative-studio .image-preview-panel .design-comparison{padding:0}
/* Full-page conversation scrolling with a fixed bottom composer. */
html .shell:has(.creative-studio) .content{height:100dvh;overflow-y:auto;overflow-x:hidden;display:block;padding-bottom:150px;scrollbar-width:thin;scrollbar-color:#555 #000;scroll-padding-bottom:150px}
html .shell:has(.creative-studio) .content::-webkit-scrollbar{width:8px}
html .shell:has(.creative-studio) .content::-webkit-scrollbar-thumb{background:#555;border-radius:8px}
html .shell .creative-studio{overflow:visible;min-height:calc(100dvh - 220px)}
html .shell .creative-studio>section{height:auto;min-height:calc(100dvh - 220px);display:block}
html .shell .creative-studio .studio-columns{display:flex;flex-direction:column-reverse;overflow:visible;min-height:0}
html .shell .creative-studio .studio-result{overflow:visible;max-height:none;flex:none}
html .shell:has(.creative-studio) .creative-composer{position:fixed;bottom:18px;left:calc(50% + 36px);transform:translateX(-50%);width:min(650px,calc(100vw - 128px));z-index:4;margin:0;box-shadow:0 12px 0 12px #000}
html .shell .creative-studio.empty-project>section{display:flex;justify-content:center;min-height:calc(100dvh - 240px);padding-bottom:0}
html .shell .creative-studio.empty-project .studio-columns{flex:0}
html .shell .creative-studio.empty-project .studio-result{flex:0}
@media(max-width:760px){html .shell:has(.creative-studio) .creative-composer{left:calc(50% + 28px);width:calc(100vw - 82px);bottom:12px}html .shell:has(.creative-studio) .content{padding-bottom:160px;scroll-padding-bottom:160px}}
html .shell .creative-studio .download-size{display:flex;align-items:center;gap:10px;margin:0;color:#ccc;font-size:11px}
html .shell .creative-studio .download-size select{width:auto;margin:0;padding:9px 12px;background:#202020;color:#fff;border:1px solid #444;border-radius:8px}
html .shell .creative-studio .design-review{align-items:center}
html .creative-studio .attachment-status:not(:empty){flex-wrap:wrap;background:transparent;border:0;padding:0;width:100%}
.attachment-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:5px 8px;background:#252525;border:1px solid #393939;border-radius:10px}
.attachment-chip>span{overflow-wrap:anywhere;font-size:11px}
/* Creative GPT's persistent, date-stamped right library. */
html .shell .creative-library{position:fixed;right:0;top:0;bottom:0;width:296px;background:#111;border-left:1px solid #292929;color:#eee;z-index:5;padding:16px 12px;overflow:hidden}
.creative-library>details{height:100%;display:flex;flex-direction:column}
.creative-library>details>summary{list-style:none;cursor:pointer;padding:12px 8px 18px;display:flex;justify-content:space-between;font-size:14px;font-weight:600}
.creative-library>details>summary::-webkit-details-marker{display:none}
.creative-library-body{height:calc(100dvh - 80px);display:flex;flex-direction:column}
.creative-library-tabs{display:flex;gap:4px;border-bottom:1px solid #303030;padding-bottom:12px}
.creative-library-tabs button{flex:1;border:0;border-radius:8px;padding:9px 3px;background:transparent;color:#aaa;font-size:11px}
.creative-library-tabs button[aria-selected=true]{background:#303030;color:#fff}
.creative-library-items{overflow-y:auto;min-height:0;padding-top:12px;padding-bottom:24px;scrollbar-width:thin}
.creative-library-items>button{display:block;width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#eee;border-radius:10px;padding:12px;margin-bottom:8px}
.creative-library-items>button:hover,.creative-library-items>button.active{background:#242424;border-color:#393939}
.creative-library-items b{display:block;font-weight:500;font-size:12px;overflow-wrap:anywhere}
.creative-library-items time,.creative-library-items small{display:block;color:#999;font-size:10px;line-height:1.7;margin-top:5px}
.creative-library-items p{font-size:11px;color:#ccc;line-height:1.6;margin:8px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.creative-library-items.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}
.creative-library-items.media-grid>button{padding:6px;margin:0;background:#191919}
.library-media img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:7px;background:#202020}
.creative-library .library-empty{padding:16px 8px;color:#999;font-size:12px}
html .shell:has(.creative-library) .content{padding-right:324px}
html .shell:has(.creative-library) .creative-composer{left:calc(50% + 36px - 148px);width:min(650px,calc(100vw - 424px))}
html .shell .creative-library:has(>details:not([open])){bottom:auto;height:60px}
html .shell:has(.creative-library>details:not([open])) .content{padding-right:28px}
html .shell:has(.creative-library>details:not([open])) .creative-composer{left:calc(50% + 36px);width:min(650px,calc(100vw - 128px))}
@media(max-width:1100px){html .shell .creative-library{width:250px}html .shell:has(.creative-library) .content{padding-right:270px}html .shell:has(.creative-library) .creative-composer{left:calc(50% + 36px - 125px);width:calc(100vw - 362px)}}
@media(max-width:760px){html .shell .creative-library{width:230px;top:55px;bottom:110px;border:1px solid #333;border-radius:12px;padding:8px;box-shadow:0 12px 35px #0009}html .shell .creative-library-body{height:calc(100dvh - 235px)}html .shell:has(.creative-library) .content,html .shell:has(.creative-library>details:not([open])) .content{padding-right:12px;padding-top:60px}html .shell:has(.creative-library) .creative-composer,html .shell:has(.creative-library>details:not([open])) .creative-composer{left:calc(50% + 28px);width:calc(100vw - 82px)}html .shell .creative-library:has(>details:not([open])){top:10px;height:45px;bottom:auto}html .shell .creative-library>details>summary{padding:7px;font-size:12px}}
html .creative-studio .reference-suggestion-panel{grid-column:1 / -1;max-height:34dvh;overflow:auto;scrollbar-width:thin;margin-top:10px;color:#eee}
.reference-suggestion-panel:empty{display:none}
.reference-suggestion-panel h3{font-size:12px;font-weight:600;margin:5px 0 8px}
.reference-suggestion-panel>p{font-size:10px;color:#aaa;line-height:1.6;margin:6px 0}
.reference-previews{display:flex;gap:10px;overflow-x:auto;padding:6px 0}
.reference-previews figure{margin:0;flex:0 0 90px;min-width:0}
.reference-previews img{width:90px;height:90px;object-fit:contain;border-radius:8px;background:#242424}
.reference-previews figcaption{font-size:9px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}
.reference-action-groups section{padding:8px 0;border-top:1px solid #333}
.reference-action-groups h4{font-size:11px;margin:0 0 6px;font-weight:600;color:#eee}
.reference-action-groups button,.reference-show-all{border:1px solid #444;background:#252525;color:#ddd;border-radius:16px;font-size:10px;padding:7px 11px;margin:3px 5px 3px 0;text-align:left}
.reference-action-groups button:hover{background:#3b3b3b;color:#fff}
.reference-show-all{background:transparent;color:#aaa}
/* Image-shaped loading with soft focus and a quiet moving reveal. */
.creative-generation-loader{padding:20px 0 28px;margin:18px 0 8px;max-width:500px;isolation:isolate}
.generation-caption{padding:0 2px 14px;color:#e6e6e6}.generation-title{font-size:14px;font-weight:450;display:flex;align-items:center;gap:9px}.generation-caption p{font-size:11px;line-height:1.7;color:#969696;margin:7px 0 0}
.generation-status-dot{width:7px;height:7px;background:#ccc;border-radius:50%;animation:generation-pulse 2s ease-in-out infinite}
.generation-dots{display:flex;gap:3px;margin-left:2px}.generation-dots i{width:3px;height:3px;border-radius:50%;background:#aaa;animation:generation-dot 1.6s ease-in-out infinite}.generation-dots i:nth-child(2){animation-delay:.2s}.generation-dots i:nth-child(3){animation-delay:.4s}
.generation-image-placeholder{position:relative;overflow:hidden;aspect-ratio:1;background:#202321;border-radius:20px;isolation:isolate;max-height:540px}
.generation-image-placeholder>img{display:block;width:100%;height:100%;object-fit:contain;filter:blur(18px) saturate(.65);opacity:.45;transform:scale(1.06);animation:generation-focus 6s ease-in-out infinite alternate}
.generation-soft-texture{position:absolute;inset:-10%;background:radial-gradient(ellipse at 30% 25%,#b3c5b732,transparent 55%),radial-gradient(ellipse at 75% 70%,#b9a9982b,transparent 50%),linear-gradient(140deg,#333a35,#1c201e 45%,#3b3a32);filter:blur(22px);animation:generation-focus 6s ease-in-out infinite alternate}
.generation-reveal{position:absolute;inset:-60%;background:linear-gradient(115deg,transparent 36%,#e4ede60c 46%,#fff2 50%,#e4ede60c 54%,transparent 64%);animation:generation-reveal 4.8s ease-in-out infinite;pointer-events:none}
.generation-image-label{position:absolute;bottom:18px;left:18px;right:18px;color:#d2d7d2;font-size:11px;letter-spacing:.1px;text-shadow:0 1px 8px #0008}
.generation-preview-note{display:block;font-size:10px;line-height:1.65;color:#777;margin:10px 2px 0}
@keyframes generation-focus{from{filter:blur(22px) saturate(.55);opacity:.35;transform:scale(1.08)}to{filter:blur(12px) saturate(.7);opacity:.55;transform:scale(1.03)}}
@keyframes generation-reveal{0%,10%{transform:translateX(-45%)}90%,100%{transform:translateX(45%)}}
@keyframes generation-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes generation-dot{0%,70%,100%{opacity:.2}35%{opacity:1}}
@keyframes design-image-arrive{from{opacity:.3;filter:blur(10px);transform:translateY(5px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
.design-image-reveal{animation:design-image-arrive .7s ease-out both}
@media(prefers-reduced-motion:reduce){.creative-generation-loader *,.design-image-reveal{animation:none!important}.generation-reveal{display:none}}
/* Separate chronological image cards with controls for each image. */
html .shell .creative-studio .design-image-card{padding:18px 0 26px;border-bottom:1px solid #ffffff20!important;margin-bottom:24px}
.image-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px;max-width:560px}
.image-card-actions .secondary{font-size:12px;padding:9px 12px;min-height:38px}
.image-card-actions .download-size{display:flex;align-items:center;gap:7px;font-size:11px;margin:0;color:inherit}
.image-card-actions select{width:auto;max-width:235px;font-size:12px;min-height:38px}
html .creative-studio .chat-image[aria-pressed="true"] img{outline:2px solid #929cba;outline-offset:3px}
.prompt-image-reference{display:flex;align-items:center;gap:10px;grid-column:1 / -1;font-size:12px;margin-bottom:10px}
.prompt-image-reference img{width:48px;height:48px;object-fit:contain;border-radius:8px}
@media(max-width:600px){.image-card-actions{gap:8px}.image-card-actions .download-size{order:3;width:100%}.image-card-actions select{flex:1}}
/* Account controls remain accessible alongside Creative GPT. */
.creative-account{position:fixed;right:322px;top:12px;z-index:35;max-width:360px;font-size:12px;color:#eee}
.creative-account>details>summary{cursor:pointer;padding:10px 14px;border:1px solid #444;border-radius:12px;background:#222;max-width:330px;overflow-wrap:anywhere}
.creative-account-body{padding:18px;background:#202020;border:1px solid #444;border-radius:12px;max-height:75dvh;overflow:auto;box-shadow:0 16px 40px #0008;width:min(360px,calc(100vw - 90px))}
.creative-account-body p{font-size:11px;line-height:1.6;color:#bbb}.creative-account-body form{display:grid;gap:10px;margin:12px 0}.creative-account-body summary{cursor:pointer;padding:12px 0}.creative-account-body input:not([type=checkbox]){width:100%}
html .shell .creative-studio.chats-hidden :is(.creative-history,.studio-projects section,.creative-library-items,.version-grid){display:none!important}
html .shell .creative-studio.chats-hidden .creative-library-tabs{display:none!important}
html .shell .creative-studio:not(.chats-hidden) .chat-privacy-toggle:empty{display:none}
html .shell .creative-studio.media-blurred .library-media img{filter:blur(15px);transition:filter .15s}
html .shell .creative-studio.media-blurred .library-media:is(:hover,:focus,:focus-within) img{filter:none}
html .shell .creative-studio .library-media{overflow:hidden}
.trash-item{padding:14px 0;border-bottom:1px solid #7775}.trash-item p{font-size:12px}.trash-images{display:flex;gap:10px;overflow:auto;max-width:100%;margin:10px 0}.trash-images figure{flex:0 0 100px;margin:0}.trash-images img{width:100px;height:100px;object-fit:contain;border-radius:8px}.trash-images figcaption{font-size:11px;max-height:80px;overflow:auto;overflow-wrap:anywhere}
.brand-design-trash{margin:18px 0}.chat-privacy-toggle{margin-bottom:15px}
@media(max-width:1100px){.creative-account{right:275px;max-width:280px}}
@media(max-width:760px){.creative-account{top:12px;right:12px;max-width:calc(100vw - 185px)}.creative-account>details>summary{font-size:10px;padding:8px}.creative-account-body{position:absolute;right:0}.creative-account-body{max-height:65dvh}}
html .creative-menu.chats-hidden :is(.studio-projects section,.project-settings,.studio-title,.version-grid){display:none!important}
.creative-account-body fieldset{border:0;padding:0;margin:0;min-width:0}.creative-account-body fieldset:disabled{opacity:.65}
/* Creative GPT: quiet surfaces, no visible borders, soft disclosure motion. */
html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library),
html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library) *{border:0!important}
html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library){--creative-surface:#181818;--creative-hover:#242424;--creative-text:#ededed;--creative-muted:#a0a0a0}
html .shell :is(.creative-menu-body,.creative-account-body){background:var(--creative-surface);color:var(--creative-text);border-radius:20px;padding:20px;box-shadow:0 20px 65px #0007;scrollbar-width:thin;scrollbar-color:#444 transparent}
html .shell .creative-account-body{margin-top:10px;max-height:min(75dvh,740px);right:0;position:absolute;box-sizing:border-box}
html .shell .creative-menu-body{margin-top:8px}
html .shell :is(.creative-menu,.creative-account)>summary,
html .shell .creative-account>details>summary{background:transparent;border-radius:12px;font-weight:500;letter-spacing:-.2px;list-style:none;transition:background .18s ease,color .18s ease}
html .shell :is(.creative-menu,.creative-account)>summary:hover,
html .shell .creative-account>details>summary:hover{background:var(--creative-hover)}
html .shell .creative-account>details>summary{display:flex;align-items:center;gap:12px;padding:10px 14px;color:#ccc}
html .shell :is(.creative-account,.creative-menu,.creative-studio) summary::-webkit-details-marker{display:none}
html .shell :is(.creative-account-body,.creative-menu-body) details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 10px;border-radius:12px;color:#d4d4d4;font-size:12px;font-weight:500;transition:background .18s ease}
html .shell :is(.creative-account-body,.creative-menu-body) details>summary:after{content:'⌄';color:#888;transition:transform .22s ease}
html .shell :is(.creative-account-body,.creative-menu-body) details[open]>summary:after{transform:rotate(180deg)}
html .shell :is(.creative-account-body,.creative-menu-body) details>summary:hover{background:#ffffff06}
html .shell :is(.creative-account-body,.creative-menu-body) h3{font-size:14px;font-weight:550;letter-spacing:-.2px;margin:0 0 10px}
html .shell .creative-account-body p{color:var(--creative-muted);line-height:1.75;margin:8px 0 16px}
html .shell .creative-account-body form{gap:14px;margin:14px 0 20px}
html .shell .creative-account-body label{font-size:12px;font-weight:400;color:#c9c9c9;line-height:1.65}
html .shell .creative-account-body .check-label{display:flex;align-items:flex-start;gap:12px;padding:8px 2px}
html .shell .creative-account-body input[type=checkbox]{accent-color:#d5d5d5;width:16px;height:16px;flex:0 0 16px;margin-top:3px}
html .shell :is(.creative-account,.creative-menu,.creative-studio) :is(input:not([type=checkbox]):not([type=file]),select){background:#222;color:#e5e5e5;border-radius:12px;padding:12px 14px;box-shadow:none;font:inherit;color-scheme:dark}
html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library) :is(button,a.secondary){transition:background .18s ease,color .18s ease,opacity .18s ease}
html .shell :is(.creative-account,.creative-menu,.creative-studio) .secondary{background:#262626;color:#d8d8d8;border-radius:12px;font-weight:450;padding:10px 14px;box-shadow:none}
html .shell :is(.creative-account,.creative-menu,.creative-studio) .secondary:hover{background:#333;color:#fff}
html .shell :is(.creative-menu .project-link,.creative-library-items>button){background:transparent;border-radius:14px}
html .shell :is(.creative-menu .project-link,.creative-library-items>button):is(:hover,.active){background:#ffffff08}
html .shell .creative-library{background:#101010}
html .shell .creative-library-tabs{gap:6px;padding-bottom:14px}
html .shell .creative-library-tabs button{border-radius:10px;font-weight:450}
html .shell .creative-library-tabs button[aria-selected=true]{background:#ffffff0a}
html .shell .creative-studio .design-image-card{padding-bottom:32px;margin-bottom:24px}
html .shell .creative-studio .chat-image[aria-pressed=true] img{outline:0}
html .shell .creative-studio .image-card-actions{gap:8px;margin-bottom:16px}
html .shell .creative-studio .image-card-actions .secondary{background:#ffffff07;font-size:11px;padding:9px 12px}
html .shell .creative-studio .image-card-actions .secondary:hover{background:#ffffff10}
html .shell .creative-studio .image-card-actions .download-size{gap:8px;color:#999}
html .shell .creative-studio .image-card-actions select{background:#ffffff07;font-size:11px;padding:10px 12px;border-radius:10px}
html .shell .creative-account .trash-item{padding:16px 8px;margin:8px 0;border-radius:14px;background:#ffffff03}
html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library) :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #b4b4b4;outline-offset:3px}
html .shell :is(.creative-menu,.creative-account,.creative-library)>details>summary span,
html .shell .creative-menu>summary span{display:inline-block;transition:transform .22s ease}
html .shell :is(.creative-account,.creative-library)>details[open]>summary span,
html .shell .creative-menu[open]>summary span{transform:rotate(180deg)}
@media(max-width:760px){html .shell :is(.creative-account-body,.creative-menu-body){padding:16px;border-radius:18px}html .shell .creative-account>details>summary{padding:8px 10px}html .shell .creative-account-body{max-height:68dvh;width:min(350px,calc(100vw - 80px))}}
@media(prefers-reduced-motion:reduce){html .shell :is(.creative-studio,.creative-menu,.creative-account,.creative-library) *{transition:none!important}}
html .shell .creative-account-body label{margin:0}
html .shell :is(.creative-account-body,.creative-menu-body) details>summary:after{content:''}
html .shell .creative-account-body input[type=checkbox]{appearance:none;background:#343434;border-radius:5px;display:grid;place-content:center;cursor:pointer}
html .shell .creative-account-body input[type=checkbox]:after{content:'✓';font-size:12px;line-height:1;color:#171717;opacity:0}
html .shell .creative-account-body input[type=checkbox]:checked{background:#dedede}
html .shell .creative-account-body input[type=checkbox]:checked:after{opacity:1}
html .shell .creative-account-body input[type=checkbox]{padding:0!important;min-height:0;box-sizing:border-box}
/* Exact-reference extraction presets retain the existing quick suggestions. */
.reference-action-groups .reference-exact-heading{color:#f18080;font-size:11px;font-weight:600;margin:18px 0 8px;letter-spacing:.1px}
/* Give the brief its own full-width row, separate from references and presets. */
html .shell .creative-studio :is(#design-generate,#design-quick-start){grid-template-columns:36px minmax(0,1fr) 36px;grid-template-areas:'reference reference reference' 'uploads uploads uploads' 'brief brief brief' 'attach . send' 'presets presets presets';gap:8px;min-width:0}
html .shell:has(.creative-studio) .creative-composer{padding:12px 16px;border-radius:22px;max-height:calc(100dvh - 110px);overflow-y:auto;scrollbar-width:thin}
html .shell .creative-studio :is(#design-generate,#design-quick-start)>label:has(textarea),
html .shell .creative-studio #design-quick-start>textarea{grid-area:brief;min-width:0;width:100%;margin:0}
html .shell:has(.creative-studio) :is(#design-generate,#design-quick-start) textarea{box-sizing:border-box;width:100%;min-width:0;min-height:88px;height:88px;max-height:180px;font-size:14px;line-height:23px;padding:8px 2px;overflow-y:auto}
html .shell .creative-studio :is(#design-generate,#design-quick-start)>.creative-attachment{grid-area:attach;margin:0}
html .shell:has(.creative-studio) .creative-composer :is(#design-generate,#design-quick-start)>button.primary,
html .shell:has(.creative-studio) #design-quick-start.creative-composer>button.primary{grid-area:send;justify-self:end}
html .shell .creative-studio :is(#design-generate,#design-quick-start)>.attachment-status{grid-area:uploads;width:100%;margin:0;gap:8px;max-height:160px;overflow:auto}
html .shell .creative-studio .attachment-chip{padding:6px 8px;background:#222;min-width:0;max-width:100%;border-radius:12px;gap:8px}
html .shell .creative-studio .attachment-chip>img{width:52px;height:60px;object-fit:contain;border-radius:8px;flex:0 0 52px;background:#181818}
html .shell .creative-studio .attachment-chip>span{max-width:170px;overflow-wrap:anywhere;font-size:11px}
html .shell .creative-studio .prompt-image-reference{grid-area:reference;display:flex;align-items:center;gap:12px;margin:0;padding:8px 10px;background:#222;border-radius:14px;min-width:0}
html .shell .creative-studio .prompt-image-reference>img{width:64px;height:72px;object-fit:contain;flex:0 0 64px;background:#181818;border-radius:9px}
html .shell .creative-studio .prompt-image-reference>span{flex:1;font-size:12px;color:#ccc;overflow-wrap:anywhere}
html .shell .creative-studio :is(.remove-prompt-reference,.remove-attachment){background:#ffffff08;color:#ddd;border-radius:50%;width:28px;height:28px;min-width:28px;padding:0;font-size:20px;display:grid;place-items:center;flex:0 0 28px;cursor:pointer}
html .shell .creative-studio :is(.remove-prompt-reference,.remove-attachment):hover{background:#ffffff18;color:#fff}
html .shell .creative-studio .composer-presets{grid-area:presets;min-width:0;margin:0}
html .shell .creative-studio .composer-presets[hidden]{display:none}
html .shell .creative-studio .composer-presets>summary{display:flex;align-items:center;justify-content:space-between;padding:8px 2px;color:#aaa;font-size:11px;list-style:none}
html .shell .creative-studio .composer-presets>summary span{transition:transform .2s ease}
html .shell .creative-studio .composer-presets[open]>summary span{transform:rotate(180deg)}
html .shell .creative-studio .composer-presets .reference-suggestion-panel{max-height:20dvh;overflow-y:auto;margin:0;padding:4px 2px;overscroll-behavior:contain}
html .shell .creative-studio .composer-presets .reference-previews{display:none}
@media(max-width:760px){html .shell:has(.creative-studio) .creative-composer{padding:10px 12px}html .shell .creative-studio .attachment-chip>span{max-width:110px}html .shell .creative-studio .composer-presets .reference-suggestion-panel{max-height:18dvh}html .shell:has(.creative-studio) .content{padding-bottom:230px;scroll-padding-bottom:230px}}
html .shell:has(.creative-studio) .creative-composer{max-height:min(65dvh,560px)}
html .shell:has(.creative-studio) :is(#design-generate,#design-quick-start) textarea{font-weight:400}
/* Quiet placeholder text, distinct from the user's written brief. */
html .shell:has(.creative-studio) :is(#design-generate,#design-quick-start) textarea::placeholder{color:#858585!important;opacity:1;font-weight:400;font-size:13px}
/* Placeholder stays quieter than the typed brief. */
html .shell:has(.creative-studio) .creative-composer textarea::placeholder{color:#777!important;opacity:1;font-size:13px;font-weight:400;letter-spacing:0}
html .shell .creative-library-tabs{flex-wrap:wrap}
html .shell .creative-library-tabs button{flex:1 0 40%;min-height:32px}
.design-trends-panel{padding:14px 5px 24px;overflow-y:auto;min-height:0;scrollbar-width:thin;font-size:12px}
.design-trends-panel h3{font-size:14px;font-weight:500;margin:0 0 10px}.design-trends-panel p{font-size:11px;line-height:1.75;color:#aaa;white-space:pre-wrap;overflow-wrap:anywhere}
.design-trends-form{display:grid;gap:10px;margin:16px 0}.design-trends-form label{margin:0;font-size:10px;color:#aaa}.design-trends-form input{display:block;width:100%;box-sizing:border-box;background:#202020;color:#eee;padding:10px;margin-top:5px;border-radius:10px;font-size:12px;color-scheme:dark}
.design-trends-form button{border-radius:10px;background:#252525;color:#ddd;padding:11px;font-size:11px}.design-trends-panel small{display:block;font-size:10px;line-height:1.6;color:#888}.trend-brand-guide{background:#ffffff05;border-radius:12px;padding:10px;margin:15px 0}.trend-brand-guide summary{cursor:pointer;font-size:12px;list-style:none}
.trend-group h4{font-size:12px;color:#ddd;font-weight:500;margin:22px 0 12px}.trend-group article{background:#ffffff04;border-radius:12px;padding:12px;margin:8px 0}.trend-group b{font-size:12px;font-weight:500}.trend-group a{display:block;font-size:11px;color:#b3c8de;margin-top:10px;text-decoration:none}
html .shell .creative-studio :is(#design-generate,#design-quick-start){grid-template-areas:'reference reference reference' 'uploads uploads uploads' 'scope scope scope' 'brief brief brief' 'attach . send' 'presets presets presets'}
html .shell .creative-studio .creative-scope-alert{grid-area:scope;color:#e5b6a3;background:#ffffff05;padding:10px 12px;border-radius:12px;font-size:12px;line-height:1.65;margin:0}

/* Local edit selection is separate from the source artwork. */
.design-region-dialog{border:0;border-radius:22px;background:#171717;color:#eee;padding:22px;width:min(820px,calc(100vw - 36px));max-height:calc(100dvh - 40px);box-sizing:border-box;box-shadow:0 24px 90px #0009}
.design-region-dialog[open]{display:flex;flex-direction:column;gap:12px}.design-region-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.design-region-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.design-region-dialog h2{font-size:17px;font-weight:500;margin:0 0 8px}.design-region-dialog p{font-size:12px;line-height:1.6;color:#aaa;margin:0}.design-region-dialog button{border:0;border-radius:12px;background:#2b2b2b;color:#ddd;padding:11px 15px;cursor:pointer}.design-region-dialog button:disabled{opacity:.4;cursor:default}.design-region-dialog .region-close{padding:3px 10px;font-size:25px;background:transparent}
.region-canvas-wrap{display:grid;place-items:center;min-height:0;overflow:auto;background:#111;border-radius:12px}.region-canvas-wrap canvas{display:block;max-width:100%;max-height:50dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}
.region-coordinates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.region-coordinates label{color:#aaa;margin:0;font-size:11px}.region-coordinates input{width:100%;box-sizing:border-box;border:0;background:#242424;color:#eee;padding:9px;border-radius:9px;margin-top:5px}.design-region-dialog footer{display:flex;justify-content:space-between;gap:12px}.design-region-dialog .region-apply{background:#e3e3e3;color:#171717}
html .shell .creative-studio .select-edit-area{border:0;background:#ffffff0b;color:#ccc;padding:8px 10px;border-radius:9px;font-size:10px;cursor:pointer;flex:0 0 auto}
html .shell .creative-studio .prompt-image-reference{display:grid;grid-template-columns:64px minmax(0,1fr) auto 28px;gap:5px 10px}
html .shell .creative-studio .prompt-image-reference>img{grid-column:1;grid-row:1 / 3}.prompt-image-reference>span{grid-column:2;grid-row:1}.prompt-image-reference>.select-edit-area{grid-column:3;grid-row:1}.prompt-image-reference>.edit-area-status{grid-column:2 / 4;grid-row:2;color:#999;font-size:10px;line-height:1.5}.prompt-image-reference>.remove-prompt-reference{grid-column:4;grid-row:1 / 3}
@media(max-width:600px){.design-region-dialog{padding:16px}.region-coordinates{gap:7px}.region-canvas-wrap canvas{max-height:43dvh}html .shell .creative-studio .prompt-image-reference{grid-template-columns:48px minmax(0,1fr) auto 28px;gap:5px 7px}html .shell .creative-studio .prompt-image-reference>img{width:48px;height:60px}.prompt-image-reference>span{font-size:10px!important}}
.generation-image-placeholder{width:min(100%,calc(clamp(140px,calc(100dvh - var(--creative-composer-height,220px) - 150px),440px) * var(--generation-aspect,1)));max-height:none}
/* Persistent chat navigation */
.creative-toolbar{position:fixed;top:0;left:88px;right:310px;z-index:35;display:flex;align-items:center;gap:8px;min-height:64px;padding:10px 16px;background:rgba(15,16,19,.96);backdrop-filter:blur(18px);border:0;box-shadow:0 8px 30px #0003}
.creative-toolbar button,.creative-toolbar summary{border:0;border-radius:10px;padding:10px 12px;background:#25272d;color:#e9e9ee;cursor:pointer;white-space:nowrap;font-size:13px}
.creative-toolbar details{position:relative}.creative-toolbar summary{list-style:none}.creative-toolbar-panel{position:absolute;top:calc(100% + 10px);left:0;width:300px;max-height:65vh;overflow:auto;padding:16px;background:#1b1d23;border:0;border-radius:14px;box-shadow:0 16px 50px #0008}
.creative-toolbar .studio-projects{position:static;display:block;width:auto;max-height:none;padding:0;background:transparent}.creative-toolbar-panel form{display:grid;gap:10px;margin-top:14px}.creative-toolbar-panel input,.creative-toolbar-panel select{width:100%;padding:10px;background:#292c34;color:#eee;border:0;border-radius:8px}.creative-toolbar-panel button{white-space:normal;text-align:left}.creative-toolbar-panel .collection-list{display:grid;gap:6px}.toolbar-chat-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9295a1;font-size:12px;flex:1;min-width:0}.creative-toolbar .creative-account{position:relative;top:auto;right:auto;margin-left:auto}.creative-toolbar .creative-account details>div{right:0;left:auto}.creative-toolbar .creative-menu{position:relative;top:auto;left:auto}.chats-hidden .toolbar-chat-name,.chats-hidden .toolbar-projects,.chats-hidden .creative-folder-picker{visibility:hidden}
html.shell:has(.creative-toolbar) main{padding-top:84px}
.design-review-dialog{width:min(720px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:26px;background:#191b21;color:#e9eaf0;border:0;border-radius:20px;box-shadow:0 25px 90px #0009}.design-review-dialog::backdrop{background:#08090bbd;backdrop-filter:blur(6px)}.design-review-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.design-review-dialog h2{font-size:20px;margin:0}.design-review-dialog h3{font-size:14px;color:#adb5c8;margin-top:24px}.design-review-dialog button{border:0;border-radius:9px;padding:11px 15px;background:#323641;color:#f0f1f5;cursor:pointer}.design-review-dialog form,.design-review-dialog label{display:grid;gap:10px}.design-review-dialog textarea{width:100%;box-sizing:border-box;background:#252831;border:0;border-radius:12px;padding:14px;color:#eee;font:inherit;line-height:1.6;resize:vertical}.design-review-dialog .review-status{line-height:1.7}.design-review-dialog small{color:#939bad}.design-review-dialog .review-error{color:#ffa1a1}.design-review-dialog .review-confirm{background:#d8e5ff;color:#13213a}.design-review-dialog [hidden]{display:none}
@media(max-width:1100px){.toolbar-chat-name{display:none}.creative-toolbar{left:76px;right:280px;padding:10px 8px;gap:5px}.creative-toolbar button,.creative-toolbar summary{padding:9px;font-size:12px}}
@media(max-width:760px){.creative-toolbar{left:64px;right:8px;flex-wrap:wrap;min-height:100px}.creative-toolbar .creative-account{margin-left:0}.creative-toolbar-panel{position:fixed;top:112px;left:76px;width:min(300px,calc(100vw - 100px))}html.shell:has(.creative-toolbar) main{padding-top:130px}.creative-toolbar .toolbar-review{font-size:11px}.creative-library{top:125px}}
/* One font-independent dropdown chevron throughout the website. */
html body summary{list-style:none;cursor:pointer}html body summary::-webkit-details-marker{display:none}html body summary::marker{content:''}
html body summary::after{content:''!important;display:inline-block!important;box-sizing:border-box;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;margin:0 3px 3px 12px;transform:rotate(45deg);transition:transform .2s ease;opacity:.65;flex:0 0 auto}
html body details[open]>summary::after{transform:rotate(225deg)!important}
html body select:not([multiple]){appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23999ca5' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 13px center!important;background-size:12px 8px!important;padding-right:34px!important}
.library-tools{display:flex;gap:8px;flex-wrap:wrap;padding:4px 0 10px}.library-tools button,.library-tools a,.library-count button,.library-privacy-status button{border:0;border-radius:8px;background:#ffffff0c;color:#ddd;padding:9px 10px;font-size:11px;text-decoration:none;cursor:pointer}.library-count{font-size:11px;color:#a4a4ad;margin:2px 0 14px}.library-privacy-status{padding:12px;margin-bottom:12px;background:#ffffff08;border-radius:12px;color:#bbb;font-size:12px;line-height:1.6}.library-privacy-status p{margin-top:0}.favicon-settings{max-width:600px}.favicon-preview{border-radius:14px;margin:0 0 20px}.favicon-settings form{margin-bottom:20px}
@media(max-width:760px){html .shell:has(.creative-toolbar) .creative-library{top:125px}html .shell:has(.creative-toolbar) .creative-library:has(>details:not([open])){top:125px}}

/* Media cards keep their full height; only the gallery viewport scrolls. */
html .shell .creative-library-body{min-height:0;overflow:hidden}
html .shell .creative-library-body>:not(.creative-library-items){flex-shrink:0}
html .shell .creative-library-items.media-grid{flex:1 1 0;min-height:0;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;align-content:start;gap:12px 10px;padding:12px 2px 24px;overscroll-behavior:contain}
html .shell .creative-library-items.media-grid>.library-media{display:flex;flex-direction:column;align-items:stretch;min-width:0;height:auto;min-height:0;max-height:none;padding:0;margin:0;overflow:hidden;border-radius:12px;background:#1b1b1b;text-align:left;white-space:normal}
html .shell .library-media-preview{position:relative;display:block;flex:none;width:100%;aspect-ratio:4/5;overflow:hidden;background:#222;border-radius:12px}
html .shell .library-media-preview img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0}
html .shell .library-media-info{display:block;flex:none;padding:9px 9px 11px}
html .shell .library-media-info b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.5;color:#eee}
html .shell .library-media-info small{font-size:10px;line-height:1.4;color:#b6b6b6;margin-top:3px}
html .shell .library-media-info time{font-size:9px;line-height:1.5;color:#8e8e8e;margin-top:5px}
html .shell .creative-library-items.media-grid>.library-media:hover{background:#292929}
html .shell .creative-library-items.media-grid>.library-media:focus-visible{outline-offset:-2px}

/* Compact message row; references and wrapped text grow the composer naturally. */
html .shell .creative-studio :is(#design-generate,#design-quick-start){grid-template-areas:'reference reference reference' 'uploads uploads uploads' 'scope scope scope' 'attach brief send' 'presets presets presets';row-gap:0;column-gap:8px;align-items:end}
html .shell:has(.creative-studio) .creative-composer{padding:8px 12px;border-radius:26px}
html .shell:has(.creative-studio) :is(#design-generate,#design-quick-start) textarea{min-height:30px;height:30px;line-height:22px;padding:4px 2px;resize:none}
html .shell .creative-studio :is(#design-generate,#design-quick-start)>.attachment-status:empty{display:none}
html .shell .creative-studio :is(#design-generate,#design-quick-start)>.attachment-status:not(:empty),html .shell .creative-studio .prompt-image-reference{margin-bottom:8px}
html .shell .creative-account .creative-signout{display:block;width:100%;margin-top:12px;text-align:left}

html .shell:has(.creative-studio) .creative-composer {
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  html .shell .creative-studio :is(#design-generate, #design-quick-start) {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    grid-template-areas:
      "reference reference reference"
      "uploads uploads uploads"
      "scope scope scope"
      "brief brief brief"
      "attach . send"
      "presets presets presets";
    width: 100%;
  }

  html .shell:has(.creative-studio) :is(#design-generate, #design-quick-start) textarea {
    display: block;
    min-height: 48px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  html .shell .creative-studio :is(#design-generate, #design-quick-start) > .attachment-status {
    box-sizing: border-box;
    overflow-x: hidden;
  }

  html .shell .creative-studio .attachment-chip {
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    align-items: center;
  }

  html .shell .creative-studio .attachment-chip > img {
    width: 40px;
    height: 48px;
  }

  html .shell .creative-studio .attachment-chip > span {
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html .shell .creative-studio .attachment-chip > .select-edit-area {
    grid-column: 2 / -1;
    justify-self: start;
  }

  html .shell .creative-studio .prompt-image-reference {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
  }

  html .shell .creative-studio .prompt-image-reference > img {
    width: 40px;
    height: 48px;
    grid-row: 1 / 4;
  }

  html .shell .creative-studio .prompt-image-reference > .select-edit-area {
    grid-area: 2 / 2 / 3 / 4;
    justify-self: start;
  }

  html .shell .creative-studio .prompt-image-reference > .edit-area-status {
    grid-area: 3 / 2 / 4 / 4;
  }

  html .shell .creative-studio .prompt-image-reference > .remove-prompt-reference {
    grid-area: 1 / 3;
  }
}

.reference-action-groups .reference-redraw-group > h4 {
 color: light-dark(#146c43, #79dfa1);
}
.reference-action-groups .reference-redraw-group.is-recommended {
 border: 1px solid #b77a36;
 border-radius: 10px;
 padding: .65rem;
 background: color-mix(in srgb, #e6a85a 15%, transparent);
}
.reference-action-groups .reference-redraw-group.is-recommended button {
 border: 1px solid #b77a36;
 background: color-mix(in srgb, #e6a85a 23%, transparent);
}

.reference-preset-new {
 display: inline-block;
 padding: 1px 5px;
 border-radius: 4px;
 background: #bfefd3;
 color: #174b32;
 font-weight: 700;
}
