.studio-masthead{position:fixed;inset:0 0 auto;z-index:25;height:108px;background:#111518;border-bottom:1px solid #4c4639;display:flex;align-items:center;padding:0 40px}.studio-masthead .hm-brand{display:flex;align-items:center;gap:18px;width:min(780px,100%);min-width:0}.studio-masthead .hm-brand-mark{box-sizing:border-box;width:76px;height:76px;border-radius:50%;border:1px solid #e3c58d;background:#111518;color:#e3c58d;display:grid;place-items:center;font:bold 25px Georgia,serif;letter-spacing:-1px;flex:0 0 76px}.studio-masthead [data-studio-brand]{display:block;min-width:0;flex:1}.studio-masthead .studio-wordmark{display:block;font-family:var(--sans);font-size:29px;font-weight:600;letter-spacing:1.7px;line-height:1.35;color:#f5f3eb;white-space:nowrap}.studio-masthead .hm-brand-copy small{display:block;font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:0;color:#b8b6a9;margin-top:8px;white-space:nowrap}.sidebar{top:108px}.sidebar .nav-caption{margin-top:7px}.workspace{margin-top:108px}.creative-studio{background:var(--paper);border:1px solid var(--line);padding:26px;border-radius:7px;margin:25px 0 30px}.creative-heading{display:flex;justify-content:space-between;align-items:start;gap:18px;padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:23px}.creative-heading h2{font:26px var(--serif);line-height:1.4}.creative-heading p{font-size:10px;color:var(--muted);margin:10px 0 0}.ai-badge{font-size:9px;padding:6px 10px;border:1px solid var(--line);color:var(--gold);border-radius:20px;white-space:nowrap}.creative-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;align-items:start}.creative-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-tile{border:1px dashed var(--gold);padding:15px;border-radius:4px;min-height:117px;font-size:10px;margin:0}.upload-tile input{display:block;font-size:9px;width:100%;margin:11px 0}.upload-tile small{display:block;font-size:8px;color:var(--muted);line-height:1.8}.upload-tile img{display:block;width:100%;height:105px;object-fit:contain;margin:8px 0;background:#101514}.creative-reference-actions{display:flex;justify-content:flex-end;gap:7px;margin:5px 0 18px}.prompt-toolbar{display:flex;gap:12px;align-items:end}.prompt-toolbar label{flex:1;margin:0}.prompt-toolbar button{margin-bottom:0;white-space:nowrap}.creative-inputs textarea{display:block;resize:vertical;width:100%;padding:12px;min-height:130px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:4px;margin-top:6px;font:11px/1.9 var(--sans)}.creative-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.creative-actions .button{font-size:10px}.auto-prompt{padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.creative-preview{position:sticky;top:130px}.creative-preview canvas{width:100%;aspect-ratio:16/9;display:block;background:#0a1010;border:1px solid var(--gold);border-radius:4px}.creative-preview-label{font-size:8px;letter-spacing:1.4px;color:var(--gold);margin-bottom:10px}.creative-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creative-name-fields label:last-child{grid-column:1/-1;margin-top:0}.creative-status{font-size:11px;line-height:1.9;color:var(--gold);padding-top:4px;min-height:22px}.ai-service-settings{border:1px solid var(--line);border-radius:4px;padding:13px;margin:20px 0;color:var(--gold);font-size:10px}.ai-service-settings summary{cursor:pointer}.creative-inputs label,.creative-preview label{color:var(--muted)}.creative-preview .hint{line-height:1.9}html[data-palette]:not([data-palette=champagne]) .creative-studio{background:var(--p-card);border-color:var(--p-line)}html[data-palette]:not([data-palette=champagne]) .creative-inputs textarea{background:var(--p-input);border-color:var(--p-line);color:var(--p-text)}@media(max-width:1250px){.creative-grid{grid-template-columns:1fr}.creative-preview{position:static}.creative-preview canvas{max-width:780px}.creative-heading h2{font-size:24px}.studio-masthead .studio-wordmark{font-size:26px}}@media(max-width:850px){.studio-masthead{height:90px;padding:0 22px}.studio-masthead .hm-brand-mark{width:60px;height:60px;flex-basis:60px;font-size:22px}.studio-masthead .studio-wordmark{font-size:23px;letter-spacing:1px}.studio-masthead .hm-brand-copy small{font-size:10px;margin-top:6px}.sidebar{top:auto;margin-top:90px}.workspace{margin-top:0}.creative-studio{padding:20px}.creative-heading{gap:10px}.creative-heading h2{font-size:23px}}@media(max-width:520px){.studio-masthead{height:88px;padding:0 15px}.studio-masthead .hm-brand{gap:11px}.studio-masthead .hm-brand-mark{width:52px;height:52px;flex-basis:52px;font-size:19px}.studio-masthead .studio-wordmark{font-size:16px;letter-spacing:.45px}.studio-masthead .hm-brand-copy small{font-size:7.5px;margin-top:6px}.sidebar{margin-top:88px;padding:10px 12px}.sidebar nav{border-top:0;padding-top:0}.creative-heading{display:block}.ai-badge{display:inline-block;margin-top:14px}.creative-heading h2{font-size:23px}.creative-studio{padding:16px}.creative-upload-grid{grid-template-columns:1fr}.prompt-toolbar{flex-wrap:wrap}.prompt-toolbar label{flex-basis:100%}.creative-name-fields{grid-template-columns:1fr}.creative-reference-actions{justify-content:flex-start;flex-wrap:wrap}.creative-actions{gap:7px}.creative-actions button{flex:1 1 auto}}@media(max-width:360px){.studio-masthead .studio-wordmark{font-size:13px}.studio-masthead .hm-brand-copy small{font-size:6.5px}}
/* Compact brand header, with a single-line wordmark. */
.studio-masthead{height:76px;padding:0 28px}
.studio-masthead .hm-brand{gap:13px;width:min(600px,100%)}
.studio-masthead .hm-brand-mark{width:48px;height:48px;flex-basis:48px;font-size:18px}
.studio-masthead .studio-wordmark{font-size:21px;letter-spacing:1px;line-height:1.3}
.studio-masthead .hm-brand-copy small{font-size:10px;margin-top:4px}
.sidebar{top:76px}.workspace{margin-top:76px}.creative-preview{top:96px}
@media(max-width:1250px){.creative-preview{position:static}}
@media(max-width:850px){.studio-masthead{height:68px;padding:0 20px}.studio-masthead .hm-brand-mark{width:43px;height:43px;flex-basis:43px;font-size:16px}.studio-masthead .studio-wordmark{font-size:18px}.studio-masthead .hm-brand-copy small{font-size:9px}.sidebar{top:auto;margin-top:68px}.workspace{margin-top:0}}
@media(max-width:520px){.studio-masthead{height:62px;padding:0 14px}.studio-masthead .hm-brand{gap:10px}.studio-masthead .hm-brand-mark{width:38px;height:38px;flex-basis:38px;font-size:14px}.studio-masthead .studio-wordmark{font-size:14px;letter-spacing:.35px}.studio-masthead .hm-brand-copy small{font-size:7px;margin-top:3px}.sidebar{margin-top:62px}}
@media(max-width:360px){.studio-masthead .studio-wordmark{font-size:12px}.studio-masthead .hm-brand-copy small{font-size:6px}}
/* Match the homepage brand mark and typography. */
.studio-masthead .hm-brand{gap:12px;width:max-content;max-width:100%}
.studio-masthead .hm-brand-mark{box-sizing:border-box;width:56px;height:56px;flex:0 0 56px;font-family:'Be Vietnam Pro',sans-serif;font-size:16px;font-weight:500;letter-spacing:-.6px;line-height:1;border:1px solid #d6b471;color:#e3c58d;background:#10120e;box-shadow:inset 0 0 0 5px #10120e,inset 0 0 0 6px rgba(214,180,113,.22);overflow:hidden;white-space:nowrap}
.studio-masthead [data-studio-brand]{display:flex;flex:0 1 auto;flex-direction:column;align-items:center;min-width:0;width:max-content;text-align:center}
.studio-masthead .studio-wordmark{font-family:'Be Vietnam Pro',sans-serif;font-size:clamp(16px,1.25vw,21px);font-weight:600;letter-spacing:.055em;line-height:1.35;text-align:center}
.studio-masthead .hm-brand-copy small{font-family:'Be Vietnam Pro',sans-serif;font-size:10px;line-height:1.6;margin-top:4px;letter-spacing:.015em;color:#bdbbad;text-align:center}
@media(max-width:560px){.studio-masthead .hm-brand{gap:9px}.studio-masthead .hm-brand-mark{width:46px;height:46px;flex-basis:46px;font-size:13px}.studio-masthead .studio-wordmark{font-size:14px;letter-spacing:.025em}.studio-masthead .hm-brand-copy small{font-size:8px;max-width:220px}}
@media(max-width:360px){.studio-masthead .studio-wordmark{font-size:12px}.studio-masthead .hm-brand-copy small{font-size:6.8px}}
/* Keep HDM clear of the inner ring, including fallback fonts. */
.studio-masthead .hm-brand-mark{font-size:13px!important;letter-spacing:-.4px!important;font-weight:500!important;line-height:1!important;padding:9px;overflow:hidden}
@media(max-width:560px){.studio-masthead .hm-brand-mark{font-size:10px!important;padding:8px}}
