/* Member shell shares the public portal's navigation scale and creation hierarchy. */
.studio-app{--sidebar-width:199px}.studio-app .sidebar{padding:23px 12px 16px}.studio-app .brand{margin:0 12px 25px;padding:0}.studio-app .brand-word{font-size:38px;letter-spacing:-3px;line-height:1}.studio-app .brand-word>span{font-size:9px;letter-spacing:2px;margin-left:9px;text-transform:uppercase;color:#aaa}.studio-app .brand-dot{display:none}
.studio-app .new-project{height:38px;min-height:38px;padding:0 13px;border:1px solid #ffffff20;border-radius:10px;background:transparent;color:var(--text);font-size:12px;margin-bottom:17px}
.studio-app .nav-item{padding:9px 12px;gap:10px;font-size:13px;margin-bottom:5px}.studio-app .sidebar-bottom .nav-item{font-size:11px}.studio-app .topbar{min-height:70px;height:auto;padding:20px 32px;border-bottom:1px solid #ffffff08}.studio-app .capacity-panel{margin:0 32px 16px}
.studio-home{padding:0 32px;max-width:1480px;margin:auto}.creation-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:6px 0 12px}.creation-tabs button{border:0;background:transparent;color:#aaa;white-space:nowrap;border-radius:10px;padding:8px 14px;min-height:36px;font-size:13px;flex-shrink:0}.creation-tabs button[aria-selected=true]{background:#292929;color:#fff}.creation-tabs button:hover{background:#202020;color:#fff}
.studio-creation-heading{text-align:center;margin:12px 0 25px}.studio-creation-heading p{font-size:11px;letter-spacing:2px;color:#9b9b9b;margin:0 0 5px}.studio-creation-heading h1{font-size:26px;font-weight:600;line-height:1.4;margin:0;letter-spacing:.02em}
.studio-composer{max-width:870px;margin:0 auto;background:#1a1a1a;border:1px solid #383838;border-radius:20px;padding:19px 20px 12px;box-shadow:0 10px 36px #0002}.studio-composer:focus-within{border-color:#805471}.studio-composer-context{display:flex;align-items:center;gap:8px;font-size:12px;color:#dedede}.studio-composer-context:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent)}.studio-composer-context small{margin-left:auto;font-size:10px;color:#aaa;border:1px solid #ffffff15;border-radius:5px;padding:2px 7px}
.studio-composer textarea{display:block;width:100%;border:0;background:transparent;color:var(--text);resize:vertical;min-height:145px;max-height:440px;padding:17px 0 8px;font-family:inherit;font-size:14px;line-height:1.9}.studio-composer textarea::placeholder{color:#888}.studio-composer textarea:focus{outline:0}
.studio-composer-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:12px}.studio-options{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.studio-options label{display:flex;align-items:center;gap:5px;font-size:11px;color:#aaa}.studio-options select,.studio-options .tool-button{border:1px solid #ffffff18;background:#262626;border-radius:8px;color:var(--text);min-height:34px;padding:6px;font-size:12px}.studio-options select{max-width:124px}.studio-options .tool-button{display:flex;align-items:center;gap:5px}.studio-options .tool-button .icon{width:15px;height:15px}.studio-composer-footer>.primary{flex-shrink:0;border-radius:11px;background:#f3f3f3;color:#161616;padding:9px 15px;font-size:12px;white-space:nowrap}.studio-composer-footer>.primary:hover{background:var(--accent-text)}
.studio-home #home-draft-status{max-width:none}.studio-home #home-draft-status .draft-status{justify-content:flex-start;font-size:11px;padding:10px 0 0}
.creation-presets{margin:30px auto 0;max-width:1080px}.creation-presets .section-heading{margin-bottom:12px}.creation-presets h2,.studio-recent h2{font-size:15px;font-weight:500}.creation-presets .section-heading>span{font-size:11px;color:#888}.creation-presets>p{font-size:11px;line-height:1.8;color:#858585;margin:11px 0 0}.creation-preset-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.creation-preset-grid>button{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;min-height:116px;text-align:left;border:1px solid #ffffff0c;border-radius:13px;background:#1a1a1a;padding:14px;color:#ddd}.creation-preset-grid>button:hover{background:#242424;border-color:#ffffff30}.creation-preset-grid>button[aria-pressed=true]{border-color:#ff6cc270;background:#271f25}.creation-preset-grid .icon{width:26px;height:26px;color:#a7a0a6}.creation-preset-grid>button[aria-pressed=true] .icon{color:#ff8dd8}.creation-preset-grid strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.creation-preset-grid small{font-size:10px;color:#7f7f7f}
.studio-recent{max-width:1080px;margin:35px auto 0}.studio-recent .section-heading p{font-size:11px;margin-top:5px;color:#888}.studio-recent .project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-empty-projects{border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12;min-height:110px;display:flex;align-items:center;gap:20px;justify-content:space-between;font-size:12px;color:#999}.studio-footer{display:flex;gap:20px;max-width:1080px;margin:25px auto;color:#888;font-size:11px;align-items:center}.studio-footer .text-button{font-size:11px}
@media(max-width:1100px){.creation-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-recent .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-home{padding:0 24px}.studio-composer-footer{flex-wrap:wrap}.studio-composer-footer>.primary{margin-left:auto}}
.studio-app .mobile-nav-more{display:none}
@media(min-width:761px){.studio-app .sidebar{inset:0 auto 0 0;width:199px;display:flex;flex-direction:column;height:auto}.studio-app #main{margin-left:199px}.studio-app .sidebar>nav{display:block}.studio-app .sidebar>nav>.nav-item{width:100%}.studio-app .sidebar .brand,.studio-app .sidebar .new-project,.studio-app .sidebar .recent,.studio-app .sidebar .sidebar-bottom{display:revert}.studio-app .sidebar .brand{display:flex}.studio-app .sidebar .new-project{display:flex}.studio-app .mobile-member-bar{display:none}}
@media(max-width:760px){.studio-app #main{margin-left:0;padding-bottom:85px}.studio-app .sidebar{inset:auto 0 0;width:100%;height:auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#141414f5;border-top:1px solid #ffffff18;backdrop-filter:blur(12px)}.studio-app .sidebar>.brand,.studio-app .sidebar>.new-project,.studio-app .sidebar>.recent,.studio-app .sidebar>.sidebar-bottom{display:none}.studio-app .sidebar>nav{display:flex;gap:4px}.studio-app .sidebar>nav>.nav-secondary{display:none}.studio-app .sidebar>nav>.nav-item:not(.nav-secondary),.studio-app .mobile-nav-more{flex:1 1 0;min-width:0;width:auto}.studio-app .sidebar>nav>.nav-item:not(.nav-secondary),.studio-app .mobile-nav-more>summary{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:6px 3px;min-height:52px;font-size:11px;margin:0;white-space:nowrap}.studio-app .mobile-nav-more{display:block}.studio-app .sidebar .mobile-nav-more>summary{width:100%;list-style:none;cursor:pointer}.studio-app .mobile-nav-more>summary::-webkit-details-marker{display:none}.studio-app .mobile-nav-links{position:absolute;bottom:calc(100% + 8px);left:8px;right:8px;max-height:min(60vh,360px);overflow:auto;padding:8px;border:1px solid #ffffff26;border-radius:14px;background:#171717;box-shadow:0 12px 36px #0009}.studio-app .mobile-nav-links>.nav-item{width:100%;min-height:44px;padding:10px 12px;font-size:14px;white-space:normal;margin:0;display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:flex-start}.studio-app .mobile-nav-more:focus-within>summary{outline-offset:2px}.studio-app .nav-count{display:none}.studio-app .mobile-member-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;gap:12px;border-bottom:1px solid #ffffff10}.studio-app .mobile-product-link{font-size:11px;padding:8px 0}.studio-app .mobile-member-bar button{font-size:11px}.studio-app .topbar{padding:16px;min-height:55px}.studio-app .capacity-panel{margin:0 16px 12px}.studio-home{padding:0 16px}.creation-tabs{gap:2px}.creation-tabs button{min-height:42px;padding:9px 14px}.studio-creation-heading{margin:20px 0}.studio-creation-heading h1{font-size:22px}.studio-composer{border-radius:16px;padding:15px}.studio-composer-footer{flex-direction:column;align-items:stretch}.studio-options{gap:8px}.studio-options select,.studio-options .tool-button{min-height:36px}.studio-composer-footer>.primary{align-self:flex-end;min-height:40px}.creation-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.creation-presets{margin-top:26px}.studio-recent .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-empty-projects{flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:16px 0}.studio-footer{gap:15px;flex-wrap:wrap}.studio-footer a,.studio-footer button{min-height:36px;display:flex;align-items:center}}

.workspace-preset{font-size:12px;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}.project-info .project-preset{display:block;color:var(--muted);font-size:10px;margin:5px 0;overflow-wrap:anywhere}
.production-plan-list{display:grid;gap:12px}.production-plan-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--border);border-radius:14px;padding:20px;background:#1a1a1a}.production-plan-card>div{min-width:0}.production-plan-card h3{margin:10px 0 6px;overflow-wrap:anywhere}.production-plan-card p,.production-plan-card small{color:var(--muted);font-size:12px}.production-plan-card>button{flex-shrink:0}.plan-status{display:inline-block;padding:4px 9px;border:1px solid #ffffff28;border-radius:6px;font-size:11px;color:#ddd}.plan-status.state-pending{background:#342832;color:#ffbce5}.plan-status.state-applied{background:#1e3630;color:#a7e6ce}.plan-mode-note{font-size:13px;line-height:1.8;padding:12px 15px;border-left:2px solid var(--accent);background:#ffffff05;overflow-wrap:anywhere}.plan-instruction,.plan-actions p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.plan-actions{padding-left:24px}.plan-actions li{padding:13px 5px;border-bottom:1px solid #ffffff16}.plan-actions strong{overflow-wrap:anywhere}.plan-actions p{font-size:13px;color:var(--muted);margin:7px 0}.plan-actions small{display:block;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:600px){.production-plan-card{align-items:flex-start;padding:15px;flex-direction:column}.production-plan-card>button{align-self:flex-end}.plan-actions{padding-left:19px}}
.publication-panel{border:1px solid var(--border-strong);padding:24px;border-radius:16px;background:var(--surface);max-width:850px}.publication-panel h3{font-size:22px;margin:16px 0;overflow-wrap:anywhere}.publication-panel p{line-height:1.8;overflow-wrap:anywhere}.publication-panel .button-row{margin:24px 0 16px}.publication-preview{width:100%;max-height:260px;border-radius:10px;background:#000;margin:5px 0 15px}.publication-preview[hidden]{display:none}.publication-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.8;margin:20px 0}.publication-consent input{margin-top:5px;width:18px;height:18px;flex-shrink:0}.publication-consent span{min-width:0;overflow-wrap:anywhere}

.studio-composer-next{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.7;max-width:75ch}
.studio-options select,.studio-options .tool-button,.studio-composer-footer>.primary{min-height:44px;font-size:13px}
.studio-composer-context small{font-size:12px}.studio-composer textarea::placeholder{color:var(--muted);opacity:1}

/* The script and its choices lead the home page; capacity stays available in the header. */
.studio-app .studio-home-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px;border-bottom:0}
.studio-home-topbar .creation-tabs{padding:4px;min-width:0;gap:0;background:var(--surface);border-radius:var(--radius-pill)}
.studio-home-topbar .creation-tabs button[aria-selected=true]{background:var(--text);color:var(--bg)}
.studio-home-topbar .creation-tabs button{min-height:44px;border-radius:var(--radius-pill)}
.home-capacity{position:relative;flex:0 0 auto;max-width:100%}
.studio-app .home-capacity .capacity-panel{display:block;margin:0;padding:0;background:none;border:0;border-radius:0}
.capacity-compact>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;cursor:pointer;list-style:none;color:var(--muted);font-size:12px;border-radius:var(--radius-sm)}
.capacity-compact>summary::-webkit-details-marker{display:none}
.capacity-compact>summary:after{content:'⌄';font-size:16px}
.capacity-compact>summary:hover,.capacity-compact[open]>summary{background:var(--surface)}
.capacity-compact>summary [data-capacity-summary]{color:var(--text);white-space:nowrap}
.capacity-compact .capacity-detail{position:absolute;right:0;top:calc(100% + 6px);width:min(380px,calc(100vw - 32px));padding:16px;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-dialog);z-index:20}
.capacity-detail .text-button{min-height:44px;margin-top:8px}
.home-capacity>[data-capacity-alert]{max-width:380px;font-size:12px;line-height:1.6;margin:6px 0 0}
.home-capacity>[data-capacity-alert][hidden]{display:none}
.studio-home{max-width:1480px;padding-top:12px}
.studio-creation-heading{margin:12px 0 24px}
.studio-creation-heading h1{font-size:24px;line-height:1.45;text-wrap:balance}
.studio-creation-heading p{font-size:13px;letter-spacing:0;line-height:1.7;margin:8px 0 0;color:var(--muted)}
.studio-composer{max-width:1000px;padding:18px 20px 12px;background:var(--input-bg);border-color:var(--border-strong);box-shadow:none;border-radius:24px}
.studio-composer-context{font-size:11px;color:var(--muted)}
.studio-input-tools{width:100%;justify-content:flex-start}.studio-input-tools select{min-height:44px}.studio-input-tools #ratio{max-width:76px}.studio-composer-context:before{display:none}.studio-composer-context small{border:0;padding:0;font-size:11px}
.studio-composer:focus-within{border-color:var(--accent-text)}
.studio-composer textarea{min-height:170px;padding:18px 0 12px;font-size:16px;line-height:1.8}
.studio-composer-footer{align-items:center;gap:16px;flex-wrap:wrap}
.studio-options{gap:4px 6px}
.studio-options .tool-button{padding:8px;gap:6px;border-color:transparent;background:transparent;border-radius:var(--radius-sm)}
.studio-options .tool-button:hover{background:var(--surface-raised)}
.studio-options select{background:transparent;border-color:var(--border);max-width:106px}
.studio-options .tool-button>span{color:var(--muted);font-size:12px}
.studio-composer-footer>.primary{min-height:44px;margin-left:auto;font-size:13px;background:var(--accent);color:var(--black);border-radius:var(--radius-pill)}
.studio-composer-next{max-width:75ch;margin-top:8px;font-size:11px;color:var(--muted)}
.capacity-compact>summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media(max-width:1100px){.studio-app .studio-home-topbar{flex-wrap:wrap;padding:12px 24px}.home-capacity{margin-left:auto}.studio-composer{padding:20px}.studio-composer textarea{min-height:190px}}
@media(max-width:760px){.studio-app .studio-home-topbar{padding:8px 16px;gap:4px}.studio-home-topbar .creation-tabs{width:100%;gap:2px}.home-capacity{margin-left:auto}.studio-home{padding-top:0}.studio-creation-heading{margin:18px 0 22px}.studio-creation-heading h1{font-size:24px}.studio-creation-heading p{font-size:13px;margin-top:8px}.studio-composer{padding:16px}.studio-composer textarea{min-height:190px}.studio-composer-footer{align-items:stretch}.studio-options{gap:8px}.studio-composer-footer>.primary{align-self:stretch;margin:0}.studio-composer-next{font-size:12px}.home-capacity>[data-capacity-alert]{max-width:calc(100vw - 32px)}}

.home-attachment-status{margin-top:12px;padding:12px 14px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--muted);font-size:12px;line-height:1.7}.home-attachment-status[hidden]{display:none}.home-attachment-status p{margin:0}.home-attachment-status>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}.home-attachment-status button{min-height:44px}

/* Optional production paths use the same preserved director choices. */
.studio-skill-paths{max-width:1000px;margin:14px auto 28px}
.studio-skill-choices{display:flex;flex-wrap:wrap;gap:8px}
.studio-skill-choices button{flex:1 1 210px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:56px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--input-bg);color:var(--text);text-align:left}
.studio-skill-choices button>span{font-size:13px;font-weight:600;line-height:1.5}.studio-skill-choices small{font-size:11px;color:var(--muted);line-height:1.5}
.studio-skill-choices button:hover{background:var(--surface-raised)}.studio-skill-choices button[aria-pressed=true]{border-color:var(--accent-text);background:#ff1eb412}.studio-skill-choices button[aria-pressed=true]>span{color:var(--accent-text)}
.studio-skill-choices button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.studio-skill-paths>p{font-size:12px;color:var(--muted);line-height:1.7;margin:10px 0 0}
@media(max-width:760px){.studio-skill-choices button{flex-basis:calc(50% - 4px);min-width:0;padding:12px}.studio-skill-choices button>span{overflow-wrap:anywhere}.studio-skill-paths{margin:16px 0 24px}.studio-skill-choices small{font-size:12px}}

.workspace-type [data-workspace-style]{overflow-wrap:anywhere}

.project-info [data-project-style]{font-size:12px;line-height:1.5}
