.theory-scene-studio{padding:0;border-color:#263f54;background:linear-gradient(155deg,#071725,#102c42);box-shadow:0 22px 52px rgba(4,18,31,.2);color:#fff}.theory-scene-studio>header{align-items:center;margin:0;padding:22px 24px;border-bottom:1px solid rgba(255,255,255,.12)}.theory-scene-studio>header h5{color:#fff}.theory-scene-studio>header p{color:#b9c9d4}.theory-scene-studio .theory-scene-list{gap:12px;padding:18px}.theory-studio-scene{border-color:#314b60;background:#f7f9fb;box-shadow:0 12px 28px rgba(0,0,0,.2)}.theory-studio-scene>header{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:13px;padding:13px 15px;border-bottom:0;background:#0e2a40;color:#fff}.theory-studio-scene.is-expanded>header{border-bottom:1px solid #29465c}.theory-scene-heading{display:flex;align-items:center;gap:11px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.theory-scene-heading>span:last-child{display:grid;min-width:0}.theory-scene-heading strong{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.theory-studio-scene .theory-scene-number{background:#d7b264;color:#10283c}.theory-studio-scene .eyebrow{color:#d7b264}.theory-scene-summary{display:flex;align-items:center;gap:7px;color:#c1d0da;font-size:.72rem;font-weight:750}.theory-scene-summary span{padding:4px 7px;border:1px solid #3c586d;border-radius:999px;white-space:nowrap}.theory-studio-scene .theory-scene-actions{flex-wrap:nowrap}.theory-studio-scene .theory-scene-actions .tertiary-action{border-color:#456176;background:#17384f;color:#fff}.theory-studio-scene .theory-scene-actions .danger{padding:6px;color:#e8a9a9;font-size:.76rem}.theory-scene-disclosure{width:32px;height:32px;padding:0;border:1px solid #456176;border-radius:8px;background:#17384f;color:#fff;cursor:pointer}.theory-scene-studio-grid{display:grid;grid-template-columns:minmax(250px,32fr) minmax(340px,43fr) minmax(230px,25fr);min-height:480px;background:#edf2f5}.theory-scene-panel{min-width:0;padding:18px}.theory-scene-panel+ .theory-scene-panel{border-left:1px solid #d3dde5}.theory-scene-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.theory-scene-panel>header>span{color:#6b7e8c;font-size:.7rem;font-weight:750}.theory-scene-script-panel{display:flex;flex-direction:column;background:#fff}.theory-scene-script-panel .theory-scene-narration{flex:1}.theory-scene-script-panel textarea{height:100%;min-height:380px;border-color:#c8d4dd;background:#fbfcfd;font-family:Georgia,"Times New Roman",serif;font-size:1rem;line-height:1.72}.theory-scene-preview-panel{background:#e7edf1}.theory-scene-authoring-stage{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;overflow:hidden;border:1px solid #263e51;border-radius:13px;background:#03090f;box-shadow:0 14px 30px rgba(6,24,38,.22);isolation:isolate}.theory-scene-authoring-stage>img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}.theory-scene-authoring-stage>.theory-scene-image-empty{width:100%;height:100%;min-height:0;border:0;border-radius:0;background:#07131d;color:#aabcc8}.theory-scene-interaction-layer{position:absolute;inset:0;z-index:8;pointer-events:none}.theory-magnifier{--lens-size:22%;position:absolute;z-index:var(--interaction-z,20);left:var(--interaction-x);top:var(--interaction-y);width:var(--lens-size);aspect-ratio:1;padding:0;border:4px solid #d7b264;border-radius:50%;background:rgba(255,255,255,.12);box-shadow:0 4px 18px rgba(0,0,0,.55),inset 0 0 0 2px rgba(255,255,255,.7);transform:translate(-50%,-50%);pointer-events:auto;cursor:grab;touch-action:none}.theory-magnifier:after{content:"";position:absolute;left:78%;top:78%;width:42%;height:9%;border-radius:999px;background:#d7b264;box-shadow:0 2px 5px rgba(0,0,0,.45);transform:rotate(45deg);transform-origin:left center}.theory-magnifier:active{cursor:grabbing}.theory-scene-tools-panel{display:grid;align-content:start;gap:11px;background:#f8fafb}.theory-tool-group{display:grid;gap:9px;padding:12px;border:1px solid #d5dee5;border-radius:11px;background:#fff;color:#18364f}.theory-tool-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.theory-tool-group>header>strong{text-transform:uppercase;letter-spacing:.055em;font-size:.73rem}.theory-tool-group>header>span{color:#758895;font-size:.68rem}.theory-tool-status.is-ready{color:#267454}.theory-cue-tool-group{padding:0}.theory-cue-tool-group>.theory-visual-cues{margin:0;border:0;background:transparent}.theory-cue-tool-group .theory-visual-cues>header{align-items:center}.theory-cue-tool-group .theory-visual-cues>header p:not(.eyebrow){display:none}.theory-cue-tool-group .theory-cue-row{grid-template-columns:1fr 1fr;gap:6px}.theory-cue-tool-group .theory-cue-row>*{min-width:0}.theory-cue-tool-group .theory-cue-row input{width:58px}.theory-interaction-selector{display:grid;gap:5px;padding:6px;border:1px solid #cbd7df;border-radius:9px;background:#f4f7f9;box-shadow:0 9px 20px rgba(10,35,54,.13)}.theory-interaction-selector>button{display:grid;gap:2px;padding:9px;border:0;border-radius:7px;background:#fff;color:#18364f;text-align:left;cursor:pointer}.theory-interaction-selector>button:not(:disabled):hover{background:#e9f2f7}.theory-interaction-selector>button:disabled{color:#8999a4;cursor:not-allowed}.theory-interaction-selector small{font-size:.67rem}.theory-interaction-config{display:grid;gap:9px;padding-top:9px;border-top:1px solid #e0e6eb}.theory-interaction-config>header{display:flex;justify-content:space-between}.theory-interaction-config>label{display:grid;gap:4px;color:#506979;font-size:.72rem;font-weight:750}.theory-interaction-config fieldset{display:flex;gap:8px;margin:0;padding:0;border:0}.theory-interaction-config legend{margin-bottom:4px;color:#506979;font-size:.72rem;font-weight:750}.theory-interaction-config fieldset label{font-size:.74rem}.theory-interaction-config>small{color:#6c7f8c;font-size:.68rem;line-height:1.4}.theory-scene-settings{display:grid;grid-template-columns:1fr 1fr;gap:7px}.theory-scene-settings label{display:grid;gap:4px;color:#536b7d;font-size:.69rem;font-weight:750}.theory-scene-settings input,.theory-scene-settings select{min-width:0;width:100%;padding:7px;border:1px solid #c5d1d9;border-radius:7px;background:#fff;color:#18364f}.theory-studio-scene.is-collapsed>header{border-radius:16px}.theory-studio-scene.is-collapsed{background:#0e2a40}
.theory-scene-authoring-stage>img,.theory-preview-stage>img,.theory-learner-scene-canvas>img{user-select:none;-webkit-user-drag:none}.theory-magnifier{overflow:visible;background-color:#d9e2e8;background-repeat:no-repeat;transition:box-shadow .14s ease,border-color .14s ease;user-select:none;-webkit-user-drag:none}.theory-magnifier:hover,.theory-magnifier.is-dragging{border-color:#ffe08f;box-shadow:0 7px 25px rgba(0,0,0,.7),0 0 0 3px rgba(226,189,104,.22),inset 0 0 0 2px rgba(255,255,255,.8)}.theory-magnifier:focus-visible{outline:3px solid #fff;outline-offset:4px}.theory-magnifier.is-learner{pointer-events:none;cursor:default}.theory-magnifier.is-learner[data-draggable="true"]{pointer-events:auto;cursor:grab}.theory-magnifier[data-draggable="false"]{pointer-events:none;cursor:default}
@media(max-width:1180px){.theory-scene-studio-grid{grid-template-columns:minmax(250px,38fr) minmax(360px,62fr)}.theory-scene-tools-panel{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d3dde5;border-left:0!important}.theory-scene-tools-panel>header{grid-column:1/-1}.theory-studio-scene>header{grid-template-columns:minmax(220px,1fr) auto auto}.theory-scene-summary{display:none}}
@media(max-width:760px){.theory-scene-studio .theory-scene-list{padding:10px}.theory-studio-scene>header{grid-template-columns:1fr auto}.theory-studio-scene .theory-scene-actions{grid-column:1/-1;justify-content:flex-start}.theory-scene-disclosure{grid-column:2;grid-row:1}.theory-scene-studio-grid{grid-template-columns:1fr}.theory-scene-panel+.theory-scene-panel{border-top:1px solid #d3dde5;border-left:0}.theory-scene-script-panel textarea{min-height:260px}.theory-scene-tools-panel{display:grid;grid-template-columns:1fr}.theory-scene-tools-panel>header{grid-column:auto}.theory-scene-heading strong{max-width:70vw}}
.theory-scene-continue{margin-left:auto;min-width:7.5rem}.theory-scene-continue[hidden]{display:none!important}.theory-learner-scene>.theory-scene-continue{display:block;margin:1rem 1rem 1rem auto}.theory-scene-continue:focus-visible{outline:3px solid #d8ad37;outline-offset:3px}
.theory-scene-interaction-layer[data-interaction-mode="author"]{pointer-events:auto}.theory-drag-inspect{position:absolute;inset:0;pointer-events:none}.theory-inspect-source,.theory-inspect-target{position:absolute;left:var(--region-x);top:var(--region-y);width:var(--region-width);height:var(--region-height)}.theory-inspect-source{z-index:var(--interaction-z,20);padding:0;overflow:visible;border:1px solid transparent;border-radius:8px;background:transparent;pointer-events:auto;cursor:grab;touch-action:none}.theory-inspect-source:hover,.theory-inspect-source:focus-visible{border-color:#f4d98e;box-shadow:0 0 0 3px rgba(215,178,100,.25)}.theory-inspect-source.is-author{border-color:rgba(215,178,100,.8)}.theory-inspect-crop{position:absolute;inset:0;overflow:hidden;border-radius:7px;box-shadow:0 7px 18px rgba(0,0,0,.28)}.theory-inspect-crop img{position:absolute;max-width:none;object-fit:fill;pointer-events:none}.theory-inspect-target{display:grid;place-items:center;border:2px dashed rgba(91,181,241,.65);border-radius:12px;background:rgba(34,137,205,.08);color:#fff;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;pointer-events:none}.theory-inspect-target:not(.is-author){opacity:.32}.theory-inspect-check{position:absolute;right:-7px;top:-7px;display:none;width:20px;height:20px;border-radius:50%;background:#2e9d6f;color:#fff;font-size:.72rem;line-height:20px;text-align:center}.theory-inspect-source.is-inspected .theory-inspect-check{display:block}.theory-inspect-ghost{position:absolute!important;left:var(--drag-x)!important;top:var(--drag-y)!important;width:var(--region-width)!important;height:var(--region-height)!important;transform:translate(-50%,-50%) scale(1.05);opacity:.94;pointer-events:none!important;filter:drop-shadow(0 12px 16px rgba(0,0,0,.45))}.theory-inspect-region-draft{position:absolute;border:2px solid #66c6ff;border-radius:8px;background:rgba(64,177,239,.14);pointer-events:none}.theory-inspection-viewer{position:absolute;inset:0;z-index:80;display:grid;place-items:center;box-sizing:border-box;min-width:0;min-height:0;padding:clamp(8px,2.5%,24px);overflow:auto;background:rgba(3,12,20,.88);pointer-events:auto}.theory-inspection-viewer>section{display:flex;flex-direction:column;gap:12px;box-sizing:border-box;width:min(90%,980px);height:min(90%,720px);min-width:0;min-height:0;max-width:100%;max-height:100%;padding:16px;overflow:hidden;border:1px solid rgba(215,178,100,.62);border-radius:18px;background:#0d263a;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.55)}.theory-inspection-viewer header{position:relative;z-index:2;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;min-width:0}.theory-inspection-viewer header button{flex:0 0 auto;width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:transparent;color:#fff;font-size:1.4rem}.theory-inspection-image-stage{display:flex;flex:1 1 auto;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;overflow:hidden;border-radius:12px;background:#050b10}.theory-inspection-viewer .theory-inspection-image-stage>img{display:block;width:auto;height:auto;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.theory-inspection-viewer>section>.primary-action{position:relative;z-index:2;flex:0 0 auto;align-self:flex-end}.theory-inspect-items{display:grid;gap:7px;max-height:300px;overflow:auto}.theory-inspect-items article{display:grid;gap:6px;padding:8px;border:1px solid #dae3e9;border-radius:8px;background:#f7f9fb}.theory-inspect-items article header,.theory-inspect-items article>div{display:flex;align-items:center;gap:5px}.theory-inspect-items input{min-width:0;width:100%}.theory-inspect-items small{color:#687d8c;font-size:.65rem}@media(max-width:720px){.theory-inspection-viewer{padding:8px}.theory-inspection-viewer>section{width:100%;height:100%;border-radius:12px}}
.theory-drag-inspect-config>header>div{display:grid;gap:2px}.theory-drag-inspect-config>header small{color:#627887;font-size:.66rem}.theory-inspect-stepper{display:grid;gap:5px;margin:2px 0;padding:0;list-style:none}.theory-inspect-stepper li{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:6px 7px;border:1px solid #dce5ea;border-radius:8px;background:#f8fafb}.theory-inspect-stepper li>span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#dbe5eb;color:#38566b;font-size:.68rem;font-weight:850}.theory-inspect-stepper li>div{display:grid}.theory-inspect-stepper strong{font-size:.69rem}.theory-inspect-stepper small{color:#718491;font-size:.62rem}.theory-inspect-stepper li.is-complete>span{background:#2c8a62;color:#fff}.theory-inspect-stepper li.is-current{border-color:#d7b264;background:#fffaf0}.theory-inspect-wizard-step{display:grid;gap:7px;padding:10px 0;border-top:1px solid #e0e7ec}.theory-inspect-wizard-step>header{display:flex;align-items:center;justify-content:space-between}.theory-inspect-wizard-step>header strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.035em}.theory-inspect-wizard-step>header span,.theory-inspect-wizard-step>p{margin:0;color:#667d8c;font-size:.66rem;line-height:1.4}.theory-inspect-wizard-step>div,.theory-inspect-add-actions{display:flex;flex-wrap:wrap;gap:6px}.theory-inspect-wizard-step>.theory-inspect-items{display:grid}.theory-inspect-item-summary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;padding:2px;border:0;background:transparent;color:#18364f;text-align:left;cursor:pointer}.theory-inspect-item-summary span{font-size:.65rem;font-weight:750}.theory-inspect-items article.is-ready .theory-inspect-item-summary span{color:#267454}.theory-inspect-items article.is-incomplete .theory-inspect-item-summary span{color:#9b611b}.theory-inspect-item-body{display:grid!important;gap:8px!important;padding-top:7px;border-top:1px solid #e1e8ed}.theory-inspect-item-body>label{display:grid;gap:4px;color:#526d7e;font-size:.66rem;font-weight:750}.theory-inspect-item-body input{padding:7px;border:1px solid #c7d5de;border-radius:7px}.theory-inspect-image-status{display:grid!important;grid-template-columns:42px 1fr auto;gap:7px!important}.theory-inspect-image-status img{width:42px;height:34px;border-radius:6px;object-fit:cover;background:#e5ebef}.theory-inspect-image-status span{display:grid;min-width:0}.theory-inspect-image-status small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theory-inspect-readiness-warning{display:block!important;padding:9px;border:1px solid #d99b57;border-radius:8px;background:#fff8ed;color:#744518}.theory-inspect-readiness-warning ul{margin:6px 0 0;padding-left:18px;font-size:.67rem}.theory-inspect-target.is-author{border-color:rgba(215,178,100,.9);background:rgba(215,178,100,.12)}.theory-inspect-source.is-author{border-color:rgba(72,157,211,.85);background:rgba(30,98,143,.08)}.theory-inspect-authoring-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:9px 10px;border:1px dashed #d7b264;border-radius:9px;background:#fff8e8;color:#4f3b13}.theory-inspect-authoring-status>div{display:grid}.theory-inspect-authoring-status strong{font-size:.7rem;letter-spacing:.06em}.theory-inspect-authoring-status span{font-size:.68rem}.theory-inspect-authoring-status.is-preview{border-color:#5aa7d9;background:#eaf7ff;color:#174b6d}.theory-scene-authoring-stage.is-interaction-preview .theory-inspect-target{opacity:.22}@media(max-width:760px){.theory-inspect-add-actions>*{width:100%}.theory-inspect-image-status{grid-template-columns:36px 1fr auto}}
