/* v11: focused desktop studio; legacy controls remain in DOM for export engine compatibility. */
html,body{background:#09130e!important;max-width:100%!important}
.app-shell>.sidebar,.app-body>.topbar,.main>.page-head,.main>.bottom-info{display:none!important}
.main{padding:18px 23px 25px!important;max-width:1700px!important}
.studio-grid{display:grid!important;grid-template-columns:minmax(355px,435px) minmax(500px,1fr)!important;gap:20px!important;align-items:start!important}
.studio-grid>.settings-panel,.studio-grid>.inspector{display:none!important}
.command-library{height:calc(100vh - 40px);min-height:600px;max-height:1050px;display:flex;flex-direction:column;background:#102017;border:1px solid #294234;border-radius:20px;overflow:hidden;min-width:0;color:#f0f6e7}
.cmd-header{padding:21px 22px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b4337;gap:10px}.cmd-brand{display:flex;align-items:center;gap:13px;min-width:0}.cmd-brand img{width:47px;height:47px;border-radius:13px;object-fit:cover;border:1px solid #426343}.cmd-brand strong{font-weight:900;font-size:17px;letter-spacing:.8px;white-space:nowrap}.cmd-brand strong span{color:#ecd383}.cmd-brand small{display:block;color:#a1baa3;font-size:9px;font-weight:750;letter-spacing:2px;margin-top:5px}.cmd-count{font-size:23px;font-weight:850;letter-spacing:-1px;text-align:right}.cmd-count span{font-size:9px;font-weight:750;color:#a4bba4;letter-spacing:.9px;display:block}
.cmd-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 14px 0;gap:5px}.cmd-tab{background:transparent;color:#9fb4a7;border:0;border-radius:9px 9px 0 0;padding:13px 7px;cursor:pointer;font-size:13px;font-weight:850;border-bottom:2px solid transparent;white-space:nowrap}.cmd-tab.selected{background:#213d2b;color:#f0fbe5;border-bottom-color:#dfc777}.cmd-tab span{margin-left:5px;color:#a7c79a;font-size:10px;font-variant-numeric:tabular-nums}
.cmd-searchbar{display:flex;margin:13px 16px 9px;background:#0b1a12;border:1px solid #395644;border-radius:10px;align-items:center;padding:0 13px}.cmd-searchbar input{border:0;background:transparent;color:#fff;font-size:13px;outline:0;height:43px;width:100%;min-width:0}.cmd-searchbar input::placeholder{color:#80998c}.cmd-searchbar span{font-size:20px;color:#94b89e}
.cmd-storylist{overflow:auto;flex:1;min-height:75px;padding:4px 11px 10px;scrollbar-color:#345c41 transparent;scrollbar-width:thin}.cmd-story{display:block;text-align:left;width:100%;border:1px solid transparent;border-radius:11px;background:transparent;color:#e9f1e8;padding:13px 14px;cursor:pointer;margin-bottom:4px;transition:background .12s,border-color .12s}.cmd-story.on{background:#21452e;border-color:#57805e}.cmd-story:hover{background:#1c3628}.cmd-story-title{font-size:12px;line-height:1.4;font-weight:800;display:block}.cmd-story-meta{display:block;font-size:9px;letter-spacing:.9px;color:#91ae9c;font-weight:750;margin-top:7px}.cmd-empty{color:#9baaa0;padding:10px}
.cmd-detail{border-top:1px solid #2e4a38;padding:19px 21px 20px;background:linear-gradient(140deg,#183624,#14291c);flex:0 0 auto;max-height:42%;overflow-y:auto}.cmd-statusline{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:850;letter-spacing:1.2px;color:#dfb98c}.cmd-status-dot{width:7px;height:7px;border-radius:50%;background:#d9ae7e}.cmd-status-dot.ok{background:#93dc9f}.cmd-detail h2{font-size:21px;line-height:1.26;letter-spacing:-.55px;margin:12px 0 8px}.cmd-detail p{color:#b5c7b6;font-size:12px;line-height:1.5;margin:0 0 13px}.cmd-create{display:block;width:100%;border:0;background:#d8f29c;color:#19311f;font-size:12px;font-weight:900;padding:15px 16px;border-radius:10px;cursor:pointer;transition:filter .14s}.cmd-create:hover{filter:brightness(1.08)}.cmd-create:disabled{opacity:.62;cursor:wait}.cmd-notice{font-size:11px;color:#b8cdbb;line-height:1.55;margin-top:11px;max-height:65px;overflow:auto}.cmd-info{border-top:1px solid #365842;padding-top:10px;margin-top:10px;color:#a6bba8;font-size:10px;line-height:1.6}.cmd-info summary{cursor:pointer;font-weight:750;color:#d8e8ce}.cmd-info div{margin-top:5px;overflow-wrap:anywhere}.cmd-roster{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px;max-height:83px;overflow:auto}.cmd-roster span{font-size:10px;border-radius:5px;background:#31513a;padding:4px 7px;color:#ddedda}
.preview-panel{border:1px solid #284b39;border-radius:20px;background:#0e2016;padding:14px;overflow:hidden}.preview-panel>.preview-head,.preview-panel>.preview-bottom,.stage-footer,.stage-well+.timeline-box .timing-hint,.stage-well+.timeline-box .time-ruler{display:none!important}.cmd-studiobar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:9px 6px 16px}.cmd-stage-title{color:#f3f7ed;font-size:13px;letter-spacing:1px;font-weight:850}.cmd-stage-title small{font-size:10px;color:#99b5a3;display:block;letter-spacing:.7px;margin-top:6px}.cmd-live{color:#e5c886;margin-right:6px}.cmd-simple-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.cmd-simple-actions button{padding:11px 13px;background:#234032;border:1px solid #3f674b;color:#eef4e8;border-radius:9px;font-size:11px;font-weight:850;cursor:pointer}.cmd-simple-actions button:last-child{background:#e4d295;border-color:#e4d295;color:#1d2b1f}
.stage-well{border:0;background:radial-gradient(circle at 50% 45%,#21382b,#081811 75%);border-radius:13px;padding:14px!important;min-height:610px;max-height:660px}.stage-frame.portrait{height:588px;max-height:588px;box-shadow:0 30px 80px #0009;width:auto}.timeline-box{margin:12px 0!important;border:1px solid #284b38!important;border-radius:12px!important;background:#14291e!important}.timeline-box .timeline-top{padding-top:8px}.timeline-box .timeline-title{font-size:10px!important;color:#a7bca6}.cmd-mini-controls{padding:7px 4px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cmd-mini-controls label{font-size:9px;letter-spacing:1px;color:#a2bbac;font-weight:850;display:flex;align-items:center;gap:8px}.cmd-mini-controls select{background:#1d3827;border:1px solid #436047;color:#ecf3e7;border-radius:7px;padding:9px 10px;font-size:11px;cursor:pointer}
@media(max-width:1050px){.studio-grid{grid-template-columns:1fr!important}.command-library{height:590px;max-height:590px}.cmd-detail{max-height:50%}.preview-panel{max-width:100%}}
@media(max-width:640px){.main{padding:8px!important}.studio-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.command-library{min-height:550px;height:600px;border-radius:12px}.preview-panel{padding:8px;border-radius:12px}.cmd-studiobar{display:block}.cmd-simple-actions{margin-top:13px}.cmd-simple-actions button{padding:10px}.stage-well{min-height:505px;max-height:600px}.stage-frame.portrait{height:475px;max-height:475px}.cmd-mini-controls{gap:9px}.cmd-mini-controls label{flex:1;justify-content:space-between}.cmd-detail{padding:14px}}

.stage-well{position:relative}.cmd-stage-placeholder{position:absolute;inset:14px;z-index:3;border-radius:8px;background:radial-gradient(circle at 80% 15%,#315039 0%,transparent 49%),linear-gradient(151deg,#0a2116,#162b21 54%,#091812);border:1px solid #34513d;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center;overflow:hidden}.cmd-stage-placeholder:before{content:"";position:absolute;width:340px;height:340px;border:1px solid #75855924;border-radius:50%;top:26%;right:-110px}.cmd-stage-placeholder:after{content:"";position:absolute;width:210px;height:210px;border:1px solid #75855919;border-radius:50%;bottom:12%;left:-100px}.cmd-placeholder-tag{font-size:10px;font-weight:850;letter-spacing:3px;color:#dfcb93;position:absolute;top:7%}.cmd-placeholder-decor{color:#d5b87e;font-size:55px;margin-bottom:12px;line-height:1}.cmd-placeholder-eyebrow{font-size:11px;font-weight:850;letter-spacing:2.5px;color:#8abd8a}.cmd-stage-placeholder h2{font-size:clamp(23px,3vw,37px);line-height:1.13;max-width:470px;color:#f0f6eb;margin:20px 0 12px;letter-spacing:-1px}.cmd-stage-placeholder p{font-size:14px;line-height:1.55;max-width:390px;color:#a5bea8}.cmd-placeholder-bottom{position:absolute;bottom:8%;font-size:10px;letter-spacing:1.2px;color:#8ab596;font-weight:850}.cmd-placeholder-bottom span{padding:0 8px;color:#e4ca84}body:not(.cmd-unloaded) .cmd-stage-placeholder{display:none}body.cmd-unloaded .stage-frame svg{visibility:hidden}

body.cmd-unloaded #timelineSegment{visibility:hidden}

/* v12.2 compact editorial workflow: no oversized status card or noisy branding. */
.cmd-header{padding:15px 20px 12px}.cmd-brand strong{font-size:15px}.cmd-count{font-size:21px}
.cmd-detail.compact{padding:12px 16px 14px;max-height:190px;min-height:0;overflow:auto;background:#142b1f}
.cmd-detail.compact h2{font-size:16px;margin:8px 0 4px;line-height:1.25}
.cmd-detail.compact p{font-size:11px;margin:0 0 9px;line-height:1.32;max-height:32px;overflow:hidden}
.cmd-detail-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cmd-status-line{font-size:10px;color:#a5d5a8;letter-spacing:.1px}
.cmd-archive-refresh{border:0;background:transparent;color:#b4ccba;font-size:11px;cursor:pointer}
.cmd-detail-actions{display:flex;align-items:stretch;gap:7px}.cmd-detail-actions .cmd-create{flex:1;padding:11px 9px}.cmd-mark{background:#264836;color:#edf6e9;border:1px solid #446950;padding:8px 12px;border-radius:9px;font-weight:750;font-size:11px;cursor:pointer;white-space:nowrap}.cmd-mark.is-shared{background:#284b31;color:#bbec9f}
.cmd-story-wrap{display:flex;gap:4px;align-items:center;border-radius:10px;margin:2px 2px}.cmd-story-wrap.selected{background:#21452e}.cmd-story-wrap .cmd-story{flex:1;min-width:0;margin:0;padding:11px 8px 11px 11px}.cmd-story-wrap .cmd-story.on{border-color:transparent}.cmd-share-icon{border:1px solid #395c45;border-radius:8px;background:transparent;color:#a6c5ad;font-size:10px;flex:none;padding:7px 9px;cursor:pointer;min-width:70px}.cmd-share-icon.is-shared{color:#c9f3aa;border-color:#51835c;background:#234431}
.cmd-notice{font-size:10px;margin-top:7px;white-space:normal;max-height:26px;overflow:auto}.cmd-storylist{scrollbar-gutter:stable}.cmd-count span{font-size:9px}
.cmd-post-overlay{position:fixed;inset:0;z-index:99999;background:#020b08d9;display:flex;justify-content:center;align-items:center;padding:20px;backdrop-filter:blur(8px)}.cmd-post-overlay[hidden]{display:none}
.cmd-post-box{width:min(650px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden;background:#13291e;color:#eef8eb;border:1px solid #53765a;border-radius:17px;box-shadow:0 30px 100px #000b}
.cmd-post-head,.cmd-post-footer{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;gap:10px}.cmd-post-head{border-bottom:1px solid #355340}.cmd-post-head small{font-size:10px;letter-spacing:1.1px;color:#b6d9b1}.cmd-post-head h2{margin:4px 0 0;font-size:22px;color:#f3ffe9}.cmd-post-head button{border:0;background:#264c35;color:white;border-radius:8px;padding:9px 12px;cursor:pointer}.cmd-post-body{overflow:auto;padding:12px 20px}.cmd-post-field{margin-bottom:12px}.cmd-post-field>div{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:5px}.cmd-post-field strong{font-size:10px;letter-spacing:1px;color:#a5c9a0}.cmd-post-field button{background:transparent;border:1px solid #54745b;padding:6px 9px;color:#d5f5ca;border-radius:8px;cursor:pointer}.cmd-post-field textarea{display:block;width:100%;box-sizing:border-box;min-height:52px;max-height:180px;resize:vertical;border:1px solid #385d43;border-radius:9px;background:#0b1c13;color:#eff7ed;padding:10px;line-height:1.5;font:12px system-ui}.cmd-post-field:nth-child(2) textarea{min-height:138px}.cmd-post-footer{border-top:1px solid #355340;font-size:11px;color:#b8cbb8}.cmd-post-all{background:#caf19c;color:#122d17;border:0;border-radius:9px;padding:11px 15px;font-weight:800;cursor:pointer}
[data-speed]{display:none!important}body .cmd-simple-actions button:first-child{background:#294e38;color:#e7f3e2}
@media(min-width:1051px){.command-library{height:calc(100vh - 55px);min-height:540px}.cmd-detail.compact{max-height:175px}}
@media(max-width:640px){.cmd-detail.compact{max-height:200px}.cmd-story-wrap .cmd-story{padding:9px}.cmd-share-icon{min-width:60px;padding:7px 4px}.cmd-post-overlay{padding:8px}}
