/* style.css */
/* Local review only. One graphite palette, one type and control system. */
:root{color-scheme:dark;--bg:#101114;--rail:#141519;--surface:#191b20;--raised:#202229;--input:#14161b;--border:#30323b;--text:#f0f1f5;--muted:#a7acb8;--accent:#b8a8f4;--accent-ink:#211b31;--selected:#282331;--success:#a2cfb0;--radius:10px;--space:8px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-family:var(--font);font-size:16px;line-height:1.6;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent)}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);font-size:15px;line-height:1.4;cursor:pointer;white-space:nowrap}button:hover{background:var(--raised)}button.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}button.quiet{background:transparent;border-color:transparent}button.icon{width:44px;padding:9px;flex:none}button[aria-pressed=true],button.active{background:var(--selected);color:var(--accent);border-color:#685b85}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}h1,h2,h3,p,figure{margin:0}h1{font-size:28px;line-height:1.3;font-weight:600;letter-spacing:-.025em}h2{font-size:22px;line-height:1.4}h3{font-size:17px;line-height:1.45}p{font-size:16px;line-height:1.65}.muted{color:var(--muted)}.caption{font-size:13px;color:var(--muted)}.eyebrow{font-size:13px;letter-spacing:.06em;color:var(--accent)}.surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.icon-svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}input,textarea,select{background:var(--input);border:1px solid var(--border);border-radius:var(--radius);padding:12px;font-size:16px;width:100%;min-width:0}textarea{resize:vertical;line-height:1.6}label{font-size:15px}img{max-width:100%;display:block}summary{cursor:pointer;min-height:44px;padding:10px}dialog{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:14px;max-width:min(560px,calc(100vw - 32px));padding:24px}dialog::backdrop{background:#000a}.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid var(--border);border-radius:7px;font-size:13px;color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.spacer{flex:1}.badge{font-size:12px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

:root{--line:var(--border);--surface-2:var(--raised);--studio-bg:var(--bg);--studio-panel:var(--surface);--studio-raised:var(--raised);--studio-field:var(--input);--studio-border:var(--border);--studio-text:var(--text);--studio-muted:var(--muted);--studio-accent:var(--accent);--studio-selected:var(--selected);--stage-canvas-bg:var(--bg);--stage-canvas-surface:var(--surface);--stage-canvas-border:var(--border);--stage-canvas-accent:var(--accent)}

:root{--navy:var(--text);--ink:var(--text);--academy-ink:var(--text);--native-ink:var(--text);--native-muted:var(--muted);--native-purple:var(--accent);--academy-accent:var(--accent);--academy-muted:var(--muted);--bg-light:var(--bg)}

@charset "UTF-8";
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--surface);font-size:16px;font-synthesis:none;--radius:12px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button{border:0}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid var(--accent)}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}h1{font-size:1.8rem;letter-spacing:-.045em;line-height:1.4;margin-bottom:8px;font-weight:700}h2{font-size:1.22rem;line-height:1.5}h3{font-size:1.05rem;line-height:1.55}p{line-height:1.75}small{font-size:.78rem}button{transition:background .16s,box-shadow .16s,transform .16s}button:active{transform:translateY(1px)}.icon{width:20px;height:20px;flex:none;vertical-align:middle}.muted{color:var(--muted);font-size:.85rem;line-height:1.75}.eyebrow{font-size:.69rem;letter-spacing:.13em;color:var(--muted);font-weight:650;display:block;margin-bottom:9px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;border-radius:8px;font-size:.875rem;font-weight:550;white-space:nowrap}.primary{background:var(--blue);color:var(--accent-ink)}.primary:hover{background:var(--selected)}.secondary{color:var(--text);background:var(--surface);border:1px solid var(--accent)}.secondary:hover{background:var(--surface);border-color:var(--accent)}.text-button{background:none;color:var(--accent);display:inline-flex;align-items:center;gap:6px;padding:8px 0;font-size:.85rem}.icon-button{background:none;padding:7px;border-radius:7px;color:var(--muted)}.icon-button:hover{background:var(--surface)}.pill{font-size:.72rem;line-height:1.4;display:inline-block;border-radius:5px;padding:4px 8px;background:var(--surface);color:var(--accent);font-weight:550}.pill.neutral{color:var(--muted);background:var(--surface)}.pill.green{color:var(--accent);background:var(--surface)}.L1{}.L2{}.L3{}.L4{}.L5{}.pill[class*="L"]{color:var(--level-color);background:var(--level-tint)}
.shell{display:flex;min-height:100vh}.sidebar{background:var(--selected);color:var(--text);width:208px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;padding:32px 22px 35px;color:var(--text);font-size:1.28rem;font-weight:650;letter-spacing:-.04em}.brand>.icon{color:var(--accent);width:30px;height:30px}.brand small{display:block;font-size:.69rem;font-weight:400;letter-spacing:.03em;color:var(--muted);margin-top:6px}.nav-caption{font-size:.67rem;letter-spacing:.08em;padding:0 25px;margin:9px 0 14px;color:var(--muted)}.sidebar nav{padding:0 12px}.nav-item{display:flex;align-items:center;gap:12px;color:var(--muted);background:none;width:100%;text-align:left;padding:14px 15px;font-size:.86rem;border-radius:8px;margin:4px 0}.nav-item.active{background:var(--selected);color:var(--text)}.nav-item:hover{background:var(--selected);color:var(--text)}.nav-item .icon{width:18px;height:18px}.count{font-size:.68rem;background:var(--selected);color:var(--text);border-radius:5px;padding:1px 5px;margin-left:auto}.sidebar-note{margin:auto 24px 35px;padding-top:55px}.mini-line{display:block;width:25px;height:2px;background:var(--selected);margin-bottom:16px}.sidebar-note strong{font-size:.84rem;color:var(--accent);font-weight:500}.sidebar-note p{font-size:.78rem;color:var(--muted);line-height:1.85;margin:8px 0 16px}.version{font-size:.66rem;color:var(--muted);letter-spacing:.05em}.profile{padding:22px 16px;border-top:1px solid var(--border);display:flex;gap:10px;align-items:center;font-size:.79rem;color:var(--accent)}.avatar{background:var(--selected);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:.78rem}.profile small{display:block;color:var(--muted);font-size:.65rem;margin-top:4px}.logout{margin-left:auto;color:var(--muted);background:none;font-size:.72rem;padding:5px}.topbar{height:72px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 32px}.breadcrumb{font-size:.78rem;color:var(--muted)}.breadcrumb span{margin:0 14px;color:var(--text)}.top-actions{display:flex;align-items:center;gap:20px}.teacher-label{color:var(--muted);font-size:.75rem;display:flex;align-items:center;gap:7px}.topbar .secondary{font-size:.78rem;min-height:34px;padding:7px 12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{font-size:.85rem;color:var(--muted);margin:0}.compact-stat{display:flex;align-items:center;gap:14px}.compact-stat strong{font-size:2rem;font-weight:500;letter-spacing:-.04em;color:var(--text)}.compact-stat span{font-size:.74rem;color:var(--muted);max-width:60px;line-height:1.8}.levels{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:30px}.level{background:var(--surface);padding:17px 15px;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:10px}.level.selected{box-shadow:0 0 0 1px #6b89d6;border-color:var(--accent);background:var(--surface)}.level:hover{border-color:var(--accent)}.level-no{font-size:.95rem;font-weight:700;color:var(--level-color);background:var(--level-tint);width:39px;height:39px;border-radius:10px;display:grid;place-items:center;flex:none}.level strong{font-size:.8rem;color:var(--text);font-weight:600;white-space:nowrap}.level small{display:block;font-size:.65rem;color:var(--muted);margin-top:6px;white-space:nowrap}.level-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.level-heading>div{display:flex;gap:10px;align-items:center}.level-heading h2{font-size:1.1rem;margin:0}.level-heading .muted{font-size:.73rem;margin-left:6px}.search{display:flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:8px 11px;color:var(--muted);width:245px}.search .icon{width:16px;height:16px}.search input{border:0;background:none;outline:none;min-width:0;width:100%;font-size:.74rem;color:var(--accent)}.search input::placeholder{color:var(--muted)}.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:start}.map-surface{border:1px solid var(--line);border-radius:12px;min-height:740px;background-color:var(--surface);background-image:radial-gradient(#dfe6ef .8px,transparent .8px);background-size:18px 18px;overflow:hidden}.map-note{font-size:.72rem;display:flex;align-items:center;gap:8px;background:var(--surface);border-bottom:1px solid var(--accent);padding:17px 18px;color:var(--muted);line-height:1.6}.dot{width:6px;height:6px;background:var(--selected);border-radius:50%;flex:none}.map-version{margin-left:auto;font-size:.63rem;white-space:nowrap;color:var(--muted)}.map-group{margin:24px 20px 28px;padding-left:14px;border-left:1px solid var(--accent)}.group-label{font-size:.73rem;color:var(--muted);font-weight:600;display:flex;gap:8px;align-items:center;margin:0 0 14px -25px}.group-label>span{background:var(--surface);color:var(--muted);border:3px solid var(--accent);border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:.61rem}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-node{position:relative;background:var(--surface);border:1px solid var(--accent);padding:16px 10px 14px;border-radius:9px;color:var(--text);display:flex;flex-direction:column;align-items:center;min-height:126px;text-align:center;box-shadow:0 3px 7px #24395703}.module-node:hover{border-color:var(--accent);box-shadow:0 4px 14px #466dba0e}.module-node.chosen{border-color:var(--accent);box-shadow:0 0 0 1px #668eed;background:var(--surface)}.module-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--muted);background:var(--surface);border-radius:9px;margin-bottom:11px}.chosen .module-icon{background:var(--surface);color:var(--accent)}.module-name{font-size:.77rem;line-height:1.5;font-weight:550}.module-meta{font-size:.62rem;color:var(--muted);margin-top:7px;line-height:1.5}.module-meta i{font-style:normal;margin:0 3px}.priority-mark{position:absolute;right:9px;top:9px;width:5px;height:5px;background:var(--selected);border-radius:50%}.point-branch{background:var(--surface);border:1px solid var(--accent);border-radius:9px;margin-top:14px;position:relative;overflow:hidden}.branch-caption{padding:12px 13px;background:var(--surface);font-size:.72rem;font-weight:600;color:var(--accent);display:flex;gap:5px;justify-content:space-between}.branch-caption>span{font-size:.62rem;color:var(--muted);font-weight:400}.point-node{display:flex;gap:10px;align-items:center;padding:12px 13px;text-align:left;width:100%;background:var(--surface);color:var(--muted);border-bottom:1px solid var(--accent);font-size:.78rem;line-height:1.5}.point-node:last-child{border-bottom:0}.point-node:hover{background:var(--surface)}.point-node.selected-point{background:var(--surface);color:var(--accent)}.point-dot{font-size:.63rem;width:24px;height:24px;border:1px solid var(--accent);border-radius:6px;color:var(--muted);display:grid;place-items:center;flex:none}.selected-point .point-dot{background:var(--selected);border-color:var(--accent);color:var(--text)}.point-node small{display:block;font-size:.67rem;color:var(--muted);margin-top:2px}.point-node>.icon{margin-left:auto;color:var(--text);width:14px;height:14px}.selected-point>.icon{color:var(--accent)}.map-footer{padding:4px 20px 22px;display:flex;gap:7px;align-items:center;color:var(--muted);font-size:.67rem}.map-footer .icon{width:14px;height:14px}.lesson-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;position:sticky;top:18px;overflow:hidden;max-height:calc(100vh - 36px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--accent) transparent}.detail-heading{padding:24px 23px 20px}.detail-heading .eyebrow{font-size:.64rem;color:var(--muted)}.detail-title{display:flex;align-items:center;justify-content:space-between}.detail-title h3{font-size:1.28rem;margin:3px 0 9px;letter-spacing:-.03em}.detail-heading p{font-size:.8rem;color:var(--muted);margin-bottom:12px}.detail-tags{display:flex;gap:6px}.detail-tags .pill{font-size:.62rem}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 17px;gap:14px}.tabs button{background:var(--surface);color:var(--muted);font-size:.8rem;padding:12px 8px;border-bottom:2px solid transparent;flex:1}.tabs button.active{border-color:var(--accent);color:var(--accent);font-weight:600}.detail-body{padding:19px 22px 24px}.teach-card{margin-bottom:20px}.teach-card h4{font-size:.77rem;color:var(--muted);margin:0 0 7px;font-weight:600}.teach-card p{font-size:.83rem;line-height:1.95;color:var(--muted);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.focus-card{background:var(--surface);border-left:3px solid var(--accent);padding:15px 14px;border-radius:0 7px 7px 0}.focus-card h4{color:var(--accent)}.focus-card p{color:var(--accent)}.error-card h4:before{content:'!';display:inline-grid;place-items:center;margin-right:6px;background:var(--surface);color:var(--accent);border-radius:50%;font-size:.59rem;width:14px;height:14px}.support{border-top:1px solid var(--accent);padding-top:15px;color:var(--muted);font-size:.75rem;margin-bottom:20px}.support summary{cursor:pointer}.support p{font-size:.76rem;margin:10px 0}.prereqs{display:flex;flex-wrap:wrap;gap:6px}.prereqs button{background:var(--surface);color:var(--muted);border-radius:4px;padding:5px;font-size:.72rem}.exit-present{display:none}.future{display:flex;gap:28px;padding:45px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.future>.level-no{width:70px;height:70px;font-size:1.5rem}.future h2{font-size:1.8rem}.future-focus{font-size:1.1rem;color:var(--muted)}.future-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:850px;margin:30px 0}.future-grid small{color:var(--muted)}.future-grid p{margin-top:10px;color:var(--muted);font-size:.9rem}
label{display:block;font-size:.84rem;color:var(--muted);margin-bottom:16px;line-height:1.6}input:not([type="checkbox"]):not([type="radio"]),select,textarea{display:block;width:100%;padding:11px 12px;background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:7px;margin-top:7px;min-height:41px}textarea{resize:vertical;line-height:1.85;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:2px solid var(--accent)}input[type="file"]{font-size:.76rem;line-height:1.8;padding:12px}.search input{margin:0;min-height:0;padding:0;border:0}.search input:focus{outline:none}.form-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}.form-foot .muted{font-size:.68rem}.stack-actions{display:flex;flex-direction:column;gap:8px}.notice{background:var(--surface);border:1px solid var(--accent);border-radius:7px;padding:13px 15px;font-size:.8rem;line-height:1.8;color:var(--muted);margin:18px 0}.notice.subtle{margin:-7px 0 25px;background:var(--surface)}.empty{padding:45px 20px;text-align:center;color:var(--muted);line-height:1.8;font-size:.85rem}.empty.compact{padding:30px 16px;background:var(--surface);border-radius:8px}.empty small{display:block;font-size:.72rem;margin-top:8px}.big-empty{margin:30px auto;padding:70px 30px;text-align:center;background:var(--surface);border:1px dashed var(--accent);border-radius:12px}.big-empty>.icon{width:38px;height:38px;color:var(--accent);margin-bottom:18px}.big-empty h2{font-size:1.2rem;color:var(--muted)}.big-empty p{color:var(--muted);font-size:.88rem}.media-intro p{color:var(--muted);font-size:.82rem}.media-intro{margin-bottom:22px}.media-card{border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden;margin-bottom:16px}.media-card img,.media-card video{width:100%;max-height:350px;object-fit:contain;background:var(--surface);display:block}.media-card audio{width:100%;padding:10px}.media-card>strong{display:block;padding:13px 13px 5px;font-size:.82rem;overflow-wrap:anywhere}.media-card p{font-size:.77rem;color:var(--muted);margin:0;padding:0 13px 7px}.media-card>small{color:var(--muted);display:block;padding:0 13px 13px;font-size:.68rem}.materials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.materials-grid .media-card{margin-bottom:0}.materials-grid>div>.text-button{font-size:.76rem}.summary-row{display:flex;gap:35px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:22px 26px;margin:8px 0 26px}.summary-row>div{display:flex;align-items:center;gap:12px}.summary-row strong{font-size:1.8rem;font-weight:500;color:var(--accent)}.summary-row span{font-size:.77rem;color:var(--muted)}.summary-row p{margin:0 0 0 auto;font-size:.77rem;align-self:center;color:var(--muted)}.question-list{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.question-row{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;gap:25px;border-bottom:1px solid var(--line)}.question-row:last-child{border-bottom:0}.question-row .muted{margin-left:10px;font-size:.71rem}.question-row h3{margin:12px 0 6px;font-weight:550}.question-row p{font-size:.8rem;color:var(--muted);margin:0}.exam-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:20px}.exam-head{display:flex;justify-content:space-between;gap:20px}.exam-head .pill{margin-right:7px}.exam-head h2{margin:12px 0 8px;font-size:1.2rem}.exam-head p{color:var(--muted);font-size:.78rem;margin-bottom:5px}.exam-head .text-button{align-self:flex-end}.exam-instructions{font-size:.83rem;color:var(--muted);padding:14px 0;border-bottom:1px solid var(--line);white-space:pre-wrap}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.82rem;margin-top:15px}th{font-size:.72rem;color:var(--muted);font-weight:400;padding:12px 10px;border-bottom:1px solid var(--line)}td{padding:15px 10px;border-bottom:1px solid var(--accent);color:var(--muted)}tr:last-child td{border-bottom:0}td:last-child{text-align:right}.review-summary{display:flex;align-items:center;justify-content:space-between;padding:10px 0 20px}.review-summary strong{font-size:1rem;color:var(--accent)}.option-editor label{display:flex;align-items:center;gap:10px}.option-editor label>span{border-radius:5px;background:var(--surface);padding:7px 10px;font-size:.8rem}.option-editor input{margin-top:0!important}.checkbox-row{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--accent);border-radius:7px;padding:13px;margin-bottom:9px;font-size:.82rem}.checkbox-row input{margin-top:5px;accent-color:var(--blue)}.checkbox-row small{display:block;color:var(--muted);font-size:.68rem;margin-top:6px}#exam-choices{max-height:260px;overflow:auto}
dialog{border:1px solid var(--accent);border-radius:15px;width:min(650px,calc(100% - 30px));max-height:90vh;padding:28px;box-shadow:0 20px 100px #112b5233;color:var(--ink)}dialog::backdrop{background:#172e514f;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.modal-head h2{margin:0;font-size:1.15rem}dialog p{font-size:.86rem;color:var(--muted)}dialog .form-foot{border-top:1px solid var(--line);padding-top:17px}.boot{display:grid;place-items:center;min-height:100vh;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);max-width:90vw;z-index:100;background:var(--selected);color:var(--text);padding:13px 23px;border-radius:9px;font-size:.85rem;line-height:1.7;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.login{min-height:100vh;background:var(--selected);color:var(--text);display:flex;flex-direction:column;padding:45px 7vw;background-image:radial-gradient(ellipse at 85% 40%,#243f6c 0,transparent 60%)}.login-brand{font-size:1.5rem;font-weight:650;display:flex;align-items:center;gap:12px}.login-brand .icon{width:32px;height:32px;color:var(--accent)}.login-box{width:min(470px,100%);margin:auto 0;padding:70px 0}.login-box .eyebrow{color:var(--accent);font-size:.73rem}.login-box h1{font-size:2.8rem;font-weight:550;line-height:1.6;margin:20px 0}.login-box p{color:var(--accent);font-size:.95rem;line-height:2}.login-box form{margin:34px 0 20px}.login-box label{color:var(--accent)}.login-box .primary{font-size:.92rem;min-height:48px;padding:12px 23px}.login-box small{font-size:.71rem;color:var(--muted)}.login-foot{color:var(--muted);font-size:.7rem;letter-spacing:.05em}.error-page{padding:20vh 30px;text-align:center}.error-page>.icon{width:40px;height:40px;color:var(--accent);margin-bottom:25px}.error-page p{color:var(--muted)}.presenting .sidebar,.presenting .topbar,.presenting .page-heading,.presenting .levels,.presenting .level-heading,.presenting .map-surface{display:none}.presenting .course-layout{display:block}.presenting .lesson-panel{max-height:none;position:static;padding:25px 35px}.presenting .detail-title h3{font-size:2.3rem}.presenting .detail-heading p{font-size:1.2rem}.presenting .detail-body{display:grid;grid-template-columns:1fr 1fr;gap:20px 35px}.presenting .teach-card p{font-size:1.12rem}.presenting .teach-card h4{font-size:1rem}.presenting .tabs{display:none}.presenting .exit-present{display:block}.presenting .support{grid-column:1/-1}.student{max-width:850px;padding:25px 30px 120px;margin:auto}.student>header{display:flex;justify-content:space-between;align-items:center;padding:14px 0 25px;border-bottom:1px solid var(--line);color:var(--muted);font-size:.8rem}.student-brand{display:flex;gap:10px;align-items:center;font-size:1.3rem;color:var(--accent);font-weight:650}.student-brand .icon{color:var(--blue);width:26px;height:26px}.student-heading{padding:35px 0 20px}.student-heading h1{margin-top:16px}.student-heading p{font-size:.88rem;color:var(--muted)}.student-question,.result-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px;margin:22px 0}.student-question h2{font-size:1.08rem;margin-bottom:22px;line-height:1.9}.answer-option{display:flex;gap:12px;align-items:center;border:1px solid var(--accent);border-radius:8px;padding:13px;cursor:pointer;margin-bottom:10px}.answer-option:has(input:checked){background:var(--surface);border-color:var(--accent);color:var(--accent)}.answer-option input{accent-color:var(--blue)}.answer-letter{font-size:.78rem;color:var(--accent)}.student-footer{position:fixed;bottom:0;left:0;width:100%;background:#ffffffed;border-top:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:15px;padding:17px;backdrop-filter:blur(8px)}.student-footer>span{font-size:.78rem;color:var(--muted);margin-right:30px}.submitted-files p{display:flex;align-items:center;gap:10px;font-size:.82rem;padding:10px 0;color:var(--muted)}.submitted-files small{color:var(--muted)}.answer-feedback{background:var(--surface);padding:15px;border-radius:8px;color:var(--accent);font-size:.86rem;margin-top:20px}.answer-feedback p{margin:8px 0 0;font-size:.82rem}.result-card{border-color:var(--accent)}.result-card>strong{display:block;font-size:1.4rem;color:var(--accent);margin-bottom:24px}.student>form button{margin:8px 0}
@media(min-width:1600px){.course-layout{grid-template-columns:minmax(0,1fr) 390px;gap:27px}.map-group{margin:27px 30px 35px;padding-left:20px}.module-node{padding:20px;min-height:140px}.module-name{font-size:.88rem}.module-meta{font-size:.72rem}.module-grid{gap:18px}.point-node{font-size:.87rem;padding:14px 18px}.point-node small{font-size:.76rem}.detail-body{padding:23px 26px}.teach-card p{font-size:.9rem}.group-label{font-size:.83rem}}
@media(max-width:1200px){.sidebar{width:180px}.brand{padding:30px 18px;font-size:1.13rem;gap:8px}.topbar{padding:0 22px}.level{padding:12px 9px;gap:7px}.level-no{width:30px;height:34px;font-size:.8rem}.level strong{font-size:.72rem}.level small{font-size:.6rem}.levels{gap:8px}.course-layout{grid-template-columns:minmax(0,1fr) 310px;gap:14px}.map-group{margin:20px 15px 24px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.map-note{font-size:.65rem;flex-wrap:wrap}.map-version{display:none}.level-heading{flex-wrap:wrap}.detail-body{padding:17px}.materials-grid{grid-template-columns:repeat(2,1fr)}.summary-row{gap:20px;flex-wrap:wrap}.summary-row p{margin:0}.profile{padding:20px 10px}.profile .avatar{display:none}}
@media(max-width:900px){.sidebar{width:70px}.brand{padding:25px 20px}.brand span,.nav-caption,.sidebar-note,.profile{display:none}.sidebar nav{padding:8px}.nav-item{font-size:0;justify-content:center;padding:15px 0;gap:0}.nav-item .icon{width:21px;height:21px}.count{display:none}.course-layout{grid-template-columns:minmax(0,1fr) 300px}.level{justify-content:center;flex-direction:column;text-align:center}.level strong{font-size:.7rem}.level small{display:none}.levels{gap:6px}.page-heading h1{font-size:1.5rem}.compact-stat{display:none}.level-heading>div{flex-wrap:wrap}.level-heading .muted{margin:0}.teacher-label{display:none}.map-group{padding-left:6px;margin-left:16px;margin-right:10px}.group-label{margin-left:-17px}.module-name{font-size:.7rem}.module-meta{font-size:.6rem}.module-node{min-height:116px;padding:13px 8px}.branch-caption{display:block}.branch-caption>span{display:none}.map-note{padding:12px}.map-footer{font-size:.62rem;padding:4px 14px 17px}.point-node small{font-size:.65rem}.future{padding:28px;gap:20px}.future-grid{grid-template-columns:1fr;gap:10px}}
@media(max-width:700px){.sidebar{width:100%;height:60px;inset:auto 0 0;z-index:10;border-top:1px solid var(--border)}.brand{display:none}.sidebar nav{display:flex;padding:0}.nav-item{font-size:.65rem;flex-direction:column;gap:5px;min-height:60px;border-radius:0;margin:0;padding:8px 0}.nav-item .icon{width:18px;height:18px}.topbar{height:58px;padding:0 18px}.breadcrumb{font-size:.72rem}.breadcrumb span{margin:0 9px}.topbar .secondary{font-size:.71rem;padding:6px 9px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.page-heading h1{font-size:1.5rem}.page-heading p{font-size:.78rem}.page-heading>.primary{font-size:.75rem;padding:9px 10px}.eyebrow{font-size:.62rem}.levels{gap:5px;margin-bottom:23px}.level{padding:10px 3px;gap:8px;border-radius:8px}.level strong{font-size:.58rem}.level-no{width:30px;height:30px;font-size:.75rem;border-radius:8px}.level-heading>div{gap:7px}.level-heading h2{font-size:1rem}.level-heading .muted{font-size:.67rem}.search{width:100%;padding:9px 11px}.search input{font-size:.8rem}.course-layout{display:flex;flex-direction:column}.map-surface{width:100%;min-height:0;max-height:430px;overflow-y:auto;scrollbar-width:thin}.map-group{margin:22px 18px;padding-left:16px}.group-label{font-size:.77rem;margin-left:-27px}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.module-node{min-height:120px}.module-name{font-size:.74rem}.module-meta{font-size:.62rem}.module-icon{width:32px;height:32px}.point-node{font-size:.84rem}.point-node small{font-size:.72rem}.map-note{font-size:.73rem;line-height:1.8}.map-footer{font-size:.68rem}.lesson-panel{width:100%;position:static;max-height:none;margin-top:8px}.detail-heading{padding:24px}.detail-body{padding:22px 24px}.detail-heading p{font-size:.89rem}.teach-card p{font-size:.91rem}.teach-card h4{font-size:.84rem}.tabs{gap:15px;padding:0 20px}.tabs button{font-size:.87rem}.materials-grid{grid-template-columns:1fr}.summary-row{padding:20px;gap:18px}.summary-row>div{gap:8px}.summary-row strong{font-size:1.5rem}.summary-row span{font-size:.72rem}.question-row{padding:21px;align-items:flex-start;flex-direction:column;gap:15px}.question-row h3{font-size:.97rem}.question-row .muted{font-size:.65rem}.exam-card{padding:20px 17px}.exam-head{gap:8px}.exam-head h2{font-size:1.04rem}.exam-head .primary{font-size:.73rem;padding:9px 10px}.future{padding:25px;display:block}.future>.level-no{margin-bottom:25px}.future h2{font-size:1.5rem}.future-focus{font-size:1rem}.presenting .lesson-panel{padding:0}.presenting .detail-title h3{font-size:1.7rem}.presenting .detail-body{display:block}.presenting .teach-card p{font-size:1.05rem}.presenting .detail-heading p{font-size:1rem}dialog{padding:22px 20px}dialog h2{font-size:1.06rem}.login{padding:32px 25px}.login-box h1{font-size:2.3rem}.student{padding:14px 16px 115px}.student-question{padding:22px 18px}.student-heading h1{font-size:1.5rem}.student-footer{gap:8px;padding:14px 10px}.student-footer>span{font-size:.7rem;margin-right:auto}.student-footer button{font-size:.78rem;padding:10px 12px}.answer-option{font-size:.9rem}.student-question h2{font-size:1rem}.big-empty{padding:50px 20px}#toast{bottom:78px;min-width:230px;text-align:center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* v0.2: classroom sequence, project evidence, and readable teaching cards */
[hidden]{display:none!important}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}textarea{line-height:1.75}p,textarea,.teach-card{overflow-wrap:anywhere}.page-heading{margin-bottom:18px}.page-heading h1{font-size:1.65rem;margin:8px 0}.page-heading p{margin:8px 0}.levels{margin-bottom:18px}.course-layout{grid-template-columns:minmax(0,1fr) minmax(360px,42%)}.module-name{font-size:.91rem}.module-meta,.point-node small{font-size:.8rem}.point-node{font-size:.95rem}.teach-card p{font-size:.98rem;line-height:1.95}.teach-card h4{font-size:.88rem}.detail-heading p{font-size:.91rem}.detail-body{padding:22px}.lesson-panel{max-height:calc(100vh - 100px)}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-route{font-size:.8rem;line-height:1.8;padding:14px;background:var(--surface);border-radius:8px;margin-bottom:18px}.learning-route strong{display:block;color:var(--accent)}.learning-route .text-button{padding:5px;font-size:.8rem}.worked-example{margin:18px 0;border:1px solid var(--accent);border-radius:10px;padding:15px;background:var(--surface)}.worked-example summary{cursor:pointer;font-weight:600;line-height:1.8;color:var(--accent)}.worked-example .teach-card{margin-top:20px}.worked-example small{color:var(--muted)}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card,.course-editor,.session-list{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}.template-card h3{line-height:1.6;font-size:1.07rem}.template-card p{font-size:.9rem;line-height:1.9;color:var(--muted)}.template-card details{margin:18px 0;font-size:.86rem}.template-card summary{cursor:pointer}.session-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;margin-top:24px;align-items:start}.session-list h3{font-size:1rem}.session-link{display:block;text-align:left;width:100%;padding:14px;border:1px solid var(--line);background:var(--surface);border-radius:8px;margin:10px 0;line-height:1.7;color:var(--muted)}.session-link.active{background:var(--surface);border-color:var(--accent)}.session-link small{display:block;margin-top:5px;color:var(--muted)}.course-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.course-editor label{font-size:.9rem}.course-editor textarea,.course-editor input{font-size:.95rem}.step-list{list-style:none;padding:0}.step-list>li{padding:20px;margin:16px 0;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:8px}.step-head,.step-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.step-head strong{margin-right:auto;font-size:.98rem}.step-controls label{flex:1;min-width:100px}.step-list small{color:var(--muted)}.project-fields{background:var(--surface);padding:22px;border:1px solid var(--line);border-radius:12px;margin:20px 0}.project-fields h2{font-size:1.1rem}.project-fields textarea{font-size:1rem;line-height:1.9}.project-editor summary{padding:15px;background:var(--surface);border-radius:8px;cursor:pointer}.project-editor .project-fields{border:0;padding:0}.point-choices{max-height:220px;overflow:auto;border:1px solid var(--line);padding:12px;margin-bottom:20px}.point-choices .checkbox-row{padding:10px;font-size:.87rem}.evidence-fields{border:1px solid var(--accent);border-radius:10px;margin:20px 0;padding:18px}.evidence-fields section+section{border-top:1px solid var(--line);margin-top:20px}.evidence-fields legend{color:var(--accent)}.evidence-read{border-left:3px solid var(--accent);padding:10px 16px;background:var(--surface);margin:14px 0;font-size:.9rem;line-height:1.8}.version-history{margin:20px 0}.version-history details{border:1px solid var(--line);border-radius:8px;padding:16px;margin:10px 0;background:var(--surface)}.version-history summary{cursor:pointer;color:var(--accent);line-height:1.8}.version-history h3{font-size:1.1rem}.lecture{max-width:1100px;margin:auto;padding:28px 40px 120px;min-height:100vh}.lecture-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.lecture-header .eyebrow{line-height:1.7}.lecture-progress{display:flex;gap:8px;overflow:auto;padding:24px 0;margin-bottom:15px}.lecture-progress button{white-space:nowrap;border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:9px 15px;color:var(--accent)}.lecture-progress button.active{background:var(--selected);color:var(--text);border-color:var(--accent)}.lecture h1{font-size:2rem;line-height:1.6}.lecture-anchor{color:var(--muted);font-size:1rem;line-height:1.7}.lecture .teach-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:28px;margin:22px 0}.lecture .teach-card p{font-size:1.35rem;line-height:2}.lecture .teach-card h4{font-size:1.05rem}.lecture .error-card{border-color:var(--accent);background:var(--surface)}.lecture .focus-card{border-color:var(--accent);background:var(--surface)}.lecture-footer{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;background:#ffffffed;border-top:1px solid var(--line);padding:20px;z-index:12;backdrop-filter:blur(10px)}.teacher-notes{background:var(--surface);padding:20px;border:1px dashed var(--accent);border-radius:10px}.teacher-notes .teach-card p{font-size:1rem}.lecture .media-card{max-width:850px}.lecture .media-card img,.lecture .media-card video{width:100%;max-height:65vh;object-fit:contain}.submitted-files button{margin-left:auto}.nav-item{font-size:.86rem}
@media(max-width:1200px){.course-layout{grid-template-columns:minmax(0,1fr) 360px}.template-grid{grid-template-columns:1fr}.session-layout{grid-template-columns:190px minmax(0,1fr)}.module-name{font-size:.88rem}.module-meta{font-size:.76rem}}
@media(max-width:900px){.nav-item{font-size:0}.course-layout{grid-template-columns:minmax(0,1fr) 340px}.session-layout{grid-template-columns:1fr}.session-list{display:flex;gap:10px;overflow:auto;align-items:center}.session-list h3{min-width:90px}.session-link{min-width:180px}.course-editor{padding:18px}.module-name{font-size:.85rem}.module-meta{font-size:.72rem}}
@media(max-width:700px){.nav-item{font-size:.59rem}.course-layout{display:flex}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-name{font-size:.92rem}.module-meta{font-size:.8rem}.lesson-panel{max-height:none}.point-node small{font-size:.8rem}.teach-card p{font-size:1rem}.template-card{padding:18px}.course-toolbar{gap:7px}.course-toolbar button{font-size:.8rem}.course-editor{padding:14px}.step-list>li{padding:14px}.step-head strong{width:100%}.project-fields{padding:18px}.lecture{padding:20px 18px 160px}.lecture h1{font-size:1.6rem}.lecture .teach-card{padding:20px}.lecture .teach-card p{font-size:1.12rem}.lecture-header .eyebrow{font-size:.68rem}.lecture-footer{gap:8px;padding:12px}.lecture-footer button{font-size:.8rem}.lecture-anchor{font-size:.88rem}}

/* Account administration */
.account-password{max-width:600px;background:var(--paper,var(--surface));padding:28px;border:1px solid var(--border);border-radius:16px}.block{display:block;color:var(--muted);margin-top:6px}.account-filters{display:flex;gap:18px;align-items:end;margin:20px 0}.account-filters label:first-child{flex:1}.account-levels{display:flex;gap:24px}.account-levels .checkbox-row{flex:1}.student header{gap:18px;flex-wrap:wrap}.table-wrap td .pill{margin:2px}.student .support{margin:14px 0}@media(max-width:720px){.account-filters{display:block}.account-filters label{display:block}.account-password{padding:18px}}

@media(min-width:701px){.sidebar{overflow-y:auto}.sidebar-note{padding-top:20px;margin-bottom:18px}.sidebar .profile{flex-shrink:0}.sidebar nav{flex-shrink:0}}
@media(min-width:701px) and (max-height:780px){.sidebar-note p,.sidebar-note .mini-line{display:none}.sidebar .brand{padding-top:22px;padding-bottom:24px}.sidebar .nav-item{padding-top:11px;padding-bottom:11px}}
:root{}
.network-lessons{margin:24px 0;padding:24px;background:var(--surface);border:1px solid var(--lesson-line);border-radius:14px}
.network-lessons h2{font-size:1.15rem;margin:0 0 8px}.network-lessons>p{color:var(--muted);line-height:1.8}
.network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.network-grid article{padding:18px;background:var(--surface);border:1px solid var(--lesson-line);border-radius:10px}.network-grid h3{margin:12px 0 6px}.network-grid p{line-height:1.7;color:var(--muted)}
.lesson-sources,.lesson-checks{margin:18px 0;padding:16px;border:1px solid var(--lesson-line);border-radius:10px;line-height:1.8}.lesson-sources article,.lesson-checks section{padding:12px 0;border-top:1px solid var(--lesson-line)}.lesson-sources a{color:var(--accent);text-decoration:underline;overflow-wrap:anywhere}.lesson-sources small{display:block;color:var(--muted)}.lesson-checks li{padding:4px 0}.lesson-checks details{margin-top:10px}.worked-example .teach-card p{white-space:pre-line}.worked-example summary,.lesson-sources summary,.lesson-checks summary{cursor:pointer}
@media(max-width:1000px){.network-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.network-grid{grid-template-columns:1fr}.network-lessons{padding:16px}.lesson-checks ol{padding-left:24px}}

/* Incremental teaching overview, evidence review and learner growth. */
.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.overview-stats article,.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px}.overview-stats strong{display:block;font-size:2rem;font-weight:650;color:var(--accent)}.overview-stats span{display:block;font-size:.82rem;color:var(--muted);margin-top:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}.panel-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.queue-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:22px 0}.queue-row>div:nth-child(2){flex:1;min-width:0}.queue-row>div:last-child{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.queue-row h3{margin:8px 0 5px}.queue-row small{color:var(--muted)}.work-icon{display:grid;place-items:center;background:var(--surface);color:var(--muted);border-radius:10px;width:48px;height:55px;flex:none}.issue-row{display:flex;gap:13px;border-top:1px solid var(--line);padding:18px 0}.issue-row strong{font-size:.88rem;line-height:1.6;display:block}.issue-count{display:grid;place-items:center;background:var(--surface);color:#a26020;width:28px;height:28px;border-radius:7px;flex:none}.overview-links{display:flex;gap:14px;align-items:center;margin-top:22px;flex-wrap:wrap}.overview-links>div{flex:1}.overview-links h2{margin:0 0 6px}.overview-links p{margin:0}.work-empty{text-align:center;padding:50px 20px;background:var(--surface);border-radius:10px;color:var(--muted)}.work-empty h3{margin:15px 0 8px;color:var(--text)}.work-empty p{font-size:.86rem;margin:0}.work-empty>.icon{width:38px;height:38px}.roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.roster-grid h2{margin-top:18px}.roster-grid .avatar{color:var(--text)}.review-dialog{width:min(1320px,96vw);max-width:1320px;padding:28px;max-height:94vh}.review-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px}.review-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:22px}.review-title p{font-size:.85rem;color:var(--muted)}.review-work,.review-editor{min-width:0}.review-work .media-card{margin-bottom:18px}.review-work video{max-height:380px;background:var(--selected);object-fit:contain}.review-work .media-card strong{font-size:.8rem}.review-work .support{margin:16px 0}.evidence-fields{padding:0;border:0;min-width:0}.evidence-fields legend{font-weight:600;margin:20px 0}.evidence-fields>section{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:16px}.time-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.time-actions{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:12px}.review-save{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 0;position:sticky;bottom:-28px;background:var(--surface);border-top:1px solid var(--line)}.review-save>span{font-size:.78rem;color:var(--muted);flex:1}.comparison-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.comparison-columns section{background:var(--surface);padding:14px;border-radius:8px;min-width:0}.comparison-columns p{white-space:pre-wrap;font-size:.82rem;margin:10px 0 0}.version-comparison{padding:18px;border:1px solid var(--accent);border-radius:10px;margin:20px 0}.version-comparison summary{font-weight:600;cursor:pointer}.version-comparison article{margin:18px 0}.evidence-read{overflow-wrap:anywhere}.evidence-read h4{margin-top:12px}.evidence-read p{white-space:pre-wrap}.growth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:24px;padding:22px;gap:18px}.growth-summary strong{display:block;font-size:1.35rem}.growth-summary span{display:block;font-size:.8rem;color:var(--muted);margin-top:10px}.growth-student{max-width:1080px}.learner-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-top:18px}.learner-tabs button{background:none;padding:18px 0;color:var(--muted);white-space:nowrap}.learner-tabs .active{color:var(--blue);border-bottom:2px solid var(--blue)}.growth-student .panel,.review-dialog>.panel{margin-bottom:24px}.practice-card{border-top:1px solid var(--line);padding:22px 0 8px}.practice-card h3{margin-top:12px}.practice-card p{white-space:pre-wrap}.practice-card small{color:var(--muted)}.growth-evidence{padding:18px 0;border-top:1px solid var(--line)}.growth-evidence>small{color:var(--muted)}.growth-timeline{border-left:2px solid var(--accent);padding:0 0 28px 22px;margin:22px 0 0 8px}.growth-timeline h3{margin:12px 0}.growth-timeline small{color:var(--muted)}.task-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.evidence-player{border:1px solid var(--line);padding:15px;margin-top:20px}.evidence-player video{width:100%;max-height:480px;background:var(--selected)}.review-dialog p,.review-dialog h2,.panel h3{overflow-wrap:anywhere}
@media(max-width:1100px){.overview-grid{grid-template-columns:1fr}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-layout{grid-template-columns:1fr}.review-work video{max-height:320px}}
@media(max-width:700px){.sidebar nav{overflow-x:auto}.sidebar .nav-item{min-width:76px;flex-shrink:0}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-stats article{padding:18px}.panel{padding:18px}.queue-row{gap:10px;flex-wrap:wrap}.queue-row>div:last-child{width:100%;flex-direction:row;justify-content:space-between}.work-icon{width:36px;height:44px}.roster-grid{grid-template-columns:1fr}.review-dialog{padding:18px;width:96vw}.review-layout{gap:20px}.review-title{align-items:flex-start;gap:10px}.review-title>.pill{white-space:nowrap}.review-save{bottom:-18px}.comparison-columns{grid-template-columns:1fr}.growth-summary{padding:16px;gap:12px}.growth-summary strong{font-size:1rem}.growth-summary span{font-size:.7rem}.learner-tabs{gap:20px;overflow-x:auto}.learner-tabs button{font-size:.83rem}.evidence-fields>section{padding:15px}.review-title h2{font-size:1.15rem}}
.auth-page .login-box{width:min(520px,100%);padding:32px 0}.auth-page .login-box h1{font-size:2rem;margin:14px 0}.auth-tabs{display:flex;gap:8px;margin-top:22px;padding:5px;background:#ffffff0b;border:1px solid #ffffff20;border-radius:10px}.auth-tabs button{flex:1;background:transparent;color:var(--accent);padding:12px;border-radius:7px}.auth-tabs button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:650}.auth-page .login-box form{margin:22px 0 16px}.auth-page form>.primary{width:100%;justify-content:center}.auth-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-page .auth-note{font-size:.78rem;line-height:1.8;margin:8px 0 20px}.auth-page .login-box small{color:var(--accent);line-height:1.8}.auth-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:600px){.auth-page{padding:24px 22px}.auth-page .login-box{padding:30px 0}.auth-page .login-box h1{font-size:1.65rem}.auth-fields{grid-template-columns:1fr;gap:0}}

/* Card detail affordance; forms and management actions retain their own targets. */
.lc-study-card,.training-card:has([data-training-task]){cursor:pointer;transition:box-shadow .25s ease,translate .25s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .lc-study-card:hover,.training-card:has([data-training-task]):hover{translate:0 -4px;box-shadow:0 14px 38px #20334b14}
}
.lc-study-card:focus-within,.training-card:has([data-training-task]):focus-within{outline:2px solid var(--accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.lc-study-card,.training-card{transition:none}}

.sms-code-row{display:flex;align-items:end;gap:12px}.sms-code-row label{flex:1;min-width:0}.sms-code-row button{white-space:nowrap;margin-bottom:14px;min-height:44px}.phone-security{margin-top:28px;padding-top:20px;border-top:1px solid var(--border,var(--border))}.sms-status{font-size:15px;overflow-wrap:anywhere}.sms-code-row input{width:100%}@media(max-width:480px){.sms-code-row{gap:8px}.sms-code-row button{padding:10px}}
.orbital-entry .sms-code-row button.secondary[data-sms-purpose]{min-height:44px}

/* Keep the production chain visible beside its actual editable output. */
.film-story-source{padding:14px 16px;margin:0 0 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:15px;color:var(--text);overflow-wrap:anywhere}
.film-story-source strong{font-size:15px}.film-story-source p{margin:6px 0;line-height:1.6;white-space:pre-wrap}.film-story-source span,.film-story-source>small{color:var(--muted)}
.film-story-art-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.film-story-art-links button{display:flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:15px;min-height:36px}.film-story-art-links img{width:54px;height:36px;object-fit:contain;border-radius:4px}.film-story-art-links .film-frame-placeholder{display:none}
.film-video-source{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:15px}.film-video-source-frame{flex:0 0 96px;width:96px}.film-video-source-frame img{width:96px;height:60px;object-fit:contain;border-radius:6px}.film-video-source strong{font-size:15px}.film-video-source p{margin:5px 0}.film-video-source small{display:block;color:var(--muted)}.film-video-source button{margin-top:5px;font-size:15px;padding:5px 8px;min-height:30px}
.film-video-composer .film-video-prompt{min-height:150px;max-height:360px;height:auto;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:15px;line-height:1.65}.film-guided-creation label{font-size:15px}.film-guided-creation .film-guided-actions{flex-wrap:wrap}.film-guided-creation .film-guided-actions button{border-radius:8px;min-height:36px;font-size:15px}

/* Administrator roster controls reuse the current platform appearance. */
.account-list-filters{flex-wrap:wrap}.account-list-filters label:first-child{flex:1 1 260px}.account-list-controls{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0;align-items:end}.account-list-controls label{min-width:130px}.account-role-group th{background:var(--wash,var(--surface));color:var(--ink,var(--accent));text-align:left;padding:12px 16px}.account-row-actions{display:flex;flex-wrap:wrap;gap:6px 12px;min-width:135px}.account-list-table{min-width:1120px}#account-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:20px 0}#account-pagination .stack-actions{margin:0}@media(max-width:720px){.account-list-controls{display:grid;grid-template-columns:1fr 1fr}.account-list-controls label{min-width:0}.account-list-filters{display:grid;grid-template-columns:1fr 1fr}.account-list-filters label:first-child{grid-column:1/-1}.account-list-controls select{max-width:100%}}

.account-table-hint{display:none}@media(max-width:720px){.account-table-hint{display:block}}



/* workspace.css */
.workspace-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.page-heading .workspace-toolbar{justify-content:flex-end}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title h2,.panel-title h3{margin:0}.ability-summary{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;align-items:center;gap:26px;margin:20px 0}.ability-summary>div{flex:1;min-width:180px}.ability-summary h2{font-size:1.1rem;margin-bottom:8px}.ability-summary strong{font-size:1.65rem;white-space:nowrap}.ability-summary small{display:block;font-size:.77rem;font-weight:400;color:var(--muted)}.ability-summary progress{max-width:145px;height:9px;accent-color:var(--accent)}.blue-text{color:var(--accent)}.ability-layout,.editor-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}.module-list{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px;min-width:0}.module-list>label{margin-top:16px}.module-list-item{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;width:100%;padding:14px 10px;background:transparent;border-bottom:1px solid var(--accent);color:var(--muted);line-height:1.5;font-size:.83rem;border-radius:5px}.module-list-item.active{color:var(--accent);background:var(--surface);box-shadow:inset 3px 0 #2864f0}.module-list-item small{color:var(--muted)}.ability-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.ability-panel>.panel-title{margin-bottom:22px}.ability-panel h2{font-size:1.12rem}.ability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ability-card{border:1px solid var(--accent);border-radius:10px;padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.ability-card.selected{border-color:var(--accent)}.ability-icon{width:48px;height:48px;display:grid;place-items:center;background:var(--surface);color:var(--muted);border-radius:50%;margin-bottom:14px}.ability-icon .icon{width:27px;height:27px}.ability-card.lit .ability-icon{color:var(--accent);background:var(--surface);box-shadow:0 0 15px #83adff55}.ability-card h3{font-size:1rem;margin-bottom:10px}.ability-card p{font-size:.8rem;line-height:1.8;color:var(--muted);flex:1;overflow-wrap:anywhere}.ability-status{font-size:.79rem;color:var(--muted);margin:6px 0 14px}.ability-status.lit{color:var(--accent)}.ability-actions{display:flex;flex-wrap:wrap;gap:7px;width:100%}.ability-actions button{font-size:.77rem;padding:9px 11px;flex:1;white-space:nowrap}.unified-detail{border-top:1px solid var(--accent);margin-top:28px;padding-top:24px}.unified-detail .tabs{padding:0;gap:4px}.unified-detail .panel-title{margin-bottom:18px}.unified-detail .detail-body{padding:20px 0 0}.reference-card{border:1px solid var(--accent);background:var(--surface);padding:20px;border-radius:10px;margin:14px 0;overflow-wrap:anywhere}.reference-card h3{font-size:1rem}.reference-card p{white-space:pre-wrap;line-height:1.8;color:var(--muted)}.reference-card a{color:var(--accent);display:inline-block;margin:0 10px 10px 0}.prompt-template{background:var(--surface);border:1px solid var(--accent);padding:18px;border-radius:8px;margin:16px 0}.prompt-template button{float:right;margin:0 0 10px 12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.9;color:var(--text);font-size:.85rem}.learning-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.learning-choices article{padding:24px;border-radius:12px;border:1px solid var(--accent);background:var(--surface)}.learning-choices article:last-child{background:var(--surface)}.learning-choices p{color:var(--muted);font-size:.85rem}.editor-layout{grid-template-columns:300px minmax(0,1fr)}.course-edit-panel{min-width:0}.course-edit-panel .tabs{padding:0;gap:4px;margin-top:20px}.course-edit-panel form{padding-top:20px}.structure-module{border-bottom:1px solid var(--accent)}.structure-tools{display:flex;gap:8px;padding:6px;flex-wrap:wrap}.structure-tools button,.quick-steps button{font-size:.73rem;background:var(--surface);color:var(--muted);padding:6px;border-radius:4px}.structure-point{display:block;text-align:left;width:100%;padding:10px 12px 10px 28px;font-size:.82rem;background:transparent;color:var(--muted);border-radius:5px}.structure-point.active{color:var(--accent);background:var(--surface);box-shadow:inset 3px 0 #2864f0}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.reference-editor{border:1px solid var(--accent);border-radius:10px;padding:20px;margin:15px 0;min-width:0}.reference-editor legend{color:var(--accent);font-weight:600;padding:0 8px}.reference-editor input,.reference-editor textarea{max-width:100%}.publish-changes{max-height:35vh;overflow:auto;border:1px solid var(--line);padding:12px;border-radius:8px;margin:15px 0}.publish-changes p{border-bottom:1px solid var(--accent);padding-bottom:10px}.quick-add-row{display:flex;gap:12px;align-items:center;margin-bottom:22px}.quick-add-row select{flex:1;min-width:0}.quick-steps{padding:0;list-style:none}.quick-steps li{display:flex;gap:8px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.quick-steps li>div{flex:1;min-width:0}.quick-steps strong{display:block;font-size:.86rem}.quick-steps small{display:block;color:var(--muted);margin-top:8px;font-size:.75rem}.classroom{max-width:1500px;padding:32px;margin:auto}.classroom>header{display:flex;align-items:center;justify-content:space-between;gap:20px}.classroom h1{font-size:1.7rem;margin:10px 0}.classroom-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}.classroom-layout>aside{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px}.classroom .panel{margin-top:0}.classroom .detail-body{font-size:1.1rem}.classroom .teach-card p{font-size:1rem}.classroom>details{margin-top:24px}.sidebar .brand small{white-space:nowrap}.tabs{overflow-x:auto}.tabs button{white-space:nowrap}.queue-row>div{min-width:0}.queue-row h3{overflow-wrap:anywhere}.panel{min-width:0}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.danger{color:#b63746!important}.overview-stats article{min-width:0}.reference-editor .answer-option{line-height:1.8}.level{min-width:0}.level span{min-width:0}.module-list label{font-size:.75rem}.ability-panel .tabs button{font-size:.8rem}.classroom-layout .tabs button{font-size:.95rem}
@media(min-width:1700px){.ability-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.ability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ability-layout{grid-template-columns:220px minmax(0,1fr)}.editor-layout{grid-template-columns:245px minmax(0,1fr)}.ability-summary{flex-wrap:wrap;gap:18px}.ability-summary progress{flex-basis:100%}.course-edit-panel .tabs button{padding:12px 4px;font-size:.75rem}.quick-steps li{flex-wrap:wrap}.quick-steps li>div{flex-basis:100%}}
@media(max-width:900px){.ability-layout,.editor-layout{grid-template-columns:1fr}.module-list{max-height:300px;overflow:auto}.learning-choices{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading .workspace-toolbar{justify-content:flex-start}.classroom-layout{grid-template-columns:1fr}.classroom-layout>aside{max-height:200px;overflow:auto}.classroom>header{display:block}.ability-summary>div{flex-basis:100%}.form-columns{grid-template-columns:1fr}.classroom{padding:18px}}
@media(max-width:600px){.ability-grid{grid-template-columns:1fr}.ability-panel{padding:16px}.ability-card{padding:18px}.ability-card p{margin-bottom:8px}.ability-summary{padding:16px}.ability-summary strong{font-size:1.3rem}.workspace-toolbar button{font-size:.78rem}.quick-add-row{flex-direction:column;align-items:stretch}.learning-choices article{padding:18px}.course-edit-panel{padding:16px}.reference-editor{padding:12px}.classroom>header .workspace-toolbar{gap:6px}.page-heading{display:block}.page-heading>button{margin-top:12px}.ability-panel .panel-title{flex-wrap:wrap}.levels{overflow-x:auto}.levels .level{min-width:120px}.overview-grid{grid-template-columns:1fr}}
.mobile-exit{display:none}
@media(max-width:700px){.sidebar nav .nav-item{width:auto;flex:1 0 70px;min-width:70px}.mobile-exit{display:inline-block}.top-actions{gap:5px}.top-actions .text-button{font-size:.72rem}.sidebar nav{max-width:100vw;scrollbar-width:thin}}

/* Work submission and eight-dimension analysis */
.work-steps{display:flex;gap:12px;list-style:none;padding:0;margin:24px 0;flex-wrap:wrap}.work-steps li{padding:9px 14px;border-radius:24px;background:var(--surface);color:var(--muted)}.work-steps .done{background:var(--surface);color:var(--text)}.work-video,.film-analysis,.teacher-note,.analysis-wait{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:24px;margin:20px 0}.work-video video{width:100%;max-height:460px;background:var(--bg)}.work-video label{display:block;margin:18px 0}.work-video textarea{width:100%}.analysis-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.analysis-heading h2{font-size:24px;margin:8px 0}.analysis-summary{font-size:16px;line-height:1.9}.analysis-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px}.analysis-dimensions article{border-top:1px solid var(--border);padding:12px 0}.analysis-dimensions h3{font-size:17px}.analysis-dimensions p{line-height:1.95;margin:10px 0}.film-term{background:var(--surface);color:var(--text);padding:1px 3px;border-radius:4px;font-weight:750}.teacher-note{border-left:4px solid var(--border)}.analysis-review .analysis-dimensions{grid-template-columns:1fr}.analysis-review .film-analysis{padding:20px;margin-top:0}.analysis-review .review-work{align-self:start;position:sticky;top:0}.analysis-review .review-work video{max-height:360px}.analysis-review .review-save{flex-wrap:wrap}.upload-choice{border:1px dashed var(--border);border-radius:12px;padding:20px;background:var(--surface)}.film-work .support{margin:16px 0}.film-work .student-footer{gap:12px}.film-work .project-fields{background:transparent;border:0;padding:12px 0}.analysis-review textarea{width:100%}@media(max-width:760px){.analysis-dimensions{grid-template-columns:1fr}.analysis-heading{align-items:flex-start;flex-direction:column}.analysis-review .review-work{position:static}.work-video,.film-analysis,.teacher-note{padding:18px}.work-steps{font-size:15px;gap:4px}.work-steps li{padding:8px}.film-work .student-footer{flex-wrap:wrap}}
.analysis-dimensions .text-button{margin:4px 12px 4px 0;line-height:1.7}.film-term{white-space:nowrap;box-decoration-break:clone}

.ai-settings-panel{max-width:820px}.ai-settings-panel fieldset{border:0;padding:0;margin:0;min-width:0}.ai-settings-panel input[readonly]{background:var(--surface);color:var(--muted)}.ai-settings-panel [role="status"]{padding:14px 16px;border-radius:10px;background:var(--surface);overflow-wrap:anywhere}.ai-settings-panel .workspace-toolbar{margin-top:22px}

/* Teaching and administration are separate navigation groups. */
.sidebar-bottom{margin-top:auto;padding-top:22px;flex-shrink:0}.sidebar-bottom>.nav-caption{border-top:1px solid var(--border);margin:0 16px 8px;padding:18px 9px 0}.sidebar-bottom .profile{margin-top:14px}.sidebar .teaching-nav{flex-shrink:0}.ai-connection-help{border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:0 0 20px}.ai-connection-help summary{cursor:pointer;color:var(--muted);font-size:.82rem}.ai-connection-help p{line-height:1.8;margin-bottom:10px}.ai-connection-help label{margin-bottom:0}
@media(min-width:701px) and (max-width:900px){.sidebar-bottom{border-top:1px solid var(--border);padding-top:8px}.sidebar .nav-item{font-size:0}}
@media(max-width:700px){.sidebar{height:auto;max-height:40vh}.sidebar-bottom{margin:0;padding:0;border-top:1px solid var(--border)}.sidebar-bottom .profile{display:none}.sidebar nav{width:100%;flex-shrink:0}.sidebar .system-nav .nav-item{min-height:46px;padding:7px 12px;flex-direction:row;gap:6px;font-size:.67rem}.sidebar .system-nav .icon{width:15px;height:15px}}

/* Timetable and private enrollment follow-up. */
.schedule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.schedule-card{margin:0;overflow-wrap:anywhere}.schedule-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.schedule-card h2{font-size:1.2rem;margin:14px 0}.schedule-card p{line-height:1.8}.schedule-time{font-weight:650;color:var(--accent)}.schedule-location,.schedule-description{white-space:pre-wrap}.schedule-filters label{display:flex;gap:8px;align-items:center;margin:0}.schedule-filters select{width:auto}.schedule-person{border-top:1px solid var(--line);padding:20px 0;overflow-wrap:anywhere}.schedule-person h3 small{display:block;color:var(--muted);font-weight:400;margin-top:8px}.schedule-roster textarea{width:100%}.schedule-followup{margin-top:15px}.schedule-card .workspace-toolbar{margin-bottom:0}#schedule-edit input,#schedule-edit textarea,#schedule-edit select,#schedule-enroll input,#schedule-enroll textarea{max-width:100%;min-width:0}#schedule-edit .form-columns>label{min-width:0}
@media(max-width:1050px){.schedule-list{grid-template-columns:1fr}}@media(max-width:600px){.schedule-card-head{flex-wrap:wrap}.schedule-filters{align-items:stretch}.schedule-filters label{width:100%}.schedule-card{padding:18px}.schedule-time{font-size:.85rem}}

.profile-gate{max-width:540px}.profile-gate h1{font-size:1.9rem}#student-profile-fields{border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0;min-width:0}#student-profile-fields[hidden]{display:none}#student-profile-fields legend{font-weight:600;color:var(--accent)}.class-reminders{border-left:4px solid var(--accent);background:var(--surface);margin-top:0}.class-reminders h2{font-size:1.1rem}.class-reminders article{padding:12px 0;border-bottom:1px solid var(--accent);overflow-wrap:anywhere}.class-reminders .pill{margin-left:12px}.class-reminders p{font-size:.86rem;margin:8px 0;line-height:1.6}.class-reminders button{margin-top:14px}@media(max-width:600px){.profile-gate{padding:22px}.class-reminders .pill{display:inline-block;margin:8px 0 0 8px}}

#activity-edit input,#activity-edit select,#activity-edit textarea{max-width:100%;min-width:0}#activity-edit .form-columns>label{min-width:0}.activity-followup{margin-top:15px}.activity-card .schedule-card-head>div{min-width:0}

/* Small-class task invitations: searchable accounts with persistent selection. */
.invite-selection-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;color:var(--muted);font-size:.85rem}.invite-candidates{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:12px}.invite-candidates .invite-candidate{display:flex;align-items:center;gap:12px;margin:0;padding:14px;border-bottom:1px solid var(--line);cursor:pointer}.invite-candidate:last-of-type{border-bottom:0}.invite-candidate[hidden],.invite-candidates [hidden]{display:none!important}.invite-candidate input{width:18px;height:18px;flex-shrink:0}.invite-candidate>span{display:grid;gap:5px;flex:1;min-width:0;overflow-wrap:anywhere}.invite-candidate small{color:var(--muted);font-size:.8rem}.invite-candidate:has(input:checked){background:var(--surface)}.invite-candidate:has(input:disabled){cursor:default;background:var(--surface);color:var(--muted)}.invite-candidates .empty{margin:0;padding:24px}#invite-form>button.primary{width:100%;min-height:44px}@media(max-width:600px){.invite-candidates{max-height:40vh}.invite-selection-bar{font-size:.8rem}.invite-candidate>small{max-width:90px;text-align:right}}

.task-claim h1{font-size:clamp(26px,5vw,38px);line-height:1.35;overflow-wrap:anywhere}
.task-claim .claim-instructions{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.task-claim>.primary{width:100%}

/* The compact sidebar hides profile controls below 900px. Keep sign-out reachable. */
@media(max-width:900px){.mobile-exit{display:inline-block}}


/* skills.css */
.skills-tabs{display:flex;gap:8px;border-bottom:1px solid var(--accent);margin:0 0 24px;padding-bottom:12px}.skills-tabs button{padding:11px 32px;border-radius:10px;border:1px solid var(--accent);background:var(--surface);color:var(--text);font-weight:700}.skills-tabs button[aria-pressed=true]{background:var(--selected);color:var(--text);border-color:var(--accent)}.skills-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(120deg,var(--surface),var(--surface));padding:26px;border:1px solid var(--accent);border-radius:16px}.skills-intro h2{margin:8px 0}.skills-intro p{color:var(--muted);max-width:700px;line-height:1.8}.skills-count{white-space:nowrap;color:var(--muted)}.skills-count strong{font-size:32px;color:var(--accent)}.skills-count span{display:block;margin-top:6px}.skills-toolbar{display:flex;align-items:end;gap:16px;margin:24px 0}.skills-toolbar label:first-child{flex:1}.skills-toolbar label{display:grid;gap:8px;font-size:15px}.skill-domain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.skill-domain{background:var(--surface);border:1px solid var(--accent);padding:17px 12px;border-radius:12px;text-align:left;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-items:center;color:var(--text);min-width:0}.skill-domain small{grid-column:2;color:var(--muted)}.skill-domain strong{font-size:15px}.skill-orb{grid-row:span 2;width:40px;height:40px;border:1px solid var(--accent);background:var(--surface);border-radius:50%;display:grid;place-items:center;color:var(--accent)}.skill-domain.selected,.skill-domain:hover{border-color:var(--accent);background:var(--surface)}.skill-domain.selected .skill-orb{background:var(--selected);color:var(--text);box-shadow:0 0 0 5px #e0ecfc}.skill-node-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.skill-node{display:flex;gap:14px;padding:20px;background:var(--surface);border:1px solid var(--accent);border-radius:14px;position:relative}.skill-node-dot{color:var(--accent);position:relative;border-radius:50%;border:1px solid var(--accent);display:grid;place-items:center;width:34px;height:34px;min-width:34px}.skill-node-dot:after{content:'';position:absolute;top:36px;bottom:-30px;border-left:1px solid var(--accent);left:50%}.skill-node h3{margin:8px 0}.skill-node p{font-size:15px;color:var(--muted);line-height:1.8}.skill-node small{color:var(--muted)}.skill-node .eyebrow{font-size:12px}.skill-link{background:none;border:0;color:var(--accent);font:inherit;padding:3px 0;text-align:left;cursor:pointer}.skill-link:hover{text-decoration:underline}.course-skill-links{padding:18px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;margin:16px 0}.course-skill-links p{color:var(--muted);font-size:15px}.course-skill-links .skill-link{margin:0 14px 6px 0}.skill-dialog{width:min(820px,calc(100vw - 32px));max-height:90dvh;border:1px solid var(--accent);border-radius:20px;padding:28px;box-sizing:border-box;overflow-y:auto}.skill-dialog::backdrop{background:#10223f88}.skill-close{float:right}.skill-detail{clear:both;padding-top:20px;line-height:1.9;color:var(--accent)}.skill-detail h2{font-size:28px}.skill-detail h3{margin-top:24px}.skill-definition{font-size:18px}.skill-depth{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.skill-depth article{padding:14px;border:1px solid var(--accent);border-radius:10px;background:var(--surface);font-size:15px}.skill-course-ref{margin:4px}.skill-term{cursor:pointer;border:0;border-bottom:1px dashed var(--accent);font:inherit;font-weight:700;background:var(--surface);color:var(--accent);padding:1px 3px}.skill-findings{padding:20px;background:var(--surface);border-radius:12px;margin:20px 0}.skill-finding-group{border-left:3px solid var(--accent);padding-left:16px}.skill-finding-group.explore{border-color:var(--accent)}.skill-finding-group article{margin:14px 0}.skill-finding-group .pill{margin-left:12px}.skill-findings p{line-height:1.7}.skill-review-row{border:1px solid var(--accent);border-radius:10px;margin:16px 0;padding:16px}.sound-example{padding:20px;background:var(--surface);border-radius:12px}.sound-example>div{display:flex;gap:12px;margin:10px 0}.track{display:flex;background:var(--surface);width:100%;padding-left:8px}.track b{display:block;background:var(--selected);color:var(--text);padding-left:8px}.track.picture b{margin-left:auto;width:50%}.track.audio b{margin-left:auto;width:75%}.skill-link:focus-visible,.skill-domain:focus-visible,.skills-tabs button:focus-visible,.skill-term:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){.skill-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-node-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skills-intro{align-items:start}.skills-count{font-size:15px}}
@media(max-width:600px){.skills-intro{display:block;padding:18px}.skills-count{margin-top:12px}.skills-count span{display:inline}.skills-toolbar{flex-wrap:wrap}.skills-toolbar label:first-child{flex-basis:100%}.skill-domain{padding:12px 8px;grid-template-columns:30px 1fr;gap:5px}.skill-domain strong{font-size:15px}.skill-orb{width:28px;height:28px}.skill-orb svg{width:17px}.skill-node-grid,.skill-depth{grid-template-columns:1fr}.skill-dialog{padding:18px}.skill-detail h2{font-size:24px}.skills-tabs button{flex:1}.skill-domain-grid{gap:8px}.skill-node .eyebrow{white-space:normal}.skill-review-row{min-width:0}}
/* Project learning and the open skill tree live in the existing course workspace. */
.course-view-switch{display:flex;gap:10px;margin:0 0 22px;flex-wrap:wrap}.project-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.project-levels button{display:grid;gap:6px;text-align:left;padding:18px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;color:var(--accent)}.project-levels button>strong{color:var(--accent)}.project-levels button>small{color:var(--muted)}.project-levels button[aria-pressed=true]{border-color:var(--accent);background:var(--surface);box-shadow:inset 0 0 0 1px #3876bf}.project-hero{display:flex;gap:32px;justify-content:space-between;align-items:center;background:var(--selected);color:var(--text);border-radius:18px;padding:30px;margin-bottom:24px}.project-hero h2{color:var(--text);font-size:28px;margin:8px 0 14px}.project-hero p{line-height:1.8;max-width:780px}.project-hero small,.project-hero .eyebrow{color:var(--accent);line-height:1.8}.project-format{display:grid;gap:6px;min-width:150px;text-align:center}.project-format>strong{font-size:48px;font-weight:600}.project-format>span{font-size:15px}.project-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.project-steps{display:grid;gap:0}.project-steps button{position:relative;display:flex;align-items:center;gap:14px;text-align:left;padding:18px 10px;background:transparent;color:var(--muted);border:0;border-radius:12px;min-height:92px}.project-steps button:after{content:'';position:absolute;left:29px;top:67px;bottom:-23px;width:1px;background:var(--surface)}.project-steps button:last-child:after{display:none}.project-steps button>span{border:1px solid var(--accent);border-radius:50%;background:var(--surface);min-width:40px;height:40px;display:grid;place-items:center;z-index:1;font-weight:600}.project-steps button>div{display:grid;gap:6px}.project-steps small{font-size:12px}.project-steps strong{font-size:15px}.project-steps button[aria-current=step]{background:var(--surface);color:var(--accent)}.project-steps button[aria-current=step]>span{background:var(--selected);color:var(--text);border-color:var(--accent)}.project-lesson{background:var(--surface);border:1px solid var(--accent);border-radius:16px;padding:28px;min-width:0}.project-lesson h2{font-size:25px;margin:8px 0 12px}.lesson-goal{font-size:16px;color:var(--muted);line-height:1.8}.project-lesson-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.project-lesson-grid article{min-width:0;line-height:1.8}.project-lesson h3{font-size:16px}.project-homework{padding:20px;background:var(--surface);border:1px solid var(--accent);border-radius:12px}.project-homework h3{margin-top:0}.project-homework ul{padding-left:20px;font-size:15px}.lesson-skill-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.lesson-skill-links .skill-link{padding:6px 12px;background:var(--surface);border-radius:8px;font-size:15px}.project-materials{border-top:1px solid var(--accent);padding-top:18px;margin-top:20px}.project-materials summary{cursor:pointer;color:var(--accent)}.project-material-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.project-material-list button{display:grid;gap:5px;text-align:left;background:var(--surface);border:1px solid var(--accent);padding:12px;border-radius:8px;color:var(--accent)}.project-material-list small{color:var(--muted)}.skill-atlas,.skill-branch-view{padding:28px;background:linear-gradient(var(--surface),var(--surface));border:1px solid var(--accent);border-radius:18px}.tree-root{position:relative;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;text-align:center;border:1px solid var(--accent);background:var(--surface);border-radius:14px;padding:18px;width:fit-content;max-width:100%;margin:0 auto 30px;color:var(--accent);box-sizing:border-box}.tree-root small{flex-basis:100%;font-size:15px;color:var(--muted)}.tree-root:after{content:'';position:absolute;top:100%;height:30px;left:50%;border-left:1px solid var(--accent)}.tree-clusters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tree-cluster{min-width:0;border-top:1px solid var(--accent);padding:0 12px}.tree-cluster>h3{font-size:15px;text-align:center;color:var(--muted);font-weight:500;margin:12px 0 22px}.tree-domain-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;border-left:1px solid var(--accent);padding-left:20px}.tree-domain{position:relative;display:grid;grid-template-columns:44px 1fr;gap:4px 10px;align-items:center;border:1px solid var(--accent);background:var(--surface);border-radius:14px;padding:14px 12px;text-align:left;color:var(--accent);min-width:0}.tree-domain:before{content:'';position:absolute;left:-21px;width:20px;top:50%;border-top:1px solid var(--accent)}.tree-domain strong{font-size:15px;line-height:1.6}.tree-domain small{grid-column:2;font-size:12px;color:var(--muted)}.tree-domain:hover,.tree-domain:focus-visible{border-color:var(--accent);background:var(--surface)}.tree-domain:hover .skill-orb{box-shadow:0 0 0 4px #d7e7fa}.tree-skill-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid var(--accent);padding-top:24px}.tree-skill-node{position:relative;display:flex;gap:14px;background:var(--surface);padding:20px;border:1px solid var(--accent);border-radius:14px;min-width:0}.tree-skill-node:before{content:'';position:absolute;height:24px;top:-25px;left:50%;border-left:1px solid var(--accent)}.tree-skill-node h3{margin:8px 0;font-size:16px}.tree-skill-node p{font-size:15px;line-height:1.8;color:var(--muted)}.tree-skill-node small,.skill-relation-label{font-size:12px;color:var(--muted)}.tree-skill-node .skill-node-dot{height:34px}.tree-skill-node .skill-node-dot:after{display:none}.skill-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(660px,100vw);max-height:100dvh;height:100dvh;border-radius:20px 0 0 20px;padding:28px}.skill-close{position:sticky;top:0;background:var(--surface);z-index:1}.skill-work-context{padding:18px;border:1px solid var(--accent);border-radius:12px;background:var(--surface)}.skill-work-context h3{margin-top:0}.skill-work-context small{display:block;margin-top:10px;color:var(--muted)}.skill-work-context p{font-size:15px}.project-lesson small{color:var(--muted)}.skills-library button:focus-visible,.project-layout button:focus-visible,.project-levels button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.tree-skill-node .skill-link{overflow-wrap:anywhere}
@media(max-width:1200px){.project-layout{grid-template-columns:200px minmax(0,1fr)}.project-lesson-grid{grid-template-columns:1fr}.tree-skill-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-clusters{grid-template-columns:1fr}.tree-domain-branches{grid-template-columns:repeat(4,minmax(0,1fr))}.tree-domain{display:flex;flex-direction:column;text-align:center}.tree-domain small{grid-column:auto}}
@media(max-width:760px){.project-levels{gap:8px}.project-levels button{padding:12px 9px}.project-levels button>span{font-size:15px}.project-levels button>small{font-size:12px}.project-hero{padding:22px;align-items:start}.project-hero h2{font-size:23px}.project-format{min-width:75px}.project-format>strong{font-size:32px}.project-format>span{font-size:12px}.project-format>small{display:none}.project-layout{grid-template-columns:1fr;gap:16px}.project-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-steps button{min-height:76px;padding:10px 8px;background:var(--surface)}.project-steps button:after{display:none}.project-steps button>span{min-width:30px;height:30px;font-size:15px}.project-steps strong{font-size:15px}.project-lesson{padding:20px}.project-lesson-grid{gap:14px}.tree-domain-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-atlas,.skill-branch-view{padding:20px 12px}.tree-skill-branches{grid-template-columns:1fr}.project-material-list{grid-template-columns:1fr}.skill-dialog{padding:20px;border-radius:0}.project-hero p{font-size:15px}.skills-count{white-space:normal}.tree-domain .skill-orb{min-width:36px;width:36px;height:36px}}
.skill-course-depth{display:grid;gap:10px}.skill-course-depth article{border:1px solid var(--accent);border-radius:10px;padding:14px;background:var(--surface)}.skill-course-depth p{font-size:15px;margin:8px 0}.skill-course-depth small{color:var(--muted)}
/* Theme courses and private teacher lesson plans. */
.plan-workspace{border:0;padding:0;margin:0;min-width:0}.plan-ai-start{padding:26px;margin-bottom:22px;border:1px solid var(--accent);border-radius:16px;background:linear-gradient(120deg,var(--surface),var(--surface));display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 28px;align-items:center}.plan-ai-start h2{margin:10px 0;font-size:24px}.plan-ai-start p{line-height:1.8;color:var(--muted);margin:6px 0}.plan-ai-controls{display:flex;gap:12px;align-items:end}.plan-ai-controls label{display:grid;gap:8px;margin:0}.plan-ai-controls select{min-width:90px}.plan-ai-status,.plan-ai-start>.notice{grid-column:1/-1;font-size:15px}.plan-ai-start>[data-plan-restore]{justify-self:start}.plan-workspace[disabled] #plan-editor{opacity:.65}@media(max-width:900px){.plan-ai-start{grid-template-columns:1fr}.plan-ai-controls{flex-wrap:wrap}.plan-ai-start h2{font-size:21px}}
.plan-heading,.plan-summary{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:28px 0 22px}.plan-heading h2,.plan-summary h2{margin:4px 0 12px}.plan-heading p,.plan-summary p{color:var(--muted);line-height:1.8}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.theme-card{display:flex;flex-direction:column;align-items:flex-start;background:var(--surface);border:1px solid var(--accent);border-radius:16px;padding:26px;min-width:0}.theme-card h3{font-size:21px;line-height:1.5;margin:18px 0 10px}.theme-card>p{line-height:1.85;color:var(--muted);flex:1}.theme-number{font-size:15px;letter-spacing:.16em;color:var(--accent);font-weight:700}.theme-tags{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 22px}.theme-tags span{background:var(--surface);border:1px solid var(--accent);border-radius:6px;padding:5px 9px;font-size:15px;color:var(--muted)}.theme-detail,#plan-editor{background:var(--surface);border:1px solid var(--accent);border-radius:16px;padding:28px}.plan-summary .pill{white-space:nowrap}.plan-skill-row{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0 24px;border-bottom:1px solid var(--accent)}.plan-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 32px}.plan-block p{white-space:pre-wrap;line-height:1.9;font-size:15px;color:var(--muted)}.plan-start{display:flex;align-items:end;gap:14px;padding:22px;background:var(--surface);border:1px solid var(--accent);border-radius:14px;margin-bottom:28px}.plan-start label{flex:1;margin:0}.plan-start select{width:100%;margin-top:8px}.plan-studio{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}.plan-saved{background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:20px}.plan-saved button{display:flex;flex-direction:column;text-align:left;gap:8px;width:100%;background:var(--surface);border:1px solid var(--accent);border-radius:9px;padding:12px;margin-bottom:10px;color:var(--accent)}.plan-saved button.selected{border-color:var(--accent);background:var(--surface)}.plan-saved small{font-size:12px;color:var(--muted)}#plan-editor>label,#plan-generate-form>label{display:flex;flex-direction:column;gap:8px;margin:0 0 22px}#plan-editor textarea{line-height:1.8;width:100%;resize:vertical}.plan-skill-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px}.plan-skill-picker fieldset{min-width:0;border:1px solid var(--accent);border-radius:10px}.plan-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px}.plan-actions [role=status]{color:var(--muted);font-size:15px;margin-right:auto}.theme-detail .workspace-toolbar{margin-top:24px}.theme-detail{margin-top:16px}.plan-start select{min-width:0}.plan-block{min-width:0;overflow-wrap:anywhere}@media(max-width:1100px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-studio{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:700px){.theme-grid,.plan-detail-grid,.plan-studio,.plan-skill-picker{grid-template-columns:1fr}.plan-heading,.plan-summary,.plan-start{flex-direction:column}.plan-start label{width:100%}.theme-detail,#plan-editor{padding:18px}.plan-saved{max-height:260px;overflow:auto}.plan-summary .pill{white-space:normal}.theme-card{padding:22px}.plan-actions>*{max-width:100%}}
/* Compare teaching depth without implying personal mastery. */
.plan-depth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);gap:24px;margin:24px 0}.plan-depth-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plan-depth-skills button{display:grid;gap:12px;text-align:left;min-height:104px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;padding:18px;color:var(--accent)}.plan-depth-skills button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);box-shadow:inset 0 0 0 1px #2868ed}.plan-depth-skills small{color:var(--muted)}.plan-depth-panel{border:1px solid var(--accent);border-radius:14px;padding:24px;background:var(--surface);min-width:0}.plan-depth-panel>h2{margin:0 0 12px;font-size:23px}.plan-depth-panel>p{line-height:1.8;color:var(--muted)}.skill-depth-levels{display:grid;gap:10px;margin:14px 0}.skill-depth-levels article{padding:14px 16px;background:var(--surface);border:1px solid var(--accent);border-radius:10px;line-height:1.8}.skill-depth-levels article[aria-current=step]{background:var(--surface);border-color:var(--accent);color:var(--accent)}.skill-depth-levels p{margin:6px 0 0;font-size:15px}.depth-current{display:inline-block;margin-left:10px;font-size:12px;color:var(--accent)}.skill-progression>small{display:block;line-height:1.7}.skill-focus-read{margin-top:20px;padding-top:12px;border-top:1px solid var(--accent)}.skill-focus-read p{white-space:pre-wrap;line-height:1.8;font-size:15px;color:var(--muted)}.skill-focus-read h4{margin:18px 0 8px}.plan-focus-editor{margin:14px 0;border:1px solid var(--accent);border-radius:10px;padding:16px}.plan-focus-editor summary{cursor:pointer;color:var(--accent);font-weight:600}.plan-focus-editor label{display:grid;gap:8px;margin-top:16px}.plan-focus-editor .skill-depth-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-focus-editor .skill-depth-levels article{padding:12px}.plan-focus-editor .depth-current{display:block;margin:4px 0}.plan-depth-skills button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:1150px){.plan-depth-layout{grid-template-columns:1fr}.plan-focus-editor .skill-depth-levels{grid-template-columns:1fr}}@media(max-width:700px){.plan-depth-skills button{padding:14px;font-size:15px}.plan-depth-panel{padding:18px}.plan-depth-layout{gap:16px}}
.plan-course-task{padding:20px;margin-top:20px;background:var(--surface);border:1px solid var(--accent);border-radius:12px}.plan-course-task h3{margin-top:0}.plan-course-task p{white-space:pre-wrap;line-height:1.9;font-size:15px;color:var(--muted)}
/* Skill atlas: a single expanded branch and a persistent contextual reader. */
.sa-library{color:var(--text);min-width:0}.sa-toolbar{display:flex;gap:20px;align-items:center;margin:4px 0 24px}.sa-search{flex:1;max-width:470px;margin:0}.sa-search input{width:100%;margin:0;background:var(--surface)}.sa-toolbar nav,.sa-view{display:flex;gap:8px}.sa-toolbar nav button,.sa-view button{border:1px solid var(--sa-line);border-radius:8px;background:var(--surface);color:var(--muted);padding:11px 18px;white-space:nowrap}.sa-toolbar [aria-pressed=true],.sa-view [aria-pressed=true]{background:var(--sa-blue);color:var(--text);border-color:var(--sa-blue)}.sa-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:20px;align-items:start}.sa-map,.sa-detail{background:var(--surface);border:1px solid var(--sa-line);border-radius:12px;padding:24px;min-width:0}.sa-map-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:24px}.sa-map-heading h2{font-size:23px;margin:0 0 6px;color:var(--text)}.sa-map-heading p{margin:0;color:var(--sa-muted);font-size:15px}.sa-view{gap:2px;background:var(--surface);border-radius:8px;padding:3px}.sa-view button{padding:7px 12px;border:0;background:transparent;font-size:15px}.sa-view [aria-pressed=true]{background:var(--sa-blue)}.sa-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sa-groups button{display:grid;grid-template-columns:22px 1fr;align-content:center;align-items:center;gap:10px 6px;border:1px solid var(--sa-line);border-radius:8px;background:var(--surface);text-align:left;padding:16px 10px;color:var(--text);min-width:0}.sa-groups svg{width:21px;height:21px}.sa-groups strong{font-size:15px}.sa-groups small{grid-column:1/-1;color:var(--sa-muted);font-size:12px;line-height:1.6}.sa-groups [aria-pressed=true]{color:var(--sa-blue);background:var(--surface);border-color:var(--accent)}.sa-branches{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;padding:36px 0 24px 20px;position:relative}.sa-domains,.sa-nodes{display:flex;flex-direction:column;gap:14px;position:relative;align-self:start}.sa-domains:before,.sa-nodes:before{content:'';position:absolute;left:-17px;top:36px;bottom:36px;border-left:1px solid var(--accent)}.sa-nodes:before{border-color:var(--accent)}.sa-domains button{display:flex;align-items:center;gap:12px;text-align:left;padding:16px 12px;border:1px solid var(--sa-line);border-radius:8px;background:var(--surface);color:var(--text);position:relative;min-height:75px}.sa-domains button:before,.sa-node:before{content:'';position:absolute;left:-18px;top:50%;width:17px;border-top:1px solid var(--accent)}.sa-domains svg{width:24px;height:24px;flex-shrink:0}.sa-domains strong{display:block;font-size:15px;line-height:1.5}.sa-domains small{display:block;font-size:12px;line-height:1.6;color:var(--sa-muted);margin-top:4px}.sa-domains [aria-pressed=true]{color:var(--sa-blue);border-color:var(--sa-blue);background:var(--surface);box-shadow:inset 0 0 0 1px var(--sa-blue)}.sa-node{display:flex;align-items:center;min-height:75px;position:relative;text-align:left;border:1px solid var(--sa-line);border-radius:8px;background:var(--surface);color:var(--text);padding:16px 20px;gap:10px;min-width:0}.sa-node:before{border-color:var(--accent)}.sa-node strong{font-size:15px;display:block;line-height:1.5}.sa-node small{display:block;color:var(--sa-muted);margin:5px 0;font-size:12px}.sa-node.selected{border-color:var(--sa-blue);background:var(--surface);box-shadow:inset 0 0 0 1px var(--sa-blue)}.sa-state{display:inline-flex;gap:6px;align-items:center;font-size:15px;color:var(--muted);margin-top:6px;white-space:nowrap}.sa-state.learning{color:var(--sa-blue)}.sa-state.evidence{color:var(--accent)}.sa-legend{border-top:1px solid var(--accent);margin-top:12px;padding-top:20px;color:var(--sa-muted);font-size:12px;line-height:1.8}.sa-legend>div{display:flex;flex-wrap:wrap;gap:14px}.sa-legend p{margin:12px 0 4px}.sa-legend small{font-size:12px}.sa-detail{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-margin-top:20px}.sa-breadcrumb{font-size:12px;color:var(--sa-muted)}.sa-detail-title{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 10px}.sa-detail-title h2{font-size:28px;margin:0;color:var(--text)}.sa-detail-title .sa-state{background:var(--surface);padding:4px 8px;border-radius:4px;margin:0}.sa-detail p{line-height:1.85;color:var(--muted);font-size:15px;overflow-wrap:anywhere}.sa-definition{margin:0 0 22px}.sa-detail h3{font-size:15px;color:var(--text);margin:22px 0 10px}.sa-detail h3 small{font-size:12px;color:var(--sa-muted);font-weight:400}.sa-case{border:0;background:transparent;color:var(--muted);padding:0;display:block;text-align:left;width:100%}.sa-case img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:var(--surface);display:block}.sa-case>span{display:block;font-size:15px;line-height:1.7;padding:10px 0 0}.sa-detail .sa-case-note{border-left:2px solid var(--accent);background:var(--surface);padding:10px 12px;font-size:15px}.sa-detail .sa-message{font-size:15px;color:var(--sa-muted)}.sa-no-course{padding:20px;background:var(--surface);border:1px dashed var(--sa-line);border-radius:8px}.sa-no-course svg{width:28px;height:28px;color:var(--muted)}.sa-no-course h3{margin:12px 0}.sa-related>button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;color:var(--text);background:var(--surface);border:1px solid var(--sa-line);border-radius:7px;padding:13px;margin:8px 0;font-size:15px;line-height:1.65}.sa-related button small{font-size:12px;margin-right:8px;padding:3px 5px;border:1px solid var(--sa-line);border-radius:3px}.sa-actions{margin:16px 0}.sa-actions>button{width:100%;background:var(--sa-blue)}.sa-practice,.sa-depth{border-top:1px solid var(--sa-line);padding:15px 0;font-size:15px}.sa-practice summary,.sa-depth summary{cursor:pointer;color:var(--muted)}.sa-work-evidence article{border:1px solid var(--accent);background:var(--surface);padding:12px;border-radius:8px;margin:8px 0}.sa-work-evidence small{display:block;margin-top:6px;color:var(--sa-muted);font-size:12px}.sa-result-head{display:flex;justify-content:space-between;align-items:center;font-size:15px;color:var(--sa-muted);margin-bottom:16px}.sa-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:650px;overflow-y:auto;padding:2px;scrollbar-width:thin}.sa-results .sa-node{display:block;padding:16px}.sa-results .sa-node:before{display:none}.sa-results .sa-node p{font-size:15px;color:var(--sa-muted);line-height:1.8;margin:10px 0 0}.sa-empty{grid-column:1/-1;padding:35px 20px;color:var(--sa-muted);line-height:1.8}.sa-empty h3{color:var(--accent)}.sa-library button:focus-visible,.sa-library summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.sa-library button:hover{border-color:var(--accent)}.sa-detail .skill-depth-levels{grid-template-columns:1fr}
@media(max-width:1250px){.sa-layout{grid-template-columns:minmax(0,1fr) minmax(310px,.85fr)}.sa-map,.sa-detail{padding:18px}.sa-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-branches{gap:26px;padding-left:15px}.sa-node{padding:14px 10px}.sa-domains button{gap:7px;padding:12px 8px}.sa-domains svg{display:none}.sa-results{grid-template-columns:1fr}.sa-toolbar{gap:12px}.sa-toolbar nav button{padding:10px 12px}}
@media(max-width:900px){.sa-layout{grid-template-columns:1fr}.sa-detail{position:static;max-height:none;overflow:visible}.sa-results{max-height:440px}.sa-map{padding:20px}.sa-groups{grid-template-columns:repeat(4,minmax(0,1fr))}.sa-branches{gap:40px}.sa-domains svg{display:block}.sa-toolbar{flex-wrap:wrap}.sa-search{max-width:none;flex-basis:100%}.sa-detail-title h2{font-size:25px}}
@media(max-width:520px){.sa-map,.sa-detail{padding:16px}.sa-map-heading h2{font-size:19px}.sa-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-branches{padding-left:9px;gap:24px}.sa-domains strong,.sa-node strong{font-size:15px}.sa-domains svg{display:none}.sa-domains small{font-size:12px}.sa-node{padding:10px 8px}.sa-state{font-size:12px;white-space:normal}.sa-domains:before,.sa-nodes:before{left:-10px}.sa-domains button:before,.sa-node:before{left:-11px;width:10px}.sa-legend>div{gap:8px}.sa-toolbar nav{width:100%}.sa-toolbar nav button{flex:1;font-size:15px;padding:10px 8px}.sa-view button{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.sa-library *{scroll-behavior:auto!important}}
.sa-domains [aria-pressed=true]:after{content:'';position:absolute;right:-28px;top:50%;width:27px;border-top:1px solid var(--accent)}
@media(max-width:1250px){.sa-domains [aria-pressed=true]:after{right:-10px;width:9px}}
@media(max-width:900px){.sa-domains [aria-pressed=true]:after{right:-24px;width:23px}}
@media(max-width:520px){.sa-domains [aria-pressed=true]:after{right:-15px;width:14px}}
/* Comic-based shared skill explanations. Course and project levels stay in their own views. */
.sl-home,.sl-detail,.sl-editor{max-width:1500px;margin:auto;color:var(--text)}.sl-home h2,.sl-detail>header h2,.sl-editor h2{font-size:30px;line-height:1.4;margin:10px 0}.sl-home>header p,.sl-detail>header p{color:var(--muted);line-height:1.8}.sl-toolbar{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:24px 0}.sl-toolbar>label{flex:1;min-width:220px}.sl-toolbar input{width:100%;box-sizing:border-box}.sl-toolbar nav{display:flex;gap:8px;flex-wrap:wrap}.sl-toolbar nav button{background:var(--surface);border:1px solid transparent;color:var(--text);padding:10px 16px;border-radius:8px}.sl-toolbar nav button[aria-pressed=true]{background:var(--selected);color:var(--text)}.sl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sl-card{display:block;padding:0;text-align:left;border:1px solid var(--accent);border-radius:14px;background:var(--surface);color:inherit;overflow:hidden;transition:transform .15s,border-color .15s}.sl-card:hover{transform:translateY(-2px);border-color:var(--accent)}.sl-card>div:not(.sl-art-pending):not(.sl-frame-media){padding:18px}.sl-card h3{font-size:18px;line-height:1.6;margin:0 0 8px}.sl-card p{margin:0 0 18px;color:var(--muted);font-size:15px}.sl-card footer{display:flex;gap:8px;justify-content:space-between;font-size:15px;color:var(--muted)}.sl-card footer strong{color:var(--accent)}.sl-card-image{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--surface)}.sl-art-pending{display:flex;min-height:170px;flex-direction:column;align-items:center;justify-content:center;background:var(--surface);color:var(--muted);padding:20px;box-sizing:border-box}.sl-art-pending>span{font-size:20px;color:var(--muted)}.sl-art-pending>p{margin:12px 0 0;font-size:15px}.sl-footnote{color:var(--muted);font-size:15px;line-height:1.8;margin:24px 0}.sl-back{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.sl-story,.sl-cases,.sl-detail>section,.sl-editor{background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:24px;margin:24px 0}.sl-comic-image{display:block;width:100%;max-height:660px;object-fit:contain;background:var(--surface);border-radius:10px}.sl-panels{display:grid;grid-template-columns:repeat(var(--sl-panels,3),minmax(0,1fr));gap:20px;margin:20px 0}.sl-panels article{padding:16px;background:var(--surface);border-radius:10px}.sl-panels article>span{color:var(--accent);font-size:15px}.sl-panels h4{margin:8px 0}.sl-panels p,.sl-takeaway p,.sl-cases p{line-height:1.8;font-size:15px;white-space:pre-line}.sl-takeaway{background:var(--surface);padding:20px;border-radius:12px;margin-top:20px}.sl-cases>header,.sl-case-playback>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sl-cases>header span{font-size:15px;color:var(--muted)}.sl-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sl-case-grid>article{border:1px solid var(--accent);padding:12px;border-radius:12px}.sl-case-cover{position:relative;display:block;padding:0;border:0;background:var(--selected);width:100%;border-radius:8px;overflow:hidden}.sl-case-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.sl-case-cover>span{position:absolute;bottom:8px;left:8px;background:#172235cc;color:var(--text);font-size:15px;padding:5px 8px;border-radius:4px}.sl-case-grid h4{margin:8px 0}.sl-case-grid small{display:block;color:var(--muted);margin-top:12px}.sl-case-playback{margin-top:22px;background:var(--surface);padding:20px;border-radius:12px}.sl-case-playback video{display:block;width:100%;max-height:540px;background:var(--surface);margin:12px auto}.sl-case-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sl-case-frames button{padding:0;border:1px solid var(--accent);background:var(--surface);color:var(--text)}.sl-case-frames img{width:100%;aspect-ratio:16/9;object-fit:cover}.sl-case-frames span{display:block;padding:8px}.sl-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.sl-editor>header p{font-size:15px;color:var(--muted)}.sl-editor fieldset{border:0;margin:0;padding:0;min-width:0}.sl-edit-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}.sl-editor label{display:grid;gap:8px;font-size:15px;color:var(--text);margin:14px 0}.sl-editor textarea,.sl-editor input[type=number]{width:100%;box-sizing:border-box;background:var(--surface);color:var(--text)}.sl-panel-editor{border:1px solid var(--accent);border-radius:12px;padding:16px;margin:14px 0}.sl-panel-editor header{display:flex;justify-content:space-between}.sl-edit-grid aside>p,.sl-edit-grid aside>small{font-size:15px;color:var(--muted);line-height:1.8;display:block}.sl-edit-grid aside>button{margin:12px 0}.sl-case-picker{max-height:250px;overflow:auto}.sl-case-picker label{display:flex;align-items:center;gap:8px}.sl-case-picker input,.sl-edit-actions input{width:auto}.sl-case-editor{padding:14px;border:1px solid var(--accent);border-radius:10px;margin:12px 0}.sl-case-editor>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sl-edit-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--accent);padding-top:18px;margin-top:24px}.sl-edit-actions label{display:flex;align-items:center;max-width:430px;line-height:1.7}.sl-edit-actions span{font-size:15px;color:var(--muted)}.sl-editor [role=alert],.sl-detail [role=alert]{background:var(--surface);padding:14px;color:#a34035}.sl-home button:focus-visible,.sl-detail button:focus-visible,.sl-editor button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){.sl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sl-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sl-edit-grid{grid-template-columns:1fr}.sl-panels{gap:10px}.sl-home h2,.sl-detail>header h2{font-size:26px}}
@media(max-width:650px){.sl-grid,.sl-case-grid,.sl-panels{grid-template-columns:1fr}.sl-story,.sl-cases,.sl-detail>section,.sl-editor{padding:16px}.sl-cases>header{display:block}.sl-home h2,.sl-detail>header h2,.sl-editor h2{font-size:23px}.sl-toolbar nav{gap:4px}.sl-toolbar nav button{padding:8px 10px}.sl-case-frames{gap:6px}.sl-case-playback{padding:10px}.sl-editor>header{display:block}.sl-back{flex-wrap:wrap}}

.sl-comic-scroll{max-width:100%;overflow-x:auto;border-radius:10px}.sl-swipe-hint{display:none}@media(max-width:650px){.sl-comic-scroll .sl-comic-image{min-width:calc(var(--sl-frame-count,3)*250px);max-height:none}.sl-swipe-hint{display:block;font-size:15px;color:var(--muted);margin:10px 0}}

/* Compare authored choices using identical source frames across both versions. */
.sl-comparison{min-width:0}.sl-demo-eyebrow{color:var(--accent);font-size:15px;font-weight:700}.sl-comparison header h3{font-size:23px;line-height:1.6;margin:10px 0}.sl-comparison header p{font-size:15px;color:var(--muted)}.sl-demo-controls{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.sl-demo-controls button[aria-pressed=true]{background:var(--selected);border-color:var(--accent);color:var(--text)}.sl-demo-versions{display:grid;gap:20px;min-width:0}.sl-demo-versions.is-both{grid-template-columns:1fr}.sl-demo-version{min-width:0;background:var(--surface);padding:16px;border-radius:12px;border:1px solid var(--accent)}.sl-demo-version>h4{margin:0 0 14px}.sl-demo-scroll{overflow-x:auto;max-width:100%}.sl-demo-strip{display:grid;grid-template-columns:repeat(var(--demo-count),minmax(0,1fr));gap:12px;align-items:start}.sl-demo-frame{min-width:0;margin:0;background:var(--surface);border:1px solid var(--accent);border-radius:9px;overflow:hidden}.sl-demo-crop{overflow:hidden;width:100%;background:var(--surface)}.sl-demo-crop img{display:block;max-width:none;height:auto;transform-origin:left top}.sl-demo-annotation{font-size:15px!important;font-weight:600;line-height:1.7!important;background:var(--surface);color:var(--text);padding:10px 12px;margin:0;min-height:46px;box-sizing:border-box}.sl-demo-caption{padding:12px}.sl-demo-caption h5{font-size:15px;margin:0;display:flex;gap:8px;align-items:center;line-height:1.5}.sl-demo-caption h5 span{font-size:12px;border-radius:50%;background:var(--surface);color:var(--accent);min-width:22px;height:22px;display:grid;place-items:center}.sl-demo-caption p{font-size:15px;line-height:1.8;margin-bottom:0}.sl-demo-prompt,.sl-demo-insight{padding:18px 20px;margin-top:18px;border-radius:12px;background:var(--surface)}.sl-demo-prompt p,.sl-demo-insight p{font-size:15px;line-height:1.8}.sl-demo-insight strong{color:var(--accent)}.sl-comparison-editor{background:var(--surface);border-radius:12px;padding:18px;margin:24px 0}.sl-comparison-editor>p,.sl-sequence-editor>p,.sl-draft-tools p{color:var(--muted);font-size:15px;line-height:1.8}.sl-sequence-editor{border-top:1px solid var(--accent);margin-top:18px}.sl-demo-picks{display:flex;flex-wrap:wrap;gap:8px 18px}.sl-editor .sl-demo-check{display:flex;align-items:center;margin:8px 0;gap:8px}.sl-demo-check input{width:auto}.sl-sequence-editor li{font-size:15px;line-height:2}.sl-sequence-editor li button{margin-left:12px}.sl-editor aside .sl-demo-strip{min-width:calc(var(--demo-count)*170px)}.sl-editor aside .sl-demo-versions.is-both{grid-template-columns:1fr}.sl-editor aside .sl-comparison{margin-bottom:22px}.sl-editor aside details summary{cursor:pointer;padding:12px 0}.sl-draft-tools{margin:20px 0}.sl-comparison>small{display:block;color:var(--muted);font-size:15px;line-height:1.7;margin-top:14px}.sl-demo-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:950px){.sl-demo-versions.is-both{grid-template-columns:1fr}}
@media(max-width:650px){.sl-demo-strip{min-width:calc(var(--demo-count)*230px)}.sl-demo-version{padding:12px}.sl-comparison header h3{font-size:19px}.sl-demo-controls button{font-size:15px;padding:9px 10px}.sl-demo-insight,.sl-demo-prompt{padding:14px}.sl-comparison-editor{padding:14px}}

/* Finite classes work under the production CSP, which rejects inline styles. */
.sl-demo-crop img{transform:translateX(calc(-100% * var(--sl-source-index,0) / var(--sl-source-count,3)))}
.sl-demo-count-1{--demo-count:1}.sl-source-count-1{--sl-source-count:1;width:100%}.sl-source-index-0{--sl-source-index:0}
.sl-demo-count-2{--demo-count:2}.sl-source-count-2{--sl-source-count:2;width:200%}.sl-source-index-1{--sl-source-index:1}
.sl-demo-count-3{--demo-count:3}.sl-source-count-3{--sl-source-count:3;width:300%}.sl-source-index-2{--sl-source-index:2}
.sl-demo-count-4{--demo-count:4}.sl-source-count-4{--sl-source-count:4;width:400%}.sl-source-index-3{--sl-source-index:3}
.sl-demo-count-5{--demo-count:5}.sl-source-count-5{--sl-source-count:5;width:500%}.sl-source-index-4{--sl-source-index:4}
.sl-demo-count-6{--demo-count:6}.sl-source-count-6{--sl-source-count:6;width:600%}.sl-source-index-5{--sl-source-index:5}

/* Landscape teaching frames; legacy artwork is contained, never stretched. */
.sl-frame-media{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;background:var(--surface)}
.sl-frame-view{display:block;width:100%;height:100%;overflow:hidden}
.sl-frame-source[hidden]{display:none}
.sl-card .sl-frame-media{border-bottom:1px solid var(--accent)}
.sl-source-overview{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}
.sl-demo-version{padding:0 0 24px;border:0;border-bottom:1px solid var(--accent);border-radius:0;background:transparent}
.sl-demo-row-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
.sl-demo-row-heading h4{font-size:15px;margin:0}
.sl-demo-row-heading>span{font-size:15px;color:var(--muted);white-space:nowrap}
.sl-demo-strip{align-items:stretch;gap:16px}
.sl-demo-count-1{max-width:720px}
.sl-demo-frame{background:var(--surface);border-color:var(--accent);border-radius:8px}
.sl-demo-caption{padding:13px 14px 15px}
.sl-demo-caption .sl-demo-annotation{background:none;color:var(--muted);padding:0;margin:8px 0 0;min-height:0;font-weight:400;font-size:15px!important}
.sl-demo-insight{background:var(--surface);border-left:3px solid var(--accent);border-radius:0 8px 8px 0;margin-top:6px}
.sl-demo-insight>p{margin:8px 0 0}
.sl-demo-analysis{margin-top:16px;border-top:1px solid var(--accent);padding-top:14px}
.sl-demo-analysis summary{cursor:pointer;font-size:15px;color:var(--muted)}
.sl-demo-analysis ol{padding-left:22px}
.sl-demo-analysis li{padding:10px 0 0;font-size:15px}
.sl-demo-analysis p{margin:6px 0 12px}
.sl-story>[data-sl-explain]{margin-top:20px}
.sl-editor aside .sl-demo-strip{min-width:calc(var(--demo-count)*250px)}
@media(max-width:650px){.sl-demo-strip{min-width:calc(var(--demo-count)*260px)}.sl-demo-version{padding:0 0 18px}.sl-demo-row-heading{align-items:start;gap:8px}.sl-demo-count-1{min-width:0}}

.sl-demo-versions.is-single-frame{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:950px){.sl-demo-versions.is-single-frame{grid-template-columns:1fr}}
@media(max-width:650px){
 .sl-demo-strip.sl-demo-length-2{min-width:520px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sl-demo-strip.sl-demo-length-1{min-width:0;grid-template-columns:1fr;width:100%}
}
/* Skill-specific author guidance stays separate from the learner's explanation. */
.sl-generation-guide{margin:20px 0;padding:18px 20px;border:1px solid var(--accent);border-radius:12px;background:var(--surface)}
.sl-generation-guide h3{font-size:17px;line-height:1.65;margin:8px 0}
.sl-generation-guide p,.sl-direction-editor>p,.sl-generation-review>p{font-size:15px;color:var(--muted);line-height:1.8}
.sl-generation-guide summary,.sl-direction-editor summary,.sl-shot-direction summary{cursor:pointer;font-size:15px;color:var(--muted);padding:8px 0}
.sl-generation-guide dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;font-size:15px;line-height:1.8}
.sl-generation-guide dt{font-weight:600}.sl-generation-guide dd{margin:0;color:var(--muted)}
.sl-direction-editor,.sl-shot-direction{border-top:1px solid var(--accent);padding-top:8px;margin:14px 0}
.sl-generation-review{padding:18px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;margin:24px 0}
.sl-editor .sl-generation-review>label{display:flex;align-items:flex-start;gap:10px;line-height:1.75;font-size:15px;margin:15px 0}
.sl-generation-review input[type=checkbox]{width:auto;flex:0 0 auto;margin-top:4px}
.sl-generation-review small{font-size:15px;color:var(--muted)}
.sl-verification-note{font-size:15px;color:var(--muted);line-height:1.8;padding:12px 16px;border-left:3px solid var(--accent);background:var(--surface)}

/* Persistent generation tasks and one review flow. */
.sl-task-list:empty{display:none}.sl-jobs{margin:0 0 20px;padding:18px 22px;border:1px solid var(--accent);border-radius:16px;background:var(--surface)}.sl-jobs summary{font-weight:700;cursor:pointer}.sl-jobs>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.sl-jobs article{padding:12px 16px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}.sl-jobs article>div{display:flex;justify-content:space-between;gap:10px}.sl-jobs article span{color:var(--accent)}.sl-jobs article p{font-size:15px}.sl-generation-status{padding:18px 22px;margin:16px 0;border-radius:14px;background:var(--surface);border:1px solid var(--accent)}.sl-generation-status progress{display:block;width:min(100%,380px);height:8px;margin:14px 0;accent-color:var(--accent)}.sl-generation-status p{margin:8px 0;color:var(--muted)}.sl-success-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.sl-generation-review ul{padding-left:20px;line-height:1.8}.sl-editor>header{flex-wrap:wrap}.sl-editor>header>div{flex:1;min-width:240px}

/* Reviewed theory, concrete evidence and a transfer question stay readable. */
.sl-concept{padding:18px 20px;background:var(--surface);border-left:3px solid var(--accent);border-radius:10px;margin:16px 0}.sl-concept p{line-height:1.85;margin:8px 0 0}.sl-teaching{margin:24px 0;padding:22px;border:1px solid var(--accent);border-radius:14px;background:var(--surface)}.sl-teaching h3{margin-top:0}.sl-teaching p{line-height:1.85;color:var(--text)}.sl-teaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sl-teaching h4{margin:12px 0 8px}.sl-transfer{border-top:1px solid var(--accent);padding-top:12px;margin-top:12px}.sl-transfer summary{cursor:pointer;color:var(--accent)}.sl-teaching-editor{padding:18px;background:var(--surface);border-radius:12px;margin:20px 0}.sl-teaching-editor summary{font-weight:700;cursor:pointer}.sl-editor aside .sl-teaching-grid{grid-template-columns:1fr}@media(max-width:700px){.sl-teaching-grid{grid-template-columns:1fr}.sl-teaching{padding:16px}}

/* Teaching review is an editorial aid, independent of publication approval. */
.sl-ai-review{border:1px solid var(--accent);border-radius:14px;padding:24px;margin:20px 0;background:var(--surface);color:var(--text)}.sl-ai-review>header{display:flex;align-items:start;justify-content:space-between;gap:16px}.sl-ai-review h3{margin:0}.sl-ai-review p{line-height:1.7}.sl-ai-scope{color:var(--muted);font-size:15px}.sl-ai-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 10px}.sl-ai-review small{display:block;color:var(--muted);line-height:1.6;margin-top:8px}.sl-ai-score{display:flex;gap:18px;align-items:center;margin:16px 0}.sl-ai-score>strong{font-size:32px;color:var(--accent)}.sl-ai-score small{display:inline;font-size:15px}.sl-ai-dimensions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sl-ai-dimensions details{border:1px solid var(--accent);border-radius:8px;background:var(--surface);padding:12px;overflow-wrap:anywhere}.sl-ai-dimensions summary b{display:block;color:var(--accent);margin-top:8px}.sl-ai-dimensions ul,.sl-ai-issues ul{padding-left:20px}.sl-ai-issues{padding-left:20px}.sl-ai-issues>li{padding:10px 0}.sl-ai-history{margin-top:20px;border-top:1px solid var(--accent);padding-top:16px}.sl-ai-job{padding:16px 0;border-bottom:1px solid var(--accent)}.sl-ai-job article{padding:12px 0}.sl-ai-diff{margin:16px 0}.sl-ai-diff section{border-top:1px solid var(--accent);padding:12px 0}.sl-ai-diff h5{font-size:15px;margin:0}.sl-ai-diff section>div{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sl-ai-diff p{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--surface);border:1px solid var(--accent);border-radius:8px;margin:10px 0}.sl-ai-diff b{display:block;color:var(--muted);margin-bottom:6px}.sl-ai-review progress{display:block;width:min(100%,360px);margin:12px 0}.sl-ai-current{border-top:1px solid var(--accent);margin-top:18px;padding-top:10px}@media(max-width:900px){.sl-ai-dimensions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sl-ai-review{padding:16px}.sl-ai-review>header{display:block}.sl-ai-dimensions,.sl-ai-diff section>div{grid-template-columns:1fr}.sl-ai-actions>button{width:100%}}

.sl-ai-brief{display:block;margin:16px 0;color:var(--text)}.sl-ai-brief textarea{display:block;width:100%;min-height:78px;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid var(--accent);border-radius:10px;font:inherit;resize:vertical}.sl-ai-paths{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.sl-ai-paths>section,.sl-ai-plans>article{padding:20px;border:1px solid var(--accent);border-radius:12px;background:var(--surface)}.sl-ai-paths h4,.sl-ai-plans h4{margin:0 0 10px}.sl-ai-paths p{color:var(--muted)}.sl-ai-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.sl-ai-plans>article{display:flex;flex-direction:column;overflow-wrap:anywhere}.sl-ai-plans article>span{font-size:15px;color:var(--accent);margin-bottom:10px}.sl-ai-plans dl{margin:0 0 18px;line-height:1.7}.sl-ai-plans dt{font-weight:650;margin-top:12px}.sl-ai-plans dd{margin:4px 0;color:var(--muted)}.sl-ai-plans button{margin-top:auto}.sl-ai-advice{padding:14px 18px;background:var(--surface);border-radius:10px}.sl-ai-advice p{margin:6px 0 0}@media(max-width:900px){.sl-ai-plans{grid-template-columns:1fr}}@media(max-width:600px){.sl-ai-paths{grid-template-columns:1fr}}

/* Authoring workspace: one activity at a time, with all content retained. */
.sl-editor{max-width:1180px;padding:28px 32px;margin:24px auto}
.sl-editor>header{align-items:center}
.sl-editor>header>div>span{font-size:15px;color:var(--muted)}
.sl-editor h2{font-size:26px;margin:6px 0}
.sl-editor-help{font-size:15px;color:var(--muted);margin-top:6px}
.sl-editor-help summary{cursor:pointer}
.sl-work-nav{display:flex;gap:8px;padding:6px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;margin:24px 0}
.sl-work-nav button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;background:transparent;border:1px solid transparent;border-radius:8px;padding:12px 10px;color:var(--muted);font-size:15px;font-weight:600}
.sl-work-nav button span{font-size:12px;color:var(--muted)}
.sl-work-nav button[aria-pressed=true]{background:var(--surface);color:var(--accent);border-color:var(--accent);box-shadow:0 2px 6px #24314d08}
.sl-work-nav button[aria-pressed=true] span{color:var(--accent)}
.sl-editor [data-sl-work-pane][hidden]{display:none!important}
.sl-editor .sl-edit-grid{display:block}
.sl-work-intro{margin:12px 0 24px}.sl-work-intro h3{font-size:19px;margin:0 0 6px}.sl-work-intro p{font-size:15px;color:var(--muted);margin:0;line-height:1.7}
.sl-editor-basics{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sl-editor-basics textarea{min-height:76px}
.sl-editor .sl-generation-guide{padding:16px 20px;margin:12px 0;background:var(--surface);border-color:var(--accent)}
.sl-editor .sl-generation-guide h3{font-size:16px;margin:8px 0}
.sl-editor .sl-generation-guide p{font-size:15px;margin:6px 0}
.sl-editor .sl-direction-editor,.sl-editor .sl-work-section,.sl-editor .sl-teaching-editor{border:1px solid var(--accent);background:var(--surface);border-radius:10px;padding:16px 18px;margin:14px 0}
.sl-editor details>summary{cursor:pointer;line-height:1.6}
.sl-editor .sl-draft-tools{font-size:15px;margin:16px 0;color:var(--muted)}
.sl-draft-tools>button{margin-top:12px}
.sl-shot-heading{display:flex;align-items:baseline;justify-content:space-between;margin:26px 0 12px;font-size:18px}
.sl-shot-heading small{font-size:15px;font-weight:400;color:var(--muted)}
.sl-editor .sl-panel-editor{padding:0;margin:10px 0;background:var(--surface);overflow:hidden}
.sl-panel-editor>summary{display:flex;align-items:center;gap:14px;padding:16px 18px;list-style:none}
.sl-panel-editor>summary::-webkit-details-marker{display:none}
.sl-shot-number{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:8px;background:var(--surface);color:var(--accent);font-size:15px;font-weight:650}
.sl-panel-editor>summary strong{flex:1;min-width:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.sl-panel-editor>summary small{font-size:12px;color:var(--muted);white-space:nowrap}
.sl-panel-editor>summary:after{content:'＋';color:var(--muted)}
.sl-panel-editor[open]>summary{background:var(--surface);border-bottom:1px solid var(--accent)}
.sl-panel-editor[open]>summary:after{content:'−'}
.sl-panel-editor[open]>summary small{visibility:hidden}
.sl-shot-fields{padding:8px 22px 18px}
.sl-shot-fields>header{font-size:15px;color:var(--muted);align-items:center}
.sl-shot-fields textarea{min-height:76px;line-height:1.7}
.sl-shot-fields .sl-shot-extra{padding:12px 0;border-top:1px solid var(--accent);font-size:15px;color:var(--muted)}
.sl-editor .sl-edit-actions{position:sticky;bottom:0;z-index:4;margin:26px -12px -12px;padding:16px 12px;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--accent);box-shadow:0 -8px 20px #25345905}
.sl-edit-actions [role=status]{margin-left:auto}
.sl-editor .sl-preview-work{max-width:1040px;margin:auto}
.sl-preview-work>small{display:block;color:var(--muted);font-size:15px;line-height:1.8}
.sl-publish-work{max-width:860px;margin:auto}
.sl-publish-work>p{font-size:15px;color:var(--muted)}
.sl-editor .sl-ai-review{padding:0;margin:8px 0;border:0;background:var(--surface)}
.sl-ai-review>header p{font-size:15px;color:var(--muted);margin:6px 0}
.sl-ai-review .sl-ai-scope{font-size:15px;color:var(--muted)}
.sl-ai-paths{gap:12px;margin:14px 0}
.sl-ai-paths>section{padding:16px 18px;background:var(--surface)}
.sl-ai-paths h4{font-size:15px;margin-bottom:6px}
.sl-ai-paths p{font-size:15px;margin:6px 0 12px}
.sl-ai-review .sl-ai-score{padding:16px 20px;background:var(--surface);border-radius:12px;flex-wrap:wrap;gap:10px 20px;margin:12px 0 16px}
.sl-ai-score>span{font-size:15px}.sl-ai-score .sl-ai-verdict{margin-left:auto;background:var(--surface);color:var(--accent);border-radius:20px;padding:6px 12px;font-size:15px}
.sl-ai-report-text,.sl-ai-issue-group,.sl-ai-next,.sl-ai-rules{border:1px solid var(--accent);border-radius:10px;padding:12px 16px;margin:12px 0;font-size:15px;background:var(--surface)}
.sl-ai-rules{color:var(--muted);border-style:dashed}
.sl-ai-review summary{font-size:15px;font-weight:550;cursor:pointer}
.sl-ai-review .sl-ai-dimensions{gap:8px;margin:16px 0}
.sl-ai-dimensions details{padding:12px;background:var(--surface)}
.sl-ai-dimensions p,.sl-ai-dimensions li{font-size:15px;line-height:1.8}
.sl-ai-issues>li{font-size:15px;line-height:1.8;border-bottom:1px solid var(--accent);padding:14px 0}
.sl-ai-issues>li:last-child{border-bottom:0}
.sl-ai-issues strong{font-weight:600}
.sl-ai-history>summary{padding:4px 0;color:var(--muted)}
.sl-ai-job>summary{font-size:15px;color:var(--text)}
.sl-ai-plan-detail{margin:10px 0 18px;font-size:15px}
.sl-ai-current h4{font-size:15px;color:var(--muted)}
@media(max-width:700px){.sl-editor{padding:16px}.sl-work-nav{display:grid;grid-template-columns:1fr 1fr;gap:4px}.sl-work-nav button{font-size:15px;padding:10px 6px}.sl-editor-basics{grid-template-columns:1fr;gap:0}.sl-shot-heading{display:block}.sl-shot-heading small{display:block;margin-top:8px}.sl-shot-fields{padding:8px 14px 14px}.sl-panel-editor>summary{padding:12px;gap:10px}.sl-panel-editor>summary small{display:none}.sl-ai-score .sl-ai-verdict{margin-left:0}.sl-editor .sl-edit-actions{margin:20px -8px -8px;gap:8px}.sl-edit-actions [role=status]{width:100%;margin:0}.sl-work-intro{margin-bottom:16px}}
.sl-ai-adjust{margin:16px 0;border:1px solid var(--accent);border-radius:12px;padding:16px 18px}.sl-ai-adjust>summary{color:var(--accent)}.sl-ai-adjust[open]>summary{margin-bottom:14px}.sl-ai-review .sl-ai-current{border:0;margin-top:18px;padding:0}.sl-ai-review .sl-ai-current>h4{margin:8px 0}
.sl-visual-review{margin:0 0 24px}.sl-visual-verdict{display:flex;justify-content:space-between;gap:16px;padding:14px 0;color:var(--accent)}.sl-visual-verdict span{font-size:15px;color:var(--muted)}.sl-visual-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sl-visual-checks details{padding:14px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}.sl-visual-checks summary{cursor:pointer}.sl-visual-checks summary b{display:block;margin-top:6px;font-size:15px;color:var(--accent)}.sl-visual-history{margin-top:16px}.sl-visual-history article{padding:16px 0;border-bottom:1px solid var(--accent)}@media(max-width:700px){.sl-visual-checks{grid-template-columns:1fr}.sl-visual-verdict{flex-direction:column;gap:6px}}

/* Case selection comes before detailed storyboard editing. */
.sl-ai-model{font-size:15px;color:var(--muted);margin:0 0 16px}.sl-case-start{padding:18px 22px;background:var(--surface);border:1px solid var(--accent);border-radius:12px}.sl-case-start .sl-ai-brief{margin:0 0 12px}.sl-case-start>small{display:block;margin-top:12px;color:var(--muted)}.sl-case-options{margin:24px 0}.sl-case-options>header{display:flex;align-items:center;justify-content:space-between;gap:18px}.sl-case-options h4{margin:0 0 8px}.sl-case-options>header p{margin:0;color:var(--muted);line-height:1.7}.sl-case-options>header>button{flex-shrink:0}.sl-ai-plans>article>header{display:flex;align-items:center;justify-content:space-between;font-size:15px;color:var(--muted);margin-bottom:14px;gap:8px}.sl-ai-plans>article.sl-case-recommended{border:2px solid var(--accent);background:var(--surface);padding:19px}.sl-case-badge{background:var(--surface);color:var(--accent);border-radius:20px;padding:4px 10px;font-size:15px}.sl-case-score{display:flex;gap:12px;align-items:center;margin:12px 0}.sl-case-score>strong{font-size:30px;color:var(--accent)}.sl-case-score small{font-size:15px;color:var(--muted)}.sl-case-score>span{font-size:15px;color:var(--muted)}.sl-case-options details{border-top:1px solid var(--accent);padding:14px 0}.sl-case-options summary{cursor:pointer;color:var(--accent)}.sl-case-options details p{font-size:15px;line-height:1.75}.sl-case-options details small{color:var(--muted)}.sl-case-options article>button{margin-top:18px}.sl-case-candidate{padding:22px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);margin:20px 0}.sl-case-candidate details{margin:14px 0}.sl-ai-history{margin-top:24px}.sl-ai-review .sl-ai-history>summary{color:var(--muted)}@media(max-width:700px){.sl-case-options>header{align-items:stretch;flex-direction:column}.sl-case-start,.sl-case-candidate{padding:16px}}

.sl-sheet{margin:18px 0}.sl-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.sl-sheet>header span{font-size:15px;color:var(--muted)}.sl-sheet-image{display:block!important;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:8px}.sl-sheet-notes{padding-left:24px;display:grid;gap:12px;margin:18px 0}.sl-sheet-notes li{padding-left:5px;font-size:15px;line-height:1.8}.sl-sheet-notes h5{font-size:15px;margin:0}.sl-sheet-notes p{margin:5px 0}.sl-sheet-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:600px){.sl-sheet-comparison{grid-template-columns:1fr}.sl-sheet>header{align-items:start;flex-direction:column}}

/* Skill identity leads; lesson themes belong inside the example section. */
.sl-skill-domain{display:block;color:var(--accent);font-size:17px;font-weight:650;line-height:1.5;margin-bottom:8px}.sl-skill-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.sl-detail>.sl-skill-header h2{font-size:40px;line-height:1.25;margin:6px 0 12px}.sl-skill-title-row .secondary{flex:none}.sl-detail>.sl-skill-header>p{margin:0;max-width:1050px;font-size:16px;line-height:1.8;white-space:pre-line}.sl-story>h3{font-size:24px;line-height:1.4;margin:0 0 12px}.sl-story>.sl-lesson-theme{font-size:20px;line-height:1.5;margin:0 0 18px;overflow-wrap:anywhere}.sl-comparison>header>h4{font-size:18px;line-height:1.5;margin:0 0 10px}.sl-card .sl-skill-domain{font-size:15px;margin-bottom:6px}.sl-card h3{font-size:21px}.sl-card p{line-height:1.7}.sl-card>div{min-width:0}
@media(max-width:650px){.sl-skill-title-row{align-items:flex-start;flex-direction:column;gap:8px}.sl-detail>.sl-skill-header h2{font-size:30px;margin:4px 0}.sl-skill-title-row .secondary{max-width:100%;white-space:normal}.sl-detail>.sl-skill-header>p{font-size:15px;margin-top:12px}.sl-skill-domain{font-size:15px}.sl-story>h3{font-size:21px}.sl-story>.sl-lesson-theme{font-size:18px}}

/* Learning pages show the example image; detailed teaching material stays editable. */
.sl-story-simple .sl-sheet{margin:0;border:0;padding:0}.sl-story-simple .sl-sheet>header{margin-bottom:12px}.sl-story-simple .sl-sheet>header h4{font-size:15px;color:var(--muted);font-weight:500}.sl-story-simple .sl-sheet-image{background:var(--surface)}.sl-empty-example{margin:20px 0 0;color:var(--muted);font-size:15px}.sl-story-simple>.sl-lesson-theme{margin-bottom:16px}

/* Selected film frames retain their full composition and individual plot captions. */
.sl-film-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0}.sl-film-frame{overflow:hidden;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}.sl-film-picture{position:relative;background:var(--bg);overflow:hidden}.sl-film-picture img{display:block;width:100%;height:100%;object-fit:contain}.sl-film-number{position:absolute;top:10px;left:10px;min-width:30px;text-align:center;padding:2px 7px;border-radius:5px;background:#17243adb;color:var(--text);font-size:15px;font-weight:650}.sl-film-caption{position:absolute;bottom:0;left:0;right:0;margin:0;padding:20px 14px 9px;background:linear-gradient(transparent,#070b12ed 36%);color:var(--text);font-size:16px;font-weight:600;line-height:1.65;text-shadow:0 1px 3px #000}.sl-film-analysis{padding:15px 18px}.sl-film-analysis h5{margin:0;color:var(--accent);font-size:15px}.sl-film-analysis p{margin:7px 0 0;color:var(--muted)}.sl-film-plans{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sl-film-plans article{padding:18px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}.sl-film-plans h4{margin:0 0 6px}.sl-film-plans p{margin:0}@media(max-width:650px){.sl-film-frames,.sl-film-plans{grid-template-columns:1fr}.sl-film-caption{font-size:15px;padding:16px 11px 7px}}@media print{.sl-film-frame{break-inside:avoid}}

/* A shared reading rhythm for covers, examples, comparisons and assignments. */
.sl-detail,.sl-preview-work{container:skill-lesson / inline-size}
.sl-detail{max-width:1200px}
.sl-detail>.sl-skill-header{margin:24px 0}
.sl-detail>.sl-skill-header h2{font-size:32px;line-height:1.35;margin:4px 0 10px}
.sl-detail>.sl-skill-header>p{max-width:76ch;font-size:15px;line-height:1.8}
.sl-skill-domain{font-size:15px;margin-bottom:6px}
.sl-card{display:flex;flex-direction:column}
.sl-card>.sl-sheet-image{aspect-ratio:16/9;border-radius:0;background:var(--surface)}
.sl-card>div:not(.sl-art-pending):not(.sl-frame-media){display:flex;flex-direction:column;flex:1;padding:18px 20px}
.sl-card h3{font-size:19px;line-height:1.5;margin:0 0 8px}
.sl-card p{font-size:15px;line-height:1.75;margin:0 0 12px}
.sl-card .sl-card-case{padding-top:12px;border-top:1px solid var(--accent);color:var(--muted)}
.sl-card footer{margin-top:auto;padding-top:4px;align-items:center;flex-wrap:wrap;line-height:1.6}
.sl-story,.sl-comparison,.sl-teaching,.sl-assessment{box-sizing:border-box;padding:24px;margin:20px 0;border:1px solid var(--accent);border-radius:14px;background:var(--surface);overflow-wrap:anywhere}
.sl-story>h3,.sl-comparison>h3,.sl-teaching>h3,.sl-assessment>h3{font-size:19px;font-weight:650;line-height:1.5;margin:0 0 18px;color:var(--text)}
.sl-story>.sl-lesson-theme{font-size:16px;line-height:1.65;font-weight:500;color:var(--muted);margin:0 0 20px}
.sl-detail>.sl-concept,.sl-preview-work>.sl-concept{padding:18px 22px;margin:20px 0;background:var(--surface);border:1px solid var(--accent);border-left:3px solid var(--accent);border-radius:12px}
.sl-concept .sl-demo-eyebrow{font-size:15px;color:var(--accent);font-weight:650;letter-spacing:.02em}
.sl-concept p{max-width:84ch;font-size:15px;line-height:1.85;margin:8px 0 0}
.sl-film-frames{gap:18px;margin:0}
.sl-film-picture{aspect-ratio:16/9}
.sl-film-caption{font-size:15px;line-height:1.7;font-weight:500;padding:28px 14px 10px}
.sl-film-analysis{padding:14px 16px}
.sl-film-analysis h5{font-size:15px;line-height:1.6;font-weight:650}
.sl-film-analysis p{font-size:15px;line-height:1.8;margin:6px 0 0}
.sl-comparison p,.sl-teaching p,.sl-assessment p,.sl-assessment dd{font-size:15px;line-height:1.85;color:var(--muted)}
.sl-comparison-question{max-width:84ch;margin:0 0 18px}
.sl-film-plans,.sl-sheet-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.sl-film-plans article,.sl-sheet-comparison>section{padding:18px 20px;border:1px solid var(--accent);border-radius:10px;background:var(--surface);min-width:0}
.sl-film-plans h4,.sl-sheet-comparison h4{font-size:15px;line-height:1.5;color:var(--accent);margin:0 0 10px;font-weight:650}
.sl-film-plans p,.sl-sheet-comparison p{margin:0}
.sl-comparison-result{margin-top:18px;padding:14px 18px;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--surface)}
.sl-comparison-result h4{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 4px;font-weight:650}
.sl-comparison-result p{max-width:88ch;margin:0}
.sl-comparison>header{margin-bottom:18px}
.sl-comparison>header>h4{font-size:19px;line-height:1.5;margin:0 0 10px}
.sl-comparison>header>p{max-width:84ch;margin:0}
.sl-comparison>.sl-sheet-comparison{margin-top:18px}
.sl-mechanism{max-width:84ch;margin:0 0 22px}
.sl-teaching-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sl-teaching-grid>article{padding:18px 20px;border:1px solid var(--accent);border-radius:10px;background:var(--surface);min-width:0}
.sl-teaching-grid h4{font-size:15px;line-height:1.6;color:var(--text);font-weight:650;margin:0 0 8px}
.sl-teaching-grid p{margin:0}
.sl-transfer{padding:18px 20px;margin:20px 0 0;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}
.sl-transfer h4{font-size:15px;line-height:1.6;margin:0 0 8px;color:var(--text)}
.sl-transfer>p{max-width:84ch;margin:0}
.sl-transfer details{margin-top:14px}
.sl-transfer summary{width:fit-content;font-size:15px;font-weight:550;line-height:1.6;padding:7px 12px;border:1px solid var(--accent);border-radius:7px;background:var(--surface);color:var(--accent)}
.sl-transfer summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.sl-transfer details[open]>p{max-width:84ch;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--accent)}
.sl-submission{padding:18px 20px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}
.sl-submission h4,.sl-pass-rule h4{font-size:15px;line-height:1.6;margin:0 0 6px;color:var(--accent);font-weight:650}
.sl-submission p,.sl-pass-rule p{max-width:88ch;margin:0}
.sl-criteria{list-style:none;padding:0;margin:20px 0;display:grid;gap:14px}
.sl-criteria>li{padding:18px 20px;border:1px solid var(--accent);border-radius:10px;min-width:0}
.sl-criteria h4{display:flex;gap:10px;align-items:baseline;font-size:15px;line-height:1.6;margin:0 0 14px;font-weight:650;color:var(--text)}
.sl-criterion-number{flex:none;font-size:15px;line-height:1.7;color:var(--accent);background:var(--surface);border-radius:5px;padding:1px 6px;font-variant-numeric:tabular-nums}
.sl-criteria dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}
.sl-criteria dl>div{min-width:0}
.sl-criteria dl>div+div{padding-left:24px;border-left:1px solid var(--accent)}
.sl-criteria dt{font-size:15px;line-height:1.6;color:var(--muted);font-weight:500;margin-bottom:6px}
.sl-criteria dd{margin:0}
.sl-pass-rule{padding:16px 20px;border-radius:10px;background:var(--surface)}
@container skill-lesson (max-width:640px){
 .sl-film-frames,.sl-film-plans,.sl-sheet-comparison,.sl-teaching-grid,.sl-criteria dl{grid-template-columns:1fr}
 .sl-story,.sl-comparison,.sl-teaching,.sl-assessment{padding:18px;margin:16px 0}
 .sl-story>h3,.sl-comparison>h3,.sl-teaching>h3,.sl-assessment>h3{font-size:18px;margin-bottom:16px}
 .sl-film-plans article,.sl-sheet-comparison>section,.sl-teaching-grid>article,.sl-transfer,.sl-submission,.sl-criteria>li,.sl-pass-rule{padding:16px}
 .sl-criteria dl{gap:14px}
 .sl-criteria dl>div+div{padding-left:0;padding-top:14px;border-left:0;border-top:1px solid var(--accent)}
 .sl-film-caption{font-size:15px;padding:24px 12px 9px}
}
@media(max-width:650px){.sl-detail>.sl-skill-header h2{font-size:28px}.sl-detail>.sl-skill-header>p{font-size:15px}.sl-grid{gap:14px}.sl-card>div:not(.sl-art-pending):not(.sl-frame-media){padding:16px}.sl-card h3{font-size:17px}}

/* Movie aesthetic study: styles are isolated from other skills. */
.as-study{min-width:0;color:var(--ink)}
.as-study *{box-sizing:border-box}.as-study button{cursor:pointer;font:inherit}.as-study a{color:var(--accent)}.as-study button:focus-visible,.as-study a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.as-views{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.as-views button{border:1px solid var(--accent);border-radius:6px;background:var(--surface);padding:8px 14px;font-size:15px}.as-views button[aria-pressed=true]{background:var(--surface);color:var(--accent);border-color:var(--accent)}.as-views span{margin-left:auto;font-size:15px;color:var(--muted)}
.as-study button,.as-study input,.as-study textarea{font:inherit}
.as-study button,.as-study a{cursor:pointer}
.as-study button{border:0}
.as-study a{color:var(--blue);text-decoration:none}
.as-study button:focus-visible,.as-study a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.as-study .logo{font-size:25px;color:var(--text);font-weight:750;margin:0 12px 7px;letter-spacing:-1px}
.as-study .brand{font-size:12px;letter-spacing:2px;margin:0 12px 47px;color:var(--accent)}
.as-study .preview{background:var(--surface);color:var(--muted);border:1px solid var(--accent);padding:5px 12px;border-radius:18px;font-size:12px}
.as-study .heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}
.as-study h1{font-size:32px;line-height:1.25;margin:0 0 10px;letter-spacing:-.5px}
.as-study .heading p{color:var(--muted);margin:0;font-size:15px}
.as-study .link-button{background:transparent;color:var(--blue);font-size:15px;padding:8px 0}
.as-study .search-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;gap:12px}
.as-study .filters{display:flex;gap:8px;flex-wrap:wrap}
.as-study .filter{padding:9px 19px;border-radius:6px;background:var(--surface);border:1px solid var(--line);font-size:15px;color:var(--muted)}
.as-study .filter.selected{background:var(--surface);border-color:var(--accent);color:var(--accent);font-weight:600}
.as-study .search{border:1px solid var(--line);background:var(--surface);padding:10px 14px;border-radius:6px;width:245px;font-size:15px}
.as-study .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.as-study .case-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}
.as-study .card-open{display:block;width:100%;padding:0;color:var(--ink);text-align:left;background:transparent}
.as-study .case-card img{width:100%;height:202px;object-fit:contain;background:var(--surface);display:block}
.as-study .card-copy{padding:15px 18px}
.as-study .card-topic{font-size:12px;color:var(--muted);letter-spacing:1px}
.as-study .card-copy h2{font-size:18px;margin:7px 0 7px;font-weight:650}
.as-study .card-copy p{font-size:15px;color:var(--muted);margin:0;line-height:1.6}
.as-study .credit{border-top:1px solid var(--accent);display:flex;justify-content:space-between;align-items:center;padding:10px 18px;color:var(--muted);font-size:12px}
.as-study .credit a{color:var(--muted)}
.as-study .footer-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:18px}
.as-study .detail-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(350px,1fr);gap:24px}
.as-study .photo-stage{background:var(--surface);border-radius:11px;overflow:hidden}
.as-study .main-photo{width:100%;height:495px;object-fit:contain;display:block}
.as-study .photo-credit{color:var(--text);display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border-top:1px solid #ffffff10;font-size:12px}
.as-study .photo-credit a{color:var(--accent)}
.as-study .reading-note{margin:17px 0 13px;padding-left:13px;border-left:3px solid var(--accent);color:var(--muted);font-size:15px;line-height:1.9}
.as-study .filmstrip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.as-study .thumb{padding:0;background:var(--surface);border:2px solid transparent;overflow:hidden;border-radius:6px}
.as-study .thumb.active{border-color:var(--blue)}
.as-study .thumb img{display:block;width:100%;height:66px;object-fit:contain;background:var(--selected)}
.as-study .thumb span{display:block;font-size:12px;padding:6px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-study .panel{background:var(--surface);border:1px solid var(--line);padding:22px;border-radius:10px}
.as-study h2{font-size:19px;margin:0 0 13px}
.as-study h3{font-size:15px;margin:0 0 12px}
.as-study .tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.as-study .tag{font-size:12px;background:var(--surface);border:1px solid var(--accent);border-radius:4px;padding:5px 9px;color:var(--muted)}
.as-study .analysis{font-size:15px;line-height:1.9;margin:0;color:var(--muted)}
.as-study .question{padding:12px 14px;margin:14px 0;background:var(--surface);border-radius:6px;color:var(--muted);font-size:15px;line-height:1.8}
.as-study .writing-label{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;margin-bottom:9px}
.as-study .writing-label small{font-size:12px;color:var(--muted);font-weight:400}
.as-study textarea{border:1px solid var(--accent);border-radius:6px;background:var(--surface);width:100%;padding:12px 13px;color:var(--accent);line-height:1.8;font-size:15px;resize:vertical;min-height:96px}
.as-study .suggestion{background:var(--surface);border:1px solid var(--accent);border-radius:8px;padding:16px;margin-top:17px}
.as-study .suggestion h3{font-size:15px;color:var(--accent);margin-bottom:8px}
.as-study .suggestion p{color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 13px}
.as-study .primary{color:var(--accent-ink);background:var(--blue);border-radius:6px;padding:13px 20px;font-size:15px;font-weight:600}
.as-study .wide{width:100%}
.as-study .suggestion .primary{padding:11px 15px}
.as-study .comparison-heading{display:flex;gap:10px;margin-bottom:18px}
.as-study .compare-pill{padding:8px 16px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:15px;color:var(--muted)}
.as-study .compare-pill.active{border-color:var(--accent);color:var(--accent);background:var(--surface)}
.as-study .comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.as-study .comparison-grid .photo-stage img{width:100%;height:348px;object-fit:contain;display:block}
.as-study .compare-description{background:var(--surface);padding:15px 20px;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px}
.as-study .compare-description h2{font-size:18px;margin-bottom:8px}
.as-study .compare-description p{font-size:15px;color:var(--muted);margin:0;line-height:1.8}
.as-study .compare-write{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:9px}
.as-study .compare-write textarea{min-height:86px}
.as-study .compare-write h3{font-size:15px}
.as-study .compare-write p{font-size:15px;color:var(--muted);line-height:1.8;margin:0 0 12px}
.as-study .compare-write .primary{float:right}
.as-study .saved{padding:13px;margin-top:16px;border:1px solid var(--accent);background:var(--surface);border-radius:8px;font-size:15px;color:var(--accent)}
.as-study .count{font-size:12px;color:var(--muted)}
@media(max-width:1100px){.as-study .detail-layout{grid-template-columns:1.3fr 1fr}
.as-study .main-photo{height:480px}
.as-study .gallery{gap:12px}
.as-study .case-card img{height:175px}
.as-study .card-copy{padding:12px}
.as-study .compare-write{grid-template-columns:1fr}
}
@media(max-width:760px){.as-study .heading{align-items:start;gap:12px}
.as-study h1{font-size:26px}
.as-study .heading p{font-size:15px}
.as-study .gallery{grid-template-columns:1fr 1fr}
.as-study .detail-layout,.as-study .comparison-grid,.as-study .compare-write{grid-template-columns:1fr}
.as-study .main-photo{height:430px}
.as-study .filters{flex-wrap:wrap}
.as-study .search-row{display:block}
.as-study .search{margin-top:10px;width:100%}
.as-study .compare-description h2{font-size:16px}
}
.as-study .heading{gap:20px}
.as-study .count{white-space:nowrap}
.as-study .search-row{align-items:start}
.as-study .filters{flex:1}
.as-study .filter{padding:9px 13px}
.as-study .search{flex:0 0 220px;width:220px}
.as-study .mood-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-4px 0 20px;color:var(--muted);font-size:12px}
.as-study .mood{background:transparent;border:1px solid transparent;border-radius:18px;padding:6px 13px;color:var(--muted);font-size:12px}
.as-study .mood.selected{color:var(--accent);background:var(--surface);border-color:var(--accent)}
.as-study .result-count{margin-left:auto}
.as-study .credit .link-button{font-size:12px;padding:0}
.as-study .card-topic{letter-spacing:.2px}
.as-study .card-copy{min-height:114px}
.as-study .angle-strip{display:flex;align-items:center;gap:12px;margin:-5px 0 20px;font-size:12px}
.as-study .angle-strip a,.as-study .angle-strip button{padding:7px 12px;background:var(--surface);border-radius:5px;color:var(--accent);font-size:12px}
.as-study .angle-strip span{margin-left:4px;color:var(--muted)}
.as-study .main-photo{height:440px}
.as-study .filmstrip{display:flex;gap:8px;overflow-x:auto;padding-bottom:7px}
.as-study .thumb{flex:0 0 94px}
.as-study .related-head{display:flex;justify-content:space-between;margin:14px 0 10px;font-size:12px;color:var(--muted)}
.as-study .related-head strong{font-weight:500}
.as-study .related-links{display:flex;gap:8px;flex-wrap:wrap}
.as-study .related-links .link-button{font-size:12px}
.as-study .suggestion h3 small{font-size:12px;font-weight:400;color:var(--muted)}
.as-study .suggestion textarea{background:var(--surface);font-size:15px;min-height:125px;margin-bottom:12px;line-height:1.85}
.as-study .comparison-heading{flex-wrap:wrap}
.as-study .choice-row{display:flex;justify-content:flex-end;gap:10px}
.as-study .choice-row .primary{float:none;font-size:15px;padding:11px 17px}
.as-study .empty-state{border:1px dashed var(--accent);background:var(--surface);border-radius:10px;padding:50px 30px;text-align:center}
.as-study .empty-state p{color:var(--muted);font-size:15px;margin-bottom:25px}
.as-study .primary:disabled{background:var(--surface);cursor:default}
@media(max-width:1100px){.as-study .count{white-space:normal}
.as-study .search-row{flex-wrap:wrap}
.as-study .search{flex:0 0 220px}
.as-study .detail-layout{grid-template-columns:1.25fr 1fr}
}
@media(max-width:760px){.as-study .heading{flex-direction:column;gap:8px;align-items:start}
.as-study .search{width:100%;margin-top:12px}
.as-study .angle-strip{flex-wrap:wrap}
.as-study .angle-strip span{flex-basis:100%}
.as-study .setting-project,.as-study .comparison-heading{gap:7px}
.as-study .compare-pill{padding:7px 10px}
.as-study .main-photo{height:350px}
.as-study .gallery{grid-template-columns:1fr 1fr}
.as-study .mood-row{gap:3px}
.as-study .card-copy{min-height:130px}
.as-study .card-copy h2{font-size:16px}
.as-study .result-count{margin-left:0}
}
.as-study select{font:inherit;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--accent);padding:9px 12px;font-size:15px;max-width:100%}
.as-study .search-row{margin-bottom:13px;align-items:center}
.as-study .search{flex-basis:265px;width:265px}
.as-study .filters{align-items:center}
.as-study .mood-row{margin-bottom:12px}
.as-study .mood{padding:5px 10px}
.as-study .topic-name{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.as-study .card-copy{min-height:125px}
.as-study .topic-index{margin-bottom:18px;font-size:12px;color:var(--muted)}
.as-study .topic-index summary{cursor:pointer;padding:8px 0}
.as-study .topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 16px}
.as-study .topic-grid button{padding:13px;text-align:left;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--accent)}
.as-study .topic-grid strong,.as-study .topic-grid span,.as-study .topic-grid small{display:block}
.as-study .topic-grid strong{font-size:15px;margin-bottom:7px}
.as-study .topic-grid span{font-size:12px;line-height:1.7;color:var(--muted)}
.as-study .topic-grid small{font-size:12px;color:var(--muted);margin-top:6px}
.as-study .topic-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--surface);border-radius:7px;padding:12px 16px;margin:0 0 9px}
.as-study .topic-intro strong{font-size:15px;margin-right:12px}
.as-study .topic-intro span{font-size:12px;color:var(--muted)}
.as-study .topic-intro .link-button{white-space:nowrap;font-size:12px}
.as-study .topic-words{display:flex;gap:14px;margin-top:7px}
.as-study .topic-words span{font-size:12px;color:var(--muted)}
.as-study .case-themes{display:flex;gap:6px;flex-wrap:wrap}
.as-study .case-themes button{font-size:12px;color:var(--muted);background:var(--surface);border-radius:4px;padding:6px 9px}
.as-study .alternate{border-left:2px solid var(--accent);padding:0 0 0 12px;margin-top:15px}
.as-study .alternate strong{font-size:12px;font-weight:600;color:var(--muted)}
.as-study .alternate p{font-size:12px;line-height:1.8;color:var(--muted);margin:5px 0 0}
.as-study .suggestion textarea{min-height:100px;margin-bottom:7px}
.as-study .suggestion .expression-note{font-size:12px;color:var(--muted);margin:0;line-height:1.7}
.as-study .comparison-heading{justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}
.as-study .comparison-heading label{display:flex;align-items:center;gap:12px;color:var(--muted)}
.as-study .comparison-heading span{max-width:50%;font-size:12px;line-height:1.7}
.as-study .comparison-grid .photo-stage img{height:315px}
.as-study .heading p{line-height:1.8}
@media(max-width:1100px){.as-study .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.as-study .mood-row{gap:4px}
.as-study .search{flex-basis:245px}
.as-study .filters{gap:6px}
}
@media(max-width:760px){.as-study .topic-grid{grid-template-columns:1fr 1fr}
.as-study .search-row{display:flex;flex-direction:column;align-items:stretch}
.as-study .search{flex:auto;width:100%;margin-top:0}
.as-study .filters{flex-wrap:wrap}
.as-study .topic-intro{align-items:start;flex-direction:column;gap:5px}
.as-study .topic-intro span{line-height:1.8}
.as-study .topic-intro strong{display:block;margin-bottom:5px}
.as-study .comparison-heading{align-items:start}
.as-study .comparison-heading span{max-width:100%}
.as-study .count{font-size:12px}
}
.as-study .heading{margin-bottom:15px}
.as-study h1{font-size:28px;margin-bottom:7px}
.as-study .heading p{font-size:15px}
.as-study .search-row{margin-bottom:9px}
.as-study .filter{padding:7px 13px}
.as-study select{padding:7px 12px}
.as-study .search{padding:8px 14px}
.as-study .mood-row{margin-bottom:7px}
.as-study .topic-index summary{padding:5px 0}
.as-study .topic-index{margin-bottom:12px}

.as-study .angle-strip{flex-wrap:wrap}.as-study .detail-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.as-study .photo-credit{gap:10px;flex-wrap:wrap}.as-study .photo-credit a{color:var(--accent)}.as-study .heading h1{font-size:24px}.as-study .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.as-study .case-card img{height:195px}.as-study .main-photo{height:440px}.as-study .count{white-space:normal}@media(max-width:900px){.as-study .detail-layout,.as-study .comparison-grid{grid-template-columns:1fr}.as-study .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.as-study .gallery,.as-study .topic-grid{grid-template-columns:1fr}.as-study .main-photo{height:300px}.as-views span{margin-left:0}}

.sl-detail:has(.as-study) .sl-skill-header{margin:12px 0 20px}.sl-detail:has(.as-study) .sl-skill-header h2{font-size:27px;margin:6px 0 10px}.sl-detail:has(.as-study) .sl-skill-header p{font-size:15px;margin:0}.as-study .as-intro{font-size:15px;color:var(--muted);margin:0 0 15px}.as-study .filters select{width:auto;max-width:220px}.as-study .as-views{margin-top:0;margin-bottom:12px}.as-study .count{background:none;border:0;color:var(--muted);padding:0}
.sl-stage-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}.sl-stage-toolbar nav{display:flex;gap:6px;flex-wrap:wrap}.sl-stage-toolbar nav button{padding:8px 12px;border:1px solid var(--accent);border-radius:8px;background:var(--surface);color:var(--text)}.sl-stage-toolbar nav button[aria-pressed=true]{background:var(--surface);color:var(--accent);border-color:var(--accent)}.sl-stage-toolbar>p{flex-basis:100%;margin:0;color:var(--muted);font-size:15px}.sl-stage-badge{display:inline-block;margin:0 0 8px;padding:3px 8px;border-radius:5px;background:var(--surface);color:var(--accent);font-size:15px;font-weight:600}.sl-stage-badge[data-skill-stage=L2]{background:var(--surface);color:var(--accent)}.sl-stage-badge[data-skill-stage=L3]{background:var(--surface);color:var(--accent)}.sl-stage-note{padding:12px 16px!important;margin:12px 0!important}.sl-stage-note p{margin:0;line-height:1.7;font-size:15px;color:var(--muted)}.sl-stage-management{max-height:65vh;overflow:auto}.sl-stage-management>p{color:var(--muted);line-height:1.7}.sl-stage-management h3{font-size:17px;margin:20px 0 8px}.sl-stage-management h3 small{font-weight:400;color:var(--muted);margin-left:8px}.sl-stage-management article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--accent)}.sl-stage-management article small{display:block;margin-top:3px;color:var(--muted)}.sl-stage-management article p{font-size:15px;line-height:1.6;color:var(--muted);margin:5px 0 0}.sl-stage-management article button{flex-shrink:0}.sl-stage-form label{display:grid;gap:8px;margin:16px 0}.sl-stage-form textarea,.sl-stage-form select{width:100%;box-sizing:border-box}.sl-stage-form>p{font-size:15px;color:var(--muted);line-height:1.7}.sl-stage-form [data-stage-status]{color:#9b482b}.sl-stage-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}@media(max-width:650px){.sl-stage-toolbar{gap:8px}.sl-stage-toolbar nav button{padding:8px;font-size:15px}.sl-stage-management{max-height:60vh}.sl-stage-management article{align-items:flex-start}.sl-stage-actions>*{flex:1}}
/* Extended film references stay inside the skill learning page. */
.sl-reference-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px 12px 0 0;background:var(--surface)}.sl-reference-library{margin:26px 0;padding:24px;background:var(--surface);border:1px solid var(--accent);border-radius:16px}.sl-reference-library>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.sl-reference-library h3{margin:5px 0;font-size:24px}.sl-reference-library>header p{margin:5px 0;color:var(--muted)}.sl-reference-eyebrow{color:var(--accent);font-weight:700;font-size:15px;letter-spacing:.06em}.sl-reference-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.sl-reference-picker button{display:flex;flex-direction:column;text-align:left;border:1px solid var(--accent);background:var(--surface);border-radius:10px;padding:0;overflow:hidden;min-width:0}.sl-reference-picker button[aria-pressed=true]{border:2px solid var(--accent);background:var(--surface)}.sl-reference-picker img{width:100%;height:94px;object-fit:cover}.sl-reference-picker small,.sl-reference-picker strong{padding:6px 10px;overflow-wrap:anywhere}.sl-reference-picker small{font-size:12px;color:var(--muted)}.sl-reference-picker strong{font-size:15px;line-height:1.45;padding-top:0}.sl-reference-text-icon{height:94px;display:grid;place-items:center;background:linear-gradient(130deg,var(--surface),var(--surface));color:var(--muted);font-weight:700;font-size:15px;width:100%}.sl-reference-controls{display:flex;justify-content:space-between;align-items:center;margin:15px 0;font-size:15px;color:var(--muted)}.sl-reference-case{border:1px solid var(--accent);border-radius:12px;overflow:hidden;min-width:0}.sl-reference-case>header{background:var(--surface);padding:18px}.sl-reference-case>header small{color:var(--accent);font-weight:700}.sl-reference-case h4{font-size:21px;margin:6px 0;line-height:1.5}.sl-reference-case>header p{font-size:15px;color:var(--muted);margin:4px 0}.sl-reference-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.sl-reference-frames figure{margin:0;border:1px solid var(--accent);border-radius:8px;overflow:hidden}.sl-reference-frames img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--bg)}.sl-reference-frames figcaption{font-size:15px;line-height:1.6;padding:10px;background:var(--surface)}.sl-reference-frames b{color:var(--accent)}.sl-reference-reading{padding:5px 20px 20px}.sl-reference-reading h5{font-size:15px;color:var(--accent);margin:18px 0 7px}.sl-reference-reading p{font-size:15px;line-height:1.85;margin:5px 0;color:var(--text);overflow-wrap:anywhere}.sl-reference-practice{background:var(--surface);border-radius:10px;padding:1px 15px 12px;margin:16px 0}.sl-reference-evidence{display:block;color:var(--muted);line-height:1.6;margin:10px 0}.sl-reference-reading details{font-size:15px;color:var(--muted)}.sl-reference-reading details a{display:block;margin:8px 0;overflow-wrap:anywhere}.sl-reference-content.is-comparing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.is-comparing .sl-reference-frames{grid-template-columns:1fr}.sl-reference-editor{max-width:760px;max-height:75vh;overflow:auto;padding-right:10px}.sl-reference-editor label{display:grid;gap:5px;margin:15px 0;font-size:15px}.sl-reference-editor textarea,.sl-reference-editor select{width:100%;padding:10px;border:1px solid var(--accent);border-radius:7px;font:inherit}.sl-reference-editor footer,.sl-reference-edit-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.sl-reference-editor footer{position:sticky;bottom:0;background:var(--surface);padding:14px 0}.sl-reference-editor [role=status]{color:#b34040}
@media(max-width:650px){.sl-reference-library{padding:14px}.sl-reference-library>header{align-items:flex-start;flex-direction:column}.sl-reference-library h3{font-size:20px}.sl-reference-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.sl-reference-content.is-comparing{grid-template-columns:1fr}.sl-reference-frames{padding:10px;gap:8px}.sl-reference-frames figcaption{font-size:12px;padding:7px}.sl-reference-reading{padding:0 12px 14px}.sl-reference-case h4{font-size:18px}}


/* course-studio.css */
.cs-toolbar,.cs-actions,.cs-form-row,.cs-tabs,.cs-member-row,.cs-rate-row,.cs-history-link{display:flex;align-items:center;gap:14px}.cs-toolbar{justify-content:space-between;margin:16px 0}.cs-actions{flex-wrap:wrap}.cs-form-row{align-items:flex-start}.cs-form-row>label{flex:1;min-width:0}.cs-tabs{border-bottom:1px solid var(--accent);gap:8px;margin:18px 0;overflow:auto}.cs-tabs>button,.cs-tabs>span{border:0;background:transparent;padding:12px 18px;white-space:nowrap;color:var(--muted)}.cs-tabs .selected{color:var(--accent);background:var(--surface);border-bottom:3px solid var(--accent);font-weight:650}.cs-studio label,.cs-credit-grid label,.ap-launch label{display:grid;gap:7px;margin:12px 0}.cs-studio input,.cs-studio select,.cs-studio textarea,.cs-credit-grid input,.cs-credit-grid textarea,.cs-credit-grid select,.cs-rate-row input,.ap-launch select,#ai-practice-work{width:100%;border:1px solid var(--accent);border-radius:7px;padding:10px 12px;background:var(--surface);font:inherit;color:var(--text);min-width:0}.cs-studio textarea,#ai-practice-work{resize:vertical;line-height:1.65}.cs-upload-grid,.cs-credit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cs-credit-grid{grid-template-columns:minmax(0,2.2fr) minmax(260px,1fr);align-items:start}.cs-upload-card{border:1px solid var(--accent);border-radius:9px;background:var(--surface);padding:16px;min-width:0}.cs-upload-card video{display:block;width:100%;aspect-ratio:16/9;background:var(--selected);border-radius:6px;margin:12px 0;object-fit:contain}.cs-empty-poster{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--muted);aspect-ratio:16/9;border-radius:6px;font-size:15px;padding:20px;text-align:center}.cs-upload-label{border:1px dashed var(--accent);background:var(--surface);padding:15px;border-radius:8px}.cs-review-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:20px;align-items:start;margin:20px 0}.cs-review-grid>.panel{min-width:0}.cs-review-grid video{width:100%;background:var(--selected);border-radius:8px;max-height:540px}.cs-explanation{line-height:1.65}.cs-moments{display:flex;gap:9px;overflow:auto;margin:15px 0}.cs-moments button{display:grid;gap:7px;text-align:left;min-width:135px;border:1px solid var(--accent);border-radius:7px;background:var(--surface);padding:14px;color:var(--text)}.cs-moments button.selected{background:var(--surface);border-color:var(--accent)}.cs-moments small{font-size:15px;color:var(--muted)}.cs-depth{display:flex;align-items:flex-start;gap:15px;padding:12px;border:1px solid var(--accent);border-radius:7px;margin:9px 0}.cs-depth strong{color:var(--accent)}.cs-depth.selected{background:var(--surface);border-color:var(--accent)}.cs-connections{border-top:1px solid var(--accent);margin-top:18px;padding-top:15px}.cs-connections article{padding:8px 0}.cs-connections p{margin:8px 0;line-height:1.65}.cs-stat-row{display:flex;background:var(--surface);border:1px solid var(--accent);border-radius:10px;padding:24px;margin:20px 0;gap:24px}.cs-stat-row>div{flex:1;border-right:1px solid var(--accent)}.cs-stat-row>div:last-child{border:0}.cs-stat-row strong{display:block;font-size:28px;color:var(--text);padding-top:8px}.cs-stat-row small{color:var(--muted)}.cs-table-wrap{width:100%;overflow:auto}.cs-table{border-collapse:collapse;width:100%;text-align:left;font-size:15px}.cs-table th{background:var(--surface);color:var(--muted);font-size:15px;letter-spacing:.03em;white-space:nowrap}.cs-table th,.cs-table td{border-bottom:1px solid var(--accent);padding:12px}.cs-table td small{display:block;font-size:15px;color:var(--muted);margin-top:5px}.cs-table input[type=checkbox],.cs-member-row input[type=checkbox]{width:auto}.cs-table pre{max-width:340px;white-space:pre-wrap;overflow-wrap:anywhere}.cs-member-row{justify-content:space-between;border-bottom:1px solid var(--accent)}.cs-member-row label{display:flex;align-items:center}.cs-rate-row{padding:14px 0;border-bottom:1px solid var(--accent);justify-content:space-between}.cs-rate-row small{display:block;margin:5px 0;color:var(--muted)}.cs-rate-row label{max-width:130px}.cs-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cs-course-card{padding:0;overflow:hidden;border:1px solid var(--accent);border-radius:10px;background:var(--surface);text-align:left;color:var(--text);cursor:pointer}.cs-course-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.cs-course-card>span{display:block;padding:18px}.cs-course-card strong{display:block;font-size:18px;line-height:1.5;margin:7px 0}.cs-course-card small{color:var(--accent)}.cs-course-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.6;color:var(--muted)}.cs-course-catalog{margin-bottom:35px}.cs-empty{border:1px dashed var(--accent);padding:30px;background:var(--surface);border-radius:10px;color:var(--muted)}.credit-badge{white-space:nowrap}.credit-badge strong{color:var(--accent);margin-left:7px}.cs-steps{justify-content:center;background:var(--surface);border-radius:8px}.cs-studio .panel>summary{font-weight:650;cursor:pointer;padding:5px 0 12px}.cs-studio>details.panel{margin-bottom:18px}.cs-studio fieldset,.ap-launch fieldset{border:0;padding:0;margin:0;min-width:0}.ap-launch{text-align:center;max-width:720px;margin:50px auto 30px}.ap-launch h1{font-size:34px;margin:10px 0}.ap-launch>p{color:var(--muted)}.ap-launch.has-questions{max-width:none;text-align:left;margin:25px 0}.ap-directions{display:flex;gap:15px;margin:28px 0 20px}.ap-directions button{flex:1;text-align:left;background:var(--surface);border:1px solid var(--accent);padding:22px;border-radius:10px;cursor:pointer}.ap-directions strong{display:block;font-size:23px;color:var(--text)}.ap-directions small{display:block;margin-top:8px;color:var(--muted)}.ap-directions .selected{border:2px solid var(--accent);background:var(--surface)}.ap-launch .cs-tabs{justify-content:center;border-bottom:0}.ap-launch.has-questions .cs-tabs{justify-content:flex-start}.ap-launch.has-questions .ap-directions{max-width:600px;margin:18px 0 10px}.ap-launch.has-questions .ap-directions button{padding:12px 16px}.ap-launch.has-questions .ap-directions strong{font-size:17px}.ap-generate{display:block;width:100%;margin:25px auto 12px;max-width:440px;padding:16px}.ap-launch fieldset>small{display:block;color:var(--muted)}.ap-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ap-question{border:1px solid var(--accent);border-radius:10px;background:var(--surface);padding:18px;display:flex;flex-direction:column;align-items:stretch;min-width:0}.ap-question h2{font-size:21px;margin:18px 0 8px}.ap-question>p{line-height:1.7;color:var(--muted)}.ap-question>.theme-tags{margin-top:auto}.ap-question>small{color:var(--muted);margin:12px 0}.ap-question>button{margin-top:14px}.ap-question details{font-size:15px;color:var(--muted)}.ap-question-art{height:95px;border-radius:7px;background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:20px;color:var(--accent)}.ap-question:nth-child(2) .ap-question-art{background:var(--surface);color:var(--muted)}.ap-question:nth-child(3) .ap-question-art{background:var(--surface);color:var(--muted)}.ap-question-art>span{font-size:40px;opacity:.55}.cs-rubric{display:flex;gap:25px;flex-wrap:wrap;margin:16px 0;padding:15px;background:var(--surface);border-radius:7px}.cs-rubric strong{color:var(--accent);padding-left:5px}.ap-recent{margin-top:30px}.cs-history-link{width:100%;background:var(--surface);border:0;border-bottom:1px solid var(--accent);padding:16px 2px;text-align:left;cursor:pointer;color:var(--text)}.cs-history-link>strong{flex:1}.cs-history-link>span{color:var(--muted);font-size:15px}.ap-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}.ap-media-grid img,.ap-media-grid video{width:100%;object-fit:contain;max-height:360px;display:block;background:var(--surface);border-radius:7px}.ap-media-grid article{min-width:0}.ap-media-grid label,.ap-media-grid small{overflow-wrap:anywhere;line-height:1.5}.ap-feedback h2{font-size:32px;margin:10px 0}.ap-feedback article{border-bottom:1px solid var(--accent);padding:12px 0}.ap-feedback p{line-height:1.7}.ap-feedback blockquote{margin:8px 0;border-left:3px solid var(--accent);background:var(--surface);padding:10px;font-size:15px}.ap-work-text{white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere}.cs-studio #cs-save-state{position:sticky;bottom:8px;background:var(--surface);border:1px solid var(--accent);padding:10px 18px;border-radius:8px;box-shadow:0 2px 12px #102f4310}.cs-studio button:disabled,.ap-launch button:disabled{opacity:.5;cursor:wait}
@media(min-width:1600px){.cs-review-grid{grid-template-columns:minmax(0,1.75fr) minmax(330px,1fr)}}
@media(max-width:1100px){.cs-review-grid,.cs-credit-grid{grid-template-columns:1fr}.cs-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-questions{gap:12px}.ap-question{padding:14px}.cs-form-row{flex-wrap:wrap}.cs-form-row>label{min-width:150px}}
@media(max-width:640px){.cs-upload-grid,.cs-course-grid,.ap-questions{grid-template-columns:1fr}.cs-toolbar{align-items:flex-start;flex-wrap:wrap}.cs-stat-row{gap:12px;padding:18px 12px}.cs-stat-row strong{font-size:22px}.cs-stat-row small{font-size:15px}.cs-studio .page-heading{display:block}.cs-form-row{display:block}.cs-form-row>label{width:100%}.cs-upload-card{padding:12px}.cs-tabs{gap:2px}.cs-tabs>button,.cs-tabs>span{padding:11px}.ap-launch{margin-top:28px}.ap-launch h1{font-size:27px}.ap-directions{gap:9px}.ap-directions button{padding:14px}.ap-directions strong{font-size:21px}.ap-question-art{height:60px}.ap-media-grid{grid-template-columns:1fr}.cs-history-link{flex-wrap:wrap}.cs-history-link strong{flex-basis:65%}.cs-review-grid{grid-template-columns:minmax(0,1fr)}.cs-rubric{gap:12px}.cs-member-row{display:block}.cs-rate-row{gap:8px}.cs-rate-row input{max-width:95px}.cs-credit-grid{grid-template-columns:minmax(0,1fr)}.cs-table th,.cs-table td{padding:10px 8px}.cs-studio input[type=file]{max-width:100%;font-size:15px}}

.cs-studio #cs-save-state{position:static;box-shadow:none}

.cd-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 34px;border:1px solid var(--accent);background:linear-gradient(115deg,var(--surface),var(--surface) 70%);border-radius:14px;margin-bottom:22px}.cd-hero h1{font-size:30px;margin:9px 0 12px}.cd-hero p{font-size:17px;color:var(--accent);margin:0 0 15px}.cd-hero small{color:var(--muted)}.cd-hero>.primary{white-space:nowrap}.cd-tabs{margin-bottom:24px}.cd-template-note{margin:20px 0}.cd-template-note p{color:var(--muted)}.cs-catalog-tools{display:flex;align-items:end;gap:16px;margin:24px 0}.cs-catalog-tools label{display:grid;gap:8px;font-size:15px;color:var(--text)}.cs-catalog-tools label:first-child{flex:1;max-width:430px}.cs-catalog-tools input,.cs-catalog-tools select{font:inherit;font-size:15px;padding:11px 13px;border:1px solid var(--accent);border-radius:8px;background:var(--surface);color:var(--accent);min-width:0;width:100%}.cs-catalog-tools>span{margin-left:auto;padding-bottom:12px;white-space:nowrap;color:var(--muted);font-size:15px}.cs-project-card{border:1px solid var(--accent);border-radius:12px;background:var(--surface);overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:box-shadow .15s,border-color .15s}.cs-project-card:hover{border-color:var(--accent);box-shadow:0 5px 20px #1646560c}.cs-project-open{display:block;width:100%;border:0;padding:0;background:transparent;text-align:left;color:inherit;cursor:pointer;flex:1}.cs-project-open>img{display:block;width:100%;height:168px;object-fit:cover;background:var(--selected)}.cs-cover{height:168px;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:25px 28px;background:linear-gradient(125deg,var(--surface),var(--surface));color:var(--accent)}.cs-cover.plan{background:linear-gradient(125deg,var(--surface),var(--surface));color:var(--muted)}.cs-cover>small{font-size:12px;letter-spacing:.18em}.cs-cover>strong{font-size:26px;letter-spacing:.06em}.cs-cover>span{font-size:15px;opacity:.85}.cs-project-copy{padding:20px 22px 15px}.cs-card-meta{display:flex;justify-content:space-between;align-items:center;gap:6px}.cs-status{font-size:15px;color:var(--muted);background:var(--surface);padding:4px 8px;border-radius:5px}.cs-status.published{color:var(--accent);background:var(--surface)}.cs-status.ready,.cs-status.changed{color:#99622b;background:var(--surface)}.cs-project-copy h3{font-size:18px;line-height:1.5;margin:15px 0 8px}.cs-project-copy p{font-size:15px;color:var(--muted);line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}.cs-project-copy>small{font-size:15px;color:var(--muted)}.cs-card-footer{border-top:1px solid var(--border);margin:0 22px;padding:12px 0;display:flex;justify-content:space-between;gap:8px}.cs-card-footer button{font-size:15px}.cs-empty{padding:55px 25px;background:var(--surface);border:1px dashed var(--accent);border-radius:12px;text-align:center;color:var(--muted)}.cs-empty h3{font-size:20px;color:var(--accent)}.cs-create-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 20px}.cs-create-options>label{border:1px solid var(--accent);border-radius:10px;padding:16px;cursor:pointer;display:grid;grid-template-columns:20px 1fr;gap:8px}.cs-create-options>label:has(:checked){background:var(--surface);border-color:var(--accent)}.cs-create-options input{width:auto;margin:0}.cs-create-options small{grid-column:2;color:var(--muted);font-size:15px;line-height:1.6}.cs-plan-edit-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:20px;align-items:start}.cs-plan-editor>.panel{margin-bottom:20px}.cs-plan-ai{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 6px;border-top:1px solid var(--accent);margin-top:15px}.cs-plan-ai h3{font-size:17px;margin:0 0 8px}.cs-plan-ai p,.cs-plan-ai small{color:var(--muted);font-size:15px}.cs-plan-ai>button{white-space:nowrap}.cs-plan-read p{white-space:pre-wrap;line-height:1.85}.cs-plan-lead{background:var(--surface);padding:28px 30px;border-radius:12px;margin:25px 0}.cs-plan-lead h2{font-size:23px;line-height:1.65;margin:14px 0}.cs-plan-lead p{font-size:15px;color:var(--muted)}.cs-plan-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cs-plan-read>.panel{margin-top:20px}.cs-published-skill{border-top:1px solid var(--accent);padding:15px 0}.cs-studio .checkbox-row{display:flex;align-items:center;gap:8px}.cs-studio .checkbox-row input{width:auto;flex:none}.cs-plan-editor summary{line-height:1.7;cursor:pointer;padding:8px 0}.cs-plan-editor aside h2{font-size:20px}.cs-plan-editor aside details details{padding-left:8px}.cs-plan-editor .plan-focus-editor textarea{font-size:15px}.cs-studio .page-heading .cs-actions{max-width:100%}
@media(max-width:1100px){.cs-plan-edit-grid{grid-template-columns:1fr}.cd-hero{padding:26px}.cs-catalog-tools{flex-wrap:wrap}.cs-catalog-tools>span{margin-left:0}.cs-plan-edit-grid>aside{order:-1}}
@media(max-width:640px){.cd-hero{display:block;padding:23px}.cd-hero h1{font-size:26px}.cd-hero>.primary{margin-top:22px;width:100%}.cd-hero small{font-size:12px;line-height:1.9}.cs-stat-row{display:grid;grid-template-columns:1fr 1fr}.cs-stat-row>div{border:0}.cs-catalog-tools{gap:12px}.cs-catalog-tools label:first-child{flex-basis:100%;max-width:none}.cs-catalog-tools label{flex:1;min-width:110px}.cs-plan-task-grid{grid-template-columns:1fr;gap:0}.cs-plan-edit-grid{grid-template-columns:minmax(0,1fr)}.cs-plan-ai{display:block}.cs-plan-ai>button{margin-top:14px;width:100%}.cs-plan-lead{padding:22px}.cs-plan-lead h2{font-size:20px}.cs-create-options{grid-template-columns:1fr}.cs-project-open>img,.cs-cover{height:160px}.cs-card-meta{flex-wrap:wrap}}

.cs-review-queue,.cs-review-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border:1px solid var(--accent);background:var(--surface);border-radius:12px;margin:20px 0}.cs-review-queue strong,.cs-review-banner strong{font-size:16px;color:var(--accent)}.cs-review-queue p,.cs-review-banner p{font-size:15px;line-height:1.7;margin:7px 0 0;color:var(--muted)}.cs-review-queue button,.cs-review-banner button{flex:none}.cs-review-banner.pending{background:var(--surface);border-color:var(--accent)}.cs-review-banner.rejected,.cs-review-banner.superseded{background:var(--surface);border-color:var(--accent)}.cs-status.pending{color:#956119;background:var(--surface)}.cs-status.rejected,.cs-status.superseded{color:#9b583d;background:var(--surface)}.cs-review-history{border-top:1px solid var(--accent);padding:14px 0;font-size:15px}.cs-review-history p{color:var(--muted);margin:8px 0;white-space:pre-wrap}.cs-film-skills,.cs-storyboard{margin:24px 0}.cs-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.cs-section-heading h2{margin:8px 0;font-size:22px}.cs-section-heading p{color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 10px}.cs-count{background:var(--surface);color:var(--accent);padding:8px 12px;border-radius:7px;font-size:15px;white-space:nowrap}.cs-observation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 8px}.cs-observation{border:1px solid var(--accent);border-radius:10px;padding:18px;background:var(--surface);min-width:0}.cs-observation>.cs-section-heading{justify-content:flex-start;align-items:flex-start;gap:12px}.cs-observation h3{font-size:17px;margin:0;line-height:1.6}.cs-observation p{font-size:15px;line-height:1.8;white-space:pre-wrap}.cs-observation .cs-section-heading label{margin:0;flex:1;min-width:0}.cs-shot-number{font-size:20px;line-height:1.5;color:var(--accent);font-variant-numeric:tabular-nums;display:block}.cs-observation-evidence{border-top:1px solid var(--border);padding:12px 0;margin-top:12px}.cs-observation-evidence p{font-size:15px;color:var(--muted)}.cs-time-link{display:block;border:0;background:var(--surface);color:var(--accent);padding:7px 9px;border-radius:5px;font:inherit;font-size:15px;line-height:1.6;cursor:pointer;text-align:left;margin:8px 0;white-space:nowrap}.cs-film-skills summary,.cs-storyboard summary{cursor:pointer;font-size:15px;color:var(--muted);margin:8px 0;line-height:1.6}.cs-shot-table{table-layout:fixed;min-width:600px;margin-top:16px}.cs-shot-table th:first-child{width:22%}.cs-shot-table th:nth-child(2){width:22%}.cs-shot-table th:nth-child(3){width:30%}.cs-shot-table td{vertical-align:top}.cs-shot-table p{white-space:pre-wrap;line-height:1.8;font-size:15px}.cs-shot-table label{font-size:15px;color:var(--muted)}.cs-shot-table input,.cs-shot-table textarea,.cs-shot-table select{font-size:15px;color:var(--text);padding:8px}.cs-film-skills textarea,.cs-film-skills select{font-size:15px}.cs-observation .text-button{font-size:15px}.cs-storyboard>.text-button{margin-top:14px}.cs-time-link:hover{background:var(--surface)}
@media(max-width:1200px){.cs-observation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cs-observation-grid{grid-template-columns:minmax(0,1fr)}.cs-section-heading{align-items:flex-start}.cs-section-heading h2{font-size:20px}.cs-count{padding:6px 8px;font-size:15px}.cs-review-queue,.cs-review-banner{display:block;padding:18px}.cs-review-queue button,.cs-review-banner button{margin-top:14px}.cs-film-skills,.cs-storyboard{padding:18px}.cs-storyboard{min-width:0}.cs-time-link{white-space:normal}.cs-shot-table{min-width:780px}}

.cs-shot-table .cs-time-link{white-space:normal}

/* Generated question illustrations are private, reusable scene references. */
.ap-question-cover{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:var(--surface)}
.ap-question-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ap-question-cover small{position:absolute;bottom:7px;left:7px;padding:4px 7px;border-radius:4px;background:#fffE;color:var(--text);font-size:12px}
.ap-image-action{margin:0 0 14px;display:grid;gap:5px}.ap-image-action button{justify-self:start}.ap-image-action small{color:var(--muted);font-size:15px;line-height:1.5}
.ap-cover-detail{max-width:480px;width:100%;max-height:320px;object-fit:contain;border-radius:7px}

/* Unified creation tasks, teacher drafts, and submitted versions. */
.training-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}
.training-card{border:1px solid var(--border);border-radius:18px;background:var(--surface);overflow:hidden;min-width:0}
.training-card-body{padding:24px}.training-card h2{font-size:21px;margin:14px 0}.training-card p{color:var(--muted);line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.training-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--surface)}.training-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.training-skill{font-size:15px;color:var(--text);background:var(--surface);border-radius:5px;padding:4px 7px}
.training-participant{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.training-participant small{display:block;color:var(--muted);margin-top:5px}
.training-filters{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.training-filters button{border:1px solid var(--border);border-radius:20px;padding:8px 14px;background:var(--surface);color:var(--muted)}.training-filters .active{background:var(--selected);color:var(--text)}.training-filters span{margin-left:5px;opacity:.7}
.training-editor{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:32px;max-width:950px;margin:16px auto}.training-editor label{display:block;margin:18px 0 8px}.training-editor input:not([type=checkbox]),.training-editor textarea,.training-editor select{width:100%;box-sizing:border-box}.training-editor-heading,.training-image-preview{display:flex;gap:24px;align-items:center;justify-content:space-between}.training-image-preview{background:var(--surface);padding:20px;border-radius:12px;margin:24px 0}.training-image-preview img{width:210px;border-radius:8px}.training-image-preview small{display:block;margin-top:10px}
.training-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.training-skill-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto;padding:8px;border:1px solid var(--border);border-radius:10px}.training-skill-picker label{display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px;border-radius:8px;background:var(--surface)}.training-skill-picker label[hidden]{display:none}.training-skill-picker small{display:block;color:var(--muted);line-height:1.5;margin-top:6px}.training-skill-picker input{margin-top:4px}.training-progress{padding:12px 18px;background:var(--surface);border-radius:9px;color:var(--text)}.training-tabs{flex-wrap:wrap}.training-task-brief{margin:24px 0;padding:24px;background:var(--surface);border-radius:16px}.training-task-brief>.training-cover{max-width:360px;border-radius:10px;margin-bottom:20px}
@media(max-width:760px){.training-grid{grid-template-columns:1fr}.training-editor{padding:18px}.training-fields{grid-template-columns:1fr;gap:0}.training-skill-picker{grid-template-columns:1fr}.training-image-preview,.training-editor-heading{align-items:flex-start;flex-direction:column}.training-image-preview img{width:100%}.training-card-body{padding:18px}.training-workspace .page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}.training-workspace .task-actions{flex-wrap:wrap}}

/* Compact assignment gallery: details and participant lists live in the task view. */
.training-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.training-grid>.empty,.training-grid>.big-empty{grid-column:1/-1}
.training-card{min-width:0;height:100%;border-radius:18px;box-shadow:none}
.training-card-body{padding:22px;display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.training-card h2{font-size:18px;line-height:1.5;height:3em;margin:16px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.training-card-title{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;display:block;width:100%}
.training-card-title:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.training-card .training-card-summary{font-size:15px;line-height:1.7;height:3.4em;margin:0 0 14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.training-card-meta{display:flex;gap:8px;flex-wrap:wrap;min-height:22px;color:var(--muted);font-size:15px;line-height:1.5;margin-bottom:16px}
.training-card-meta span+span:before{content:'·';margin-right:8px}
.training-card-media{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:var(--surface);margin-top:auto;margin-bottom:16px}
.training-card-media>.training-cover{width:100%;height:100%;object-fit:cover}
.training-cover-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;color:var(--muted);background:linear-gradient(135deg,var(--surface),var(--surface))}
.training-cover-placeholder>span{font-size:28px;font-weight:300;line-height:1}
.training-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;font-size:15px;color:var(--muted)}
.training-card-footer strong{font-weight:500;color:#b87532}
.training-card-footer button{white-space:nowrap;padding:6px 0;font-size:15px}
.training-card-progress{font-size:15px;color:var(--muted);margin-bottom:12px}
.training-card .task-actions{margin-top:0;gap:8px;flex-wrap:wrap}
.training-card .task-actions .primary,.training-card .task-actions .secondary{font-size:15px;padding:9px 12px}
.training-task-detail{max-width:1100px;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px;margin:16px auto}
.training-detail-heading{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:24px}
.training-detail-heading>div{min-width:0;flex:1}.training-detail-heading h2{font-size:24px;line-height:1.5;overflow-wrap:anywhere}
.training-detail-heading>.training-cover{width:280px;max-width:35%;border-radius:10px}
.training-detail-copy{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}
.training-detail-criteria{padding-left:20px;line-height:1.8}.training-detail-criteria p{margin:4px 0 16px}
.training-participants{border-top:1px solid var(--border);margin-top:24px;padding-top:12px}
@media(max-width:1100px){.training-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.training-grid{grid-template-columns:1fr;gap:16px}.training-card-body{padding:20px}.training-task-detail{padding:20px}.training-detail-heading{flex-direction:column;gap:18px}.training-detail-heading>.training-cover{width:100%;max-width:100%}.training-task-detail .task-actions{flex-wrap:wrap}.training-participant{align-items:flex-start}.training-participant>span{min-width:0;overflow-wrap:anywhere}.training-participant>button{flex-shrink:0}}

.training-card-management{display:flex;justify-content:flex-end;margin-top:8px;border-top:1px solid var(--accent);padding-top:5px}.training-card-management button{font-size:15px;color:var(--muted)}.training-feedback-summary{background:var(--surface);border-radius:8px;padding:12px;margin-bottom:12px;font-size:15px}.training-feedback-summary p{font-size:15px;line-height:1.7;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}.training-feedback-summary button{font-size:15px;padding:0}.training-legacy{margin-top:24px}.training-legacy>summary{cursor:pointer;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:10px}.training-reviews .training-participant{gap:18px}.training-reviews strong{overflow-wrap:anywhere}

/* Selected knowledge points remain visible while the catalog scrolls or filters. */
.training-skill-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border:1px solid var(--accent);border-radius:8px;background:var(--surface);min-height:48px;box-sizing:border-box}
.training-skill-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #405cf014}
.training-selected-skills{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}.training-selected-skills:empty{display:none}
.training-selected-skill{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid var(--accent);border-radius:6px;background:var(--surface);color:var(--accent);padding:6px 9px;font:inherit;font-size:15px;line-height:1.5;cursor:pointer;text-align:left}.training-selected-skill>span:first-child{overflow-wrap:anywhere}.training-selected-skill>span:last-child{font-size:17px;line-height:1;flex-shrink:0}.training-selected-skill:hover{background:var(--surface)}.training-selected-skill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.training-editor .training-skill-control #training-skill-search{flex:1 1 160px;width:auto;min-width:100px;max-width:100%;border:0;box-shadow:none;outline:none;background:transparent;margin:0;padding:6px 2px}
.training-skill-count{display:block;margin:7px 0 10px;color:var(--muted);font-size:15px}

/* Account and credit operations stay reachable in short dialogs. */
.account-dialog-tabs{position:sticky;top:-28px;background:var(--surface);z-index:2;padding-top:8px;margin-bottom:18px}.account-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.account-fields-grid fieldset,.account-fields-grid .notice{grid-column:1/-1}.account-save-bar,.credit-confirm-bar{position:sticky;bottom:-28px;background:var(--surface);z-index:2;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.account-security{position:relative}.account-security summary{cursor:pointer;padding:12px;color:var(--muted)}.account-security[open]>.stack-actions{padding:12px;border:1px solid var(--accent);border-radius:8px}.credit-toolbar{position:sticky;top:76px;z-index:2;background:var(--surface);display:flex;align-items:end;justify-content:space-between;gap:16px;padding-bottom:12px}.credit-toolbar label{flex:1;max-width:380px}.credit-presets{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}.credit-recipient-summary{background:var(--surface);border-radius:10px;padding:8px 16px;max-height:150px;overflow:auto}.credit-recipient-summary p{color:var(--text)}.credit-confirm-bar small{align-self:center;color:var(--muted)}[data-credit-preview]{color:var(--accent);background:var(--surface);border-radius:8px;padding:12px}#credit-quick-form select{width:100%;min-height:44px;border:1px solid var(--accent);border-radius:8px;padding:10px;color:inherit;background:var(--surface)}@media(max-width:640px){.account-fields-grid{grid-template-columns:1fr}.credit-toolbar{align-items:stretch;flex-direction:column;top:64px}.account-save-bar,.credit-confirm-bar{bottom:-28px}.credit-presets button{min-height:40px}.account-dialog-tabs button{padding:10px 12px}}


/* self-practice.css */
.sp-levels,.sp-actions,.sp-path{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sp-levels{margin:0 0 20px}.sp-levels [aria-pressed=true]{color:var(--accent);background:var(--surface);border-color:var(--accent)}.sp-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.sp-layout>*,.sp-comparison-grid>*,.sp-shot-grid>*{min-width:0}.sp-feature{padding:26px}.sp-feature-copy h2{font-size:27px;margin:12px 0}.sp-feature-copy p{line-height:1.7}.sp-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:var(--surface)}.sp-frame>img{position:absolute;width:100%;height:300%;max-width:none;object-fit:fill;left:0;top:0}.sp-frame>img.sp-panel-1{transform:translateY(-33.333333%)}.sp-frame>img.sp-panel-2{transform:translateY(-66.666667%)}.sp-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:8px;background:#102032cc;color:var(--text);font-size:15px;overflow-wrap:anywhere}.sp-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.sp-strip small{display:block;margin-top:7px;color:var(--muted)}.sp-actions{margin-top:20px}.sp-path{border-top:1px solid var(--accent);padding-top:20px;margin-top:24px;color:var(--muted);justify-content:space-between;font-size:15px}.sp-depth .skill-depth-levels,.sp-tutor-depth .skill-depth-levels{display:grid;grid-template-columns:1fr}.sp-depth .skill-progression,.sp-tutor-depth .skill-progression{margin:0}.sp-tutor{background:linear-gradient(150deg,var(--surface),var(--surface) 45%);position:sticky;top:20px}.sp-tutor h2{font-size:23px;margin-top:14px}.sp-coach-buttons{display:grid;gap:10px;margin:22px 0}.sp-coach-buttons button{text-align:left}.sp-coach-answer{border:1px solid var(--accent);border-radius:12px;background:var(--surface);padding:16px;margin:18px 0;line-height:1.8;white-space:pre-line}.sp-tutor-depth{margin-top:26px;padding-top:20px;border-top:1px solid var(--accent)}.sp-recommend{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--accent);padding:18px 0}.sp-recommend>div:last-child{display:grid;gap:8px;flex-shrink:0}.sp-workspace{border:0;padding:0;margin:0;min-width:0}.sp-shot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.sp-shot{border:1px solid var(--accent);border-radius:12px;overflow:hidden;background:var(--surface)}.sp-shot .sp-frame{border-radius:0}.sp-shot-body{padding:12px}.sp-shot-body .panel-title{gap:4px;align-items:start}.sp-shot-body .panel-title>div{display:flex;gap:4px}.sp-shot-body button{padding:4px 7px;border:1px solid var(--accent);border-radius:5px;background:var(--surface)}.sp-shot-body strong{font-size:15px}.sp-shot-body label{font-size:15px;margin-top:12px}.sp-shot-body input,.sp-shot-body select{width:100%;min-width:0}.sp-player{margin-top:20px}.sp-player #sp-screen{max-width:700px;margin:0 auto}.sp-player #sp-player-status{color:var(--muted)}.sp-version-list{max-height:290px;overflow:auto}.sp-version-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--accent);padding:10px 0}.sp-version-list small{display:block;color:var(--muted)}.sp-version-list .checkbox-row{margin:0}.sp-comparison{margin-top:24px}.sp-comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sp-comparison-grid>article{padding:18px;border:1px solid var(--accent);border-radius:12px}.sp-comparison .sp-strip{margin:14px 0}.sp-comparison p{overflow-wrap:anywhere}.sp-home-link{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:22px;margin:0 0 22px}.sp-home-link h2{margin:0 0 8px}.sp-home-link p{margin:0;color:var(--muted)}#sp-save-state{font-size:15px;color:var(--muted)}#sp-editor label{display:block}#sp-editor>label{margin-top:15px}#sp-editor>label select,#sp-editor textarea{width:100%}.sp-workspace[disabled]{opacity:.85}.sp-workspace .panel{margin-bottom:20px}
@media(min-width:1450px){.sp-layout{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:1100px){.sp-layout{grid-template-columns:minmax(0,1fr)}.sp-tutor{position:static}.sp-coach-buttons{grid-template-columns:1fr 1fr}.sp-depth .skill-depth-levels{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.sp-shot-grid,.sp-comparison-grid{grid-template-columns:1fr}.sp-feature{padding:17px}.sp-feature-copy h2{font-size:23px}.sp-levels{gap:8px}.sp-levels button{font-size:15px;padding:9px}.sp-depth .skill-depth-levels{grid-template-columns:1fr}.sp-strip{gap:6px}.sp-strip small{font-size:12px}.sp-recommend,.sp-home-link{align-items:stretch;flex-direction:column}.sp-version-list article{align-items:start}.sp-actions button{flex:1 1 auto}.sp-caption{font-size:15px}.sp-tutor{padding:18px}}
/* Guided learning workspace */
.sp-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:var(--surface);border:1px solid var(--accent);border-radius:12px;margin-bottom:20px}.sp-resume small{display:block;color:var(--muted);margin-top:6px}.sp-lesson-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:center}.sp-hero-label{display:block;margin-top:10px;color:var(--muted);font-size:15px}.sp-lesson-hero h2{font-size:28px;margin:10px 0}.sp-lesson-hero p{line-height:1.75}.sp-course-context{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px;color:var(--muted);font-size:15px}.sp-course-context .text-button{font-size:15px}.sp-title{margin-bottom:18px}.sp-title h1{font-size:26px}.sp-steps{display:flex;border:1px solid var(--accent);border-radius:12px;background:var(--surface);margin-bottom:20px;overflow:hidden}.sp-steps button{flex:1;padding:14px 10px;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:10px}.sp-steps button[aria-current=step]{background:var(--surface);color:var(--accent);font-weight:650}.sp-steps span{display:inline-grid;place-items:center;width:24px;height:24px;background:var(--surface);border-radius:50%;font-size:15px}.sp-example-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0}.sp-example-grid article{padding:18px;border:1px solid var(--accent);border-radius:10px}.sp-example-grid p{font-size:15px;line-height:1.7;color:var(--muted);min-height:44px}.sp-player{margin:0}.sp-player-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;font-size:15px;color:var(--muted)}.sp-create-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.sp-create-head label{width:min(380px,70%)}.sp-create-head select{width:100%}.sp-workbench{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:20px}.sp-inspector{background:var(--surface);border-radius:10px;padding:18px}.sp-inspector p{font-size:15px;line-height:1.7;color:var(--muted)}.sp-inspector label{font-size:15px;margin-top:15px}.sp-inspector select,.sp-inspector input{width:100%}.sp-timeline{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:thin}.sp-timeline>article{flex:0 0 190px;border:2px solid transparent;border-radius:10px;background:var(--surface);overflow:hidden}.sp-timeline>article.selected{border-color:var(--accent);background:var(--surface)}.sp-thumb-button{display:block;width:100%;padding:0;background:transparent;text-align:left}.sp-thumb-button span{display:block;padding:10px;font-size:15px;line-height:1.5}.sp-reorder{display:flex;justify-content:space-between;gap:4px;padding:0 8px 8px}.sp-reorder button{background:var(--surface);border:1px solid var(--accent);padding:5px;border-radius:5px;font-size:12px}.sp-coach-inline{background:var(--surface);border:1px solid var(--accent);border-radius:10px;padding:16px;margin:15px 0}.sp-coach-inline p{white-space:pre-line;font-size:15px;line-height:1.8;margin-bottom:0}.sp-coach-inline small{font-size:12px;color:var(--muted);font-weight:400}.sp-library,.sp-reflection,.sp-depth-note{margin-top:20px;border-top:1px solid var(--accent);padding-top:18px}.sp-library summary{cursor:pointer}.sp-library summary small{margin-left:8px;color:var(--muted);font-size:15px}.sp-library-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:16px}.sp-library-grid>button{background:var(--surface);border:1px solid var(--accent);border-radius:8px;overflow:hidden;text-align:left;padding:0 0 8px}.sp-library-grid strong,.sp-library-grid small{display:block;padding:7px 8px 0;font-size:15px}.sp-library-grid small{color:var(--muted);font-size:12px}.sp-library-grid button:disabled{opacity:.58}.sp-reflection textarea{margin-top:12px}.sp-compare-selects{display:flex;gap:16px;margin:16px 0}.sp-compare-selects label{flex:1}.sp-compare-selects select{width:100%}.sp-saved-work{border:1px solid var(--accent);background:var(--surface);border-radius:10px;padding:20px;margin-top:22px}.sp-transfer-tasks article{background:var(--surface);padding:16px;border-radius:8px;margin-top:14px}.sp-transfer-tasks p{font-size:15px;white-space:pre-line;max-height:130px;overflow:auto}.sp-work-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sp-work-cards article{margin:0!important;padding:16px}.sp-work-cards h3{margin:14px 0 8px}.sp-work-cards p{font-size:15px;color:var(--muted)}.sp-work-cards small{display:block;margin-top:10px;color:var(--muted)}.sp-portfolio{margin-bottom:28px}.sp-footnote{font-size:15px;line-height:1.6;color:var(--muted)}.sp-workspace h3 small{font-size:15px;font-weight:400;color:var(--muted)}.student-levels button{min-height:90px!important;padding:14px 18px!important}.student-levels button>span{font-size:15px}.student-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.student-course-grid .theme-card{min-height:0!important;padding:22px!important;gap:12px!important}.student-course-grid .theme-card h3{font-size:21px!important;margin:0!important}.student-course-grid .theme-card p{min-height:0!important;font-size:15px!important;line-height:1.7!important}.student-course-grid .theme-tags{margin-top:8px!important}.student-course-grid .theme-tags span{font-size:12px!important}.student-course-detail h2{font-size:30px}.student-course-goal{font-size:18px;color:var(--muted)}.student-course-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0;line-height:1.75}.student-course-facts p{font-size:15px;color:var(--muted)}.student-course-start{background:var(--surface);border:1px solid var(--accent);padding:22px;border-radius:12px;display:flex;align-items:center;gap:24px;justify-content:space-between;margin-top:22px}.student-course-start h3{margin-top:0}.student-course-start p{line-height:1.7}.student-course-start small{color:var(--muted)}.student-course-start>button{flex-shrink:0}.student-course-more{border-top:1px solid var(--accent);margin-top:22px;padding-top:18px}
@media(max-width:1100px){.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sp-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-work-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sp-lesson-hero,.sp-workbench{grid-template-columns:1fr}.sp-steps button{padding:12px 4px;font-size:15px;gap:5px}.sp-create-head{align-items:stretch;flex-direction:column}.sp-create-head label{width:100%}.sp-inspector{padding:14px}.sp-lesson-hero h2{font-size:24px}.sp-resume,.student-course-start{align-items:stretch;flex-direction:column}.student-course-grid,.student-course-facts,.sp-work-cards{grid-template-columns:1fr!important}.student-levels button{min-height:0!important;padding:10px!important}.student-levels button>span{display:none}.student-levels button small{font-size:12px}.student-course-detail h2{font-size:24px}.student-course-start{padding:16px}.sp-title h1{font-size:24px}.sp-example-grid{grid-template-columns:1fr}.sp-coach-inline .panel-title{gap:8px;flex-wrap:wrap}.sp-timeline>article{flex-basis:160px}.sp-library summary small{display:block;margin:6px 0}.sp-course-context{gap:8px}.sp-compare-selects{gap:8px}.sp-compare-selects label{min-width:0}}
/* Experience pass 2: reachable actions and synchronized feedback. */
.sp-save-bar{position:sticky;bottom:16px;z-index:3;padding:12px 14px;background:var(--surface);border:1px solid var(--accent);box-shadow:0 5px 20px #18365c12;border-radius:10px;justify-content:space-between}.sp-coach-inline>div:last-child{display:flex;gap:14px}.sp-workbench .sp-player #sp-screen{max-width:600px}.sp-inspector h3{margin-top:0}
@media(max-width:700px){.sp-save-bar{bottom:118px;padding:10px;gap:7px}.sp-save-bar #sp-save-state{font-size:12px;max-width:38%;overflow-wrap:anywhere}.sp-save-bar button{font-size:15px;flex:0 1 auto}.sp-inspector p{margin:8px 0}.sp-inspector label{margin-top:10px}.sp-workbench{gap:12px}}


/* prompt-lab.css */
#prompt-lab-dialog{width:min(1060px,calc(100vw - 32px));max-width:none;max-height:92vh;padding:26px;border:1px solid var(--accent);border-radius:16px;color:var(--text);background:var(--surface)}#prompt-lab-dialog::backdrop{background:#0b1f3a80}.pl-header{display:flex;justify-content:space-between;align-items:start;gap:18px}.pl-header h2{font-size:23px;margin:10px 0}.pl-goal{color:var(--muted);font-size:15px;line-height:1.7}.pl-body{border:0;padding:0;min-width:0}.pl-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0 10px}.pl-kinds{display:flex;gap:8px}.pl-kinds button{border:1px solid var(--accent);padding:10px 15px;border-radius:8px;background:var(--surface);color:var(--muted)}.pl-kinds button[aria-pressed=true]{border-color:var(--accent);background:var(--surface);color:var(--accent)}.pl-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.pl-parts>button{border:1px solid var(--accent);border-top:3px solid var(--accent);text-align:left;border-radius:10px;background:var(--surface);padding:14px;min-width:0;color:inherit}.pl-parts>button:nth-child(2){border-top-color:#c49359}.pl-parts>button:nth-child(3){border-top-color:var(--border)}.pl-parts>button:nth-child(4){border-top-color:var(--accent)}.pl-parts>button:nth-child(5){border-top-color:var(--accent)}.pl-parts>button:nth-child(6){border-top-color:var(--border)}.pl-parts>button[aria-pressed=true]{background:var(--surface);box-shadow:0 0 0 1px #3970e9}.pl-parts span{font-weight:650}.pl-parts small{display:block;margin-top:8px;color:var(--muted)}.pl-parts p{font-size:15px;line-height:1.6;margin-bottom:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.pl-editor{padding:18px;background:var(--surface);border-radius:10px}.pl-editor p,.pl-boundary{font-size:15px;line-height:1.7;color:var(--muted)}.pl-editor textarea,.pl-full textarea{box-sizing:border-box;width:100%;margin-top:10px;resize:vertical;font:inherit;line-height:1.7}.pl-full,.pl-history{margin-top:18px}.pl-full summary,.pl-history summary{cursor:pointer}.pl-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:14px 0;margin-top:10px;position:sticky;bottom:-26px;background:var(--surface);z-index:2}.pl-actions [role=status]{font-size:15px;color:var(--muted);overflow-wrap:anywhere}.pl-analysis,.pl-applied{margin:18px 0;background:var(--surface);border:1px solid var(--accent);border-radius:12px;padding:18px}.pl-analysis article,.pl-history article{border-bottom:1px solid var(--accent);padding:12px 0}.pl-analysis p,.pl-history p{line-height:1.7;font-size:15px;overflow-wrap:anywhere}.pl-diff{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pl-diff>div{background:var(--surface);padding:12px;border-radius:8px;min-width:0}.pl-diff small{color:var(--muted)}.pl-history>div{max-height:340px;overflow:auto}.pl-entry{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);margin-top:20px}.pl-entry p{margin:6px 0;font-size:15px;color:var(--muted);line-height:1.6}.pl-entry button{flex-shrink:0}.pl-inspector-button{margin-top:18px;width:100%}.pl-boundary{margin-top:18px}#prompt-lab-dialog button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:650px){#prompt-lab-dialog{padding:16px;width:calc(100vw - 18px);max-height:95vh}.pl-header h2{font-size:19px}.pl-parts{grid-template-columns:1fr 1fr;gap:8px}.pl-parts>button{padding:10px}.pl-parts small{font-size:12px}.pl-parts p{font-size:15px;-webkit-line-clamp:2}.pl-diff{grid-template-columns:1fr}.pl-entry{align-items:stretch;flex-direction:column}.pl-actions{bottom:-16px;gap:8px}.pl-actions button{font-size:15px}.pl-toolbar .pill{font-size:12px}.pl-goal{font-size:15px}}


/* activities.css */
.activity-hub{max-width:1380px;margin:auto;color:var(--event-ink)}
.activity-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 0 30px;gap:20px}.activity-kicker{font-size:12px;font-weight:650;letter-spacing:.19em;color:var(--muted)}.activity-heading h1{font-size:32px;letter-spacing:-.035em;margin:9px 0 0;font-weight:650;display:flex;align-items:center;gap:12px}.activity-heading-dot{width:9px;height:9px;background:#c88867;border-radius:50%;display:inline-block}.activity-hub .primary{background:var(--selected)}.activity-hub .primary:hover{background:var(--selected)}.activity-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:22px}.activity-tabs{display:flex;border-bottom:1px solid var(--accent);gap:24px;align-self:stretch}.activity-tabs button{background:none;padding:12px 0 14px;color:var(--muted);border-bottom:2px solid transparent;font-size:15px;white-space:nowrap}.activity-tabs button.active{color:var(--text);font-weight:650;border-bottom-color:var(--accent)}.activity-selectors{display:flex;gap:9px;flex-wrap:wrap}.activity-hub .activity-selectors input,.activity-selectors select{margin:0;width:auto;border:1px solid var(--accent);background:var(--surface);border-radius:10px;font-size:15px;min-height:39px;color:var(--muted);padding:8px 12px}.activity-hub .activity-selectors input{width:166px}.activity-selectors select{max-width:150px}
.activity-calendar{border:1px solid var(--accent);border-radius:18px;background:linear-gradient(120deg,var(--surface),var(--surface));padding:18px 22px 20px;box-shadow:0 7px 22px #27345a03}.activity-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.activity-calendar-head>div{display:flex;align-items:center;gap:15px}.activity-calendar-head strong{font-size:15px;font-variant-numeric:tabular-nums}.activity-calendar-head span{font-size:12px;color:var(--muted)}.activity-calendar-head .text-button{padding:5px;color:var(--muted);font-size:15px}.calendar-toggle{padding:7px 15px;background:var(--surface);border-radius:7px;color:var(--muted);font-size:15px}.activity-week,.activity-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.activity-day{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--muted);padding:12px 5px;min-width:0}.activity-day>span{font-size:12px}.activity-day strong{font-size:23px;font-weight:550;color:var(--accent);font-variant-numeric:tabular-nums}.activity-day small{font-size:12px;height:16px;color:var(--text)}.activity-day small.available{color:var(--accent)}.activity-day:hover{background:var(--surface)}.activity-day.today{border-color:var(--accent)}.activity-day.selected{background:var(--selected);border-color:var(--accent);box-shadow:0 6px 15px #475ca823}.activity-day.selected>span,.activity-day.selected strong,.activity-day.selected small{color:var(--text)}.activity-day.outside{opacity:.35}.activity-month .activity-day{padding:7px 3px;gap:4px}.activity-month .activity-day strong{font-size:18px}
.activity-results-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px;gap:12px}.activity-results-head h2{font-size:18px;font-weight:600;margin:0;display:flex;gap:12px;align-items:center}.activity-results-head h2 small{font-weight:400;color:var(--muted);font-size:15px}.activity-results-head>div{display:flex;gap:12px}.activity-results-head .text-button{font-size:15px;color:var(--muted);padding:5px 0}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.activity-card{min-width:0;border:1px solid var(--accent);border-radius:18px;background:var(--surface);overflow:hidden;box-shadow:0 7px 25px #25335304;transition:box-shadow .2s,transform .2s}.activity-card:hover{box-shadow:0 13px 35px #25335310;transform:translateY(-2px)}.activity-cover{width:100%;aspect-ratio:16/9;display:block;padding:0;position:relative;overflow:hidden;text-align:left;background:var(--surface);border:0;color:inherit;border-radius:0}.activity-cover-img{width:100%;height:100%;object-fit:cover;display:block}.activity-cover-badge{position:absolute;top:15px;left:15px;border-radius:20px;padding:6px 12px;background:#fffef5ed;color:var(--muted);font-size:12px;box-shadow:0 2px 8px #19294708}.activity-series{position:absolute;bottom:14px;right:16px;font-size:12px;letter-spacing:.1em;color:var(--text);background:#15213a88;border-radius:5px;padding:5px 7px}
.activity-art{width:100%;height:100%;min-height:150px;position:relative;overflow:hidden;isolation:isolate;background:var(--surface);color:var(--text);padding:10% 9% 7%;display:flex;flex-direction:column;justify-content:center}.activity-art:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,#fff6,transparent 65%);z-index:-1}.activity-art.tone-1{background:var(--surface);color:var(--accent)}.activity-art.tone-2{background:var(--surface);color:var(--text)}.activity-art strong{font-family:Georgia,serif;font-size:clamp(28px,3.3vw,52px);font-weight:400;letter-spacing:-.06em;line-height:.98;position:relative;z-index:1;margin-top:9px}.art-label{font-size:12px;letter-spacing:.2em;position:relative;z-index:1}.art-foot{font-size:12px;letter-spacing:.13em;position:absolute;bottom:8%;left:9%;opacity:.65}.art-orbit{position:absolute;border:1px solid #687b924d;width:64%;aspect-ratio:1;border-radius:50%;right:-8%;top:10%;transform:rotate(-30deg);z-index:-1}.orbit-two{width:46%;top:28%;right:1%;border-width:22px;border-color:#889aaf35}.tone-1 .art-orbit{border-color:#9d664b33}.tone-1 .orbit-two{border-color:#b5835733}.tone-2 .art-orbit{border-color:#5b7c5733}.tone-2 .orbit-two{border-color:#63876033}.art-lines{position:absolute;inset:0 0 0 56%;background:repeating-linear-gradient(90deg,transparent 0 22px,#fff3 22px 23px);transform:skew(-18deg);z-index:-1}
.activity-card-body{padding:22px 24px 20px}.activity-card-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;gap:10px;margin-bottom:17px}.activity-card-meta>span:first-child{color:var(--accent)}.activity-title-row{display:flex;gap:16px;align-items:center;margin-bottom:16px}.activity-date-stamp{border-right:1px solid var(--accent);padding-right:16px;flex-shrink:0;min-width:50px;text-align:center}.activity-date-stamp span{font-size:12px;color:var(--muted);display:block}.activity-date-stamp strong{font-size:26px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.25;color:var(--accent)}.activity-title-row>div:last-child{min-width:0}.activity-title-row h2{font-size:18px;line-height:1.45;margin:0 0 5px;letter-spacing:-.02em;overflow-wrap:anywhere}.activity-title-row h2 button{padding:0;background:none;color:inherit;text-align:left;font:inherit}.activity-title-row p{margin:0;color:var(--muted);font-size:15px;font-variant-numeric:tabular-nums}.activity-address{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 17px;overflow-wrap:anywhere}.activity-capacity{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.activity-capacity strong{font-size:15px;color:var(--muted);font-weight:600}.activity-card progress{width:100%;height:3px;border:0;border-radius:4px;overflow:hidden;display:block;margin-top:10px;appearance:none;background:var(--surface)}.activity-card progress::-webkit-progress-bar{background:var(--surface)}.activity-card progress::-webkit-progress-value{background:var(--selected)}.activity-card progress::-moz-progress-bar{background:var(--selected)}.activity-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:20px}.activity-card-actions .primary,.activity-card-actions .secondary{font-size:15px;min-height:38px;padding:9px 15px}.activity-card-actions>.text-button{font-size:12px;padding:6px 2px}.activity-enrolled{background:var(--surface);border-radius:7px;padding:10px 12px;color:var(--muted);font-size:12px;line-height:1.8;margin:16px 0 0}.activity-timezone{text-align:right;font-size:12px;color:var(--muted);margin:18px 0}.activity-empty{grid-column:1/-1;padding:50px 20px;text-align:center;background:var(--surface);border:1px dashed var(--accent);border-radius:16px}.activity-empty>span{font-size:40px;color:var(--accent)}.activity-empty h2{font-size:16px;color:var(--muted);margin:12px 0 20px}
.activity-upload{padding:16px;background:var(--surface);border:1px dashed var(--accent);border-radius:12px;margin-bottom:22px}.activity-upload>label{display:inline-flex;position:relative;overflow:hidden;cursor:pointer;margin:12px 8px 8px 0}.activity-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.activity-upload small{display:block;color:var(--muted);font-size:12px;line-height:1.6}.activity-upload .text-button{font-size:12px}#activity-cover-preview{height:130px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:var(--surface);color:var(--muted);font-size:20px;letter-spacing:.12em}#activity-cover-preview img{width:100%;height:130px;object-fit:contain}.activity-detail .activity-full-cover{width:100%;height:auto;max-height:65vh;object-fit:contain;display:block;background:var(--surface);border-radius:12px;margin-bottom:24px}.activity-detail>.activity-art{height:250px;border-radius:12px;margin-bottom:22px}.activity-detail-description{white-space:pre-wrap;overflow-wrap:anywhere}.activity-detail h2{line-height:1.5}
@media(min-width:1700px){.activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.activity-art strong{font-size:44px}}
@media(max-width:1050px){.activity-grid{gap:18px}.activity-card-body{padding:18px}.activity-title-row{gap:12px}.activity-title-row h2{font-size:16px}.activity-art strong{font-size:34px}}
@media(max-width:760px){.activity-grid{grid-template-columns:1fr}.activity-controls{display:block}.activity-selectors{margin-top:16px}.activity-hub .activity-selectors input{flex:1;min-width:110px;width:100px}.activity-selectors select{min-width:0;max-width:110px;flex:1;font-size:12px;padding:8px}.activity-tabs{gap:25px}.activity-heading{margin-bottom:20px}.activity-heading h1{font-size:26px}.activity-kicker{font-size:12px}.activity-calendar{padding:14px 10px;border-radius:14px}.activity-calendar-head{padding:0 3px}.activity-calendar-head strong{font-size:15px}.activity-calendar-head>div{gap:8px}.activity-calendar-head span{display:none}.activity-calendar-head .text-button{font-size:12px}.calendar-toggle{padding:6px 10px;font-size:12px}.activity-week,.activity-month{gap:2px}.activity-day{gap:6px;padding:11px 0}.activity-day strong{font-size:20px}.activity-day>span{font-size:12px}.activity-day small{font-size:12px}.activity-results-head{margin-top:24px}.activity-results-head h2{font-size:16px}.activity-art strong{font-size:45px}.activity-card-body{padding:20px}.activity-title-row h2{font-size:18px}.activity-card-actions .primary{flex:1}.activity-card{border-radius:16px}.activity-heading>.primary{font-size:15px;padding:10px 12px}.activity-hub{padding-bottom:16px}.activity-detail>.activity-art{height:200px}}


/* schedule.css */
.schedule-hub{color:var(--text)}.schedule-heading,.camp-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.schedule-heading h1{font-size:30px;margin:8px 0 0}.schedule-tabs{display:flex;gap:28px;border-bottom:1px solid var(--schedule-line);margin-bottom:24px}.schedule-tabs>button{background:none;border:0;border-radius:0;padding:13px 2px;color:var(--muted);font-weight:600;display:flex;gap:8px;align-items:center;border-bottom:3px solid transparent}.schedule-tabs>button.active{color:var(--accent);border-color:var(--accent)}.schedule-badge{border-radius:12px;padding:1px 6px;font-size:12px;color:var(--text);background:#bd8063}.schedule-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.schedule-week-nav,.schedule-toolbar-filters,.schedule-view-switch{display:flex;align-items:center;gap:8px}.schedule-week-nav{border:1px solid var(--schedule-line);border-radius:9px;background:var(--surface);padding:4px}.schedule-week-nav strong{font-size:15px;white-space:nowrap}.schedule-week-nav button{border:0;background:var(--surface);padding:7px 10px;color:var(--muted)}.schedule-week-nav button:last-child{border-left:1px solid var(--schedule-line)}.schedule-toolbar-filters{flex-wrap:wrap}.schedule-hub .schedule-toolbar select{width:auto;margin:0;padding:9px 26px 9px 10px;font-size:15px}.schedule-view-switch{gap:2px;border:1px solid var(--schedule-line);border-radius:7px;padding:3px;background:var(--surface)}.schedule-view-switch button{border:0;background:transparent;padding:7px 11px;font-size:15px}.schedule-view-switch .active{background:var(--selected);color:var(--text)}.schedule-toolbar .text-button{font-size:15px}.schedule-grid-scroll{max-height:580px;overflow:auto;border:1px solid var(--schedule-line);border-radius:12px;background:var(--surface);scrollbar-width:thin}.schedule-grid{min-width:700px}.schedule-grid-head{display:grid;grid-template-columns:58px repeat(7,minmax(0,1fr));position:sticky;top:0;z-index:3;background:var(--surface);border-bottom:1px solid var(--schedule-line)}.schedule-grid-head>div,.schedule-grid-head>span{padding:14px 4px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:15px;border-left:1px solid var(--schedule-line)}.schedule-grid-head strong{font-size:18px}.schedule-grid-head .today{background:var(--surface);color:var(--accent)}.schedule-grid-body{display:grid;grid-template-columns:58px repeat(7,minmax(0,1fr));position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 63px,var(--surface) 63px,var(--surface) 64px)}.schedule-time-axis,.schedule-day-column{position:relative;min-width:0}.schedule-time-axis span{position:absolute;left:7px;font-size:12px;color:var(--muted);padding-top:5px}.schedule-day-column{border-left:1px solid var(--schedule-line)}.schedule-block{position:absolute;background:var(--surface);border:1px solid var(--accent);border-radius:6px;text-align:left;overflow:hidden;padding:6px 5px;color:var(--accent);display:flex;flex-direction:column;gap:4px;line-height:1.35;min-width:0;min-height:0;transition:box-shadow .15s}.schedule-block strong{font-size:15px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.schedule-block small,.schedule-block span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-block.enrolled{background:var(--surface);color:var(--accent);border-color:var(--accent)}.schedule-block.camp-block{background:var(--surface);color:#916232;border-color:var(--accent)}.schedule-block.cancelled{background:var(--surface);color:var(--muted)}.schedule-block.selected,.schedule-block:focus-visible{outline:2px solid var(--accent);outline-offset:0;z-index:2}.schedule-block.compact{padding:2px 4px}.schedule-block.compact small,.schedule-block.compact span{display:none}.schedule-week-summary{padding:14px 4px;font-size:15px;color:var(--muted)}.schedule-selected{padding:16px;background:var(--surface);border:1px solid var(--schedule-line);border-radius:12px}.schedule-selected>.eyebrow{font-size:12px}.schedule-selected .schedule-card{margin:8px 0 0;background:var(--surface);box-shadow:none}.schedule-hub .schedule-card h2{font-size:19px}.schedule-hub .schedule-card{padding:20px}.schedule-list-caption{padding:0 0 14px;font-size:15px;color:var(--muted)}.schedule-timezone{text-align:right;font-size:12px;color:var(--muted);margin-top:16px}.schedule-empty{padding:32px;text-align:center;color:var(--muted);border:1px dashed var(--schedule-line);border-radius:10px}.schedule-mobile{display:none}.schedule-mobile-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:16px}.schedule-mobile-days button{padding:9px 2px;background:var(--surface);border:1px solid var(--schedule-line);display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted)}.schedule-mobile-days button strong{font-size:18px;color:var(--text)}.schedule-mobile-days button small{font-size:12px}.schedule-mobile-days button.selected{background:var(--selected);color:var(--text)}.schedule-mobile-days button.selected strong{color:var(--text)}
.camp-qualifications{margin-bottom:22px;display:grid;gap:12px}.camp-qualification{padding:20px;border:1px solid var(--accent);background:linear-gradient(110deg,var(--surface),var(--surface));border-radius:12px;display:flex;align-items:center;gap:16px}.camp-symbol{font-size:36px;color:var(--accent)}.camp-card-copy{min-width:0;flex:1}.camp-eyebrow{font-size:15px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-weight:600}.camp-eyebrow .pill{font-size:12px}.camp-eyebrow .camp-pending{background:var(--surface);color:#a77033}.camp-card-copy h3{font-size:18px;margin:10px 0;overflow-wrap:anywhere}.camp-card-copy p{margin:4px 0;font-size:15px;color:var(--muted);overflow-wrap:anywhere}.camp-card-copy small{font-size:12px;color:#a77033}.camp-card-actions{display:flex;flex-direction:column;gap:8px}.camp-card-actions button{font-size:15px;white-space:nowrap}.camp-empty{display:flex;gap:14px;padding:18px;background:var(--surface);border-radius:10px;font-size:15px;color:var(--muted)}.camp-notification{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--surface);border:1px solid var(--accent);border-radius:10px;padding:14px 18px;margin-bottom:16px;font-size:15px;color:var(--accent)}.camp-notification .text-button{margin-left:auto;font-size:15px}.camp-unread{width:7px;height:7px;border-radius:50%;background:var(--selected)}.camp-admin-heading h2{margin:0;font-size:23px}.camp-admin-heading p{margin:6px 0 0}.camp-admin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.camp-admin-card{margin:0}.camp-admin-card h3{font-size:20px}.camp-admin-card p{font-size:15px;overflow-wrap:anywhere}.camp-count strong{color:var(--accent)}.camp-learner-picker{max-height:270px;overflow:auto;border:1px solid var(--accent);border-radius:9px;padding:6px;margin:14px 0}.camp-learner-option{display:flex;gap:12px;align-items:center;padding:10px;border-bottom:1px solid var(--accent);margin:0}.camp-learner-option[hidden]{display:none}.camp-learner-option small{display:block;margin-top:4px;color:var(--muted);font-size:12px}.camp-learner-option input{flex:none}.camp-grant-list article{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid var(--accent)}.camp-grant-list small{display:block;font-size:15px;color:var(--muted);margin-top:5px}.camp-roster-title{margin-top:24px}.camp-description{white-space:pre-wrap;overflow-wrap:anywhere}.schedule-camp-entry h2{font-size:19px}.schedule-camp-entry p{font-size:15px}
@media(max-width:760px){.schedule-desktop{display:none}.schedule-mobile{display:block}.schedule-heading h1{font-size:25px}.schedule-heading>button{font-size:15px;padding:9px}.schedule-tabs{gap:24px;margin-bottom:18px}.schedule-tabs>button{font-size:15px}.schedule-toolbar{align-items:stretch;gap:12px}.schedule-week-nav{width:100%;justify-content:space-between}.schedule-week-nav strong{font-size:15px}.schedule-toolbar-filters{width:100%;gap:6px}.schedule-toolbar-filters .schedule-view-switch{display:none}.schedule-hub .schedule-toolbar select{max-width:130px;flex:1;font-size:12px}.schedule-toolbar .text-button{margin-left:auto}.schedule-hub .schedule-card{padding:16px}.schedule-hub .schedule-card h2{font-size:17px}.camp-qualification{align-items:flex-start;flex-wrap:wrap;padding:16px;gap:10px}.camp-symbol{font-size:27px}.camp-card-copy{flex-basis:calc(100% - 42px)}.camp-card-copy h3{font-size:16px;line-height:1.5}.camp-card-actions{flex-direction:row;width:100%;justify-content:flex-end}.camp-card-actions button{padding:8px 12px}.camp-eyebrow{font-size:12px;gap:5px}.camp-empty{flex-direction:column;gap:6px}.camp-admin-list{grid-template-columns:1fr}.camp-admin-heading h2{font-size:19px}.camp-admin-heading .primary{font-size:15px;padding:9px}.camp-admin-heading p{font-size:15px}.camp-notification{font-size:15px;padding:12px}.camp-notification .text-button{margin-left:0}}

.schedule-camp-row{display:grid;grid-template-columns:58px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--accent);background:var(--surface)}.schedule-camp-row>span{font-size:12px;color:var(--accent);padding:12px 5px}.schedule-camp-row>div{border-left:1px solid var(--accent);padding:4px;display:flex;flex-direction:column;gap:4px;min-width:0}.schedule-camp-row button{background:var(--surface);border:1px solid var(--accent);color:#916232;padding:7px 5px;font-size:12px;text-align:left;overflow-wrap:anywhere;line-height:1.4}
/* Online weekly grid and offline chronological schedule remain visibly distinct. */
.online-schedule{background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:20px;margin-bottom:24px}.schedule-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.schedule-section-heading h2,.offline-heading h2{margin:0;font-size:21px}.schedule-section-icon{color:var(--accent);font-size:24px}.online-schedule .schedule-grid-scroll{max-height:400px}.online-schedule .schedule-grid-head>div,.online-schedule .schedule-grid-head>span{padding:10px 4px}.online-schedule .schedule-grid-body{background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,var(--surface) 47px,var(--surface) 48px)}.online-schedule .schedule-week-summary{padding-bottom:0}.schedule-view-switch button{border-radius:5px}
.offline-schedule{background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:20px}.offline-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.offline-heading>div{display:grid;grid-template-columns:28px auto;gap:4px 10px;align-items:center}.offline-heading .schedule-section-icon{color:#b88745;grid-row:span 2}.offline-heading p{margin:0;font-size:15px;color:var(--muted)}.offline-toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:20px}.camp-months{display:flex;gap:6px;overflow:auto;padding-bottom:4px;scrollbar-width:thin}.camp-months button{white-space:nowrap;border:1px solid var(--accent);background:var(--surface);border-radius:6px;color:var(--muted);padding:8px 12px;font-size:15px}.camp-months button.active{background:#b88848;border-color:#b88848;color:var(--text)}.offline-toolbar select{width:auto;max-width:150px;margin:0;padding:8px 12px;font-size:15px}.offline-timeline{display:grid;gap:12px}.camp-schedule-row{display:flex;gap:20px;align-items:center;border:1px solid var(--accent);border-radius:10px;padding:18px;background:var(--surface);min-width:0}.offline-date{flex:0 0 110px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:8px;border-right:1px solid var(--accent);position:relative;padding-right:16px;color:var(--text)}.offline-date:after{content:'';position:absolute;right:-5px;top:50%;width:9px;height:9px;border-radius:50%;background:#bd8c4b;box-shadow:0 0 0 4px #fff}.offline-date>span{font-size:12px;color:var(--muted)}.offline-date strong{font-size:18px;line-height:1.5;display:flex;flex-direction:column}.offline-date i{font-style:normal;font-size:15px;line-height:1;color:var(--muted)}.offline-date small{font-size:12px;color:var(--muted)}.camp-thumbnail{padding:0;border:0;background:var(--surface);width:142px;height:100px;flex:none;border-radius:8px;overflow:hidden}.camp-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.camp-row-copy{flex:1;min-width:0}.camp-row-copy h3{margin:10px 0 7px;font-size:18px;overflow-wrap:anywhere}.camp-row-copy h3 button{border:0;background:none;padding:0;text-align:left;font:inherit;color:inherit}.camp-row-copy p{font-size:15px;color:var(--muted);margin:5px 0;overflow-wrap:anywhere}.camp-row-copy>small{display:block;font-size:12px;color:var(--muted);margin-top:8px}.camp-tag{display:inline-block;border-radius:15px;background:var(--surface);color:#976a33;padding:4px 10px;font-size:12px}.camp-state{display:inline-block;font-size:12px;color:#a6763b;background:var(--surface);border-radius:5px;padding:5px 8px;margin-top:5px}.camp-state.confirmed{background:var(--surface);color:var(--muted)}.camp-change{color:#a9733f!important}.camp-row-actions{display:flex;flex-direction:column;gap:9px;align-items:stretch;flex:none}.camp-row-actions button{font-size:15px;white-space:nowrap}.camp-primary{background:#b78542;color:var(--accent-ink);border:1px solid #b78542;border-radius:7px;padding:11px 15px;font-weight:600}.camp-primary:hover{background:#a57333}.camp-primary:disabled{opacity:.5}.camp-art{height:100%;width:100%;position:relative;overflow:hidden;background:linear-gradient(145deg,var(--selected),var(--selected) 60%,var(--selected));display:grid;place-items:center}.camp-art:before{content:'';position:absolute;inset:-50%;background:repeating-linear-gradient(120deg,transparent 0 40px,#ffffff0c 40px 41px)}.camp-art-frame{width:50%;height:55%;border:2px solid #d6be9070;border-radius:5px;box-shadow:10px 8px 0 #0c192344}.camp-art-lens{position:absolute;width:30px;height:30px;border:5px double #d6be90aa;border-radius:50%;box-shadow:0 0 0 9px #0c19234a}.camp-detail-cover{height:170px;overflow:hidden;border-radius:9px;margin-bottom:20px}.camp-detail-cover img{width:100%;height:100%;object-fit:cover}.camp-detail h3{font-size:23px;margin:0 0 12px}.camp-detail dl{display:grid;grid-template-columns:40px 1fr;gap:12px;font-size:15px;margin:20px 0}.camp-detail dt{color:var(--muted)}.camp-detail dd{margin:0;overflow-wrap:anywhere}.camp-description{font-size:15px;line-height:1.7}.camp-steps{display:flex;list-style:none;padding:15px 0;margin:16px 0;gap:8px;border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);font-size:15px;color:var(--muted);counter-reset:campstep}.camp-steps li{flex:1;display:flex;align-items:center;gap:7px}.camp-steps li:before{counter-increment:campstep;content:counter(campstep);display:grid;place-items:center;flex:none;width:23px;height:23px;background:var(--surface);border-radius:50%}.camp-dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin:18px 0 10px}.camp-detail>.muted{font-size:15px}.camp-application-status{padding:13px;background:var(--surface);border-radius:8px;font-size:15px}.camp-application-status p{margin:8px 0 0;font-size:15px}.camp-upload{padding:14px;background:var(--surface);border-radius:9px;margin-bottom:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.camp-upload input[type=file]{max-width:240px;font-size:15px;margin:6px 0 0;padding:0;border:0}.camp-upload label{margin:0;font-size:15px}.camp-upload small{width:100%;color:var(--muted);font-size:12px}#camp-cover-preview{width:120px;height:76px;display:grid;place-items:center;background:var(--surface);border-radius:7px;overflow:hidden;font-size:15px;color:var(--muted)}#camp-cover-preview img{width:100%;height:100%;object-fit:cover}.camp-check{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:15px}.camp-check input{width:16px;height:16px;flex:none;margin:0}.camp-review-person{padding:18px 0;border-top:1px solid var(--accent)}.camp-review-person header{display:flex;justify-content:space-between;align-items:center;gap:8px}.camp-review-person>p,.camp-review-person>small{font-size:15px;color:var(--muted);overflow-wrap:anywhere}.camp-review{margin-top:14px}.camp-review textarea{min-height:60px}.camp-review-actions{display:flex;gap:9px;flex-wrap:wrap}.camp-review-actions button{font-size:15px;padding:8px 11px}.camp-redemption{color:var(--muted)!important}
@media(max-width:1100px){.camp-thumbnail{width:104px;height:85px}.camp-schedule-row{gap:14px}.offline-date{flex-basis:85px}.camp-row-copy h3{font-size:16px}}
@media(max-width:760px){.online-schedule,.offline-schedule{padding:14px;border-radius:11px}.offline-heading{align-items:flex-start}.offline-heading h2,.schedule-section-heading h2{font-size:18px}.offline-heading p{font-size:12px}.offline-heading>.camp-primary{padding:8px;font-size:12px}.offline-toolbar{gap:8px;align-items:flex-start}.offline-toolbar select{max-width:100px;font-size:12px}.camp-months{flex:1;min-width:0}.camp-months button{font-size:12px;padding:8px}.camp-schedule-row{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:13px}.offline-date{grid-row:span 2;padding-right:8px}.offline-date strong{font-size:16px}.camp-thumbnail{grid-column:2;width:100%;height:105px}.camp-row-copy{grid-column:2}.camp-row-copy h3{font-size:16px;line-height:1.5}.camp-row-actions{grid-column:2;flex-direction:row;flex-wrap:wrap}.camp-row-actions button{font-size:12px;padding:9px}.offline-class-row .camp-row-copy{grid-row:1}.offline-class-row>button{grid-column:2;font-size:15px}.camp-detail h3{font-size:20px}.camp-detail-cover{height:140px}.camp-detail dl{font-size:15px;grid-template-columns:32px 1fr}.camp-steps{font-size:12px;gap:4px}.camp-steps li{gap:4px}.camp-steps li:before{width:19px;height:19px}.camp-upload{padding:10px}.camp-upload input[type=file]{max-width:180px}}
/* Mobile discovery keeps region selection and the route to offline classes visible. */
.schedule-jump{display:flex;gap:10px;margin:0 0 16px}.schedule-jump button{min-height:44px;padding:10px 16px;border:1px solid var(--border);background:var(--surface);color:#85602d;border-radius:9px;font-size:15px}.schedule-jump button:first-child{background:var(--surface);border-color:var(--accent);color:var(--accent)}.offline-schedule{scroll-margin-top:16px}.offline-discovery{padding:16px;background:var(--surface);border-radius:10px;margin-bottom:16px}.offline-discovery-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.offline-discovery-fields label{margin:0;font-size:15px;color:var(--accent)}.offline-discovery-fields select{margin:7px 0 0;min-height:44px;padding:9px;font-size:15px;background:var(--surface)}.offline-recommendation{font-size:15px;line-height:1.6;color:#76572e;margin:12px 0 4px}.offline-discovery>small{font-size:12px;color:var(--muted)}.offline-proximity{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.offline-proximity.local{color:var(--accent);font-weight:600}.offline-toolbar select{min-height:44px}.camp-months button{min-height:44px}.form-columns[hidden]{display:none!important}
@media(max-width:760px){.schedule-jump{position:sticky;top:0;z-index:3;background:var(--surface);padding:8px 0;margin-top:-4px}.schedule-jump button{flex:1;padding:10px 6px}.offline-schedule{scroll-margin-top:70px}.offline-discovery{padding:12px}.offline-discovery-fields{gap:8px}.offline-discovery-fields select{width:100%;min-width:0}.camp-row-actions button,.offline-class-row>button{min-height:44px;font-size:15px}.camp-row-actions{grid-column:1/-1}.camp-row-actions button{width:100%}.offline-class-row>button{grid-column:1/-1}.camp-thumbnail{height:112px}.camp-schedule-row{gap:12px 10px}.camp-row-copy p{line-height:1.6}.camp-row-copy h3{margin-top:8px}.offline-toolbar{flex-wrap:wrap}.camp-months{flex-basis:100%}.offline-toolbar select{max-width:none;width:100%;font-size:15px}.camp-dialog-actions button{min-height:44px}}
@media(max-width:760px){.offline-toolbar{flex-wrap:nowrap;align-items:center}.camp-months{flex:1;min-width:0}.offline-toolbar select{width:108px;max-width:108px;font-size:15px;padding:9px 5px}.camp-thumbnail{height:80px}.offline-discovery{margin-bottom:12px}.offline-toolbar{margin-bottom:14px}}
/* v0.12 learner pages: separate channels, compact reminders and mobile agendas. */
.schedule-channel{display:flex;gap:6px;margin:4px 0 12px;background:var(--surface);border-radius:10px;padding:4px}.schedule-channel button{flex:1;min-height:44px;border:0;background:transparent;color:var(--muted);border-radius:7px;font-weight:600;font-size:15px}.schedule-channel .active{background:var(--selected);color:var(--text);box-shadow:0 2px 5px #34478c16}.schedule-channel .offline-active{background:var(--surface);color:#694b21}.learner-schedule .schedule-heading .eyebrow{display:none}.learner-schedule .schedule-heading{margin-bottom:14px}.learner-schedule .schedule-heading h1{font-size:26px}.learner-schedule .online-schedule{padding:0;border:0;background:transparent}.learner-schedule .schedule-section-heading,.learner-offline .offline-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.learner-schedule .schedule-tabs{margin-bottom:16px}.learner-schedule .schedule-tabs button{padding:12px 8px}.learner-schedule .schedule-timezone{font-size:12px}.preview-label{font-size:12px;color:var(--muted);margin:0 0 6px;text-align:right}.compact-reminder.class-reminders{display:flex;align-items:center;gap:10px;background:var(--surface);border:0;border-radius:9px;padding:11px 13px;margin:0 0 16px;min-width:0}.compact-reminder.class-reminders button{margin:0;border:0;background:transparent;padding:0;color:var(--accent)}.reminder-bell{display:flex;flex:none;color:var(--accent)}.reminder-main{flex:1;text-align:left;min-width:0;min-height:40px;display:flex;flex-direction:column;justify-content:center;gap:4px}.reminder-main strong{font-size:15px;font-weight:600}.reminder-main span{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.compact-reminder .reminder-more{font-size:12px;min-height:44px;white-space:nowrap}.reminder-list{display:grid;gap:10px}.reminder-list button{text-align:left;background:var(--surface);border:1px solid var(--accent);border-radius:9px;padding:14px;display:grid;gap:8px;color:var(--accent)}.reminder-list span{overflow-wrap:anywhere}.reminder-list small{color:var(--muted)}.schedule-filter-panel{position:relative}.schedule-filter-panel summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;font-size:15px;color:var(--muted);list-style:none}.schedule-filter-panel summary:before{content:'☷';font-size:18px}.schedule-filter-panel[open] .schedule-toolbar-filters{display:flex}.course-mini-list{display:grid;gap:9px}.course-mini-heading{font-size:15px;font-weight:600;margin:4px 0 6px;color:var(--text)}.course-mini{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 12px;background:var(--surface);border:1px solid var(--accent);border-radius:11px;min-width:0}.course-mini-time{display:grid;gap:7px;border-right:1px solid var(--accent);align-self:stretch;align-content:center;color:var(--muted)}.course-mini-time strong{color:var(--text);font-size:15px}.course-mini-time span{font-size:15px}.course-mini-time small{font-size:12px}.course-mini-copy{min-width:0}.course-mini-copy h3{font-size:15px;margin:0 0 8px;line-height:1.55}.course-mini-copy h3 button{border:0;background:none;padding:0;text-align:left;color:var(--text);font:inherit;overflow-wrap:anywhere}.course-mini-copy p{font-size:12px;line-height:1.5;margin:0;color:var(--muted);overflow-wrap:anywhere}.course-mini-action{display:grid;justify-items:end;gap:6px}.course-mini-action>span{font-size:12px;color:var(--muted);max-width:74px}.course-mini-action .enrolled{color:var(--accent);background:var(--surface);padding:3px 6px;border-radius:6px}.course-mini-action button{font-size:15px;min-height:44px;min-width:54px;padding:8px;border-radius:7px;white-space:nowrap}.course-history summary{cursor:pointer;display:flex;justify-content:space-between;padding:18px 14px;background:var(--surface);border-radius:9px;color:var(--muted);font-size:15px;list-style:none}.course-history summary:after{content:'›'}.course-history[open]{display:grid;gap:8px}.course-history .course-mini{margin-top:8px;opacity:.8}.learner-offline.offline-schedule{padding:0;border:0;background:transparent}.learner-offline .offline-discovery{background:none;padding:0;border-radius:0;margin-bottom:10px}.learner-offline .offline-discovery-fields{display:flex;align-items:center;justify-content:space-between;gap:10px}.offline-location-picker{display:flex;align-items:center;gap:5px;min-width:0}.learner-offline .offline-location-picker select{border:0;background:transparent;margin:0;font-size:15px;font-weight:600;max-width:170px;padding:10px 3px;color:var(--text)}.offline-location-picker>span{font-size:24px;color:var(--accent)}.offline-filter-panel{position:relative;flex:none}.offline-filter-panel summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:15px;color:var(--muted);list-style:none}.offline-filter-panel>div{position:absolute;right:0;top:44px;z-index:5;width:min(280px,calc(100vw - 40px));padding:16px;background:var(--surface);border:1px solid var(--accent);box-shadow:0 12px 32px #2436571f;border-radius:12px}.offline-filter-panel label{font-size:15px;margin-bottom:10px;display:block}.offline-filter-panel select{width:100%;min-height:44px}.offline-filter-panel small{font-size:12px;color:var(--muted)}.learner-offline .offline-recommendation{font-size:12px;color:var(--muted);margin:4px 0 10px}.learner-offline .camp-months button{border:0;border-radius:20px;background:var(--surface);min-height:36px;padding:7px 16px}.learner-offline .camp-months .active{background:var(--surface);color:#704d1d}.learner-offline .offline-timeline{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));align-items:start}.camp-visual-card.camp-schedule-row{display:block;padding:0;overflow:hidden;border-color:var(--accent);background:var(--surface)}.camp-visual-card .camp-thumbnail{display:block;width:100%;height:155px;border-radius:0}.camp-visual-card .camp-row-copy{padding:13px 16px 14px;position:relative}.camp-visual-card .offline-proximity{position:absolute;top:-142px;left:12px;color:var(--text);background:#14223899;border:1px solid #ffffff70;border-radius:15px;font-size:12px;padding:4px 9px}.camp-visual-card .camp-date-line{font-size:15px;color:var(--muted)}.camp-visual-card .camp-row-copy h3{font-size:17px;margin:7px 0}.camp-visual-card .camp-row-copy p{color:var(--muted);font-size:15px}.camp-card-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:10px}.camp-card-footer .camp-state{background:none;color:var(--muted);padding:0;margin:0}.camp-card-footer button{min-height:44px;font-size:15px;padding:8px 15px}.camp-card-footer .camp-state.confirmed{color:var(--accent)}.learner-schedule .schedule-week-nav{border:0;background:transparent;padding:0}.learner-schedule .schedule-week-nav button{min-height:44px}.learner-schedule .schedule-week-nav strong{font-size:15px}.learner-schedule .schedule-empty{padding:20px;font-size:15px}
@media(min-width:761px){.schedule-filter-panel>summary{display:none}.schedule-filter-panel{flex:1}.schedule-filter-panel .schedule-toolbar-filters{justify-content:flex-end}.learner-schedule .schedule-channel{max-width:440px}}
@media(max-width:760px){.learner-schedule .schedule-heading h1{font-size:24px}.learner-schedule .schedule-heading{margin-bottom:10px}.learner-schedule .schedule-tabs{gap:0;margin-bottom:13px}.learner-schedule .schedule-tabs button{flex:1;font-size:15px}.schedule-channel button{font-size:15px}.learner-schedule .schedule-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;gap:4px;margin-bottom:8px}.learner-schedule .schedule-week-nav{flex:1;width:auto;gap:3px}.learner-schedule .schedule-week-nav strong{font-size:12px}.learner-schedule .schedule-week-nav button{padding:5px 7px;font-size:15px}.schedule-filter-panel[open] .schedule-toolbar-filters{position:absolute;z-index:6;right:0;top:44px;display:grid;width:260px;max-width:calc(100vw - 40px);background:var(--surface);padding:16px;border:1px solid var(--accent);border-radius:12px;box-shadow:0 12px 32px #25375820}.schedule-hub .schedule-filter-panel select{max-width:none;width:100%;min-height:44px;font-size:15px}.schedule-filter-panel button{min-height:44px}.learner-schedule .schedule-mobile-days{margin-bottom:12px;gap:3px}.learner-schedule .schedule-mobile-days button{border:0;background:transparent;padding:5px 2px;gap:4px;min-height:64px}.learner-schedule .schedule-mobile-days button span{font-size:12px}.learner-schedule .schedule-mobile-days button strong{font-size:16px;display:grid;place-items:center;width:30px;height:30px;border-radius:10px}.learner-schedule .schedule-mobile-days button.selected{color:var(--accent)}.learner-schedule .schedule-mobile-days button.selected strong{background:var(--selected);color:var(--text)}.learner-schedule .schedule-mobile-days button small{color:var(--accent);height:6px;line-height:6px}.learner-offline .camp-thumbnail{height:125px}.learner-offline .camp-visual-card .offline-proximity{top:-112px}.learner-offline .camp-row-copy h3{font-size:16px}.learner-offline .offline-toolbar{margin-bottom:12px}.learner-offline .camp-months{flex-basis:auto}.learner-offline .offline-class-row{background:var(--surface)}.learner-schedule .schedule-timezone{margin:12px 0}.compact-reminder.class-reminders{margin-bottom:12px;padding:8px 11px}.preview-label{margin-bottom:3px}}
@media(max-width:760px){.learner-schedule .schedule-heading h1{margin:0;line-height:1.3}.learner-schedule .schedule-tabs button{padding:10px 8px;min-height:44px}.learner-schedule .schedule-mobile-days button{min-height:60px}.course-mini{padding:10px 12px}.course-mini-heading{margin-top:0}.offline-refresh{min-width:44px;min-height:44px}.learner-schedule[data-channel="offline"] .schedule-tabs>button.active{border-color:#b88745;color:#8e622c}}
.course-mini-action .pending{color:#9a6c2b;background:var(--surface);padding:3px 6px;border-radius:6px}
@media(max-width:760px){.schedule-hub:not(.learner-schedule) .schedule-filter-panel summary{display:none}.schedule-hub:not(.learner-schedule) .schedule-filter-panel{width:100%}.schedule-hub:not(.learner-schedule) .schedule-filter-panel[open] .schedule-toolbar-filters{position:static;width:auto;max-width:none;display:flex;box-shadow:none;border:0;padding:0;background:transparent}}
@media(min-width:761px){.schedule-filter-panel:not([open])>summary{display:flex}}

.offline-sort-picker{display:flex;align-items:center;gap:12px;margin:0;color:var(--muted);font-size:15px}.offline-sort-picker select{width:auto;max-width:220px;min-height:44px;margin:0;padding:9px 12px;background:var(--surface);border:1px solid var(--accent);border-radius:8px;color:var(--text);font-size:15px}.learner-offline .offline-discovery{margin:0 0 10px}


/* studio-refresh.css */
/* Shared platform finish: quiet surfaces, explicit focus, one accent. */
:root{--radius:14px;background:var(--surface);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.shell .sidebar{background:var(--surface);color:var(--muted);border-right:1px solid var(--border)}.shell .brand{letter-spacing:-.04em}.shell .brand>.icon{color:var(--accent)}.shell .brand small{color:var(--muted);letter-spacing:.06em}.shell .nav-caption{color:var(--muted);font-size:12px;letter-spacing:.12em}.shell .nav-item{color:var(--text);border-radius:9px;transition:background .16s,color .16s}.shell .nav-item:hover{background:var(--surface);color:var(--text)}.shell .nav-item.active{background:var(--raised);color:var(--text);box-shadow:none}.shell .nav-item.active .icon{color:var(--accent)}.shell .sidebar-bottom>.nav-caption,.shell .profile{border-color:var(--border)}.shell .profile{color:var(--text)}.shell .profile small{color:var(--muted)}.shell .sidebar-bottom{padding-top:16px}.shell .topbar{height:68px;background:#ffffffbd;border-color:var(--border)}.shell .breadcrumb{color:var(--muted)}.shell .breadcrumb span{color:var(--text)}.shell .top-actions .credit-badge{color:var(--muted);font-size:15px;border:1px solid var(--border);background:var(--surface);border-radius:24px;padding:7px 12px}.shell .credit-badge strong{color:var(--accent);font-variant-numeric:tabular-nums}.shell .panel{border-color:var(--border);border-radius:14px;box-shadow:0 2px 3px #20243602}.primary{background:var(--selected);box-shadow:0 2px 3px #2232a012;min-height:42px;border-radius:9px}.primary:hover{background:var(--selected);box-shadow:0 4px 14px #3659ee26}.secondary{border-color:var(--border);border-radius:9px;color:var(--text);min-height:42px}.text-button{color:var(--muted)}.text-button:hover{color:var(--accent)}.preview-environment{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;margin:0 0 25px;line-height:1.4}.preview-environment>span{width:5px;height:5px;border-radius:50%;background:var(--surface)}.preview-environment i{font-style:normal;color:var(--text)}.eyebrow{font-size:12px;letter-spacing:.14em;color:var(--muted)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);border-color:var(--accent)!important;outline-offset:1px}
/* Course studio: creation first, work second, references on demand. */
.cd-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:5px 0 25px}.cd-heading .eyebrow{margin-bottom:12px}.cd-heading h1{font-size:clamp(27px,2.7vw,37px);font-weight:650;letter-spacing:-.04em;margin:0 0 10px;line-height:1.3}.cd-heading p{font-size:15px;color:var(--muted);margin:0}.cd-archive-link{font-size:15px;white-space:nowrap}.cd-launch{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.9fr);background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:18px;position:relative;overflow:hidden;margin-bottom:34px}.cd-launch-main{padding:34px 38px}.cd-launch-index{font-size:12px;font-weight:550;letter-spacing:.16em;color:var(--text)}.cd-launch h2{font-size:clamp(25px,2.35vw,33px);font-weight:550;letter-spacing:-.025em;line-height:1.45;margin:20px 0 13px;color:var(--text)}.cd-launch-main>p{font-size:15px;line-height:1.85;color:var(--text);max-width:330px;margin-bottom:22px}.cd-launch-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.cd-launch-actions .primary{background:var(--surface);color:var(--accent-ink);box-shadow:none;font-size:15px;padding:12px 18px}.cd-launch-actions .primary:hover{background:var(--surface)}.cd-theme-button{background:none;color:var(--text);font-size:15px;padding:10px 0;white-space:nowrap}.cd-theme-button:hover{color:var(--accent)}.cd-launch-foot{display:block;font-size:12px;color:var(--muted);margin-top:20px;letter-spacing:.08em}.cd-launch-art{display:flex;flex-direction:column;justify-content:center;padding:34px 34px 34px 6px;position:relative}.cd-frame{border:1px solid #ffffff26;border-radius:12px;aspect-ratio:1.43;background:linear-gradient(140deg,#333949aa,var(--surface));padding:16px;position:relative;overflow:hidden;box-shadow:0 18px 35px #080b1324}.cd-frame>span{font-size:12px;letter-spacing:.17em;color:var(--text)}.cd-frame-focus{position:absolute;inset:24% 18%;border:1px solid #9faade36;display:flex;align-items:center;justify-content:center;gap:8px}.cd-frame-focus:before,.cd-frame-focus:after{content:"";position:absolute;inset:-7px;border:1px solid #b7c2e039;clip-path:polygon(0 0,22% 0,22% 1%,1% 1%,1% 22%,0 22%,0 0,100% 0,100% 22%,99% 22%,99% 1%,78% 1%,78% 0,100% 0,100% 100%,78% 100%,78% 99%,99% 99%,99% 78%,100% 78%,100% 100%,0 100%,0 78%,1% 78%,1% 99%,22% 99%,22% 100%,0 100%)}.cd-frame-focus i{display:block;width:18%;height:62%;background:#788bd055;border:1px solid #a5b6fa45;transform:skewY(-10deg)}.cd-frame-focus i:nth-child(2){height:82%;background:#adbfdf55}.cd-frame-focus i:nth-child(3){background:#d4dfa86b;border-color:#e0e8bf69}.cd-frame-bottom{position:absolute;bottom:14px;left:16px;right:16px;display:flex;justify-content:space-between;font-size:12px;letter-spacing:.1em;color:var(--muted)}.cd-frame-bottom b{font-weight:400;color:var(--accent)}.cd-art-label{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:20px;font-size:12px;color:var(--text);letter-spacing:.14em}.cd-art-label i{color:var(--muted);font-style:normal}
.cs-library-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 17px}.cs-library-heading .eyebrow{font-size:12px;margin-bottom:7px}.cs-library-heading h2{font-size:21px;font-weight:650;margin:0;letter-spacing:-.035em}.cs-library-heading h2>span{font-size:15px;vertical-align:middle;color:var(--muted);background:var(--surface);display:inline-block;min-width:23px;padding:4px 6px;border-radius:6px;margin-left:8px;text-align:center}.cs-library-meta{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:15px}.cs-library-meta>span{white-space:nowrap}.cs-status-dot{display:inline-block;width:5px;height:5px;background:var(--surface);border-radius:50%;margin-right:6px}.cs-review-shortcut{border:1px solid var(--accent);background:var(--surface);color:var(--accent);padding:8px 12px;border-radius:8px;font-size:15px;white-space:nowrap}.cs-review-shortcut:hover{background:var(--surface)}.cs-review-shortcut span{padding-left:8px}.cs-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.cs-catalog-tools{padding:12px 0 19px;margin:0 0 10px;gap:10px;flex-wrap:nowrap}.cs-catalog-tools label{position:relative;gap:0}.cs-catalog-tools label:first-child{max-width:none;flex:1}.cs-catalog-tools input,.cs-catalog-tools select{border:1px solid var(--border);border-radius:9px;color:var(--muted);height:40px;font-size:15px;background:var(--surface);padding:9px 12px}.cs-catalog-tools .cs-search input{padding-left:35px}.cs-search-symbol{position:absolute;left:12px;top:7px;font-size:21px;color:var(--muted)}.cs-catalog-tools>span{font-size:12px;margin-left:5px;padding-bottom:12px}.cs-project-card{border-color:var(--border);border-radius:13px;transition:transform .18s,border-color .18s,box-shadow .18s}.cs-project-card:hover{border-color:var(--accent);box-shadow:0 10px 26px #25345b0a;transform:translateY(-2px)}.cs-project-visual{position:relative;overflow:hidden;border-bottom:1px solid var(--accent)}.cs-project-visual>img{width:100%;height:158px;object-fit:cover;display:block;background:var(--raised)}.cs-visual-type{position:absolute;left:14px;top:13px;background:#ffffffde;border:1px solid #ffffff40;color:var(--muted);border-radius:5px;padding:4px 7px;font-size:12px;backdrop-filter:blur(5px)}.cs-visual-arrow{position:absolute;right:14px;bottom:12px;width:26px;height:26px;border-radius:50%;background:#ffffffe3;color:var(--muted);display:grid;place-items:center;opacity:0;transform:translateY(4px);transition:.2s}.cs-project-card:hover .cs-visual-arrow,.cs-project-card:focus-within .cs-visual-arrow{opacity:1;transform:none}.cs-cover{height:158px;padding:38px 22px 18px;gap:8px;background:linear-gradient(125deg,var(--surface),var(--surface));color:var(--muted)}.cs-cover.plan{background:linear-gradient(125deg,var(--surface),var(--surface));color:var(--muted)}.cs-cover small{font-size:12px}.cs-cover strong{font-size:21px;font-weight:500;letter-spacing:-.03em}.cs-cover span{font-size:12px}.cs-project-copy{padding:17px 18px 13px}.cs-project-copy h3{font-size:16px;line-height:1.6;margin:13px 0 9px;letter-spacing:-.015em}.cs-project-copy p{font-size:15px;line-height:1.75;color:var(--muted);min-height:42px;margin-bottom:16px}.cs-project-copy>small{font-size:12px;color:var(--muted)}.cs-project-copy>small span{padding:0 5px;color:var(--text)}.cs-status{font-size:12px;border-radius:5px;padding:4px 6px}.cs-card-meta .pill{font-size:12px}.cs-status.pending{background:var(--surface);color:var(--accent)}.cs-status.ready,.cs-status.changed{background:var(--surface);color:var(--muted)}.cs-status.published{background:var(--surface);color:var(--muted)}.cs-card-footer{margin:0 18px;border-color:var(--border);padding:8px 0;min-height:44px}.cs-card-footer button{font-size:12px}.cs-card-footer button>span{padding-left:10px}.cs-course-grid{gap:18px}.cs-empty{background:var(--surface);border-color:var(--accent);border-radius:14px}.cs-empty-mark{font-size:32px;color:var(--text)}.cs-empty p{font-size:15px}.cs-empty h3{color:var(--text)}
/* Focused editing: material, analysis brief, then three output workspaces. */
.cs-studio [hidden]{display:none!important}.cs-editor-heading h1{font-size:clamp(23px,2.3vw,32px);letter-spacing:-.04em;overflow-wrap:anywhere}.cs-editor-heading{align-items:flex-start}.cs-editor-heading .cs-actions{justify-content:flex-end;gap:8px;flex-shrink:0}.cs-draft-status{font-size:12px;color:var(--muted)}.cs-studio .cs-toolbar{margin:6px 0 24px}.cs-studio .cs-toolbar>button{font-size:15px}.cs-studio .cs-editor-heading p{font-size:15px;color:var(--muted);line-height:1.8}.cs-review-banner{padding:15px 18px;border-radius:10px;margin:15px 0 25px;background:var(--surface);border-color:var(--accent)}.cs-review-banner strong{font-size:15px;color:var(--muted)}.cs-review-banner p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.cs-review-banner.pending{background:var(--surface);border-color:var(--accent)}.cs-review-banner.pending strong{color:var(--accent)}.cs-review-banner button{font-size:12px;min-height:36px}.cs-process{display:flex;list-style:none;padding:0;margin:24px 0;gap:0;counter-reset:steps}.cs-process li{display:flex;align-items:center;gap:8px;flex:1;color:var(--muted);font-size:15px}.cs-process li:not(:last-child):after{content:"";height:1px;flex:1;background:var(--surface);margin:0 18px}.cs-process li:last-child{flex:0 0 auto}.cs-process li>span{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;font-size:12px}.cs-process .current{color:var(--accent)}.cs-process .current>span{background:var(--surface);border-color:var(--accent)}.cs-process .done{color:var(--muted)}.cs-process .done>span{background:var(--surface);border-color:var(--border)}.cs-source-panel{padding:25px!important}.cs-source-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px}.cs-source-panel>summary:after{content:"＋";color:var(--muted);font-size:19px}.cs-source-panel[open]>summary:after{content:"−"}.cs-source-panel>summary>small{font-size:12px;font-weight:400;color:var(--muted);margin-left:auto}.cs-source-panel .cs-level-field{flex:0 0 115px}.cs-studio label{font-size:15px;color:var(--muted)}.cs-studio input,.cs-studio select,.cs-studio textarea{border-color:var(--border);border-radius:8px;font-size:15px;line-height:1.6;color:var(--text);transition:border-color .15s}.cs-source-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:26px;margin-top:14px}.cs-source-media{min-width:0}.cs-upload-card{padding:0;border:0;border-radius:0}.cs-source-caption,.cs-trim-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.cs-source-caption small{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}.cs-upload-card video{border-radius:9px;margin:10px 0 17px;background:var(--surface)}.cs-trim-label strong{font-size:15px;font-weight:500}.cs-trim-label small{font-size:12px;color:var(--muted)}.cs-source-options{font-size:12px;color:var(--muted)}.cs-source-options summary{padding:6px 0;cursor:pointer}.cs-upload-label{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:9px!important;position:relative;min-height:295px;padding:30px 18px!important;border:1px dashed var(--accent);background:var(--surface);border-radius:12px;cursor:pointer;text-align:center;transition:background .18s,border-color .18s}.cs-upload-label:hover,.cs-upload-label:focus-within{background:var(--surface);border-color:var(--accent)}.cs-upload-label strong{font-size:15px;font-weight:550;color:var(--muted)}.cs-upload-label small{font-size:12px;color:var(--muted);line-height:1.8}.cs-upload-label input{width:100%;height:100%;position:absolute;inset:0;opacity:0;cursor:pointer}.cs-upload-label:focus-within{outline:2px solid var(--accent);outline-offset:2px}.cs-upload-glyph{width:44px;height:44px;display:grid;place-items:center;font-size:30px;color:var(--accent);border:1px solid var(--accent);border-radius:12px;background:var(--surface);margin-bottom:3px}.cs-upload-label.has-video{min-height:90px;padding:14px!important;gap:4px!important}.cs-upload-label.has-video strong{font-size:15px}.cs-upload-label.has-video .cs-upload-glyph{display:none}.cs-analysis-brief{border-left:1px solid var(--border);padding-left:25px;display:flex;flex-direction:column;align-items:stretch}.cs-analysis-brief>.eyebrow{font-size:12px;margin-top:2px}.cs-analysis-brief h3{font-size:18px;line-height:1.65;letter-spacing:-.025em;font-weight:550;color:var(--text);margin:4px 0 4px}.cs-analysis-brief label>span{font-size:12px;color:var(--muted)}.cs-analysis-brief textarea{background:var(--surface)}.cs-output-list{display:grid;gap:12px;padding:14px 0 20px;color:var(--muted);font-size:12px}.cs-output-list strong{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:3px}.cs-output-list b{font-size:12px;font-weight:400;color:var(--text);margin-right:10px;font-variant-numeric:tabular-nums}.cs-generation-cost{border-top:1px solid var(--accent);padding:15px 0 4px;margin-top:auto;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center}.cs-generation-cost>strong{font-size:19px;font-weight:550;color:var(--muted)}.cs-generation-cost>strong small{font-size:12px;font-weight:400;color:var(--muted)}.cs-generation-cost p{flex-basis:100%;font-size:12px;margin:7px 0 12px}.cs-analysis-brief>.primary{font-size:15px;padding:12px}.cs-brief-foot{text-align:center;font-size:12px;color:var(--muted);margin-top:10px}.cs-analysis-nav{display:flex;gap:7px;border-bottom:1px solid var(--accent);margin:28px 0 0;padding:0 0 0 4px}.cs-analysis-nav button{background:none;color:var(--muted);font-size:15px;border-bottom:2px solid transparent;border-radius:0;padding:14px 14px}.cs-analysis-nav button.selected{border-color:var(--accent);color:var(--accent)}.cs-analysis-nav button>span{font-size:12px;background:var(--surface);border-radius:4px;padding:3px 5px;margin-left:7px;color:var(--muted)}.cs-analysis-nav button.selected>span{color:var(--accent);background:var(--surface)}.cs-film-skills,.cs-storyboard{margin:20px 0}.cs-observation{background:var(--surface);border-color:var(--accent);border-radius:12px;padding:18px}.cs-observation h3{color:var(--muted)}.cs-shot-number{color:var(--muted);font-size:22px;font-weight:400}.cs-observation-evidence{border-color:var(--accent)}.cs-time-link{background:var(--surface);color:var(--muted);border:1px solid var(--accent);font-size:12px}.cs-time-link:hover{color:var(--accent);background:var(--surface)}.cs-section-heading h2{font-size:20px;color:var(--text);font-weight:600;letter-spacing:-.025em}.cs-section-heading p{font-size:12px;color:var(--muted)}.cs-count{background:var(--surface);color:var(--muted);border-radius:6px;font-size:12px}.cs-observation p{color:var(--muted);font-size:15px}.cs-observation-evidence p{font-size:12px;color:var(--muted)}.cs-observation .cs-actions button{font-size:12px}.cs-shot-table{min-width:600px;table-layout:fixed}.cs-shot-table td{vertical-align:top;text-align:left;overflow-wrap:anywhere}.cs-shot-table th{background:var(--surface);font-size:12px;color:var(--muted)}.cs-shot-table td p{font-size:15px;color:var(--muted)}.cs-shot-table td small{font-size:12px}.cs-shot-table .cs-shot-number{font-size:20px}.cs-shot-table input,.cs-shot-table textarea{font-size:12px;padding:7px 8px}.cs-shot-table label{font-size:12px}.cs-create-options>label{border-color:var(--accent);border-radius:12px;padding:18px}.cs-create-options>label:has(:checked){background:var(--surface);border-color:var(--accent)}.cs-create-options strong{font-size:15px;color:var(--muted)}.cs-create-options small{font-size:12px;color:var(--muted)}.cs-create-options input{accent-color:var(--accent)}#cs-create>p{font-size:15px;color:var(--muted)}#cs-create>label{font-size:15px;color:var(--muted)}#cs-template-reference{border-top:1px solid var(--accent);padding:16px 0;margin:15px 0;color:var(--muted);font-size:15px}#cs-template-reference[hidden]{display:none}#cs-template-reference summary{cursor:pointer}#cs-template-reference p{font-size:12px;margin:12px 0}.cs-create-submit{width:100%;margin-top:10px}dialog{border-color:var(--accent);border-radius:17px;box-shadow:0 25px 100px #1f2c5533}dialog::backdrop{background:#171d304f;backdrop-filter:blur(4px)}
@media(min-width:1450px){.shell .sidebar{width:220px}.cs-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-launch{grid-template-columns:minmax(0,1.55fr) minmax(240px,.7fr)}.cd-launch-main{padding:35px 42px}.cd-launch-art{max-width:340px}}
@media(max-width:1100px){.cd-launch-main{padding:28px}.cd-launch-art{padding-right:24px}.cd-launch-actions{gap:16px}.cs-source-layout{grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr);gap:20px}.cs-analysis-brief{padding-left:20px}.cs-editor-heading{flex-wrap:wrap}.cs-editor-heading .cs-actions{justify-content:flex-start}.cs-observation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.cd-heading{align-items:flex-start}.cd-archive-link{font-size:12px}.cd-launch{grid-template-columns:minmax(0,1.3fr) minmax(200px,.9fr)}.cd-launch-main{padding:25px}.cd-launch h2{font-size:25px}.cd-launch-main>p{font-size:15px}.cd-launch-art{padding:24px 24px 24px 0}.cs-catalog-tools{flex-wrap:wrap}.cs-catalog-tools>span{margin-left:auto}.cs-source-layout{grid-template-columns:minmax(0,1fr)}.cs-analysis-brief{border-left:0;border-top:1px solid var(--accent);padding:22px 0 0}.cs-upload-label{min-height:230px}.cs-generation-cost{margin-top:5px}.cs-output-list{grid-template-columns:1fr;gap:9px}.cs-process li{font-size:12px}.cs-process li:not(:last-child):after{margin:0 10px}}
@media(max-width:600px){.shell .topbar{height:56px;padding:0 17px}.shell .top-actions .credit-badge{font-size:12px;padding:5px 8px}.preview-environment{font-size:12px;margin-bottom:22px}.cd-heading{display:block;margin-bottom:20px}.cd-heading h1{font-size:26px;line-height:1.45}.cd-heading p{font-size:15px}.cd-heading .eyebrow{font-size:12px}.cd-archive-link{margin-top:10px}.cd-launch{grid-template-columns:1fr;border-radius:14px;margin-bottom:27px}.cd-launch-main{padding:25px}.cd-launch h2{font-size:26px}.cd-launch-art{display:none}.cd-launch-main>p{max-width:none}.cd-launch-foot{font-size:12px;margin-top:17px}.cs-library-heading h2{font-size:19px}.cs-library-heading .eyebrow{font-size:12px}.cs-library-meta{gap:8px;font-size:12px;flex-wrap:wrap;justify-content:flex-end}.cs-review-shortcut{font-size:12px;padding:6px 8px}.cs-library-meta>span{display:none}.cs-catalog-tools{gap:9px;padding-bottom:15px}.cs-catalog-tools label:first-child{flex:1 0 100%}.cs-catalog-tools label{flex:1}.cs-catalog-tools>span{display:none}.cs-course-grid{grid-template-columns:minmax(0,1fr);gap:17px}.cs-project-visual>img,.cs-cover{height:170px}.cs-project-copy h3{font-size:17px}.cs-project-copy p{font-size:15px}.cs-editor-heading{display:block}.cs-editor-heading .cs-actions{margin-top:15px}.cs-editor-heading .cs-actions button{font-size:12px;min-height:38px;padding:9px 12px}.cs-source-panel{padding:18px!important}.cs-process{gap:5px}.cs-process li{gap:5px;font-size:12px}.cs-process li>span{width:22px;height:22px}.cs-process li:not(:last-child):after{margin:0 4px}.cs-source-panel>summary{font-size:15px}.cs-source-panel>summary small{font-size:12px}.cs-source-panel .cs-level-field{width:100%}.cs-analysis-nav{padding:0;gap:0;justify-content:space-between}.cs-analysis-nav button{font-size:15px;padding:13px 8px}.cs-analysis-nav button>span{font-size:12px;margin-left:4px}.cs-observation-grid{grid-template-columns:minmax(0,1fr)}.cs-film-skills,.cs-storyboard{padding:18px!important}.cs-section-heading h2{font-size:17px}.cs-section-heading .eyebrow{font-size:12px}.cs-section-heading p{font-size:12px}.cs-section-heading{gap:10px}.cs-count{padding:6px;font-size:12px}.cs-shot-table{min-width:640px}.cs-table-wrap{scrollbar-width:thin}.cs-source-caption small{max-width:60%}.cs-create-options{grid-template-columns:1fr}.cs-draft-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.cs-project-card:hover{transform:none}}

/* Readable supporting text and compact navigation without broken labels. */
.shell .nav-item{white-space:nowrap}.shell .nav-item .count{flex:none}.cs-project-copy p{color:var(--muted)}.cs-project-copy>small{color:var(--muted)}.cs-observation-evidence p{color:var(--muted)}.cs-section-heading p{color:var(--muted)}.cs-time-link{color:var(--muted)}.cs-catalog-tools input::placeholder{color:var(--muted)}.cs-source-caption small,.cs-trim-label small,.cs-brief-foot{color:var(--muted)}.cs-count{color:var(--muted)}.cs-review-banner p{color:var(--muted)}.cs-shot-table th{color:var(--muted)}.cs-analysis-nav button{color:var(--muted)}.cs-generation-cost{color:var(--muted)}.cs-status{color:var(--muted)}.cs-draft-status{color:var(--muted)}
@media(min-width:901px) and (max-width:1200px){.shell .nav-item{padding-left:12px;padding-right:10px;gap:9px;font-size:15px}}

.cs-table-hint{display:none}@media(max-width:700px){.cs-table-hint{display:block;font-size:12px;color:var(--muted);margin:14px 0 10px}}
/* Compact board: thumbnails in the canvas, one editable shot in the inspector. */
.film-immersive .film-board-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:0}
.film-immersive .film-board-heading h3{font-size:15px;margin:0}.film-immersive .film-board-heading h3 small{font-size:12px;color:var(--studio-muted);margin-left:6px}
.film-immersive .film-scene-group>h4{font-size:12px;font-weight:500;color:var(--studio-muted);margin:12px 0 6px}
.film-immersive .film-scene-group .film-shot-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:0}
.film-immersive .film-shot-summary{padding:0 0 7px!important;border:1px solid var(--studio-border);border-radius:5px;background:var(--studio-panel);overflow:hidden;text-align:left;min-width:0}
.film-immersive .film-shot-summary>div{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:var(--bg);overflow:hidden}
.film-immersive .film-shot-summary>div>img{width:100%;height:100%;object-fit:cover}.film-immersive .film-board-placeholder{position:static!important;color:var(--studio-muted);background:none!important;font-size:12px}
.film-immersive .film-shot-summary>strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px;margin:7px 0 4px}.film-immersive .film-shot-summary>small{font-size:12px;color:var(--studio-muted);padding:0 8px}
.film-immersive .film-shot-summary.is-selected{border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}
.film-immersive .film-shot-inspector .film-card-body{padding:0;border:0;display:block}.film-immersive .film-shot-inspector .film-card-body>label{margin:8px 0}.film-immersive .film-shot-inspector .film-control-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.film-immersive .film-shot-inspector :is(input,select,textarea),.film-immersive .film-art-inspector :is(input,select,textarea){padding:6px 8px!important;font-size:12px!important;min-height:30px!important;line-height:1.5}
.film-immersive .film-shot-inspector label,.film-immersive .film-art-inspector label{font-size:12px!important;gap:4px}.film-immersive .film-shot-inspector textarea{min-height:66px!important}.film-immersive .film-inspector-title{display:flex;gap:6px;align-items:center;margin-bottom:9px}.film-immersive .film-inspector-title strong{flex:1;font-size:15px}.film-immersive .film-inspector-title button{padding:3px 6px!important}
.film-immersive .film-shot-inspector .film-card-settings{margin:10px 0;padding:8px 0;border-top:1px solid var(--studio-border)}.film-immersive .film-shot-inspector .film-card-settings summary{font-size:12px;cursor:pointer;margin-bottom:8px}.film-immersive .film-shot-inspector .film-card-primary-actions{display:flex;flex-wrap:wrap;gap:6px}
.film-immersive .film-reference-composer{padding:9px;margin:10px 0;border:1px solid var(--studio-border);border-radius:6px;background:var(--studio-panel);min-width:0}
.film-immersive .film-reference-composer .film-section-heading{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:0 0 8px}.film-immersive .film-reference-composer .film-section-heading strong{flex:1;font-size:12px}.film-immersive .film-reference-composer button{font-size:12px!important;padding:3px 6px!important}
.film-immersive .film-attachments{display:flex;flex-wrap:wrap;gap:8px}.film-immersive .film-attachment{position:relative;width:76px;min-width:0;display:flex;flex-direction:column;gap:4px;margin:0;padding:0!important;border:0!important;background:transparent!important}
.film-immersive .film-attachment-thumb{width:76px;height:54px;padding:0!important;overflow:hidden;border:1px solid var(--studio-border)!important;border-radius:4px}.film-immersive .film-attachment>img{width:76px;height:54px;object-fit:cover;border-radius:4px}.film-immersive .film-attachment-thumb>img{width:100%;height:100%;object-fit:cover}.film-immersive .film-attachment-thumb audio{width:76px;height:54px}
.film-immersive .film-attachment>select{width:100%;font-size:12px!important;min-height:24px!important;padding:2px!important}.film-immersive .film-attachment>span{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--studio-muted)}
.film-immersive .film-attachment .film-attachment-remove{position:absolute;top:-4px;right:-4px;min-height:16px;padding:0 4px!important;border-radius:50%;background:var(--studio-raised)!important;box-shadow:0 1px 4px #0006;z-index:1}
.film-immersive .film-attachment-upload{margin:0!important;position:relative;display:inline-flex!important;cursor:pointer;border:1px solid var(--studio-border);padding:3px 6px!important;border-radius:4px;font-size:12px!important}.film-immersive .film-attachment-upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}
.film-immersive .film-reference-composer>small{display:block;font-size:12px;line-height:1.5;color:var(--studio-muted);margin-top:6px}.film-immersive .film-reference-drag-active{outline:2px solid var(--studio-accent);outline-offset:2px}
.film-attachment-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;max-height:55vh;overflow:auto;margin-bottom:14px}.film-attachment-picker>label{position:relative;display:flex;flex-direction:column;border:1px solid var(--studio-border,var(--border));border-radius:5px;padding:7px;cursor:pointer}.film-attachment-picker input{position:absolute;top:9px;left:9px;z-index:1}.film-attachment-picker label:has(input:checked){outline:2px solid var(--studio-accent,var(--border))}.film-attachment-picker span{aspect-ratio:16/9;overflow:hidden}.film-attachment-picker img{width:100%;height:100%;object-fit:cover}.film-attachment-picker strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:900px){.film-immersive .film-scene-group .film-shot-gallery{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}.film-immersive .film-shot-inspector{margin-top:14px;padding:12px}.film-immersive .film-art-workbench{grid-template-columns:1fr}}


/* course-learning.css */
/* Reading and authoring have different layouts. Learning content is not an AI report. */
.lr-reader,.lc-page,.cw-page{color:var(--course-ink)}
.lr-reader button,.lc-page button,.cw-page button{font:inherit}.lr-reader [hidden],.lc-page [hidden],.cw-page [hidden]{display:none!important}
.lr-reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--course-line)}.lr-reader-toolbar>.text-button{font-size:15px;color:var(--muted)}.lr-preview-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.lr-preview-actions>span{font-size:12px;color:var(--muted);margin-right:8px}.lr-preview-actions button{font-size:15px;min-height:36px;padding:8px 12px}.lr-review-notice{font-size:15px;color:var(--accent);background:var(--surface);border-left:2px solid var(--accent);padding:10px 14px;margin-top:18px}.lr-header{max-width:950px;padding:34px 0 28px}.lr-kicker{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:15px;line-height:1.7}.lr-kicker>span{border:1px solid var(--accent);color:var(--muted);padding:3px 8px;border-radius:4px;font-size:12px}.lr-kicker i{font-style:normal;color:var(--text)}.lr-header h1{font-size:clamp(28px,3.1vw,43px);font-weight:620;line-height:1.4;letter-spacing:-.045em;margin:15px 0 13px;overflow-wrap:anywhere}.lr-header>p{font-size:15px;color:var(--muted);line-height:1.8;margin:0;max-width:780px}.lr-path{display:flex;border-bottom:1px solid var(--border);margin-bottom:28px;gap:34px}.lr-path>button{display:flex;align-items:center;gap:11px;background:transparent;color:var(--muted);padding:0 0 16px;font-size:15px!important;border-bottom:2px solid transparent;margin-bottom:-1px;min-width:120px}.lr-path>button>span{width:26px;height:26px;border:1px solid var(--border);border-radius:50%;font-size:12px;display:grid;place-items:center;color:var(--muted)}.lr-path>button>i{font-style:normal;font-size:12px;color:var(--text);margin-left:10px}.lr-path>button[aria-current=step]{color:var(--text);border-bottom-color:var(--border);font-weight:600}.lr-path>button[aria-current=step]>span{background:var(--raised);border-color:var(--border);color:var(--text)}.lr-path>button[aria-current=step]>i{color:var(--accent);font-size:12px}.lr-stage{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:30px;align-items:start}.lr-film-column{min-width:0}.lr-screen{overflow:hidden;background:var(--surface);border-radius:12px;color:var(--text)}.lr-screen-label{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;color:var(--text);font-size:12px;min-height:43px}.lr-screen-label small{font-size:12px;font-variant-numeric:tabular-nums;color:var(--text)}.lr-screen video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--bg);max-height:70vh}.lr-screen-foot{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:var(--muted);line-height:1.5}.lr-screen-foot>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%}.lr-screen-foot small{font-size:12px;color:var(--muted)}.lr-clip-switch{display:flex;gap:5px}.lr-clip-switch button{color:var(--muted);background:none;border-radius:4px;padding:4px 8px;font-size:12px!important}.lr-clip-switch button[aria-pressed=true]{color:var(--text);background:var(--raised)}.lr-notebook{min-width:0;border-left:1px solid var(--border);padding:4px 0 0 25px}.lr-note-index{display:block;color:var(--muted);font-size:12px;letter-spacing:.025em;line-height:1.7;margin-bottom:15px}.lr-notebook h2{font-size:26px;line-height:1.5;letter-spacing:-.035em;font-weight:600;margin:0 0 13px;white-space:pre-line}.lr-notebook>p{font-size:15px;color:var(--muted);line-height:1.9;margin-bottom:20px;white-space:pre-wrap}.lr-notebook h3{font-size:15px;color:var(--text);font-weight:600;margin:0 0 10px;line-height:1.7}.lr-definition{font-size:15px!important;line-height:1.85!important;color:var(--muted)!important}.lr-rule{height:1px;background:var(--surface);margin:21px 0}.lr-learn-list{margin:27px 0}.lr-learn-list h3{font-size:12px;color:var(--muted);margin-bottom:9px}.lr-learn-list>button{display:flex;align-items:flex-start;gap:11px;text-align:left;width:100%;border:0;border-top:1px solid var(--accent);padding:14px 0;background:transparent}.lr-learn-list>button>span{font-size:12px;color:var(--muted);padding-top:4px}.lr-learn-list>button strong{font-size:15px;color:var(--text);font-weight:550;display:block}.lr-learn-list>button small{display:block;font-size:12px;color:var(--muted);line-height:1.75;margin-top:5px}.lr-learn-list>button>i{font-style:normal;margin-left:auto;color:var(--muted);font-size:15px}.lr-learn-list>button:hover strong{color:var(--accent)}.lr-primary{display:inline-flex!important;align-items:center;justify-content:space-between;gap:25px;border:1px solid var(--border)!important;background:var(--raised)!important;border-radius:7px!important;padding:13px 18px!important;color:var(--accent-ink);font-size:15px!important;line-height:1.5;min-height:45px;transition:background .2s,box-shadow .2s}.lr-primary:hover{background:var(--selected)!important;box-shadow:0 5px 18px #30496c16}.lr-primary>span{font-size:17px;color:var(--accent-ink);font-weight:400}.lr-intro>.lr-primary{width:100%}.lr-viewing-prompt{display:flex;gap:18px;padding:19px 0 0;align-items:baseline;border-top:0}.lr-viewing-prompt>span{font-size:12px;color:var(--muted);white-space:nowrap}.lr-viewing-prompt p{font-size:15px;color:var(--muted);line-height:1.85;margin:0;max-width:500px}.lr-skill-switcher{display:flex;gap:8px;margin:-6px 0 25px;flex-wrap:wrap}.lr-skill-switcher button{background:var(--surface);border:1px solid var(--accent);border-radius:6px;padding:9px 13px;color:var(--muted);font-size:15px!important;display:flex;align-items:center;gap:10px}.lr-skill-switcher button>span{font-size:12px;color:var(--muted)}.lr-skill-switcher button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);color:var(--accent)}.lr-skill-switcher button:hover{border-color:var(--accent)}.lr-evidence{padding:18px 0 0;margin-top:5px;border-top:1px solid var(--accent)}.lr-evidence>button{display:block;width:100%;text-align:left;padding:0;margin:10px 0 15px;border:0;background:transparent}.lr-evidence>button>span{display:inline-block;color:var(--accent);border-radius:4px;padding:5px 8px;background:var(--surface);font-size:12px;font-variant-numeric:tabular-nums}.lr-evidence>button>p{color:var(--muted);font-size:15px;line-height:1.85;margin:9px 0}.lr-evidence>button:hover>span{background:var(--surface)}.lr-level-focus{padding:14px 0;margin-top:15px!important;border-top:1px solid var(--accent);font-size:15px!important}.lr-level-focus>span{display:block;color:var(--muted);margin-bottom:7px;font-weight:600;font-size:12px}.lr-note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--accent);padding-top:15px;margin-top:15px}.lr-note-actions>.text-button{font-size:12px!important}.lr-next{border:0;background:none;color:var(--accent);font-size:15px!important;padding:8px 0}.lr-shot-guide{margin-top:21px;border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);padding:15px 0}.lr-shot-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:15px;color:var(--muted)}.lr-shot-guide>summary small{font-size:12px;color:var(--muted);padding-left:7px}.lr-shot-guide>summary>span:last-child{font-size:12px;color:var(--muted)}.lr-shot-guide ol{list-style:none;padding:0;margin:15px 0 0;display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin}.lr-shot-guide li{flex:0 0 185px}.lr-shot-guide li>button{display:block;border:1px solid var(--accent);border-radius:7px;background:var(--surface);width:100%;padding:13px;text-align:left;height:100%;color:var(--muted)}.lr-shot-guide li>button>span{display:flex;justify-content:space-between;align-items:center;font-size:16px;color:var(--accent)}.lr-shot-guide li>button small{font-size:12px;color:var(--muted)}.lr-shot-guide li>button strong{display:block;font-weight:500;font-size:12px;margin-top:13px;line-height:1.7}.lr-shot-guide li>button p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 0}.lr-shot-guide li>button:hover{background:var(--surface);border-color:var(--accent)}.lr-practice{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);border:1px solid var(--accent);border-radius:12px;overflow:hidden;background:var(--surface)}.lr-practice-main{padding:33px 35px}.lr-practice-main h2{font-size:33px;letter-spacing:-.04em;font-weight:550;margin:0 0 18px}.lr-task{font-size:19px;line-height:1.9;color:var(--muted);white-space:pre-wrap;margin:0 0 25px}.lr-practice-main h3{font-size:15px}.lr-practice-main>p:not(.lr-task){font-size:15px;line-height:1.9;white-space:pre-wrap;color:var(--muted)}.lr-practice-check{background:var(--surface);padding:33px 30px;border-left:1px solid var(--accent)}.lr-practice-check h3{font-size:18px;font-weight:550;line-height:1.8;letter-spacing:-.02em;color:var(--muted)}.lr-practice-check>p{font-size:15px;line-height:1.95;color:var(--muted);white-space:pre-wrap}.lr-practice-skills{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.lr-practice-skills button{font-size:12px!important;border:1px solid var(--accent);border-radius:5px;background:var(--surface);padding:7px 9px;color:var(--muted)}.lr-assignment-note{display:block;font-size:12px;color:var(--muted);line-height:1.8;margin-top:17px}.lr-scope{margin-top:28px;border-top:1px solid var(--accent);padding:18px 0;color:var(--muted);font-size:12px}.lr-scope summary{cursor:pointer}.lr-scope p{font-size:15px;line-height:1.85;margin:14px 0;white-space:pre-wrap}.lr-preview-foot{font-size:12px;color:var(--muted);margin:25px 0}.lr-demo-note{display:flex;gap:20px;border-left:2px solid var(--border);background:var(--surface);padding:13px 16px;margin:0 0 25px;color:var(--muted);font-size:15px;line-height:1.8}.lr-demo-note strong{font-size:15px;white-space:nowrap;font-weight:550}.lr-plan-intro{border:1px solid var(--accent);background:var(--surface);padding:30px;border-radius:12px}.lr-plan-intro h2{font-size:25px;line-height:1.8;font-weight:500;letter-spacing:-.03em;color:var(--muted);white-space:pre-wrap}.lr-plan-intro h3{font-size:15px;color:var(--muted);margin-top:25px}.lr-plan-intro p{font-size:15px;line-height:1.95;color:var(--muted);white-space:pre-wrap}.lr-plan-intro details{font-size:15px;color:var(--muted);margin-top:22px;border-top:1px solid var(--accent);padding-top:15px}.lr-plan-intro summary{cursor:pointer}
/* Course discovery: a real film cover and a clear learning promise. */
.lc-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 0 26px;border-bottom:1px solid var(--accent);margin-bottom:29px}.lc-kicker,.cw-kicker{display:block;color:var(--muted);font-size:12px;margin-bottom:10px;letter-spacing:.035em}.lc-heading h1{font-size:38px;letter-spacing:-.055em;font-weight:620;margin:0}.lc-heading .skills-tabs{margin:0;border:0;padding:4px;background:var(--surface);border-radius:7px;gap:3px;display:flex}.lc-heading .skills-tabs button{border:0;border-radius:5px;min-width:74px;padding:10px 18px;color:var(--muted);font-size:15px;background:none}.lc-heading .skills-tabs button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 5px #394f7110}.lc-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:22px}.lc-catalog-toolbar h2{font-size:17px;font-weight:550;margin:0 0 7px;letter-spacing:-.02em}.lc-catalog-toolbar h2 small{font-size:12px;color:var(--muted);font-weight:400;padding-left:9px}.lc-catalog-toolbar p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}.lc-filters{display:flex;gap:9px;align-items:center}.lc-filters input,.lc-filters select,.cw-list-tools input,.cw-list-tools select{height:38px;border:1px solid var(--accent);border-radius:6px;color:var(--muted);background:var(--surface);font:inherit;font-size:15px;padding:9px 11px;min-width:0}.lc-filters input{max-width:175px}.lc-feature{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);border:1px solid var(--accent);border-radius:14px;overflow:hidden;background:var(--surface)}.lc-art{position:relative;display:block;border:0;background:var(--surface);overflow:hidden;text-align:left;padding:0;min-height:280px;color:var(--text)}.lc-art>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.lc-art:hover>img{transform:scale(1.025)}.lc-art-caption{position:absolute;bottom:18px;left:19px;background:#ffffffec;color:var(--muted);border:1px solid #ffffff44;padding:8px 12px;border-radius:5px;font-size:12px;backdrop-filter:blur(5px)}.lc-course-copy{padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.lc-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.lc-meta>span{padding:3px 6px;border:1px solid var(--accent);border-radius:3px;color:var(--muted)}.lc-meta>i{font-style:normal;color:var(--text)}.lc-course-copy h2{font-size:clamp(22px,2.25vw,31px);line-height:1.55;font-weight:550;letter-spacing:-.03em;color:var(--accent);margin:18px 0 14px;overflow-wrap:anywhere}.lc-course-copy>p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 15px}.lc-course-route{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin:10px 0 28px}.lc-course-route i{font-style:normal;color:var(--text)}.lc-type-art{display:block;padding:40px 26px;font-size:28px;line-height:1.8;color:var(--accent);letter-spacing:-.04em}.lc-type-art>small{display:block;color:var(--muted);font-size:12px;letter-spacing:.04em;margin-top:18px}.lc-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;margin-top:26px}.lc-course-row{background:var(--surface);border:1px solid var(--accent);border-radius:12px;overflow:hidden}.lc-course-row .lc-art{height:190px;min-height:0;width:100%}.lc-course-row .lc-course-copy{padding:23px}.lc-course-row h2{font-size:22px}.lc-course-row .lc-course-route{display:none}.lc-course-row .lr-primary{margin-top:15px}.lc-empty{padding:65px 20px;text-align:center;color:var(--muted);border-top:1px solid var(--accent)}.lc-empty h2,.lc-empty h3{font-size:22px;font-weight:500;color:var(--muted)}.lc-empty p{font-size:15px}
/* Author workspace: work queue, next action and a small creation dock. */
.cw-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:8px 0 32px}.cw-heading h1{font-size:38px;font-weight:620;letter-spacing:-.055em;margin:0 0 11px}.cw-heading p{font-size:15px;color:var(--muted);margin:0;line-height:1.8}.cw-heading>.text-button{font-size:15px!important;white-space:nowrap}.cw-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:start}.cw-worklist{min-width:0}.cw-list-head{border-bottom:1px solid var(--accent)}.cw-list-head nav{display:flex;gap:21px;overflow:auto;scrollbar-width:thin}.cw-list-head button{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:15px!important;color:var(--muted);border-bottom:2px solid transparent;padding:13px 0;background:none;margin-bottom:-1px}.cw-list-head button>span{font-size:12px;color:var(--text)}.cw-list-head button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.cw-list-head button[aria-pressed=true]>span{color:var(--accent)}.cw-list-tools{display:flex;align-items:center;gap:9px;padding:20px 0}.cw-list-tools input{flex:1;min-width:0}.cw-list-tools>span{color:var(--muted);font-size:12px;white-space:nowrap;padding-left:3px}.cw-row-head{display:flex;justify-content:space-between;padding:8px 0 11px;border-bottom:1px solid var(--accent);color:var(--muted);font-size:12px}.cw-course{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--accent);padding:21px 0}.cw-course-main{display:flex;align-items:center;gap:16px;min-width:0;text-align:left;border:0;background:none;padding:0;flex:1}.cw-thumb{flex:0 0 92px;width:92px;height:68px;border-radius:6px;background:var(--surface);overflow:hidden}.cw-thumb img{display:block;object-fit:cover;width:100%;height:100%}.cw-thumb>span{display:grid;place-items:center;height:100%;font-size:23px;font-weight:400;color:var(--accent)}.cw-course-main>div:last-child{min-width:0}.cw-course-meta{font-size:12px;color:var(--muted)}.cw-course-meta i,.cw-course-main p i{font-style:normal;padding:0 5px;color:var(--text)}.cw-course-main h3{font-size:15px;line-height:1.65;font-weight:550;color:var(--accent);margin:6px 0;overflow-wrap:anywhere}.cw-course-main:hover h3{color:var(--accent)}.cw-course-main p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.cw-course-action{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto;max-width:120px}.cw-course-action .cs-status{background:transparent;padding:0;font-size:12px;color:var(--muted)}.cw-course-action .cs-status.pending{color:var(--muted)}.cw-course-action>.text-button{font-size:12px!important;padding:5px 0}.cw-review-action{font-size:12px!important;color:var(--accent);background:var(--surface);border:1px solid var(--accent);border-radius:5px;padding:6px 9px}.cw-published-link{font-size:12px!important;color:var(--muted);border:0;background:none;padding:0}.cw-create{border-left:1px solid var(--accent);padding:6px 0 0 27px;position:sticky;top:24px}.cw-aside-label{font-size:12px;color:var(--muted)}.cw-create h2{font-size:25px;letter-spacing:-.04em;line-height:1.6;font-weight:500;color:var(--accent);margin:21px 0 13px}.cw-create>p{font-size:15px;color:var(--muted);line-height:1.9;margin-bottom:23px}.cw-create>.lr-primary{width:100%;font-size:15px!important}.cw-theme-create{font-size:12px!important;text-align:center;border:0;background:none;color:var(--muted);padding:15px 0;width:100%}.cw-create ol{list-style:none;padding:0;margin:19px 0 25px;display:grid;gap:23px}.cw-create li{display:flex;align-items:flex-start;gap:13px}.cw-create li>span{font-size:12px;color:var(--accent);border:1px solid var(--accent);border-radius:50%;width:24px;height:24px;display:grid;place-items:center;flex:none}.cw-create li strong{font-size:15px;font-weight:500;color:var(--muted)}.cw-create li p{font-size:12px;color:var(--muted);line-height:1.8;margin:5px 0 0}.cw-create .cw-credit-note{font-size:12px;color:var(--muted);border-top:1px solid var(--accent);padding-top:17px;line-height:1.9}
@media(min-width:1450px){.lr-stage{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:40px}.lr-notebook{padding-left:30px}.lr-notebook h2{font-size:30px}.lr-notebook>p{font-size:15px}.cw-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:45px}.cw-create{padding-left:35px}.cw-course{padding:25px 0}.cw-thumb{flex-basis:125px;width:125px;height:80px}.cw-course-main h3{font-size:17px}}
@media(max-width:1150px){.lr-stage{gap:22px;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}.lr-notebook{padding-left:20px}.lr-notebook h2{font-size:23px}.lr-notebook>p{font-size:15px}.lr-learn-list small{font-size:12px!important}.lr-screen-foot small{display:none}.lc-feature{grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr)}.lc-course-copy{padding:24px}.cw-workspace{grid-template-columns:minmax(0,1fr) 210px;gap:23px}.cw-create{padding-left:22px}.cw-create h2{font-size:23px}.cw-course-main{gap:12px}.cw-thumb{width:72px;flex-basis:72px;height:58px}.cw-course-main h3{font-size:15px}.cw-list-head nav{gap:16px}.cw-list-head button{font-size:12px!important}.cw-course-action{max-width:94px}.cw-course-action>.text-button{font-size:12px!important}.cw-course{gap:10px}}
@media(max-width:850px){.lr-stage{grid-template-columns:minmax(0,1fr);gap:25px}.lr-notebook{border-left:0;border-top:1px solid var(--accent);padding:25px 0 0}.lr-notebook h2{font-size:27px}.lr-notebook>p{font-size:15px}.lr-learn-list{margin:22px 0}.lr-learn-list>button small{font-size:15px!important}.lr-intro>.lr-primary{width:auto;min-width:220px}.lr-path{gap:23px}.lr-path>button{font-size:15px!important;min-width:110px;gap:9px}.lr-path>button>i{margin-left:0}.lc-feature{grid-template-columns:minmax(0,1fr)}.lc-feature .lc-art{min-height:0;aspect-ratio:16/8}.lc-course-copy{padding:25px}.lc-course-copy h2{font-size:27px;margin-top:15px}.lc-course-route{margin:7px 0 22px}.lc-catalog-toolbar{align-items:flex-start;flex-wrap:wrap;gap:17px}.lc-filters{width:100%}.lc-filters input{max-width:none;flex:1}.cw-workspace{grid-template-columns:minmax(0,1fr)}.cw-create{position:static;border-left:0;border-top:1px solid var(--accent);padding:25px 0;margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.cw-create .cw-aside-label{grid-column:1/-1}.cw-create h2{grid-column:1;grid-row:2/4}.cw-create>p{grid-column:1;margin-bottom:0}.cw-create>.lr-primary,.cw-create>.cw-theme-create{grid-column:2}.cw-create ol{display:none}.cw-create .cw-credit-note{grid-column:1/-1;margin-top:22px}.cw-course-main h3{font-size:15px}.cw-thumb{width:90px;flex-basis:90px;height:65px}.cw-list-head button{font-size:15px!important}.cw-list-head nav{gap:24px}.cw-course-action>.text-button{font-size:15px!important}.lr-practice{grid-template-columns:1fr}.lr-practice-check{border-left:0;border-top:1px solid var(--accent)}.lr-demo-note{display:block}.lr-demo-note strong{display:block;margin-bottom:5px}}
@media(max-width:600px){.lr-reader-toolbar{align-items:flex-start;gap:12px}.lr-preview-actions>span{display:none}.lr-preview-actions{gap:6px}.lr-preview-actions button{font-size:12px;min-height:34px;padding:7px 9px}.lr-reader-toolbar>.text-button{font-size:12px;white-space:nowrap}.lr-header{padding:25px 0}.lr-header h1{font-size:27px;line-height:1.5;margin-top:13px}.lr-header p{font-size:15px}.lr-kicker{font-size:12px;gap:9px}.lr-path{gap:0;justify-content:space-between;margin-bottom:22px}.lr-path>button{min-width:0;padding-bottom:14px;gap:7px;font-size:15px!important}.lr-path>button>span{width:24px;height:24px;font-size:12px}.lr-path>button>i{display:none}.lr-screen{border-radius:8px}.lr-screen-label{padding:11px 13px;min-height:37px;font-size:12px}.lr-screen-foot{font-size:12px;padding:10px 13px}.lr-screen-foot>span{max-width:100%}.lr-viewing-prompt{gap:13px;padding-top:16px}.lr-viewing-prompt p{font-size:12px}.lr-viewing-prompt>span{font-size:12px}.lr-notebook h2{font-size:25px}.lr-notebook>p{font-size:15px}.lr-note-index{font-size:12px;margin-bottom:12px}.lr-definition{font-size:15px!important}.lr-skill-switcher{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin;margin:0 0 22px;padding-bottom:7px}.lr-skill-switcher>button{flex:none;font-size:12px!important;padding:8px 11px}.lr-primary{font-size:15px!important;min-height:43px}.lr-intro>.lr-primary{width:100%}.lr-practice-main,.lr-practice-check{padding:24px}.lr-practice-main h2{font-size:28px}.lr-task{font-size:17px}.lr-demo-note{font-size:12px}.lr-demo-note strong{font-size:12px}.lr-plan-intro{padding:22px}.lr-plan-intro h2{font-size:21px}.lc-heading{padding:5px 0 22px;gap:15px;margin-bottom:24px}.lc-heading h1{font-size:31px}.lc-kicker{font-size:12px}.lc-heading .skills-tabs{padding:3px}.lc-heading .skills-tabs button{padding:8px 13px;min-width:0;font-size:15px}.lc-catalog-toolbar h2{font-size:16px}.lc-catalog-toolbar p{font-size:12px}.lc-catalog-toolbar{gap:16px}.lc-filters input,.lc-filters select{font-size:12px;max-width:100%}.lc-feature{border-radius:11px}.lc-feature .lc-art{aspect-ratio:16/10}.lc-course-copy{padding:22px}.lc-course-copy h2{font-size:24px}.lc-course-copy p{font-size:15px}.lc-meta{font-size:12px;gap:8px}.lc-course-route{gap:12px;font-size:12px}.lc-more{grid-template-columns:1fr}.lc-art-caption{font-size:12px;padding:7px 10px;bottom:14px;left:14px}.cw-heading{align-items:flex-start;gap:10px;margin-bottom:24px}.cw-heading h1{font-size:31px}.cw-heading p{font-size:15px}.cw-heading>.text-button{font-size:12px!important;max-width:80px;white-space:normal;text-align:right;line-height:1.8}.cw-list-head nav{gap:19px}.cw-list-head button{font-size:15px!important;gap:5px}.cw-list-tools{padding:17px 0}.cw-list-tools input,.cw-list-tools select{font-size:12px}.cw-course{padding:18px 0;gap:9px;align-items:flex-start}.cw-course-main{align-items:flex-start;gap:11px}.cw-thumb{flex-basis:65px;width:65px;height:56px}.cw-course-main h3{font-size:15px;margin:5px 0;line-height:1.7}.cw-course-meta{font-size:12px}.cw-course-main p{font-size:12px}.cw-course-action{max-width:83px;padding-top:3px}.cw-course-action>.text-button{font-size:12px!important}.cw-course-action .cs-status{font-size:12px}.cw-review-action{font-size:12px!important;padding:5px 7px}.cw-create{gap:0 18px}.cw-create h2{font-size:21px}.cw-create .lr-primary{font-size:12px!important;padding:12px!important;gap:6px}.cw-create .lr-primary>span{font-size:15px}.cw-create>p{font-size:12px}.cw-theme-create{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.lc-art:hover>img{transform:none}}
/* Selected direction: compact professional workspace, clear working regions. */
.lr-reader{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:20px 24px 12px}.lr-reader-toolbar{padding-bottom:13px}.lr-header{padding:20px 0 18px;max-width:none}.lr-header h1{font-size:26px;line-height:1.4;letter-spacing:-.025em;margin:10px 0 8px}.lr-header>p{font-size:15px;line-height:1.75;max-width:900px;color:var(--muted)}.lr-kicker{font-size:12px;gap:9px}.lr-kicker>span{font-size:12px;padding:2px 6px}.lr-path{margin-bottom:20px;gap:24px}.lr-path>button{font-size:15px!important;padding-bottom:12px;min-width:105px;gap:8px}.lr-path>button>span{width:21px;height:21px;font-size:12px}.lr-path>button>i{display:none}.lr-stage{gap:22px;grid-template-columns:minmax(0,1.75fr) minmax(230px,1fr)}.lr-notebook{padding-left:22px;border-left-color:var(--accent)}.lr-notebook h2{font-size:21px;font-weight:600;letter-spacing:-.02em}.lr-note-index{font-size:12px;margin-bottom:10px}.lr-notebook>p{font-size:15px;line-height:1.85;margin-bottom:17px}.lr-definition{font-size:15px!important}.lr-learn-list{margin:18px 0}.lr-learn-list>button{padding:11px 0;gap:10px}.lr-learn-list>button small{display:none}.lr-learn-list>button strong{font-size:15px}.lr-learn-list>button>span{font-size:12px;padding-top:2px}.lr-intro>.lr-primary{font-size:15px!important;padding:11px 14px!important}.lr-screen{border-radius:7px}.lr-screen-label{padding:10px 13px;min-height:35px;font-size:12px}.lr-screen-foot{padding:9px 13px;font-size:12px}.lr-viewing-prompt{padding-top:14px;gap:12px}.lr-viewing-prompt p{font-size:12px}.lr-shot-guide{margin-top:16px;padding:12px 0}.lr-shot-guide li{flex-basis:155px}.lr-shot-guide li>button{padding:11px;border-radius:5px}.lr-shot-guide li>button>span{font-size:15px}.lr-shot-guide li>button strong{font-size:12px;margin-top:10px}.lr-shot-guide li>button p{font-size:12px}.lr-shot-guide li>button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);box-shadow:inset 0 0 0 1px #91a9ce}.lr-skill-switcher{gap:6px;margin:-2px 0 20px}.lr-skill-switcher button{font-size:12px!important;padding:7px 10px;gap:7px;border-radius:5px}.lr-rule{margin:17px 0}.lr-scope{padding:13px 0;margin-top:20px}.lr-demo-note{font-size:12px;padding:11px 13px;margin-bottom:20px;gap:13px}.lr-demo-note strong{font-size:12px}.lr-preview-foot{font-size:12px;margin:17px 0 5px}.lc-heading{padding:4px 0 19px;margin-bottom:23px}.lc-heading h1,.cw-heading h1{font-size:29px;letter-spacing:-.035em}.lc-kicker,.cw-kicker{font-size:12px;margin-bottom:8px}.lc-catalog-toolbar h2{font-size:16px}.lc-catalog-toolbar p{font-size:12px}.lc-course-copy h2{font-size:24px}.lc-feature .lc-art{min-height:240px}.lc-course-route{margin-bottom:22px}.cw-heading{margin:4px 0 24px}.cw-heading p{font-size:15px}.cw-create h2{font-size:22px;margin:15px 0 10px}.cw-create>p{font-size:15px;margin-bottom:19px}.cw-aside-label{font-size:12px}.cw-create ol{gap:19px}.cw-course{padding:18px 0}
@media(min-width:1450px){.lr-stage{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:26px}.lr-notebook{padding-left:26px}.lr-notebook h2{font-size:24px}.lr-notebook>p{font-size:15px}.lr-header h1{font-size:29px}}
@media(max-width:1050px){.lr-reader{padding:18px}.lr-stage{grid-template-columns:minmax(0,1.5fr) minmax(215px,1fr);gap:17px}.lr-notebook{padding-left:17px}.lr-header h1{font-size:24px}.lr-notebook h2{font-size:20px}.lr-notebook>p{font-size:15px}.lr-definition{font-size:15px!important}}
@media(max-width:850px){.lr-stage{grid-template-columns:minmax(0,1fr)}.lr-notebook{border-left:0;padding:20px 0 0}.lr-reader{padding:20px}.lr-learn-list>button small{display:block;font-size:12px!important}.lc-feature .lc-art{min-height:0}.lr-notebook>p{font-size:15px}.lr-notebook h2{font-size:23px}.cw-create h2{grid-row:auto}.cw-create>p{grid-row:3;grid-column:1}}
@media(max-width:600px){.lr-reader{border-radius:7px;padding:16px 14px;margin:0 -4px}.lr-header{padding:19px 0}.lr-header h1{font-size:22px;line-height:1.5}.lr-header>p{font-size:15px}.lr-path{justify-content:space-between;gap:0}.lr-path>button{min-width:0;font-size:12px!important;gap:6px}.lr-path>button>span{width:20px;height:20px}.lr-kicker{font-size:12px;gap:7px}.lr-notebook h2{font-size:22px}.lc-heading h1,.cw-heading h1{font-size:28px}.lc-course-copy h2{font-size:22px}.lr-demo-note strong{margin-bottom:4px}.lr-reader-toolbar>.text-button{font-size:12px}.lr-preview-actions button{font-size:12px;padding:7px}.lr-preview-actions{gap:5px}.lr-screen-foot>span{font-size:12px}.lr-skill-switcher{flex-wrap:nowrap}.lr-assignment-note{font-size:12px;line-height:1.8}}

.cw-list-tools input{flex:1 1 auto;width:0;min-width:80px}.cw-list-tools select{flex:0 0 110px;width:110px}.lr-evidence>button>p,.lr-shot-guide li>button p{color:var(--muted)}.lr-note-index,.lr-scope{color:var(--muted)}

.lr-evidence-thumb{display:block;width:140px;max-width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px;margin-bottom:8px}.lr-film-overview{border-top:1px solid var(--accent);padding:15px 0 20px}.lr-film-overview h2{font-size:15px;margin:0 0 7px}.lr-film-overview p{font-size:15px;color:var(--muted);line-height:1.85;margin:0;white-space:pre-wrap}

/* A film is one reading workspace: sequential shots on the left, analysis on the right. */
.lr-film-header{padding:20px 0 15px}.lr-film-header>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lr-film-header h1{margin:0 8px 0 0}.lr-course-level,.lr-course-duration{font-size:12px;border-radius:5px;padding:4px 8px;background:var(--surface);color:var(--muted)}.lr-course-level{background:var(--selected);color:var(--text)}.lr-case-analysis{border:1px solid var(--accent);border-radius:7px;padding:17px 20px;margin-bottom:20px}.lr-case-analysis h2{font-size:17px;margin:0 0 8px;letter-spacing:-.025em}.lr-case-analysis p{white-space:pre-wrap;font-size:15px;line-height:1.95;color:var(--muted);margin:0}.lr-film-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(315px,1fr);align-items:start;gap:24px}.lr-analysis-column{min-width:0;border-left:1px solid var(--accent);padding-left:22px}.lr-film-course h2{letter-spacing:-.02em}.lr-full-storyboard{margin-top:20px}.lr-full-storyboard>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.lr-full-storyboard h2,.lr-film-skills>h2,.lr-shot-prompts h2{font-size:17px;margin:0 0 12px}.lr-full-storyboard>header>span{font-size:12px;color:var(--muted)}.lr-coverage-note{font-size:12px;line-height:1.7;color:var(--text);margin:0 0 10px}.lr-shot-timeline{display:flex;width:100%;height:13px;gap:1px;background:var(--surface);border-radius:4px;overflow:hidden}.lr-shot-timeline button{flex-basis:0;min-width:2px;padding:0;background:var(--surface);border:0;position:relative}.lr-shot-timeline button:hover{background:var(--surface)}.lr-shot-timeline button[aria-pressed=true]{background:var(--selected)}.lr-timeline-time{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:6px 0 12px;font-variant-numeric:tabular-nums}.lr-shot-list{list-style:none;padding:0 7px 0 0;margin:0;max-height:640px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--accent) var(--text);overscroll-behavior:contain}.lr-shot-list>li{padding:0 0 9px}.lr-shot-row{border:1px solid var(--accent);border-radius:6px;position:relative;overflow:hidden}.lr-shot-row.selected{border-color:var(--accent);background:var(--surface);box-shadow:inset 3px 0 #426fed}.lr-shot-main{display:flex;width:100%;gap:12px;align-items:flex-start;text-align:left;border:0;background:none;padding:8px 75px 8px 8px;color:inherit}.lr-shot-main img,.lr-shot-no-image{width:104px;flex:0 0 104px;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:var(--surface)}.lr-shot-no-image{display:grid;place-items:center;color:var(--muted)}.lr-shot-copy{display:block;min-width:0;flex:1}.lr-shot-line{display:flex;flex-wrap:wrap;gap:3px 9px;align-items:baseline}.lr-shot-line>strong{font-size:15px;line-height:1.7;color:var(--accent)}.lr-shot-line>small{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.lr-shot-copy>span:not(.lr-shot-line){display:block;color:var(--muted);line-height:1.75;font-size:12px;margin:4px 0}.lr-shot-copy>small{font-size:12px;color:var(--muted)}.lr-shot-prompt-link{position:absolute;top:13px;right:8px;font-size:12px!important;padding:5px 7px;background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:4px}.lr-shot-row.selected .lr-shot-prompt-link{background:var(--selected);color:var(--text);border-color:var(--accent)}.lr-shot-detail{margin:0 10px 10px 12px;background:#ffffffa8;border-radius:4px;padding:3px 9px}.lr-shot-detail>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;border-bottom:1px solid var(--accent);padding:8px 0;font-size:12px;line-height:1.8}.lr-shot-detail>div:last-child{border-bottom:0}.lr-shot-detail dt{font-weight:600;color:var(--accent)}.lr-shot-detail dd{color:var(--muted);margin:0;white-space:pre-wrap}.lr-transition{display:flex;gap:10px;align-items:center;color:var(--accent);font-size:12px;margin:1px 3px 8px}.lr-transition:after{content:'';height:1px;background:var(--surface);flex:1}.lr-transition small{font-size:12px;white-space:nowrap}.lr-film-skill{border-bottom:1px solid var(--accent);padding:12px 0}.lr-film-skill:first-of-type{padding-top:0}.lr-film-skill-title{display:flex;width:100%;align-items:center;gap:8px;padding:0;text-align:left;background:none;border:0;color:var(--accent)}.lr-film-skill-title>span{width:25px;height:25px;border-radius:50%;background:var(--raised);color:var(--text);font-size:12px;display:grid;place-items:center;flex:none}.lr-film-skill-title strong{font-size:15px}.lr-film-skill-title small{font-size:12px;border-radius:4px;background:var(--surface);color:var(--accent);padding:3px 6px}.lr-film-skill-title i{font-style:normal;color:var(--muted);margin-left:auto}.lr-film-skill>p{font-size:15px;line-height:1.85;color:var(--muted);margin:8px 0;white-space:pre-wrap}.lr-film-skill>p.lr-skill-application{font-size:15px;font-weight:550;color:var(--accent)}.lr-film-skill>p.lr-skill-meaning{font-size:12px;color:var(--muted)}.lr-film-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.lr-film-evidence>button{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;background:none;text-align:left;min-width:0}.lr-film-evidence img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px}.lr-film-evidence strong{font-size:12px;line-height:1.8;color:var(--accent);margin:5px 0 2px}.lr-film-evidence span{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap}.lr-film-skill>p.lr-skill-relationship{background:var(--surface);border-left:2px solid var(--accent);padding:9px 11px;color:var(--muted)}.lr-skill-reference{font-size:12px!important;margin-top:4px;padding:3px 0}.lr-shot-prompts{margin-top:20px;padding-top:17px;border-top:1px solid var(--accent);scroll-margin-top:18px}.lr-shot-prompts>header{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.lr-shot-prompts h2{margin-bottom:5px}.lr-shot-prompts>header>span{font-size:12px;color:var(--accent);border-radius:3px;background:var(--surface);padding:3px 6px}.lr-prompt-note{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 11px}.lr-prompt-dimensions{border:1px solid var(--accent);border-radius:5px;overflow:hidden;margin:0 0 15px}.lr-prompt-dimensions>div{display:grid;grid-template-columns:100px minmax(0,1fr);border-top:1px solid var(--accent);font-size:12px;line-height:1.8}.lr-prompt-dimensions>div:first-child{border-top:0}.lr-prompt-dimensions dt{font-weight:550;color:var(--accent);background:var(--surface);padding:6px 9px}.lr-prompt-dimensions dd{padding:6px 9px;margin:0;color:var(--muted);white-space:pre-wrap}.lr-prompt-block{margin:15px 0 0}.lr-prompt-block>header{display:flex;align-items:center;gap:9px;margin-bottom:7px}.lr-prompt-block h3{font-size:15px;color:var(--accent);margin:0}.lr-prompt-block button{font-size:12px!important;border:1px solid var(--accent);border-radius:10px;padding:2px 9px;background:var(--surface);color:var(--accent)}.lr-prompt-block button:disabled{opacity:.45;cursor:default}.lr-prompt-block textarea{display:block;width:100%;resize:vertical;border:1px solid var(--accent);background:var(--surface);border-radius:5px;font:inherit;font-size:12px;line-height:1.85;color:var(--muted);padding:10px;min-height:85px;box-sizing:border-box}.lr-prompt-block textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.lr-empty-shots{padding:35px 0;text-align:center;font-size:15px;color:var(--muted)}.lr-film-course button:focus-visible,.lr-shot-list:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(min-width:1600px){.lr-film-workspace{grid-template-columns:minmax(0,1.3fr) minmax(390px,1fr);gap:28px}.lr-analysis-column{padding-left:27px}.lr-case-analysis p{font-size:15px}.lr-shot-list{max-height:720px}.lr-shot-main img{width:126px;flex-basis:126px}.lr-shot-line>strong{font-size:15px}.lr-shot-copy>span:not(.lr-shot-line){font-size:15px}.lr-film-skill>p,.lr-prompt-dimensions>div,.lr-prompt-block textarea{font-size:15px}}
@media(max-width:1100px){.lr-film-workspace{grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr);gap:17px}.lr-analysis-column{padding-left:17px}.lr-shot-main{padding-right:8px;padding-bottom:34px;gap:8px}.lr-shot-main img,.lr-shot-no-image{width:80px;flex-basis:80px}.lr-shot-prompt-link{top:auto;bottom:8px}.lr-shot-row.selected .lr-shot-prompt-link{top:9px;bottom:auto}.lr-shot-row.selected .lr-shot-main{padding-right:70px;padding-bottom:8px}.lr-shot-row.selected .lr-shot-main img{width:72px;flex-basis:72px}.lr-prompt-dimensions>div{grid-template-columns:90px minmax(0,1fr)}}
@media(max-width:850px){.lr-film-workspace{grid-template-columns:minmax(0,1fr)}.lr-analysis-column{border-left:0;padding:22px 0 0;border-top:1px solid var(--accent)}.lr-shot-main,.lr-shot-row.selected .lr-shot-main{padding:9px 83px 9px 9px}.lr-shot-main img,.lr-shot-row.selected .lr-shot-main img{width:118px;flex-basis:118px}.lr-shot-prompt-link,.lr-shot-row.selected .lr-shot-prompt-link{top:12px;bottom:auto}.lr-shot-list{max-height:560px}.lr-film-evidence{grid-template-columns:repeat(3,minmax(0,1fr))}.lr-case-analysis{padding:15px}.lr-case-analysis p{font-size:15px}.lr-film-header h1{font-size:24px}}
@media(max-width:540px){.lr-film-header h1{font-size:21px}.lr-full-storyboard>header{align-items:flex-start;flex-direction:column;gap:0}.lr-full-storyboard>header>span{margin:-5px 0 10px}.lr-shot-main,.lr-shot-row.selected .lr-shot-main{padding:8px 8px 34px}.lr-shot-main img,.lr-shot-row.selected .lr-shot-main img{width:87px;flex-basis:87px}.lr-shot-prompt-link,.lr-shot-row.selected .lr-shot-prompt-link{top:auto;bottom:8px}.lr-shot-row.selected{padding-bottom:30px}.lr-shot-row.selected .lr-shot-main{padding-bottom:8px}.lr-shot-detail>div{grid-template-columns:70px minmax(0,1fr)}.lr-film-evidence{grid-template-columns:repeat(2,minmax(0,1fr))}.lr-prompt-dimensions>div{grid-template-columns:90px minmax(0,1fr)}.lr-film-skill-title small{font-size:12px}.lr-case-analysis p{line-height:1.9}}

.lr-film-course p,.lr-shot-copy,.lr-shot-detail dd,.lr-prompt-dimensions dd,.lr-film-evidence span{overflow-wrap:anywhere}.lr-shot-kind{font-size:12px;font-style:normal;font-weight:400;color:var(--muted);border:1px solid var(--accent);border-radius:3px;padding:1px 4px;white-space:nowrap}.lr-shot-timeline{gap:0}.lr-shot-timeline button{min-width:0;box-shadow:inset -0.5px 0 #fff}

/* Persisted analysis status in the course development list. */
.cw-course-action:has(.cw-job-progress),.cw-course-action:has(.cw-job-error){width:250px;max-width:36%;flex:none;align-items:stretch;text-align:left}.cw-job-progress{display:grid;gap:8px;margin:10px 0;font-size:15px;line-height:1.6;color:var(--muted)}.cw-job-progress progress{width:100%;height:6px;accent-color:var(--accent)}.cw-job-progress small{font-size:12px}.cw-job-error{font-size:15px;line-height:1.7;color:#a14b3e;margin:8px 0;overflow-wrap:anywhere}.cs-status.analyzing{color:var(--accent);background:var(--surface)}.cs-status.analysis-failed{color:#a14b3e;background:var(--surface)}
@media(max-width:600px){.cw-course:has(.cw-job-progress),.cw-course:has(.cw-job-error){flex-wrap:wrap}.cw-course-action:has(.cw-job-progress),.cw-course-action:has(.cw-job-error){width:100%;max-width:none;padding-left:76px;box-sizing:border-box}}
/* Course discovery: equal vertical cards with text above authentic film frames. */
.lc-study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1440px}.lc-study-card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--accent);border-radius:18px;padding:28px;color:var(--text);transition:border-color .18s,box-shadow .18s}.lc-study-card:hover{border-color:var(--accent);box-shadow:0 5px 22px #34446608}.lc-study-label{align-self:flex-start;background:var(--surface);color:var(--accent);border-radius:6px;padding:5px 9px;font-size:15px;line-height:1.4;font-weight:600}.lc-study-card h2{font-size:clamp(21px,1.8vw,28px);line-height:1.45;letter-spacing:-.025em;margin:16px 0 12px;min-height:2.9em}.lc-study-card h2 button{border:0;background:transparent;padding:0;text-align:left;color:inherit;font:inherit;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.lc-study-description{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 16px;height:3.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.lc-study-tags{display:flex;gap:8px;flex-wrap:wrap;align-content:flex-start;min-height:38px;margin-bottom:14px}.lc-study-tags>span{padding:5px 9px;background:var(--surface);color:var(--muted);font-size:15px;line-height:1.5;border-radius:6px}.lc-study-cover{display:block;position:relative;aspect-ratio:16/9;width:100%;border:0;border-radius:11px;background:var(--surface);padding:0;overflow:hidden;color:var(--text)}.lc-study-cover>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.lc-study-cover:hover>img{transform:scale(1.025)}.lc-study-play{position:absolute;bottom:14px;left:14px;border:1px solid #ffffff88;background:#151d2db0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:15px}.lc-study-duration{position:absolute;bottom:14px;right:14px;border-radius:18px;background:#151d2db0;padding:4px 9px;font-size:15px;font-variant-numeric:tabular-nums}.lc-study-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;padding:20px;background:linear-gradient(135deg,var(--surface),var(--surface));color:var(--muted)}.lc-study-placeholder strong{font-size:22px}.lc-study-placeholder small{font-size:15px}.lc-study-card .lc-study-meta{font-size:15px;color:var(--muted);margin:15px 0 18px}.lc-study-meta span{margin:0 8px}.lc-study-card footer{border-top:1px solid var(--accent);padding-top:17px;margin-top:auto}.lc-study-card footer button{background:transparent;border:0;padding:0;color:var(--accent);font-size:15px;font-weight:600;display:inline-flex;gap:14px;align-items:center;min-height:28px}.lc-study-card footer button span{font-size:23px;line-height:1}.lc-study-card button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.lc-study-card h2 button:hover{color:var(--accent)}
@media(min-width:1800px){.lc-study-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lc-study-grid:has(>.lc-study-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:1200px}}
@media(max-width:1100px){.lc-study-card{padding:22px}.lc-study-card h2{font-size:22px}.lc-study-tags{min-height:66px}.lc-study-tags>span{font-size:12px}}
@media(max-width:720px){.lc-study-grid{grid-template-columns:1fr;gap:18px}.lc-study-card{padding:22px;border-radius:14px}.lc-study-card h2{font-size:23px;min-height:0}.lc-study-card h2 button{display:block;overflow:visible}.lc-study-description{height:auto;max-height:3.6em}.lc-study-tags{min-height:0;margin-bottom:18px}.lc-study-label{font-size:12px}.lc-study-cover{border-radius:9px}.lc-study-meta{font-size:12px}.lc-filters{flex-wrap:wrap}.lc-filters input{flex-basis:160px}.lc-filters select{flex:0 1 115px}}
@media(prefers-reduced-motion:reduce){.lc-study-card,.lc-study-cover>img{transition:none}}

/* Shot-specific modal stays tied to its frame and timestamp. */
dialog:has(.lr-shot-prompts){width:min(880px,calc(100vw - 32px));max-height:90dvh;padding:24px;box-sizing:border-box}dialog .lr-shot-prompts{margin:0;padding:0;border:0}dialog .lr-shot-prompts>header>h2{display:none}dialog .lr-prompt-shot-context{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:center;margin:16px 0}dialog .lr-prompt-shot-context img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}dialog .lr-prompt-shot-context p{font-size:15px;line-height:1.8;color:var(--muted);white-space:pre-wrap}dialog .lr-prompt-block textarea{font-size:15px;line-height:1.8;min-height:140px}dialog .lr-prompt-block h3{font-size:15px}dialog .lr-prompt-dimensions{font-size:15px}dialog .lr-prompt-block button{font-size:15px!important;padding:5px 14px}@media(max-width:540px){dialog:has(.lr-shot-prompts){padding:16px}dialog .lr-prompt-shot-context{grid-template-columns:1fr}dialog .lr-prompt-shot-context img{max-width:260px}}


/* course-author.css */
/* Video-first course authoring: one film, readable evidence, progressively disclosed editing. */
.ca-studio{background:var(--surface);border:1px solid var(--ca-line);border-radius:10px;overflow:hidden;color:var(--text)}.ca-studio button{font:inherit;cursor:pointer}.ca-studio button:focus-visible,.ca-replace:focus-within,.ca-upload-target:focus-within{outline:3px solid var(--accent);outline-offset:2px}.ca-studio button:disabled{cursor:wait;opacity:.55}.ca-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-bottom:1px solid var(--ca-line)}.ca-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ca-toolbar button{font-size:15px;padding:8px 12px;min-height:34px}.ca-toolbar #cs-save-state{font-size:12px;color:var(--muted);margin:0 8px 0 0}.ca-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 24px 19px}.ca-heading>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.ca-heading h1{font-size:26px;letter-spacing:-.03em;line-height:1.4;margin:0;color:var(--text);overflow-wrap:anywhere}.ca-heading p{flex-basis:100%;font-size:15px;color:var(--muted);margin:0;line-height:1.7;overflow-wrap:anywhere}.ca-heading .text-button{padding:3px;font-size:18px}.ca-badge{padding:3px 8px;background:var(--surface);color:var(--accent);font-size:12px;border-radius:4px;white-space:nowrap}.ca-heading-side{display:flex;align-items:center;gap:18px;white-space:nowrap;font-size:12px;color:var(--muted)}.ca-replace{cursor:pointer;position:relative;font-size:15px;color:var(--ca-blue);display:inline-flex;align-items:center;margin:0}.ca-replace input,.ca-upload-target input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.ca-video{background:var(--bg);position:relative}.ca-video video{display:block;width:100%;aspect-ratio:16/7;max-height:440px;min-height:230px;object-fit:contain}.ca-clips{display:flex;justify-content:center;gap:6px;padding:7px}.ca-clips button{background:var(--surface);color:var(--text);font-size:12px;padding:5px 12px;border-radius:3px}.ca-clips button[aria-pressed=true]{background:var(--selected);color:var(--text)}.ca-overview{padding:20px 24px;border-bottom:1px solid var(--ca-line)}.ca-overview header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}.ca-studio h2{font-size:18px;line-height:1.5;letter-spacing:-.02em;margin:0;font-weight:650}.ca-overview header>div{display:flex;gap:15px}.ca-overview .text-button{font-size:15px;padding:0}.ca-overview>p{font-size:15px;color:var(--muted);line-height:1.9;margin:0;white-space:pre-wrap}.ca-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 24px}.ca-list-toolbar>div{display:flex;align-items:center;gap:15px}.ca-list-toolbar>div>span{font-size:12px;color:var(--muted)}.ca-list-toolbar nav{display:flex;gap:5px}.ca-list-toolbar nav>button{font-size:15px;color:var(--muted);border:1px solid var(--accent);background:var(--surface);border-radius:4px;padding:8px 14px;white-space:nowrap}.ca-list-toolbar nav>button[aria-pressed=true]{color:var(--text);background:var(--ca-blue);border-color:var(--ca-blue)}.ca-list-head,.ca-row-main{display:grid;grid-template-columns:126px 150px minmax(0,1fr) 110px;gap:18px;align-items:center;padding:13px 24px}.ca-list-head{font-size:12px;color:var(--muted);background:var(--surface);border-top:1px solid var(--ca-line);border-bottom:1px solid var(--ca-line);padding-top:9px;padding-bottom:9px}.ca-list-head>span:last-child{text-align:right}.ca-skill-row{border-bottom:1px solid var(--ca-line)}.ca-skill-row.selected{background:var(--surface);box-shadow:inset 3px 0 var(--ca-blue)}.ca-times{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.ca-time{display:inline-block;background:none;color:var(--accent);border:0;padding:4px 0;font-size:12px!important;font-variant-numeric:tabular-nums;line-height:1.6;text-align:left;white-space:nowrap}.ca-time small{display:block;color:var(--muted);font-size:12px}.ca-times>span{font-size:12px;color:var(--muted)}.ca-thumb{position:relative;aspect-ratio:16/9;background:var(--surface);border-radius:5px;border:1px solid var(--accent);padding:0!important;overflow:hidden;display:block;width:100%}.ca-thumb img{width:100%;height:100%;object-fit:cover;display:block;color:var(--muted);font-size:12px}.ca-thumb>span{position:absolute;bottom:4px;right:4px;border-radius:3px;padding:2px 5px;font-size:12px;color:var(--text);background:#111b2bca}.ca-skill-row.selected>.ca-row-main>.ca-thumb{border:2px solid var(--ca-blue)}.ca-skill-title{background:none;border:0;text-align:left;padding:0;min-width:0;color:var(--text)}.ca-skill-title strong{font-size:15px;font-weight:650;line-height:1.7;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ca-skill-title strong i{font-size:12px;font-style:normal;font-weight:500;background:var(--surface);color:var(--accent);border-radius:4px;padding:0 6px}.ca-skill-title p{font-size:15px;line-height:1.75;color:var(--muted);margin:5px 0}.ca-scope{display:inline-block;font-size:12px;color:var(--muted)}.ca-scope.sequence,.ca-scope.film{color:var(--accent);background:var(--surface);border-radius:3px;padding:2px 6px}.ca-row-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}.ca-row-actions button{font-size:12px;padding:2px 0;color:var(--muted);white-space:nowrap}.ca-row-detail{padding:0 24px 16px}.ca-observation{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 12px;padding:0 8px}.ca-relationship{background:var(--surface);border:1px solid var(--accent);border-radius:6px;padding:17px 19px;margin-bottom:12px}.ca-studio h3{font-size:15px;margin:0 0 7px;color:var(--accent);line-height:1.7}.ca-relationship>p{font-size:15px;color:var(--muted);line-height:1.9;margin:0 0 15px;white-space:pre-wrap}.ca-evidence-chain{display:flex;gap:12px;align-items:flex-start;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.ca-evidence-chain>div{flex:0 0 170px;min-width:0}.ca-evidence-chain>div>p{font-size:12px;line-height:1.8;color:var(--muted);margin:3px 0 0}.ca-chain-arrow{flex:0 0 15px;color:var(--muted);font-size:18px;margin-top:33px}.ca-teaching-line{display:grid;grid-template-columns:110px minmax(0,1fr) 100px;gap:15px;align-items:start;padding:14px 17px;background:var(--surface);border:1px solid var(--accent);border-bottom:0}.ca-teaching-line:last-child{border-bottom:1px solid var(--accent);border-radius:0 0 5px 5px}.ca-teaching-line>p{font-size:15px;line-height:1.9;color:var(--muted);margin:0;white-space:pre-wrap}.ca-teaching-line h3{margin:1px 0 0}.ca-teaching-line>div{display:flex;justify-content:flex-end;gap:10px}.ca-teaching-line button{font-size:12px;color:var(--accent);padding:3px 0;white-space:nowrap}.ca-connections{padding:23px 24px;border-bottom:1px solid var(--ca-line)}.ca-connections>p{font-size:15px;color:var(--muted)}.ca-connections article{padding:15px 0;border-top:1px solid var(--ca-line)}.ca-connections article>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ca-connections article>p{font-size:15px;line-height:1.9;color:var(--muted);margin:5px 0 0}.ca-connections .text-button{font-size:12px;padding:0}.ca-footer{padding:18px 24px;display:flex;justify-content:space-between;align-items:flex-start;gap:25px;color:var(--muted);font-size:12px}.ca-footer details{max-width:60%;text-align:right}.ca-footer details p{text-align:left;line-height:1.9;white-space:pre-wrap}.ca-footer summary{cursor:pointer}.ca-footer select{max-width:100px;margin-left:10px}.ca-footer label{font-size:15px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.ca-footer .secondary{font-size:12px;padding:8px}.ca-review{margin:0;background:var(--surface);padding:10px 24px;color:var(--accent);font-size:15px}.ca-studio>.notice{margin:0;padding:14px 24px;border-radius:0}.ca-empty-video{padding:70px 25px;text-align:center;background:var(--surface)}.ca-empty-video>span{font-size:35px;color:var(--muted)}.ca-empty-video h2{margin:17px 0 12px}.ca-empty-video p{font-size:15px;color:var(--muted)}.ca-generation-foot{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ca-generation-foot p{font-size:15px;color:var(--muted);margin:0}.ca-generation-foot button{white-space:nowrap;font-size:15px}.ca-generating{padding:24px;display:flex;align-items:center;gap:16px;background:var(--surface)}.ca-generating strong{font-size:15px}.ca-generating p{font-size:15px;color:var(--muted);margin:6px 0 0;line-height:1.8}.ca-spinner{display:block;width:23px;height:23px;border:2px solid var(--accent);border-top-color:var(--accent);border-radius:50%;animation:ca-spin 1s linear infinite;flex:none}@keyframes ca-spin{to{transform:rotate(360deg)}}.ca-upload-start{padding:10px 0}.ca-upload-start h3{font-size:18px}.ca-upload-start p{font-size:15px;color:var(--muted);line-height:1.9}.ca-upload-target{position:relative;display:flex;align-items:center;justify-content:center;height:125px;background:var(--surface);border:1px dashed var(--accent);border-radius:8px;color:var(--accent);font-weight:600;cursor:pointer;margin:20px 0}.ca-muted{color:var(--muted)!important}
@media(max-width:1150px){.ca-list-head,.ca-row-main{grid-template-columns:95px 120px minmax(0,1fr) 85px;gap:12px;padding-left:18px;padding-right:18px}.ca-heading{padding:18px}.ca-heading h1{font-size:23px}.ca-heading-side{gap:12px;flex-direction:column;align-items:flex-end}.ca-toolbar{padding:12px 18px}.ca-row-actions{gap:7px}.ca-skill-title p{font-size:12px}.ca-list-toolbar{padding:17px 18px}.ca-list-toolbar>div{display:block}.ca-list-toolbar>div>span{display:block;margin-top:4px;font-size:12px}.ca-row-detail{padding:0 18px 15px}.ca-teaching-line{grid-template-columns:80px minmax(0,1fr) 88px;gap:10px;padding:12px}.ca-overview{padding:18px}.ca-video video{aspect-ratio:16/8;min-height:200px}}
@media(max-width:800px){.ca-list-head{display:none}.ca-row-main{grid-template-columns:120px minmax(0,1fr);padding:16px;gap:8px 14px}.ca-times{grid-column:1;grid-row:2;gap:1px}.ca-row-main>.ca-thumb{grid-column:1;grid-row:1}.ca-skill-title{grid-column:2;grid-row:1/3}.ca-row-actions{grid-column:1/-1;padding-top:5px}.ca-heading h1{font-size:21px}.ca-teaching-line{grid-template-columns:minmax(0,1fr) auto}.ca-teaching-line h3{grid-column:1}.ca-teaching-line>p{grid-column:1/-1;grid-row:2;font-size:15px}.ca-teaching-line>div{grid-column:2;grid-row:1}.ca-toolbar{align-items:flex-start}.ca-toolbar #cs-save-state{display:none}.ca-toolbar button{font-size:12px;padding:7px 8px}.ca-list-toolbar nav>button{font-size:12px;padding:7px 9px}.ca-overview>p{font-size:15px}.ca-video video{aspect-ratio:16/9;min-height:0;max-height:none}.ca-evidence-chain>div{flex-basis:145px}.ca-footer{display:block}.ca-footer details{margin-top:14px;max-width:100%;text-align:left}}
@media(max-width:500px){.ca-studio{margin:0 -5px;border-radius:6px}.ca-heading{align-items:flex-start;gap:10px;padding:16px}.ca-heading h1{font-size:19px}.ca-heading-side>span{display:none}.ca-heading p{font-size:12px}.ca-toolbar{padding:10px;gap:6px}.ca-toolbar>div{gap:5px}.ca-toolbar>.text-button{white-space:nowrap;padding-left:0}.ca-heading-side{padding-top:5px}.ca-replace{font-size:12px}.ca-badge{font-size:12px}.ca-list-toolbar{align-items:flex-start;gap:10px;padding:16px;flex-wrap:wrap}.ca-list-toolbar h2{font-size:17px}.ca-list-toolbar nav{width:100%;margin-top:4px}.ca-list-toolbar nav>button{flex:1}.ca-row-main{grid-template-columns:110px minmax(0,1fr);gap:7px 12px}.ca-skill-title strong{font-size:15px}.ca-skill-title p{font-size:12px;line-height:1.7}.ca-overview{padding:16px}.ca-overview h2{font-size:17px}.ca-overview>p{font-size:15px}.ca-time{font-size:12px!important}.ca-row-detail{padding:0 12px 12px}.ca-relationship{padding:13px}.ca-relationship>p{font-size:15px}.ca-generation-foot{display:block;padding:16px}.ca-generation-foot button{margin-top:14px}.ca-connections{padding:16px}}
@media(prefers-reduced-motion:reduce){.ca-spinner{animation:none}}

.ca-overview h2 small{font-weight:400;font-size:12px;color:var(--muted);margin-left:12px}.ca-storyboard-editor{border-top:1px solid var(--accent);margin-top:28px;padding-top:22px}.ca-storyboard-editor>header{display:flex;justify-content:space-between;align-items:center;gap:18px}.ca-storyboard-editor h2{font-size:20px;margin:0 0 7px;color:var(--accent)}.ca-storyboard-editor>header p{font-size:15px;color:var(--muted);margin:0}.ca-storyboard-editor>header>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.ca-storyboard-editor>header button{font-size:12px!important;padding:8px 11px}.ca-shot-review-hint{font-size:12px;line-height:1.9;color:var(--muted);margin:14px 0}.ca-storyboard-editor ol{list-style:none;padding:0;margin:0;max-height:650px;overflow:auto;scrollbar-width:thin}.ca-storyboard-editor li{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-top:1px solid var(--accent)}.ca-shot-preview{display:flex;gap:14px;align-items:flex-start;min-width:0}.ca-shot-preview>button{display:block;width:118px;flex:0 0 118px;aspect-ratio:16/9;position:relative;background:var(--surface);border:0;padding:0;border-radius:5px;overflow:hidden}.ca-shot-preview img{width:100%;height:100%;object-fit:cover}.ca-shot-preview>button>span{position:absolute;left:7px;bottom:5px;font-size:12px;color:var(--text);text-shadow:0 1px 4px #000}.ca-shot-preview h3{font-size:15px;color:var(--accent);margin:0 0 3px}.ca-shot-preview>div>span{font-size:12px;color:var(--muted)}.ca-shot-preview p{font-size:15px;color:var(--muted);line-height:1.75;margin:5px 0}.ca-shot-preview small{font-size:12px;color:var(--muted)}.ca-shot-actions{display:flex;align-items:flex-end;flex-direction:column;flex:none;gap:8px}.ca-shot-actions button{font-size:12px!important}.ca-shot-edit-form{max-width:760px}.ca-shot-edit-form .ca-shot-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.ca-shot-edit-form textarea{min-height:68px}.ca-shot-edit-form .ca-wide{grid-column:1/-1}.ca-shot-edit-form fieldset{border:1px solid var(--accent);padding:13px;border-radius:5px;margin:14px 0}.ca-shot-edit-form legend{font-size:15px;color:var(--muted)}.ca-shot-edit-form>p{font-size:15px;color:var(--muted);line-height:1.85}.ca-shot-form-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:var(--surface);padding:12px 0}.ca-summary-counter{font-size:12px;color:var(--muted)}
@media(max-width:650px){.ca-storyboard-editor>header{align-items:flex-start;flex-direction:column}.ca-storyboard-editor li{align-items:flex-start;flex-direction:column;gap:9px}.ca-shot-actions{flex-direction:row;align-items:center;align-self:flex-end}.ca-shot-preview>button{width:86px;flex-basis:86px}.ca-shot-edit-form .ca-shot-form-grid{grid-template-columns:1fr}.ca-overview h2 small{display:block;margin:5px 0 0}}
.ca-generating>div{flex:1;min-width:0}.ca-generation-progress{display:flex;align-items:center;gap:12px;margin-top:11px}.ca-generation-progress progress{display:block;width:min(310px,55%);height:7px;accent-color:var(--accent)}.ca-generation-progress>span{font-size:12px;color:var(--accent);white-space:nowrap;font-variant-numeric:tabular-nums}

/* File transfer completes only after server validation and persistence. */
.ca-upload-state{display:flex;gap:16px;padding:22px 24px;background:var(--surface);border-top:1px solid var(--accent)}.ca-upload-state>div{min-width:0;flex:1}.ca-upload-status-head{display:flex;gap:16px;justify-content:space-between;align-items:center}.ca-upload-status-head strong{font-size:15px}.ca-upload-status-head b{font-size:16px;font-variant-numeric:tabular-nums;color:var(--accent)}.ca-upload-state p{font-size:15px;line-height:1.8;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}.ca-upload-state .ca-upload-filename{color:var(--text)}.ca-upload-state progress{display:block;width:100%;height:8px;margin:12px 0 9px;accent-color:var(--accent);border:0;border-radius:8px;overflow:hidden}.ca-upload-state progress::-webkit-progress-bar{background:var(--surface);border-radius:8px}.ca-upload-state progress::-webkit-progress-value{background:var(--selected);border-radius:8px}.ca-upload-state.failed{background:var(--surface);border-color:var(--accent)}.ca-upload-state.failed strong{color:#9d4822}.ca-upload-error{width:24px;height:24px;display:grid;place-items:center;color:#a84d26;border:1px solid #da9c7e;border-radius:50%;flex:none;font-weight:700}.ca-upload-complete{display:flex;align-items:center;gap:14px;padding:20px 24px;background:var(--surface);border-top:1px solid var(--accent)}.ca-upload-complete>span:first-child{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:var(--text);background:var(--selected);flex:none}.ca-upload-complete>div{flex:1;min-width:0}.ca-upload-complete strong{font-size:15px;color:var(--accent)}.ca-upload-complete p{font-size:15px;line-height:1.8;color:var(--muted);margin:5px 0 0}.ca-upload-complete-percent{font-size:15px;font-variant-numeric:tabular-nums;color:var(--accent)}.ca-generation-foot p+p{margin-top:6px}@media(max-width:500px){.ca-upload-state,.ca-upload-complete{padding:16px;gap:11px}.ca-generation-foot{align-items:stretch;flex-direction:column}.ca-generation-foot button{width:100%;min-height:44px}.ca-upload-complete-percent{display:none}}


/* course-developer.css */
.cd-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px;align-items:start}.cd-chat,.cd-work{background:var(--surface,var(--surface));border:1px solid var(--accent);border-radius:18px;overflow:hidden}.cd-messages{min-height:280px;max-height:55vh;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.cd-welcome{text-align:center;padding:24px 0;line-height:1.8}.cd-avatar{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--surface);color:var(--accent);font-weight:700}.cd-message{padding:14px 18px;border-radius:14px;max-width:95%;line-height:1.7;overflow-wrap:anywhere}.cd-message p{white-space:pre-wrap;margin:6px 0}.cd-message small{font-weight:600;color:var(--muted)}.cd-user{background:var(--surface);align-self:flex-end}.cd-assistant{background:var(--surface);align-self:flex-start}.cd-chat form{border-top:1px solid var(--accent);padding:20px}.cd-chat textarea{display:block;width:100%;min-height:110px;margin:8px 0 14px;resize:vertical}.cd-compose-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cd-compose-options label{display:grid;gap:6px;font-size:15px}.cd-compose-options input,.cd-compose-options select{width:100%;min-width:0}.cd-chat .muted{font-size:15px;line-height:1.7}.cd-work{padding:20px}.cd-work-heading,.cd-task-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.cd-work-heading h2{margin:0 0 12px}.cd-task{border-top:1px solid var(--accent);padding:18px 0;overflow-wrap:anywhere}.cd-task p{font-size:15px;line-height:1.6;margin:8px 0}.cd-task small{display:block;color:var(--muted);font-size:12px;line-height:1.7}.cd-status{display:inline-block;padding:5px 9px;border-radius:20px;background:var(--surface);color:var(--muted);font-size:12px;white-space:nowrap}.cd-running{background:var(--surface);color:var(--accent)}.cd-completed{background:var(--surface);color:var(--accent)}.cd-blocked,.cd-ready{background:var(--surface);color:var(--accent)}.cd-error{background:var(--surface);padding:10px;border-radius:8px;color:#835522}.cd-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.cd-actions button{font-size:15px;padding:6px 10px}@media(max-width:1000px){.cd-layout{grid-template-columns:1fr}.cd-messages{max-height:50vh}}@media(max-width:480px){.cd-compose-options{grid-template-columns:1fr}.cd-messages,.cd-chat form,.cd-work{padding:16px}}


/* marketing.css */
.mkt-workspace{display:grid;grid-template-columns:190px minmax(0,1fr);background:var(--mkt-bg);color:var(--mkt-text);border:1px solid var(--mkt-line);border-radius:16px;min-height:calc(100vh - 155px);font-size:15px;overflow:hidden}.mkt-workspace *,.mkt-dialog *{box-sizing:border-box}.mkt-workspace h1,.mkt-workspace h2,.mkt-workspace h3,.mkt-workspace h4,.mkt-dialog h3,.mkt-dialog h4{color:inherit;letter-spacing:0}.mkt-workspace button,.mkt-dialog button{font-size:15px;cursor:pointer}.mkt-workspace button:disabled,.mkt-dialog button:disabled{opacity:.4;cursor:not-allowed}.mkt-workspace button:focus-visible,.mkt-dialog button:focus-visible,.mkt-workspace a:focus-visible,.mkt-dialog a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.mkt-workspace .primary,.mkt-dialog .primary{background:var(--surface);color:var(--accent-ink);border:1px solid var(--accent);border-radius:8px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650}.mkt-workspace .secondary,.mkt-dialog .secondary{background:var(--raised);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;line-height:1.4}.mkt-workspace .secondary:hover,.mkt-dialog .secondary:hover{background:var(--raised)}.mkt-workspace svg,.mkt-dialog svg{width:17px;height:17px;flex:none}.mkt-sidebar{background:var(--surface);border-right:1px solid var(--mkt-line);padding:25px 14px;display:flex;flex-direction:column;gap:25px;min-width:0}.mkt-brand{display:flex;gap:10px;align-items:center;padding:0 4px}.mkt-brand>span{width:34px;height:34px;display:grid;place-items:center;background:#d1e3b118;color:var(--accent);border:1px solid #d1e3b12d;border-radius:10px}.mkt-brand strong{display:block;font-size:15px}.mkt-brand small{display:block;color:var(--mkt-muted);font-size:12px;margin-top:4px;letter-spacing:1px}.mkt-sidebar nav{display:flex;flex-direction:column;gap:5px}.mkt-sidebar nav button{display:flex;gap:10px;align-items:center;border-radius:8px;padding:12px 10px;color:var(--text);background:transparent;text-align:left;border:1px solid transparent;white-space:nowrap}.mkt-sidebar nav button.active{background:#d1e3b111;color:var(--accent);border-color:#d1e3b123;font-weight:650}.mkt-sidebar nav button:hover{background:var(--raised)}.mkt-sidebar nav b{margin-left:auto;display:grid;place-items:center;font-size:12px;background:var(--surface);color:var(--text);min-width:17px;height:17px;border-radius:5px}.mkt-sidebar-status{margin-top:auto;border-top:1px solid var(--mkt-line);padding:18px 4px 0;color:var(--text);font-size:12px;line-height:1.8}.mkt-sidebar-status small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.mkt-connection-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--selected);vertical-align:middle;margin-right:6px}.mkt-connection-dot.ready{background:var(--selected)}.mkt-main{padding:26px;min-width:0}.mkt-page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.mkt-page-heading>div:first-child{min-width:0}.mkt-page-heading small{color:var(--muted);font-size:12px}.mkt-page-heading h1{font-size:25px;line-height:1.4;margin:9px 0 7px;font-weight:650}.mkt-page-heading p{color:var(--mkt-muted);font-size:15px;line-height:1.7;margin:0}.mkt-page-heading>div:last-child{display:flex;align-items:center;gap:8px;flex:none}.mkt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.mkt-stat{padding:19px 17px;background:var(--mkt-panel);border:1px solid var(--mkt-line);border-radius:12px;min-width:0}.mkt-stat>span{color:var(--muted);display:block;font-size:12px}.mkt-stat strong{font-size:25px;font-weight:600;display:block;line-height:1.5;margin:9px 0 8px;overflow-wrap:anywhere;color:var(--text)}.mkt-stat small{font-size:12px;color:var(--muted);line-height:1.5;display:block}.mkt-panel{background:var(--mkt-panel);border:1px solid var(--mkt-line);border-radius:12px;padding:20px;margin-bottom:18px;min-width:0}.mkt-panel>header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.mkt-panel h2{font-size:15px;margin:0;line-height:1.5;font-weight:600}.mkt-panel header p{font-size:12px;color:var(--mkt-muted);margin:7px 0 0;line-height:1.7}.mkt-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.mkt-steps button{position:relative;background:var(--surface);border:1px solid var(--mkt-line);border-radius:9px;color:var(--mkt-text);padding:15px 12px;text-align:left;min-height:110px}.mkt-steps button:hover{border-color:var(--border)}.mkt-step-no{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.mkt-steps strong{font-size:15px;font-weight:600;display:block}.mkt-steps small{font-size:12px;color:var(--muted);display:block;margin:7px 0}.mkt-steps b{position:absolute;right:10px;top:13px;color:var(--accent);font-weight:500}.mkt-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px}.mkt-columns>.mkt-panel{margin-bottom:0}.mkt-badge{display:inline-flex;align-items:center;background:#ffffff08;border:1px solid var(--border);border-radius:5px;color:var(--text);font-size:12px;font-weight:500;line-height:1.6;padding:2px 7px;white-space:nowrap;flex:none}.mkt-active,.mkt-approved,.mkt-succeeded,.mkt-completed,.mkt-published{background:#a9ca8311;border-color:#829b633a;color:var(--accent)}.mkt-running,.mkt-queued{background:#83b3d911;border-color:#83b3d92f;color:var(--accent)}.mkt-failed,.mkt-blocked{background:#ef988e10;border-color:#c984793d;color:var(--accent)}.mkt-awaiting_manual{background:#b5a17112;border-color:#b5a17145;color:var(--accent)}.mkt-task{padding:18px;background:var(--surface);border:1px solid var(--mkt-line);border-radius:12px;min-width:0}.mkt-task.compact{padding:16px 0;border:0;border-top:1px solid var(--mkt-line);border-radius:0;background:transparent}.mkt-task header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.mkt-task header small{color:var(--muted);font-size:12px}.mkt-task h3{font-size:15px;font-weight:600;margin:7px 0}.mkt-task>p{color:var(--muted);font-size:15px;line-height:1.8;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}.mkt-task.compact>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mkt-task footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.mkt-task footer>span{font-size:12px;color:var(--muted)}.mkt-task footer>div{display:flex;gap:7px;flex:none}.mkt-task footer button{padding:7px 10px;font-size:12px}.mkt-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mkt-task-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.mkt-task-tags span{font-size:12px;background:#ffffff05;border:1px solid var(--border);color:var(--text);padding:3px 7px;border-radius:4px}.mkt-progress{height:4px;border-radius:4px;background:var(--raised);overflow:hidden;margin:14px 0}.mkt-progress>div{height:100%;background:var(--surface)}.mkt-count{display:inline-grid;place-items:center;min-width:24px;height:23px;border-radius:6px;background:var(--raised);color:var(--text);font-size:12px}.mkt-issue{display:flex;gap:12px;padding:15px 0;border-top:1px solid var(--mkt-line)}.mkt-issue>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:var(--raised);color:var(--accent);font-size:12px;flex:none}.mkt-issue strong{display:block;font-weight:600;font-size:15px}.mkt-issue p{font-size:12px;color:var(--muted);line-height:1.8;margin:7px 0}.mkt-issue button{font-size:12px;padding:5px 8px;background:none;border:0;color:var(--accent);justify-content:flex-start}.mkt-scope{padding:15px 17px;border:1px solid var(--border);border-radius:9px;background:#b7d38d06;margin-top:18px;line-height:1.8}.mkt-scope strong{font-size:12px;color:var(--text);margin-right:14px}.mkt-scope>span{font-size:12px;color:var(--muted)}.mkt-scope small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.mkt-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px;min-width:0}.mkt-toolbar p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.mkt-toolbar>div:last-child{display:flex;gap:8px}.mkt-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.mkt-product,.mkt-channel{background:var(--mkt-panel);border:1px solid var(--mkt-line);padding:20px;border-radius:12px;min-width:0}.mkt-product-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mkt-product-icon{width:38px;height:38px;background:#d1e3b110;display:grid;place-items:center;color:var(--accent);border-radius:10px}.mkt-product>small{color:var(--muted);font-size:12px}.mkt-product h3{font-size:17px;margin:8px 0;font-weight:600}.mkt-product>p{font-size:15px;color:var(--muted);line-height:1.8;white-space:pre-wrap;min-height:40px}.mkt-product-price{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--mkt-line);padding:12px 0 16px;margin-bottom:16px}.mkt-product-price strong{font-size:25px;font-weight:550;color:var(--accent)}.mkt-product-price strong.mkt-price-pending{font-size:19px;color:var(--text)}.mkt-product-price span{font-size:12px;color:var(--muted)}.mkt-product-outcome>span{font-size:12px;color:var(--muted)}.mkt-product-outcome>p{font-size:15px;color:var(--text);line-height:1.8;margin:8px 0 18px;white-space:pre-wrap}.mkt-product footer,.mkt-channel footer{display:flex;gap:8px;justify-content:space-between;padding-top:13px;border-top:1px solid var(--mkt-line)}.mkt-product footer button{flex:1}.mkt-empty{text-align:center;padding:44px 22px;color:var(--muted);line-height:1.8}.mkt-empty-icon{width:45px;height:45px;display:inline-grid;place-items:center;background:#d1e3b10b;color:var(--text);border:1px solid #d1e3b122;border-radius:13px}.mkt-empty-icon svg{width:23px;height:23px}.mkt-empty h3{font-size:16px;color:var(--text);font-weight:550;margin:15px 0 8px}.mkt-empty p{font-size:15px;margin:0 auto 19px;max-width:450px}.mkt-panel .mkt-empty{padding:25px 12px}.mkt-notice{padding:14px 17px;background:#d7c48109;border:1px solid #99825142;border-radius:9px;color:var(--accent);line-height:1.8;font-size:15px;margin:0 0 18px}.mkt-error,.mkt-form-error{color:var(--accent)!important;line-height:1.8;font-size:15px;white-space:pre-wrap}.mkt-error-banner{background:#bd666610;border:1px solid #c8867936;color:var(--accent);border-radius:9px;padding:14px 16px;margin-bottom:18px;display:flex;gap:12px;justify-content:space-between;align-items:center;line-height:1.8}.mkt-filters{display:flex;gap:8px;min-width:0}.mkt-workspace input,.mkt-workspace select{font-size:15px;padding:10px 11px;min-width:0;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;line-height:1.5}.mkt-filters input{width:230px}.mkt-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mkt-asset{background:var(--mkt-panel);border:1px solid var(--mkt-line);border-radius:12px;overflow:hidden;min-width:0}.mkt-asset-preview{position:relative;background:var(--bg);aspect-ratio:16/10;overflow:hidden}.mkt-asset-preview>video,.mkt-asset-preview>img{width:100%;height:100%;display:block;object-fit:contain}.mkt-asset-preview>.mkt-badge{position:absolute;top:10px;right:10px;background:#1b2522e6;pointer-events:none}.mkt-copy-cover{height:100%;padding:23px 19px;background:linear-gradient(145deg,var(--raised),var(--surface));display:flex;flex-direction:column;justify-content:center}.mkt-copy-cover small{font-size:12px;letter-spacing:1px;color:var(--muted);margin-bottom:11px}.mkt-copy-cover strong{font-weight:550;font-size:17px;line-height:1.6;color:var(--accent);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mkt-copy-cover>span{font-size:12px;color:var(--muted);line-height:1.7;margin-top:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mkt-asset-info{padding:15px}.mkt-asset-info>small{font-size:12px;color:var(--muted)}.mkt-asset-info h3{font-size:15px;font-weight:600;margin:8px 0;line-height:1.6}.mkt-asset-info>p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.mkt-source{font-size:12px;color:var(--muted);display:block;line-height:1.8;margin:10px 0}.mkt-asset-info footer{display:flex;gap:7px;justify-content:space-between;padding-top:11px;border-top:1px solid var(--mkt-line)}.mkt-asset-info footer button{font-size:12px;padding:6px 9px}.mkt-table-wrap{overflow-x:auto;border:1px solid var(--mkt-line);border-radius:10px;background:var(--mkt-panel)}.mkt-panel .mkt-table-wrap{border:0;border-radius:0}.mkt-table{width:100%;border-collapse:collapse;min-width:650px;font-size:15px}.mkt-table th{font-weight:500;font-size:12px;color:var(--muted);background:var(--surface);text-align:left;padding:14px 16px;border-bottom:1px solid var(--mkt-line)}.mkt-table td{padding:16px;border-bottom:1px solid var(--mkt-line);color:var(--text);vertical-align:middle;max-width:230px;overflow-wrap:anywhere;line-height:1.7}.mkt-table tr:last-child td{border-bottom:0}.mkt-table strong{font-weight:550;display:block}.mkt-table small{display:block;font-size:12px;color:var(--muted);line-height:1.8;margin-top:5px}.mkt-table button{font-size:12px;white-space:nowrap;padding:7px 9px}.mkt-channel header{display:flex;align-items:center;gap:12px}.mkt-channel header>div{flex:1}.mkt-channel h3{font-size:15px;margin:0 0 6px;font-weight:600}.mkt-channel header small{color:var(--muted);font-size:12px}.mkt-channel-avatar{width:39px;height:39px;display:grid;place-items:center;background:#d1e3b118;color:var(--accent);border-radius:11px;font-size:16px}.mkt-channel dl{margin:20px 0 16px;border-top:1px solid var(--mkt-line)}.mkt-channel dl>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--mkt-line)}.mkt-channel dt{color:var(--muted);font-size:12px;flex:none}.mkt-channel dd{margin:0;color:var(--text);font-size:12px;overflow-wrap:anywhere;text-align:right}.mkt-channel>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:16px}.mkt-channel-note{margin-top:20px}.mkt-channel-note>p{font-size:15px;color:var(--muted);line-height:1.9}.mkt-channel-note>div{display:flex;gap:8px;flex-wrap:wrap}.mkt-channel-note span{padding:6px 10px;border:1px solid var(--border);color:var(--muted);border-radius:6px;font-size:12px}.mkt-funnel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mkt-funnel>div{border-left:1px solid var(--mkt-line);padding:6px 15px}.mkt-funnel>div:first-child{border-left:0}.mkt-funnel span{display:block;font-size:12px;color:var(--muted)}.mkt-funnel strong{display:block;color:var(--accent);font-size:23px;font-weight:550;margin-top:11px}.mkt-muted{color:var(--muted);font-size:15px;line-height:1.8}.mkt-padding{padding:18px 0}.mkt-loading,.mkt-access-denied{padding:60px;text-align:center;color:var(--muted);font-size:15px}.mkt-dialog{background:var(--surface);color:var(--text);padding:20px;border-radius:12px;border:1px solid var(--border);margin-top:12px;font-size:15px}.mkt-dialog form>label,.mkt-dialog .mkt-form-grid>label,.mkt-dialog details label,.mkt-dialog [data-mkt-api-fields]>label{display:block;margin:0 0 16px;font-size:15px;line-height:1.8;color:var(--text)}.mkt-dialog input,.mkt-dialog select,.mkt-dialog textarea{display:block;width:100%;margin-top:7px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:7px;line-height:1.8;padding:10px 12px;font-family:inherit;font-size:15px}.mkt-dialog input:focus,.mkt-dialog select:focus,.mkt-dialog textarea:focus{outline:1px solid var(--accent);border-color:var(--accent)}.mkt-dialog textarea{resize:vertical}.mkt-dialog input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0;vertical-align:middle;accent-color:var(--accent)}.mkt-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.mkt-dialog .mkt-checkbox{display:flex;align-items:center;gap:5px}.mkt-platform-select{border:1px solid var(--border);border-radius:8px;margin:0 0 16px;padding:12px 15px;display:flex;gap:13px;flex-wrap:wrap}.mkt-platform-select legend{font-size:15px;color:var(--text);padding:0 5px}.mkt-platform-select label{font-size:12px;color:var(--text);white-space:nowrap;display:flex;align-items:center}.mkt-form-note{font-size:12px;color:var(--muted);line-height:1.9;margin:8px 0 17px}.mkt-form-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--border);padding-top:17px;margin-top:18px}.mkt-detail-preview{max-height:360px;overflow:hidden;border-radius:9px;background:var(--bg);margin-bottom:17px}.mkt-detail-preview video,.mkt-detail-preview img{display:block;max-width:100%;max-height:360px;margin:auto}.mkt-detail-preview .mkt-copy-cover{min-height:150px;padding:22px 25px}.mkt-detail-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0 20px;font-size:12px;color:var(--muted)}.mkt-detail-title h3{font-size:18px;margin:0 0 9px;font-weight:600}.mkt-detail-title p{font-size:15px;color:var(--muted);line-height:1.8}.mkt-detail-copy{line-height:1.9;white-space:pre-wrap;color:var(--text);overflow-wrap:anywhere}.mkt-detail-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:20px 0 0;padding-top:17px;border-top:1px solid var(--border)}.mkt-dialog details{border:1px solid var(--border);border-radius:8px;margin:0 0 17px;padding:14px}.mkt-dialog details summary{cursor:pointer;color:var(--text);font-size:15px}.mkt-dialog details label{margin-top:13px;margin-bottom:0}.mkt-detail-dl>div{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.mkt-detail-dl dt{font-size:15px;color:var(--muted);min-width:70px}.mkt-detail-dl dd{margin:0;color:var(--text);font-size:15px}.mkt-history{padding:13px 0;border-top:1px solid var(--border)}.mkt-history header{display:flex;gap:10px;justify-content:space-between;align-items:center}.mkt-history small{color:var(--muted);font-size:12px}.mkt-history p{color:var(--muted);font-size:15px;line-height:1.8}.mkt-detail-line{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--border)}.mkt-detail-line>span:first-child{flex:1}.mkt-dialog a:not(.secondary){color:var(--accent)}.mkt-workspace .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mkt-source-preview{border:1px solid var(--border);border-radius:9px;overflow:hidden;margin:0 0 18px;background:var(--surface)}.mkt-source-preview video,.mkt-source-preview img{display:block;max-height:230px;max-width:100%;margin:auto}.mkt-source-preview small{display:block;padding:9px 13px;color:var(--muted);font-size:12px}.mkt-conversion{padding:14px;border:1px solid var(--border);background:#d1e3b107;border-radius:9px;margin:18px 0}.mkt-conversion label{font-size:15px;color:var(--text)}.mkt-conversion input{font-size:15px}.mkt-conversion p{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0 0}.mkt-submitted,.mkt-unknown{background:#b7a67d14;border-color:#b7a67d40;color:var(--accent)}
@media(min-width:1550px){.mkt-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.mkt-workspace{grid-template-columns:164px minmax(0,1fr)}.mkt-main{padding:22px}.mkt-sidebar{padding:24px 10px}.mkt-sidebar nav button{padding:12px 8px;font-size:12px;gap:8px}.mkt-brand strong{font-size:15px}.mkt-brand>span{width:28px;height:28px}.mkt-columns{grid-template-columns:1fr}.mkt-task-list{grid-template-columns:1fr}.mkt-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mkt-stats{gap:9px}.mkt-stat{padding:16px 13px}.mkt-stat strong{font-size:22px}.mkt-steps{gap:7px}.mkt-steps button{padding:14px 9px}}
@media(max-width:920px){.mkt-workspace{grid-template-columns:1fr}.mkt-sidebar{border-right:0;border-bottom:1px solid var(--border);padding:16px;gap:16px}.mkt-brand{padding:0}.mkt-sidebar nav{display:flex;flex-direction:row;overflow-x:auto;gap:5px;scrollbar-width:thin}.mkt-sidebar nav button{padding:10px;flex:none}.mkt-sidebar nav svg{display:none}.mkt-sidebar-status{display:none}.mkt-page-heading{align-items:flex-start}.mkt-page-heading h1{font-size:23px}.mkt-main{padding:20px}.mkt-steps{grid-template-columns:repeat(5,minmax(110px,1fr));overflow-x:auto;padding-bottom:4px}.mkt-workspace{min-height:70vh}.mkt-toolbar{align-items:flex-start}.mkt-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mkt-toolbar>div:last-child{flex-wrap:wrap;justify-content:flex-end}.mkt-filters{flex-wrap:wrap}.mkt-filters input{width:180px}}
@media(max-width:600px){.mkt-main{padding:16px}.mkt-sidebar{padding:15px 12px}.mkt-page-heading{display:block;margin-bottom:18px}.mkt-page-heading>div:last-child{margin-top:14px}.mkt-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mkt-stat{padding:15px 12px}.mkt-stat strong{font-size:23px}.mkt-panel{padding:16px}.mkt-panel>header{align-items:flex-start;flex-wrap:wrap}.mkt-panel>header button{padding:8px 10px}.mkt-card-grid,.mkt-asset-grid{grid-template-columns:1fr}.mkt-asset-preview{aspect-ratio:16/9}.mkt-toolbar{flex-wrap:wrap}.mkt-toolbar>div:last-child{justify-content:flex-start}.mkt-filters{width:100%;gap:7px}.mkt-filters label{flex:1;min-width:0}.mkt-filters input{width:100%}.mkt-filters select{width:105px}.mkt-product,.mkt-channel{padding:18px}.mkt-product h3{font-size:16px}.mkt-funnel{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mkt-funnel>div:nth-child(3){border-left:0}.mkt-task footer{align-items:flex-start;flex-wrap:wrap}.mkt-task footer>div{margin-left:auto}.mkt-dialog{padding:16px}.mkt-form-grid{grid-template-columns:1fr;gap:0}.mkt-dialog input,.mkt-dialog select,.mkt-dialog textarea{font-size:15px}.mkt-detail-dl>div{gap:12px}.mkt-history header{flex-wrap:wrap}.mkt-error-banner{align-items:flex-start;flex-direction:column}.mkt-dialog .mkt-form-footer button{flex:1}.mkt-detail-line{flex-wrap:wrap}.mkt-dialog .mkt-detail-actions button,.mkt-dialog .mkt-detail-actions a{font-size:12px}.mkt-workspace .mkt-empty{padding:30px 8px}}
@media(prefers-reduced-motion:reduce){.mkt-workspace *,.mkt-dialog *{scroll-behavior:auto;transition:none!important}}
.mkt-ops-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.mkt-ops-entry>button{display:flex;align-items:center;gap:12px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:10px;text-align:left}.mkt-ops-entry>button:hover{border-color:var(--border)}.mkt-ops-entry strong{font-size:15px;display:block;margin-bottom:5px}.mkt-ops-entry small{font-size:12px;color:var(--muted);display:block;line-height:1.7}.mkt-ops-entry b{margin-left:auto;color:var(--accent);font-weight:500;font-size:22px}.mkt-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}.mkt-role-card{background:var(--surface);border:1px solid var(--border);padding:18px;border-radius:12px;min-width:0}.mkt-role-card header{display:flex;gap:10px;align-items:center}.mkt-role-card header>div{flex:1;min-width:0}.mkt-role-card h3{font-size:15px;margin:0 0 6px}.mkt-role-card header small{font-size:12px;color:var(--muted)}.mkt-role-symbol{width:34px;height:34px;display:grid;place-items:center;background:#d1e3b112;border-radius:9px;color:var(--accent)}.mkt-role-card>p{font-size:12px;color:var(--muted);line-height:1.8;margin:15px 0}.mkt-role-numbers{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:12px}.mkt-role-numbers span{font-size:12px;color:var(--muted)}.mkt-role-numbers strong{display:block;font-size:19px;color:var(--accent);font-weight:550;margin-bottom:6px}.mkt-role-card footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.mkt-role-card footer button{padding:7px 9px;font-size:12px}.mkt-role-card .mkt-role-pending{color:var(--accent);font-size:12px;margin-bottom:0}.mkt-panel>header>select{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:7px 9px;font-size:12px;max-width:100%}.mkt-summary-line{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border);color:var(--text);font-size:15px;gap:15px}.mkt-summary-line strong{font-size:15px;color:var(--accent);font-weight:500}.mkt-lead-sources{margin-top:18px}.mkt-lead-sources h3{font-size:15px;font-weight:500;color:var(--text);margin-top:0}.mkt-role-output{margin:18px 0;padding:17px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.mkt-role-output h4{font-size:15px;margin:0 0 12px;color:var(--accent)}.mkt-role-output p,.mkt-role-output li{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:var(--text)}.mkt-role-output ul{margin:0;padding-left:18px}.mkt-role-output li{margin-bottom:8px}.mkt-optimization-compare{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.mkt-optimization-compare>section{min-width:0;padding:15px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.mkt-optimization-compare h4{font-size:15px;color:var(--accent);margin:0 0 12px}.mkt-optimization-compare p{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.mkt-article-preview{max-width:660px;padding:26px 30px;margin:0 auto;color:var(--text);background:var(--surface);text-align:left;line-height:1.95;overflow-wrap:anywhere}.mkt-article-preview>small,.mkt-poster-preview>small{display:block;font-size:12px;color:var(--muted);letter-spacing:1px}.mkt-article-preview h2{font-size:24px!important;color:var(--text)!important;margin:14px 0 20px!important;line-height:1.6!important}.mkt-article-preview h3{font-size:18px!important;color:var(--text)!important;line-height:1.7!important;margin:25px 0 12px!important}.mkt-article-preview p{font-size:15px;color:var(--text);white-space:pre-wrap;margin:13px 0;line-height:1.95}.mkt-article-digest{padding:15px 18px;border-left:3px solid var(--border);background:var(--surface)!important;color:var(--muted)!important;font-size:15px!important}.mkt-image-slot{padding:16px;border:1px dashed var(--border);background:var(--surface);border-radius:8px;margin:20px 0}.mkt-image-slot>span{font-size:12px;color:var(--muted)}.mkt-image-slot p{font-size:12px;margin:8px 0;color:var(--muted)}.mkt-image-slot details{background:transparent;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}.mkt-image-slot summary{font-size:12px!important;color:var(--muted)!important}.mkt-editorial-image{margin:20px 0}.mkt-editorial-image img{display:block;width:auto;max-width:100%;max-height:360px;margin:auto;border-radius:6px}.mkt-editorial-image figcaption{font-size:12px;text-align:center;color:var(--muted);margin-top:9px}.mkt-poster-preview{padding:23px 26px;background:linear-gradient(145deg,var(--surface),var(--surface));color:var(--text);min-height:260px;overflow-wrap:anywhere}.mkt-poster-preview h2{font-size:29px!important;font-weight:650!important;line-height:1.45!important;letter-spacing:-.3px!important;color:var(--text)!important;margin:19px 0 16px!important}.mkt-poster-preview p{font-size:15px;line-height:1.8;color:var(--muted)}.mkt-poster-preview ul{list-style:none;margin:20px 0;padding:0}.mkt-poster-preview li{border-top:1px solid #a8bb923e;padding:11px 0;font-size:15px;line-height:1.7;color:var(--text)}.mkt-poster-preview .mkt-poster-caption{font-size:12px;border-top:1px solid #a8bb9270;padding-top:15px;color:var(--muted)}.mkt-preview-note{font-size:12px;color:var(--muted);line-height:1.8;margin:15px 0 0}.mkt-article-preview>.mkt-preview-note{color:var(--muted);border-top:1px solid var(--border);padding-top:14px}.mkt-editorial-detail{border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:18px;max-height:640px;overflow-y:auto}.mkt-editorial-detail>.mkt-preview-note{padding:0 20px 17px}.mkt-asset-preview>.mkt-article-preview,.mkt-asset-preview>.mkt-poster-preview{height:100%;overflow:hidden;padding:16px 19px}.mkt-asset-preview .mkt-article-preview h2{font-size:17px!important;margin:8px 0 12px!important}.mkt-asset-preview .mkt-poster-preview h2{font-size:22px!important}.mkt-asset-preview .mkt-article-preview>section,.mkt-asset-preview .mkt-article-preview>.mkt-preview-note,.mkt-asset-preview>.mkt-preview-note{display:none}.mkt-asset-preview .mkt-article-digest{font-size:12px!important;padding:10px}.mkt-asset-preview .mkt-editorial-image{display:none}.mkt-asset-preview .mkt-poster-preview li{font-size:12px;padding:6px 0}.mkt-article-section{border:1px solid var(--border);border-radius:8px;padding:14px;margin:14px 0}.mkt-article-section legend{font-size:12px;color:var(--muted);padding:0 7px}.mkt-dialog details .mkt-article-section label{display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-top:0;margin-bottom:12px}
@media(min-width:1550px){.mkt-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.mkt-role-grid,.mkt-ops-entry,.mkt-optimization-compare{grid-template-columns:1fr}.mkt-role-card{padding:16px}.mkt-article-preview{padding:20px 18px}.mkt-article-preview h2{font-size:21px!important}.mkt-poster-preview{padding:20px}.mkt-poster-preview h2{font-size:26px!important}.mkt-editorial-detail{max-height:540px}.mkt-role-card footer button{flex:1}.mkt-ops-entry>button{padding:14px 16px}}


/* academy.css */
:root{}body{background:var(--academy-paper);color:var(--academy-ink);font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}.academy-shell.shell{display:block;min-height:100vh}.academy-signin,.academy-shell .primary{background:var(--selected);color:var(--accent-ink);border:1px solid var(--accent);border-radius:25px;padding:12px 23px;font-weight:600;box-shadow:none}.academy-shell .secondary{border:1px solid var(--border);color:var(--academy-ink);background:var(--surface);border-radius:25px;padding:11px 22px}.academy-shell .text-button{color:var(--accent)}.academy-home{max-width:1280px;margin:auto}.academy-hero{text-align:center;padding:36px 0 0;background:radial-gradient(ellipse at 50% 36%,#deeff866,transparent 65%)}.academy-tag{display:inline-block;font-size:15px;letter-spacing:.16em;color:var(--muted)}.academy-hero>.academy-tag{border:1px solid var(--accent);border-radius:30px;padding:11px 22px}.academy-hero h1{font-size:clamp(38px,5.3vw,78px);line-height:1.24;letter-spacing:-.045em;font-weight:750;margin:32px 0 22px}.academy-hero h1 em{font-style:normal;color:var(--accent)}.academy-hero>p{font-size:17px;line-height:1.9;color:var(--muted);margin:0}.academy-hero-actions{display:flex;gap:14px;justify-content:center;margin:30px 0 45px}.academy-stage{display:grid;grid-template-columns:1fr 1.35fr 1fr;align-items:end;gap:22px;max-width:1120px;margin:auto;padding-bottom:26px}.academy-scene{border:0;padding:0;position:relative;height:235px;border-radius:24px;overflow:hidden;background:var(--selected);color:var(--text);text-align:left;box-shadow:0 12px 28px #294b5b0c}.academy-scene>img{width:100%;height:100%;object-fit:cover}.academy-scene>span:last-child{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0b263be6);padding:48px 24px 22px;display:flex;flex-direction:column;gap:9px}.academy-scene small{font-size:12px;letter-spacing:.16em;color:var(--accent)}.academy-scene strong{font-size:21px;font-weight:500}.scene-create{height:300px;background:linear-gradient(145deg,var(--surface),var(--selected));border:8px solid white}.academy-clapper{position:absolute;transform:rotate(-8deg);left:18%;top:18%;width:65%;height:50%;background:var(--selected);color:var(--text);border-radius:10px;box-shadow:10px 15px 0 #123d4720;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.academy-clapper i{position:absolute;top:0;left:0;width:100%;height:30px;background:repeating-linear-gradient(125deg,var(--surface) 0 22px,var(--selected) 22px 44px);border-radius:8px 8px 0 0}.academy-clapper b{font-size:15px;letter-spacing:.12em}.academy-clapper span{font:12px monospace}.scene-mentor{background:linear-gradient(145deg,var(--surface),var(--surface))}.scene-mentor>.mentor-mark{position:absolute;top:30px;left:calc(50% - 45px);height:90px;width:90px;font-size:38px;border-radius:50%;background:var(--surface);color:var(--accent);display:grid;place-items:center}.academy-next{display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--surface);border:1px solid var(--accent);border-radius:20px;padding:28px 35px;margin:35px 0}.academy-next h2{font-size:24px;margin:10px 0}.academy-next p{margin:0;color:var(--muted)}.academy-section{padding:65px 0}.academy-section-heading h2,.academy-path h2{font-size:clamp(26px,3vw,40px);font-weight:650;letter-spacing:-.03em;margin:16px 0}.academy-section-heading p{color:var(--muted);line-height:1.8}.academy-pillars,.academy-published{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:35px}.academy-pillars article{border-top:1px solid var(--accent);padding:22px 8px}.academy-pillars article>small{color:var(--muted);font-size:17px}.academy-pillars h3{font-size:25px;font-weight:500}.academy-pillars p{color:var(--muted);font-size:15px;line-height:1.8;min-height:54px}.academy-path{background:var(--selected);color:var(--text);border-radius:26px;padding:46px}.academy-path .academy-tag{color:var(--accent)}.academy-path>div{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:34px}.academy-path article{border-top:1px solid var(--border);padding-top:24px}.academy-path article>span{font-size:28px;color:var(--accent)}.academy-path h3{font-size:22px}.academy-path p{font-size:15px;color:var(--text)}.academy-published article{padding:26px;border:1px solid var(--accent);border-radius:18px;background:var(--surface)}.academy-footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;padding:30px 0;color:var(--muted);font-size:15px}.academy-public-intro{padding:70px 28px;max-width:800px;margin:auto;text-align:center}.academy-public-intro h1{font-size:50px}.academy-public-intro p{line-height:1.9;color:var(--muted);margin-bottom:30px}.academy-enrollment-tabs{display:flex;gap:10px;margin:20px 0 28px}.academy-enrollment-tabs button{padding:12px 26px;border:1px solid var(--accent);border-radius:24px;background:var(--surface);color:var(--muted)}.academy-enrollment-tabs [aria-pressed=true]{background:var(--selected);color:var(--text)}.academy-shell .panel,.academy-shell .exam-card{border:1px solid var(--accent);box-shadow:none;border-radius:18px}.academy-shell .page-heading h1{font-size:34px;color:var(--academy-ink)}.academy-shell .page-heading p{color:var(--muted)}.academy-shell .tabs button.active{color:var(--accent)}.film-workspace{display:grid;grid-template-columns:220px 1fr;gap:28px;margin-top:30px}.film-projects{border-right:1px solid var(--accent);padding-right:22px}.film-projects h3{font-size:15px;color:var(--muted)}.film-projects button{width:100%;text-align:left;background:transparent;border:0;padding:16px 12px;border-radius:12px;color:var(--muted)}.film-projects [aria-pressed=true]{background:var(--surface);color:var(--text)}.film-editor{background:var(--surface);border:1px solid var(--accent);border-radius:20px;padding:30px;min-width:0}.film-editor header{display:flex;align-items:center;justify-content:space-between;gap:16px}.film-editor header small{color:var(--muted)}.film-save,.film-help{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}.film-save span{color:var(--muted);font-size:15px}.film-help{border-top:1px solid var(--accent);padding-top:22px}.film-help h3{font-size:17px}.film-help p{font-size:15px;color:var(--muted)}#dialog .auth-page{min-height:0;display:block;padding:0;background:var(--surface)}#dialog .login-brand{display:none}#dialog .login-box{width:100%;box-shadow:none;padding:10px;border:0}#dialog .auth-page h1{font-size:23px}#dialog{border:1px solid var(--accent);border-radius:22px}#dialog::backdrop{background:#0e2c3966;backdrop-filter:blur(4px)}.mentor-launcher{position:fixed;bottom:25px;right:28px;z-index:45;display:flex;align-items:center;gap:12px;padding:10px 18px 10px 10px;background:var(--selected);color:var(--text);border:1px solid var(--accent);border-radius:50px;box-shadow:0 10px 30px #173c4725}.mentor-mark{width:40px;height:40px;border-radius:50%;background:var(--surface);color:var(--accent);display:grid;place-items:center;font-weight:600;font-size:20px}.mentor-launcher>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:15px}.mentor-launcher small{font-size:12px;color:var(--accent)}.mentor-panel{position:fixed;right:24px;bottom:24px;width:390px;max-height:calc(100dvh - 115px);z-index:46;background:var(--surface);border:1px solid var(--accent);border-radius:22px;box-shadow:0 22px 80px #0d344c30;display:flex;flex-direction:column;overflow:hidden;color:var(--text)}.mentor-panel>header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid var(--accent)}.mentor-panel>header div{display:flex;flex-direction:column;gap:5px;flex:1}.mentor-panel small{font-size:12px;color:var(--muted)}.mentor-panel>header button{border:0;background:transparent;font-size:24px;color:var(--muted)}.mentor-context{padding:10px 20px;background:var(--surface);font-size:12px;color:var(--muted)}.mentor-messages{padding:20px;overflow:auto;min-height:130px;max-height:42dvh}.mentor-welcome h2{font-size:23px}.mentor-welcome p{font-size:15px;line-height:1.8;color:var(--muted)}.mentor-welcome>button{display:block;width:100%;text-align:left;background:var(--surface);border:1px solid var(--accent);padding:12px;border-radius:10px;margin:9px 0;color:var(--accent);font-size:15px}.mentor-message{background:var(--surface);padding:14px;border-radius:12px;margin-bottom:12px}.mentor-message.user{background:var(--surface);margin-left:32px}.mentor-message p{font-size:15px;white-space:pre-wrap;line-height:1.85;margin:7px 0}.mentor-controls{padding:8px 20px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.mentor-controls button{background:transparent;border:0;font-size:12px;color:var(--muted)}.mentor-voice-toggle{display:flex;align-items:center;gap:5px}.mentor-voice-toggle input{width:auto}#mentor-form{padding:8px 20px;margin:0}#mentor-form textarea{font-size:15px;min-height:64px;border:1px solid var(--accent);background:var(--surface);border-radius:12px;padding:10px;width:100%;resize:vertical}#mentor-form>div{display:flex;justify-content:space-between;gap:10px;margin-top:10px}#mentor-form button{border:1px solid var(--accent);border-radius:20px;padding:9px 17px;background:var(--surface);color:var(--accent);font-size:15px}#mentor-form button.primary{background:var(--selected);border-color:var(--accent);color:var(--accent-ink)}.mentor-footnote{font-size:12px;color:var(--muted);text-align:center;margin:8px 15px 15px}.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}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button[hidden]{display:none!important}@media(max-width:1100px){}@media(max-width:650px){.academy-hero{padding-top:20px}.academy-hero h1{margin:25px 0 18px;font-size:40px}.academy-hero>p{font-size:15px}.academy-hero-actions{gap:8px;margin:24px 0 32px}.academy-hero-actions button{font-size:15px;padding:11px 15px}.academy-stage{gap:9px;grid-template-columns:1fr 1.2fr 1fr}.academy-scene{height:165px;border-radius:15px}.scene-create{height:205px;border-width:4px}.academy-scene>span:last-child{padding:34px 11px 14px}.academy-scene strong{font-size:15px}.academy-scene small{font-size:12px;letter-spacing:0}.academy-clapper{left:12%;width:76%;top:20%;height:42%;gap:7px}.academy-clapper b{font-size:12px;letter-spacing:0}.academy-clapper i{height:18px}.academy-clapper span{font-size:12px}.scene-mentor>.mentor-mark{width:55px;height:55px;left:calc(50% - 27px);font-size:27px;top:24px}.academy-section{padding:40px 0}.academy-pillars,.academy-published{grid-template-columns:1fr;gap:8px}.academy-pillars p{min-height:0}.academy-path{padding:26px}.academy-path>div{grid-template-columns:1fr;gap:12px}.academy-path article{padding-top:16px}.academy-path article h3{display:inline-block;margin-left:16px}.academy-next{padding:22px;flex-direction:column;align-items:flex-start;gap:18px}.academy-footer{flex-direction:column}.film-workspace{grid-template-columns:1fr;gap:12px}.film-projects{border-right:0;border-bottom:1px solid var(--accent);padding:0 0 12px}.film-projects button{width:auto}.film-editor{padding:18px}.film-editor header{align-items:flex-start;flex-direction:column}.film-save,.film-help{align-items:flex-start;flex-direction:column}.mentor-panel{right:10px;bottom:10px;width:calc(100% - 20px);max-height:calc(100dvh - 25px)}.mentor-launcher{right:16px;bottom:18px}.academy-shell .page-heading{flex-wrap:wrap;gap:16px}.academy-shell .page-heading h1{font-size:29px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.academy-course-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px;margin-bottom:18px}.academy-enrollment-summary{padding:10px 0 40px}
/* Personal AI film mentor, preserving the academy's light visual style. */
.academy-hero:has(#academy-mentor-home){padding-top:28px}.academy-hero:has(#academy-mentor-home) h1{font-size:clamp(38px,4.2vw,64px);margin:24px 0 18px}.academy-hero:has(#academy-mentor-home)>p{font-size:15px}.academy-hero:has(#academy-mentor-home) .academy-hero-actions{margin:22px 0 35px}.mentor-portrait{display:inline-grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:50%;overflow:hidden;background:var(--surface);border:2px solid var(--border);box-shadow:0 3px 12px #173e4a12}.mentor-portrait img{display:block;width:100%;height:100%;object-fit:cover}#academy-mentor-home{max-width:730px;margin:28px auto 0;text-align:left}.mentor-home-identity{display:flex;flex-direction:column;align-items:center;gap:7px;margin-bottom:18px}.mentor-home-identity .mentor-portrait{width:72px;height:72px}.mentor-home-identity strong{font-size:15px;color:var(--text)}.mentor-home-identity>span:last-child{font-size:12px;color:var(--muted)}.mentor-home-card{background:var(--surface);border:1px solid var(--accent);border-radius:23px;box-shadow:0 9px 35px #173e4a06;padding:23px 25px 16px}.mentor-home-greeting p{margin:0 0 8px;font-size:17px;font-weight:550;line-height:1.65;color:var(--text)}.mentor-home-greeting small{display:block;font-size:15px;line-height:1.75;color:var(--muted)}.mentor-inline-status{font-size:15px;color:#8a652e;background:var(--surface);border-radius:9px;padding:9px 12px;margin:12px 0 0}.mentor-home-replies{max-height:260px;overflow:auto;margin-top:14px}.mentor-home-replies .mentor-message{padding:11px 14px;margin-bottom:8px}.mentor-home-replies .mentor-message p{font-size:15px}.mentor-home-replies small{font-size:12px;color:var(--muted)}#mentor-home-form{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--accent);border-radius:16px;padding:10px 12px;margin-top:18px}#mentor-home-form textarea{border:0;box-shadow:none;background:transparent;resize:vertical;min-height:48px;max-height:160px;width:100%;padding:8px;font-size:15px;line-height:1.6;color:var(--text)}#mentor-home-form>div{display:flex;align-items:center;gap:8px;flex-shrink:0}#mentor-home-form button{font-size:15px;border:0;background:transparent;white-space:nowrap;color:var(--muted);padding:8px}#mentor-home-form .primary{background:var(--selected);color:var(--accent-ink);border-radius:22px;padding:10px 16px}.mentor-home-questions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.mentor-home-questions button{border:1px solid var(--accent);background:var(--surface);color:var(--muted);border-radius:20px;padding:7px 10px;font-size:12px}.mentor-home-questions .mentor-expand{border:0;margin-left:auto;color:var(--accent)}.mentor-home-note{display:block;font-size:12px;color:var(--muted);text-align:center;margin-top:13px}.mentor-learning-steps{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;margin-top:15px}.mentor-learning-steps article{border:1px solid var(--accent);background:var(--surface);border-radius:15px;padding:16px 20px}.mentor-learning-steps article>span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.mentor-learning-steps strong{font-size:15px;line-height:1.6;color:var(--accent)}.mentor-learning-steps p{font-size:15px;line-height:1.7;color:var(--muted);margin:7px 0}.mentor-learning-steps button{font-size:15px}.mentor-record-source{font-size:12px;color:var(--muted);margin:9px 3px 0}.mentor-panel-greeting{padding:4px 0 18px;border-bottom:1px solid var(--accent);margin-bottom:16px}.mentor-panel-greeting p{font-size:15px;line-height:1.8;color:var(--accent)}.mentor-panel-greeting small{line-height:1.8}.mentor-panel .mentor-portrait{width:44px;height:44px}.mentor-launcher .mentor-portrait{width:38px;height:38px}.mentor-launcher>span:nth-child(2){font-size:15px}.mentor-home-card button:disabled{opacity:.55;cursor:wait}
.growth-dashboard{margin-bottom:26px}.growth-top{display:grid;grid-template-columns:2.2fr 1fr 1fr 1.2fr;gap:14px;margin-bottom:25px}.growth-progress-card,.growth-stat-card{background:var(--surface);border:1px solid var(--accent);border-radius:20px;padding:22px}.growth-progress-card{display:flex;align-items:center;gap:22px}.growth-progress-card svg{width:118px;flex-shrink:0}.growth-progress-card circle{fill:none;stroke-width:8}.ring-bg{stroke:var(--text)}.ring-value{stroke:var(--accent);stroke-linecap:round}.growth-progress-card text{fill:var(--selected);font-size:22px;font-weight:600}.growth-progress-card text.ring-caption{font-size:12px;font-weight:400;fill:var(--surface)}.growth-progress-card h2{font-size:20px;margin:0 0 10px}.growth-progress-card p{font-size:15px;color:var(--muted);line-height:1.8}.growth-progress-card small{font-size:12px;color:var(--muted)}.growth-stat-card{display:flex;flex-direction:column;justify-content:center;gap:12px}.growth-stat-card strong{font-size:27px;color:var(--accent)}.growth-stat-card:last-child strong{font-size:19px}.growth-stat-card span{font-size:15px;line-height:1.8;color:var(--muted)}.growth-dimension-panel,.growth-trend-panel{background:var(--surface);border:1px solid var(--accent);border-radius:22px;padding:28px;margin-bottom:22px}.growth-dimension-panel>header{display:flex;justify-content:space-between;gap:25px;margin-bottom:22px}.growth-dimension-panel h2,.growth-trend-panel h2{font-size:21px;margin:0 0 10px;color:var(--accent)}.growth-dimension-panel>header p,.growth-trend-panel>header p{font-size:15px;line-height:1.8;color:var(--muted);max-width:560px}.growth-legend{display:flex;gap:13px;flex-wrap:wrap;align-content:flex-start;min-width:260px;padding-top:5px;font-size:12px;color:var(--muted)}.growth-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.growth-legend .established:before,.growth-evidence-track .established{background:var(--selected)}.growth-legend .revise:before,.growth-evidence-track .revise{background:#e8ba75}.growth-legend .missing:before,.growth-evidence-track .missing{background:var(--surface)}.growth-legend .insufficient:before,.growth-evidence-track .insufficient{background:var(--surface)}.growth-axis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.growth-axis{background:var(--surface);border:1px solid var(--accent);border-radius:16px;padding:20px}.growth-axis>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:8px}.growth-axis>header strong{font-size:15px;color:var(--accent)}.growth-axis>header small{font-size:12px;color:var(--muted);white-space:nowrap}.growth-knowledge-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:7px}.growth-knowledge-track{height:6px;background:var(--surface);border-radius:4px;overflow:hidden}.growth-knowledge-track span{display:block;height:100%;background:var(--selected);border-radius:4px}.growth-evidence-track{display:flex;background:var(--surface);border-radius:5px;overflow:hidden;height:9px;margin-top:17px}.growth-evidence-track:has(.unobserved){height:auto;background:transparent;border:1px dashed var(--accent);display:grid;place-items:center;min-height:28px;font-size:12px;color:var(--muted)}.growth-axis>p{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0 0}.growth-trend{display:flex;align-items:flex-end;gap:25px;min-height:160px;border-bottom:1px solid var(--accent);padding:0 20px 12px;margin-top:18px}.growth-trend>div{display:flex;align-items:center;flex-direction:column;gap:9px;flex:1;max-width:100px}.growth-trend strong{font-size:15px;color:var(--muted)}.growth-trend i{display:block;width:38px;background:var(--surface);border-radius:7px 7px 0 0}.growth-trend small{font-size:12px;color:var(--muted)}.growth-empty{padding:24px;background:var(--surface);border-radius:12px;font-size:15px;line-height:1.8;color:var(--muted)}
@media(max-width:1100px){.growth-top{grid-template-columns:2fr 1fr 1fr}.growth-progress-card{grid-column:1/-1}.growth-axis-grid{grid-template-columns:repeat(2,1fr)}.growth-dimension-panel>header{flex-wrap:wrap}.growth-legend{min-width:0}}@media(max-width:650px){#academy-mentor-home{margin-top:24px}.mentor-home-card{padding:18px 15px 13px;border-radius:18px}.mentor-home-greeting p{font-size:15px}.mentor-home-greeting small{font-size:15px}.mentor-home-identity .mentor-portrait{width:62px;height:62px}#mentor-home-form{flex-wrap:wrap;gap:4px;padding:9px}#mentor-home-form>div{width:100%;justify-content:space-between}#mentor-home-form textarea{min-height:58px;font-size:15px}.mentor-home-questions{gap:6px}.mentor-home-questions button{font-size:12px}.mentor-home-questions .mentor-expand{margin-left:0}.mentor-learning-steps{grid-template-columns:1fr;gap:9px}.mentor-learning-steps article{padding:13px 15px}.mentor-home-note{font-size:12px;line-height:1.7}.growth-top{grid-template-columns:repeat(3,1fr);gap:8px}.growth-stat-card{padding:17px 11px}.growth-stat-card strong{font-size:22px}.growth-stat-card:last-child strong{font-size:15px}.growth-stat-card span{font-size:12px}.growth-progress-card{gap:14px;padding:18px}.growth-progress-card svg{width:94px}.growth-progress-card h2{font-size:18px}.growth-axis-grid{grid-template-columns:1fr;gap:12px}.growth-dimension-panel,.growth-trend-panel{padding:18px}.growth-axis{padding:17px}.growth-dimension-panel h2,.growth-trend-panel h2{font-size:18px}.growth-trend{gap:10px;padding-left:0;padding-right:0}.growth-trend i{width:22px}}
/* SVG dimensions keep the charts compatible with the existing CSP. */
svg.growth-knowledge-track{display:block;width:100%;height:6px;background:transparent;border-radius:4px}.knowledge-bg{fill:var(--surface)}.knowledge-value{fill:var(--selected)}.growth-evidence-track svg{width:100%;height:9px;display:block}.growth-evidence-track .established{fill:var(--selected)}.growth-evidence-track .revise{fill:#e8ba75}.growth-evidence-track .missing{fill:var(--surface)}.growth-evidence-track .insufficient{fill:var(--surface)}.growth-trend svg{display:block;width:38px;height:100px}.growth-trend rect{fill:var(--surface)}.academy-hero:has(#academy-mentor-home){padding-top:5px}.academy-hero:has(#academy-mentor-home) h1{font-size:clamp(32px,3.6vw,50px);margin:22px 0 14px}.academy-hero:has(#academy-mentor-home) h1 br{display:none}.academy-hero:has(#academy-mentor-home) h1 em{display:inline}.academy-hero:has(#academy-mentor-home)>p{font-size:15px;line-height:1.7}.academy-hero:has(#academy-mentor-home)>p br{display:none}#academy-mentor-home{margin-top:20px}.mentor-home-identity .mentor-portrait{width:62px;height:62px}.mentor-home-identity{margin-bottom:14px}.mentor-home-card{padding-top:18px}.mentor-home-greeting p{font-size:16px}@media(max-width:650px){.academy-hero:has(#academy-mentor-home) h1{font-size:32px;line-height:1.3}.academy-hero:has(#academy-mentor-home) h1 br{display:block}.academy-hero:has(#academy-mentor-home) h1 em{display:block}.academy-hero:has(#academy-mentor-home)>p br{display:block}.mentor-home-identity .mentor-portrait{width:56px;height:56px}.mentor-home-greeting p{font-size:15px}.mentor-home-greeting small{font-size:12px}.growth-trend svg{width:22px}}.mentor-docked{display:flex;flex-direction:column;height:calc(100vh - 140px);min-height:520px;max-height:880px;border:1px solid var(--accent);border-radius:22px;background:var(--surface);overflow:hidden;box-shadow:0 8px 35px #254c5c06}.mentor-docked>header{display:flex;align-items:center;gap:11px;padding:22px 18px 14px}.mentor-docked .mentor-portrait{width:47px;height:47px;flex-shrink:0}.mentor-docked header strong{font-size:19px;display:block}.mentor-docked header strong span{font-size:12px;font-weight:500;color:var(--muted);margin-left:4px}.mentor-docked header small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.mentor-online{width:7px;height:7px;border-radius:50%;background:var(--selected);margin-left:auto;align-self:flex-start;margin-top:9px}.mentor-docked .mentor-context{margin:0 18px;padding:9px 12px;background:var(--surface);border-radius:9px;color:var(--accent);font-size:12px}.mentor-docked .mentor-messages{flex:1;min-height:100px;padding:20px 18px;overflow-y:auto;overscroll-behavior:contain}.mentor-docked .mentor-panel-greeting p{margin:0 0 11px;font-size:15px;line-height:1.9;color:var(--accent)}.mentor-docked .mentor-panel-greeting small{font-size:12px;line-height:1.9;color:var(--muted)}.mentor-stage-guide{margin-top:22px;background:var(--surface);border:1px solid var(--accent);padding:15px;border-radius:14px}.mentor-stage-guide>small{font-size:12px;color:var(--accent)}.mentor-stage-guide>p{font-size:15px;line-height:1.8;margin:9px 0;color:var(--accent)}.mentor-draft-action{width:100%;border-radius:20px;border:1px solid var(--accent);background:var(--surface);color:var(--accent);font-size:12px;padding:9px 8px;margin-top:5px}.mentor-docked .mentor-message{margin-top:18px;border-radius:13px;font-size:15px}.mentor-docked .mentor-message p{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.mentor-dock-prompts{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0 18px 14px}.mentor-dock-prompts button{font-size:12px;border:1px solid var(--accent);background:var(--surface);color:var(--muted);padding:7px 11px;border-radius:20px}.mentor-docked #mentor-form{margin:0 14px 14px;border:1px solid var(--accent);border-radius:17px;padding:12px;background:var(--surface)}.mentor-docked #mentor-form textarea{border:0;background:transparent;width:100%;resize:vertical;box-shadow:none;font-size:15px;min-height:64px;line-height:1.8;padding:0}.mentor-docked #mentor-form>div{display:flex;justify-content:space-between;align-items:center;margin-top:9px}.mentor-docked #mentor-form .primary{font-size:12px;padding:8px 16px}.mentor-docked .mentor-inline-status{margin:0 18px 12px;font-size:12px}.mentor-mic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:0!important;background:transparent!important;color:var(--text)!important;padding:5px!important}.mentor-mic:hover{background:var(--surface)!important}.mentor-recording{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--accent);flex-wrap:wrap}.mentor-recording button{width:27px;height:27px;border:1px solid var(--accent)!important;border-radius:50%!important;padding:0!important;background:var(--surface)!important;color:var(--accent)!important}.record-light{width:6px;height:6px;border-radius:50%;background:#d58b87;animation:record-pulse 1.5s ease-in-out infinite}.record-light.paused{animation:none;background:var(--surface)}@keyframes record-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.record-light{animation:none}}
/* Five connected creative areas share project assets and a human-reviewed draft. */
.film-page-heading{margin-bottom:22px}.film-page-heading h1{font-size:29px}.film-page-heading p{font-size:15px}.film-page-heading .primary{font-size:15px;padding:10px 18px}.film-workspace-v2{display:grid;grid-template-columns:165px minmax(0,1fr);gap:18px;align-items:start}.film-workspace-v2 .film-projects{background:transparent;border:0;padding:18px 0;border-radius:0}.film-projects .eyebrow{font-size:12px;color:var(--muted);letter-spacing:.16em}.film-projects h3{font-size:15px;margin:8px 0 19px}.film-workspace-v2 .film-projects>button{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:12px;padding:13px 9px;background:transparent;width:100%;text-align:left;margin-bottom:9px}.film-workspace-v2 .film-projects>button[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.film-project-symbol{font-size:23px;color:var(--accent);background:var(--surface);width:33px;height:37px;display:grid;place-items:center;border-radius:7px;flex-shrink:0}.film-projects button strong{font-size:12px;line-height:1.6;color:var(--accent);display:block;overflow-wrap:anywhere}.film-projects button small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.film-project-tip{border-top:1px solid var(--accent);margin-top:25px;padding:20px 6px;color:var(--muted);font-size:12px;line-height:1.8}.film-project-tip>span{letter-spacing:.16em}.film-workspace-v2 .film-editor{min-width:0;border:1px solid var(--accent);background:var(--surface);border-radius:22px;padding:22px}.film-project-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.film-project-header .eyebrow{font-size:12px;color:var(--muted)}.film-project-header h2{font-size:22px;margin:7px 0 0;font-weight:600;overflow-wrap:anywhere}.film-project-header button{font-size:12px;white-space:nowrap}.film-workspace-v2 fieldset{border:0;padding:0;margin:0;min-width:0}.film-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.film-stage-heading h3{font-size:17px;margin:0 0 7px}.film-stage-heading p{font-size:12px;color:var(--muted);margin:0}.film-ai-button{background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:20px;padding:9px 13px;font-size:12px;white-space:nowrap}.film-brief-fields{display:grid;gap:16px;background:var(--surface);border:1px solid var(--accent);padding:19px;border-radius:14px;margin-bottom:25px}.film-workspace-v2 label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.film-workspace-v2 textarea,.film-workspace-v2 input,.film-workspace-v2 select{font-size:15px;padding:11px 12px;border-radius:10px;border:1px solid var(--accent);background:var(--surface);color:var(--accent);box-shadow:none;width:100%;min-width:0}.film-workspace-v2 textarea{min-height:0;line-height:1.8;resize:vertical}.film-workspace-v2 textarea::placeholder,.film-workspace-v2 input::placeholder{color:var(--muted);font-size:12px}.film-card-heading{margin:0;justify-content:flex-start;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 15px}.film-card-heading h3{font-size:15px;margin:0 0 5px}.film-card-heading small{font-size:12px;color:var(--muted)}.film-card-heading .secondary{font-size:12px;padding:8px 13px}.film-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.film-content-card{border:1px solid var(--accent);padding:15px;border-radius:14px;background:var(--surface)}.film-content-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:12px;color:var(--muted)}.film-content-card header button{font-size:12px;padding:0}.film-content-card label{margin-top:11px;font-size:12px}.film-content-card input,.film-content-card textarea{font-size:12px;padding:9px}.film-empty-cards{grid-column:1/-1;background:var(--surface);border:1px dashed var(--accent);border-radius:14px;text-align:center;padding:33px 20px;color:var(--muted)}.film-empty-cards>span{display:block;font-size:28px;margin-bottom:14px;color:var(--accent)}.film-empty-cards>strong{font-size:15px;font-weight:500}.film-empty-cards p{font-size:12px;line-height:1.8}.film-legacy-notes{margin-top:22px;border-top:1px solid var(--accent);padding-top:18px;font-size:12px;color:var(--muted)}.film-legacy-notes summary{cursor:pointer;margin-bottom:12px}.film-workspace-v2 .film-save{border-top:1px solid var(--accent);margin-top:22px;padding-top:19px;display:flex;justify-content:space-between;align-items:center}.film-save span{font-size:12px;color:var(--muted)}.film-save .primary{font-size:12px;padding:9px 17px}.film-notice{font-size:12px;color:var(--accent);background:var(--surface);border-radius:10px;padding:12px 15px;line-height:1.8}.film-ai-draft{border:1px solid var(--accent);border-radius:15px;background:var(--surface);padding:18px;margin-bottom:23px}.film-ai-draft>header{display:flex;justify-content:space-between;gap:12px}.film-ai-draft header span{font-size:15px;font-weight:600;color:var(--accent)}.film-ai-draft header p{font-size:12px;line-height:1.8;color:var(--muted)}.film-ai-draft article{background:#ffffffbd;padding:12px;border-radius:9px;margin:10px 0}.film-ai-draft article strong{font-size:12px}.film-ai-draft article p{font-size:12px;line-height:1.8;white-space:pre-wrap;color:var(--muted)}.film-draft-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px}.film-draft-actions small{font-size:12px;color:var(--muted)}.film-draft-actions .primary{font-size:12px;padding:9px 13px}.film-asset-shelf{margin-top:30px;border-top:1px solid var(--accent);padding-top:22px}.film-asset-shelf>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.film-asset-shelf h3{font-size:15px;margin:7px 0 0}.film-asset-shelf .eyebrow{font-size:12px;color:var(--muted)}.film-workspace-v2 .film-upload-button{font-size:12px;border:1px solid var(--accent);padding:8px 13px;border-radius:20px;cursor:pointer;background:var(--surface);display:block;white-space:nowrap}.film-upload-button input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.film-asset-list{display:flex;gap:12px;overflow-x:auto;margin-top:18px;padding-bottom:7px}.film-asset-list>p{font-size:12px;line-height:1.9;color:var(--muted);margin:0;padding:20px;background:var(--surface);border-radius:12px;width:100%}.film-asset-list>article{flex-shrink:0;width:132px;border:1px solid var(--accent);padding:7px;border-radius:11px}.film-asset-list img,.film-video-tile{width:116px;height:68px;object-fit:cover;border-radius:7px;background:var(--surface)}.film-video-tile{display:grid;place-content:center;text-align:center;color:var(--muted);font-size:24px}.film-video-tile small{font-size:12px}.film-asset-list article strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:8px 3px}.film-asset-list article>small{font-size:12px;color:var(--muted);margin:3px}.film-shot-workbench{display:grid;grid-template-columns:145px minmax(0,1fr);gap:15px;margin-top:23px}.film-shot-list{border:1px solid var(--accent);border-radius:13px;background:var(--surface);padding:12px}.film-shot-list>header{display:flex;justify-content:space-between;font-size:12px;margin-bottom:13px;color:var(--muted)}.film-shot-list>header small{font-size:12px}.film-shot-list>button[data-film-shot]{width:100%;border:1px solid transparent;border-radius:9px;padding:10px 6px;display:flex;align-items:center;gap:6px;background:transparent;text-align:left;margin-bottom:7px;flex-wrap:wrap}.film-shot-list>button[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.film-shot-list button>span{font-size:12px;color:var(--muted)}.film-shot-list button strong{font-size:12px;color:var(--muted);display:block}.film-shot-list button small{font-size:12px;color:var(--muted);margin-top:6px;display:block}.film-shot-list button i{font-size:12px;font-style:normal;color:var(--text);margin-left:auto}.film-shot-list>p{font-size:12px;color:var(--muted);line-height:1.8}.film-shot-list .text-button{font-size:12px;padding:5px}.film-preview{min-width:0}.film-preview-screen{aspect-ratio:16/9;overflow:hidden;background:var(--selected);border-radius:12px}.film-preview-screen img,.film-preview-screen video,.film-card-frame img,.film-card-frame video{width:100%;height:100%;object-fit:contain}.film-frame-placeholder{width:100%;height:100%;position:relative;background:radial-gradient(ellipse at 50% 45%,var(--selected),var(--selected));color:var(--accent);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;text-align:center}.film-frame-placeholder:before{content:'';position:absolute;inset:12px;border:1px solid #89aab42d;border-radius:3px}.film-frame-cross{font-size:29px;color:#7ca2b078;margin-bottom:9px}.film-frame-placeholder strong{font-size:15px;font-weight:500}.film-frame-placeholder small{font-size:12px;margin-top:9px;color:var(--muted)}.film-frame-count{position:absolute;bottom:12px;right:20px;opacity:.5;font-size:12px}.film-preview-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 2px;margin-bottom:7px}.film-preview-meta strong{font-size:15px}.film-preview-meta span{font-size:12px;color:var(--muted)}.film-preview label{margin-bottom:14px}.film-model-status{font-size:12px;color:var(--muted);line-height:1.8}.film-card-frame{aspect-ratio:16/9;border-radius:8px;overflow:hidden;margin-bottom:13px;background:var(--selected)}.film-card-frame .film-frame-placeholder strong{font-size:12px}.film-card-frame .film-frame-cross{font-size:23px}.film-card-frame .film-frame-placeholder small{font-size:12px}.film-welcome{text-align:center;min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px}.film-welcome-art{color:var(--accent);background:radial-gradient(var(--surface),var(--surface));border-radius:30px;width:210px;height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:47px;gap:12px;margin-bottom:25px}.film-welcome-art span{font-size:12px;letter-spacing:.15em}.film-welcome h2{font-size:22px;margin:15px 0}.film-welcome p{font-size:15px;line-height:2;color:var(--muted);margin-bottom:23px}.film-welcome .primary{font-size:15px}.film-welcome-flow{display:flex;gap:15px;margin-top:40px}.film-welcome-flow span{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:9px}.film-welcome-flow small{font-size:12px;color:var(--text)}
@media(max-width:1300px){.film-workspace-v2{grid-template-columns:135px minmax(0,1fr);gap:12px}.film-workspace-v2 .film-editor{padding:18px}.film-shot-workbench{grid-template-columns:120px minmax(0,1fr);gap:10px}.film-projects button strong{font-size:12px}.film-project-symbol{width:26px;height:30px}.film-stage-heading{flex-wrap:wrap}}
@media(max-width:1050px){.film-workspace-v2{grid-template-columns:1fr}.film-workspace-v2 .film-projects{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0}.film-projects .eyebrow,.film-project-tip{display:none}.film-projects h3{margin:0 5px 0 0;font-size:12px}.film-workspace-v2 .film-projects>button{width:auto;padding:8px 10px;margin:0}.film-projects button small{display:none}.film-project-symbol{display:none}.film-cards{grid-template-columns:1fr}.film-shot-workbench{grid-template-columns:1fr}.film-shot-list{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.film-shot-list>header{width:100%;margin:0 0 7px}.film-shot-list>button[data-film-shot]{width:auto;margin:0}.film-draft-actions{flex-wrap:wrap}}
@media(max-width:850px){.mentor-docked{height:380px;min-height:0;max-height:none}.mentor-docked .mentor-messages{padding:12px 18px}.mentor-dock-prompts{flex-direction:row;flex-wrap:wrap;padding-bottom:10px}.mentor-docked #mentor-form textarea{min-height:42px}.mentor-docked #mentor-form{margin-bottom:10px}.mentor-stage-guide{display:flex;gap:10px;align-items:center;padding:10px;margin-top:12px}.mentor-stage-guide>p{display:none}.mentor-draft-action{width:auto;margin:0;margin-left:auto}.film-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.film-preview-screen{max-height:420px}}
@media(max-width:520px){.film-cards{grid-template-columns:1fr}.film-project-header{flex-wrap:wrap}.film-project-header h2{font-size:20px}.film-workspace-v2 .film-editor{padding:16px}.film-asset-shelf>header{flex-wrap:wrap}.film-brief-fields{padding:13px}.film-welcome{padding:10px;min-height:420px}.film-welcome h2{font-size:19px}.film-welcome-flow{gap:12px}.film-stage-heading p{font-size:12px}}
@media(min-width:651px) and (max-width:850px){.mentor-docked{height:calc(100vh - 194px);min-height:480px}.mentor-docked>header{padding:17px 12px 13px;gap:8px}.mentor-docked .mentor-portrait{width:38px;height:38px}.mentor-docked header strong{font-size:16px}.mentor-docked header strong span{display:block;margin:5px 0 0;font-size:12px}.mentor-docked .mentor-context{margin:0 12px;font-size:12px;padding:8px}.mentor-docked .mentor-messages{padding:17px 12px}.mentor-stage-guide{display:block;margin-top:20px}.mentor-stage-guide>p{display:block;font-size:12px}.mentor-draft-action{width:100%;margin:5px 0 0}.mentor-dock-prompts{padding:0 12px 13px;gap:6px}.mentor-dock-prompts button{font-size:12px}.mentor-docked #mentor-form{margin:0 10px 10px;padding:10px}.mentor-docked #mentor-form textarea{font-size:12px;min-height:60px}.mentor-docked .mentor-message p,.mentor-docked .mentor-panel-greeting p{font-size:12px}.film-cards{grid-template-columns:1fr}.film-workspace-v2 .film-editor{padding:14px}.film-page-heading h1{font-size:26px}.film-project-header h2{font-size:18px}.film-project-header{flex-wrap:wrap}.film-brief-fields{padding:12px}.film-stage-heading p{font-size:12px}.film-card-heading{margin:0;justify-content:flex-start;flex-wrap:wrap}.film-asset-shelf>header{flex-wrap:wrap}.film-preview-meta{flex-wrap:wrap}}
@media(min-width:851px) and (max-width:1100px){.mentor-docked{height:calc(100vh - 194px)}}

.film-workspace-v2 .film-upload-button{position:relative}.film-workspace-v2 .film-upload-button input[type=file]{position:absolute;inset:auto;width:1px;max-width:1px;height:1px;padding:0;border:0;overflow:hidden;opacity:0;clip-path:inset(50%)}@media(min-width:1101px){.mentor-docked{height:calc(100vh - 180px)}}.film-shot-workbench+.film-brief-fields{margin-top:22px}
/* Each shot owns its picture, settings, references and generated versions. */
.film-icon{width:19px;height:19px;flex:none;vertical-align:middle}.film-stage-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--surface);color:var(--muted)}.film-board-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 18px}.film-board-heading h3{font-size:22px;margin:8px 0}.film-board-heading p{font-size:15px;line-height:1.7;color:var(--muted);margin:0}.film-board-heading>.secondary{flex:none}.film-shot-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;margin-top:20px}.film-shot-card{border:1px solid var(--accent);border-radius:17px;overflow:hidden;background:var(--surface);min-width:0;box-shadow:0 4px 16px #173a4305}.film-shot-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px #b4e4f43d}.film-shot-card>header{padding:13px 15px;gap:8px;border-bottom:1px solid var(--accent)}.film-shot-card-title{margin:0;justify-content:flex-start;display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;min-width:0;padding:0;color:var(--text);flex:1}.film-shot-number{font-size:15px;font-family:monospace;color:var(--accent);background:var(--surface);border-radius:9px;min-width:35px;height:35px;display:grid;place-items:center}.film-shot-card-title>span:last-child{display:grid;gap:5px;min-width:0}.film-shot-card-title strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-shot-card-title small{font-size:12px;color:var(--muted)}.film-icon-button{border:0;background:transparent;color:var(--muted);padding:7px;border-radius:8px;flex:none}.film-icon-button:hover{background:var(--surface);color:var(--text)}.film-card-picture{position:relative;aspect-ratio:16/9;background:var(--surface);overflow:hidden;display:grid;place-items:center}.film-card-picture>img,.film-card-picture>video{width:100%;height:100%;object-fit:contain;display:block;background:var(--surface)}.film-card-picture .film-frame-placeholder{min-height:0;width:100%;height:100%;border:0;background:linear-gradient(135deg,var(--surface),var(--surface));color:var(--muted)}.film-picture-tag{position:absolute;top:11px;left:12px;background:#112731b8;color:var(--text);padding:5px 9px;border-radius:6px;font-size:12px;pointer-events:none}.film-picture-expand{position:absolute;right:11px;top:11px;display:grid;place-items:center;width:31px;height:31px;border:1px solid #ffffff60;border-radius:8px;background:#112731a8;color:var(--text)}.film-card-body{padding:17px;display:grid;gap:15px}.film-card-body label{font-size:15px;color:var(--muted);gap:6px;margin:0;display:grid;min-width:0}.film-card-body input,.film-card-body select,.film-card-body textarea{border:1px solid var(--accent);border-radius:8px;background:var(--surface);font-size:15px;color:var(--accent);padding:9px 10px;width:100%;min-width:0;box-sizing:border-box}.film-card-body input:focus,.film-card-body select:focus,.film-card-body textarea:focus{border-color:var(--accent);outline:2px solid var(--accent)}.film-card-body .film-control-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.film-card-settings,.film-card-versions{border-top:1px solid var(--accent);padding-top:12px}.film-card-settings>summary,.film-card-versions>summary{cursor:pointer;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:15px;list-style:none}.film-card-settings>summary:after,.film-card-versions>summary:after{content:'⌄';margin-left:auto;color:var(--muted)}.film-card-settings[open]>summary:after,.film-card-versions[open]>summary:after{transform:rotate(180deg)}.film-card-settings[open]{display:grid;gap:15px}.film-card-versions>summary>span{font:11px monospace;color:var(--muted)}.film-card-primary-actions{display:flex;gap:9px;flex-wrap:wrap}.film-card-primary-actions button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px!important;border-radius:9px!important;font-size:15px;flex:1;white-space:nowrap}.film-card-links{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.film-card-links button{display:flex;align-items:center;gap:6px;background:transparent;border:0;color:var(--accent);padding:0;font-size:15px;text-align:left}.film-card-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.film-card-body .film-reference-panel{margin:0;padding:12px;background:var(--surface);border:1px solid var(--accent);border-radius:9px}.film-card-body .film-reference-panel p{display:none}.film-card-body .film-reference-panel .film-section-heading{margin:0 0 10px}.film-card-body .film-reference-panel strong{font-size:15px}.film-card-body .film-reference-panel button{font-size:12px;padding:5px 8px}.film-card-body .film-reference-chips{gap:7px}.film-card-body .film-reference-chips article{padding:6px;background:var(--surface);min-width:0}.film-card-body .film-reference-chips img{width:37px;height:32px}.film-card-body .film-reference-chips small{font-size:12px;word-break:break-word}.film-card-body .film-candidates{padding-top:12px;margin:0}.film-card-body .film-candidates .film-section-heading{display:none}.film-card-body .film-candidate-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.film-card-body .film-candidate-list article{width:auto;min-width:0;padding:8px;border-radius:9px;background:var(--surface)}.film-card-body .film-candidate-list strong{font-size:12px;word-break:break-word}.film-card-body .film-candidate-list small{font-size:12px}.film-card-body .film-take-actions{flex-wrap:wrap}.film-card-body .film-take-actions button{padding:5px 7px;font-size:12px;border-radius:6px}.film-card-body .film-replace-actions{display:flex;flex-wrap:wrap;gap:7px;background:var(--surface);padding:12px;border-radius:9px;font-size:12px}.film-card-body .film-replace-actions small{width:100%;line-height:1.6}.film-inline-production{border:1px solid var(--accent);background:var(--surface);border-radius:10px;margin:0;padding:10px}.film-inline-production>div{display:flex;align-items:center;gap:8px;font-size:12px;padding:4px}.film-inline-production strong{font-size:15px;display:block}.film-inline-production small{display:block;font-size:12px;line-height:1.6;max-width:30em;word-break:break-word;color:var(--muted)}.film-inline-production>div>div{flex:1}.film-inline-production button,.film-inline-production a{font-size:12px;padding:5px 9px}.film-status-dot{height:6px;width:6px;border-radius:50%;background:var(--selected);flex:none}.succeeded .film-status-dot{background:var(--selected)}.failed .film-status-dot{background:#c48b65}.running .film-status-dot{background:var(--selected);animation:film-status-pulse 1.2s ease-in-out infinite}@keyframes film-status-pulse{50%{opacity:.3}}.film-large-preview{min-width:min(76vw,800px)}.film-large-preview>div{min-width:0;display:grid;place-items:center}.film-large-preview img,.film-large-preview video{width:100%;max-height:68vh;object-fit:contain;background:var(--selected);border-radius:10px}.film-preview-compare{display:grid;grid-template-columns:1fr 1fr;gap:15px}.film-large-preview p{font-size:15px;color:var(--muted);margin:9px}.film-source-breadcrumb{font-size:12px;flex-wrap:wrap}.film-save small{font-size:12px;color:var(--muted)}.film-save{border-top:1px solid var(--border);padding-top:18px}.film-card-versions[open]{padding-bottom:2px}
@media(max-width:1150px){.film-shot-card-grid{grid-template-columns:1fr}.film-board-heading{align-items:flex-start}.film-board-heading h3{font-size:19px}}
@media(max-width:600px){.film-board-heading{display:grid;gap:12px}.film-board-heading>.secondary{justify-self:start}.film-card-body{padding:14px}.film-shot-card-grid{gap:16px}.film-preview-compare{grid-template-columns:1fr}.film-large-preview{min-width:0;width:100%}.film-shot-card-title strong{max-width:200px}.film-project-header>div:last-child{gap:6px}}
#dialog:has(.film-large-preview){width:min(1120px,92vw);max-width:92vw;box-sizing:border-box}.film-large-preview{min-width:0;width:100%}.film-preview-compare{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.film-preview-compare{grid-template-columns:1fr}}
.film-card-body label{align-content:start}

/* Shared academy destinations; course and task data keep their existing routes. */
.academy-learning-nav{--learning-text:var(--academy-ink);display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px;padding:0 0 14px;border-bottom:1px solid var(--learning-line);font-family:var(--workspace-font)}
.academy-shell:has(.ai-native-home) .academy-learning-nav{--learning-text:var(--workspace-text);--learning-muted:var(--workspace-muted);--learning-line:var(--workspace-line);--learning-panel:var(--workspace-panel);--learning-selected:var(--workspace-raised);--learning-accent:var(--workspace-accent)}
.academy-learning-nav .nav-item{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 16px;border:1px solid transparent;border-radius:var(--workspace-radius);background:transparent;color:var(--learning-muted);font:inherit;font-size:15px;line-height:1.4;white-space:normal;text-align:center;overflow-wrap:anywhere}
.academy-learning-nav .nav-item .icon{display:none}
.academy-learning-nav .nav-item:focus-visible{outline:2px solid var(--learning-accent);outline-offset:3px}
@media(max-width:650px){.academy-learning-nav{gap:6px;margin-bottom:18px;padding-bottom:12px}.academy-learning-nav .nav-item{padding:10px 12px;font-size:15px}}
.academy-learning-sections{display:flex;flex-wrap:wrap;gap:inherit;min-width:0}
.academy-learning-nav .academy-task-link{margin-left:auto;min-height:44px;max-width:100%;padding:10px 0;border:0;background:transparent;color:var(--learning-muted);font:inherit;font-size:15px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:left}
.academy-learning-nav .academy-task-link:hover,.academy-learning-nav .academy-task-link[aria-current=page]{color:var(--learning-accent);text-decoration:underline;text-underline-offset:4px}
.academy-learning-nav .academy-task-link:focus-visible{outline:2px solid var(--learning-accent);outline-offset:3px}
@media(max-width:650px){.academy-learning-nav .academy-task-link{margin-left:0;padding-right:8px}}


/* ai-native-home.css */
.ai-native-home{max-width:1180px;margin:0 auto;color:var(--native-ink);padding:32px 12px 64px;font-size:16px;line-height:1.65}.ai-native-home h1{font-size:clamp(32px,4vw,52px);line-height:1.2;letter-spacing:-.045em;font-weight:650;margin:16px 0 24px}.ai-native-home h2{font-size:27px;line-height:1.35}.ai-native-home p{max-width:58ch}.native-kicker{font-size:15px;letter-spacing:.1em;color:var(--muted)}.ai-native-home .primary{background:var(--native-purple);border-color:var(--native-purple);border-radius:13px;padding:13px 24px;color:var(--accent-ink)}.native-welcome{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;min-height:620px}.native-welcome-copy{padding:24px}.native-welcome-copy>p{font-size:19px;color:var(--muted);max-width:24em;margin-bottom:30px}.native-welcome-copy>small{display:block;margin-top:14px;color:var(--muted)}.native-welcome-portrait{padding:12px 34px}.native-mentor{position:relative;display:flex;flex-direction:column;align-items:center;gap:0}.native-mentor>.native-mentor-art{width:260px;height:345px;object-fit:cover;object-position:50% 12%;border-radius:140px 140px 70px 70px;box-shadow:0 22px 60px #47356520}.native-caption{background:var(--surface);border:1px solid var(--accent);border-radius:22px;padding:19px 24px;margin-top:-15px;z-index:1;max-width:440px;box-shadow:0 12px 30px #5c45860a}.native-caption>span{font-size:15px;color:var(--accent)}.native-caption>p{font-size:16px;line-height:1.7;margin:8px 0;white-space:pre-wrap}.native-listen{font-size:15px;border:0;background:transparent;color:var(--accent);padding:4px 0}.native-entry-path{grid-column:1/-1;display:flex;justify-content:center;gap:20px;font-size:15px;color:var(--muted);padding:20px;border-top:1px solid var(--accent)}.native-entry-path i{font-style:normal}.native-intake,.native-purchase{max-width:760px;margin:auto}.native-intake>.native-mentor,.native-purchase>.native-mentor{flex-direction:row;align-items:center;gap:28px;margin:40px 0}.native-intake .native-mentor>.native-mentor-art,.native-purchase .native-mentor>.native-mentor-art{width:130px;height:175px;border-radius:80px}.native-intake .native-caption,.native-purchase .native-caption{margin:0;flex:1;max-width:none}.native-step-line{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:15px}.native-step-line>button{border:0;background:transparent;color:var(--muted)}.native-choices{display:grid;gap:13px;max-width:590px;margin:20px auto}.native-choices button{display:flex;justify-content:space-between;text-align:left;background:var(--surface);border:1px solid var(--accent);border-radius:15px;font-size:17px;padding:18px 24px;color:var(--text)}.native-choices button:hover,.native-choices button[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.native-profile-summary{padding:24px;background:var(--surface);border-radius:20px}.native-profile-summary>div{display:flex;gap:24px;margin:12px 0}.native-profile-summary dt{font-size:15px;color:var(--muted);min-width:140px}.native-profile-summary dd{margin:0;overflow-wrap:anywhere}.native-note,.native-evidence{font-size:15px;color:var(--muted)}.ai-native-home label{display:block;font-size:15px;margin:18px 0;color:var(--muted)}.ai-native-home textarea,.ai-native-home select{width:100%;border:1px solid var(--accent);background:var(--surface);border-radius:13px;margin-top:8px;padding:13px 16px;font-size:15px;line-height:1.6;resize:vertical;color:var(--text)}.native-course-offer{padding:32px;background:var(--surface);border:1px solid var(--accent);border-radius:24px}.native-course-results{display:flex;gap:12px;margin:24px 0}.native-course-results>span{padding:6px 15px;border-radius:30px;background:var(--surface);font-size:15px;color:var(--muted)}.native-offer-state{font-size:15px;color:var(--muted)}.native-home-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:40px;margin:40px 0}.native-current-work{padding:38px;border:1px solid var(--accent);background:linear-gradient(130deg,var(--surface),var(--surface));border-radius:26px}.native-current-work>small{display:block;margin-top:20px;color:var(--muted)}.native-mentor.is-small{flex-direction:row;align-items:flex-start;gap:14px}.native-mentor.is-small>.native-mentor-art{width:70px;height:88px;border-radius:28px}.native-mentor.is-small .native-caption{margin-top:0;padding:20px;flex:1}.native-home-tools{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--accent);padding-top:24px}.native-home-tools>button{border:0;background:transparent;color:var(--muted);font-size:15px}.native-classroom>header{margin:28px 0}.native-classroom>header h1{font-size:36px;margin:9px 0}.native-classroom>header p{color:var(--muted);font-size:15px}.native-class-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:32px}.native-lesson-main,.native-class-grid>aside{min-width:0}.native-media{background:var(--surface);border-radius:22px;overflow:hidden;min-height:230px}.native-media>img,.native-media>video{width:100%;display:block;max-height:440px;object-fit:contain}.native-reference{height:330px;position:relative;overflow:hidden}.native-reference>img{width:100%;height:100%;object-fit:cover;object-position:50% 0%;display:block}.native-reference>span{position:absolute;bottom:0;background:#201a37d9;color:var(--text);padding:8px 16px;font-size:12px;left:0;right:0}.ai-native-home details{margin:18px 0;padding:13px 16px;background:var(--surface);border:1px solid var(--accent);border-radius:13px;font-size:15px}.ai-native-home summary{cursor:pointer;color:var(--muted)}.ai-native-home details p,.ai-native-home details li{font-size:15px;color:var(--muted)}.native-lesson-buttons{display:flex;align-items:center;gap:16px}.native-class-grid>aside>small{color:var(--muted);font-size:12px;display:block;margin-top:16px}.native-error{background:var(--surface);padding:14px 18px;border-radius:12px;color:var(--accent);font-size:15px;grid-column:1/-1}.native-error>button{background:none;border:0;color:inherit;text-decoration:underline}.ai-native-home button:focus-visible,.ai-native-home summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.ai-native-home button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){.ai-native-home{padding:20px 8px 40px}.native-welcome{grid-template-columns:1fr;gap:16px;min-height:0}.native-welcome-copy{padding:12px}.native-welcome-copy h1{font-size:38px}.native-welcome-portrait{padding:0}.native-welcome-portrait .native-mentor{flex-direction:row;gap:15px}.native-welcome-portrait .native-mentor>.native-mentor-art{width:95px;height:125px;border-radius:40px}.native-welcome-portrait .native-caption{margin:0;padding:14px;flex:1}.native-entry-path{gap:9px;font-size:12px;padding:16px 0}.native-intake>.native-mentor,.native-purchase>.native-mentor{gap:12px;margin:25px 0}.native-intake .native-mentor>.native-mentor-art,.native-purchase .native-mentor>.native-mentor-art{width:80px;height:110px}.native-caption{padding:14px}.native-caption>p{font-size:15px}.native-home-grid,.native-class-grid{grid-template-columns:1fr;gap:24px}.native-current-work{padding:24px}.native-profile-summary{padding:18px}.native-profile-summary>div{display:block}.native-step-line{gap:8px;font-size:12px;flex-wrap:wrap}.native-classroom>header h1{font-size:28px}.native-reference{height:210px}.native-class-grid>aside{border-top:1px solid var(--accent);padding-top:22px}.native-home-tools{gap:10px}.native-course-offer{padding:22px}.native-lesson-buttons{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ai-native-home *{scroll-behavior:auto;transition:none}}
.native-caption-pages{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;border-top:1px solid var(--accent);padding-top:8px}.native-caption-pages button{min-width:44px;min-height:44px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);color:var(--muted);padding:7px 12px;cursor:pointer}.native-caption-pages span{font-size:15px;color:var(--muted)}.native-caption-pages button:last-child{margin-left:auto;font-size:15px}.native-caption>p{white-space:pre-wrap;overflow-wrap:anywhere}

.native-reference{height:auto}.native-reference-frame{aspect-ratio:965/543;overflow:hidden}.native-reference-frame>img{width:100%;height:auto;display:block}.native-reference>span{position:static;display:block;background:var(--raised);color:var(--text);padding:9px 16px}.native-full-reference{display:block;max-width:100%;width:650px;height:auto;margin:16px auto}.native-media:has(.native-reference){min-height:0}

.native-reception{max-width:660px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:20px;min-height:480px;justify-content:center}.native-reception .native-mentor>.native-mentor-art{width:220px;height:285px}.native-reception-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:center}.native-learning-home{max-width:860px;margin:auto}.native-home-conversation{max-width:620px;margin:0 auto 12px}.native-home-conversation .native-mentor>.native-mentor-art{width:90px;height:116px;border-radius:90px 90px 45px 45px}.native-home-conversation .native-caption{max-width:580px;width:100%;padding:16px 22px}.native-home-conversation form{display:flex;gap:12px;align-items:center;margin:12px 0}.native-home-conversation textarea{margin:0;min-width:0;flex:1}.native-home-conversation form .primary{white-space:nowrap;align-self:stretch;padding:12px 18px}.native-learning-home>.native-current-work{padding:22px 26px}.native-learning-home>.native-current-work h2{font-size:22px;margin:6px 0 14px}.native-learning-home>.native-current-work>small{margin-top:12px}.native-learning-home>.native-home-tools{margin-top:20px;padding-top:14px}.native-story-beats{display:grid;gap:12px;margin:16px 0}.native-story-beats article{border-left:3px solid var(--accent);padding:6px 14px;background:var(--surface);border-radius:0 10px 10px 0}.native-story-beats article>span{font-size:15px;color:var(--muted)}.native-story-beats article>p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.native-home-conversation>button{margin:6px 8px 6px 0}
@media(max-width:600px){.native-reception{margin:8px auto;min-height:0;gap:18px}.native-reception .native-mentor>.native-mentor-art{width:175px;height:220px}.native-reception-actions{gap:12px}.native-home-conversation form{flex-direction:column;align-items:stretch}.native-home-conversation .native-mentor>.native-mentor-art{width:115px;height:145px}.native-learning-home>.native-current-work{padding:18px}.native-learning-home>.native-current-work .text-button{display:block;margin-top:12px}.native-home-conversation .native-caption{padding:16px}.native-home-conversation form .primary{min-height:44px}}

.ai-native-home:has(.native-learning-home){padding-top:8px}

.native-coach{background:var(--surface);border:1px solid var(--accent);border-radius:22px;overflow:hidden;margin-bottom:22px}.native-coach nav{display:flex;gap:8px;padding:14px;background:var(--surface)}.native-coach nav button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--accent);background:var(--surface);border-radius:12px;color:var(--muted);font-size:15px}.native-coach nav button[aria-current=step]{background:var(--selected);color:var(--text);border-color:var(--accent)}.native-coach nav b{font-size:15px}.native-demo{margin:0;background:var(--surface)}.native-demo>img,.native-demo>video{display:block;width:100%;max-height:470px;object-fit:contain;background:var(--selected)}.native-demo figcaption{padding:12px 18px;font-size:15px;background:var(--surface);line-height:1.55}.native-demo figcaption strong,.native-demo figcaption span{display:block}.native-demo figcaption span{color:var(--muted);margin-top:5px}.native-coach-action{padding:22px}.native-coach-action h2{font-size:24px;margin:6px 0 12px}.native-coach-action p{font-size:16px;line-height:1.7;max-width:42ch;margin:0 0 18px}.native-coach-controls{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.native-coach-controls button,.native-coach-help button{min-height:44px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);padding:9px 14px;color:var(--muted)}.native-coach>details{margin:0 14px 14px}.native-coach-help{display:flex;gap:8px;flex-wrap:wrap}.native-coach-output{padding:12px;border-left:3px solid var(--accent);background:var(--surface);font-size:15px!important}.native-audio-demo{padding:18px;background:var(--surface)}.native-audio-demo h3{font-size:16px;margin:0}.native-audio-demo audio{display:block;width:100%;margin-top:10px}.native-audio-demo p{font-size:15px;color:var(--muted)}.native-own-material .native-media{min-height:0}.native-coach nav button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:600px){.native-coach-action{padding:18px}.native-coach-action h2{font-size:21px}.native-coach-action p{font-size:15px}.native-coach nav{padding:10px;gap:6px}.native-coach nav button{font-size:15px;gap:5px}.native-demo>img,.native-demo>video{max-height:400px}.native-coach-help{display:grid}.native-coach-help button{width:100%}}

/* Real state feedback: motion never claims a stage the server has not reached. */
.native-live-status{display:flex;align-items:center;gap:10px;margin:12px 0;color:var(--accent);font-size:15px;min-height:28px;flex-wrap:wrap}
.native-live-status small{color:var(--muted);font-size:15px}.native-live-status button{margin-left:auto;border:0;background:transparent;color:var(--accent);padding:5px 9px}
.native-live-indicator{display:flex;gap:4px;align-items:center;height:20px}.native-live-indicator i{width:4px;height:4px;border-radius:8px;background:currentColor}
.is-waiting .native-live-indicator i{animation:native-wait 1.3s ease-in-out infinite}.is-waiting .native-live-indicator i:nth-child(2){animation-delay:.18s}.is-waiting .native-live-indicator i:nth-child(3){animation-delay:.36s}
[data-native-state="recording"] .native-live-indicator i{height:calc(4px + var(--voice-level,0)*16px);transition:height .15s ease}
[data-native-state="playing"] .native-live-indicator i,[data-native-state="generating"] .native-live-indicator i{animation:native-wait .8s ease-in-out infinite alternate}
.native-mentor.is-speaking img{filter:drop-shadow(0 0 16px #9572dd44)}.native-voice-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.native-voice-tools small{font-size:15px;color:var(--muted)}.native-auto-speak{margin-left:auto;background:transparent;color:var(--muted);border:0;font-size:15px;padding:6px}
.native-caption [data-native-caption]{white-space:pre-line;min-height:3em;line-height:1.7}.native-caption-pages{font-size:15px;opacity:.8}
@keyframes native-wait{from{opacity:.35;transform:scaleY(.7)}to{opacity:1;transform:scaleY(1.8)}}
@media(prefers-reduced-motion:reduce){.native-live-indicator i{animation:none!important;transition:none!important}}
.native-home-conversation form[data-native-form="home-question"],.native-classroom form[data-native-form="question"]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
[data-native-form="home-question"] textarea,[data-native-form="question"] textarea{grid-column:1/-1;width:100%;min-width:0;min-height:76px;box-sizing:border-box;resize:vertical}
[data-native-form="home-question"] .native-voice-tools,[data-native-form="question"] .native-voice-tools{min-width:0;margin:0;gap:8px}
[data-native-form="home-question"]>.primary,[data-native-form="question"]>.primary{white-space:nowrap;min-height:44px;padding:10px 17px}
.native-voice-tools .text-button{font-size:15px}.native-voice-tools small{flex-basis:100%;order:3}.native-auto-speak{margin-left:0}
@media(max-width:600px){.native-home-conversation form[data-native-form="home-question"],.native-classroom form[data-native-form="question"]{grid-template-columns:minmax(0,1fr)}[data-native-form="home-question"]>.primary,[data-native-form="question"]>.primary{width:100%}.native-voice-tools{justify-content:flex-start}}
.native-home-conversation form[data-native-form="home-question"]{grid-template-columns:minmax(0,1fr)}.native-home-conversation form[data-native-form="home-question"]>.primary{width:100%}

.native-course-map section{padding:12px 0;border-top:1px solid var(--accent)}.native-course-map section>div{display:grid;gap:6px;margin-top:10px}.native-course-map button{text-align:left;background:var(--surface);border:1px solid var(--accent);border-radius:12px;padding:10px 12px;color:var(--text)}.native-course-map button[aria-current]{background:var(--surface);border-color:var(--accent)}.native-workflow{width:100%;padding:28px;color:var(--text);background:linear-gradient(145deg,var(--surface),var(--surface));box-sizing:border-box;text-align:left}.native-workflow h2{font-size:24px;max-width:24ch}.native-workflow ol{list-style:none;padding:0;display:grid;gap:14px}.native-workflow li{display:flex;align-items:center;gap:12px}.native-workflow li b{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid var(--accent);border-radius:50%;color:var(--accent)}.native-workflow li span{line-height:1.55}.native-workflow button{margin-top:12px}@media(max-width:600px){.native-workflow{padding:20px}.native-workflow h2{font-size:20px}}
.native-demo figcaption>button{align-self:flex-start;border:0;background:transparent;color:var(--accent);padding:10px 0;min-height:44px;text-align:left}.native-image-detail{min-width:0}.native-image-detail nav,.native-image-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.native-image-detail button{min-height:44px}.native-image-detail nav button{flex:1;min-width:110px;padding:10px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);color:var(--text)}.native-image-detail nav button[aria-pressed=true]{background:var(--selected);color:var(--text)}.native-image-pan{overflow:auto;max-height:65vh;overscroll-behavior:contain;background:var(--surface);outline-offset:3px}.native-image-picture{width:100%;position:relative}.native-image-picture>img{display:block;width:100%;height:auto;max-width:none;max-height:none}.native-image-picture.is-frame{aspect-ratio:965/540;overflow:hidden}.native-image-picture.is-frame>img{position:absolute;left:0}.native-image-picture.is-zoomed{width:200%}.native-image-detail p{font-size:15px;line-height:1.65;color:var(--muted)}.native-image-actions{justify-content:space-between}

.native-image-picture.is-frame>.native-reference-frame-0{top:0}.native-image-picture.is-frame>.native-reference-frame-1{top:-100.92592592592592%}.native-image-picture.is-frame>.native-reference-frame-2{top:-201.85185185185185%}

/* Only the mentor portrait changes: show the complete transparent pixel figure. */
.native-mentor>.native-mentor-art{display:block;flex-shrink:0;border-radius:0;box-shadow:none}
.native-mentor-art>img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}

.native-mentor.is-small>.native-mentor-art{width:96px;height:112px}

/* 148 UI candidate: scope the palette to native learning pages only. */
.academy-shell:has(.ai-native-home){background:var(--surface);color:var(--text);}
.academy-shell:has(.ai-native-home) .academy-signin{background:transparent;color:var(--text);border:1px solid var(--border);border-radius:10px;min-height:44px;padding:9px 20px}
.academy-shell:has(.ai-native-home) .avatar{background:var(--surface);color:var(--accent)}
.ai-native-home{max-width:1200px;padding:12px 0 48px;line-height:1.65}
.ai-native-home *, .ai-native-home *::before,.ai-native-home *::after{box-sizing:border-box}
.ai-native-home button{font:inherit;cursor:pointer}
.ai-native-home .primary{border-radius:10px;background:var(--native-purple);border-color:var(--native-purple);color:var(--accent-ink);min-height:46px;font-size:15px;padding:11px 20px}
.ai-native-home .primary:hover{background:var(--selected);border-color:var(--accent)}
.ai-native-home .secondary{border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:15px;min-height:44px;padding:10px 16px}
.ai-native-home .text-button,.ai-native-home .native-step-line>button{color:var(--text);min-height:44px;font-size:15px}
.native-kicker{font-size:15px;color:var(--muted);letter-spacing:.06em}
.native-caption{background:var(--surface);border:1px solid var(--border);box-shadow:none;border-radius:14px;color:var(--native-ink)}
.native-caption>span{color:var(--muted);font-size:15px;font-weight:600}
.native-caption>p{font-size:16px;line-height:1.75}
.ai-native-home .native-listen{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--border);border-radius:8px;padding:7px 12px;background:var(--surface);color:var(--accent);font-size:15px}
.native-note,.native-evidence,.native-offer-state{color:var(--muted);font-size:15px}
.ai-native-home label{color:var(--text);font-size:15px}
.ai-native-home textarea,.ai-native-home select{font-size:16px;background:var(--surface);color:var(--text);border-color:var(--border);border-radius:10px;padding:12px 14px}
.ai-native-home textarea:focus,.ai-native-home select:focus{outline:2px solid var(--accent);outline-offset:2px}
.ai-native-home details{border-color:var(--border);background:var(--surface);border-radius:10px}
.ai-native-home summary{color:var(--text);min-height:28px;font-size:15px}
.ai-native-home details p,.ai-native-home details li{color:var(--text);font-size:15px}
.native-caption-pages{opacity:1;border-color:var(--border)}
.native-caption-pages button{background:var(--surface);border-color:var(--border);color:var(--accent);border-radius:8px}
/* Reception stays a mentor interaction, with no promotional cards. */
.native-reception:has(.native-reception-actions){max-width:1080px;min-height:480px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:0 40px;margin:32px auto;padding:58px 64px;background:var(--surface);color:var(--text);border-radius:22px;align-content:center;justify-content:normal}
.native-reception:has(.native-reception-actions)>.native-mentor{display:contents}
.native-reception:has(.native-reception-actions) .native-mentor-art{grid-column:2;grid-row:1/3;width:300px;height:350px;justify-self:center;max-width:100%;align-self:center}
.native-reception:has(.native-reception-actions) .native-caption{grid-column:1;grid-row:1;margin:0;padding:0;background:transparent;border:0;max-width:none}
.native-reception:has(.native-reception-actions) .native-caption>span{color:var(--accent);letter-spacing:.05em}
.native-reception:has(.native-reception-actions) .native-caption>p{font-size:29px;font-weight:550;line-height:1.6;letter-spacing:-.025em;margin:18px 0 20px;min-height:0;color:var(--text)}
.native-reception:has(.native-reception-actions) .native-listen{background:transparent;border-color:var(--border);color:var(--text);margin-bottom:24px}
.native-reception-actions{grid-column:1;grid-row:2;justify-content:flex-start;gap:14px;align-self:start}
.native-reception-actions .primary{background:var(--surface);border-color:var(--accent);color:var(--accent-ink)}
.native-reception-actions .primary:hover{background:var(--surface);border-color:var(--accent)}
.native-reception-actions .text-button{color:var(--text)}
.native-reception>.native-error{grid-column:1/-1}
/* A real project preview, saved revision and one next action form the home focus. */
.native-learning-home{max-width:1160px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr);gap:28px;align-items:start}
.native-learning-home>.native-current-work{grid-column:1;grid-row:1;margin:0;padding:0;border:1px solid var(--border);background:var(--surface);border-radius:16px;overflow:hidden}
.native-current-work-copy{padding:26px}
.native-home-work-preview{margin:0;background:var(--surface)}
.native-home-work-preview>img,.native-home-work-preview>video{display:block;width:100%;height:auto;max-height:350px;object-fit:contain}
.native-learning-home>.native-home-conversation{grid-column:2;grid-row:1;max-width:none;width:100%;margin:0}
.native-home-conversation .native-mentor{flex-direction:row;align-items:flex-start;gap:12px;margin-top:12px}
.native-home-conversation .native-mentor>.native-mentor-art{width:88px;height:106px}
.native-home-conversation .native-caption{margin:0;padding:18px;flex:1;min-width:0}
.native-learning-home>.native-home-tools{grid-column:1/-1;margin-top:0;border-color:var(--border)}
.native-home-tools>button{color:var(--muted);min-height:44px}
.native-learning-home .native-current-work h2{font-size:26px;line-height:1.35;margin:8px 0 20px}
.native-current-work-copy>small{display:block;color:var(--muted);font-size:15px;margin-top:16px}
/* Classroom: compact task, visible media, mentor beside the work. */
.native-classroom>header{margin:16px 0 22px;border-bottom:1px solid var(--border);padding-bottom:18px}
.native-classroom>header h1{font-size:30px;line-height:1.3;margin:5px 0 8px}
.native-classroom>header p{font-size:16px;color:var(--muted);margin:0;max-width:70ch}
.native-step-line{font-size:15px;color:var(--muted);gap:14px}
.native-step-line>span{margin-right:auto}
.native-class-grid{grid-template-columns:minmax(0,1.95fr) minmax(300px,1fr);gap:0 28px;align-items:start}
.native-lesson-main{grid-column:1;grid-row:1/3}
.native-class-intro{grid-column:2;grid-row:1;min-width:0}
.native-class-grid>aside{grid-column:2;grid-row:2;padding-top:8px}
.native-class-intro .native-mentor{gap:10px}
.native-class-intro .native-mentor-art{width:72px;height:86px}
.native-class-intro .native-caption{padding:16px;min-width:0}
.native-coach{border:1px solid var(--border);border-radius:14px;margin-bottom:22px;box-shadow:none}
.native-coach nav{background:var(--surface);border-bottom:1px solid var(--border);padding:10px;gap:4px}
.native-coach nav button{background:transparent;border:0;border-radius:8px;color:var(--muted);font-size:15px;min-height:44px}
.native-coach nav button[aria-current=step]{background:var(--surface);color:var(--accent);border:0;font-weight:600}
.native-coach nav b{width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--border);border-radius:6px;font-size:15px}
.native-coach nav button[aria-current=step] b{background:var(--selected);color:var(--text);border-color:var(--accent)}
.native-demo{background:var(--surface)}
.native-demo>img,.native-demo>video{background:var(--surface);max-height:400px;aspect-ratio:16/9;object-fit:contain}
.native-demo figcaption{background:var(--surface);padding:13px 18px;font-size:15px;border-bottom:1px solid var(--border)}
.native-demo figcaption span{color:var(--muted);font-size:15px;line-height:1.65}
.native-coach-action{padding:18px 20px}
.native-coach-action h2{font-size:22px;margin:5px 0 12px}
.native-coach-action details{padding:10px 12px}
.native-coach-controls button,.native-coach-help button{background:var(--surface);border-color:var(--border);color:var(--text);border-radius:8px;font-size:15px}
.native-coach-controls button:last-child{background:var(--selected);color:var(--text);border-color:var(--accent)}
.native-coach-output,.native-workflow,.native-audio-demo{background:var(--surface);color:var(--text)}
.native-media{border-radius:12px;background:var(--surface);min-height:0}
.native-media[hidden]{display:none!important}
.native-classroom form[data-native-form=lesson]{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:14px;margin-bottom:14px}
.native-classroom form[data-native-form=lesson]>label{margin-top:0}
.native-classroom .native-lesson-buttons{gap:10px;flex-wrap:wrap}
.native-class-grid>aside>.native-note{margin:8px 0 18px;font-size:15px}
.native-class-grid>aside>small{font-size:15px;color:var(--muted)}
.native-course-map button[aria-current]{background:var(--surface);border-color:var(--accent);color:var(--accent)}
.native-intake{max-width:780px;padding:10px 0}
.native-intake>.native-mentor{gap:20px;margin:28px 0}
.native-choices{max-width:780px;gap:12px}
.native-choices button{border-color:var(--border);border-radius:12px;padding:18px 22px;font-size:17px;color:var(--text)}
.native-choices button:hover,.native-choices button[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}
.native-profile-summary,.native-course-offer{background:var(--surface);border:1px solid var(--border);border-radius:14px}
.native-live-status,.native-live-status button{color:var(--accent)}
@media(max-width:900px){
 .native-learning-home{grid-template-columns:1fr}.native-learning-home>.native-current-work{grid-row:1;grid-column:1}.native-learning-home>.native-home-conversation{grid-row:2;grid-column:1}.native-learning-home>.native-home-tools{grid-row:3;grid-column:1}
 .native-reception:has(.native-reception-actions){padding:36px;gap:0 24px;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr)}
 .native-reception:has(.native-reception-actions) .native-mentor-art{width:240px;height:300px}
 .native-class-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:0 20px}
}
@media(max-width:760px){
 .ai-native-home{padding:0 0 38px}
 .native-class-grid{display:flex;flex-direction:column;gap:18px}
 .native-class-intro,.native-lesson-main,.native-class-grid>aside{width:100%}
 .native-class-grid>aside{border-top:1px solid var(--border);padding-top:18px}
 .native-classroom>header{margin:12px 0 16px;padding-bottom:14px}
 .native-classroom>header h1{font-size:26px}
 .native-classroom>header p{font-size:15px}
 .native-step-line{gap:4px 12px}.native-step-line>span{flex-basis:calc(100% - 120px);margin:0}
 .native-step-line>button{font-size:15px;padding:5px 0}
 .native-class-intro .native-mentor{align-items:center}.native-class-intro .native-caption{padding:12px 14px}
 .native-class-intro .native-caption>p{margin:5px 0;font-size:15px}
 .native-coach nav{padding:8px}.native-coach nav button{font-size:15px;gap:5px}
 .native-coach-action{padding:16px}.native-coach-action p{font-size:16px}
 .native-current-work-copy{padding:20px}
 .native-demo>img,.native-demo>video{max-height:320px}
 .native-intake>.native-mentor{gap:10px;margin:20px 0}.native-intake .native-caption{padding:14px}
}
@media(max-width:600px){
 .native-reception:has(.native-reception-actions){margin:8px auto 20px;min-height:0;padding:26px 24px 30px;grid-template-columns:1fr;gap:0;border-radius:18px}
 .native-reception:has(.native-reception-actions) .native-mentor-art{grid-column:1;grid-row:1;width:152px;height:178px;margin-bottom:8px}
 .native-reception:has(.native-reception-actions) .native-caption{grid-column:1;grid-row:2}
 .native-reception:has(.native-reception-actions) .native-caption>p{font-size:23px;line-height:1.65;margin:12px 0 16px}
 .native-reception:has(.native-reception-actions) .native-listen{margin-bottom:18px}
 .native-reception-actions{grid-column:1;grid-row:3;gap:8px;flex-direction:column;align-items:stretch;width:100%}
 .native-reception-actions .primary{width:100%}.native-reception-actions .text-button{text-align:left;padding-left:0}
 .native-home-conversation .native-mentor>.native-mentor-art{width:72px;height:88px}.native-home-conversation .native-caption{padding:14px}
 .native-classroom form[data-native-form=lesson]{padding:16px}
}
/* Focused intake. The progress bar reflects the existing step, never ability. */
.native-intake{max-width:760px;padding:16px 0 32px}
.native-intake-progress{appearance:none;display:block;width:100%;height:3px;border:0;border-radius:4px;margin:14px 0 26px;background:var(--surface);color:var(--accent)}
.native-intake-progress::-webkit-progress-bar{background:var(--surface);border-radius:4px}
.native-intake-progress::-webkit-progress-value{background:var(--selected);border-radius:4px}
.native-intake-progress::-moz-progress-bar{background:var(--selected);border-radius:4px}
.native-intake .native-mentor{align-items:center}
.native-intake .native-caption{border:0;background:transparent;padding:0}
.native-intake .native-caption>p{font-size:28px;font-weight:600;line-height:1.5;min-height:1.5em;margin:10px 0 12px;letter-spacing:-.025em}
.native-intake .native-mentor>.native-mentor-art{width:110px;height:132px}
.native-intake-hint{font-size:15px;color:var(--muted);margin:6px 0 18px;padding-left:130px}
.native-intake-recap{font-size:15px;color:var(--muted);margin:0 0 12px}
.native-intake .native-choices{margin:18px 0;gap:12px}
.native-intake .native-choices button{min-height:66px;padding:17px 22px;background:var(--surface)}
.native-intake .native-choices button:hover{background:var(--surface)}
.native-intake .native-choices button>span{color:var(--muted);font-size:18px}
.native-type-full{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.native-type-visual::after{content:'▏';color:var(--accent);font-weight:400}
.native-type-skip{font-size:15px!important;min-height:44px;border:0;background:transparent;color:var(--muted);padding:4px 0;margin-right:14px}
.native-type-skip[aria-disabled=true]{color:var(--muted)}
@media(max-width:600px){
 .native-intake{padding:4px 0 20px}.native-intake .native-mentor>.native-mentor-art{width:68px;height:82px}
 .native-intake .native-caption>p{font-size:23px;min-height:3em}.native-intake .native-mentor{gap:14px}
 .native-intake-hint{padding-left:0;font-size:15px;margin:10px 0 18px}.native-intake .native-choices button{padding:16px 18px;font-size:16px;min-height:64px}
 .native-intake-progress{margin:10px 0 20px}
}
@media(prefers-reduced-motion:reduce){.native-type-visual::after{content:none}}
.native-question-sound{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.native-question-sound small{font-size:15px;color:var(--muted)}
.native-question-sound .native-listen{border-color:var(--border);color:var(--muted);background:transparent;font-size:15px;padding:6px 10px}
.native-question-sound .native-listen[aria-pressed=false]{color:var(--muted)}
/* Keep the full line in layout, avoiding movement while the visible layer types. */
.native-intake [data-native-type-key]{position:relative}
.native-intake .native-type-full{position:static;display:block;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;opacity:0}
.native-intake .native-type-visual{position:absolute;inset:0;pointer-events:none}
.native-type-visual.is-complete::after{content:none}
.native-question-sound .native-listen>span{display:inline-flex;align-items:center;margin-right:5px}
.native-intake .native-choices:has(button:nth-child(6)){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){
 .native-intake .native-caption>p{min-height:0}
 .native-intake>.native-mentor{margin:18px 0 12px}
 .native-intake .native-choices:has(button:nth-child(6)) button{padding:14px 16px;gap:8px}
}
.native-class-grid{grid-template-rows:min-content 1fr}

/* User-confirmed dark direction; native learning scope only, never auth/workbench. */
.academy-shell:has(.ai-native-home){background:var(--surface);color:var(--text);min-height:100dvh;color-scheme:dark}
.academy-shell:has(.ai-native-home) .brand{color:var(--text)}

.academy-shell:has(.ai-native-home) .academy-signin{color:var(--text);border-color:var(--border);background:transparent}
.academy-shell:has(.ai-native-home) .top-actions{margin-left:auto;color:var(--text)}
.academy-shell:has(.ai-native-home) .top-actions button,.academy-shell:has(.ai-native-home) .account-menu summary{color:var(--text);background:transparent}
.academy-shell:has(.ai-native-home) .avatar{background:var(--raised);color:var(--accent)}
.academy-shell:has(.ai-native-home) .account-menu-panel{background:var(--surface);border-color:var(--border);color:var(--text)}
.academy-shell:has(.ai-native-home) .account-menu-panel button{color:var(--text)!important;background:transparent!important}
.academy-shell:has(.ai-native-home) .preview-environment{color:var(--text)}
.ai-native-home{color:var(--text);padding-top:0}
.ai-native-home .primary,.native-reception-actions .primary{background:var(--surface);border-color:var(--accent);color:var(--accent-ink);font-weight:600}
.ai-native-home .primary:hover{background:var(--surface);border-color:var(--accent)}
.ai-native-home .secondary,.ai-native-home .native-listen{background:var(--surface);border-color:var(--border);color:var(--text)}
.ai-native-home .text-button,.ai-native-home .native-step-line>button{color:var(--text);background:transparent}
.ai-native-home label,.ai-native-home .native-intake-hint{color:var(--text)}
.ai-native-home textarea,.ai-native-home select{background:var(--surface);color:var(--text);border-color:var(--border)}
.ai-native-home textarea::placeholder{color:var(--muted)}
.ai-native-home textarea:focus,.ai-native-home select:focus{outline-color:var(--accent)}
.ai-native-home details{background:var(--surface);border-color:var(--border)}
.ai-native-home summary,.ai-native-home details p,.ai-native-home details li{color:var(--text)}
.ai-native-home button:focus-visible,.ai-native-home summary:focus-visible{outline-color:var(--accent)}
.native-kicker,.native-note,.native-evidence,.native-offer-state,.native-intake-recap,.native-step-line{color:var(--text)}
.native-caption{background:var(--surface);border-color:var(--border);color:var(--text)}
.native-caption>span{color:var(--accent)}
.native-caption-pages,.native-home-tools{border-color:var(--border)}
.native-caption-pages button{background:var(--raised);border-color:var(--border);color:var(--text)}
.native-reception:has(.native-reception-actions){background:var(--surface);border:1px solid var(--border);border-radius:18px;margin-top:20px}
.native-intake{padding-top:24px}
.native-intake .native-caption{background:transparent;border:0;color:var(--text)}
.ai-native-home .native-choices button{background:var(--surface);border-color:var(--border);color:var(--text);box-shadow:none}
.ai-native-home .native-choices button:hover,.ai-native-home .native-choices button[aria-pressed=true]{background:var(--raised);border-color:var(--accent);color:var(--text)}
.ai-native-home .native-choices button>span{color:var(--text)}
.native-intake-progress{background:var(--raised)}
.native-intake-progress::-webkit-progress-bar{background:var(--raised)}
.native-intake-progress::-webkit-progress-value{background:var(--surface)}
.native-intake-progress::-moz-progress-bar{background:var(--surface)}
.native-profile-summary,.native-course-offer{background:var(--surface);border-color:var(--border)}
.native-profile-summary dt,.native-profile-summary dd{color:var(--text)}
.native-course-results>span{background:var(--raised);color:var(--accent)}
.native-learning-home>.native-current-work{background:var(--surface);border-color:var(--border)}
.native-current-work-copy>small,.native-home-tools>button{color:var(--text)}
.native-current-work-copy>.primary{margin-right:10px}
.native-classroom>header,.native-class-grid>aside,.native-course-map section{border-color:var(--border)}
.native-classroom>header p,.native-class-grid>aside>.native-note,.native-class-grid>aside>small{color:var(--text)}
.native-classroom .native-coach,.native-classroom .native-demo,.native-classroom .native-coach-action{background:var(--surface);border-color:var(--border);color:var(--text)}
.native-classroom .native-coach>nav{background:var(--surface);border-color:var(--border)}
.native-classroom .native-coach>nav button{color:var(--text);background:transparent;border-color:transparent}
.native-classroom .native-coach>nav button[aria-current=step],.native-classroom .native-coach>nav button[aria-pressed=true]{background:var(--raised);color:var(--text)}
.native-classroom .native-coach>nav button b{background:var(--raised);color:var(--text)}
.native-classroom .native-demo figcaption{background:var(--surface);border-color:var(--border);color:var(--text)}
.native-classroom .native-demo figcaption span{color:var(--text)}
.native-classroom .native-demo figcaption>button{color:var(--accent)}
.ai-native-home .native-classroom form[data-native-form=lesson]{background:var(--surface);border-color:var(--border);color:var(--text)}
.native-course-map button{background:var(--raised);border-color:var(--border);color:var(--text)}
.native-course-map button[aria-current]{background:var(--raised);border-color:var(--accent)}
.native-workflow{background:var(--surface);color:var(--text)}
.native-workflow li b{border-color:var(--border);color:var(--accent)}
.native-story-beats article{background:var(--raised);border-color:var(--border);color:var(--text)}
.native-error{background:var(--raised);color:var(--accent)}
.native-toolbar{display:flex;align-items:center;gap:16px;min-height:52px;margin:0 0 12px;color:var(--text);font-size:15px}
.native-menu-toggle{display:inline-flex;align-items:center;gap:9px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--text)}
.native-menu-toggle:hover{background:var(--raised)}
.native-navigation{position:fixed;inset:0 auto 0 0;margin:0;width:286px;max-width:calc(100vw - 48px);height:100dvh;max-height:100dvh;padding:24px 18px;border:0;border-right:1px solid var(--border);border-radius:0 18px 18px 0;background:var(--surface);color:var(--text);box-shadow:12px 0 50px #0005;overflow:auto}
.native-navigation::backdrop{background:#080b10b3}
.native-navigation>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 24px}
.native-navigation>header h2{font-size:21px;line-height:1.4;margin:0}
.native-navigation>header button{border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--text);width:44px;height:44px;font-size:25px;line-height:1}
.native-navigation nav{display:grid;gap:8px}
.native-navigation nav button{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px 14px;text-align:left;background:transparent;border:0;border-radius:10px;color:var(--text);font-size:16px}
.native-navigation nav button svg{width:20px;height:20px;flex:none}
.native-navigation nav button.active,.native-navigation nav button:hover{background:var(--raised)!important;color:var(--text)!important}
.native-navigation>p{padding:24px 14px;color:var(--text);font-size:15px;line-height:1.65}
.native-side-extra>summary{font-size:15px;color:var(--accent)}
.native-side-extra details{background:transparent}
@media(max-width:760px){
 .native-toolbar{margin:0 0 8px;gap:12px;min-height:48px}
 .native-toolbar>span{font-size:15px}
 .native-intake{padding-top:10px}
 .native-reception:has(.native-reception-actions){margin-top:12px}
 .native-classroom>header{margin-top:8px}
 .native-navigation{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));}
 .native-classroom .native-class-intro .native-caption{background:var(--surface)}
}

.ai-native-home .native-question-sound .native-listen,.ai-native-home .native-question-sound .native-listen[aria-pressed=false],.native-question-sound small{color:var(--text);border-color:var(--border)}
.native-type-skip,.native-type-skip[aria-disabled=true]{color:var(--accent)}
.native-classroom .native-coach-controls button,.native-classroom .native-coach-help button{background:var(--raised);border-color:var(--border);color:var(--text)}
.native-classroom .native-coach-controls button:last-child{background:var(--surface);border-color:var(--accent);color:var(--text)}
.native-classroom .native-coach-output,.native-classroom .native-audio-demo,.native-classroom .native-media{background:var(--surface);color:var(--text)}
.ai-native-home .native-live-status,.ai-native-home .native-live-status button{color:var(--accent)}

/* Compact system typography and horizontal drawer entries. No web fonts. */
.academy-shell:has(.ai-native-home){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
.ai-native-home button,.ai-native-home input,.ai-native-home select,.ai-native-home textarea{font-family:inherit}
.ai-native-home{letter-spacing:0}
.ai-native-home h1,.ai-native-home h2{font-weight:600;letter-spacing:-.02em}
.native-navigation nav button.nav-item{flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-height:48px;padding:10px 12px;font-size:15px;font-weight:400;line-height:1.5;white-space:normal}
.native-navigation nav .icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;margin:0}
.native-navigation nav .icon svg{display:block;width:20px;height:20px}
.native-navigation nav button>span:not(.icon){min-width:0;text-align:left}
.native-navigation>header{padding-bottom:18px}
.native-navigation>header h2{font-size:19px;font-weight:600;letter-spacing:0}
.ai-native-home .native-sound-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--text);line-height:1}
.ai-native-home .native-sound-toggle[aria-pressed=true]{background:var(--raised);border-color:var(--accent);color:var(--text)}
.ai-native-home .native-sound-toggle:hover{background:var(--raised)}
.native-question-sound{gap:0}
dialog.native-leave-dialog{color-scheme:dark;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:16px;max-width:460px;width:calc(100vw - 32px);padding:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
dialog.native-leave-dialog::backdrop{background:#080b10b3}
.native-leave-dialog p{font-size:16px;line-height:1.7;color:var(--text)}
.native-leave-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.native-leave-actions button{min-height:44px;font-family:inherit;border-radius:10px;padding:10px 16px}
.native-leave-actions .primary{background:var(--surface);border-color:var(--accent);color:var(--accent-ink)}
.native-leave-actions .secondary{background:var(--surface);border-color:var(--border);color:var(--text)}

/* v5: quiet graphite surfaces, clear task hierarchy, room for the actual film. */
.academy-shell:has(.ai-native-home){background:var(--bg);color:var(--text);}
.academy-shell:has(.ai-native-home) .preview-environment{margin-bottom:12px;color:var(--muted)}
.ai-native-home{max-width:1320px}
.ai-native-home button{transition:background .15s ease,border-color .15s ease}
.ai-native-home .primary{box-shadow:0 1px 0 #ffffff20 inset;border-radius:9px}
.ai-native-home .secondary,.ai-native-home .native-listen{background:var(--surface);border-color:#ffffff20;color:var(--text);border-radius:9px}
.ai-native-home .secondary:hover,.ai-native-home .native-listen:hover{background:var(--surface);border-color:#ffffff38}
.ai-native-home textarea,.ai-native-home select{background:var(--surface);border-color:#ffffff21;border-radius:10px;color:var(--text)}
.ai-native-home textarea::placeholder{color:var(--muted)}
.ai-native-home details{background:var(--surface);border-color:#ffffff12;border-radius:10px}
.native-toolbar{min-height:44px;margin-bottom:4px;gap:12px;font-size:15px}
.native-menu-toggle{border-color:#ffffff20;background:var(--surface);border-radius:9px;padding:9px 12px}
.native-toolbar>span{color:var(--muted)}
.native-step-line{gap:14px;color:var(--muted);font-size:15px}
.native-step-line>.native-menu-toggle{color:var(--text);background:var(--surface);border:1px solid #ffffff20;padding:9px 12px}
.native-classroom>header{border-bottom:0;margin:12px 0 24px;padding-bottom:0}
.native-classroom>header h1{font-size:28px;line-height:1.3;letter-spacing:-.035em;margin:4px 0 8px}
.native-classroom>header p{color:var(--muted);font-size:15px;line-height:1.6;max-width:76ch}
.native-classroom>header .native-kicker{font-size:12px;color:var(--accent);letter-spacing:.035em}
.native-class-grid{grid-template-columns:minmax(0,2.3fr) minmax(300px,1fr);gap:0 32px}
.native-class-intro .native-mentor{gap:12px}
.native-class-intro .native-mentor.is-small>.native-mentor-art{width:56px;height:72px}
.native-class-intro .native-mentor.is-small .native-caption{border:0;background:transparent!important;border-radius:0;padding:4px 0 18px;box-shadow:none}
.native-class-intro .native-caption>span{font-size:12px;color:var(--accent)}
.native-class-intro .native-caption>p{font-size:15px;line-height:1.75;margin:9px 0 12px}
.native-class-grid>aside{border-top:1px solid #ffffff12;padding-top:16px}
.native-class-grid>aside>.native-note{font-size:15px;color:var(--muted);line-height:1.65;margin:0 0 14px}
.native-classroom .native-coach{border:1px solid #ffffff18;border-radius:12px;background:var(--surface);box-shadow:0 16px 48px #0003;margin-bottom:18px}
.native-classroom .native-coach>nav{background:var(--surface);border-color:#ffffff12;gap:0;padding:5px 8px}
.native-classroom .native-coach>nav button{min-height:48px;border-radius:7px;color:var(--muted);font-size:15px;padding:8px}
.native-classroom .native-coach>nav button[aria-current=step]{background:#b7a7f714;color:var(--text);box-shadow:0 -2px 0 #b7a7f7 inset}
.native-classroom .native-coach>nav button b{width:20px;height:20px;border:1px solid #ffffff26;background:transparent;color:inherit;border-radius:5px;font-size:12px}
.native-classroom .native-demo{background:var(--bg)}
.native-classroom .native-demo>img,.native-classroom .native-demo>video{max-height:460px;background:var(--bg)}
.native-classroom .native-demo figcaption{background:var(--surface);border-color:#ffffff12;padding:12px 16px;font-size:15px}
.native-classroom .native-demo figcaption span{font-size:15px;color:var(--muted)}
.native-classroom .native-coach-action{background:var(--surface);padding:16px}
.native-classroom .native-coach-action h2{font-size:20px;letter-spacing:-.02em}
.native-classroom .native-coach-controls{margin-top:14px}
.native-classroom .native-coach-controls button,.native-classroom .native-coach-help button{background:var(--surface);border-color:#ffffff20;border-radius:9px}
.native-classroom .native-coach-controls button:last-child{background:var(--surface);border-color:var(--accent)}
.ai-native-home .native-classroom form[data-native-form=lesson]{background:var(--surface);border-color:#ffffff18;padding:18px;border-radius:12px}
.native-classroom form[data-native-form=lesson]>label{font-size:15px;color:var(--text);font-weight:500}
.native-classroom .native-courseware,.native-classroom .native-side-extra{background:transparent;border-color:#ffffff18}
.native-classroom .native-side-extra>summary{color:var(--text);font-size:15px}
.native-learning-home>.native-current-work{background:var(--surface);border-color:#ffffff18;border-radius:14px;box-shadow:0 16px 48px #0003}
.native-home-conversation .native-caption{background:transparent;border:0;padding:8px 0}
.native-current-work-copy{padding:24px}
.native-home-tools{border-color:#ffffff12}
.native-learning-home>.native-course-entry{grid-column:1;grid-row:1;padding:24px;background:var(--surface);border:1px solid #b7a7f740;border-radius:14px}
.native-course-entry h2{font-size:25px;line-height:1.4;margin:8px 0 14px}
.native-course-entry p{font-size:15px;color:var(--text);margin:0 0 18px;overflow-wrap:anywhere}
.native-learning-home>.native-current-work{grid-row:2}
.native-learning-home>.native-home-conversation{grid-row:1 / span 2}
@media(max-width:900px){.native-learning-home>.native-course-entry{grid-column:1;grid-row:1}.native-learning-home>.native-current-work{grid-column:1;grid-row:2}.native-learning-home>.native-home-conversation{grid-column:1;grid-row:3}.native-learning-home>.native-home-tools{grid-column:1;grid-row:4}}
@media(max-width:760px){.native-learning-home>.native-course-entry{grid-column:1;grid-row:1;padding:20px}.native-learning-home>.native-current-work{grid-row:2}.native-learning-home>.native-home-conversation{grid-row:3}.native-learning-home>.native-home-tools{grid-row:4}.native-course-entry .primary{width:100%;white-space:normal}}
.native-reception:has(.native-reception-actions){background:var(--surface);border-color:#ffffff16;box-shadow:0 20px 70px #0003}
.ai-native-home .native-choices button{background:var(--surface);border-color:#ffffff1a}
.ai-native-home .native-choices button:hover,.ai-native-home .native-choices button[aria-pressed=true]{background:#b7a7f714;border-color:var(--accent)}
.native-navigation{background:var(--surface);border-color:#ffffff18;border-radius:0 12px 12px 0}
.native-navigation nav button.active,.native-navigation nav button:hover{background:#b7a7f714!important}
@media(max-width:900px){.native-class-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:0 24px}}
@media(min-width:761px) and (max-height:800px){
 .native-classroom .native-demo>img,.native-classroom .native-demo>video{max-height:max(220px,calc(100dvh - 390px))}
}
@media(max-width:760px){
 .academy-shell:has(.ai-native-home) .preview-environment{font-size:12px;margin-bottom:8px}
 .native-toolbar{min-height:44px;margin-bottom:0}
 .native-step-line{gap:0 14px}
 .native-step-line>span{order:1;flex-basis:100%;font-size:12px;line-height:1.5;margin-top:8px}
 .native-step-line>button{min-height:44px;padding:8px 0;font-size:15px}
 .native-step-line>.native-menu-toggle{padding:8px 10px;min-width:44px}
 .native-step-line>.native-menu-toggle>span{display:none}
 .native-step-line>button:last-child{margin-left:auto}
 .native-classroom>header{margin:8px 0 16px}
 .native-classroom>header h1{font-size:23px;margin:4px 0 6px}
 .native-classroom>header p{font-size:15px;line-height:1.65}
 .native-class-grid{gap:14px}
 .native-class-intro .native-mentor{align-items:flex-start;gap:12px}
 .native-class-intro .native-mentor.is-small>.native-mentor-art{width:48px;height:64px}
 .native-class-intro .native-mentor.is-small .native-caption{padding:0}
 .native-class-intro .native-caption>p{font-size:15px;line-height:1.65;margin:5px 0 8px}
 .native-class-intro .native-listen{min-height:44px;padding:8px 12px}
 .native-classroom .native-coach>nav{padding:4px}
 .native-classroom .native-coach>nav button{min-height:48px;font-size:15px;gap:6px;padding:7px 5px}
 .native-classroom .native-demo>img,.native-classroom .native-demo>video{max-height:340px}
 .native-classroom .native-coach-action{padding:14px}
 .native-classroom .native-coach-action h2{font-size:19px}
 .native-class-grid>aside{padding-top:16px}
 .ai-native-home .native-classroom form[data-native-form=lesson]{padding:16px}
}
@media(prefers-reduced-motion:reduce){.ai-native-home button{transition:none}}

/* R066 pair: preserve complete frames; detail viewer handles zoom/pan. */
.native-course-visual-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.native-course-visual-pair .native-demo{min-width:0;margin:0}.native-course-visual-pair img{width:100%;height:auto;object-fit:contain}.native-course-visual-pair figure:has(video){grid-column:1/-1}@media(max-width:700px){.native-course-visual-pair{grid-template-columns:1fr}}

.native-coach-text p{white-space:pre-wrap;overflow-wrap:anywhere}.native-coach nav button span{min-width:0;overflow-wrap:anywhere}

.native-course-delivery{margin:1rem 0;padding:1rem;border:1px solid var(--line,var(--border));border-radius:14px;overflow-wrap:anywhere}.native-course-delivery fieldset{border:0;padding:0;margin:0 0 1rem}.native-course-delivery fieldset label{display:flex;align-items:center;gap:.6rem;margin:.6rem 0}.native-course-delivery input[type=checkbox]{width:auto;flex:none}.native-course-delivery article{margin:1rem 0;padding-top:.8rem;border-top:1px solid var(--line,var(--border))}.native-course-delivery article button{margin:.4rem .4rem .4rem 0}.native-course-delivery small{display:block;line-height:1.6}.native-course-delivery details p{white-space:pre-wrap}

/* Course assignment uses the existing dark classroom typography and controls. */
.native-course-assignment{margin:20px 0;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:inherit;min-width:0}
.native-course-assignment>header{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.native-course-assignment>p{font-size:15px;line-height:1.8;margin:10px 0}
.native-course-assignment details{margin:12px 0}
.native-course-assignment summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-size:15px}
.native-course-assignment ol,.native-course-assignment ul{padding-left:22px;font-size:15px;line-height:1.85}
.native-course-assignment small{font-size:15px;line-height:1.7;color:var(--native-muted,var(--muted))}
.native-submission-status{padding:10px 12px;border-left:2px solid var(--accent,var(--accent));background:#ffffff06}
.native-review-attachments label{display:flex;align-items:flex-start;gap:10px;padding:10px 0;overflow-wrap:anywhere}
.native-review-attachments input{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0;accent-color:var(--accent,var(--accent))}
.native-review-attachments label span{min-width:0;font-size:15px}
.native-review-attachments label small{display:block}
.native-assignment-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.native-work-review{border-top:1px solid var(--border);padding-top:18px;margin-top:18px;min-width:0}
.native-work-review>header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:15px}
.native-work-review>header span{font-size:15px;color:var(--native-muted,var(--muted))}
.native-work-review p{font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.native-review-criteria{list-style:none;padding:0!important;display:grid;gap:14px}
.native-review-criteria li{padding:14px;border:1px solid var(--border);border-radius:10px;min-width:0}
.native-review-criteria strong{display:block;font-size:15px;line-height:1.75;margin:6px 0}
.native-review-verdict{font-size:15px;padding:3px 8px;border-radius:5px;background:#a5c9b21c;color:var(--accent)}
.native-review-verdict[data-verdict=revise]{background:#e4b66f18;color:var(--accent)}
.native-review-verdict[data-verdict=unverified]{background:#ffffff0b;color:var(--text)}
.native-review-criteria blockquote{margin:10px 0;padding:10px 12px;border-left:2px solid var(--accent,var(--accent));background:#ffffff06;white-space:pre-wrap;overflow-wrap:anywhere}
.native-review-action{margin-bottom:0}.native-review-warning{color:var(--accent)}
.native-work-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;line-height:1.85;padding:12px;background:#0000001a;border-radius:8px}
@media(max-width:600px){.native-course-assignment{margin:16px 0;padding:14px;border-radius:10px}.native-assignment-actions button{width:100%;min-height:44px}.native-review-criteria li{padding:12px}.native-review-attachments label{min-height:44px}}

.native-review-comparison>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.native-review-comparison section{min-width:0}.native-review-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;line-height:1.8;padding:12px;background:#0000001a;border-radius:8px}@media(max-width:600px){.native-review-comparison>div{grid-template-columns:1fr}}

.ai-native-home .native-course-assignment pre{color:var(--native-ink,var(--text))}.ai-native-home .native-course-assignment p,.ai-native-home .native-course-assignment li,.ai-native-home .native-course-assignment label{color:var(--native-ink,var(--text))}

/* Integrated immutable delivery shares the existing dark assignment controls. */
.native-lesson2{max-width:1180px;margin:0 auto}.native-lesson2 header details{font-size:15px;color:var(--native-muted);margin-top:12px}.lesson2-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.lesson2-steps button{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid var(--border);border-radius:10px;padding:10px 14px;background:var(--surface);color:var(--native-muted);font:inherit;font-size:15px}.lesson2-steps button[aria-current=step]{border-color:var(--native-purple);color:var(--native-ink);background:#b7a8ec0d}.lesson2-steps button span{font-size:15px;border:1px solid var(--border);border-radius:50%;width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto}.lesson2-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:28px;align-items:start}.lesson2-main,.lesson2-side{min-width:0}.lesson2-main{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.lesson2-main h2{margin:0 0 20px;font-size:22px;line-height:1.4}.lesson2-main figure{margin:0 0 18px}.lesson2-main figure>img,.lesson2-main figure>video{display:block;width:100%;height:auto;max-height:550px;object-fit:contain;border-radius:10px;background:var(--bg)}.lesson2-main figcaption{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:15px;line-height:1.7;margin:10px 0}.lesson2-main figcaption>span:last-child{flex-basis:100%;color:var(--native-muted)}.lesson2-preview-label{background:#b7a8ec16;border-radius:5px;padding:2px 7px;color:var(--native-purple)}.lesson2-one-line{font-size:16px;line-height:1.85;margin:18px 0}.lesson2-main details{margin:20px 0}.lesson2-main summary{font-size:15px;min-height:44px;cursor:pointer;display:flex;align-items:center}.lesson2-main details p{font-size:15px;line-height:1.9}.lesson2-main form{margin:16px 0;min-width:0}.lesson2-main form label{display:block;font-size:15px;line-height:1.8}.lesson2-main textarea,.lesson2-main input[type=file]{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:8px 0 14px;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--native-ink);padding:12px;font:inherit;font-size:15px;line-height:1.8}.lesson2-main button.primary,.lesson2-main button.secondary{min-height:44px;font:inherit;font-size:15px;line-height:1.5;padding:10px 16px;border-radius:8px}.lesson2-main button.primary{background:var(--native-purple);color:var(--accent-ink);border:1px solid var(--native-purple)}.lesson2-main button.secondary{background:var(--surface);color:var(--native-ink);border:1px solid var(--border)}.lesson2-main button:disabled{opacity:.6;cursor:default}.lesson2-main .text-button{min-height:44px;font-size:15px;line-height:1.6;padding:8px 0;white-space:normal}.lesson2-main small{display:block;color:var(--native-muted);font-size:15px;line-height:1.8;margin:8px 0}.lesson2-performance,.lesson2-decisions{border:0;padding:0;margin:20px 0;display:flex;gap:12px;flex-wrap:wrap}.lesson2-performance legend,.lesson2-decisions legend{font-size:15px;margin-bottom:10px}.lesson2-performance label{display:flex;gap:10px;flex:1 1 160px;border:1px solid var(--border);border-radius:10px;padding:12px;cursor:pointer}.lesson2-performance label:has(input:checked){border-color:var(--native-purple);background:#b7a8ec08}.lesson2-performance input{margin:5px 0;width:18px;height:18px;accent-color:var(--native-purple)}.lesson2-performance strong{font-size:15px}.lesson2-performance small{margin:3px 0 0}.lesson2-quote{font-size:15px;margin:18px 0}.lesson2-empty{border:1px dashed var(--border);border-radius:10px;padding:18px;font-size:15px;line-height:1.8}.lesson2-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lesson2-reference-grid img{width:100%;height:auto;object-fit:contain;border-radius:8px}.lesson2-reference-grid figcaption{font-size:15px}.lesson2-side{padding:8px 0}.lesson2-mentor{width:72px;height:72px;object-fit:contain}.lesson2-side p{font-size:15px;line-height:1.8}.lesson2-side summary{font-size:15px;cursor:pointer;padding:12px 0}.lesson2-side textarea{width:100%;box-sizing:border-box;font:inherit;font-size:15px;background:var(--surface);color:var(--native-ink);border:1px solid var(--border);border-radius:8px;padding:10px}.lesson2-feedback-brief{margin:22px 0;padding:16px;border-left:2px solid var(--native-purple);background:#b7a8ec05;font-size:15px;line-height:1.9}.lesson2-feedback-brief strong{font-size:15px}.lesson2-delivery-details .native-course-delivery{padding:14px!important}.lesson2-main button:focus-visible,.lesson2-main summary:focus-visible,.lesson2-steps button:focus-visible{outline:2px solid var(--native-purple);outline-offset:3px}@media(max-width:800px){.lesson2-layout{grid-template-columns:1fr;gap:20px}.lesson2-side{border-top:1px solid var(--border);padding-top:18px}}@media(max-width:600px){.lesson2-main{padding:16px;border-radius:10px}.lesson2-main h2{font-size:20px}.lesson2-steps{gap:6px;margin:18px 0}.lesson2-steps button{flex-direction:column;align-items:flex-start;gap:6px;padding:10px;font-size:15px;line-height:1.7}.lesson2-one-line{font-size:15px}.lesson2-main button.primary{width:100%}.lesson2-reference-grid{grid-template-columns:1fr}.lesson2-reference-grid figure{margin:0}.lesson2-performance{gap:10px}.lesson2-performance label{flex-basis:100%;padding:10px}.lesson2-main figure>img,.lesson2-main figure>video{max-height:none}}
.ai-native-home .native-course-delivery button:not(.text-button){border:1px solid var(--border);border-radius:8px;background:var(--raised);color:var(--text);padding:9px 12px;font:inherit;font-size:15px;line-height:1.5;min-height:44px}.ai-native-home .native-course-delivery button:not(.text-button):disabled{opacity:1;color:var(--text);background:var(--surface);border-color:var(--border);cursor:default}.ai-native-home .native-course-delivery button:not(.text-button):focus-visible{outline:2px solid var(--native-purple);outline-offset:3px}
.ai-native-home .native-course-delivery{border-color:var(--border);background:var(--surface);margin:20px 0;padding:20px;color:var(--native-ink)}.native-course-delivery h3{margin:0;font-size:18px;line-height:1.4}.native-course-delivery fieldset{border:1px solid var(--border);border-radius:10px;padding:12px 14px}.native-course-delivery legend{font-size:15px;padding:0 5px}.native-course-delivery fieldset label{display:flex;align-items:flex-start;gap:10px;margin:10px 0;min-height:32px;overflow-wrap:anywhere}.native-course-delivery fieldset input{width:18px;height:18px;margin:3px 0;flex:0 0 auto;accent-color:var(--native-purple)}.native-course-delivery label span{min-width:0}.native-course-delivery label small{display:block}.native-course-delivery form>button{margin-top:14px}.native-course-delivery>details>article{border-top:1px solid var(--border);padding-top:16px;margin-top:16px;min-width:0}.native-delivery-observation blockquote{margin:12px 0;padding:10px 12px;border-left:2px solid var(--native-purple);background:#ffffff06;white-space:pre-wrap;overflow-wrap:anywhere}.native-course-delivery pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.85;color:var(--native-ink)}.native-course-delivery button{min-height:40px}.native-course-delivery .native-review-comparison pre{color:var(--native-ink)}@media(max-width:600px){.ai-native-home .native-course-delivery{padding:14px}.native-course-delivery form>button{width:100%;min-height:44px}.native-course-delivery fieldset{padding:10px}.native-course-delivery fieldset label{min-height:44px}}

.lesson2-main select,.lesson2-main input:not([type=radio]):not([type=checkbox]){display:block;width:100%;max-width:100%;box-sizing:border-box;margin:8px 0 14px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--native-ink);font:inherit;font-size:15px;min-height:44px}.lesson2-step-status{margin-bottom:6px!important}.lesson2-main button{overflow-wrap:anywhere}

.authored-reading{max-width:66ch;font-size:15px;line-height:1.9;overflow-wrap:anywhere}.authored-reading h3{font-size:19px;margin:28px 0 14px}.authored-reading h4{font-size:16px;margin:20px 0 10px}.authored-reading p{margin:12px 0!important}.native-authored-course .native-step-line{flex-wrap:wrap}.native-authored-course .lesson2-answer .native-mentor{padding:10px 0}.lesson2-side form label{display:block;font-size:15px;line-height:1.8}
.lesson2-teacher-preview>a{display:block;max-width:100%}.lesson2-teacher-preview>a>img{display:block;width:100%;height:auto;max-height:550px;object-fit:contain;border-radius:10px;background:var(--bg)}.lesson2-teacher-preview a:focus-visible{outline:2px solid var(--native-purple);outline-offset:3px}@media(max-width:600px){.lesson2-teacher-preview>a>img{max-height:none}}
.native-classroom .lesson2-side form[data-native-form="question"]{grid-template-columns:minmax(0,1fr);align-items:stretch}.lesson2-side [data-native-form="question"]>*{min-width:0}.lesson2-side [data-native-form="question"] .native-voice-tools{flex-wrap:wrap}
.native-course-delivery [data-native-form="course-delivery"] label{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start}.native-course-delivery [data-native-form="course-delivery"] label>input[type="checkbox"]{grid-column:1;grid-row:1;align-self:start}.native-course-delivery [data-native-form="course-delivery"] label>small{grid-column:2;min-width:0}

/* Long authored lessons stay readable on small screens; tables retain headers. */
.authored-reading .authored-table-scroll{max-width:100%;overflow-x:auto;margin:18px 0;overscroll-behavior-inline:contain;border:1px solid var(--line,var(--border));border-radius:8px}
.authored-reading table{border-collapse:collapse;width:100%;min-width:520px;font-size:15px;line-height:1.7}
.authored-reading th,.authored-reading td{padding:10px 12px;border-bottom:1px solid var(--line,var(--border));text-align:left;vertical-align:top;min-width:110px}
.authored-reading blockquote{margin:16px 0;padding:12px 16px;border-left:3px solid var(--border);background:#ffffff06}
.authored-reading li{margin:8px 0}.authored-reading code{white-space:normal;overflow-wrap:anywhere}


/* vendor/vis-timeline.css */
.vis .overlay{height:100%;left:0;position:absolute;top:0;width:100%;z-index:10}.vis-active{box-shadow:0 0 10px #86d5f8}.vis [class*=span]{min-height:0;width:auto}div.vis-configuration{display:block;float:left;font-size:12px;position:relative}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;display:block;left:10px;margin-top:20px;padding-left:5px;width:495px}div.vis-configuration.vis-config-button{background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;cursor:pointer;display:block;height:25px;left:10px;line-height:25px;margin-bottom:30px;margin-top:20px;padding-left:5px;vertical-align:middle;width:495px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;height:25px;line-height:25px;vertical-align:middle;width:495px}div.vis-configuration.vis-config-item.vis-config-s2{background-color:#f7f8fa;border-radius:3px;left:10px;padding-left:5px}div.vis-configuration.vis-config-item.vis-config-s3{background-color:#e4e9f0;border-radius:3px;left:20px;padding-left:5px}div.vis-configuration.vis-config-item.vis-config-s4{background-color:#cfd8e6;border-radius:3px;left:30px;padding-left:5px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{height:25px;line-height:25px;width:120px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{border:1px solid #444;border-radius:2px;cursor:pointer;height:19px;margin:0;padding:0;top:1px;width:30px}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{margin:0;padding:1px;pointer-events:none;position:relative;top:-5px;width:60px}input.vis-configuration.vis-config-range{-webkit-appearance:none;background-color:transparent;border:0 solid #fff;height:20px;width:300px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{background:#dedede;background:-moz-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dedede),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#dedede,#c8c8c8 99%);background:-o-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);border:1px solid #999;border-radius:3px;box-shadow:0 0 3px 0 #aaa;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);height:5px;width:300px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;background:#3876c2;background:-moz-linear-gradient(top,#3876c2 0,#385380 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3876c2),color-stop(100%,#385380));background:-webkit-linear-gradient(top,#3876c2,#385380);background:-o-linear-gradient(top,#3876c2 0,#385380 100%);background:-ms-linear-gradient(top,#3876c2 0,#385380 100%);background:linear-gradient(180deg,#3876c2 0,#385380);border:1px solid #14334b;border-radius:50%;box-shadow:0 0 1px 0 #111927;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);height:17px;margin-top:-7px;width:17px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-moz-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#9d9d9d),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#9d9d9d,#c8c8c8 99%);background:-o-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{background:#dedede;background:-moz-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dedede),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#dedede,#c8c8c8 99%);background:-o-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);border:1px solid #999;border-radius:3px;box-shadow:0 0 3px 0 #aaa;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);height:10px;width:300px}input.vis-configuration.vis-config-range::-moz-range-thumb{background:#385380;border:none;border-radius:50%;height:16px;width:16px}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{background:transparent;border-color:transparent;border-width:6px 0;color:transparent;height:5px;width:300px}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{background:#385380;border:none;border-radius:50%;height:16px;width:16px}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{background:rgba(57,76,89,.85);border:2px solid #f2faff;border-radius:4px;color:#fff;font-size:14px;height:30px;line-height:30px;position:absolute;text-align:center;-webkit-transition:opacity .3s ease-in-out;-moz-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;width:150px}.vis-configuration-popup:after,.vis-configuration-popup:before{border:solid transparent;content:" ";height:0;left:100%;pointer-events:none;position:absolute;top:50%;width:0}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}div.vis-tooltip{background-color:#f5f4ed;border:1px solid #808074;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;box-shadow:3px 3px 10px rgba(0,0,0,.2);color:#000;font-family:verdana;font-size:14px;padding:5px;pointer-events:none;position:absolute;visibility:hidden;white-space:nowrap;z-index:5}.vis-current-time{background-color:#ff7f6e;pointer-events:none;width:2px;z-index:1}.vis-rolling-mode-btn{background:#3876c2;border-radius:50%;color:#fff;cursor:pointer;font-size:28px;font-weight:700;height:40px;opacity:.8;position:absolute;right:20px;text-align:center;top:7px;width:40px}.vis-rolling-mode-btn:before{content:"\26F6"}.vis-rolling-mode-btn:hover{opacity:1}.vis-custom-time{background-color:#6e94ff;cursor:move;width:2px;z-index:1}.vis-custom-time>.vis-custom-time-marker{background-color:inherit;color:#fff;cursor:auto;font-size:12px;padding:3px 5px;top:0;white-space:nowrap;z-index:inherit}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal{border-bottom:1px solid;height:0;position:absolute;width:100%}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor{border-color:#e5e5e5}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-major{border-color:#bfbfbf}.vis-data-axis .vis-y-axis.vis-major{color:#4d4d4d;position:absolute;white-space:nowrap;width:100%}.vis-data-axis .vis-y-axis.vis-major.vis-measure{border:0;margin:0;padding:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-minor{color:#bebebe;position:absolute;white-space:nowrap;width:100%}.vis-data-axis .vis-y-axis.vis-minor.vis-measure{border:0;margin:0;padding:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title{bottom:20px;color:#4d4d4d;position:absolute;text-align:center;white-space:nowrap}.vis-data-axis .vis-y-axis.vis-title.vis-measure{margin:0;padding:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title.vis-left{bottom:0;-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:left top;-moz-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left bottom}.vis-data-axis .vis-y-axis.vis-title.vis-right{bottom:0;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:right bottom;-moz-transform-origin:right bottom;-ms-transform-origin:right bottom;-o-transform-origin:right bottom;transform-origin:right bottom}.vis-legend{background-color:rgba(247,252,255,.65);border:1px solid #b3b3b3;box-shadow:2px 2px 10px hsla(0,0%,60%,.55);padding:5px}.vis-legend-text{display:inline-block;white-space:nowrap}.vis-item{background-color:#d5ddf6;border-color:#97b0f8;border-width:1px;color:#1a1a1a;display:inline-block;position:absolute;z-index:1}.vis-item.vis-selected{background-color:#fff785;border-color:#ffc200;z-index:2}.vis-editable.vis-selected{cursor:move}.vis-item.vis-point.vis-selected{background-color:#fff785}.vis-item.vis-box{border-radius:2px;border-style:solid;text-align:center}.vis-item.vis-point{background:none}.vis-item.vis-dot{border-radius:4px;border-style:solid;border-width:4px;padding:0;position:absolute}.vis-item.vis-range{border-radius:2px;border-style:solid;box-sizing:border-box}.vis-item.vis-background{background-color:rgba(213,221,246,.4);border:none;box-sizing:border-box;margin:0;padding:0}.vis-item .vis-item-overflow{height:100%;margin:0;overflow:hidden;padding:0;position:relative;width:100%}.vis-item-visible-frame{white-space:nowrap}.vis-item.vis-range .vis-item-content{display:inline-block;position:relative}.vis-item.vis-background .vis-item-content{display:inline-block;position:absolute}.vis-item.vis-line{border-left-style:solid;border-left-width:1px;padding:0;position:absolute;width:0}.vis-item .vis-item-content{box-sizing:border-box;padding:5px;white-space:nowrap}.vis-item .vis-onUpdateTime-tooltip{background:#4f81bd;border-radius:1px;color:#fff;padding:5px;position:absolute;text-align:center;transition:.4s;-o-transition:.4s;-moz-transition:.4s;-webkit-transition:.4s;white-space:nowrap;width:200px}.vis-item .vis-delete,.vis-item .vis-delete-rtl{box-sizing:border-box;cursor:pointer;height:24px;padding:0 5px;position:absolute;top:0;-webkit-transition:background .2s linear;-moz-transition:background .2s linear;-ms-transition:background .2s linear;-o-transition:background .2s linear;transition:background .2s linear;width:24px}.vis-item .vis-delete{right:-24px}.vis-item .vis-delete-rtl{left:-24px}.vis-item .vis-delete-rtl:after,.vis-item .vis-delete:after{color:red;content:"\00D7";font-family:arial,sans-serif;font-size:22px;font-weight:700;-webkit-transition:color .2s linear;-moz-transition:color .2s linear;-ms-transition:color .2s linear;-o-transition:color .2s linear;transition:color .2s linear}.vis-item .vis-delete-rtl:hover,.vis-item .vis-delete:hover{background:red}.vis-item .vis-delete-rtl:hover:after,.vis-item .vis-delete:hover:after{color:#fff}.vis-item .vis-drag-center{cursor:move;height:100%;left:0;position:absolute;top:0;width:100%}.vis-item.vis-range .vis-drag-left{cursor:w-resize;left:-4px}.vis-item.vis-range .vis-drag-left,.vis-item.vis-range .vis-drag-right{height:100%;max-width:20%;min-width:2px;position:absolute;top:0;width:24px}.vis-item.vis-range .vis-drag-right{cursor:e-resize;right:-4px}.vis-range.vis-item.vis-readonly .vis-drag-left,.vis-range.vis-item.vis-readonly .vis-drag-right{cursor:auto}.vis-item.vis-cluster{border-radius:2px;border-style:solid;text-align:center;vertical-align:center}.vis-item.vis-cluster-line{border-left-style:solid;border-left-width:1px;padding:0;position:absolute;width:0}.vis-item.vis-cluster-dot{border-radius:4px;border-style:solid;border-width:4px;padding:0;position:absolute}.vis-itemset{box-sizing:border-box;margin:0;padding:0;position:relative}.vis-itemset .vis-background,.vis-itemset .vis-foreground{height:100%;overflow:visible;position:absolute;width:100%}.vis-axis{height:0;left:0;position:absolute;width:100%;z-index:1}.vis-foreground .vis-group{border-bottom:1px solid #bfbfbf;box-sizing:border-box;position:relative}.vis-foreground .vis-group:last-child{border-bottom:none}.vis-nesting-group{cursor:pointer}.vis-label.vis-nested-group.vis-group-level-unknown-but-gte1{background:#f5f5f5}.vis-label.vis-nested-group.vis-group-level-0{background-color:#fff}.vis-ltr .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-left:0}.vis-rtl .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-right:0}.vis-label.vis-nested-group.vis-group-level-1{background-color:rgba(0,0,0,.05)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-left:15px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-right:15px}.vis-label.vis-nested-group.vis-group-level-2{background-color:rgba(0,0,0,.1)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-left:30px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-right:30px}.vis-label.vis-nested-group.vis-group-level-3{background-color:rgba(0,0,0,.15)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-left:45px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-right:45px}.vis-label.vis-nested-group.vis-group-level-4{background-color:rgba(0,0,0,.2)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-left:60px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-right:60px}.vis-label.vis-nested-group.vis-group-level-5{background-color:rgba(0,0,0,.25)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-left:75px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-right:75px}.vis-label.vis-nested-group.vis-group-level-6{background-color:rgba(0,0,0,.3)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-left:90px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-right:90px}.vis-label.vis-nested-group.vis-group-level-7{background-color:rgba(0,0,0,.35)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-left:105px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-right:105px}.vis-label.vis-nested-group.vis-group-level-8{background-color:rgba(0,0,0,.4)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-left:120px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-right:120px}.vis-label.vis-nested-group.vis-group-level-9{background-color:rgba(0,0,0,.45)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-left:135px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-right:135px}.vis-label.vis-nested-group{background-color:rgba(0,0,0,.5)}.vis-ltr .vis-label.vis-nested-group .vis-inner{padding-left:150px}.vis-rtl .vis-label.vis-nested-group .vis-inner{padding-right:150px}.vis-group-level-unknown-but-gte1{border:1px solid red}.vis-label.vis-nesting-group:before{display:inline-block;width:15px}.vis-label.vis-nesting-group.expanded:before{content:"\25BC"}.vis-label.vis-nesting-group.collapsed:before{content:"\25B6"}.vis-rtl .vis-label.vis-nesting-group.collapsed:before{content:"\25C0"}.vis-ltr .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-left:15px}.vis-rtl .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-right:15px}.vis-overlay{height:100%;left:0;position:absolute;top:0;width:100%;z-index:10}.vis-labelset{overflow:hidden}.vis-labelset,.vis-labelset .vis-label{box-sizing:border-box;position:relative}.vis-labelset .vis-label{border-bottom:1px solid #bfbfbf;color:#4d4d4d;left:0;top:0;width:100%}.vis-labelset .vis-label.draggable{cursor:pointer}.vis-group-is-dragging{background:rgba(0,0,0,.1)}.vis-labelset .vis-label:last-child{border-bottom:none}.vis-labelset .vis-label .vis-inner{display:inline-block;padding:5px}.vis-labelset .vis-label .vis-inner.vis-hidden{padding:0}.vis-panel{box-sizing:border-box;margin:0;padding:0;position:absolute}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right,.vis-panel.vis-top{border:1px #bfbfbf}.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right{border-bottom-style:solid;border-top-style:solid;overflow:hidden}.vis-left.vis-panel.vis-vertical-scroll,.vis-right.vis-panel.vis-vertical-scroll{height:100%;overflow-x:hidden;overflow-y:scroll}.vis-left.vis-panel.vis-vertical-scroll{direction:rtl}.vis-left.vis-panel.vis-vertical-scroll .vis-content,.vis-right.vis-panel.vis-vertical-scroll{direction:ltr}.vis-right.vis-panel.vis-vertical-scroll .vis-content{direction:rtl}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-top{border-left-style:solid;border-right-style:solid}.vis-background{overflow:hidden}.vis-panel>.vis-content{position:relative}.vis-panel .vis-shadow{box-shadow:0 0 10px rgba(0,0,0,.8);height:1px;position:absolute;width:100%}.vis-panel .vis-shadow.vis-top{left:0;top:-1px}.vis-panel .vis-shadow.vis-bottom{bottom:-1px;left:0}.vis-graph-group0{fill:#4f81bd;fill-opacity:0;stroke-width:2px;stroke:#4f81bd}.vis-graph-group1{fill:#f79646;fill-opacity:0;stroke-width:2px;stroke:#f79646}.vis-graph-group2{fill:#8c51cf;fill-opacity:0;stroke-width:2px;stroke:#8c51cf}.vis-graph-group3{fill:#75c841;fill-opacity:0;stroke-width:2px;stroke:#75c841}.vis-graph-group4{fill:#ff0100;fill-opacity:0;stroke-width:2px;stroke:#ff0100}.vis-graph-group5{fill:#37d8e6;fill-opacity:0;stroke-width:2px;stroke:#37d8e6}.vis-graph-group6{fill:#042662;fill-opacity:0;stroke-width:2px;stroke:#042662}.vis-graph-group7{fill:#00ff26;fill-opacity:0;stroke-width:2px;stroke:#00ff26}.vis-graph-group8{fill:#f0f;fill-opacity:0;stroke-width:2px;stroke:#f0f}.vis-graph-group9{fill:#8f3938;fill-opacity:0;stroke-width:2px;stroke:#8f3938}.vis-timeline .vis-fill{fill-opacity:.1;stroke:none}.vis-timeline .vis-bar{fill-opacity:.5;stroke-width:1px}.vis-timeline .vis-point{stroke-width:2px;fill-opacity:1}.vis-timeline .vis-legend-background{stroke-width:1px;fill-opacity:.9;fill:#fff;stroke:#c2c2c2}.vis-timeline .vis-outline{stroke-width:1px;fill-opacity:1;fill:#fff;stroke:#e5e5e5}.vis-timeline .vis-icon-fill{fill-opacity:.3;stroke:none}.vis-time-axis{overflow:hidden;position:relative}.vis-time-axis.vis-foreground{left:0;top:0;width:100%}.vis-time-axis.vis-background{height:100%;left:0;position:absolute;top:0;width:100%}.vis-time-axis .vis-text{box-sizing:border-box;color:#4d4d4d;overflow:hidden;padding:3px;position:absolute;white-space:nowrap}.vis-time-axis .vis-text.vis-measure{margin-left:0;margin-right:0;padding-left:0;padding-right:0;position:absolute;visibility:hidden}.vis-time-axis .vis-grid.vis-vertical{border-left:1px solid;position:absolute}.vis-time-axis .vis-grid.vis-vertical-rtl{border-right:1px solid;position:absolute}.vis-time-axis .vis-grid.vis-minor{border-color:#e5e5e5}.vis-time-axis .vis-grid.vis-major{border-color:#bfbfbf}.vis-timeline{border:1px solid #bfbfbf;box-sizing:border-box;margin:0;overflow:hidden;padding:0;position:relative}.vis-loading-screen{height:100%;left:0;position:absolute;top:0;width:100%}

/* film-timeline.css */
.film-cut{margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface);min-width:0}.film-cut header{display:flex;align-items:center;justify-content:space-between;gap:10px}.film-cut header p{font-size:15px;color:var(--muted)}.film-cut-preview{margin:12px auto;background:var(--selected);aspect-ratio:16/9;max-height:360px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--text);border-radius:10px}.film-cut-preview img,.film-cut-preview video{width:100%;height:100%;object-fit:contain}.film-cut-caption{position:absolute;bottom:8%;left:8%;right:8%;color:var(--text);text-align:center;white-space:pre-line;text-shadow:0 1px 4px #000;font-size:clamp(13px,1.5vw,22px);pointer-events:none}.film-cut-transport{display:flex;align-items:center;gap:12px;margin:12px 0}.film-cut-transport input{flex:1;min-width:30px}.film-cut-transport span{font-size:12px;white-space:nowrap}.film-cut .vis-timeline{border:1px solid var(--accent);border-radius:8px;background:var(--surface)}.film-cut .vis-labelset .vis-label{color:var(--muted);font-size:15px;padding:12px}.film-cut .vis-item{background:var(--surface);border-color:var(--accent);color:var(--accent);border-radius:6px;font-size:12px;cursor:grab}.film-cut .vis-item.film-vis-caption{background:var(--surface);border-color:var(--accent);color:var(--accent)}.film-cut .vis-item.film-vis-audio{background:var(--surface);border-color:var(--accent);color:var(--accent)}.film-cut .vis-custom-time{background:#dc8460;width:2px}.film-cut .vis-time-axis .vis-text{font-size:12px;color:var(--muted)}.film-cut-tools{display:flex;align-items:end;gap:8px;margin:15px 0}.film-cut-tools label{flex:1;min-width:0}.film-cut-inspector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--surface);border-radius:10px;padding:12px;margin:12px 0}.film-cut-inspector>strong,.film-cut-inspector>div{grid-column:1/-1}.film-cut-inspector input{width:100%;min-width:0}.film-cut-inspector>div{display:flex;gap:5px;flex-wrap:wrap}.film-cut-inspector label,.film-cut-captions label{font-size:15px}.film-cut-captions label{display:block;margin:12px 0}.film-cut-captions label>input{width:100%;margin:4px 0}.film-cut-captions span{display:flex;gap:6px;align-items:center}.film-cut-captions span input{width:90px}.film-cut-audios>div{display:flex;justify-content:space-between;font-size:15px;padding:6px}.film-production-jobs{display:grid;gap:8px;margin:15px 0}.film-production-job{border:1px solid var(--accent);padding:12px;border-radius:10px;background:var(--surface)}.film-production-job p{font-size:15px;margin:5px 0;color:var(--muted)}.film-production-job video{width:100%;max-height:300px;background:var(--selected)}.film-production-job img{width:160px;max-width:100%;border-radius:8px}.film-production-job a{font-size:15px}.film-image-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.academy-model-grid{display:grid;gap:12px}.academy-model-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;border-bottom:1px solid var(--accent);padding:14px 0}.academy-model-row p{margin:5px 0;color:var(--muted);font-size:15px}.academy-model-row input{width:auto}.film-cut #film-cut-seek{padding:0;border:0}.film-cut .vis-panel.vis-bottom{border-color:var(--border)}@media(max-width:900px){.film-cut{padding:10px}.film-cut header{align-items:start;flex-direction:column}.film-cut-tools{flex-wrap:wrap}.film-cut-tools label{flex-basis:100%}.film-cut-inspector{grid-template-columns:1fr}.film-cut-transport{gap:6px}.film-cut-transport span{font-size:12px}}
.film-cut-audios>div{flex-wrap:wrap;gap:8px;align-items:end}.film-cut-audios label{flex:1;min-width:65px;font-size:12px}.film-cut-audios input{width:100%;min-width:0}.film-cut-audios span{flex-basis:100%}.cd-image-coverage details{max-height:320px;overflow:auto;margin:10px 0}.cd-image-coverage details p{margin:3px 0;font-size:15px}

/* Track headers define each row's saved height, including empty tracks. */
.film-cut .vis-labelset .vis-label{padding:0!important}
.film-cut .vis-labelset .vis-inner{display:block;padding:0}
.film-cut .film-track-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:158px;padding:5px 8px;box-sizing:border-box}
.film-cut .film-track-heading>strong{min-width:0;flex:1;margin:0;font-size:12px;line-height:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.film-cut .film-track-heading>div{display:flex;flex-shrink:0;gap:3px}
.film-cut .film-timeline-thumbs{height:max(6px,calc(var(--film-track-height,60px) - 26px))}
.film-cut .film-timeline-wave{height:max(14px,calc(var(--film-track-height,60px) - 12px))}
.film-cut .film-track-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-left:auto}
.film-cut .film-track-settings{position:relative;font-size:12px}
.film-cut .film-track-settings>summary{cursor:pointer;white-space:nowrap;list-style:none;padding:5px 8px;border:1px solid var(--accent);border-radius:5px;background:var(--surface);color:var(--muted)}
.film-cut .film-track-settings>summary::-webkit-details-marker{display:none}
.film-cut .film-track-settings>summary::after{content:'⌄';margin-left:7px}
.film-cut .film-track-settings>div{position:absolute;top:calc(100% + 6px);right:0;z-index:30;width:310px;max-width:calc(100vw - 20px);max-height:250px;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px;background:var(--surface);border:1px solid var(--accent);border-radius:8px;box-shadow:0 8px 25px #10223a25}
.film-cut .film-track-settings p{margin:0 0 10px;font-size:12px;color:var(--muted)}
.film-cut .film-track-settings label{display:grid;grid-template-columns:108px minmax(0,1fr) 25px;align-items:center;gap:7px;margin:0;padding:7px 0;font-size:12px;color:var(--muted)}
.film-cut .film-track-settings input[type=range]{box-sizing:border-box;width:100%;min-width:0;height:20px!important;min-height:0!important;max-height:20px;margin:0!important;padding:0!important;border:0;background:transparent;accent-color:var(--accent)}
.film-cut .film-track-settings output{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}

/* Direct manipulation keeps precision available without filling the inspector. */
.film-cut .film-edit-inspector .film-slider-control{margin:8px 0;min-width:0}
.film-cut .film-edit-inspector .film-slider-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:16px;margin:0;padding:0;line-height:16px;color:var(--studio-muted,var(--muted));font-size:12px}
.film-cut .film-edit-inspector .film-slider-heading output{margin:0;line-height:16px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--studio-text,var(--accent))}
.film-cut .film-edit-inspector .film-slider-row{display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:center;gap:8px;min-height:28px;margin-top:2px}
.film-cut .film-edit-inspector .film-slider-row input[type=range]{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-width:0;height:22px!important;min-height:0!important;max-height:22px;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;accent-color:var(--studio-accent,var(--accent));cursor:ew-resize;touch-action:pan-y}
.film-cut .film-slider-row input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:var(--studio-border,var(--surface))}
.film-cut .film-slider-row input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border:2px solid var(--studio-panel,var(--border));border-radius:50%;background:var(--studio-accent,var(--selected));box-shadow:0 0 0 1px var(--studio-accent,#6281ed)}
.film-cut .film-slider-row input[type=range]::-moz-range-track{height:4px;border-radius:3px;background:var(--studio-border,var(--surface))}
.film-cut .film-slider-row input[type=range]::-moz-range-thumb{width:9px;height:9px;border:2px solid var(--studio-panel,var(--border));border-radius:50%;background:var(--studio-accent,var(--selected))}
.film-cut .film-slider-row input[type=range]:disabled{opacity:.4;cursor:default}
.film-cut .film-edit-inspector .film-slider-row .film-slider-precise{display:flex!important;align-items:center;gap:3px;box-sizing:border-box;height:28px;min-height:0;min-width:0;width:auto;margin:0!important;padding:0!important;line-height:14px;font-size:12px;color:var(--studio-muted,var(--muted))}
.film-cut .film-edit-inspector .film-slider-precise input{box-sizing:border-box;width:100%;min-width:0;height:28px!important;min-height:0!important;max-height:28px;margin:0!important;padding:3px 4px!important;line-height:18px!important;font-size:12px!important;text-align:right;font-variant-numeric:tabular-nums}
.film-cut .film-edit-inspector .film-precise-control{margin:7px 0;line-height:14px;font-size:12px}
.film-cut .film-edit-inspector .film-precise-control input{box-sizing:border-box;height:28px!important;min-height:0!important;max-height:28px;margin-top:3px!important;padding:4px 6px!important;line-height:18px!important;font-size:12px!important}
.film-cut .film-clip-mute{margin-top:-5px;font-size:12px}
.film-cut .film-clip-mute[aria-pressed=true]{background:var(--studio-panel,var(--surface));color:var(--studio-accent,var(--accent));border-color:var(--studio-accent,var(--accent))}
.film-cut [data-cut-range]{position:relative}
/* vis' move layer covers the item and its trim layers sit at z-index 2.
   Keep content transparent to pointers; only the small fade buttons receive
   input above those layers, leaving the rest of the clip available to vis. */
.film-cut.film-pro-edit :is(.film-vis-picture,.film-vis-overlay,.film-vis-audio) .vis-item-overflow{z-index:3;pointer-events:none}
.film-cut .film-fade-handle{position:absolute;top:2px;z-index:9;pointer-events:auto;width:12px!important;height:12px!important;min-width:12px!important;margin:0;padding:0!important;border:1px solid var(--border)!important;border-radius:3px!important;background:var(--studio-accent,var(--surface))!important;box-shadow:0 1px 3px #0005;transform:translateX(-50%) rotate(45deg);cursor:ew-resize;touch-action:none}
.film-cut .film-fade-handle[data-cut-fade=fadeOut]{transform:translateX(50%) rotate(45deg)}
.film-cut .film-fade-handle:hover,.film-cut .film-fade-handle:focus-visible{background:var(--surface)!important;outline:2px solid var(--studio-accent,var(--accent));outline-offset:1px}
.film-cut .film-fade-handle:disabled{opacity:.35;cursor:default}
.film-cut .film-fade-zone{position:absolute;top:0;bottom:0;z-index:3;pointer-events:none;padding:0!important;background:#ffffff3b;border-top:1px solid #fff9;min-width:0}
.film-cut .film-fade-zone-fadeIn{left:0;clip-path:polygon(0 0,100% 0,0 100%)}
.film-cut .film-fade-zone-fadeOut{right:0;clip-path:polygon(0 0,100% 0,100% 100%)}
.film-cut .film-fade-mark{z-index:4;top:17px;right:6px;font-size:12px;pointer-events:none}


/* film-workbench.css */
/* Visual production workbench, keeping the academy's paper / blue palette. */
.film-production-workspace{min-width:0;padding:20px 24px;background:var(--surface);border:1px solid var(--accent);border-radius:20px;box-shadow:0 12px 30px #1c315405}.film-project-header{gap:12px}.film-project-header>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.film-project-header h2{font-size:24px;margin:5px 0}.film-editor fieldset{border:0;padding:0;margin:0}.film-editor button:disabled{opacity:.42;cursor:not-allowed}.film-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 12px}.film-section-heading h3{margin:0;font-size:15px}.film-section-heading small{color:var(--muted);font-size:12px}.film-section-heading button{font-size:12px;border:0;color:var(--muted);background:transparent;cursor:pointer}.film-empty-hint{padding:24px;color:var(--muted);font-size:15px;line-height:1.8;background:var(--surface);border:1px dashed var(--accent);border-radius:12px;text-align:center}.film-script-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.film-script-scenes article{border:1px solid var(--accent);border-radius:12px;padding:15px;background:var(--surface)}.film-script-scenes header{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;letter-spacing:1px;margin-bottom:12px}.film-script-scenes header button{border:0;background:none;color:var(--muted);font-size:12px}.film-next-step{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px;margin-top:20px;background:var(--surface);border-radius:12px}.film-next-step strong,.film-next-step small{display:block}.film-next-step small{font-size:12px;color:var(--muted);margin-top:5px}.film-next-step button{white-space:nowrap}.film-library-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.film-library-tabs button{padding:7px 12px;background:var(--surface);border:1px solid transparent;border-radius:8px;font-size:15px;color:var(--muted);cursor:pointer}.film-library-tabs [aria-pressed=true]{background:var(--surface);color:var(--accent);border-color:var(--accent)}.film-library-tabs button:last-child{margin-left:auto}.film-art-workbench{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:20px;align-items:start}.film-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.film-entity-grid>button{padding:0;text-align:left;border:1px solid var(--accent);background:var(--surface);border-radius:12px;overflow:hidden;cursor:pointer}.film-entity-grid>button[aria-pressed=true]{border:2px solid var(--accent);box-shadow:0 0 0 3px #ecf1ff}.film-entity-picture{aspect-ratio:4/3;background:var(--surface);overflow:hidden}.film-entity-picture>img{height:100%;width:100%;object-fit:cover}.film-entity-grid>button>span,.film-entity-grid>button>small{display:block;margin:10px 12px}.film-entity-grid>button>span{font-size:15px;font-weight:600}.film-entity-grid>button>small{font-size:12px;color:var(--muted);line-height:1.7}.film-art-inspector,.film-shot-inspector{padding:14px;border:1px solid var(--accent);border-radius:12px;background:var(--surface);min-width:0}.film-art-inspector label,.film-shot-inspector label{font-size:12px;color:var(--muted);display:block;margin:0 0 12px}.film-production-workspace input,.film-production-workspace textarea,.film-production-workspace select{padding:9px 10px!important;font-size:15px;border-radius:7px!important;min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--accent);background:var(--surface);color:var(--accent)}.film-production-workspace textarea{line-height:1.7;resize:vertical}.film-art-inspector>button,.film-shot-inspector>button{width:100%;margin:4px 0;padding:10px;border-radius:8px;font-size:15px;border:1px solid var(--accent);cursor:pointer}.film-art-inspector>small{font-size:12px;line-height:1.8;color:var(--muted);display:block;margin:12px 0}.film-entity-variants{border-top:1px solid var(--accent);margin-top:15px;padding-top:14px}.film-entity-variants>strong{font-size:12px}.film-entity-variants>div{display:flex;gap:8px;align-items:center;margin-top:8px;font-size:12px}.film-entity-variants img{height:42px;width:55px;object-fit:cover;border-radius:5px}.film-entity-variants>button{border:0;background:var(--surface);color:var(--accent);margin-top:12px;font-size:12px;padding:9px;width:100%}.film-shot-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 14px;margin-bottom:12px;scrollbar-width:thin}.film-shot-strip>button{position:relative;flex:0 0 130px;padding:0;border:1px solid var(--accent);border-radius:9px;text-align:left;background:var(--surface);cursor:pointer;overflow:hidden}.film-shot-strip>button[aria-pressed=true]{border:2px solid var(--accent)}.film-shot-strip>button>div{aspect-ratio:16/9;background:var(--surface);position:relative;overflow:hidden}.film-shot-strip img{width:100%;height:100%;object-fit:cover}.film-shot-strip b{position:absolute;left:5px;bottom:5px;font-size:12px;line-height:18px;color:var(--text);background:#173154b0;padding:0 5px;border-radius:3px}.film-shot-strip strong{display:block;margin:7px 8px 3px;font-size:12px}.film-shot-strip small{display:block;margin:0 8px 8px;font-size:12px;color:var(--muted)}.film-shot-strip .film-add-shot{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:24px;background:var(--surface);border-style:dashed;flex-basis:92px;color:var(--accent)}.film-add-shot span{font-size:12px;margin-top:7px}.film-shot-strip .film-frame-placeholder{font-size:12px;min-height:0}.film-shot-strip .film-frame-placeholder strong,.film-shot-strip .film-frame-placeholder small{display:none}.film-visual-workbench{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:20px;align-items:start}.film-canvas{border-radius:12px;background:var(--selected);overflow:hidden;border:1px solid var(--border);position:relative}.film-canvas>div{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden}.film-canvas img,.film-canvas video{height:100%;width:100%;object-fit:contain}.film-canvas>div>span{position:absolute;top:10px;left:12px;font-size:12px;color:var(--text);background:#1b294da3;border-radius:4px;padding:5px 7px;letter-spacing:1px}.film-canvas>div>span button{background:none;border:0;color:var(--text)}.film-compare{display:grid;grid-template-columns:1fr 1fr;gap:2px}.film-canvas-caption{display:flex;align-items:center;gap:12px;margin:12px 0 18px;font-size:15px;flex-wrap:wrap}.film-canvas-caption span{font-size:12px;color:var(--muted)}.film-canvas-caption button{margin-left:auto;font-size:12px;color:var(--accent);background:var(--surface);border:0;border-radius:6px;padding:7px 10px;cursor:pointer}.film-control-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.film-control-pair label{margin-bottom:8px}.film-reference-panel{padding:12px 14px;background:var(--surface);border:1px solid var(--accent);border-radius:10px}.film-reference-panel .film-section-heading{margin:0 0 7px;font-size:15px}.film-reference-panel>p{font-size:12px;margin:0 0 12px;color:var(--muted)}.film-reference-chips{display:flex;gap:7px;flex-wrap:wrap}.film-reference-chips article{display:flex;align-items:center;gap:7px;border:1px solid var(--accent);border-radius:7px;background:var(--surface);padding:5px;min-width:0}.film-reference-chips img{width:44px;height:40px;object-fit:cover;border-radius:4px}.film-reference-chips strong,.film-reference-chips small{display:block;font-size:12px}.film-reference-chips small{font-size:12px;max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);margin-top:4px}.film-reference-chips button{border:0;background:none;color:var(--muted);cursor:pointer}.film-reference-chips>small{font-size:12px;color:var(--muted)}.film-reference-chips audio{width:150px;height:35px}.film-candidates{margin-top:20px}.film-candidate-list{display:flex;overflow-x:auto;gap:10px;padding:4px 2px 12px}.film-candidate-list>article{flex:0 0 160px;border:1px solid var(--accent);border-radius:9px;overflow:hidden;background:var(--surface)}.film-candidate-list>article.adopted{border-color:var(--accent);background:var(--surface)}.film-candidate-list>article>div:first-child{aspect-ratio:16/9;position:relative;background:var(--surface)}.film-candidate-list img{width:100%;height:100%;object-fit:cover}.film-candidate-list>article>div:first-child span{position:absolute;bottom:5px;left:6px;font-size:12px;color:var(--text);background:#152b54bc;border-radius:4px;padding:4px 5px}.film-candidate-list strong,.film-candidate-list small{display:block;padding:0 9px;margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}.film-candidate-list small{font-size:12px;color:var(--muted)}.film-take-actions{display:flex;gap:4px;padding:9px 6px}.film-take-actions button{padding:5px!important;font-size:12px!important;color:var(--accent)!important}.film-capability-note{font-size:12px;color:var(--muted);line-height:1.7;border-top:1px solid var(--accent);padding-top:12px}.film-return-banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--surface);padding:12px;border:1px solid var(--accent);border-radius:8px;margin-bottom:16px;font-size:12px}.film-return-banner span{font-size:12px;color:var(--muted)}.film-return-banner button{margin-left:auto;background:none;border:0;color:var(--accent);font-size:12px;cursor:pointer}.film-replace-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding:12px;border:1px dashed var(--accent);border-radius:8px}.film-replace-actions>span{width:100%;font-size:12px;color:var(--muted)}.film-replace-actions button{padding:7px 9px;font-size:12px;background:var(--surface);border:0;color:var(--accent);border-radius:6px;cursor:pointer}.film-project-library,.film-job-list{border-top:1px solid var(--accent);margin-top:18px;padding:15px 0 0}.film-project-library summary,.film-job-list summary{font-size:15px;cursor:pointer;color:var(--muted)}.film-project-library summary span,.film-job-list summary span{color:var(--muted);font-size:12px;margin-left:10px}.film-project-library>header{display:flex;justify-content:space-between;align-items:center;margin:14px 0;font-size:12px;color:var(--muted)}.film-project-library .film-asset-list{margin-top:16px}.film-project-library .film-asset-list article{flex:0 0 120px;font-size:12px}.film-project-library .film-asset-list img{width:100%;height:70px;object-fit:cover}.film-project-library .film-asset-list strong{font-size:12px}.film-project-library .film-asset-list small,.film-project-library .film-asset-list a{font-size:12px}.film-project-library audio{width:118px;height:36px}.film-job-list article{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--accent);font-size:12px}.film-job-list article>div{margin-right:auto}.film-job-list strong,.film-job-list small{display:block}.film-job-list small{margin-top:6px;font-size:12px;color:var(--muted)}.film-job-list button{font-size:12px;padding:5px 8px;border:1px solid var(--accent);border-radius:5px;color:var(--accent);background:var(--surface)}.film-job-list a{font-size:12px;color:var(--accent)}.film-proposal-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.film-proposal-rows article{font-size:15px;padding:10px;background:var(--surface);border-radius:6px}.film-proposal-rows p{font-size:12px;color:var(--muted)}.film-project-choice,.film-history-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px;width:100%;border:1px solid var(--accent);border-radius:9px;background:var(--surface);margin:8px 0;font-size:15px;text-align:left}.film-history-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.film-history-row button{font-size:12px;padding:8px;border:1px solid var(--accent);background:var(--surface);color:var(--accent);border-radius:5px}.film-project-choice span{font-size:12px;color:var(--muted)}.film-timeline-toolbar{display:flex;gap:6px;align-items:center;margin:14px 0;flex-wrap:wrap}.film-timeline-toolbar span{margin-left:auto;font-size:12px;color:var(--muted)}.film-timeline-toolbar [aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.film-timeline-thumbs{display:flex;height:44px;overflow:hidden;pointer-events:none}.film-timeline-thumbs img{width:25%;height:100%;object-fit:cover;pointer-events:none}.film-vis-picture .vis-item-content{padding:0!important;width:100%}.film-vis-picture .vis-item-content>span{font-size:12px;padding:2px 6px;display:block;overflow:hidden;text-overflow:ellipsis}.film-vis-picture.vis-selected{border:2px solid var(--accent)!important}.film-vis-audio .vis-item-content{padding:0!important;width:100%}.film-timeline-wave{height:40px;width:100%;object-fit:fill;pointer-events:none}.film-vis-audio .vis-item-content>span{font-size:12px;position:absolute;left:5px;top:2px;color:var(--text)}.film-cut #film-cut-timeline{border-radius:10px;overflow:hidden;background:var(--surface)}.film-cut .vis-item{border-radius:5px!important}.film-cut .vis-labelset .vis-label{font-size:12px!important;color:var(--muted)!important;background:var(--surface)}.film-cut .vis-time-axis .vis-text{font-size:12px!important;color:var(--muted)}.film-cut .vis-grid.vis-minor{border-color:var(--accent)!important}.film-cut .vis-custom-time{background:#ea8c61!important;width:2px!important}.film-cut .vis-item.vis-range .vis-drag-left,.film-cut .vis-item.vis-range .vis-drag-right{width:10px!important;background:#d5e2fc88;cursor:ew-resize!important}.film-cut-preview{max-height:330px;aspect-ratio:16/9!important;background:var(--selected)!important}.film-cut-preview img,.film-cut-preview video{object-fit:contain!important}.film-cut-inspector{font-size:12px}.film-cut-tools{align-items:end}.film-cut-tools>label{font-size:12px}.film-cut-transport{font-size:12px}.film-cut-transport button{font-size:12px}.film-cut-transport>span{font-variant-numeric:tabular-nums;font-size:12px!important}.mentor-proposal{border:1px solid var(--accent);padding:10px;margin-top:10px;border-radius:9px;background:var(--surface)}.mentor-proposal p{font-size:12px!important;margin:4px 0 8px!important}.mentor-proposal button{font-size:12px;padding:7px;background:var(--surface);border:0;border-radius:6px;color:var(--accent);cursor:pointer}
@media(min-width:1400px){.film-visual-workbench{grid-template-columns:minmax(0,1fr) 270px}.film-shot-strip>button{flex-basis:156px}.film-art-workbench{grid-template-columns:minmax(0,1fr) 260px}.film-entity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.film-production-workspace{padding:16px}.film-visual-workbench,.film-art-workbench{grid-template-columns:minmax(0,1fr) 210px;gap:12px}.film-control-pair{grid-template-columns:1fr}.film-shot-inspector{padding:10px}.film-canvas-caption{gap:7px}.film-project-header>div:last-child{gap:4px}.film-project-header button{font-size:12px;padding:5px}}
@media(max-width:700px){.film-visual-workbench,.film-art-workbench{grid-template-columns:1fr}.film-control-pair{grid-template-columns:1fr 1fr}.film-script-scenes,.film-proposal-rows{grid-template-columns:1fr}.film-production-workspace{padding:12px;border-radius:12px}.film-project-header h2{font-size:18px}.film-next-step{display:block}.film-next-step button{margin-top:14px}.film-reference-chips article{flex:1 1 130px}.film-shot-strip>button{flex-basis:110px}.film-timeline-toolbar>span{display:none}.film-cut-tools{flex-wrap:wrap}.film-cut-inspector{flex-wrap:wrap}.film-cut-transport{flex-wrap:wrap}.film-cut-transport input{min-width:100px!important}}
.film-personal-library>article{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--accent);border-radius:9px;margin:9px 0}.film-personal-library img{width:80px;height:60px;object-fit:cover;border-radius:5px}.film-personal-library strong,.film-personal-library small{display:block;font-size:15px}.film-personal-library small{font-size:12px;color:var(--muted);margin-top:6px}.film-personal-library button{margin-left:auto;white-space:nowrap;background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:7px;font-size:12px;padding:8px}.film-project-library article button{font-size:12px;color:var(--accent);background:var(--surface);border:0;border-radius:5px;padding:5px;margin-left:8px}.film-output-format{display:inline-flex!important;align-items:center;gap:8px;font-size:12px;margin:12px 10px 0 0}.film-output-format select{width:auto!important}.mentor-layout-toggle{display:none}.film-cut-preview{aspect-ratio:var(--film-aspect,16/9)!important}
@media(max-width:1050px){.mentor-docked{height:auto!important;min-height:0!important;max-height:none!important;border-radius:15px!important}.mentor-docked>header{padding:12px 15px 8px!important}.mentor-docked .mentor-portrait{width:32px!important;height:32px!important}.mentor-docked header strong{font-size:15px!important}.mentor-docked header small{display:none!important}.mentor-docked .mentor-context{padding:6px 9px!important;margin:0 15px!important}.mentor-docked .mentor-messages{min-height:0!important;max-height:68px!important;padding:9px 15px 0!important}.mentor-docked .mentor-panel-greeting p{margin:0!important;font-size:12px!important;line-height:1.7!important}.mentor-docked .mentor-panel-greeting small,.mentor-docked .mentor-stage-guide{display:none!important}.mentor-docked .mentor-dock-prompts{display:none!important}.mentor-docked #mentor-form{padding:8px 13px 10px!important;display:flex;align-items:end;gap:8px;flex-wrap:wrap}.mentor-docked #mentor-form textarea{min-height:35px!important;height:35px!important;flex:1;resize:vertical;font-size:12px!important;padding:8px 10px!important}.mentor-docked #mentor-form>div{margin:0!important;gap:6px!important}.mentor-docked #mentor-form .primary{padding:8px 12px!important;font-size:12px!important}.mentor-docked .mentor-inline-status{font-size:12px!important;margin:5px 15px!important}.mentor-layout-toggle{display:block;font-size:12px;padding:5px 8px;background:var(--surface);border:1px solid var(--accent);border-radius:6px;color:var(--muted);margin-left:auto;cursor:pointer}.mentor-docked.mentor-expanded .mentor-messages{max-height:300px!important;padding-top:14px!important}.mentor-docked.mentor-expanded .mentor-stage-guide,.mentor-docked.mentor-expanded .mentor-panel-greeting small{display:block!important}.mentor-docked.mentor-expanded #mentor-form textarea{height:60px!important}.film-page-heading{margin:0 0 20px!important;display:flex!important;align-items:center!important}.film-page-heading h1{font-size:25px!important}.film-page-heading p{font-size:12px!important;margin:6px 0 0!important}.film-page-heading button{font-size:12px;padding:9px 14px!important;white-space:nowrap}}
@media(max-width:650px){.film-project-header{padding-bottom:5px!important}.film-project-header .eyebrow{font-size:12px!important}.film-project-header h2{font-size:16px!important;margin:4px 0!important}.film-page-heading .eyebrow{font-size:12px!important}.film-page-heading h1{font-size:22px!important}}

.film-vis-picture .vis-item-content>div>span{display:block;font-size:12px;padding:2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.film-vis-audio .vis-item-content>div>span{font-size:12px;position:absolute;left:5px;top:2px;color:var(--text)}

/* The editing desk shares the academy palette, with a dark program monitor. */
.film-pro-edit{border:1px solid var(--accent);border-radius:12px;overflow:hidden;background:var(--surface);margin:0;min-width:0}.film-pro-edit .film-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:0;background:var(--surface);border-bottom:1px solid var(--accent)}.film-edit-heading h3{margin:4px 0 0;font-size:15px}.film-edit-heading h3 small{font-size:12px;color:var(--muted);font-weight:400;margin-left:7px}.film-edit-heading>div:last-child{display:flex;gap:6px}.film-pro-edit button{font-size:12px;border:1px solid var(--accent);background:var(--surface);color:var(--muted);padding:6px 8px;border-radius:5px;cursor:pointer}.film-pro-edit button.primary{background:var(--selected);color:var(--accent-ink);border-color:var(--accent)}.film-edit-desk{display:grid;grid-template-columns:148px minmax(180px,1fr) 212px;min-width:0;background:var(--surface)}.film-edit-bin,.film-edit-inspector{min-width:0;padding:12px;border-right:1px solid var(--accent);font-size:12px}.film-edit-bin>header{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 9px}.film-bin-upload{color:var(--accent);cursor:pointer;font-size:18px}.film-edit-bin>select{padding:6px!important;font-size:12px!important}.film-bin-list{height:190px;overflow:auto;margin:9px -4px;padding:0 4px;scrollbar-width:thin}.film-bin-list>button{width:100%;display:flex;align-items:center;gap:7px;text-align:left;border:0;border-radius:5px;margin-bottom:4px;background:var(--surface);padding:5px;min-width:0}.film-bin-list>button[aria-pressed=true]{background:var(--surface);outline:1px solid var(--accent)}.film-bin-list img,.film-bin-audio{width:40px;height:28px;object-fit:cover;border-radius:3px;flex-shrink:0}.film-bin-audio{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--muted);font-size:18px}.film-bin-list>button>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;min-width:0}.film-bin-list small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.film-bin-list>p,.film-bin-hint{font-size:12px;color:var(--muted);line-height:1.8}.film-source-view{border-top:1px solid var(--accent);padding-top:10px}.film-source-view>strong{font-size:12px;font-weight:500;display:block;margin-bottom:8px}.film-source-view>video,.film-source-view>img{width:100%;max-height:110px;object-fit:contain;background:var(--selected);border-radius:5px}.film-source-view>audio{width:100%;height:30px}.film-source-view label{font-size:12px;color:var(--muted)}.film-source-view input{padding:5px!important;font-size:12px!important}.film-source-view .film-inspector-pair{margin:8px 0}.film-source-view .film-inspector-actions{gap:4px}.film-source-view button{padding:5px;font-size:12px}.film-program{min-width:0;padding:12px;background:var(--surface)}.film-program>header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin-bottom:10px}.film-program>header>small{font-size:12px;color:var(--muted)}.film-monitor-stage{height:290px;background:var(--selected);border-radius:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}.film-pro-edit .film-cut-preview{position:relative;background:var(--bg)!important;aspect-ratio:var(--film-aspect)!important;width:min(100%,calc(290px * var(--film-ratio)));max-height:none;overflow:hidden;border-radius:0;display:block;margin:0;padding:0}.film-program-layer{position:absolute;transform:translate(-50%,-50%);background:var(--bg);overflow:hidden;pointer-events:none}.film-program-layer>video,.film-program-layer>img{width:100%!important;height:100%!important;object-fit:contain!important;display:block}.film-pro-edit .film-cut-caption{position:absolute!important;z-index:100!important;bottom:5%!important;left:50%!important;right:auto!important;transform:translateX(-50%);max-width:92%;width:max-content;padding:3px 6px!important;line-height:1.25;font-family:Arial,'PingFang SC',sans-serif;white-space:pre-wrap;text-align:center;border-radius:1px}.film-pro-edit .film-cut-caption:empty{display:none}.film-pro-edit .film-cut-caption[data-position=top]{top:5%!important;bottom:auto!important}.film-pro-edit .film-cut-caption[data-position=center]{top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)}.film-monitor-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--accent)}.film-monitor-empty[hidden]{display:none}.film-pro-edit .film-cut-transport{display:flex;justify-content:center;gap:5px;align-items:center;padding:10px 0 6px;margin:0;flex-wrap:wrap}.film-cut-transport button{min-width:26px;padding:5px}.film-pro-edit .film-cut-transport>span{font-size:12px!important;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted);margin-left:7px}.film-pro-edit #film-cut-seek{padding:0!important;margin:0;height:18px;accent-color:var(--accent);border:0!important;background:none!important}.film-meter-row{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:12px;color:var(--muted)}.film-meter-row small{font-size:12px;min-width:60px;text-align:right;font-variant-numeric:tabular-nums}#film-audio-level{height:5px;background:var(--surface);flex:1;border-radius:2px;overflow:hidden}#film-audio-level>i{display:block;background:linear-gradient(90deg,var(--selected),var(--selected),var(--surface));width:var(--level,0%);height:100%}.film-edit-inspector{border-right:0;border-left:1px solid var(--accent);max-height:500px;overflow:auto;scrollbar-width:thin;background:var(--surface)}.film-edit-inspector>nav{display:flex;gap:2px;border-bottom:1px solid var(--accent);padding-bottom:9px;margin-bottom:12px}.film-edit-inspector>nav button{flex:1;border:0;background:transparent;border-radius:4px}.film-edit-inspector>nav [aria-pressed=true]{background:var(--surface);color:var(--accent)}.film-edit-inspector h4{margin:10px 0 12px;font-size:15px}.film-edit-inspector label{display:block;margin:10px 0;color:var(--muted);font-size:12px}.film-edit-inspector input,.film-edit-inspector select,.film-edit-inspector textarea{padding:6px 7px!important;font-size:12px!important;margin-top:5px}.film-edit-inspector p,.film-edit-inspector small{font-size:12px;line-height:1.8;color:var(--muted)}.film-edit-inspector .film-selected-name{color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.film-edit-inspector details{border-top:1px solid var(--accent);padding-top:10px;margin-top:10px}.film-edit-inspector summary{font-size:12px;cursor:pointer;color:var(--muted)}.film-inspector-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.film-inspector-pair>label{min-width:0;margin:5px 0}.film-inspector-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.film-inspector-actions button{flex:1 1 65px}.film-inspector-empty{padding:20px 2px;color:var(--muted)}.film-inspector-empty>span{font-size:26px;color:var(--accent)}.film-pro-edit .film-timeline-toolbar{margin:0;padding:12px 14px;background:var(--surface);border-top:1px solid var(--accent);gap:5px}.film-pro-edit #film-cut-timeline{border-radius:0;background:var(--surface);border-left:0;border-right:0}.film-track-heading{padding:5px 0;min-width:112px}.film-track-heading>strong{font-size:12px;font-weight:500;display:block;margin-bottom:6px}.film-track-heading>div{display:flex;gap:3px}.film-track-heading button{padding:2px 5px;font-size:12px;min-width:20px;border-color:var(--accent);background:var(--surface)}.film-track-heading [aria-pressed=true]{background:var(--surface);border-color:var(--accent);color:var(--accent)}.film-pro-edit .vis-labelset .vis-label{padding:4px 7px!important;border-color:var(--accent)}.film-pro-edit .vis-item{border-width:1px!important}.film-pro-edit .film-vis-picture{background:var(--surface)!important;border-color:var(--accent)!important}.film-pro-edit .film-vis-overlay{background:var(--surface)!important;border-color:var(--accent)!important}.film-pro-edit .film-vis-caption{background:var(--surface)!important;border-color:var(--accent)!important;color:var(--accent);font-size:12px}.film-pro-edit .film-vis-audio{background:var(--surface)!important;border-color:var(--accent)!important}.film-pro-edit .film-vis-overlay .vis-item-content{padding:0!important;width:100%}.film-pro-edit .film-vis-overlay .vis-item-content>div>span{font-size:12px;padding:2px 6px}.film-pro-edit .vis-item.vis-selected{outline:2px solid var(--accent);outline-offset:-1px}.film-pro-edit .film-track-muted{opacity:.35}.film-fade-mark{position:absolute;right:4px;top:3px;font-size:12px;line-height:13px;background:#15294990;color:var(--text);font-style:normal;border-radius:3px;padding:0 3px;pointer-events:none}.film-edit-footer{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:10px 14px;font-size:12px;color:var(--muted)}.film-large-monitor .film-edit-desk{grid-template-columns:minmax(180px,1fr) 212px}.film-large-monitor .film-edit-bin{display:none}.film-large-monitor .film-monitor-stage{height:400px}.film-large-monitor .film-cut-preview{width:min(100%,calc(400px * var(--film-ratio)))}
@media(min-width:1600px){.film-edit-desk{grid-template-columns:180px minmax(240px,1fr) 235px}.film-monitor-stage{height:340px}.film-pro-edit .film-cut-preview{width:min(100%,calc(340px * var(--film-ratio)))}.film-bin-list{height:230px}}
@media(max-width:1250px){.film-edit-desk{grid-template-columns:125px minmax(160px,1fr) 180px}.film-edit-bin,.film-edit-inspector{padding:9px}.film-program{padding:9px}.film-program>header>small{display:none}.film-monitor-stage{height:240px}.film-pro-edit .film-cut-preview{width:min(100%,calc(240px * var(--film-ratio)))}.film-bin-list img,.film-bin-audio{width:28px;height:24px}}
@media(max-width:950px){.film-edit-desk{grid-template-columns:minmax(160px,1fr) 180px}.film-edit-bin{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--accent);display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px}.film-edit-bin>header{grid-column:1;margin:0}.film-edit-bin>select{grid-column:1;grid-row:2}.film-bin-list{grid-column:2;grid-row:1/3;display:flex;height:60px;gap:5px;margin:0;overflow:auto}.film-bin-list>button{flex:0 0 90px;display:block;margin:0;padding:4px}.film-bin-list img,.film-bin-audio{width:28px;height:24px;float:left;margin-right:4px}.film-bin-list>button>span:last-child{display:block}.film-source-view{grid-column:1/-1;display:grid;grid-template-columns:minmax(70px,1fr) minmax(85px,1fr) minmax(95px,1fr);gap:8px;align-items:center}.film-source-view>strong{display:none}.film-source-view>video,.film-source-view>img{height:75px;max-height:75px}.film-source-view .film-inspector-actions{margin:0}.film-bin-hint{grid-column:1/-1;margin:0}}
@media(max-width:650px){.film-pro-edit .film-edit-heading{padding:10px;align-items:flex-start}.film-edit-heading h3{font-size:15px}.film-edit-heading h3 small{display:block;margin:4px 0 0}.film-edit-heading>div:last-child{max-width:50%;flex-wrap:wrap;justify-content:flex-end}.film-edit-heading button{font-size:12px}.film-edit-desk,.film-large-monitor .film-edit-desk{grid-template-columns:1fr}.film-program{grid-row:2}.film-edit-inspector{grid-row:3;max-height:230px;border-left:0;border-top:1px solid var(--accent)}.film-edit-inspector>nav{position:sticky;top:-9px;background:var(--surface);z-index:2;padding-top:6px}.film-inspector-empty{padding:0}.film-inspector-empty>span,.film-inspector-empty>small{display:none}.film-monitor-stage{height:220px}.film-pro-edit .film-cut-preview{width:min(100%,calc(220px * var(--film-ratio)))}.film-pro-edit .film-timeline-toolbar{padding:9px}.film-track-heading{min-width:95px}.film-edit-footer span:last-child{display:none}.film-pro-edit input[hidden]{display:none!important}.film-edit-inspector>label{display:inline-block;width:calc(50% - 6px);vertical-align:top;margin-right:4px}.film-edit-inspector>.film-inspector-pair{display:inline-grid;width:100%}.film-edit-inspector>p{margin:5px 0}.film-pro-edit .film-cut-transport{flex-wrap:nowrap}.film-cut-transport>span{font-size:12px!important}}
.film-pro-edit{padding:0}.film-pro-edit .film-edit-heading{flex-direction:row;text-align:left}.film-pro-edit .film-program>header{flex-direction:row;text-align:left}.film-pro-edit .film-edit-bin>header{flex-direction:row;text-align:left}
/* Teaching edits: make source ranges, edit boundaries and provenance visible. */
.film-bin-list [draggable="true"]{cursor:grab}.film-bin-list [draggable="true"]:active,.film-source-drag:active{cursor:grabbing}
.film-source-drag{display:flex;flex-direction:column;gap:5px;padding:12px;margin-top:12px;border:1px dashed var(--accent);border-radius:9px;background:var(--surface);color:var(--accent);cursor:grab}
.film-source-drag span{font-weight:650}.film-source-drag small{font-size:12px;line-height:1.5}.film-source-drag:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.film-drop-active{outline:3px dashed var(--accent);outline-offset:-4px;background:var(--surface)}
.film-transition-mark{position:absolute;inset:0 auto 0 0;min-width:26px;max-width:50%;padding:3px 2px;background:repeating-linear-gradient(45deg,#5177b3dd,#5177b3dd 5px,#6e94d0dd 5px,#6e94d0dd 10px);color:var(--text);display:flex;align-items:center;justify-content:center;font-size:12px;overflow:hidden;pointer-events:none;border-right:1px solid var(--accent)}
.film-timeline-thumbs{position:relative}.film-practice-note{display:block;line-height:1.7;margin-top:16px;padding:12px;border-radius:8px;background:var(--surface);color:var(--accent)}
.film-source-lineage{font-size:12px;line-height:1.6;color:var(--muted);padding:8px 0}.film-source-lineage small{display:block;overflow-wrap:anywhere}
.film-source-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0;padding:10px 14px;border:1px solid var(--accent);border-radius:10px;background:var(--surface);color:var(--accent);font-size:15px}
.film-source-breadcrumb small{flex-basis:100%;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.film-return-banner span{line-height:1.7;overflow-wrap:anywhere}
.film-pro-edit .film-edit-inspector>nav button{padding:8px 4px;font-size:15px}.film-timeline-toolbar{flex-wrap:wrap}.film-timeline-toolbar span{line-height:1.5}

.film-pro-edit .film-cut-caption{z-index:1000!important}
@media(max-width:950px){.film-source-drag{grid-column:1/-1;margin-top:0;padding:8px;flex-direction:row;align-items:center;justify-content:space-between}}

.film-pro-edit .film-range-source{position:absolute;right:7px;bottom:2px;font-size:12px;padding:0 4px;background:#eef5ffdd;border:0;border-radius:3px;color:var(--accent);line-height:16px;z-index:2}.film-pro-edit .film-vis-picture .vis-item-content>div>span,.film-pro-edit .film-vis-overlay .vis-item-content>div>span{padding-right:19px}
.film-pro-edit .vis-custom-time{pointer-events:none}.film-pro-edit .vis-custom-time>div{height:32px!important;pointer-events:auto;cursor:ew-resize}.film-pro-edit .vis-custom-time:before{content:'';position:absolute;top:0;left:-5px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #eb9a62;pointer-events:none}

/* Keep the range drag surface active except on its source shortcut. */
.film-pro-edit .film-vis-picture .vis-item-overflow,.film-pro-edit .film-vis-overlay .vis-item-overflow{z-index:1;pointer-events:none}.film-pro-edit .film-range-source{pointer-events:auto}.film-pro-edit .vis-drag-left,.film-pro-edit .vis-drag-right{z-index:2}
/* Keep the source trim controls beside the program monitor without stretching the desk. */
@media(min-width:951px){.film-pro-edit .film-edit-bin:has(.film-source-view){display:flex;flex-direction:column;max-height:620px;overflow-y:auto;scrollbar-width:thin}.film-pro-edit .film-edit-bin>header{order:0}.film-pro-edit .film-edit-bin>select{order:1}.film-pro-edit .film-source-view{order:2;margin-top:10px}.film-pro-edit .film-edit-bin:has(.film-source-view) .film-bin-list{order:3;height:110px;min-height:100px;flex-shrink:0}.film-pro-edit .film-source-view .film-inspector-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.film-pro-edit .film-source-view .film-inspector-actions button{min-width:0}}
@media(min-width:951px){.film-pro-edit .film-edit-bin:has(.film-source-view) .film-bin-list{order:2;height:85px;min-height:85px}.film-pro-edit .film-source-view{order:3}.film-pro-edit .film-source-view>video,.film-pro-edit .film-source-view>img{max-height:75px}.film-pro-edit .film-source-view .film-bin-hint{display:none}.film-pro-edit .film-source-drag{padding:8px;gap:3px}.film-pro-edit .film-source-drag small{font-size:12px;line-height:1.3}}

.film-source-drag{touch-action:none;user-select:none}.film-source-ghost{position:fixed;z-index:10000;pointer-events:none;max-width:240px;padding:10px 14px;border:1px solid var(--accent);border-radius:8px;background:#edf5ffef;color:var(--accent);box-shadow:0 5px 20px #17376225;font-size:15px}.film-immersive .mentor-docked{height:calc(100vh - 92px);min-height:450px;border-radius:12px}
.film-immersive .film-production-workspace{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.film-immersive .film-project-header{margin:0;padding:4px 0 10px;border:0;align-items:center}
.film-immersive .film-project-header h2{font-size:18px;margin:3px 0}.film-immersive .film-project-header .eyebrow{font-size:12px;color:var(--muted)}.film-immersive .film-board-heading{margin:16px 0 10px}.film-immersive .film-board-heading h3{font-size:16px}
.film-studio-body{display:grid;grid-template-columns:208px minmax(0,1fr);gap:14px;align-items:start}
.film-side-library.film-project-library{margin:0;padding:12px;background:var(--surface);border:1px solid var(--accent);border-radius:10px;min-width:0}
.film-side-library>header{margin:0 0 12px;display:flex;align-items:center;gap:8px}.film-side-library>header strong{display:block;font-size:15px;color:var(--accent)}.film-side-library>header small{font-size:12px;display:block;margin-top:5px}.film-side-library>header button{margin-left:auto;border:0;background:transparent;color:var(--accent);cursor:pointer}
.film-side-library .film-upload-button{display:block;padding:9px;text-align:center;background:var(--surface);border:1px dashed var(--accent);border-radius:7px;font-size:12px;color:var(--accent);cursor:pointer;position:relative}
.film-side-library .film-upload-button input{position:absolute;width:1px!important;height:1px;opacity:0;padding:0!important;clip-path:inset(50%)}
.film-side-assets{display:flex;flex-direction:column;gap:9px;margin-top:14px}.film-side-assets>article{display:flex;align-items:flex-start;gap:8px;background:var(--surface);padding:7px;border-radius:7px;min-width:0}.film-side-assets>article>div:last-child{min-width:0;flex:1}.film-side-assets strong{display:block;font-size:12px;color:var(--text);overflow-wrap:anywhere;line-height:1.5}.film-side-assets small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.film-library-thumb{flex:0 0 56px;aspect-ratio:1;overflow:hidden;border-radius:5px;background:var(--surface);display:flex;align-items:center}.film-library-thumb img{width:100%;height:100%;object-fit:cover}.film-library-thumb audio{width:56px;height:32px}.film-library-actions{display:flex;gap:5px;align-items:center;margin-top:6px;flex-wrap:wrap}.film-library-actions button,.film-library-actions a{border:0;background:transparent;color:var(--accent);font-size:12px;padding:0;text-decoration:none;cursor:pointer}.film-side-assets>p{font-size:12px;line-height:1.8;color:var(--muted);padding:10px}
.film-stage-content{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 16px}
.film-shot-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;margin-top:14px}
.film-shot-summary{padding:0 0 10px;overflow:hidden;background:var(--surface);border:1px solid var(--accent);border-radius:9px;text-align:left;cursor:pointer;min-width:0;transition:border-color .15s,box-shadow .15s}
.film-shot-summary:hover{border-color:var(--accent);box-shadow:0 4px 12px #2c798110}.film-shot-summary.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px #ddf3fa}
.film-shot-summary>div{position:relative;aspect-ratio:16/9;background:var(--surface);overflow:hidden}.film-shot-summary img{width:100%;height:100%;object-fit:cover}.film-shot-summary>div>span{position:absolute;left:7px;top:7px;background:#163842b8;color:var(--text);padding:3px 6px;border-radius:4px;font-size:12px}.film-shot-summary b{position:absolute;left:calc(50% - 13px);top:calc(50% - 13px);color:var(--text);font-size:26px;text-shadow:0 2px 8px #0008}.film-shot-summary>strong,.film-shot-summary>small,.film-shot-summary>em{display:block;padding:0 10px;margin:7px 0 0}.film-shot-summary>strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent)}.film-shot-summary>small{font-size:12px;color:var(--muted)}.film-shot-summary>em{font-size:12px;font-style:normal;color:var(--accent)}.film-shot-summary .film-frame-placeholder{min-height:0;height:100%;padding:6px}.film-shot-summary .film-frame-placeholder strong,.film-shot-summary .film-frame-placeholder small{display:none}
.film-gallery-hint{color:var(--muted);font-size:12px;margin:18px 0}.film-detail-heading{display:flex;align-items:center;justify-content:space-between;font-size:15px;color:var(--accent);margin:18px 0 10px}.film-detail-heading button{border:0;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}
.film-shot-detail .film-shot-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,.85fr);gap:0;border-color:var(--accent)}.film-shot-detail .film-shot-card>header{grid-column:1/-1}.film-shot-detail .film-card-picture{align-self:start;margin:14px;border-radius:7px;grid-column:1}.film-shot-detail .film-card-body{grid-column:2;grid-row:2;border-left:1px solid var(--accent);padding:14px}.film-shot-detail .film-card-picture .film-frame-placeholder{min-height:160px}.film-shot-detail .film-reference-panel{padding:10px}.film-shot-detail .film-card-body input,.film-shot-detail .film-card-body select{font-size:12px!important}.film-shot-detail .film-card-primary-actions{display:flex;flex-wrap:wrap;gap:7px}.film-shot-detail .film-card-hint{font-size:12px;line-height:1.7}
.film-skill-area{margin-bottom:14px}.film-skill-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 11px;background:var(--surface);border:1px solid var(--accent);border-radius:8px}.film-skill-bar>small{font-size:12px;color:var(--muted);margin-left:auto}.film-skill-bar button{border:0;background:transparent;font-size:12px;color:var(--accent);cursor:pointer;padding:3px}.film-skill-bar .film-skill-trigger{font-weight:650;color:var(--accent)}.film-skill-trigger span{font-size:12px;color:var(--muted);margin-left:3px}.film-active-skills{display:flex;gap:5px;flex-wrap:wrap}.film-active-skills>span{padding:4px 7px;background:var(--surface);border:1px solid var(--accent);border-radius:5px;font-size:12px;color:var(--accent)}.film-active-skills>small{font-size:12px;color:var(--muted)}
.film-skill-picker,.film-skill-result{margin-top:10px;padding:14px;border:1px solid var(--accent);border-radius:10px;background:var(--surface)}.film-skill-picker>header,.film-skill-result>header{display:flex;justify-content:space-between;gap:12px;align-items:start}.film-skill-picker header strong,.film-skill-result header strong{font-size:15px;color:var(--accent)}.film-skill-picker header small,.film-skill-result header small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.film-skill-picker header>button,.film-skill-result header>button{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:15px}.film-skill-scope{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:12px 0}.film-skill-scope button{border:1px solid var(--accent);background:var(--surface);padding:7px 10px;border-radius:6px;font-size:12px;color:var(--muted);cursor:pointer}.film-skill-scope button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);color:var(--accent)}.film-skill-scope input{flex:1;min-width:150px!important;width:auto!important}
.film-skill-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:7px;max-height:280px;overflow-y:auto;scrollbar-width:thin;padding:2px}.film-skill-catalog>button{display:flex;gap:8px;padding:10px;border:1px solid var(--accent);border-radius:7px;text-align:left;background:var(--surface);cursor:pointer;min-width:0}.film-skill-catalog>button[aria-pressed=true]{background:var(--surface);border-color:var(--accent)}.film-skill-catalog>button>span{font-size:15px;color:var(--accent)}.film-skill-catalog strong{display:block;font-size:12px;color:var(--accent)}.film-skill-catalog small{display:block;font-size:12px;line-height:1.6;margin-top:4px;color:var(--muted)}.film-skill-catalog em{display:block;font-style:normal;font-size:12px;color:var(--accent);margin-top:6px}.film-skill-instruction{display:block;font-size:12px;color:var(--muted);margin:12px 0 0}.film-skill-instruction textarea{margin-top:6px}.film-skill-picker footer,.film-skill-result footer{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:12px}.film-skill-picker footer small,.film-skill-result footer small{font-size:12px;color:var(--muted);line-height:1.6}.film-skill-picker footer button,.film-skill-result footer button{font-size:12px;white-space:nowrap;padding:9px 13px;border-radius:7px}.film-skill-result>p,.film-skill-result li{font-size:15px;line-height:1.85;color:var(--muted);white-space:pre-wrap}.film-skill-result ul{padding-left:20px}.film-skill-operations{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;max-height:320px;overflow:auto}.film-skill-operations>article{padding:10px;border:1px solid var(--accent);background:var(--surface);border-radius:6px;font-size:12px}.film-skill-operations strong{font-size:12px;color:var(--accent)}.film-skill-operations p{font-size:12px;line-height:1.8;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.film-skill-operations p small{display:block;color:var(--muted);font-size:12px}.film-skill-history{margin-top:9px;font-size:12px;color:var(--muted)}.film-skill-history>summary{cursor:pointer}.film-skill-history>button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:8px 4px;border:0;border-bottom:1px solid var(--accent);background:transparent;color:var(--muted);text-align:left;cursor:pointer}.film-skill-history small{color:var(--muted);white-space:nowrap}
@media(min-width:1101px){.film-immersive .film-studio-body{height:calc(100vh - 245px);min-height:440px}.film-immersive .film-side-library,.film-immersive .film-stage-content{height:100%;overflow-y:auto;box-sizing:border-box;scrollbar-width:thin}.film-immersive .film-stage-content{overscroll-behavior:contain}.film-shot-detail .film-card-picture{position:sticky;top:0}}
@media(max-width:1300px){.film-studio-body{grid-template-columns:170px minmax(0,1fr);gap:10px}.film-stage-content{padding:12px}.film-shot-detail .film-shot-card{grid-template-columns:1fr}.film-shot-detail .film-card-body{grid-column:1;grid-row:auto;border-left:0}.film-shot-detail .film-card-picture{position:static}.film-side-assets>article{flex-direction:column}.film-library-thumb{width:100%;aspect-ratio:16/9;flex-basis:auto}.film-side-assets>article>div:last-child{width:100%}}
@media(max-width:950px){.film-studio-body{grid-template-columns:135px minmax(0,1fr)}.film-side-library{max-height:calc(100vh - 130px);overflow-y:auto;position:sticky;top:75px}.film-shot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.film-skill-catalog{grid-template-columns:1fr}.film-immersive .film-project-header>div:last-child{gap:4px}.film-project-header button{font-size:12px!important;padding:6px!important}}
@media(max-width:700px){.film-immersive .mentor-docked{height:400px;min-height:0}.film-studio-body{grid-template-columns:1fr}.film-side-library{position:static;max-height:230px}.film-side-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.film-immersive .account-menu summary>span:nth-child(2){display:none}.film-immersive .film-project-header{flex-wrap:wrap}.film-skill-picker footer,.film-skill-result footer{flex-wrap:wrap}}.film-immersive .film-save{display:none}
.film-post-library{background:var(--surface);border:1px solid var(--accent);border-radius:10px;padding:10px;min-width:0}.film-post-library .film-edit-bin{border:0!important;background:transparent!important;padding:0!important;max-height:none!important;overflow:visible!important}.film-post-library .film-edit-bin>header{font-size:15px}.film-post-library .film-bin-list{height:180px;min-height:130px}.film-post-library .film-source-view{margin-top:10px}.film-post-library .film-source-view>video,.film-post-library .film-source-view>img{max-height:125px}.film-post-library .film-source-view .film-inspector-pair{gap:5px}.film-post-library .film-source-view .film-inspector-actions{display:flex;flex-wrap:wrap;gap:5px}.film-post-library .film-source-view .film-inspector-actions button{font-size:12px;min-width:0}.film-post-library .film-bin-hint{font-size:12px}.film-post-library .film-source-drag{font-size:12px;padding:9px}
.film-edit-desk.film-desk-external{grid-template-columns:minmax(0,1fr) 210px!important}.film-desk-external .film-edit-inspector{max-height:320px;overflow-y:auto}.film-desk-external .film-cut-preview{max-height:220px!important}
@media(min-width:1101px){.film-immersive .film-production-workspace{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.film-immersive .film-studio-body{height:auto;flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}.film-immersive .film-side-library,.film-immersive .film-stage-content{height:auto}.film-immersive .mentor-docked{height:100%;min-height:0;max-height:none}.film-immersive .preview-environment{font-size:12px;padding:3px 8px;margin:0 0 5px}
 .film-stage-content:has(.film-pro-edit){display:flex;flex-direction:column;overflow:hidden;padding:10px}.film-stage-content #film-notes:has(.film-pro-edit){flex:1;display:flex;flex-direction:column;min-height:0}.film-stage-content .film-pro-edit{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.film-stage-content .film-edit-heading{padding:8px 12px!important;flex-shrink:0}.film-stage-content .film-edit-heading h3{font-size:15px;margin:4px 0}.film-stage-content .film-edit-heading .eyebrow{font-size:12px}.film-stage-content .film-edit-desk{flex:1;min-height:120px;overflow:hidden}.film-stage-content .film-program,.film-stage-content .film-edit-inspector{min-height:0;max-height:none;overflow-y:auto}.film-stage-content .film-monitor-stage{padding:4px 0}.film-stage-content .film-cut-preview{max-height:170px!important;min-height:60px}.film-stage-content .film-program{padding:8px}.film-stage-content .film-program header{font-size:12px;margin-bottom:5px}.film-stage-content .film-cut-transport{margin:5px 0;gap:4px}.film-stage-content .film-meter-row{margin:3px 0}.film-stage-content .film-meter-row>span{font-size:12px}.film-stage-content .film-timeline-toolbar{flex-shrink:0;margin:7px 8px;gap:4px}.film-stage-content .film-timeline-toolbar button{font-size:12px;padding:6px}.film-stage-content .film-timeline-toolbar>span{display:none}.film-stage-content #film-cut-timeline{flex:0 0 40%;min-height:140px;max-height:320px;overflow-y:auto}.film-stage-content .film-edit-footer{padding:5px 8px;flex-shrink:0;font-size:12px}.film-stage-content .film-edit-footer>span:last-child{display:none}
 .film-stage-content:has(.film-skill-picker,.film-skill-result){display:block;overflow-y:auto}.film-stage-content:has(.film-skill-picker,.film-skill-result) #film-notes{display:block}.film-stage-content:has(.film-skill-picker,.film-skill-result) .film-pro-edit{min-height:650px;display:block}.film-stage-content:has(.film-skill-picker,.film-skill-result) .film-edit-desk{height:240px}.film-stage-content:has(.film-skill-picker,.film-skill-result) #film-cut-timeline{height:300px}
}
@media(max-width:950px){.film-edit-desk.film-desk-external{grid-template-columns:1fr!important}.film-desk-external .film-edit-inspector{max-height:260px}}
@media(min-width:1101px){}
@media(min-width:1101px) and (max-height:850px){.film-immersive .film-project-header .eyebrow{display:none}.film-immersive .film-project-header{padding-bottom:6px}.film-stage-content .film-edit-heading .eyebrow{display:none}.film-stage-content .film-edit-heading h3{margin:0}.film-stage-content .film-timeline-toolbar{padding:4px 0;margin:4px 8px}.film-stage-content .film-edit-footer{display:none}.film-stage-content .film-edit-desk{min-height:90px}.film-stage-content .film-monitor-stage{height:auto}.film-stage-content .film-cut-preview{margin:4px auto;max-height:125px!important}.film-stage-content #film-cut-timeline{min-height:145px}.film-stage-content .film-skill-area{flex-shrink:0;margin-bottom:8px}}
@media(min-width:1101px){.film-stage-content .film-program{display:flex;flex-direction:column;overflow:hidden}.film-stage-content .film-program>header,.film-stage-content .film-cut-transport,.film-stage-content .film-meter-row{flex-shrink:0}.film-stage-content .film-program .film-monitor-stage{flex:1;min-height:0}.film-stage-content .film-program .film-cut-preview{height:100%;min-height:0;max-height:none!important;aspect-ratio:auto;margin:0;width:100%}.film-stage-content .film-program .film-cut-preview img,.film-stage-content .film-program .film-cut-preview video{object-fit:contain}}
@media(min-width:1101px) and (max-height:850px){.film-stage-content #film-cut-timeline{flex-basis:35%;min-height:110px}.film-stage-content .film-cut-transport{padding:2px 0;margin:3px 0}.film-stage-content .film-meter-row{display:none}.film-stage-content>.film-inline-production{margin:3px 0 0;padding:0;flex-shrink:0}.film-stage-content>.film-inline-production>div{padding:5px 8px}.film-stage-content>.film-inline-production strong,.film-stage-content>.film-inline-production small{display:inline;font-size:12px;line-height:16px}.film-stage-content>.film-inline-production small{margin-left:8px}}
@media(min-width:1101px) and (max-height:850px){.film-stage-content .film-edit-heading{display:none}.film-stage-content #film-cut-seek{height:14px!important;min-height:14px!important;max-height:14px!important;padding:0!important;flex:0 0 14px;margin:2px 0}}

/* Reference slots stay with the selected shot; Skills now live in the mentor. */
.film-library-thumb{position:relative}.film-library-thumb>img{pointer-events:none}.film-library-audio{width:100%;text-align:center;color:var(--muted);font-size:26px}.film-library-grip{position:absolute;right:3px;bottom:3px;width:25px;height:25px;border:1px solid var(--accent);border-radius:5px;background:#ffffffed;color:var(--accent);font-size:20px;line-height:18px;cursor:grab;touch-action:none;padding:0;user-select:none}.film-library-grip:active{cursor:grabbing}.film-side-assets [draggable=true]{cursor:grab;transition:box-shadow .15s}.film-side-assets [draggable=true]:hover{box-shadow:0 0 0 1px #a6d7e3}.film-library-drag-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.film-multi-reference{background:var(--surface);border-color:var(--accent);padding:12px!important}.film-multi-reference>.film-section-heading{display:flex;gap:8px;align-items:center}.film-multi-reference>.film-section-heading>small{font-size:12px;color:var(--muted)}.film-multi-reference>.film-section-heading>button{margin-left:auto}.film-multi-reference>.film-section-heading>strong{font-size:15px;color:var(--accent)}.film-multi-reference>p{margin:7px 0 11px;font-size:12px;line-height:1.7}.film-reference-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.film-reference-slot{padding:9px;background:var(--surface);border:1px dashed var(--accent);border-radius:8px;min-width:0;transition:border-color .15s,background .15s}.film-reference-slot>header{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;margin-bottom:8px}.film-reference-slot>header>strong{font-size:12px;color:var(--accent)}.film-reference-slot>header>small{font-size:12px;color:var(--accent);line-height:1.6}.film-reference-slot.is-unsupported{border-color:var(--border);background:var(--surface)}.film-reference-drop-button{display:flex!important;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:52px;padding:6px!important;border:0!important;border-radius:5px;background:var(--surface)!important;color:var(--accent)!important;font-size:12px!important;cursor:pointer;gap:4px}.film-reference-drop-button>small{font-size:12px;color:var(--muted);font-weight:400}.is-unsupported .film-reference-drop-button{background:var(--surface)!important;color:var(--muted)!important}.film-reference-slot.film-reference-drag-active,.film-reference-item.film-reference-drag-active,.film-reference-source.film-reference-drag-active{background:var(--surface)!important;border:1px solid var(--accent)!important;box-shadow:0 0 0 3px #def4fb}
.film-reference-item{display:flex;gap:7px;align-items:flex-start;padding:6px 0;border:1px solid transparent;border-radius:5px;min-width:0}.film-reference-item>.film-reference-thumb{flex:0 0 42px;width:42px;height:42px}.film-reference-thumb{border-radius:5px;overflow:hidden;background:var(--surface);display:flex;justify-content:center;align-items:center}.film-reference-thumb img{width:100%;height:100%;object-fit:cover;pointer-events:none}.film-reference-thumb audio{width:48px;height:35px}.film-reference-item>div:last-child{min-width:0;flex:1}.film-reference-item strong{display:block;font-size:12px;line-height:1.5;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.film-reference-item label{font-size:12px!important;margin:4px 0!important;color:var(--muted)}.film-reference-item select{padding:4px 2px!important;font-size:12px!important;max-width:100%;height:25px}.film-reference-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.film-reference-actions>button{padding:0!important;border:0!important;background:transparent!important;color:var(--accent)!important;font-size:12px!important;cursor:pointer}.film-reference-actions>button:last-child{color:var(--muted)!important}.film-reference-source{display:flex;align-items:center;gap:10px;padding:9px;margin:10px 0;border:1px solid var(--accent);border-radius:7px;background:var(--surface)}.film-reference-source>.film-reference-thumb{flex:0 0 64px;width:64px;height:42px}.film-reference-source .film-icon{width:22px;height:22px;color:var(--accent)}.film-reference-source>div:nth-child(2){flex:1;min-width:0}.film-reference-source strong{font-size:12px;color:var(--accent)}.film-reference-source small{font-size:12px;color:var(--muted);display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-reference-connector{font-size:12px;color:var(--accent);white-space:nowrap}.film-multi-reference>.film-reference-capability{border-top:1px solid var(--accent);padding-top:8px;margin:11px 0 0;color:var(--muted);font-size:12px}.film-multi-reference>.film-reference-warning{padding:8px;background:var(--surface);border:1px solid var(--accent);border-radius:5px;color:var(--accent);font-size:12px;margin:8px 0 0}
.film-shot-detail .film-shot-card>.film-multi-reference{grid-column:1/-1;margin:0 12px 12px}.film-shot-detail .film-card-picture{position:static}.film-shot-detail .film-card-body>label{margin-bottom:10px}.film-shot-detail .film-card-settings{margin:9px 0}.film-shot-detail .film-card-links{gap:6px;margin:9px 0}.film-shot-detail .film-card-hint{margin:9px 0;font-size:12px;color:var(--muted)}.film-stage-content:has(.film-shot-detail) .film-shot-gallery{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.film-stage-content:has(.film-shot-detail) .film-shot-summary{flex:0 0 112px;max-width:112px;padding-bottom:6px}.film-stage-content:has(.film-shot-detail) .film-shot-summary>strong{font-size:12px;padding:0 7px;margin-top:5px}.film-stage-content:has(.film-shot-detail) .film-shot-summary>small{font-size:12px;padding:0 7px;margin-top:4px}.film-stage-content:has(.film-shot-detail) .film-shot-summary>em{display:none}
@media(min-width:1400px){.film-reference-slots{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1101px) and (max-width:1399px){.film-studio-body{grid-template-columns:160px minmax(0,1fr)}.film-shot-detail .film-shot-card{grid-template-columns:minmax(0,1fr) minmax(220px,.86fr)}.film-shot-detail .film-card-body{grid-column:2;grid-row:2;border-left:1px solid var(--accent);padding:10px}.film-shot-detail .film-card-picture{margin:10px}.film-shot-detail .film-card-picture .film-frame-placeholder{min-height:110px}}
@media(max-width:1100px){.film-reference-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.film-shot-detail .film-shot-card{grid-template-columns:1fr}.film-shot-detail .film-card-body{grid-column:1;grid-row:auto;border-left:0}.film-shot-detail .film-card-picture{margin:10px}}
@media(max-width:700px){.film-reference-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.film-reference-connector{display:none}.film-side-assets>article{flex-direction:column}.film-library-thumb{width:100%;aspect-ratio:16/9;flex-basis:auto}}

/* Scene-led video workspace: independent clips, shared project references. */
.film-editor[data-stage="shots"] .film-scene-video-workspace{display:block;min-width:0;padding:20px}
.film-scene-video-columns{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:start}
.film-scene-video-clips{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;align-content:start}
.film-scene-video-clips .film-shot-summary{display:flex;flex-direction:column;width:100%;height:auto;min-height:180px;overflow:hidden;text-align:left}
.film-scene-video-clips .film-shot-thumb{width:100%;height:auto;aspect-ratio:16/9;flex:none}
.film-scene-video-clips img,.film-scene-video-clips video{width:100%;height:100%;object-fit:cover}
.film-video-scene-script{margin:0 0 20px;color:var(--muted)}
.film-video-scene-script p{white-space:pre-wrap;line-height:1.7;max-width:75ch}
.film-scene-video-references .film-side-library{position:static;width:100%;max-height:65vh;overflow:auto;border-radius:14px}
.film-scene-video-workspace>.film-video-inspector{width:100%;max-width:760px;margin:24px auto}
@media(max-width:800px){.film-scene-video-columns{grid-template-columns:minmax(0,1fr)}.film-scene-video-references .film-side-library{max-height:260px}.film-scene-video-clips{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}


/* mentor-functions.css */
/* The mentor is a persistent creative collaborator; its tools stay in this rail. */
.mentor-functions{min-width:0;overscroll-behavior:contain}
.mentor-functions>header,.mentor-functions>.mentor-context,.mentor-function-options,.mentor-prompt-modes,.mentor-functions>.mentor-inline-status,.mentor-functions>.mentor-dock-prompts,.mentor-functions>#mentor-form{flex-shrink:0}
.mentor-functions>header{padding:15px 14px 11px!important;gap:10px!important}
.mentor-functions .mentor-portrait{width:40px!important;height:40px!important}
.mentor-functions header strong{font-size:16px!important}
.mentor-functions header small{font-size:12px!important;margin-top:4px!important}
.mentor-functions>.mentor-context{margin:0 13px!important;padding:7px 9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mentor-function-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:12px 13px 9px}
.mentor-function-options button{display:flex;align-items:center;justify-content:center;gap:5px;grid-column:span 2;border:1px solid var(--accent);background:var(--surface);border-radius:7px;padding:9px 3px;color:var(--accent);cursor:pointer;font-size:12px;white-space:nowrap}
.mentor-function-options button:nth-child(n+4){grid-column:span 3}
.mentor-function-options svg{width:16px;height:16px;flex-shrink:0}
.mentor-function-options button[aria-pressed=true]{background:var(--surface);border-color:var(--accent);color:var(--accent)}
.mentor-prompt-modes{display:flex;gap:3px;margin:0 13px 9px;padding:3px;background:var(--surface);border:1px solid var(--accent);border-radius:8px}
.mentor-prompt-modes button{flex:1;padding:7px 5px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}
.mentor-prompt-modes button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 4px #29516a0d}
.mentor-function-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
.mentor-functions .mentor-messages{min-height:0!important;max-height:none!important;overflow:visible!important;padding:8px 13px 12px!important}
.mentor-functions .mentor-panel-greeting p{font-size:15px!important;line-height:1.8!important;margin:0 0 7px!important}
.mentor-functions .mentor-panel-greeting small{font-size:12px!important;line-height:1.7!important}
.mentor-functions .mentor-mode-intro{border:1px solid var(--accent);background:var(--surface);padding:11px;border-radius:9px;margin:12px 0}
.mentor-mode-intro strong{font-size:15px;color:var(--accent)}
.mentor-mode-intro p,.mentor-mode-intro small{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 0}
.mentor-functions .mentor-stage-guide{margin-top:12px;padding:11px;border-radius:10px}
.mentor-functions .mentor-message{padding:11px;margin-top:11px!important;margin-bottom:0;border-radius:9px!important}
.mentor-functions .mentor-message.user{margin-left:22px}
.mentor-functions .mentor-message p{font-size:12px!important;line-height:1.8!important}
.mentor-functions .mentor-proposal{border:1px solid var(--accent);background:var(--surface);padding:10px}
.mentor-proposal strong{font-size:12px;line-height:1.6}
.mentor-proposal button{border:1px solid var(--accent);background:var(--surface);color:var(--accent);line-height:1.5}
.mentor-proposal button:disabled{opacity:.55;cursor:default}
.mentor-prompt-proposal{display:flex;flex-direction:column;gap:7px;font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0}
.mentor-prompt-proposal textarea{resize:vertical;min-height:105px;width:100%;font-size:12px;line-height:1.8;background:var(--surface);border:1px solid var(--accent);border-radius:7px;padding:8px;color:var(--accent);box-sizing:border-box}
.mentor-proposal-skills{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}
.mentor-proposal-skills span{border:1px solid var(--accent);background:var(--surface);border-radius:5px;padding:4px 6px;font-size:12px;color:var(--accent)}
.mentor-skill-suggestion>small{display:block;font-size:12px;margin-bottom:9px;color:var(--muted);line-height:1.7}
.mentor-function-empty{border:1px dashed var(--accent);background:var(--surface);padding:16px 12px;border-radius:9px;margin:7px 0;color:var(--accent)}
.mentor-function-empty strong{font-size:15px}
.mentor-function-empty p{font-size:12px;line-height:1.8;color:var(--muted)}
.mentor-function-empty button{font-size:12px;border:1px solid var(--accent);background:var(--surface);padding:8px;border-radius:6px;color:var(--accent);cursor:pointer}
.mentor-skill-dialogue{margin-top:12px;border-top:1px solid var(--accent);padding-top:10px}
.mentor-skill-dialogue summary{font-size:12px;color:var(--muted);cursor:pointer}
.mentor-functions>.mentor-dock-prompts{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:5px!important;padding:7px 13px 9px!important;overflow-x:auto;scrollbar-width:thin;max-height:43px;box-sizing:border-box}
.mentor-functions>.mentor-dock-prompts button{font-size:12px!important;padding:6px 8px!important;white-space:nowrap;flex-shrink:0}
.mentor-functions>.mentor-inline-status{margin:0 13px 7px!important;font-size:12px!important;line-height:1.7}
.mentor-functions>#mentor-form{display:block!important;margin:0 11px 11px!important;padding:9px 10px!important;border-radius:12px!important;border:1px solid var(--accent)!important;background:var(--surface)!important}
.mentor-functions>#mentor-form textarea{font-size:12px!important;line-height:1.7!important;min-height:48px!important;height:48px!important;max-height:120px;resize:vertical!important;border:0!important;background:transparent!important;padding:0!important;width:100%}
.mentor-functions>#mentor-form>div{display:flex!important;gap:6px!important;margin:6px 0 0!important;align-items:center}
.mentor-functions>#mentor-form .primary{padding:7px 13px!important;font-size:12px!important;white-space:nowrap}
.mentor-form-mode{font-size:12px;color:var(--muted);margin-right:auto}
.mentor-functions .film-skill-panel{margin:0;padding:0;border:0}
.film-skill-panel-heading{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:0 0 11px}
.film-skill-panel-heading strong{font-size:15px;color:var(--accent)}
.film-skill-panel-heading span{font-size:12px;color:var(--muted);margin-left:auto}
.film-skill-panel-heading small{flex-basis:100%;font-size:12px;line-height:1.7;color:var(--muted)}
.film-skill-panel .film-skill-picker{border:0;background:transparent;padding:0;margin:0}
.film-skill-panel .film-skill-picker>header{padding:0;margin:0 0 9px}
.film-skill-panel .film-skill-picker>header strong{font-size:12px}
.film-skill-panel .film-skill-picker>header small{font-size:12px;line-height:1.7;margin-top:4px}
.film-skill-panel .film-skill-scope{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px}
.film-skill-panel .film-skill-scope button{font-size:12px;padding:6px 7px;min-width:0;border-radius:5px;color:var(--muted);background:var(--surface);border:1px solid var(--accent)}
.film-skill-panel .film-skill-scope button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--surface)}
.film-skill-panel .film-skill-scope input{flex:1 0 100%;width:100%;box-sizing:border-box;padding:8px 9px;font-size:12px;background:var(--surface);border:1px solid var(--accent);border-radius:6px}
.film-skill-panel .film-skill-catalog{display:grid;grid-template-columns:1fr;max-height:235px;overflow-y:auto;gap:6px;padding:1px 2px 3px 0;scrollbar-width:thin}
.film-skill-panel .film-skill-catalog button{padding:9px;display:flex;align-items:flex-start;gap:8px;border:1px solid var(--accent);background:var(--surface);border-radius:7px;min-height:0;text-align:left;color:var(--accent);cursor:pointer}
.film-skill-panel .film-skill-catalog button[aria-pressed=true]{border-color:var(--accent);background:var(--surface)}
.film-skill-panel .film-skill-catalog button>span{font-size:15px;flex-shrink:0;color:var(--accent)}
.film-skill-panel .film-skill-catalog strong{font-size:12px;line-height:1.6}
.film-skill-panel .film-skill-catalog small{font-size:12px;line-height:1.7;margin:4px 0;color:var(--muted)}
.film-skill-panel .film-skill-catalog em{font-size:12px;line-height:1.6;font-style:normal;color:var(--accent)}
.film-selected-skill-chips{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 9px}
.film-selected-skill-chips button{border:1px solid var(--accent);border-radius:5px;background:var(--surface);color:var(--accent);padding:4px 6px;font-size:12px;cursor:pointer}
.film-skill-panel .film-skill-instruction{display:block;font-size:12px;color:var(--muted);margin:11px 0 8px}
.film-skill-panel .film-skill-instruction textarea{width:100%;box-sizing:border-box;font-size:12px;line-height:1.7;padding:8px;border:1px solid var(--accent);border-radius:6px;background:var(--surface);resize:vertical;min-height:54px;margin-top:5px}
.film-skill-panel footer{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:8px 0;margin:0}
.film-skill-panel footer>small{font-size:12px!important;line-height:1.6;color:var(--muted);flex:1 1 100%}
.film-skill-panel footer>button{width:100%;font-size:12px;padding:9px;border:1px solid var(--accent);border-radius:7px;background:var(--selected);color:var(--text);cursor:pointer}
.film-skill-panel .film-skill-result{border:1px solid var(--accent);background:var(--surface);border-radius:9px;padding:10px;margin:13px 0 0}
.film-skill-panel .film-skill-result header{display:flex;align-items:flex-start;gap:5px}
.film-skill-panel .film-skill-result header>div{flex:1;min-width:0}
.film-skill-panel .film-skill-result header strong{font-size:12px;line-height:1.7}
.film-skill-panel .film-skill-result header small{font-size:12px;line-height:1.6;margin-top:4px}
.film-skill-panel .film-skill-result header button{font-size:12px;background:none;border:0;padding:3px;color:var(--muted)}
.film-skill-panel .film-skill-result p,.film-skill-panel .film-skill-result li{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.film-skill-panel .film-skill-operations{grid-template-columns:1fr;max-height:220px;overflow-y:auto;gap:6px}
.film-skill-panel .film-skill-operations article{padding:8px;border-radius:6px;background:var(--surface)}
.film-skill-panel .film-skill-operations strong{font-size:12px;line-height:1.6}
.film-skill-panel .film-skill-history{font-size:12px;margin:12px 0 0}
.film-skill-panel .film-skill-history button{padding:8px;min-width:0;width:100%;font-size:12px;line-height:1.6}
@media(min-width:951px){.film-immersive .mentor-functions.mentor-docked{height:100%!important;min-height:0!important;max-height:none!important}}
@media(max-height:780px) and (min-width:951px){.mentor-functions>header{padding-top:10px!important;padding-bottom:8px!important}.mentor-function-options{padding-top:9px;padding-bottom:7px;gap:5px}.mentor-function-options button{padding:7px 2px}.mentor-functions>#mentor-form{margin-bottom:8px!important}.film-skill-panel .film-skill-catalog{max-height:180px}.mentor-functions .mentor-panel-greeting small{font-size:12px!important}}
@media(max-width:950px){.mentor-functions.mentor-docked{height:460px!important;max-height:calc(100dvh - 80px)!important;min-height:310px!important}.mentor-functions.mentor-docked .mentor-function-scroll{display:block}.mentor-functions.mentor-docked .mentor-messages{min-height:0!important;max-height:none!important}.mentor-functions.mentor-docked .mentor-panel-greeting small,.mentor-functions.mentor-docked .mentor-stage-guide{display:block!important}.mentor-functions.mentor-docked header small{display:block!important}.mentor-function-options button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mentor-function-scroll{scroll-behavior:auto}}
/* Shared live task feedback: real lifecycle states, no fabricated progress. */
.creation-spinner{display:inline-block;flex:none;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:creation-spin .85s linear infinite;color:var(--film-accent,var(--text))}
@keyframes creation-spin{to{transform:rotate(360deg)}}
.mentor-working{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:8px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:15px}
.mentor-working strong,.mentor-working small{display:block}.mentor-working small{margin-top:4px;color:var(--muted);font-size:12px}
.mentor-proposal [data-mentor-produce]{margin-left:6px;margin-top:6px}
@media(prefers-reduced-motion:reduce){.creation-spinner{animation:none;border-style:dotted}}

/* Abilities are contextual composer tools; keep the conversation unobstructed. */
.mentor-mode-menu{position:relative;flex-shrink:0;margin-right:auto;color:var(--muted)}
.mentor-mode-menu>summary{display:flex;align-items:center;gap:7px;min-height:34px;padding:2px 8px 2px 2px;border-radius:9px;font-size:15px;list-style:none;cursor:pointer;user-select:none}
.mentor-mode-menu>summary::-webkit-details-marker{display:none}
.mentor-mode-menu>summary:hover,.mentor-mode-menu[open]>summary{background:var(--surface);color:var(--accent)}
.mentor-mode-menu>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mentor-mode-plus{display:grid;place-items:center;width:28px;height:28px;font-size:25px;font-weight:300;line-height:1}
.mentor-mode-chevron{font-size:15px;opacity:.65}
.mentor-mode-popover{position:absolute;bottom:calc(100% + 10px);left:0;z-index:65;width:230px;max-width:calc(100vw - 54px);max-height:calc(100dvh - 230px);overflow-y:auto;padding:8px;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:0 12px 36px #18374926}
.mentor-mode-popover>small{display:block;padding:6px 10px 8px;font-size:12px;color:var(--muted)}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options{display:flex;flex-direction:column;gap:3px;padding:0}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button,:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button:nth-child(n+4){display:flex;flex-direction:row;justify-content:flex-start;gap:10px;min-height:40px;width:100%;padding:9px 10px;border:0;border-radius:9px;box-sizing:border-box;background:transparent;font-size:15px;color:var(--text)}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button:hover{background:var(--surface)}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button[aria-pressed=true]{background:var(--surface);color:var(--accent)}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options svg{width:18px;height:18px}
:is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options i{margin-left:auto;min-width:14px;font-style:normal}
.mentor-mode-menu .mentor-prompt-modes{margin:8px 0 0;padding:4px;border-radius:9px}
#mentor-home-form{display:block!important}
#mentor-home-form textarea{display:block;width:100%;box-sizing:border-box}
#mentor-home-form>div{display:flex;align-items:center;gap:8px;margin-top:6px}
@media(max-width:480px){.mentor-mode-popover{width:218px}.mentor-mode-menu>summary{font-size:12px}}

:is(#mentor-form,#mentor-home-form) .mentor-prompt-modes button{flex:1;padding:7px 5px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}
:is(#mentor-form,#mentor-home-form) .mentor-prompt-modes button[aria-pressed=true]{background:var(--surface);color:var(--accent)}

/* One current exchange, with deliberate, read-only access to earlier records. */
.mentor-functions{container-type:inline-size;container-name:mentor}
.mentor-functions :is(.mentor-message,.mentor-proposal,.mentor-history,.mentor-reply-details){min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.mentor-functions .mentor-message{padding:10px!important;margin-top:8px!important}
.mentor-functions .mentor-message>small{display:block;margin-bottom:5px;font-size:12px;line-height:1.45;color:var(--studio-muted,var(--muted))}
.mentor-functions .mentor-message p{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:5px 0;font-size:15px!important;line-height:1.65!important}
.mentor-functions .mentor-message .mentor-read{display:inline-flex;align-items:center;min-height:28px;margin-top:5px;padding:3px 0;font-size:12px;color:var(--studio-muted,var(--muted))}
.mentor-reply-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.mentor-message:has(>.mentor-reply-details[open])>.mentor-reply-preview{display:none}
.mentor-reply-details>summary{cursor:pointer;min-height:28px;padding:4px 0;color:var(--studio-accent,var(--accent));font-size:12px;line-height:1.6;list-style-position:inside}
.mentor-reply-details>summary:focus-visible,.mentor-history-toggle:focus-visible{outline:2px solid var(--studio-accent,var(--accent));outline-offset:2px;border-radius:5px}
.mentor-functions .mentor-full-reply{margin-top:8px!important}
.mentor-history{margin-top:12px;padding-top:8px;border-top:1px solid var(--studio-border,var(--accent))}
.mentor-history-toggle{display:inline-flex;align-items:center;min-height:32px;padding:5px 8px!important;border:1px solid var(--studio-border,var(--accent))!important;border-radius:7px!important;background:transparent!important;color:var(--studio-muted,var(--muted));font-size:12px!important;cursor:pointer}
.mentor-history-toggle[aria-expanded=true]{color:var(--studio-accent,var(--accent));background:var(--studio-selected,var(--surface))!important}
.mentor-history-records>small,.mentor-history-action{display:block;margin:9px 0;font-size:12px;line-height:1.6;color:var(--studio-muted,var(--muted))}
.mentor-functions .mentor-message-history{border-left:2px solid var(--studio-border,var(--accent));box-shadow:none}
.mentor-functions .mentor-history-action{border-top:1px solid var(--studio-border,var(--accent));padding-top:6px}
.mentor-functions :is(textarea,input){box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:anywhere}
.mentor-functions>#mentor-form{min-width:0;max-width:calc(100% - 22px);box-sizing:border-box}
.mentor-functions>#mentor-form textarea{display:block;box-sizing:border-box;max-width:100%;min-width:0;white-space:pre-wrap;word-break:break-word;overflow:auto}
.mentor-functions>#mentor-form>div{flex-wrap:wrap;min-width:0}
.mentor-functions>#mentor-form .mentor-voice-tools{min-width:0;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.mentor-functions>#mentor-form :is(button,summary){box-sizing:border-box;max-width:100%}
.mentor-functions>.mentor-inline-status{max-height:72px;overflow:auto;overflow-wrap:anywhere}
.academy-shell.film-immersive .mentor-functions.mentor-functions>#mentor-form{padding:9px!important}
.academy-shell.film-immersive .mentor-functions.mentor-functions>#mentor-form textarea{font-size:15px!important;line-height:1.65!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0}
@container mentor (max-width:310px){.mentor-functions .mentor-mic{font-size:0!important;padding:5px!important;min-width:28px}.mentor-functions .mentor-mic svg{width:19px;height:19px}.mentor-mode-menu>summary{font-size:12px;padding-right:4px}.mentor-functions header small{display:none!important}}

.mentor-history-more{display:block;min-height:30px;margin:10px auto 3px;padding:5px 10px!important;border:1px solid var(--studio-border,var(--accent))!important;border-radius:6px!important;background:transparent!important;color:var(--studio-muted,var(--muted));font-size:12px!important;cursor:pointer}
.mentor-history-notice{font-size:12px;color:var(--studio-muted,var(--muted))}
.mentor-script-body{margin:9px 0;max-width:100%;overflow-wrap:anywhere}
.mentor-script-body>summary{min-height:28px;cursor:pointer;padding:4px 0;font-size:12px;color:var(--studio-accent,var(--accent))}
.mentor-script-body>article{padding:8px 0;border-top:1px solid var(--studio-border,var(--accent))}
.mentor-script-body article>small{display:block;margin-top:4px;font-size:12px;color:var(--studio-muted,var(--muted))}
.mentor-functions .mentor-inline-status>button{display:block;margin:5px 0 0;min-height:28px;padding:4px 7px!important;border-radius:5px!important;font-size:12px!important;line-height:1.5;background:transparent;color:var(--studio-accent,var(--accent));border:1px solid var(--studio-border,var(--accent))}

/* Fixed history navigation and a contained, icon-only voice control. */
.mentor-functions>.mentor-history-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:5px 13px;border-bottom:1px solid var(--studio-border,var(--accent));box-sizing:border-box}
.mentor-history-bar>small{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.5;color:var(--studio-muted,var(--muted))}
.mentor-history-bar>.mentor-history-toggle{flex:0 0 auto;gap:5px;white-space:nowrap;min-height:32px;padding:5px 8px!important;font-size:15px!important;line-height:1.5}
.mentor-history-bar>.mentor-history-toggle>svg{display:block;flex:0 0 14px;width:14px;height:14px}
.mentor-functions .mentor-history{margin:0;padding:0;border:0}
.mentor-functions>#mentor-form>div{min-height:34px;height:auto;box-sizing:border-box;align-items:center!important}
:is(#mentor-form,#mentor-home-form) .mentor-voice-tools{min-height:34px;box-sizing:border-box;flex:0 1 auto}
:is(#mentor-form,#mentor-home-form) .mentor-voice-tools>.mentor-mic{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 34px;width:34px!important;min-width:34px;max-width:34px!important;height:34px!important;min-height:34px;padding:6px!important;line-height:1!important;white-space:nowrap;border-radius:50%!important}
:is(#mentor-form,#mentor-home-form) .mentor-mic>svg{display:block;flex:0 0 20px;width:20px;height:20px}
.mentor-functions>#mentor-form .mentor-voice-tools>button:not(.mentor-mic){min-height:30px;font-size:12px!important;line-height:1.4;padding:5px 7px!important;white-space:normal}

/* Narrow creation mentor: keep room to read; the page can grow vertically. */
@media(max-width:900px){
 .academy-shell.film-immersive .mentor-docked.mentor-functions.mentor-functions{height:auto!important;min-height:0!important;max-height:none!important}
 .academy-shell.film-immersive .mentor-functions.mentor-functions>.mentor-function-scroll{display:block;flex:0 0 clamp(160px,30dvh,260px)!important;height:clamp(160px,30dvh,260px)!important;min-height:160px!important;max-height:260px;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}
}

/* Storyboard questions stay inside the existing white mentor conversation. */
.mentor-storyboard-conversation{padding:8px 0;text-align:left;min-width:0}
.mentor-storyboard-conversation p{margin:0 0 8px;font-size:14px;line-height:1.5}
.mentor-storyboard-scene-list{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto}
.mentor-storyboard-materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:180px;overflow:auto;margin-bottom:8px}
.mentor-storyboard-materials label{display:grid!important;grid-template-columns:16px 42px;gap:4px;align-items:center;min-width:0;margin:0!important;font-size:12px}
.mentor-storyboard-materials label img{width:42px;height:42px;object-fit:cover;border-radius:6px}
.mentor-storyboard-materials label span{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mentor-storyboard-materials input{width:14px!important;height:14px!important;padding:0!important;margin:0!important}
.xiaoying-guide .mentor-storyboard-materials{color-scheme:light}
.xiaoying-guide .mentor-storyboard-materials label,.xiaoying-guide .mentor-storyboard-materials label span{color:#303640}
.xiaoying-guide .mentor-storyboard-materials input{accent-color:#4c6074}


/* film-studio.css */
/* Creation has its own quiet studio palette; the academy keeps its light theme. */
.academy-shell.film-immersive {
  
  
  
  
  
  
  
  
  
  --studio-library-width: 208px;
  --studio-properties-width: 190px;
  color-scheme: dark;
  background:var(--studio-bg);
  color:var(--studio-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size:15px;
}
.academy-shell.film-immersive *,
.academy-shell.film-immersive *::before,
.academy-shell.film-immersive *::after { box-sizing: border-box; }
.academy-shell.film-immersive .account-menu > summary {
  min-height: 26px;
  font-size:12px;
  color:var(--studio-muted);
}
.academy-shell.film-immersive .account-menu .avatar {
  width: 22px;
  height: 22px;
  background:var(--studio-selected);
  color:var(--studio-accent);
  font-size:12px;
}
.academy-shell.film-immersive .account-menu-panel {
  background:var(--studio-raised);
  border-color:var(--studio-border);
  color:var(--studio-text);
  box-shadow: 0 12px 35px #0005;
}
.academy-shell.film-immersive .account-menu-panel .nav-item.active,
.academy-shell.film-immersive .account-menu-panel .nav-item:hover {
  color:var(--studio-accent) !important;
  background:var(--studio-selected) !important;
}
.academy-shell.film-immersive .account-menu-panel .logout { color:var(--studio-muted); }
.academy-shell.film-immersive .film-page-heading { display: none !important; }
.academy-shell.film-immersive .preview-environment {
  margin: 0 !important;
  padding: 3px 12px !important;
  font-size:12px !important;
  color:var(--studio-muted);
  background:var(--studio-panel);
}
.academy-shell.film-immersive .film-production-workspace {
  padding: 0 !important;
  border:0;
  border-radius:0;
  background:var(--studio-bg);
  box-shadow: none;
}
.academy-shell.film-immersive .film-project-header > div:first-child {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}
.academy-shell.film-immersive .film-project-header .eyebrow { display: none; }
.academy-shell.film-immersive .film-project-header h2 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size:15px;
  font-weight: 600;
  line-height: 24px;
  color:var(--studio-text);
}
.academy-shell.film-immersive .film-project-header > div:last-child {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

/* Shared controls and surfaces use the same restrained dark palette. */
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) :is(input, select, textarea) {
  color:var(--studio-text) !important;
  background:var(--studio-field) !important;
  border-color:var(--studio-border) !important;
  box-shadow: none !important;
  font-family: inherit;
  accent-color:var(--studio-accent);
}
.academy-shell.film-immersive :is(input, textarea)::placeholder { color:var(--muted); }
.academy-shell.film-immersive :is(button, input, select, textarea, summary):focus-visible {
  outline:2px solid var(--studio-accent);
  outline-offset:2px;
}
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) button {
  color:var(--studio-text);
  background-color:var(--studio-raised);
  border-color:var(--studio-border);
  box-shadow: none;
}
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) button.primary {
  background:var(--studio-accent) !important;
  border-color:var(--studio-accent) !important;
  color:var(--accent-ink);
}
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) button:hover:not(:disabled) { border-color:var(--border); }
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) button:disabled { opacity: .4; }
.academy-shell.film-immersive :is(.film-production-workspace, .mentor-docked) :is(small, .eyebrow) { color:var(--studio-muted); }
.academy-shell.film-immersive :is(.film-section-heading, .film-board-heading, .film-detail-heading) { color:var(--studio-text); }
.academy-shell.film-immersive .film-board-heading { margin: 6px 0 14px; }
.academy-shell.film-immersive .film-board-heading h3 { margin: 0 0 6px; font-size:15px; color:var(--studio-text); }
.academy-shell.film-immersive :is(.film-board-heading p, .film-gallery-hint, .film-card-hint, .film-capability-note, .film-library-drag-hint) { color:var(--studio-muted); }
.academy-shell.film-immersive :is(.film-side-library.film-project-library, .film-post-library) {
  background:var(--studio-panel);
  border:0;
  border-right:1px solid var(--studio-border);
  border-radius:0;
  padding: 12px;
  margin: 0;
  min-width: 0;
}
.academy-shell.film-immersive .film-stage-content {
  background:var(--studio-bg);
  border:0;
  border-radius:0;
  padding: 16px;
  min-width: 0;
}
.academy-shell.film-immersive .film-side-library > header strong { color:var(--studio-text); }
.academy-shell.film-immersive .film-side-library .film-upload-button {
  background:var(--studio-raised);
  color:var(--studio-muted);
  border-color:var(--studio-border);
}
.academy-shell.film-immersive .film-side-assets { gap: 4px; }
.academy-shell.film-immersive .film-side-assets > article {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 6px;
  border:1px solid transparent;
  border-radius:5px;
  background:transparent;
}
.academy-shell.film-immersive .film-side-assets > article:hover { background:var(--studio-raised); box-shadow: none; }
.academy-shell.film-immersive .film-side-assets > article > div:last-child { width: auto; }
.academy-shell.film-immersive .film-side-assets strong { color:var(--studio-text); font-size:12px; }
.academy-shell.film-immersive .film-library-thumb { flex: 0 0 54px; width: 54px; height: 40px; aspect-ratio: auto; background:var(--studio-raised); }
.academy-shell.film-immersive .film-library-grip { color:var(--studio-accent); border-color:var(--studio-border); background:#24282be8; width: 20px; height: 20px; }
.academy-shell.film-immersive :is(.film-library-actions button, .film-library-actions a, .film-reference-actions > button, .film-card-links button) {
  color:var(--studio-accent) !important;
  background:transparent !important;
}
.academy-shell.film-immersive :is(.film-brief-fields, .film-shot-summary, .film-shot-card, .film-script-scenes article, .film-entity-grid > button, .film-art-inspector, .film-shot-inspector, .film-candidate-list > article) {
  background:var(--studio-panel);
  border-color:var(--studio-border);
  color:var(--studio-text);
  box-shadow: none;
}
.academy-shell.film-immersive :is(.film-shot-summary.is-selected, .film-shot-card.is-selected, .film-entity-grid > button[aria-pressed=true]) {
  border-color:var(--border);
  box-shadow: 0 0 0 1px #839d7960;
}
.academy-shell.film-immersive :is(.film-brief-fields label, .film-shot-summary > strong, .film-shot-card-title, .film-card-body label, .film-art-inspector label, .film-shot-inspector label) { color:var(--studio-text); }
.academy-shell.film-immersive :is(.film-shot-summary > em, .film-shot-number) { color:var(--studio-accent); }
.academy-shell.film-immersive :is(.film-shot-number, .film-shot-summary > div, .film-card-picture, .film-frame-placeholder, .film-entity-picture) { background:var(--studio-raised); }
.academy-shell.film-immersive .film-frame-placeholder { color:var(--studio-muted); }
.academy-shell.film-immersive .film-shot-card > header { border-bottom-color:var(--studio-border); }
.academy-shell.film-immersive .film-shot-detail .film-card-body { border-left-color:var(--studio-border); }
.academy-shell.film-immersive :is(.film-card-settings, .film-card-versions, .film-entity-variants, .film-legacy-notes) { border-top-color:var(--studio-border); }
.academy-shell.film-immersive :is(.film-card-settings > summary, .film-card-versions > summary, .film-reference-panel strong) { color:var(--studio-text); }
.academy-shell.film-immersive :is(.film-multi-reference, .film-reference-panel, .film-reference-source, .film-next-step, .film-return-banner, .film-source-breadcrumb, .film-inline-production, .film-production-job, .film-notice, .film-ai-draft, .film-empty-cards, .film-empty-hint, .film-practice-note) {
  background:var(--studio-panel);
  border-color:var(--studio-border);
  color:var(--studio-muted);
}
.academy-shell.film-immersive :is(.film-reference-slot, .film-reference-chips article, .film-skill-operations > article, .film-proposal-rows article, .film-ai-draft article) {
  background:var(--studio-raised);
  border-color:var(--border);
  color:var(--studio-text);
}
.academy-shell.film-immersive .film-reference-slot > header > strong { color:var(--studio-text); }
.academy-shell.film-immersive .film-reference-slot.is-unsupported { background:var(--surface); border-color:var(--border); }
.academy-shell.film-immersive .film-reference-drop-button {
  color:var(--studio-accent) !important;
  background:var(--studio-selected) !important;
}
.academy-shell.film-immersive .is-unsupported .film-reference-drop-button { background:var(--raised) !important; color:var(--muted) !important; }
.academy-shell.film-immersive .film-reference-item strong { color:var(--studio-text); }
.academy-shell.film-immersive .film-reference-thumb { background:var(--studio-raised); }
.academy-shell.film-immersive .film-reference-source strong { color:var(--studio-accent); }
.academy-shell.film-immersive .film-multi-reference > .film-reference-capability { border-color:var(--studio-border); color:var(--studio-muted); }
.academy-shell.film-immersive .film-multi-reference > .film-reference-warning { background:var(--surface); border-color:var(--accent); color:var(--accent); }
.academy-shell.film-immersive :is(.film-reference-slot, .film-reference-item, .film-reference-source).film-reference-drag-active {
  background:var(--studio-selected) !important;
  border-color:var(--studio-accent) !important;
  box-shadow: 0 0 0 2px #b9d6ac30;
}
.academy-shell.film-immersive .film-save { display: none; }

/* The post-production desk shares one grid across source, monitor and properties. */
.academy-shell.film-immersive .film-editor[data-stage=post] .film-studio-body {
  grid-template-columns: var(--studio-library-width) minmax(0, 1fr) var(--studio-properties-width);
  grid-template-rows: auto minmax(180px, 1fr) auto minmax(205px, 35%);
  gap: 0;
  min-height: 0;
}
/* Desktop docking keeps each original panel under its delegated editor.
   Mobile task tabs use real flex containers so the timeline has a definite height. */
@media(min-width:901px){
 .academy-shell.film-immersive .film-editor[data-stage=post] :is(.film-stage-content,.film-cut,.film-edit-desk){display:contents}
 .academy-shell.film-immersive .film-editor[data-stage=post] #film-notes{display:contents}
}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-post-library {
  grid-column: 1;
  grid-row: 1 / 3;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  position: static;
  scrollbar-width: thin;
}
.academy-shell.film-immersive .film-edit-bin {
  display: block;
  border:0 !important;
  border-radius:0;
  padding: 0 !important;
  background:transparent !important;
  overflow: visible !important;
  height: auto;
  max-height: none !important;
}
.academy-shell.film-immersive .film-edit-bin > header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  height: auto;
  gap: 8px;
  color:var(--studio-text);
  font-size:12px;
  margin-bottom: 10px;
}
.academy-shell.film-immersive .film-bin-upload { color:var(--studio-accent); margin: 0; line-height: 24px; }
.academy-shell.film-immersive .film-post-library .film-bin-list {
  display: block;
  height: clamp(80px, 15vh, 150px);
  min-height: 65px;
  overflow-y: auto;
  margin: 9px -3px;
  padding: 0 3px;
}
.academy-shell.film-immersive .film-bin-list > button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 7px;
  padding: 5px;
  margin: 0 0 3px;
  float: none;
  background:transparent;
  border:1px solid transparent;
  text-align: left;
}
.academy-shell.film-immersive .film-bin-list > button[aria-pressed=true] { background:var(--studio-selected); outline:1px solid var(--border); }
.academy-shell.film-immersive .film-bin-list img { width: 42px; height: 29px; float: none; margin: 0; }
.academy-shell.film-immersive .film-bin-audio { width: 42px; height: 29px; float: none; background:var(--studio-selected); color:var(--studio-accent); }
.academy-shell.film-immersive .film-bin-list > button > span:last-child { color:var(--studio-text); }
.academy-shell.film-immersive :is(.film-bin-hint, .film-bin-list > p) { color:var(--studio-muted); }
.academy-shell.film-immersive .film-source-view { display: block; border-color:var(--studio-border); padding-top: 10px; margin-top: 10px; }
.academy-shell.film-immersive .film-source-view > strong { display: block; color:var(--studio-muted); font-size:12px; }
.academy-shell.film-immersive .film-source-view > :is(img, video) { height: auto; max-height: 100px; background:var(--bg); }
.academy-shell.film-immersive .film-source-view label { color:var(--studio-muted); }
.academy-shell.film-immersive .film-source-view .film-inspector-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 9px; gap: 5px; }
.academy-shell.film-immersive .film-source-view .film-inspector-actions button { padding: 5px 4px; font-size:12px; min-width: 0; }
.academy-shell.film-immersive .film-source-drag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 9px;
  margin-top: 10px;
  background:var(--studio-selected);
  border-color:var(--border);
  color:var(--studio-accent);
  font-size:12px;
}
.academy-shell.film-immersive .film-source-drag small { font-size:12px; line-height: 1.5; color:var(--text); }
.academy-shell.film-immersive .film-personal-library-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border:1px solid var(--studio-border);
  border-radius:5px;
  background:transparent;
  color:var(--studio-muted);
  font-size:12px;
  text-align: left;
}
.academy-shell.film-immersive .film-edit-heading {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 7px 12px !important;
  border:0;
  background:var(--studio-bg);
}
.academy-shell.film-immersive .film-edit-heading .eyebrow { display: none; }
.academy-shell.film-immersive .film-edit-heading h3 { margin: 0; font-size: 0; }
.academy-shell.film-immersive .film-edit-heading h3 small { font-size:12px; margin: 0; white-space: nowrap; color:var(--studio-muted); }
.academy-shell.film-immersive .film-edit-heading > div:last-child { gap: 5px; }
.academy-shell.film-immersive .film-edit-heading button { padding: 4px 7px; font-size:12px; }
.academy-shell.film-immersive .film-program {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  padding: 3px 12px 8px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:var(--studio-bg);
}
.academy-shell.film-immersive .film-program > header { display: flex; flex-direction: row; align-items: center; flex-shrink: 0; gap: 8px; color:var(--studio-muted); font-size:12px; margin-bottom: 7px; }
.academy-shell.film-immersive .film-program > header small { font-size:12px; }
.academy-shell.film-immersive .film-monitor-title { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color:var(--studio-text); }
.academy-shell.film-immersive .film-monitor-modes { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 2px; background:var(--studio-panel); border:1px solid var(--studio-border); border-radius:5px; }
.academy-shell.film-immersive .film-monitor-modes button { padding: 3px 7px; border:0; background:transparent; font-size:12px; line-height: 15px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-monitor-modes button[aria-pressed=true] { color:var(--studio-accent); background:var(--studio-selected); }
.academy-shell.film-immersive .film-program :is(.film-cut-transport, #film-cut-seek)[hidden] { display: none !important; }
.academy-shell.film-immersive .film-monitor-source-controls[hidden] { display: none !important; }
.academy-shell.film-immersive .film-monitor-source-controls { flex-shrink: 0; padding: 7px 0 0; }
.academy-shell.film-immersive .film-source-strip { height: 24px; margin: 0 9px 5px; position: relative; border-radius:3px; background:var(--bg); border:1px solid var(--border); }
.academy-shell.film-immersive .film-source-strip > span { position: absolute; left: var(--source-in); right: calc(100% - var(--source-out)); top: 4px; bottom: 4px; background:#718c5c66; }
.academy-shell.film-immersive .film-source-strip > button { position: absolute; top: -1px; width: 20px; height: 25px; padding: 0 !important; transform: translateX(-50%); border:1px solid var(--border); border-radius:3px; background:var(--raised); color:var(--accent); cursor: ew-resize; touch-action: none; font: 11px/22px ui-monospace,monospace; }
.academy-shell.film-immersive .film-source-strip > [data-cut-source-bound=in] { left: var(--source-in); }
.academy-shell.film-immersive .film-source-strip > [data-cut-source-bound=out] { left: var(--source-out); }
.academy-shell.film-immersive .film-source-tools { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; color:var(--studio-muted); }
.academy-shell.film-immersive .film-source-tools button { font-size:12px !important; padding: 4px 7px !important; }
.academy-shell.film-immersive .film-source-tools > span { flex: 1; min-width: 130px; font: 10px/18px ui-monospace,monospace; text-align: center; }
.academy-shell.film-immersive .film-source-tools .film-monitor-source-drag { cursor: grab; border:1px dashed var(--border); color:var(--studio-accent); }
.academy-shell.film-immersive .film-source-precision { font-size:12px; margin-top: 5px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-source-precision > summary { cursor: pointer; }
.academy-shell.film-immersive .film-source-precision > label { display: inline-flex; align-items: center; gap: 5px; width: 45%; margin: 5px 2%; }
.academy-shell.film-immersive .film-source-precision input { height: 26px !important; min-height: 0; padding: 3px 5px !important; }
.academy-shell.film-immersive .film-cut-preview[data-monitor-mode=source] { cursor: grab; touch-action: none; }
.film-timeline-module { grid-column: 1 / -1; grid-row: 4; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.film-timeline-module > .film-timeline-region { flex: 1; min-height: 0; grid-template-columns: minmax(0,1fr); }
.film-timeline-module > .film-timeline-toolbar { flex-shrink: 0; }
@media(max-width:900px){
 .academy-shell.film-immersive [data-film-layout-panel=monitor] { grid-column: 2; grid-row: 2; min-height: 220px; }
 .academy-shell.film-immersive [data-film-layout-panel=timeline] { grid-column: 1 / -1; grid-row: 4; height: 330px; margin-right: 42px; }
 .academy-shell.film-immersive [data-film-layout-panel=meter] { grid-column: 1 / -1; grid-row: 4; justify-self: end; width: 42px; height: 330px; }
 .academy-shell.film-immersive .film-layout-panel-content > .film-program { height: 100%; }
 .academy-shell.film-immersive .film-layout-panel-content > .film-timeline-module { height: 100%; }
 .academy-shell.film-immersive .film-layout-panel-content > .film-timeline-meter { height: 100%; }
}
@media(max-width:650px){
 .academy-shell.film-immersive [data-film-layout-panel=monitor] { grid-column: 1; grid-row: 3; height: 360px; }
 .academy-shell.film-immersive [data-film-layout-panel=timeline],.academy-shell.film-immersive [data-film-layout-panel=meter] { grid-row: 6; }
}
.academy-shell.film-immersive .film-monitor-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  height: auto;
  container-type: size;
  padding: 0;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:5px;
}
.academy-shell.film-immersive .film-monitor-status { position: absolute; left: 8px; bottom: 8px; z-index: 4; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 16px); padding: 5px 8px; border:1px solid var(--studio-border); border-radius:4px; background:#22292bef; color:var(--studio-text); font-size:12px; line-height: 16px; pointer-events: none; }
.academy-shell.film-immersive .film-monitor-status[hidden] { display: none !important; }
.academy-shell.film-immersive .film-monitor-status[data-state=error] { border-color:var(--border); color:var(--accent); }
.academy-shell.film-immersive .film-monitor-status button { flex: 0 0 auto; padding: 3px 7px; font-size:12px; pointer-events: auto; }
.academy-shell.film-immersive .film-monitor-status button[hidden] { display: none !important; }
.academy-shell.film-immersive .film-program .film-cut-preview {
  width: min(100%, calc(100cqh * var(--film-ratio)));
  height: auto !important;
  min-height: 0;
  max-height: 100% !important;
  aspect-ratio: var(--film-aspect) !important;
  padding: 0;
  margin: 0;
  border-radius:0;
}
.academy-shell.film-immersive .film-monitor-empty { color:var(--muted); font-size:12px; }
.academy-shell.film-immersive .film-source-layer { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; overflow: hidden; background:var(--bg); pointer-events: auto; }
.academy-shell.film-immersive .film-source-layer[hidden] { display: none !important; }
.academy-shell.film-immersive .film-source-layer > :is(img, video) { display: block; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; margin: 0; }
.academy-shell.film-immersive .film-source-layer > audio { width: min(380px, 90%); height: 42px; margin: 0; }
.academy-shell.film-immersive .film-source-layer:has(> audio) { flex-direction: column; gap: 12px; }
.academy-shell.film-immersive .film-source-layer:has(> audio)::before { content: '♫\A声音素材'; white-space: pre; text-align: center; font-size:15px; line-height: 28px; color:var(--studio-accent); }
.academy-shell.film-immersive .film-cut-transport { flex-shrink: 0; padding: 8px 0 4px; margin: 0; gap: 4px; }
.academy-shell.film-immersive .film-cut-transport button { padding: 4px 7px; min-width: 26px; background:transparent; }
.academy-shell.film-immersive .film-cut-transport > span { color:var(--studio-muted); font-size:12px !important; }
.academy-shell.film-immersive #film-cut-seek { flex-shrink: 0; min-height: 13px; height: 13px; margin: 0; padding: 0 !important; border:0 !important; background:transparent !important; accent-color:var(--studio-accent); }
.academy-shell.film-immersive .film-meter-row { flex-shrink: 0; margin: 3px 0 0; color:var(--studio-muted); }
.academy-shell.film-immersive #film-audio-level { background:var(--studio-raised); }
.academy-shell.film-immersive .film-edit-inspector {
  grid-column: 3;
  grid-row: 1 / 3;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 10px;
  border-left:1px solid var(--studio-border);
  border-right:0;
  background:var(--studio-panel);
}
.academy-shell.film-immersive .film-edit-inspector > nav { gap: 0; padding: 0 0 8px; border-color:var(--studio-border); }
.academy-shell.film-immersive .film-edit-inspector > nav button { padding: 6px 3px; font-size:12px; background:transparent; }
.academy-shell.film-immersive .film-edit-inspector > nav [aria-pressed=true] { color:var(--studio-accent); background:var(--studio-selected); }
.academy-shell.film-immersive .film-edit-inspector :is(h4, .film-selected-name) { color:var(--studio-text); }
.academy-shell.film-immersive .film-edit-inspector :is(label, p, small, summary) { color:var(--studio-muted); }
.academy-shell.film-immersive .film-edit-inspector details { border-color:var(--studio-border); }
.academy-shell.film-immersive .film-inspector-empty { padding: 10px 2px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-inspector-empty > span { color:var(--muted); }
.academy-shell.film-immersive .film-timeline-toolbar {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border-top:1px solid var(--studio-border);
  border-bottom:1px solid var(--studio-border);
  background:var(--studio-panel);
}
.academy-shell.film-immersive .film-timeline-toolbar button { padding: 4px 7px; font-size:12px; }
.academy-shell.film-immersive .film-timeline-toolbar > span { display: inline; font-size:12px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-timeline-toolbar [aria-pressed=true] { background:var(--studio-selected); border-color:var(--border); color:var(--studio-accent); }
.academy-shell.film-immersive #film-cut-timeline {
  grid-column: 1 / -1;
  grid-row: 4;
  height: 100%;
  min-height: 205px;
  max-height: none;
  overflow-y: hidden;
  overflow-x: hidden;
  scrollbar-width: thin;
  background:var(--studio-bg);
  border:0;
  border-radius:0;
}
.academy-shell.film-immersive .film-timeline-region {
  grid-column: 1 / -1;
  grid-row: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:var(--studio-bg);
}
/* vis owns the track scroll area; the ruler and meter stay in this viewport. */
.academy-shell.film-immersive .film-timeline-region > #film-cut-timeline {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: none;
  overflow: hidden;
}
.academy-shell.film-immersive .film-timeline-meter { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; min-height: 0; padding: 8px 4px 7px; border-left:1px solid var(--studio-border); background:var(--studio-panel); color:var(--studio-muted); }
.academy-shell.film-immersive .film-timeline-meter > span { flex: 0 0 auto; font-size:12px; line-height: 14px; }
.academy-shell.film-immersive .film-meter-scale { position: relative; display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 4px; flex: 1; width: 100%; min-height: 0; }
.academy-shell.film-immersive .film-timeline-meter #film-audio-level { position: relative; flex: none; width: 8px; height: 100%; min-height: 0; overflow: hidden; border:1px solid var(--border); border-radius:2px; background:var(--bg); }
.academy-shell.film-immersive .film-timeline-meter #film-audio-level > i { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background:linear-gradient(to top, var(--selected) 0%, var(--selected) 75%, var(--selected) 80%, var(--selected) 90%, #d38e82 96%, #d38e82 100%); clip-path: inset(calc(100% - var(--level, 0%)) 0 0 0); }
.academy-shell.film-immersive .film-meter-ticks { position: relative; min-height: 0; font-size:12px; line-height: 10px; font-variant-numeric: tabular-nums; }
.academy-shell.film-immersive .film-meter-ticks > span { position: absolute; left: 0; transform: translateY(-50%); }
.academy-shell.film-immersive .film-meter-ticks > span:nth-child(1) { top: 0; transform: none; }
.academy-shell.film-immersive .film-meter-ticks > span:nth-child(2) { top: 20%; }
.academy-shell.film-immersive .film-meter-ticks > span:nth-child(3) { top: 40%; }
.academy-shell.film-immersive .film-meter-ticks > span:nth-child(4) { top: 80%; }
.academy-shell.film-immersive .film-timeline-meter #film-audio-db { flex: 0 0 auto; width: 100%; font-size:12px; line-height: 12px; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.academy-shell.film-immersive .film-cut .vis-timeline { border:0; border-radius:0; background:var(--studio-bg); }
.academy-shell.film-immersive .film-cut .vis-panel { border-color:var(--studio-border); }
.academy-shell.film-immersive .film-cut .vis-labelset .vis-label { padding: 4px 8px !important; border-color:var(--studio-border); background:var(--studio-panel); color:var(--studio-muted) !important; }
.academy-shell.film-immersive .film-cut .vis-time-axis .vis-text { color:var(--muted) !important; font-size:12px !important; line-height: 16px; padding: 3px 5px; font-variant-numeric: tabular-nums; }
/* Keep short ticks beside the top labels, without vertical lines across clips. */
.academy-shell.film-immersive .film-cut .vis-time-axis.vis-background { clip-path: inset(0 0 calc(100% - 22px) 0); pointer-events: none; }
.academy-shell.film-immersive .film-cut .vis-grid.vis-minor { border-color:var(--border) !important; }
.academy-shell.film-immersive .film-cut .vis-grid.vis-major { border-color:var(--border) !important; }
.academy-shell.film-immersive .film-cut .vis-panel.vis-top { background:var(--studio-panel); }
.film-frame-ruler { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; background:var(--surface); color:var(--muted); }
.film-frame-tick { position: absolute; top: 0; height: 100%; }
.film-frame-tick > i { position: absolute; bottom: 0; width: 1px; height: 4px; background:var(--raised); }
.film-frame-labelled > i { height: 7px; background:var(--surface); }
.film-frame-tick > small { position: absolute; top: 1px; left: 4px; font: 9px/14px ui-monospace, monospace; white-space: nowrap; font-variant-numeric: tabular-nums; }
.film-frame-ruler[hidden] { display: none; }
#film-cut-timeline[data-frame-ruler=true] .vis-time-axis { visibility: hidden; }
.academy-shell.film-immersive .film-cut .vis-foreground .vis-group { border-bottom-color:var(--border); }
.academy-shell.film-immersive .film-track-heading { min-width: 109px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-track-heading button { padding: 2px 5px; min-width: 20px; font-size:12px; background:var(--surface); border-color:var(--border); color:var(--muted); }
.academy-shell.film-immersive .film-track-heading [aria-pressed=true] { background:var(--raised); color:var(--accent); border-color:var(--border); }
.academy-shell.film-immersive .film-cut .vis-labelset .vis-label { padding: 0 !important; }
.academy-shell.film-immersive .film-cut .vis-labelset .vis-inner { padding: 0; display: block; }
.academy-shell.film-immersive .film-track-heading { min-width: 158px; padding: 5px 8px; }
.academy-shell.film-immersive .film-track-heading > strong { margin: 0; font-size:12px; line-height: 15px; color:var(--text); }
.academy-shell.film-immersive .film-track-controls { margin-left: auto; }
.academy-shell.film-immersive .film-track-settings > summary { color:var(--studio-text); background:var(--studio-raised); border-color:var(--studio-border); padding: 4px 7px; }
.academy-shell.film-immersive .film-track-settings > div { color:var(--studio-text); background:var(--studio-panel); border-color:var(--studio-border); box-shadow: 0 8px 25px #0006; }
.academy-shell.film-immersive .film-track-settings :is(p, label) { color:var(--studio-muted); }
.academy-shell.film-immersive .film-track-settings input[type=range] { padding: 0 !important; border:0 !important; background:transparent !important; accent-color:var(--studio-accent); }
.academy-shell.film-immersive .film-cut .film-vis-picture { background:var(--raised) !important; border-color:var(--border) !important; color:var(--accent); }
.academy-shell.film-immersive .film-cut .film-vis-overlay { background:var(--raised) !important; border-color:var(--border) !important; color:var(--text); }
.academy-shell.film-immersive .film-cut .film-vis-caption { background:var(--raised) !important; border-color:var(--accent) !important; color:var(--accent); }
.academy-shell.film-immersive .film-cut .film-vis-audio { background:var(--raised) !important; border-color:var(--border) !important; color:var(--accent); }
.academy-shell.film-immersive .film-cut .vis-item { border-radius:4px; box-shadow: none; }
.academy-shell.film-immersive .film-cut :is(.film-vis-picture, .film-vis-overlay) .vis-item-content > div > span { line-height: 14px; font-size:12px; padding-top: 2px; padding-bottom: 2px; background:#00000018; }
.academy-shell.film-immersive .film-timeline-thumbs { gap: 1px; background:var(--bg); }
.academy-shell.film-immersive .film-timeline-wave { display: block; opacity: .9; }
.academy-shell.film-immersive .film-vis-audio .vis-item-content > div > span { color:var(--accent); }
.academy-shell.film-immersive .film-cut .vis-item.vis-selected { outline:2px solid var(--studio-accent); outline-offset:-1px; }
.academy-shell.film-immersive .film-cut .film-vis-picture.vis-selected { border-color:var(--studio-accent) !important; }
.academy-shell.film-immersive .film-cut .vis-custom-time { background:var(--surface) !important; }
.academy-shell.film-immersive .film-cut .vis-custom-time::before { border-top-color:var(--accent); }
.academy-shell.film-immersive .film-cut .vis-item.vis-range :is(.vis-drag-left, .vis-drag-right) { background:#b9d6ac65; }
.academy-shell.film-immersive .film-range-source { color:var(--accent); background:#1a271bdb; }
.academy-shell.film-immersive .film-drop-active { outline:2px dashed var(--studio-accent); outline-offset:-3px; background:var(--studio-selected); }
.academy-shell.film-immersive .film-transition-mark { background:repeating-linear-gradient(45deg, #637258dd, #637258dd 5px, #839175dd 5px, #839175dd 10px); border-color:var(--studio-accent); }
.academy-shell.film-immersive .film-editor[data-stage=post] .film-inline-production { margin: 0; border:0; border-top:1px solid var(--studio-border); border-radius:0; padding: 0; }
.academy-shell.film-immersive .film-editor[data-stage=post] .film-inline-production > div { padding: 5px 12px; }
.academy-shell.film-immersive .film-editor[data-stage=post] .film-inline-production strong { font-size:12px; }
.academy-shell.film-immersive .film-editor[data-stage=post] .film-inline-production small { font-size:12px; }
.academy-shell.film-immersive .film-editor[data-stage=post]:has(.film-large-monitor) .film-studio-body { grid-template-rows: auto minmax(210px, 1fr) auto minmax(205px, 33%); }
.academy-shell.film-immersive .mentor-docked.mentor-functions {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  border:0;
  border-radius:0 !important;
  background:var(--studio-panel);
  color:var(--studio-text);
  box-shadow: none;
}
.academy-shell.film-immersive .mentor-functions > header { padding: 13px 13px 10px !important; border-bottom:1px solid var(--studio-border); }
.academy-shell.film-immersive .mentor-functions .mentor-portrait { width: 30px !important; height: 30px !important; }
.academy-shell.film-immersive .mentor-functions header strong { font-size:15px !important; color:var(--studio-text); }
.academy-shell.film-immersive .mentor-functions header strong span { color:var(--studio-muted); font-size:12px; }
.academy-shell.film-immersive .mentor-functions header small { display: block !important; font-size:12px !important; color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-online { background:var(--studio-accent); }
.academy-shell.film-immersive .mentor-functions > .mentor-context { margin: 9px 12px 0 !important; background:var(--studio-raised); color:var(--studio-muted); font-size:12px; }
.academy-shell.film-immersive .mentor-function-options { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 10px 12px; gap: 4px; }
.academy-shell.film-immersive .mentor-function-options button,
.academy-shell.film-immersive .mentor-function-options button:nth-child(n+4) { grid-column: auto; flex-direction: column; gap: 4px; padding: 6px 2px; font-size:12px; background:transparent; color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-function-options button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.academy-shell.film-immersive .mentor-function-options button[aria-pressed=true] { border-color:var(--border); color:var(--studio-accent); background:var(--studio-selected); }
.academy-shell.film-immersive .mentor-prompt-modes { background:var(--studio-bg); border-color:var(--studio-border); margin: 0 12px 9px; }
.academy-shell.film-immersive .mentor-prompt-modes button { background:transparent; color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-prompt-modes button[aria-pressed=true] { background:var(--studio-raised); color:var(--studio-accent); box-shadow: none; }
.academy-shell.film-immersive .mentor-function-scroll { display: block; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-color:var(--text) transparent; }
.academy-shell.film-immersive .mentor-functions .mentor-messages { min-height: 0 !important; max-height: none !important; padding: 4px 12px 12px !important; }
.academy-shell.film-immersive .mentor-functions .mentor-panel-greeting :is(p, small) { color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-functions .mentor-panel-greeting p { font-size:12px !important; }
.academy-shell.film-immersive .mentor-functions .mentor-panel-greeting { border-bottom-color:var(--studio-border); }
.academy-shell.film-immersive .mentor-functions :is(hr, th, td) { border-color:var(--studio-border); }
.academy-shell.film-immersive :is(.mentor-mode-intro, .mentor-stage-guide, .mentor-function-empty, .mentor-proposal, .mentor-message, .film-skill-result) {
  background:var(--studio-raised) !important;
  border-color:var(--studio-border) !important;
  color:var(--studio-text);
}
.academy-shell.film-immersive .mentor-message.user { background:var(--studio-selected) !important; }
.academy-shell.film-immersive :is(.mentor-mode-intro, .mentor-stage-guide, .mentor-function-empty) strong { color:var(--studio-text); }
.academy-shell.film-immersive :is(.mentor-mode-intro, .mentor-stage-guide, .mentor-function-empty) :is(p, small) { color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-proposal button { background:var(--studio-selected); color:var(--studio-accent); border-color:var(--border); }
.academy-shell.film-immersive .mentor-prompt-proposal { color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-proposal-skills span { background:var(--studio-selected); color:var(--studio-accent); border-color:var(--border); }
.academy-shell.film-immersive .mentor-skill-dialogue { border-color:var(--studio-border); }
.academy-shell.film-immersive .mentor-skill-dialogue summary { color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-functions > .mentor-dock-prompts { display: flex !important; border-top:1px solid var(--studio-border); padding: 8px 12px !important; max-height: 44px; }
.academy-shell.film-immersive .mentor-dock-prompts button { background:transparent; border-color:var(--studio-border); color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-functions > #mentor-form {
  margin: 0 10px 10px !important;
  padding: 10px !important;
  border-radius:8px !important;
  background:var(--studio-field) !important;
  border-color:var(--border) !important;
}
.academy-shell.film-immersive .mentor-functions > #mentor-form textarea { background:transparent !important; border:0 !important; color:var(--studio-text); min-height: 48px !important; height: 48px !important; padding: 0 !important; }
.academy-shell.film-immersive .mentor-functions > #mentor-form .primary { padding: 6px 12px !important; }
.academy-shell.film-immersive .mentor-mic { color:var(--studio-muted) !important; }
.academy-shell.film-immersive .mentor-form-mode { color:var(--studio-muted); }
.academy-shell.film-immersive .mentor-inline-status { color:var(--studio-muted); }
.academy-shell.film-immersive :is(.film-skill-panel-heading strong, .film-skill-panel .film-skill-picker > header strong, .film-skill-catalog strong, .film-skill-result header strong) { color:var(--studio-text); }
.academy-shell.film-immersive .film-skill-panel .film-skill-scope button { background:transparent; color:var(--studio-muted); border-color:var(--studio-border); }
.academy-shell.film-immersive .film-skill-panel .film-skill-scope button[aria-pressed=true] { background:var(--studio-selected); color:var(--studio-accent); border-color:var(--border); }
.academy-shell.film-immersive .film-skill-panel .film-skill-catalog button { background:var(--studio-raised); border-color:var(--studio-border); color:var(--studio-text); }
.academy-shell.film-immersive .film-skill-panel .film-skill-catalog button[aria-pressed=true] { background:var(--studio-selected); border-color:var(--border); }
.academy-shell.film-immersive .film-skill-panel .film-skill-catalog :is(button > span, em) { color:var(--studio-accent); }
.academy-shell.film-immersive .film-skill-panel .film-skill-catalog small { color:var(--studio-muted); }
.academy-shell.film-immersive .film-selected-skill-chips button { color:var(--studio-accent); background:var(--studio-selected); border-color:var(--border); }
.academy-shell.film-immersive .film-skill-panel .film-skill-instruction { color:var(--studio-muted); }
.academy-shell.film-immersive .film-skill-panel footer > button { background:var(--studio-accent); color:var(--text); border-color:var(--studio-accent); }
.academy-shell.film-immersive .film-skill-panel .film-skill-operations article { background:var(--studio-bg); border-color:var(--studio-border); }
.academy-shell.film-immersive .film-skill-panel .film-skill-history button { background:transparent; color:var(--studio-muted); border-color:var(--studio-border); }
body:has(.academy-shell.film-immersive) > .film-source-ghost { background:#29372cef; color:var(--accent); border-color:var(--border); box-shadow: 0 5px 20px #0005; }

@media (min-width: 901px) {
  .academy-shell.film-immersive .film-production-workspace { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
  .academy-shell.film-immersive :is(.film-side-library, .film-stage-content) { height: auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
  /* The source controls stay compact below a list that uses available height. */
  .academy-shell.film-immersive .film-post-library { display: flex; flex-direction: column; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin { display: flex; flex-direction: column; flex: 1 0 auto; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin > :is(header, select, .film-source-view, .film-bin-hint) { flex-shrink: 0; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin > header { margin-bottom: 6px; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin > select { height: 28px !important; min-height: 0; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin .film-bin-list { flex: 1 1 0; height: 0 !important; min-height: 65px; }
  .academy-shell.film-immersive .film-post-library .film-source-view { padding-top: 8px; margin-top: 8px; }
  .academy-shell.film-immersive .film-post-library .film-source-view > strong { margin-bottom: 4px; }
  .academy-shell.film-immersive .film-post-library .film-source-view .film-inspector-pair { margin: 5px 0; }
  .academy-shell.film-immersive .film-post-library .film-source-view input { height: 27px !important; min-height: 0; margin-top: 3px; padding: 4px 5px !important; }
  .academy-shell.film-immersive .film-post-library .film-source-view .film-inspector-actions { margin-top: 5px; gap: 4px; }
  .academy-shell.film-immersive .film-post-library .film-source-view .film-inspector-actions button { padding: 4px; line-height: 14px; }
  .academy-shell.film-immersive .film-post-library .film-source-drag { margin-top: 7px; padding: 6px; }
  .academy-shell.film-immersive .film-personal-library-link { flex-shrink: 0; padding: 6px; margin-top: 8px; }
}
@media (max-width: 1450px) and (min-width: 901px) {
  .academy-shell.film-immersive .film-project-header button { padding: 4px 6px !important; font-size:12px !important; }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .academy-shell.film-immersive .film-project-header h2 { font-size:12px; }
  .academy-shell.film-immersive .film-project-header > div:last-child { gap: 3px; }
  .academy-shell.film-immersive .film-project-header button { padding: 3px 4px !important; font-size:12px !important; }
  .academy-shell.film-immersive .film-post-library { padding: 9px; }
  .academy-shell.film-immersive .film-edit-inspector { padding: 8px; }
  .academy-shell.film-immersive .film-edit-inspector > nav button { font-size:12px; padding: 6px 1px; }
  .academy-shell.film-immersive .film-timeline-toolbar > span { display: none; }
  .academy-shell.film-immersive .film-edit-heading { padding: 7px 8px !important; flex-wrap: wrap; gap: 5px; }
  .academy-shell.film-immersive .film-edit-heading button { font-size:12px; padding: 4px 5px; }
  .academy-shell.film-immersive .mentor-function-options { padding: 9px 10px; }
  .academy-shell.film-immersive .mentor-function-options button { font-size:12px; gap: 3px; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .academy-shell.film-immersive .film-editor[data-stage=post] .film-studio-body { grid-template-rows: auto minmax(120px, 1fr) auto minmax(180px, 40%); }
  .academy-shell.film-immersive #film-cut-timeline { min-height: 180px; }
  .academy-shell.film-immersive .film-source-view > :is(img, video) { max-height: 70px; }
  .academy-shell.film-immersive .film-post-library .film-bin-list { height: 70px; min-height: 60px; }
  .academy-shell.film-immersive .film-edit-heading { padding-top: 4px !important; padding-bottom: 4px !important; }
  .academy-shell.film-immersive .film-timeline-toolbar { padding: 5px 10px !important; }
  .academy-shell.film-immersive .film-meter-row { display: none; }
}
@media (max-width: 900px) {
  .academy-shell.film-immersive .film-production-workspace { display: block; overflow: visible; }
  .academy-shell.film-immersive .film-project-header button { padding: 3px 5px !important; font-size:12px !important; }
  .academy-shell.film-immersive .film-side-library { position: static; height: auto; max-height: none; overflow: visible; }
  .academy-shell.film-immersive .film-stage-content { overflow: visible; }
  .academy-shell.film-immersive .film-editor[data-stage=post] .film-studio-body { grid-template-rows: auto 280px auto 305px; }
  .academy-shell.film-immersive .film-editor[data-stage=post]:has(.film-large-monitor) .film-studio-body { grid-template-rows: auto 370px auto 305px; }
  .academy-shell.film-immersive .film-edit-inspector { max-height: none; }
  .academy-shell.film-immersive .film-edit-inspector > nav { position: static; background:transparent; }
  .academy-shell.film-immersive .film-edit-inspector > label { display: block; width: auto; margin: 10px 0; }
  .academy-shell.film-immersive .film-timeline-toolbar > span { display: none; }
  .academy-shell.film-immersive .mentor-docked.mentor-functions { height: 460px !important; min-height: 0 !important; max-height: none !important; }
  .academy-shell.film-immersive .mentor-function-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .academy-shell.film-immersive .mentor-function-options button,
  .academy-shell.film-immersive .mentor-function-options button:nth-child(n+4) { grid-column: auto; }
  .academy-shell.film-immersive .mentor-functions .mentor-panel-greeting small { display: block !important; }
}
@media (max-width: 650px) {
  .academy-shell.film-immersive .account-menu summary > span:nth-child(2) { display: none; }
  .academy-shell.film-immersive .film-project-header > div:last-child { grid-column: 2; }
  .academy-shell.film-immersive .film-project-header h2 { font-size:12px; }
  .academy-shell.film-immersive .film-project-header button { font-size:12px !important; padding: 2px 4px !important; }
  .academy-shell.film-immersive .film-side-library { border-right:0; border-bottom:1px solid var(--studio-border); padding: 10px; max-height: 250px; overflow-y: auto; }
  .academy-shell.film-immersive .film-side-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .academy-shell.film-immersive .film-library-thumb { width: 46px; flex-basis: 46px; }
  .academy-shell.film-immersive .film-stage-content { padding: 12px; }
  .academy-shell.film-immersive .film-editor[data-stage=post] .film-studio-body,
  .academy-shell.film-immersive .film-editor[data-stage=post]:has(.film-large-monitor) .film-studio-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 290px 210px auto 310px; }
  .academy-shell.film-immersive .film-editor[data-stage=post] .film-post-library { grid-column: 1; grid-row: 1; height: auto; max-height: 300px; border-right:0; border-bottom:1px solid var(--studio-border); padding: 10px; }
  .academy-shell.film-immersive .film-post-library .film-edit-bin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px 12px; }
  .academy-shell.film-immersive .film-edit-bin > header { grid-column: 1; grid-row: 1; margin: 0; }
  .academy-shell.film-immersive .film-edit-bin > select { grid-column: 1; grid-row: 2; align-self: start; }
  .academy-shell.film-immersive .film-post-library .film-bin-list { grid-column: 1; grid-row: 3; height: 160px; margin: 0; }
  .academy-shell.film-immersive .film-post-library .film-source-view { grid-column: 2; grid-row: 1 / 4; border:0; margin: 0; padding: 0; min-width: 0; }
  .academy-shell.film-immersive .film-source-view > :is(img, video) { max-height: 65px; }
  .academy-shell.film-immersive .film-source-view .film-inspector-pair { gap: 4px; margin: 5px 0; }
  .academy-shell.film-immersive .film-source-view .film-inspector-actions { gap: 4px; margin-top: 5px; }
  .academy-shell.film-immersive .film-source-view .film-inspector-actions button { font-size:12px; padding: 4px 2px; }
  .academy-shell.film-immersive .film-source-drag { padding: 7px; margin-top: 6px; }
  .academy-shell.film-immersive .film-source-drag small { font-size:12px; }
  .academy-shell.film-immersive .film-bin-hint { grid-column: 1 / -1; margin: 3px 0; font-size:12px; }
  .academy-shell.film-immersive .film-edit-heading { grid-column: 1; grid-row: 2; padding: 7px 10px !important; }
  .academy-shell.film-immersive .film-edit-heading h3 small { display: inline; }
  .academy-shell.film-immersive .film-edit-heading > div:last-child { max-width: none; }
  .academy-shell.film-immersive .film-program { grid-column: 1; grid-row: 3; padding: 5px 10px 9px; }
  .academy-shell.film-immersive .film-monitor-stage { height: auto; }
  .academy-shell.film-immersive .film-edit-inspector { grid-column: 1; grid-row: 4; max-height: none; border-left:0; border-top:1px solid var(--studio-border); }
  .academy-shell.film-immersive .film-edit-inspector > nav { position: sticky; top: -10px; padding: 6px 0; background:var(--studio-panel); z-index: 2; }
  .academy-shell.film-immersive .film-edit-inspector > label { display: inline-block; width: calc(50% - 6px); margin-right: 4px; vertical-align: top; }
  .academy-shell.film-immersive .film-timeline-toolbar { grid-column: 1; grid-row: 5; padding: 7px 10px !important; gap: 4px; }
  .academy-shell.film-immersive .film-timeline-toolbar button { font-size:12px; padding: 4px 6px; }
  .academy-shell.film-immersive #film-cut-timeline { grid-column: 1; grid-row: 6; min-height: 310px; }
  .academy-shell.film-immersive .film-timeline-region { grid-column: 1; grid-row: 6; grid-template-columns: minmax(0, 1fr) 36px; }
  .academy-shell.film-immersive .film-timeline-region > #film-cut-timeline { grid-column: 1; grid-row: 1; min-height: 0; }
  .academy-shell.film-immersive .film-timeline-meter { padding-right: 3px; padding-left: 3px; gap: 5px; }
  .academy-shell.film-immersive .film-meter-scale { grid-template-columns: 7px minmax(0, 1fr); gap: 3px; }
  .academy-shell.film-immersive .film-timeline-meter #film-audio-level { width: 7px; }
  .academy-shell.film-immersive .film-timeline-meter #film-audio-db { font-size:12px; }
  .academy-shell.film-immersive .film-monitor-modes button { padding: 3px 6px; }
  .academy-shell.film-immersive .mentor-function-options button { font-size:12px; gap: 3px; }
  .academy-shell.film-immersive .mentor-function-options svg { width: 14px; height: 14px; }
  .academy-shell.film-immersive .mentor-docked.mentor-functions { height: 430px !important; }
}

/* Material bins resize as grids; filenames stay on one line. */
.academy-shell.film-immersive .film-side-library .film-material-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px!important;height:auto!important;min-height:0!important;overflow:visible!important;margin-top:10px}
.film-material-grid>article{position:relative;display:block!important;padding:0!important;min-width:0;background:transparent!important;border-radius:4px}
.film-material-grid>article>button[data-cut-source]{display:block;width:100%;padding:0!important;margin:0!important;border:0!important;background:transparent!important;min-width:0;text-align:left;touch-action:none}
.film-material-grid .film-library-thumb{display:flex;position:relative;width:100%!important;height:auto!important;aspect-ratio:16/9!important;flex-basis:auto!important;border-radius:4px;background:var(--surface);overflow:hidden}
.film-material-grid .film-library-thumb img{display:block;width:100%!important;height:100%!important;float:none!important;margin:0!important;object-fit:cover}
.film-material-grid strong{display:block!important;width:100%;font-size:12px!important;font-weight:400;line-height:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--film-text,var(--text))!important;margin-top:4px}
.film-material-grid [aria-pressed=true] .film-library-thumb{outline:2px solid var(--accent);outline-offset:-2px}
.film-material-grid .film-material-duration{position:absolute;right:4px;top:4px;margin:0!important;color:var(--text)!important;font-size:12px!important;padding:1px 3px;background:#0008;border-radius:2px}
.film-material-grid .film-material-delete{position:absolute;top:2px;left:2px;padding:0!important;width:18px;height:18px;min-width:0;border:0!important;border-radius:3px;background:#000a!important;color:var(--text);font-size:15px;opacity:0;z-index:3}
.film-material-grid article:hover .film-material-delete,.film-material-delete:focus-visible{opacity:1!important}
.film-material-grid .film-library-grip{right:3px;bottom:3px;width:20px;height:20px;font-size:17px;background:#0008;border:0;color:var(--text)}
.film-material-import{display:flex!important;position:relative;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:16/9;align-self:start;border:1px dashed var(--border);border-radius:4px;margin:0!important;font-size:22px;cursor:pointer;color:var(--muted)}
.film-material-import small{font-size:12px!important;margin:2px 0!important}
.film-trash-link{display:block;margin:14px 0 0;font-size:12px!important;padding:3px!important;border:0!important;background:transparent!important;color:var(--muted)!important}
.film-trash-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}.film-trash-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.film-marker-choices{display:flex;flex-wrap:wrap;gap:7px;max-height:50vh;overflow:auto}.film-marker-choices button{font-size:15px}.film-action-skill{font-size:12px!important;padding:4px 8px!important;margin-top:4px;background:transparent!important}
.film-program-layer{background:transparent!important}
.film-transform-box{position:absolute;border:1px solid var(--accent);z-index:250;cursor:move;touch-action:none;pointer-events:auto;box-sizing:border-box}
.film-transform-box[hidden]{display:none}
.film-transform-box button{position:absolute;min-width:0;padding:0;border:1px solid var(--border);background:var(--surface);color:var(--text);touch-action:none}
.film-transform-corner{width:9px;height:9px;border-radius:1px;cursor:nwse-resize}.film-transform-corner.nw{left:-4px;top:-4px}.film-transform-corner.ne{right:-4px;top:-4px;cursor:nesw-resize}.film-transform-corner.sw{left:-4px;bottom:-4px;cursor:nesw-resize}.film-transform-corner.se{right:-4px;bottom:-4px}
.film-transform-rotate{left:calc(50% - 10px);top:8px;width:20px;height:20px;border-radius:50%;cursor:grab;font-size:16px;line-height:18px}

.academy-shell.film-immersive .film-post-library .film-edit-bin{display:block!important;overflow:visible!important;height:auto!important;min-height:0!important;flex:none!important}.film-material-grid .film-material-import input[hidden]{display:none!important}
.academy-shell.film-immersive .film-post-library .film-edit-bin .film-bin-list.film-material-grid{height:auto!important;min-height:0!important;flex:none!important}
.academy-shell.film-immersive .film-transform-box button{background:var(--surface)!important;border:1px solid var(--border)!important;color:var(--text)!important;box-shadow:none!important;min-height:0!important}

/* Studio type scale: readable editing text, quiet labels, compact actions. */
.academy-shell.film-immersive {
  --studio-font-body: 12px;
  --studio-font-control: 11px;
  --studio-font-caption: 10px;
  --studio-font-heading: 14px;
  --studio-icon-size: 14px;
  font-size: var(--studio-font-body);
  line-height: 1.5;
}
.academy-shell.film-immersive :is(button, input, select, textarea) { font-family: inherit; }
.academy-shell.film-immersive .film-icon {
  width: var(--studio-icon-size);
  height: var(--studio-icon-size);
  flex: 0 0 var(--studio-icon-size);
  vertical-align: -2px;
}
.academy-shell.film-immersive :is(.film-board-heading, .film-section-heading) > h3 {
  font-size: var(--studio-font-heading); font-weight: 600; line-height: 20px; margin: 0;
}
.academy-shell.film-immersive .film-board-heading { margin: 0 0 12px; gap: 10px; align-items: center; }
.academy-shell.film-immersive .film-board-heading > button {
  min-height: 28px; padding: 4px 10px; font-size: var(--studio-font-control);
  font-weight: 500; line-height: 18px; border-radius:5px;
}
.academy-shell.film-immersive :is(.film-stage-content, .film-shot-inspector, .film-art-inspector, .film-edit-inspector) :is(button.primary, button.secondary) {
  min-height: 32px; padding: 6px 10px !important; border-radius:5px !important;
  font-size: var(--studio-font-control); font-weight: 500; line-height: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.academy-shell.film-immersive .film-board-heading > button.secondary { min-height: 28px; padding: 4px 10px; }
.academy-shell.film-immersive :is(.film-brief-fields, .film-shot-inspector, .film-art-inspector, .film-edit-inspector) label {
  font-size: var(--studio-font-control) !important; font-weight: 400; line-height: 16px; gap: 5px;
}
.academy-shell.film-immersive :is(.film-brief-fields, .film-shot-inspector, .film-art-inspector, .film-edit-inspector) :is(input, select, textarea):not(:where([type=range], [type=checkbox], [type=file])) {
  font-size: var(--studio-font-body) !important; font-weight: 400; line-height: 18px;
  padding: 6px 8px !important; border-radius:5px !important; min-height: 32px !important;
}
.academy-shell.film-immersive :is(.film-shot-inspector, .film-art-inspector) textarea {
  line-height: 1.6; min-height: 72px !important; resize: vertical;
}
.academy-shell.film-immersive :is(.film-shot-inspector, .film-art-inspector) :is(.film-card-settings, .film-card-versions) > summary {
  font-size: var(--studio-font-control); font-weight: 500; line-height: 18px;
  display: flex; align-items: center; gap: 6px;
}
.academy-shell.film-immersive :is(.film-card-links, .film-reference-actions) button {
  font-size: var(--studio-font-control); line-height: 18px; font-weight: 400;
  display: inline-flex; align-items: center; gap: 5px;
}
.academy-shell.film-immersive :is(.film-card-hint, .film-capability-note, .film-gallery-hint, .film-reference-composer > small, .film-inspector-title small, .film-selected-name small) {
  font-size: var(--studio-font-caption); font-weight: 400; line-height: 16px;
}
.academy-shell.film-immersive .film-reference-composer { padding: 8px; margin: 10px 0; }
.academy-shell.film-immersive .film-reference-composer .film-section-heading button,
.academy-shell.film-immersive .film-attachment-upload {
  font-size: var(--studio-font-control) !important; min-height: 24px;
  padding: 3px 7px !important; line-height: 16px; border-radius:4px;
}
.academy-shell.film-immersive .film-attachment > span { font-size: var(--studio-font-caption); line-height: 15px; }
.academy-shell.film-immersive .film-edit-inspector :is(h4, .film-selected-name) { font-size:15px; font-weight: 500; line-height: 18px; }
.academy-shell.film-immersive .mentor-functions .mentor-messages { font-size: var(--studio-font-body); line-height: 1.65; }
.academy-shell.film-immersive .film-monitor-modes button { font-size: var(--studio-font-control); }
.academy-shell.film-immersive .film-cut-transport > span { font-size: var(--studio-font-caption) !important; }
.academy-shell.film-immersive .film-timeline-toolbar button { font-size: var(--studio-font-control); }
.academy-shell.film-immersive .film-timeline-toolbar .film-icon { width: 14px; height: 14px; }
.academy-shell.film-immersive .film-shot-summary > strong { font-size: var(--studio-font-control); font-weight: 500; }

.academy-shell.film-immersive .film-material-toolbar { display:flex; align-items:center; gap:5px; margin:0 0 8px; }
.academy-shell.film-immersive .film-material-toolbar select { flex:1; min-width:0; margin:0; min-height:28px; padding:4px 6px!important; font-size:12px!important; border-radius:4px!important; }
.academy-shell.film-immersive .film-material-toolbar button { flex:none; width:28px; height:28px; min-height:0; padding:0!important; font-size:17px; border-radius:4px; }
.academy-shell.film-immersive .film-material-folders { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 8px; max-height:90px; overflow:auto; }
.academy-shell.film-immersive .film-material-folders button { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:3px 6px!important; font-size:12px; line-height:16px; border:1px solid var(--studio-border); border-radius:4px; }
.academy-shell.film-immersive .film-material-folders button[aria-pressed=true] { border-color:var(--studio-accent); color:var(--studio-accent); background:var(--studio-selected); }
.academy-shell.film-immersive .film-material-folders small { font-size:12px; color:var(--studio-muted); }
.academy-shell.film-immersive .film-folder-rename { font-size:12px; padding:2px 0!important; margin:0 0 8px; background:transparent!important; color:var(--studio-muted); }
.academy-shell.film-immersive .film-material-grid .film-material-move { position:absolute; right:2px; top:2px; width:20px; height:20px; min-height:0; padding:0!important; font-size:15px; line-height:18px; border:0; border-radius:3px; background:#000a!important; color:var(--text); opacity:0; z-index:4; }
.academy-shell.film-immersive .film-material-grid article:is(:hover,:focus-within) .film-material-move { opacity:1; }
.academy-shell.film-immersive .film-material-grid article .film-material-duration { top:auto; bottom:3px; }
.academy-shell.film-immersive .film-material-grid article .film-library-grip { right:auto; left:3px; }
.academy-shell.film-immersive .film-material-grid .film-library-thumb { cursor:grab; }

/* Script tools share the compact creation workspace typography. */
.film-script-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.academy-shell.film-immersive .film-script-tools>button{height:34px;min-height:34px;padding:6px 11px!important;margin:0;font-size:15px!important;font-weight:500;line-height:20px;white-space:nowrap;border:1px solid var(--studio-border);border-radius:6px;display:inline-flex;gap:7px;align-items:center;justify-content:center}
.academy-shell.film-immersive .film-script-tools>button .film-icon{width:16px;height:16px;flex:0 0 16px}
.academy-shell.film-immersive .film-script-tools>button:not(.primary):hover:not(:disabled){background:var(--surface);border-color:var(--border)}
.academy-shell.film-immersive .film-script-tools>button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}
.academy-shell.film-immersive .film-script-tools>button:disabled{opacity:.5}
@media(max-width:1100px){.film-script-tools{display:grid;grid-template-columns:repeat(2,max-content);gap:7px}}
.film-script-source{border:1px solid var(--studio-border,var(--border));border-radius:6px;padding:9px 11px;margin:0 0 12px}
.film-script-source summary{font-size:15px;cursor:pointer;color:var(--studio-muted,var(--muted));line-height:20px}
.film-script-source textarea{margin-top:10px;width:100%;font-size:15px;line-height:1.65;resize:vertical}
.film-script-source small{display:block;margin-top:6px;font-size:15px;color:var(--muted,var(--muted))}
.film-script-brief{border:1px solid var(--studio-border,var(--border));border-radius:8px;margin:0 0 16px;background:var(--studio-panel,var(--surface))}
.film-script-brief>summary{padding:11px 13px;cursor:pointer;font-size:15px;font-weight:600;line-height:20px;color:var(--studio-text,var(--text));overflow-wrap:anywhere}
.film-script-brief>summary small{display:inline-block;max-width:calc(100% - 90px);margin-left:12px;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:400;color:var(--studio-muted,var(--muted))}
.film-script-brief .film-brief-fields{border:0!important;margin:0!important;padding:12px 14px!important;box-shadow:none}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes article{padding:16px;border-radius:10px;min-width:0}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes textarea{min-height:160px;font-size:15px;line-height:1.85;resize:vertical;box-sizing:border-box}
.film-section-heading h3 small{font-size:12px;font-weight:400;color:var(--studio-muted,var(--muted));margin-left:8px}
@media(max-width:1100px){.academy-shell.film-immersive .film-script-tools{display:flex;flex-wrap:wrap;gap:7px}.academy-shell.film-immersive .film-script-tools>button{flex:0 0 auto}}
@media(max-width:900px){.academy-shell.film-immersive .film-editor[data-stage=script] .film-side-library{max-height:164px}.academy-shell.film-immersive .film-editor[data-stage=script] .film-material-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes article{padding:12px}.film-script-brief>summary small{max-width:calc(100% - 100px)}}
.film-script-art-preview{margin:12px 0;font-size:15px}
.film-script-art-preview>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.film-script-art-preview span{padding:4px 8px;border:1px solid var(--line,var(--border));border-radius:4px}
.film-activity-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;margin:0 0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:15px}
.film-activity-banner strong,.film-activity-banner small{display:block}.film-activity-banner small{margin-top:4px;font-size:12px;color:var(--muted)}
.film-entity-picture{position:relative}.film-generation-overlay{position:absolute!important;bottom:8px!important;top:auto!important;left:8px!important;right:auto!important;display:inline-flex!important;align-items:center;gap:7px;max-width:calc(100% - 16px);padding:6px 9px!important;border-radius:6px;background:#202721ed;color:var(--text)!important;font-size:12px!important;line-height:1.3!important;pointer-events:none}.film-generation-overlay .creation-spinner{width:12px;height:12px}.film-generation-overlay.failed{background:#362522ed;color:var(--accent)!important}.film-generation-overlay.succeeded{background:#202721ed}.film-art-mentor-action{display:inline-flex;align-items:center;justify-content:center;gap:6px}.film-art-mentor-action svg{width:16px;height:16px}
/* Creation dialogs live beside the app, so scope their palette explicitly. */
#dialog.film-studio-dialog{color-scheme:dark;background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-border);border-radius:10px;padding:18px;width:min(620px,94vw);box-shadow:0 16px 60px #0006;font:13px Inter,-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}
#dialog.film-studio-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}
#dialog.film-studio-dialog .modal-head{margin:0 0 16px;gap:12px}#dialog.film-studio-dialog .modal-head h2{font-size:16px;margin:0;color:var(--studio-text)}
#dialog.film-studio-dialog label,#dialog.film-studio-dialog :is(p,small){color:var(--studio-muted);font-size:15px}
#dialog.film-studio-dialog :is(input,select,textarea){background:var(--studio-field);border:1px solid var(--studio-border);color:var(--studio-text);padding:8px 10px;font-size:15px;border-radius:6px}
#dialog.film-studio-dialog :is(button,.film-viewer-toolbar a){display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--studio-field);border:1px solid var(--studio-border);color:var(--studio-text);border-radius:6px;padding:7px 10px;min-height:30px;font-size:15px;box-shadow:none;text-decoration:none}
#dialog.film-studio-dialog button.primary{background:var(--surface);color:var(--accent-ink);border-color:var(--accent)}#dialog.film-studio-dialog button:disabled{opacity:.45}#dialog.film-studio-dialog :is(button,a):focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}#dialog.film-studio-dialog .icon-button svg{width:16px;height:16px}
#dialog.film-studio-dialog :is(#film-material-move,#film-material-folder){display:flex;flex-wrap:wrap;gap:10px}#dialog.film-studio-dialog :is(#film-material-move,#film-material-folder)>label{flex-basis:100%;margin:0 0 6px}
#dialog.film-studio-dialog:has(.film-media-viewer){width:min(1200px,96vw);max-height:94dvh}.film-viewer-toolbar{display:flex;gap:8px;margin-bottom:12px}.film-viewer-toolbar a{margin-left:auto}.film-viewer-canvas{overflow:auto;max-height:calc(94dvh - 128px);background:var(--bg);border-radius:6px;padding:12px}.film-viewer-canvas img{display:block;margin:auto;max-width:100%;max-height:calc(94dvh - 152px);object-fit:contain}.film-viewer-canvas video{display:block;width:100%;max-height:calc(94dvh - 152px)}
.film-preview-sample-badge{position:absolute;left:8px;bottom:8px;z-index:1;padding:3px 8px;border-radius:5px;background:#17151be6;color:#f3edf9;font-size:12px;line-height:1.4;pointer-events:none}
#dialog.film-studio-dialog .film-preview-sample-notice{display:inline-block;margin:0 0 10px;padding:3px 8px;border-radius:5px;background:var(--studio-raised);color:var(--studio-text);font-size:12px}
@media(max-width:700px){
 #dialog.film-studio-dialog:has([data-film-image-viewer]){width:min(96vw,600px);padding:12px}
 #dialog.film-studio-dialog:has([data-film-image-viewer]) .modal-head{margin-bottom:8px}
 .film-viewer-toolbar{flex-wrap:wrap;gap:6px;margin-bottom:8px}
 .film-viewer-toolbar a{margin-left:0;white-space:nowrap}
 .film-viewer-toolbar small{flex-basis:100%;line-height:1.3}
 #dialog.film-studio-dialog .film-preview-sample-notice{margin-bottom:6px}
 .film-viewer-canvas{max-height:calc(94dvh - 190px);padding:6px}
 .film-viewer-canvas img{max-height:calc(94dvh - 202px)}
}
/* Keep image proportions unchanged while the native dialog enters and leaves. */
@supports (transition-behavior:allow-discrete){
 #dialog.film-studio-dialog:has([data-film-image-viewer]){opacity:0;transform:translateY(8px) scale(.975);transition:opacity 180ms ease,transform 180ms ease,display 180ms allow-discrete,overlay 180ms allow-discrete}
 #dialog.film-studio-dialog[open]:has([data-film-image-viewer]){opacity:1;transform:translateY(0) scale(1)}
 #dialog.film-studio-dialog:has([data-film-image-viewer])::backdrop{background-color:transparent;backdrop-filter:blur(0);transition:background-color 180ms ease,backdrop-filter 180ms ease,display 180ms allow-discrete,overlay 180ms allow-discrete}
 #dialog.film-studio-dialog[open]:has([data-film-image-viewer])::backdrop{background-color:#0009;backdrop-filter:blur(3px)}
 @starting-style{
  #dialog.film-studio-dialog[open]:has([data-film-image-viewer]){opacity:0;transform:translateY(8px) scale(.975)}
  #dialog.film-studio-dialog[open]:has([data-film-image-viewer])::backdrop{background-color:transparent;backdrop-filter:blur(0)}
 }
}
@media (prefers-reduced-motion:reduce){#dialog.film-studio-dialog:has([data-film-image-viewer]),#dialog.film-studio-dialog:has([data-film-image-viewer])::backdrop{transition:none!important}}
.film-material-grid .film-material-preview{display:block;width:100%;margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:4px;touch-action:none}
.film-material-menu{position:absolute;right:4px;top:4px;margin:0!important;padding:0!important;border:0!important;z-index:5}
.film-material-menu>summary{display:flex!important;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:24px;height:24px;padding:0!important;margin:0!important;border:1px solid #ffffff20!important;border-radius:4px;background:#181d20e8;color:var(--text);user-select:none}
.film-material-menu>summary::-webkit-details-marker{display:none}
.film-material-menu svg,.film-material-options svg{width:15px;height:15px;flex:none}
.film-material-menu>summary:is(:hover,:focus-visible),.film-material-menu[open]>summary{background:var(--raised);outline:1px solid var(--accent)}
.film-material-options{position:fixed;inset:auto;margin:0;width:168px;box-sizing:border-box;padding:5px!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:7px;box-shadow:0 8px 24px #0007;color:var(--text);z-index:1000}
.film-material-options:popover-open{display:grid;gap:2px}
.film-material-options :is(button,a){display:flex!important;align-items:center;justify-content:flex-start!important;gap:9px;width:100%;min-height:34px;box-sizing:border-box;padding:7px 9px!important;margin:0!important;border:0!important;border-radius:4px;background:transparent!important;color:var(--text)!important;text-decoration:none;font-size:15px!important;line-height:20px!important;text-align:left;white-space:nowrap}
.film-material-options :is(button,a):is(:hover,:focus-visible){background:var(--raised)!important;outline:none}
.film-material-options .film-material-danger{color:var(--accent)!important}
.film-material-menu:not([open]) .film-material-options{display:none}
.academy-shell.film-immersive .film-entity-card{overflow:hidden;border:1px solid var(--studio-border);border-radius:6px;background:var(--studio-panel);min-width:0;align-self:start}.academy-shell.film-immersive .film-entity-card.is-selected{border-color:var(--border);box-shadow:none}
.academy-shell.film-immersive .film-entity-card>button{width:100%;border:0!important;margin:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:left;padding:0!important;color:var(--studio-text)}
.academy-shell.film-immersive .film-entity-card .film-entity-picture{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--studio-raised)!important}.film-entity-card .film-entity-picture img{display:block;width:100%;height:100%;object-fit:contain}.film-preview-hint{position:absolute;right:8px;bottom:8px;background:#111c;color:var(--text);padding:4px 6px;border-radius:4px;font-size:12px;opacity:0}.film-entity-picture:hover .film-preview-hint,.film-entity-picture:focus-visible .film-preview-hint{opacity:1}
.academy-shell.film-immersive .film-entity-card .film-entity-info{display:grid;gap:5px;padding:10px!important;min-height:58px}.film-entity-info>span{font-size:15px;font-weight:600}.film-entity-info>small{font-size:12px;color:var(--studio-muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.film-candidate-preview{display:block;width:100%;padding:0!important;border:0!important;border-radius:0!important}.academy-shell.film-immersive .film-shot-summary.is-selected{box-shadow:none!important;outline:none}.academy-shell.film-immersive .film-shot-summary:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}
@media(min-width:1100px){}
@media(max-width:1099px){}
.film-generation-cost{display:block;font-size:12px;color:var(--studio-muted);line-height:1.6;margin:6px 0}.film-access-notice{font-size:15px;color:var(--studio-accent);border:1px solid var(--studio-border);padding:8px 10px;border-radius:6px}

/* Script optimization keeps original, changes and directing intent reviewable. */
.film-script-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.film-script-comparison label{min-width:0;display:grid;gap:8px}
.film-script-comparison textarea{width:100%;resize:vertical;line-height:1.7}
.film-optimization-changes article{padding:12px;margin-top:8px;border:1px solid var(--studio-border);border-radius:6px}
.film-optimization-changes .film-change-before{color:var(--studio-muted)}
.film-optimization-changes summary,.film-script-optimized summary,.film-scene-direction summary{cursor:pointer}
.film-script-optimized{margin:12px 0;border:1px solid var(--studio-border);border-radius:6px;padding:12px}
.film-script-optimized summary,.film-scene-direction summary{display:flex;align-items:center;gap:7px}
.film-scene-direction{padding:8px 0;font-size:15px}
.film-scene-direction dl{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px}
.film-scene-direction dt{color:var(--studio-muted)}
.film-scene-direction dd{margin:0;line-height:1.65}
.film-shot-skill-continuity{display:block;margin-bottom:12px}
@media(max-width:850px){.film-script-comparison{grid-template-columns:1fr}}

.film-board-actions,.film-guided-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.film-board-actions svg,.film-guided-creation svg{width:16px;height:16px;flex:none;vertical-align:middle}
.film-guided-creation{display:grid;gap:14px;padding:14px;background:var(--film-panel,var(--surface));border:1px solid var(--border);border-radius:10px}
.film-guided-creation>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.film-guided-creation>header strong{display:flex;align-items:center;gap:8px}
.film-guided-creation p{margin:0;line-height:1.65;white-space:pre-wrap;font-size:15px}
.film-guided-creation label{display:grid;gap:7px;font-size:15px}
.film-guided-creation select,.film-guided-creation textarea{width:100%;min-height:36px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:7px;padding:8px 10px;font:inherit}
.film-guided-creation button{font-size:15px;min-height:34px;padding:7px 10px}
.film-guided-preview{max-height:260px;overflow:auto;display:grid;gap:8px}
.film-guided-preview article{padding:10px;border:1px solid var(--border);border-radius:7px}
.film-guided-preview article p{color:var(--text);margin-top:5px}
.film-guided-total{display:grid;gap:7px;padding:12px;border-radius:8px;background:var(--raised)}
.film-guided-total small{line-height:1.6;color:var(--text)}
/* Keep shot setup compact so the prompt remains the main editing surface. */
.academy-shell.film-immersive .film-shot-inspector .film-generation-parameters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.academy-shell.film-immersive .film-shot-inspector .film-motion-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin:8px 0}
.academy-shell.film-immersive .film-shot-inspector :is(.film-generation-parameters,.film-motion-presets)>label{min-width:0;margin:0;font-size:12px;gap:4px}
.academy-shell.film-immersive .film-shot-inspector :is(.film-generation-parameters,.film-motion-presets) :is(input,select){min-width:0;width:100%;height:32px;padding:5px 7px;box-sizing:border-box}
.academy-shell.film-immersive .film-shot-inspector .film-generation-prompt{margin:8px 0}
.academy-shell.film-immersive .film-shot-inspector .film-generation-prompt textarea{min-height:180px;resize:vertical;line-height:1.65}
.academy-shell.film-immersive .film-shot-inspector .film-card-settings{margin:8px 0}
.film-shot-summary>div>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
.film-shot-summary.is-preview-playing>div>video{opacity:1}
.film-shot-summary.is-preview-playing>div>b{display:none}
.film-shot-summary [data-film-shot-preview]{cursor:zoom-in}

/* Video creation: a continuous prompt composer and transient tool libraries. */
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]){}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-stage-content{background-image:radial-gradient(#ffffff16 .65px,transparent .65px);background-size:20px 20px;padding:24px!important}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-summary{width:100%;border:0!important;background:transparent!important;padding:0!important;text-align:left;overflow:visible}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-summary>div{border-radius:12px;overflow:hidden;aspect-ratio:16/9;border:1px solid #ffffff14}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-summary.is-selected>div{outline:2px solid var(--studio-accent);outline-offset:3px}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-summary>strong{display:block;margin:12px 0 6px;font-size:15px;line-height:1.5}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-summary>small{padding:0;color:var(--studio-muted);font-size:15px}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-board-heading{margin-bottom:22px}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-board-heading h3{font-size:20px}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-scene-group>h4{color:var(--studio-muted);font-weight:400;font-size:15px;margin-bottom:18px}
.academy-shell.film-immersive .film-video-inspector{display:flex;flex-direction:column;gap:12px;padding:16px!important;background:transparent}
.film-video-context{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 8px;flex-shrink:0}
.film-video-context>span{font-size:15px;color:var(--studio-muted)}
.academy-shell.film-immersive .film-video-context>input{border:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;padding:3px 0!important;height:28px}
.academy-shell.film-immersive .film-video-context>select{grid-column:1/-1;border:0!important;background:transparent!important;padding:0!important;font-size:15px!important;color:var(--studio-muted);height:24px}
.academy-shell.film-immersive .film-video-composer{display:flex;flex-direction:column;flex:1 0 auto;min-height:380px;border:1px solid var(--border);border-radius:20px;background:var(--surface);padding:14px;box-sizing:border-box;position:relative}
.film-prompt-helper-bar{display:flex;align-items:center;gap:6px;flex-shrink:0}
.academy-shell.film-immersive .film-prompt-helper-bar>button,.film-composer-more>summary{background:#ffffff08!important;border:0!important;border-radius:20px!important;padding:7px 10px!important;color:var(--text);font-size:15px!important;display:flex;align-items:center;gap:4px;cursor:pointer;white-space:nowrap}
.film-prompt-helper-bar svg{height:14px;width:14px}
.academy-shell.film-immersive .film-prompt-helper-bar>.film-prompt-expand{margin-left:auto;background:transparent!important;font-size:18px!important}
.film-composer-more{position:relative}.film-composer-more>summary{list-style:none}.film-composer-more>div{position:absolute;top:36px;right:0;width:220px;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;z-index:50;box-shadow:0 16px 40px #0006;display:grid}
.academy-shell.film-immersive .film-composer-more button{background:transparent!important;text-align:left;border:0;padding:9px!important}
.academy-shell.film-immersive .film-video-prompt{flex:1;min-height:270px;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;font-size:15px;line-height:2.05;padding:24px 0 16px;color:var(--text);caret-color:var(--accent);tab-size:2}
.film-video-prompt:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}
.film-prompt-mention{display:inline;padding:3px 7px;margin:0 2px;border-radius:6px;border:1px solid var(--border);background:var(--raised);color:var(--text);font-size:.94em;white-space:normal;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.film-prompt-footnote{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;padding:8px 0 12px;border-top:1px solid #ffffff08}
.film-prompt-footnote small{font-size:12px;white-space:nowrap}
.film-video-output{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.film-video-model{max-width:120px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--text);font-size:12px}
.film-video-output-settings{display:flex;align-items:center;gap:2px;border:1px solid var(--border);border-radius:8px;padding:3px;flex:0 1 auto;font-size:12px;color:var(--text)}
.academy-shell.film-immersive .film-video-output-settings label{margin:0;display:block}
.academy-shell.film-immersive .film-video-output-settings select{background:transparent!important;border:0!important;font-size:12px!important;height:24px;padding:0 3px!important;max-width:105px}
.film-video-output-settings>span{padding:0 6px;border-left:1px solid var(--border);border-right:1px solid var(--border)}
.academy-shell.film-immersive .film-video-generate{margin-left:auto;min-width:38px;width:38px;height:38px;border-radius:12px!important;font-size:26px!important;padding:0!important;line-height:1}
.film-video-generation-status:empty{display:none}.film-video-credit{font-size:12px;color:var(--studio-muted)}
.film-video-reference-details>summary,.film-video-inspector>.film-card-versions>summary{font-size:15px;color:var(--studio-muted);cursor:pointer;padding:4px 0;list-style:none}
.film-video-reference-details>summary:before,.film-video-inspector>.film-card-versions>summary:before{content:'›';margin-right:8px}.film-video-reference-details[open]>summary:before{content:'⌄'}
.film-video-reference-details>summary span{margin-left:5px;border:1px solid var(--border);border-radius:5px;padding:0 5px}
.film-video-actions{display:flex;gap:8px;flex-wrap:wrap}
.academy-shell.film-immersive .film-video-actions>button{border:0!important;background:transparent!important;color:var(--studio-muted);padding:4px 0!important;font-size:15px!important}
.film-video-composer.is-expanded{position:fixed!important;z-index:1005;inset:80px 12%;height:calc(100dvh - 120px);box-shadow:0 0 0 100vmax #000a;overflow:auto}
.film-video-composer.is-expanded .film-video-prompt{overflow:auto}
/* Equal panels remain draggable and resizable; space belongs to writing. */
@media(min-width:901px){
 .academy-shell.film-immersive:has(.film-editor[data-stage=shots]) [data-film-layout-panel]:is([data-film-layout-panel=inspector],[data-film-layout-panel=mentor]){border:1px solid var(--border)!important;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px #0002}
 .academy-shell.film-immersive:has(.film-editor[data-stage=shots]) [data-film-layout-panel]:is([data-film-layout-panel=inspector],[data-film-layout-panel=mentor])>.film-layout-panel-bar{padding:12px 14px;background:transparent;border:0;min-height:40px;flex-basis:40px}
 .academy-shell.film-immersive:has(.film-editor[data-stage=shots]) [data-film-layout-panel]:is([data-film-layout-panel=inspector],[data-film-layout-panel=mentor]) .film-layout-panel-title{font-size:18px!important;font-weight:600}
 .academy-shell.film-immersive:has(.film-editor[data-stage=shots]) [data-film-layout-panel=inspector] .film-layout-panel-content{overflow:auto}
 .academy-shell.film-immersive:has(.film-editor[data-stage=shots]) [data-film-layout-panel=mentor] .mentor-docked{border:0!important;background:transparent}
}
/* Contextual assistant starter tasks; chat uses the existing conversation. */
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-docked>header{padding:6px 18px 18px;border:0}
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-portrait{width:52px;height:52px;flex-basis:52px}
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-docked>header strong{font-size:15px}
.mentor-video-empty{padding:12px 6px 28px}.mentor-video-empty>h3{font-size:16px;font-weight:500;text-align:center;margin:10px 0}.mentor-video-empty>p{font-size:15px;line-height:1.8;color:var(--muted);text-align:center;margin-bottom:24px}
.mentor-video-spark{display:flex;justify-content:center;color:var(--accent)}.mentor-video-spark svg{width:36px;height:36px}
.mentor-video-tasks{display:grid;gap:12px}
.academy-shell.film-immersive .mentor-video-task{display:flex;align-items:center;text-align:left;gap:14px;padding:16px!important;background:#ffffff02!important;border:1px solid var(--border)!important;border-radius:14px!important}
.mentor-video-task>svg{width:23px;height:23px;flex-shrink:0;color:var(--text)}.mentor-video-task>span{flex:1;min-width:0}.mentor-video-task strong{display:block;font-weight:500;font-size:15px}.mentor-video-task small{display:block;color:var(--muted);line-height:1.7;font-size:12px;margin-top:4px}.mentor-video-task i{font-style:normal;color:var(--muted)}
.academy-shell.film-immersive .mentor-video-form{margin:12px!important;border:1px solid var(--border)!important;border-radius:18px;padding:14px!important;background:var(--surface)!important}
.mentor-video-context{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;padding:4px 8px;border:1px solid var(--border);border-radius:7px;width:fit-content;max-width:100%;box-sizing:border-box}
.mentor-video-context svg{width:14px;height:14px;flex-shrink:0}.mentor-video-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.academy-shell.film-immersive .mentor-video-form textarea{min-height:88px;border:0!important;background:transparent!important;padding:14px 0!important;resize:vertical}
/* The same compact ability menu serves every creation stage. */
.academy-shell.film-immersive .mentor-mode-menu{color:var(--studio-muted)}
.academy-shell.film-immersive .mentor-mode-menu>summary:hover,.academy-shell.film-immersive .mentor-mode-menu[open]>summary{background:var(--studio-raised);color:var(--studio-text)}
.academy-shell.film-immersive .mentor-mode-menu>summary:focus-visible{outline-color:var(--studio-accent)}
.academy-shell.film-immersive .mentor-mode-popover{background:var(--surface);border-color:var(--border);box-shadow:0 12px 36px #0006}
.academy-shell.film-immersive .mentor-mode-popover>small{color:var(--studio-muted)}
.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options{display:flex;flex-direction:column;padding:0;gap:3px}
.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button,.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button:nth-child(n+4){flex-direction:row;justify-content:flex-start;gap:10px;padding:9px 10px;border:0;font-size:15px;color:var(--studio-text);background:transparent}
.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button:hover{background:#ffffff08}
.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-mode-menu .mentor-function-options button[aria-pressed=true]{background:var(--studio-selected);color:var(--studio-accent)}
.academy-shell.film-immersive .mentor-mode-menu .mentor-prompt-modes{margin:8px 0 0}

/* Bound text and controls to the dock, including narrow and floating panels. */
.academy-shell.film-immersive .mentor-functions > #mentor-form{display:block!important;min-width:0;box-sizing:border-box;padding:10px!important}
.academy-shell.film-immersive .mentor-functions > #mentor-form textarea{display:block;width:100%!important;max-width:100%;box-sizing:border-box;height:88px!important;min-height:72px!important;max-height:160px;padding:9px 10px!important;border:1px solid var(--studio-border)!important;border-radius:6px!important;font-size:15px!important;line-height:1.65;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;resize:vertical;outline-offset:1px}
.academy-shell.film-immersive .mentor-functions > #mentor-form > div:last-child{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin-top:8px!important}
.academy-shell.film-immersive .mentor-functions > #mentor-form .primary,.academy-shell.film-immersive .mentor-proposal-actions button{height:34px;min-height:34px;max-width:100%;border-radius:6px!important;font-size:15px!important;line-height:1.2;padding:6px 10px!important;box-sizing:border-box;white-space:normal;margin:0!important}
.academy-shell.film-immersive .mentor-mode-menu > summary{min-height:34px;box-sizing:border-box;padding:4px 6px;gap:6px;font-size:15px}
.academy-shell.film-immersive .mentor-mode-plus{width:18px;height:18px}
.academy-shell.film-immersive .mentor-mode-plus svg{width:16px;height:16px}
.academy-shell.film-immersive .mentor-proposal{min-width:0;overflow-wrap:anywhere}
.academy-shell.film-immersive .mentor-proposal textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:8px 10px!important;border-radius:6px!important;font-size:15px!important;line-height:1.65}
.academy-shell.film-immersive .mentor-proposal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.academy-shell.film-immersive .mentor-inline-status{overflow-wrap:anywhere;padding:8px 12px!important;margin:0 10px 8px!important;font-size:15px!important;line-height:1.6}
.academy-shell.film-immersive .mentor-message p{white-space:pre-wrap;overflow-wrap:anywhere}
.academy-shell.film-immersive .mentor-dock-prompts button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important}
/* Library overlays are shown only while choosing something to insert. */
dialog.film-prompt-library-dialog{width:min(1160px,94vw)!important;max-width:94vw;max-height:86dvh;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:22px;padding:20px!important;box-sizing:border-box}
.film-prompt-library-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:10px 0}.film-prompt-library-tabs{display:flex;gap:6px;flex-wrap:wrap}
.film-prompt-library-tabs>button{border:0!important;border-radius:10px!important;background:transparent!important;color:var(--muted);padding:9px 12px!important;font-size:15px!important}
.film-prompt-library-tabs>button[aria-pressed=true]{background:var(--raised)!important;color:var(--text)}
.film-prompt-library-search{flex:1;min-width:180px}.film-prompt-library-search input{width:100%;border:0!important;background:var(--raised)!important;border-radius:10px!important;color:var(--text);padding:11px 14px!important;box-sizing:border-box}
.film-prompt-library-note{font-size:15px;color:var(--muted);margin:14px 0}
.film-prompt-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-height:61dvh;overflow:auto;scrollbar-width:thin;padding:4px}
.film-prompt-preset-card{position:relative;min-width:0}.film-prompt-preset-choice,.film-prompt-asset-card{display:block;width:100%;background:transparent!important;border:0!important;padding:0!important;text-align:left!important;color:inherit;cursor:pointer}
.film-prompt-preset-preview,.film-prompt-asset-image{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface);border-radius:10px;border:1px solid #ffffff12}
.film-prompt-preset-image,.film-prompt-asset-image img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.18);transition:transform .5s}
.film-prompt-asset-image img{transform:none}.film-prompt-preset-frame{position:absolute;inset:18%;border:1px solid #dbe9dc70;border-radius:2px;pointer-events:none}
.film-prompt-preset-demo{position:absolute;bottom:8px;left:8px;font-size:12px;color:var(--text);background:#1119;border-radius:4px;padding:2px 5px}
.film-prompt-preset-info,.film-prompt-asset-info{display:block;padding:10px 0 5px}.film-prompt-preset-info strong,.film-prompt-asset-info strong{display:block;font-size:15px;font-weight:500}.film-prompt-preset-info small,.film-prompt-asset-info small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}
.film-prompt-preset-favorite{position:absolute;right:7px;top:7px;width:28px;height:28px;background:#111a!important;border:0!important;color:var(--text);border-radius:7px!important;padding:0!important;font-size:22px!important;cursor:pointer}
.film-prompt-library-empty{grid-column:1/-1;min-height:120px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:15px}
.film-prompt-preset-placeholder{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 20%,var(--raised),var(--surface) 80%)}.film-prompt-preset-ground{position:absolute;inset:60% -20% -30%;transform:perspective(150px) rotateX(45deg);background:repeating-linear-gradient(90deg,transparent 0 29px,#9fbaa640 30px),repeating-linear-gradient(transparent 0 29px,#9fbaa640 30px)}.film-prompt-preset-subject{position:absolute;left:44%;bottom:20%;width:12%;height:43%;background:linear-gradient(var(--surface),var(--raised));border-radius:40% 40% 25% 25%;box-shadow:0 20px 16px #0005}
.film-prompt-asset-placeholder{display:grid;place-items:center;height:100%;font-size:42px;color:var(--muted)}
.film-prompt-preset-preview[data-preview=close] .film-prompt-preset-image,.film-prompt-preset-preview[data-preview=detail] .film-prompt-preset-image{transform:scale(1.6)}
.film-prompt-preset-preview[data-preview=extreme] .film-prompt-preset-image{transform:scale(2)}
.film-prompt-preset-choice:hover [data-preview=push] .film-prompt-preset-image,.film-prompt-preset-choice:hover [data-preview=follow] .film-prompt-preset-image{animation:film-demo-push 3s ease-in-out infinite alternate}
.film-prompt-preset-choice:hover [data-preview=pull] .film-prompt-preset-image{animation:film-demo-push 3s ease-in-out infinite alternate-reverse}
.film-prompt-preset-choice:hover :is([data-preview=left],[data-preview=right],[data-preview=pan-left],[data-preview=pan-right]) .film-prompt-preset-image{animation:film-demo-pan 3s ease-in-out infinite alternate}
.film-prompt-preset-choice:hover :is([data-preview=tilt-up],[data-preview=tilt-down],[data-preview=rise],[data-preview=descend]) .film-prompt-preset-image{animation:film-demo-tilt 3s ease-in-out infinite alternate}
.film-prompt-preset-choice:hover :is([data-preview=orbit],[data-preview=spiral-up],[data-preview=spiral-down]) .film-prompt-preset-image{animation:film-demo-orbit 4s ease-in-out infinite alternate}
.film-prompt-preset-choice:hover [data-preview=handheld] .film-prompt-preset-image{animation:film-demo-handheld .8s ease-in-out infinite alternate}
@keyframes film-demo-push{from{transform:scale(1.05)}to{transform:scale(1.55)}}
@keyframes film-demo-pan{from{transform:scale(1.2) translateX(-6%)}to{transform:scale(1.2) translateX(6%)}}
@keyframes film-demo-tilt{from{transform:scale(1.2) translateY(6%)}to{transform:scale(1.2) translateY(-6%)}}
@keyframes film-demo-orbit{from{transform:scale(1.2) rotate(-5deg) translateX(-4%)}to{transform:scale(1.3) rotate(5deg) translateX(4%)}}
@keyframes film-demo-handheld{from{transform:scale(1.2) rotate(-.6deg) translate(0,-1%)}to{transform:scale(1.2) rotate(.6deg) translate(1%,0)}}
@media(prefers-reduced-motion:reduce){.film-prompt-preset-image{animation:none!important;transition:none!important}}
@media(max-width:900px){.film-prompt-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.film-video-composer.is-expanded{inset:60px 4%;height:calc(100dvh - 90px)}.film-video-inspector{min-height:500px}.film-video-prompt{min-height:300px}}
@media(max-width:650px){.film-prompt-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.film-prompt-library-toolbar{gap:8px}.film-prompt-library-tabs{gap:2px}.film-prompt-library-tabs>button{font-size:15px!important;padding:6px 8px!important}.film-prompt-library-search{flex-basis:100%}.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.academy-shell.film-immersive .film-editor[data-stage=shots] .film-stage-content{padding:14px!important}.film-video-model{max-width:90px}.film-prompt-helper-bar{gap:4px}.academy-shell.film-immersive .film-prompt-helper-bar>button{padding:6px 8px!important}}
.academy-shell.film-immersive .film-video-context{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;min-height:44px}
.academy-shell.film-immersive .film-video-context>span{white-space:nowrap}
.academy-shell.film-immersive .film-video-composer{flex:1 1 330px;min-height:330px}
.academy-shell.film-immersive .film-video-prompt{min-height:150px;overflow:auto}
@media(min-width:901px) and (max-width:1450px){.academy-shell.film-immersive .film-editor[data-stage=shots] .film-shot-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mentor-video-empty{padding:4px 4px 12px}.mentor-video-empty>p{margin-bottom:12px}.academy-shell.film-immersive .mentor-video-task{padding:12px!important}.mentor-video-tasks{gap:8px}.mentor-video-spark svg{height:24px;width:24px}}
.academy-shell.film-immersive .film-video-output{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 8px}
.film-video-output>.film-video-model{grid-column:1/-1;max-width:none;line-height:1.4}
.film-video-output-settings{width:fit-content}
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-docked .mentor-portrait{width:46px;height:46px;min-width:46px;flex:0 0 46px;border-radius:50%;overflow:hidden}.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-docked .mentor-portrait img{width:100%;height:100%;object-fit:cover}
#dialog.film-prompt-library-dialog .film-prompt-preset-choice,#dialog.film-prompt-library-dialog .film-prompt-asset-card{display:block!important;width:100%;text-align:left!important;line-height:1.5}
#dialog.film-prompt-library-dialog :is(.film-prompt-preset-preview,.film-prompt-asset-image){width:100%}
#dialog.film-prompt-library-dialog :is(.film-prompt-preset-info,.film-prompt-asset-info){display:block;width:100%;box-sizing:border-box;white-space:normal}
.academy-shell.film-immersive:has(.film-editor[data-stage=shots]) .mentor-docked .mentor-portrait{width:46px!important;height:46px!important}
.academy-shell.film-immersive .film-director-board{color:var(--studio-text);min-width:0;max-width:1440px;margin:0 auto;padding:12px 10px 20px}
.film-director-heading,.film-director-heading>div:last-child,.film-board-title,.film-board-intention,.film-board-footer,.film-director-prompt-heading,.film-director-prompt-tools,.film-director-inspector>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.film-director-heading{margin-bottom:24px}.film-director-heading small{font-size:12px;letter-spacing:2px;color:var(--studio-muted)}.film-director-heading h2{font-size:19px;font-weight:600;margin:8px 0}.film-director-heading h2 span{font-size:12px;font-weight:400;color:var(--studio-muted);margin-left:12px}
.film-director-workbench{display:grid;grid-template-columns:158px minmax(0,1fr);gap:26px}.film-director-board.is-expanded .film-director-workbench{grid-template-columns:minmax(0,1fr)}
.film-storyboard-rail{display:flex;flex-direction:column;gap:14px}.film-storyboard-rail>button{padding:8px!important;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:6px;background:transparent!important;border:1px solid transparent!important;border-radius:9px!important;color:var(--studio-text)!important}.film-storyboard-rail>button[aria-pressed=true]{background:#a8bd8b0b!important;border-color:#82947470!important}.film-storyboard-rail small{font-size:12px;letter-spacing:1px;color:var(--studio-muted)}.film-storyboard-rail strong{font-size:15px;font-weight:500}.film-storyboard-rail span{font-size:12px;color:var(--studio-muted)}
.film-board-mosaic{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,42px);gap:2px;border-radius:5px;overflow:hidden;background:var(--surface)}.film-board-mosaic img{width:100%;height:100%;object-fit:cover}.film-board-mosaic .film-frame-placeholder{min-height:0!important;padding:0!important}.film-board-mosaic .film-frame-placeholder>*{display:none}.film-board-mosaic>span{grid-column:1/-1;text-align:center;padding:15px;font-size:22px}
.film-storyboard-canvas{min-width:0}.film-board-intention{align-items:flex-start;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #ffffff0d}.film-board-title{justify-content:flex-start}.film-board-title h3{font-size:18px;font-weight:500;margin:0}.film-board-duration{font-size:12px;white-space:nowrap;padding:5px 9px;border-radius:5px;color:var(--text);background:#9bb77f12}.film-board-duration.is-invalid{color:#d8b385;background:#d8b38512}.film-board-intention p{color:var(--studio-muted);font-size:15px;line-height:1.7;margin:9px 0 0;max-width:720px}.film-board-intention>button{white-space:nowrap}
.film-director-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.film-director-shot{min-width:0;overflow:hidden;border:1px solid transparent;border-radius:7px;background:#ffffff02}.film-director-shot.is-selected{border-color:#a4bc8380;background:#a4bc8306}.film-director-frame{padding:0!important;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;display:block;border:0!important;background:var(--surface)!important;border-radius:5px!important}.film-director-frame>img{width:100%;height:100%;object-fit:cover}.film-director-frame>span{position:absolute;left:9px;top:9px;background:#111c;color:var(--text);border-radius:4px;padding:4px 6px;font-size:12px}.film-director-frame>i{position:absolute;right:9px;bottom:9px;font-style:normal;color:var(--text);background:#111a;padding:3px 6px;border-radius:3px;cursor:zoom-in}.film-director-frame .film-frame-placeholder{height:100%;min-height:0!important;justify-content:center!important;padding:12px!important;box-sizing:border-box}.film-director-frame .film-frame-placeholder small{display:none}
.film-director-caption{width:100%;text-align:left;padding:11px 9px!important;background:transparent!important;border:0!important}.film-director-caption>div:first-child{display:flex;justify-content:space-between;gap:8px}.film-director-caption strong{font-size:15px;font-weight:500;color:var(--studio-text)}.film-director-caption small{font-size:12px;color:var(--studio-muted);white-space:nowrap}.film-director-caption p{font-size:12px;line-height:1.7;margin:7px 0 10px;color:var(--studio-muted);min-height:36px}.film-director-skills{display:flex;flex-wrap:wrap;gap:5px}.film-director-skills>span{font-size:12px;color:var(--muted);background:#a7bd820b;border:1px solid #a7bd8218;border-radius:4px;padding:3px 5px}.film-director-skills>button{font-size:12px!important;padding:3px 6px!important}
.film-board-footer{margin-top:26px;padding-top:17px;border-top:1px solid #ffffff0d}.film-board-footer>div{display:grid;gap:7px}.film-board-footer strong{font-size:12px;font-weight:500}.film-board-footer small,.film-board-timing-warning{font-size:12px;line-height:1.7;color:var(--studio-muted)}.film-board-footer>button{white-space:nowrap}.film-board-timing-warning{color:#d4b485;background:#d4b4850a;padding:9px 12px;border-radius:6px}
.film-board-beat-strip{display:flex;gap:3px;margin-top:24px;background:var(--surface);border:1px solid #ffffff0e;border-radius:7px;padding:5px;overflow:hidden}.film-board-beat-strip>button{min-width:0;text-align:left;padding:8px!important;background:#a5b3870b!important;border:1px solid transparent!important;border-radius:4px!important;display:grid;gap:6px}.film-board-beat-strip>button[aria-pressed=true]{border-color:#a4bc8370!important;background:#a4bc831a!important}.film-board-beat-strip span{font-size:12px;white-space:nowrap}.film-board-beat-strip small{font-size:12px;color:var(--studio-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.film-director-empty{padding:65px 24px;text-align:center;grid-column:1/-1;border:1px dashed #ffffff1a;border-radius:10px;color:var(--studio-muted)}.film-director-empty strong{font-size:18px;font-weight:500;color:var(--studio-text)}.film-director-empty p{font-size:15px;line-height:1.8;margin:15px auto;max-width:420px}
.academy-shell.film-immersive .film-director-inspector{padding:18px!important}.film-director-inspector>header{margin-bottom:14px}.film-director-inspector>header small{font-size:12px;letter-spacing:1px;color:var(--studio-muted)}.film-director-shot-meta{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:10px}.film-director-inspector label{font-size:12px!important}.film-director-inspector textarea{line-height:1.7!important;font-size:15px!important}.film-shot-continuity{margin:18px 0;padding-top:15px;border-top:1px solid #ffffff0d}.film-shot-continuity>small{font-size:12px;color:var(--studio-muted)}.film-shot-continuity>p{font-size:12px;line-height:1.8;color:var(--studio-muted)}.film-shot-continuity strong{color:var(--studio-text);font-weight:500}
.film-director-prompt{border:1px solid #ffffff12;border-radius:10px;background:#ffffff02;padding:12px;margin:17px 0}.film-director-prompt-heading strong{font-size:15px;font-weight:500}.film-director-prompt-heading small{font-size:12px;color:var(--studio-muted)}.film-director-prompt .film-video-prompt-editor{min-height:210px;line-height:1.85;font-size:15px;padding:14px 0;outline:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--studio-text)}.film-director-prompt-tools{justify-content:flex-start;gap:4px;flex-wrap:wrap;border-top:1px solid #ffffff0d;padding-top:8px}.film-director-prompt-tools>button{font-size:12px!important;padding:5px 7px!important;background:transparent!important}.film-director-prompt>small{display:block;font-size:12px;line-height:1.7;color:var(--studio-muted);margin-top:8px}.film-director-generate{display:grid;gap:8px;margin:16px 0}.film-director-generate small{font-size:12px;color:var(--studio-muted);text-align:center}.film-board-edit-details{border-top:1px solid #ffffff0d;padding-top:12px;font-size:12px;margin:15px 0}.film-board-edit-details>summary{cursor:pointer;color:var(--studio-muted);margin-bottom:10px}.film-board-edit-actions{display:flex;gap:6px;flex-wrap:wrap}.film-board-edit-actions>button{font-size:12px!important;padding:6px 8px!important}

@media(max-width:1150px){.film-director-workbench{grid-template-columns:120px minmax(0,1fr);gap:14px}.film-director-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.film-director-heading>div:last-child{gap:4px}.film-director-heading h2{font-size:16px}}
@media(max-width:650px){.film-director-workbench{display:flex;flex-direction:column;gap:18px}.film-storyboard-rail{flex-direction:row;overflow:auto;padding-bottom:4px}.film-storyboard-rail>button{flex:0 0 132px}.film-director-board{padding:10px 0!important}.film-director-heading{flex-wrap:wrap;gap:8px;margin-bottom:16px}.film-director-heading h2 span{display:block;margin:8px 0 0}.film-director-grid{gap:16px 8px}.film-board-title{flex-wrap:wrap;gap:8px}.film-board-title h3{font-size:16px}.film-board-footer{flex-wrap:wrap}.film-board-footer>button{width:100%}.film-director-caption{padding:8px 5px!important}.film-director-caption strong{font-size:12px}.film-director-caption p{font-size:12px}.film-board-beat-strip{overflow:auto}.film-board-beat-strip>button{min-width:90px}.film-director-prompt .film-video-prompt-editor{min-height:180px}.film-director-inspector{margin-top:18px!important}.film-board-intention p{font-size:12px}}

.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-prompt-modes button{background:transparent;color:var(--studio-muted)}
.academy-shell.film-immersive :is(#mentor-form,#mentor-home-form) .mentor-prompt-modes button[aria-pressed=true]{background:var(--studio-raised);color:var(--studio-accent)}

.academy-shell.film-immersive .mentor-inline-status{background:var(--studio-selected);border:1px solid var(--border);border-radius:6px;color:var(--studio-accent)}
.academy-shell.film-immersive .mentor-applied-details{margin-top:8px}
.academy-shell.film-immersive .mentor-applied-details > summary{font-size:15px;color:var(--studio-muted);cursor:pointer;padding:4px 0}

/* R15 v16: one rail for the same five real production stages in learning
   and creation. Stored canvas layouts and project contents remain intact. */
.academy-shell.film-immersive .film-v16-workspace{display:grid;grid-template-columns:58px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
.academy-shell.film-immersive .film-v16-module-rail{display:flex;flex-direction:column;gap:5px;align-items:center;padding:8px 4px;background:#11101b;border-right:1px solid var(--border);min-height:0}
.academy-shell.film-immersive .film-v16-module-rail>button{width:48px;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px!important;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--studio-muted);font-size:11px;line-height:1.1}
.academy-shell.film-immersive .film-v16-module-rail>button .film-icon{width:20px;height:20px}
.academy-shell.film-immersive .film-v16-module-rail>button[aria-current=page]{background:var(--studio-selected);border-color:var(--border);color:var(--studio-accent)}
.academy-shell.film-immersive .film-v16-module-rail>button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:1px}
.academy-shell.film-immersive .film-v16-workspace>.film-studio-body{min-width:0;min-height:0;height:100%;overflow:hidden}
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-stage-content{background-image:none}
.academy-shell.film-immersive .film-v16-context-sidebar{padding:10px 8px;overflow:auto}
.film-v16-context-sidebar>header{display:flex;align-items:center;gap:8px;padding:5px 4px 10px;font-size:13px}
.film-v16-context-sidebar>nav{display:grid;gap:4px}
.academy-shell.film-immersive .film-v16-context-sidebar :is(nav button,details>button){display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:5px 7px;text-align:left;border:0;border-radius:6px;background:transparent;color:var(--studio-muted);font-size:12px}
.film-v16-context-sidebar button[aria-current=true]{background:var(--studio-selected)!important;color:var(--studio-accent)!important}
.film-v16-context-sidebar>details{padding:6px 2px;margin-top:7px;border-top:1px solid var(--border)}
.film-v16-context-sidebar>details>summary{min-height:32px;cursor:pointer;font-size:12px}
.film-v16-project-assets{min-width:0;padding:6px 0}.film-v16-project-assets .film-side-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-professional-entry{padding:5px 10px;margin-bottom:8px;border:1px solid var(--border);border-radius:7px;font-size:12px}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-professional-entry>summary{cursor:pointer;color:var(--studio-muted)}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes{max-width:980px;margin:0 auto;padding:28px clamp(18px,4vw,54px);background:#f7f6f3;border-radius:8px;color:#25222a}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes article{padding:12px 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes :is(label,small){color:#5f5864!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes :is(input,textarea){background:transparent!important;color:#26222b!important;border:1px solid #dad7da;font-family:'Noto Serif SC',serif;line-height:1.8}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-scenes :is(input,textarea):focus{border-color:#7b69a4;outline:2px solid #7b69a444}
.film-v16-storyboard{max-width:1200px;margin:auto;min-width:0}
.film-v16-storyboard .film-board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}
.film-v16-storyboard .film-board-heading h3{margin:0;font-size:16px}
.film-v16-storyboard .film-board-heading small,.film-v16-storyboard .film-scene-group h4 small{color:var(--studio-muted);font-size:12px;font-weight:400}
.film-v16-storyboard .film-scene-board{display:flex;flex-direction:column;gap:18px}
.film-v16-storyboard .film-scene-group{min-width:0;padding:12px 0;border-top:1px solid var(--border)}
.film-v16-storyboard .film-scene-group h4{margin:0 0 10px;font-size:14px}
.film-v16-storyboard .film-shot-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.academy-shell.film-immersive .film-v16-storyboard .film-shot-summary{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;height:auto;min-height:0;padding:0!important;text-align:left;overflow:hidden}
.academy-shell.film-immersive .film-v16-storyboard .film-shot-summary>div{display:flex;width:100%;flex:none;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden}
.academy-shell.film-immersive .film-v16-storyboard .film-shot-summary .film-board-placeholder{position:static;background:transparent;color:var(--studio-muted)}
.film-v16-storyboard .film-shot-summary img{width:100%;height:100%;object-fit:cover}
.film-v16-storyboard .film-scene-add{margin-top:10px;min-height:36px;font-size:12px}
.film-v16-storyboard .film-scene-empty{padding:18px;color:var(--studio-muted);font-size:13px}
.film-v16-storyboard .film-v16-board-details{margin-top:18px;border-top:1px solid var(--border);padding-top:10px}
.film-v16-storyboard .film-v16-board-details>summary{cursor:pointer;font-size:13px;color:var(--studio-muted)}
.academy-shell.film-immersive .film-editor[data-stage=art] .film-studio-body{grid-template-columns:minmax(0,1fr)!important}
.academy-shell.film-immersive.film-layout-active .film-editor[data-stage=art] .film-stage-content{grid-column:1!important;margin-left:0!important}
.academy-shell.film-immersive .film-editor[data-stage=art] #film-notes{height:100%;min-height:0}
.film-v16-art{display:grid;grid-template-columns:172px minmax(0,1fr);gap:0;min-height:100%;height:100%;margin:-14px -16px}
.film-v16-art[data-art-tree-collapsed=true]{grid-template-columns:44px minmax(0,1fr)}
.film-v16-art[data-art-tree-collapsed=true] .film-v16-art-tree{padding:8px 4px}
.film-v16-art[data-art-tree-collapsed=true] .film-v16-art-tree header{padding:0;justify-content:center}
.film-v16-art-tree{min-width:0;padding:12px 8px;background:var(--studio-surface);border-right:1px solid var(--border)}
.film-v16-art-tree header,.film-v16-art-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.film-v16-art-tree header{padding:4px 6px 12px}
.film-v16-art-tree :is(button,summary){display:flex;align-items:center;width:100%;min-height:34px;padding:6px 8px;border:0;border-radius:6px;background:transparent;text-align:left;color:var(--studio-muted);font-size:12px;cursor:pointer}
.film-v16-art-tree header button{width:32px;justify-content:center}
.film-v16-art-tree :is(button,summary)>span:last-child{margin-left:auto}
.film-v16-art-tree button[aria-pressed=true],.film-v16-art-tree button[aria-current=true]{background:var(--studio-selected);color:var(--studio-accent)}
.film-v16-art-folder{border:0!important;padding:0!important;background:transparent!important}
.film-v16-art-folder>button{padding-left:24px}
.film-v16-art-main{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px}
.film-v16-art-header{min-height:36px;margin-bottom:12px}
.film-v16-art-header h2{margin:0;font-size:16px}
.film-v16-art-header h2 small{font-size:12px;font-weight:400}
.film-v16-art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,190px));gap:14px;align-content:start}
.film-v16-art-card{min-width:0}
.academy-shell.film-immersive .film-v16-art-card>button{display:flex;flex-direction:column;align-items:stretch;width:100%;height:auto;padding:0!important;overflow:hidden;text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--studio-surface)}
.film-v16-art-card-image{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;background:var(--studio-raised);overflow:hidden}
.film-v16-art-card-image img{width:100%;height:100%;object-fit:cover}
.film-v16-art-card-name,.film-v16-art-card>button>small{display:block;padding:8px 10px 0}
.film-v16-art-card>button>small{padding:2px 10px 9px}
.film-v16-art-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--studio-muted)}
.film-v16-art-placeholder>span{font-size:32px;line-height:1}
.film-v16-art-placeholder .film-icon{width:32px;height:32px}
.film-v16-art-preview{display:flex;align-items:center;justify-content:center;position:relative;min-height:240px;flex:1;background:#0e0c17;border-radius:8px;overflow:hidden}
.film-v16-art-preview>button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0;background:transparent}
.film-v16-art-preview img{max-width:100%;max-height:52vh;object-fit:contain}
.film-v16-art-settings{position:relative;flex:none}
.film-v16-art-settings[open]{z-index:5;padding:10px;border:1px solid var(--border);background:var(--studio-surface)}
.film-v16-art-composer{margin-top:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--studio-surface)}
.film-v16-art-references,.film-v16-art-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.film-v16-art-references{min-height:36px}.film-v16-art-reference{position:relative;display:inline-flex;width:40px;height:40px}.film-v16-art-reference img{width:100%;height:100%;object-fit:cover;border-radius:5px}.film-v16-art-reference>button{position:absolute;right:-6px;top:-6px;min-height:18px;min-width:18px;padding:0}
.film-v16-art-composer textarea{display:block;width:100%;min-height:65px;margin:7px 0;resize:vertical}
.film-v16-art-actions>.primary{margin-left:auto}
.film-v16-art-upload{cursor:pointer;font-size:12px;color:var(--studio-muted)}
.film-professional-mobile{display:none!important}
@media(max-width:700px){
 .academy-shell.film-immersive .film-workspace-topbar>.film-professional-open{display:none}
 .academy-shell.film-immersive .film-editor-menu .film-professional-mobile{display:flex!important}
 .academy-shell.film-immersive .film-v16-workspace{display:flex;flex-direction:column;overflow:visible}
 .academy-shell.film-immersive .film-v16-module-rail{flex-direction:row;justify-content:flex-start;overflow-x:auto;padding:4px 8px;border-right:0;border-bottom:1px solid var(--border)}
 .academy-shell.film-immersive .film-v16-module-rail>button{flex:0 0 54px;min-height:48px}
 .academy-shell.film-immersive .film-v16-workspace>.film-studio-body{height:auto;overflow:visible}
 .film-v16-storyboard .film-shot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .film-v16-storyboard .film-board-heading{align-items:flex-start;flex-wrap:wrap}
 .film-v16-art{grid-template-columns:120px minmax(0,1fr);margin:-12px}
 .film-v16-art-main{padding:10px}.film-v16-art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .film-v16-art-preview{min-height:200px}.film-v16-art-actions>.primary{margin-left:0}
 .academy-shell.film-immersive .film-v16-art-actions button{min-width:44px;min-height:44px}
}
/* Multi-select is separate from opening the shot editor. */
.film-archive-card{position:relative;min-width:0}
.film-archive-card .film-shot-summary{width:100%}
.film-archive-card .film-archive-select{position:absolute;top:6px;right:6px;width:32px;height:32px;min-width:32px;min-height:32px;border:1px solid #c4acd8;border-radius:8px;background:#181027;color:transparent;z-index:1;padding:0}
.film-archive-card .film-archive-select[aria-pressed=true]{background:#c9b6e2;color:#211535}
.film-archive-card .film-archive-select:focus-visible{outline:2px solid #e8d9ff;outline-offset:2px}
.film-archive-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;font-size:12px;color:var(--studio-muted)}
.film-archive-toolbar button,.film-archive-folder button{min-height:32px;font-size:12px}
.film-archive-folder{padding:10px 0;border-top:1px solid var(--border)}
.film-archive-folder summary{cursor:pointer}
.film-archive-item{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:6px 0;font-size:12px}
@media(max-width:700px){.film-archive-card .film-archive-select{min-width:44px;min-height:44px;width:44px;height:44px}.film-archive-toolbar button{min-height:44px}}
.film-archive-card .film-archive-select[aria-pressed=false] span{visibility:hidden}
.film-archive-card .film-archive-select[aria-pressed=true] span{visibility:visible}
/* Reserve the collapsed mentor's default edge lane on narrow storyboards. */
@media(max-width:700px){.academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard{box-sizing:border-box;padding-right:52px}}

/* storyboard sketch plan review */
.film-v16-storyboard .film-scene-group h4{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.film-v16-storyboard .film-sketch-plan-entry{margin-left:auto;color:var(--studio-muted);font-size:12px;background:transparent;border:1px solid var(--border);border-radius:7px;padding:5px 9px;cursor:pointer}
.film-v16-storyboard .film-sketch-plan-entry:hover{color:var(--text);border-color:#9a82bc}
.film-studio-dialog:has(.film-sketch-plan){background:#111116!important;color:#e9e7ed;border-color:#393641}
.film-sketch-plan{max-height:min(70vh,720px);overflow:auto;color:#e9e7ed;padding:4px 2px 8px}
.film-sketch-plan-intro{color:#aaa8b5;font-size:13px;line-height:1.6;margin:0 0 16px}
.film-sketch-plan-summary{display:flex;gap:24px;flex-wrap:wrap;color:#aaa8b5;font-size:12px;padding:0 0 14px;border-bottom:1px solid #393641}
.film-sketch-plan-summary strong{color:#e6e2ee;font-size:14px;margin-left:3px}
.film-sketch-plan-scene{padding-top:17px}.film-sketch-plan-scene>header{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.film-sketch-plan-scene h3{font-size:15px;margin:0}.film-sketch-plan-scene header span{font-size:12px;color:#9d99a8}
.film-sketch-plan-shot{margin:10px 0;padding:13px 14px;background:#17171c;border:1px solid #35323d;border-radius:9px}.film-sketch-plan-shot-head{display:flex;gap:12px;justify-content:space-between;align-items:center}.film-sketch-plan-shot-head strong{font-size:13px}.film-sketch-plan-shot-head span{font-size:11px;white-space:nowrap}.film-sketch-plan-shot-head .is-ready{color:#bfb4d1}.film-sketch-plan-shot-head .needs-review{color:#e6bb79}
.film-sketch-plan-shot>p{font-size:12px;color:#aaa8b5;margin:8px 0}.film-sketch-plan-shot details{border-top:1px solid #37333d;margin-top:10px;padding-top:9px}.film-sketch-plan-shot summary{cursor:pointer;color:#c7b4e1;font-size:12px}.film-sketch-plan-prompt{font-size:12px;line-height:1.7;color:#c4c0cb;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}
.film-sketch-plan-warning{color:#e6bb79;font-size:12px;line-height:1.6}.film-sketch-plan-shot ul{padding-left:18px;margin:8px 0}.film-sketch-plan-empty{font-size:12px;color:#aaa8b5;margin:12px 0}
.film-sketch-plan-entry:focus-visible,.film-sketch-plan-shot summary:focus-visible{outline:2px solid #c7b4e1;outline-offset:2px}
@media(max-width:650px){.film-sketch-plan{max-height:68vh}.film-sketch-plan-summary{gap:12px 20px}.film-sketch-plan-scene>header{align-items:flex-start;flex-direction:column;gap:2px}}

/* References stay inside the selected shot composer, ahead of the prompt. */
.film-v16-shot-references .film-reference-panel{padding:4px 0;border:0;background:transparent}
.film-v16-shot-references .film-attachments{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;max-width:100%;scrollbar-width:thin}
.film-v16-shot-references .film-attachment{flex:0 0 68px}
.film-director-generate{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.film-director-generate .film-director-cost{margin-left:auto;font-size:12px;color:#bdb5c9;white-space:nowrap}
.film-director-prompt .film-video-prompt-editor{min-height:68px;max-height:220px;overflow-y:auto;resize:vertical}

/* Screenplay overview: existing story fields and scene rows remain the source of truth. */
.film-script-outline{padding:22px 24px;border:1px solid #34313f;border-radius:16px;background:#1c1c23;margin:0 0 18px}
.film-script-outline-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.film-script-outline-heading h2{margin:0;font-size:18px;color:#f2eff9}
.film-script-outline-heading p,.film-script-scene-list .film-section-heading p{margin:0;color:#a7a5b2;font-size:13px}
.film-script-outline-heading button{white-space:nowrap}
.film-outline-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,285px);gap:clamp(24px,4vw,56px);align-items:start;margin-top:22px}
.film-outline-copy{min-width:0;max-width:780px;color:#e7e3ee;font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.film-outline-copy>p{margin:0 0 1em;white-space:pre-wrap}
.film-outline-copy>p:last-child{margin-bottom:0}
.film-outline-empty{padding:28px 0;color:#b6b1c2}
.film-outline-empty strong{display:block;color:#e1dce8;font-size:15px;font-weight:600}
.film-outline-empty p{margin:9px 0 0;color:#aaa5b5;font-size:13px}
.film-outline-cover{min-width:0;color:#c7c1d0;font-size:13px}
.film-outline-cover>span{display:block;margin:0 0 10px;font-weight:600}
.film-outline-cover-empty{aspect-ratio:4/5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center;border:1px solid #3b3745;border-radius:10px;background:#181820}
.film-outline-cover-empty strong{font-size:14px;font-weight:500;color:#c4bfcd}
.film-outline-cover-empty button{max-width:100%;padding:8px 11px;border:1px solid #47414f;border-radius:7px;background:transparent;color:#a7a1b0;font-size:12px}
.film-outline-cover-empty small{color:#8f899b;font-size:12px}
@media(max-width:760px){.film-outline-layout{grid-template-columns:1fr;gap:22px}.film-outline-cover{max-width:285px;width:100%}}
.film-outline-status{color:#aaa7b7;font-size:12px;margin:16px 0}
.film-script-outline .film-brief-fields{display:grid;grid-template-columns:1fr;gap:0;background:transparent;border:0;padding:0;margin:14px 0 0}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-outline .film-brief-fields{background:transparent;border:0}
.film-script-outline .film-brief-fields label{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:16px;padding:10px 0;border-top:1px solid #34313f;color:#b8b4c4;font-size:13px}
.film-script-outline .film-brief-fields label>span{padding-top:8px}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-outline .film-brief-fields label{font-size:14px!important;line-height:1.5}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-outline .film-brief-fields textarea{field-sizing:content;min-height:44px!important;max-height:240px;overflow-y:auto;resize:vertical;border:0!important;background:transparent!important;box-shadow:none!important;color:#f2eff9!important;font-size:15px!important;line-height:1.6!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-outline .film-brief-fields textarea:focus-visible{outline:2px solid #aa9acb;outline-offset:2px}
@supports not (field-sizing:content){.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-outline .film-brief-fields textarea{min-height:110px!important;overflow-y:scroll}}
.film-script-more{margin-bottom:22px;border:1px solid #32323d;border-radius:12px;padding:12px 16px;color:#c6c3d1}
.film-script-more>summary{cursor:pointer;font-weight:600}
.film-script-more[open]>summary{margin-bottom:16px}
.film-script-scene-list{margin-top:24px}
.film-script-scene-list .film-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.film-script-scene-list .film-section-heading h3{margin:0 0 4px}
.film-script-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:12px}
.film-script-scene-card{min-height:170px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:17px;border:1px solid #393845;border-radius:12px;background:#23232b;color:#f3f1f7;cursor:pointer}
.film-script-scene-card:hover,.film-script-scene-card:focus-visible{border-color:#a798d7;background:#2a2934}
.film-script-scene-card span{font-size:11px;color:#b6a8d5;letter-spacing:.08em}
.film-script-scene-card strong{font-size:15px;overflow-wrap:anywhere}
.film-script-scene-card small{color:#aaa7b4;overflow-wrap:anywhere}
.film-script-scene-card p{color:#cac8d2;font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.film-script-scene-card em{font-style:normal;font-size:12px;color:#c6b7ee;margin-top:auto}
.film-script-detail{max-width:960px;margin:0 auto}
.film-script-detail>header{display:flex;justify-content:space-between;align-items:center;color:#a5a2b1;margin-bottom:18px}
.film-script-detail>article{padding:25px;border:1px solid #393845;border-radius:14px;background:#f4f1ec;color:#27232c}
.film-script-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.film-script-detail-heading h3{margin:0}
.film-script-detail article label{display:flex;flex-direction:column;gap:7px;margin:15px 0}
@media(max-width:760px){.film-script-outline{padding:18px}.film-script-outline .film-brief-fields label{grid-template-columns:1fr;gap:3px}.film-script-outline .film-brief-fields label>span{padding-top:0}.film-script-card-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.film-script-detail>article{padding:18px}}

.film-script-card-grid{min-width:0}
.film-script-scene-card{min-width:0;white-space:normal;overflow:hidden}
.film-script-scene-card :is(span,strong,small,p,em){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}

/* The screenplay detail uses a light paper surface; labels must stay legible. */
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-detail>article .film-script-detail-heading h3,.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-detail>article>label{color:#29232d!important}
.film-story-elements-heading{margin:18px 0 12px;color:#e9e5f1;font-size:14px}

/* Script detail is an editable original scene, not inferred structured metadata. */
.film-script-detail>article .film-screenplay-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px}
.film-script-detail>article .film-screenplay-meta>label{display:flex;flex-direction:column;gap:7px;margin:12px 0;color:#29232d!important;font-weight:600}
.film-script-detail>article .film-screenplay-body{font-weight:600;color:#29232d!important}
.film-script-detail>article .film-screenplay-body textarea{min-height:320px;line-height:1.85;white-space:pre-wrap;tab-size:4;resize:vertical}
.film-script-detail>article .film-screenplay-note{margin:0 0 18px;color:#625a64;font-size:12px;line-height:1.6}
@media(max-width:700px){.film-script-detail>article .film-screenplay-meta{grid-template-columns:1fr}.film-script-detail>article .film-screenplay-body textarea{min-height:260px}}

/* Narrative brief paragraphs use the existing fields as a compact direct editor. */
.film-script-detail--brief>header{margin-bottom:12px}
.film-script-detail--brief>article{padding:18px}
.film-script-detail--brief>article>.film-brief-title{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 12px;font-weight:600}
.film-script-detail--brief>article>.film-brief-title>span{white-space:nowrap}
.film-script-detail--brief>article>.film-brief-title>input{min-width:0}
.film-script-detail--brief>article>.film-screenplay-body{margin:0}

/* Screenplay view styles only: source remains a single editable string. */
.film-script-detail>article .film-screenplay-viewbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px;color:#29232d}
.film-screenplay-viewbar>strong{font-size:14px;color:#29232d!important}
.film-screenplay-viewbar>div,.film-screenplay-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.film-screenplay-viewbar button,.film-screenplay-toolbar button{padding:5px 10px;border:1px solid #cbc5cb;border-radius:6px;background:#eeeae6;color:#3b343e;font-size:12px;cursor:pointer}
.film-screenplay-viewbar button[aria-pressed=true]{background:#51475f;color:#fff;border-color:#51475f}
.film-screenplay-reading{min-height:280px;max-width:720px;margin:0 auto;padding:24px 28px;background:#fffdfa;border:1px solid #e2ddd8;border-radius:5px;color:#29232d;font:15px/1.9 'Noto Serif SC',serif;white-space:pre-wrap;overflow-wrap:anywhere}
.film-screenplay-reading .film-screenplay-speaker{color:#483555;font-weight:700}
.film-screenplay-reading .film-screenplay-empty{color:#766f78;font-family:system-ui,sans-serif;font-size:13px}
.film-screenplay-toolbar{margin:0 0 8px}.film-screenplay-toolbar small{color:#665d68;font-size:12px;line-height:1.5}
.film-screenplay-edit .film-screenplay-body{display:block;margin:0;color:#29232d!important}
.film-screenplay-edit .film-screenplay-body textarea{width:100%;min-height:320px;line-height:1.85;white-space:pre-wrap;tab-size:4;resize:vertical}
@media(max-width:700px){.film-screenplay-reading{min-height:220px;padding:18px 16px}.film-screenplay-edit .film-screenplay-body textarea{min-height:260px}}
.film-screenplay-reading .film-screenplay-scene{display:block;font-weight:700;letter-spacing:.04em;color:#302934}
.film-screenplay-reading .film-screenplay-speaker{display:block;text-align:center;margin:10px auto 0;font-weight:700}
.film-screenplay-reading .film-screenplay-dialogue{display:block;max-width:72%;margin:0 auto}
@media(max-width:700px){.film-screenplay-reading .film-screenplay-dialogue{max-width:88%}}

/* Art categories belong to the workspace header, leaving the stage rail intact. */
.film-v16-art.film-v16-art--top-nav{grid-template-columns:minmax(0,1fr);}
.film-art-category-nav{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 16px;border-bottom:1px solid var(--border)}
.film-art-category-list{display:flex;align-items:center;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin}
.academy-shell.film-immersive .film-art-category-nav button{flex:none;min-height:40px;padding:8px 12px;border:0;border-radius:7px 7px 0 0;background:transparent;color:var(--studio-muted);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}
.academy-shell.film-immersive .film-art-category-nav button[aria-pressed=true]{color:var(--studio-accent);box-shadow:inset 0 -2px currentColor}
.academy-shell.film-immersive .film-art-category-nav button:hover{color:var(--studio-text);background:var(--studio-raised)}
.academy-shell.film-immersive .film-art-category-nav button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:-2px}
.film-art-category-nav button span{margin-left:4px;color:var(--studio-muted);font-size:11px}
.academy-shell.film-immersive .film-art-category-nav .film-art-category-library{border-radius:7px}
.film-art-unassigned{min-width:0}
@media(max-width:700px){.film-v16-art.film-v16-art--top-nav{grid-template-columns:minmax(0,1fr)}.film-art-category-nav{gap:3px;margin-bottom:12px}.academy-shell.film-immersive .film-art-category-nav button{min-height:44px;padding:8px}.film-art-category-nav button span{margin-left:2px}}
.film-art-search{flex:0 1 190px;min-width:80px}
.academy-shell.film-immersive .film-art-search input{width:100%;min-width:0;height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--studio-raised);color:var(--studio-text);font:inherit;font-size:13px}
@media(max-width:700px){.film-art-category-nav{flex-wrap:wrap}.film-art-category-list{flex-basis:100%;order:1}.film-art-search{flex:1;order:2}.film-art-category-library{order:3}}
.academy-shell.film-immersive .film-art-category-nav button.film-art-category-drop-active{background:var(--studio-selected);color:var(--studio-accent);outline:2px dashed var(--studio-accent);outline-offset:-2px}
.film-v16-art-card[draggable=true]{cursor:grab}.film-v16-art-card[draggable=true]:active{cursor:grabbing}
.film-art-category-assignment{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:8px 0}.film-art-category-assignment legend{margin-bottom:5px}.film-art-category-assignment label{display:flex;align-items:center;gap:4px}
.film-v16-art-settings[open]{padding:0;border:0;background:transparent;z-index:20}
.film-v16-art-settings-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 32px));max-height:min(70vh,640px);overflow-y:auto;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--studio-surface);box-shadow:0 12px 30px #0008}
.film-art-category-assignment{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 12px}
.academy-shell.film-immersive .film-art-category-assignment label{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0;overflow-wrap:anywhere}
.academy-shell.film-immersive .film-art-category-assignment input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;min-width:16px;min-height:16px;margin:0;padding:0;accent-color:var(--studio-accent)}
@media(max-width:700px){.film-v16-art-settings-panel{width:min(340px,calc(100vw - 76px));max-height:65vh}}
.film-v16-art-settings-panel{top:calc(100% + 64px)}
@media(max-width:700px){.film-v16-art-settings-panel{top:calc(100% + 110px);max-height:50vh}}
@media(max-width:700px){.film-v16-art-settings-panel{left:0;right:auto;width:min(340px,calc(100vw - 24px))}}
@media(max-width:700px){.film-v16-art-settings-panel{top:calc(100% + 120px)}}

/* Category actions share the existing compact top navigation. */
.film-art-category-item{display:inline-flex;align-items:center;flex:none;min-width:0}
.academy-shell.film-immersive .film-art-category-nav .film-art-add-entity{flex:none;padding:8px 12px;border:1px solid var(--border);border-radius:7px;color:var(--studio-text)}
.film-art-category-menu{position:fixed;z-index:10000;min-width:128px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--studio-surface,var(--surface));box-shadow:0 8px 24px #0009}
.film-art-category-menu button{display:block;width:100%;padding:9px 12px;border:0;border-radius:5px;background:transparent;color:var(--studio-text);text-align:left;font:inherit;cursor:pointer}
.film-art-category-menu button:hover,.film-art-category-menu button:focus-visible{background:var(--studio-raised);outline:2px solid var(--studio-accent);outline-offset:-2px}
@media(max-width:700px){.film-art-category-nav .film-art-add-entity{order:3}.film-art-category-list{scrollbar-width:thin}}

/* Selected formal scenes share direct editing while retaining their own metadata. */
.film-script-detail--scene>header{margin-bottom:12px}
.film-script-detail--scene>article{padding:18px}
.film-script-detail--scene>article .film-screenplay-meta>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:0}
.film-script-detail--scene>article .film-screenplay-meta>label>span{white-space:nowrap}
.film-script-detail--scene>article .film-screenplay-meta input{min-width:0}
@media(max-width:1100px){.film-script-detail--scene>article .film-screenplay-meta{grid-template-columns:1fr;row-gap:8px}}
.film-script-detail--scene>article .film-screenplay-viewbar{margin:10px 0}
.film-script-detail--scene>article>.film-screenplay-body{margin:0}

/* The visible paragraph controls edit the same original script string. */
.film-plain-script-editor{width:100%;min-width:0;font:400 15px/1.8 'Noto Serif SC',serif;color:inherit}
.film-plain-script-editor [data-plain-script-fields]{display:flex;flex-direction:column;align-items:stretch;gap:0}
.film-plain-script-editor textarea.film-plain-script-part{display:block;box-sizing:border-box;width:100%;max-width:none;min-height:1.8em;margin:0;padding:0 4px;border:0;border-radius:2px;background:transparent;color:inherit;font:inherit;line-height:1.8;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:none}
.film-plain-script-editor textarea.film-plain-script-part:focus{outline:1px solid color-mix(in srgb,var(--studio-accent,#738a83) 45%,transparent);outline-offset:3px;box-shadow:none}
.film-plain-script-editor textarea.film-plain-script-part--speaker{width:60%;max-width:28rem;margin-inline:auto;text-align:center;font-weight:600}
.film-plain-script-editor textarea.film-plain-script-part--dialogue{width:72%;max-width:34rem;margin-inline:auto;text-align:left}
.film-plain-script-editor textarea.film-plain-script-part[readonly]{cursor:text;opacity:1}
.film-plain-script-validation{display:block;margin-top:10px;color:var(--studio-danger,#b3483d);font-size:12px;line-height:1.5}
.film-plain-script-validation[hidden]{display:none}
@media(max-width:700px){.film-plain-script-editor textarea.film-plain-script-part--speaker{width:78%}.film-plain-script-editor textarea.film-plain-script-part--dialogue{width:88%}}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-plain-script-editor textarea.film-plain-script-part{min-height:1.8em!important;padding:0 4px!important;border:0!important;border-radius:2px!important;background:transparent!important;color:#29232d!important;font:inherit!important;line-height:1.8!important;resize:none;box-shadow:none!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-plain-script-editor textarea.film-plain-script-part--speaker{font-weight:600!important}

/* Compact metadata stays on the existing screenplay paper. */
.film-script-detail--scene>article .film-screenplay-meta{grid-template-columns:minmax(120px,0.7fr) minmax(180px,1.5fr) auto;gap:8px 12px;align-items:center;margin-bottom:16px}
.film-script-detail--scene>article .film-screenplay-meta>label{display:flex;flex-direction:row;gap:7px;font-size:12px;font-weight:400;min-width:0}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-screenplay-meta input{height:30px!important;min-height:0!important;padding:4px 6px!important;border:1px solid #d6d0d6!important;border-radius:4px!important;background:transparent!important;color:#29232d!important;font:inherit!important;font-size:13px!important;width:100%;box-sizing:border-box;box-shadow:none!important}
.film-screenplay-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}
.film-screenplay-tools button{height:30px;padding:4px 8px;border:1px solid #d6d0d6;border-radius:4px;background:transparent;color:#3b343e;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.film-screenplay-tools .film-script-copy-icon{width:30px;display:grid;place-items:center;padding:4px}
.film-script-detail--scene>article .film-screenplay-viewbar:has(>div:empty){display:none}
.film-script-format-menu{position:fixed;z-index:10000;min-width:142px;padding:4px;border:1px solid #cbc5cb;border-radius:6px;background:#fffdfa;box-shadow:0 5px 18px #0002;color:#29232d;font:13px/1.4 sans-serif}
.film-script-format-menu[hidden]{display:none!important}
.film-script-format-menu button{display:block;width:100%;padding:9px 12px;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.film-script-format-menu button:hover,.film-script-format-menu button:focus-visible{background:#eeeae6;outline:1px solid #8c7e98;outline-offset:-1px}
@media(max-width:1100px){.film-script-detail--scene>article .film-screenplay-meta{grid-template-columns:minmax(0,1fr) auto}.film-script-detail--scene>article .film-screenplay-meta>label:nth-child(2){grid-column:1/-1;grid-row:2}.film-screenplay-tools{grid-row:1;grid-column:2}}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-screenplay-tools button{height:30px!important;min-height:0!important;padding:4px 8px!important;font-size:12px!important;line-height:1.2!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-screenplay-tools .film-script-copy-icon{width:30px!important;padding:4px!important}

.film-script-format-menu .film-script-menu-heading{display:block;padding:6px 12px 3px;color:#766d7c;font:11px/1.4 sans-serif}
.film-script-format-menu hr{border:0;border-top:1px solid #e4dfe5;margin:4px}
.film-script-format-menu button:disabled{opacity:.4;cursor:default;background:transparent}

.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-format-menu button{height:auto!important;min-height:0!important;padding:7px 10px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#29232d!important;font:13px/1.4 sans-serif!important;box-shadow:none!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-format-menu button:not(:disabled):hover,.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-format-menu button:focus-visible{background:#eeeae6!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-format-menu button:disabled{opacity:.4!important;cursor:default}

.film-script-format-menu [data-script-choose-speaker]{display:flex!important;align-items:center;justify-content:space-between;gap:16px}
.film-script-cast-menu{position:fixed;min-width:170px;max-width:240px;max-height:min(360px,65vh);overflow-y:auto;padding:4px;border:1px solid #cbc5cb;border-radius:6px;background:#fffdfa;box-shadow:0 5px 18px #0002}
.film-script-cast-menu[hidden]{display:none!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-cast-custom{display:block!important;margin:5px 8px!important;color:#766d7c!important;font:11px/1.4 sans-serif!important}
.academy-shell.film-immersive .film-editor[data-stage=script] .film-script-cast-custom input{display:block;width:100%;height:29px!important;min-height:0!important;box-sizing:border-box;margin-top:5px;padding:4px 6px!important;border:1px solid #d6d0d6!important;border-radius:3px!important;background:transparent!important;color:#29232d!important;font:13px/1.4 sans-serif!important}


/* film-professional-input.css */
.film-professional-input{border-top:1px solid #ffffff12;margin:10px 0;padding-top:10px;color:var(--studio-text,#eee)}
.film-professional-input>summary{cursor:pointer;font-size:13px;color:var(--studio-muted,#b9b3c4);min-height:36px;display:flex;align-items:center}
.film-professional-input>summary::before{content:'+';font-size:18px;margin-right:7px;color:var(--studio-accent,#c5b5df)}
.film-professional-input[open]>summary::before{content:'−'}
.film-professional-input-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:3px 0 10px}
.film-professional-input-fields label{display:grid;gap:6px;color:var(--studio-muted,#b9b3c4);font-size:12px}
.film-professional-input-fields input{box-sizing:border-box;min-width:0;width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--studio-border,#393743);border-radius:7px;background:var(--studio-bg,#14151b);color:var(--studio-text,#eee);font:inherit;font-size:13px}
.film-professional-input>button{min-height:36px;padding:6px 12px;border:1px solid var(--studio-border,#47414f);border-radius:7px;color:var(--studio-text,#eee);background:transparent;font:inherit;font-size:12px}
.film-professional-input :is(summary,input,button):focus-visible{outline:2px solid #b9a6d6;outline-offset:2px}
@media(max-width:520px){.film-professional-input-fields{grid-template-columns:1fr}}

.film-professional-input-note{display:block;margin-top:7px;color:var(--studio-muted,#aaa);font-size:11px;line-height:1.5}


/* film-workspace-layout.css */

.film-review-monitor-button{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 9px;font-size:15px;margin-left:auto}.film-review-monitor-button svg{width:16px;height:16px}
/* Only the film studio opts into adjustable panels. Narrow layouts keep stacking. */
.academy-shell.film-immersive .film-layout-menu{position:relative;display:inline-flex;align-items:center}
.academy-shell.film-immersive .film-layout-menu-popover[hidden]{display:none!important}
.academy-shell.film-immersive .film-layout-menu-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:1000;width:245px;padding:12px;display:grid;gap:5px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-panel);box-shadow:0 12px 30px #0006}
.academy-shell.film-immersive .film-layout-menu-popover>strong{font-size:12px;margin-bottom:4px;color:var(--studio-text)}
.academy-shell.film-immersive .film-layout-menu-popover>button{padding:7px 9px!important;text-align:left;font-size:12px!important;line-height:18px!important}
.academy-shell.film-immersive .film-layout-menu-popover>[data-film-layout-reset]{margin-top:5px;border-top:1px solid var(--studio-border)}
.academy-shell.film-immersive .film-layout-menu-hint{display:block;line-height:1.7;margin-top:5px;color:var(--studio-muted);font-size:12px}
.academy-shell.film-immersive .film-layout-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:var(--studio-panel);border:0;isolation:isolate}
.academy-shell.film-immersive .film-layout-panel-content{flex:1;min-width:0;min-height:0;overflow:hidden}
.academy-shell.film-immersive .film-layout-panel-bar{display:flex;align-items:center;gap:2px;flex:0 0 24px;min-height:24px;padding:1px 4px;border-bottom:1px solid var(--studio-border);background:var(--studio-raised);color:var(--studio-text);touch-action:none;user-select:none}
.academy-shell.film-immersive .film-layout-panel-bar>.film-layout-control{flex:0 0 auto;border:0;background:transparent!important;color:var(--studio-muted);padding:2px 5px!important;font-size:12px!important;line-height:18px;cursor:pointer;border-radius:3px}
.academy-shell.film-immersive .film-layout-panel-bar>.film-layout-panel-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;color:var(--studio-text);cursor:grab}
.academy-shell.film-immersive .film-layout-panel-bar>.film-layout-control:hover{color:var(--studio-accent);background:#ffffff08!important}
.academy-shell.film-immersive .film-layout-panel:not(.is-floating) .film-layout-dock-button{display:none}
.academy-shell.film-immersive .film-layout-panel.is-collapsed>.film-layout-panel-content{display:none}
.academy-shell.film-immersive .film-layout-panel.is-hidden{display:none!important}
.academy-shell.film-immersive .film-layout-panel.is-floating{position:fixed!important;margin:0!important;border:1px solid var(--border);border-radius:7px;box-shadow:0 12px 35px #0008;overflow:visible;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
.academy-shell.film-immersive .film-layout-panel.is-floating>.film-layout-panel-bar{border-radius:6px 6px 0 0}
.academy-shell.film-immersive .film-layout-panel.is-floating>.film-layout-panel-content{border-radius:0 0 6px 6px}
.academy-shell.film-immersive.film-layout-active .film-cut-preview{isolation:isolate}
.academy-shell.film-immersive .film-layout-dock-resize{position:absolute;top:0;bottom:0;width:7px;z-index:6;cursor:col-resize;touch-action:none}
.academy-shell.film-immersive [data-film-layout-panel=assets]>.film-layout-dock-resize{right:-3px}
.academy-shell.film-immersive :is([data-film-layout-panel=mentor],[data-film-layout-panel=inspector])>.film-layout-dock-resize{left:-3px}
.academy-shell.film-immersive .film-layout-dock-resize:hover,.academy-shell.film-immersive .film-layout-dock-resize:focus-visible{background:#b9d6ac50}
.academy-shell.film-immersive .film-layout-dock-resize::after{content:'';position:absolute;top:calc(50% - 12px);left:2px;height:24px;width:3px;border-radius:2px;background:var(--surface)}
.academy-shell.film-immersive .film-layout-panel:is(.is-floating,.is-collapsed)>.film-layout-dock-resize{display:none}
.academy-shell.film-immersive .film-layout-window-edge{display:none;position:absolute;z-index:7;touch-action:none}
.academy-shell.film-immersive .film-layout-panel.is-floating:not(.is-collapsed)>.film-layout-window-edge{display:block}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=n]{left:8px;right:8px;top:-4px;height:7px;cursor:n-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=s]{left:8px;right:8px;bottom:-4px;height:7px;cursor:s-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=e]{top:8px;bottom:8px;right:-4px;width:7px;cursor:e-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=w]{top:8px;bottom:8px;left:-4px;width:7px;cursor:w-resize}
.academy-shell.film-immersive .film-layout-window-edge:is([data-film-layout-edge=ne],[data-film-layout-edge=se],[data-film-layout-edge=sw],[data-film-layout-edge=nw]){width:12px;height:12px}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=ne]{top:-4px;right:-4px;cursor:ne-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=se]{bottom:-4px;right:-4px;cursor:se-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=sw]{bottom:-4px;left:-4px;cursor:sw-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=nw]{top:-4px;left:-4px;cursor:nw-resize}
.academy-shell.film-immersive .film-layout-window-edge[data-film-layout-edge=se]::after{content:'';position:absolute;right:4px;bottom:4px;width:7px;height:7px;border-right:1px solid var(--studio-muted);border-bottom:1px solid var(--studio-muted)}
.academy-shell.film-immersive .film-layout-window-edge:hover,.academy-shell.film-immersive .film-layout-window-edge:focus-visible{background:#b9d6ac65;border-radius:3px}
.academy-shell.film-immersive [data-film-layout-panel=assets] .film-side-library>header>div>strong,.academy-shell.film-immersive [data-film-layout-panel=assets] .film-edit-bin>header>strong{display:none}
.academy-shell.film-immersive [data-film-layout-panel=assets] .film-edit-bin>header{justify-content:flex-end;margin-bottom:6px}
.academy-shell.film-immersive [data-film-layout-panel=mentor] .mentor-docked>header strong>span{display:none}
.academy-shell.film-immersive .film-layout-divider{grid-column:1/-1;grid-row:3;position:relative;align-self:start;z-index:8;height:7px;width:100%;margin-top:-4px;cursor:row-resize;touch-action:none}
.academy-shell.film-immersive .film-layout-divider::after{content:'';display:block;width:48px;height:3px;border-radius:2px;background:var(--surface);position:absolute;left:calc(50% - 24px);top:2px}
.academy-shell.film-immersive .film-layout-divider:hover::after,.academy-shell.film-immersive .film-layout-divider:focus-visible::after{background:var(--studio-accent)}
.film-layout-dragging,.film-layout-dragging *{user-select:none!important}
.film-layout-drop-hint{position:fixed;z-index:10000;pointer-events:none;border:2px solid var(--accent);background:#9bb58235;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:15px;box-sizing:border-box}
.film-layout-tabs{display:flex;flex:1;min-width:0;overflow:auto;gap:2px}
.film-layout-tabs[hidden]{display:none}
.film-layout-tab{border:0!important;padding:2px 6px!important;font-size:12px!important;line-height:18px;white-space:nowrap;cursor:grab;color:var(--studio-muted);background:transparent!important}
.film-layout-tab[aria-selected=true]{color:var(--studio-text);background:var(--studio-selected)!important}
.film-layout-panel.has-tabs>.film-layout-panel-bar>.film-layout-panel-title{display:none}
.film-layout-panel.is-tab-inactive{visibility:hidden;pointer-events:none}
@media(min-width:901px){
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-editor[data-stage=post] .film-studio-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;overflow:hidden}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-edit-heading{display:none}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel.is-docked-flex{position:fixed!important;margin:0!important;box-sizing:border-box;border:1px solid var(--studio-border);z-index:20}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel-content>:is(.film-program,.film-timeline-module,.film-timeline-meter){height:100%;width:100%;max-height:none;min-height:0;margin:0;box-sizing:border-box}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel-content>.film-program{display:flex;flex-direction:column;padding:8px;overflow:hidden}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-program .film-monitor-stage{flex:1;min-height:70px;display:flex;align-items:center;justify-content:center;overflow:hidden}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel-content>.film-timeline-module{display:flex;flex-direction:column;overflow:hidden}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-timeline-region{flex:1;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-timeline-toolbar{flex-shrink:0;flex-wrap:wrap;height:auto;min-height:32px;padding:4px 7px;border:0}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-divider{position:fixed;z-index:25;margin:0}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel.is-collapsed:not(.is-floating)>.film-layout-panel-bar{flex-direction:row;height:24px;padding:1px 4px;border-bottom:1px solid var(--studio-border)}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-layout-panel.is-collapsed:not(.is-floating) .film-layout-panel-title{writing-mode:horizontal-tb;padding:2px 5px!important}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking [data-film-layout-panel=meter]>.film-layout-panel-bar>.film-layout-control:not(.film-layout-panel-title){display:none}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking [data-film-layout-panel=meter] .film-layout-panel-title{padding:0!important;text-align:center;font-size:12px!important}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking [data-film-layout-panel=meter] .film-timeline-meter>span{display:none}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking [data-dock-slot=monitor]>.film-layout-dock-resize,.academy-shell.film-immersive.film-layout-active.film-flex-docking [data-dock-slot=timeline]>.film-layout-dock-resize{left:auto;right:-3px}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking [data-dock-slot=meter]>.film-layout-dock-resize{left:-3px}
}
@media(min-width:901px){
 .academy-shell.film-immersive.film-layout-active .film-studio-body{grid-template-columns:var(--film-layout-assets-size,208px) minmax(0,1fr)}
 .academy-shell.film-immersive.film-layout-active .film-editor:not([data-stage=post]) .film-stage-content{grid-column:2;grid-row:1}
 .academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post] .film-studio-body{grid-template-columns:var(--film-layout-assets-size,208px) minmax(0,1fr) var(--film-layout-inspector-size,190px);grid-template-rows:auto minmax(180px,1fr) auto minmax(205px,var(--film-layout-timeline-size,35%))}
 .academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post]:has(.film-large-monitor) .film-studio-body{grid-template-rows:auto minmax(210px,1fr) auto minmax(205px,var(--film-layout-timeline-size,35%))}
 .academy-shell.film-immersive [data-film-layout-panel=assets]{grid-column:1}
 .academy-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=assets]{grid-row:1/3}
 .academy-shell.film-immersive [data-film-layout-panel=inspector]{grid-column:3;grid-row:1/3}
 .academy-shell.film-immersive [data-film-layout-panel=mentor]{grid-column:2;grid-row:1}
 .academy-shell.film-immersive .film-layout-panel.is-collapsed:not(.is-floating)>.film-layout-panel-bar{flex-direction:column;height:100%;padding:5px 2px;border-bottom:0;border-right:1px solid var(--studio-border)}
 .academy-shell.film-immersive .film-layout-panel.is-collapsed:not(.is-floating) .film-layout-panel-title{writing-mode:vertical-rl;flex:1;padding:6px 2px!important;overflow:visible}
}
@media(max-width:900px){
 .academy-shell.film-immersive .film-layout-panel{height:auto;min-height:0}
 .academy-shell.film-immersive .film-layout-panel-content{overflow:visible}
 .academy-shell.film-immersive .film-layout-panel-bar,.academy-shell.film-immersive .film-layout-divider,.academy-shell.film-immersive .film-layout-dock-resize,.academy-shell.film-immersive .film-layout-window-edge{display:none!important}
 .academy-shell.film-immersive [data-film-layout-panel=mentor]{grid-column:1;grid-row:auto}
}
@media(min-width:651px) and (max-width:900px){
 .academy-shell.film-immersive [data-film-layout-panel=assets]{grid-column:1;grid-row:auto}
 .academy-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=assets]{grid-row:1/3;height:100%}
 .academy-shell.film-immersive [data-film-layout-panel=inspector]{grid-column:3;grid-row:1/3;height:100%}
 /* Spanning sidebars follow the monitor rows; their contents cannot grow the heading row. */
 .academy-shell.film-immersive .film-editor[data-stage=post] :is([data-film-layout-panel=assets],[data-film-layout-panel=inspector]){contain:size;overflow:hidden}
 .academy-shell.film-immersive .film-editor[data-stage=post] :is([data-film-layout-panel=assets],[data-film-layout-panel=inspector])>.film-layout-panel-content{overflow:hidden}
 .academy-shell.film-immersive .film-editor[data-stage=post] .film-layout-panel-content>:is(.film-post-library,.film-edit-inspector){height:100%;overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:650px){
 .academy-shell.film-immersive [data-film-layout-panel=assets]{grid-column:1;grid-row:1;max-height:250px;overflow:auto}
 .academy-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=assets]{max-height:300px}
 .academy-shell.film-immersive [data-film-layout-panel=inspector]{grid-column:1;grid-row:4;height:100%}
}
/* Creation stages keep adjustments below assets and a full-height mentor rail. */
@media(min-width:901px){
 .academy-shell.film-immersive.film-layout-active.film-creation-docking .film-studio-body{grid-template-columns:minmax(0,1fr)!important;overflow:hidden;gap:0}
 .academy-shell.film-immersive.film-layout-active.film-creation-docking .film-editor .film-stage-content{grid-column:1;grid-row:1;margin-left:var(--film-creation-left,208px);margin-right:var(--film-creation-right,300px);overflow:auto;padding:10px 14px}
 .academy-shell.film-immersive .film-layout-panel-content>:is(.film-shot-inspector,.film-art-inspector){width:100%;height:100%;max-height:none;min-height:0;margin:0;padding:10px;box-sizing:border-box;border:0;border-radius:0;overflow:auto;scrollbar-width:thin}
 .academy-shell.film-immersive.film-creation-docking .film-art-workbench{grid-template-columns:minmax(0,1fr)}
 .academy-shell.film-immersive.film-creation-docking :is([data-dock-slot=assets],[data-dock-slot=inspector])>.film-layout-dock-resize{left:auto;right:-3px}
}
/* Storyboard and shot adjustments share a full-height rail beside the mentor. */
@media(min-width:901px){
 .academy-shell.film-immersive.film-creation-docking .film-editor:is([data-stage=storyboard],[data-stage=shots]) [data-dock-slot=inspector]>.film-layout-dock-resize{left:-3px;right:auto}
}
/* Directional folding keeps the original editor and conversation nodes mounted. */
@media(min-width:901px){
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-stage-content{padding-bottom:calc(10px + var(--film-creation-bottom,0px))!important}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=left].is-collapsed>.film-layout-panel-bar{height:100%;min-height:0;flex:1;flex-direction:column;padding:6px 2px;border-bottom:0;border-right:1px solid var(--studio-border)}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=left].is-collapsed .film-layout-panel-title{writing-mode:vertical-rl;flex:1;padding:12px 2px!important;text-align:left;cursor:pointer}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=left].is-collapsed [data-film-layout-action=collapse]:not(.film-layout-panel-title){order:-1;font-size:20px!important}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=left].is-collapsed [data-film-layout-action=hide]{display:none}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed{border:1px solid #ffffff1b;border-radius:27px;overflow:hidden;background:var(--surface);box-shadow:0 6px 18px #0003}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed>.film-layout-panel-bar{height:100%;min-height:0;flex:1;flex-direction:row;writing-mode:horizontal-tb;padding:4px 12px 4px 6px;border:0;background:transparent;gap:8px}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed .film-layout-panel-title{writing-mode:horizontal-tb;display:flex;align-items:center;gap:10px;flex:1;padding:0!important;font-size:15px!important;cursor:pointer}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed .film-layout-panel-title span{overflow:hidden;text-overflow:ellipsis}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed [data-film-layout-action=hide]{display:none}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel[data-collapse-direction=down].is-collapsed [data-film-layout-action=collapse]:not(.film-layout-panel-title){font-size:19px!important;padding:4px 8px!important}
 .film-layout-mentor-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%;flex-shrink:0}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel.is-bottom-mentor:not(.is-collapsed){border-radius:10px 10px 0 0;overflow:hidden}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking.film-creation-docking .film-layout-panel.is-bottom-mentor>.film-layout-dock-resize{display:none}
}
/* Saved-film review uses the same compact controls as the creative workspace. */
.film-review-launcher{display:flex;align-items:center;gap:12px;padding:8px 0 12px;flex-wrap:wrap}
.film-review-launcher small{color:var(--muted,var(--muted));font-size:15px}
.film-review-panel{max-width:900px;color:inherit;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.film-review-panel label{display:block;margin:16px 0 10px;font-size:15px}
.film-review-panel select,.film-review-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;font:inherit;line-height:1.6}
.film-review-panel textarea{min-height:72px;max-height:180px;resize:vertical;padding:10px 12px}
.film-review-intro{margin:0 0 10px;color:var(--muted,var(--muted))}
.film-review-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.film-review-actions button,.film-review-launcher button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;font-size:15px}
.film-review-actions small{font-size:15px;color:var(--muted,var(--muted))}
.film-review-error{border:1px solid var(--accent);border-radius:8px;padding:10px 12px}
.film-review-job{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;border-radius:8px;background:var(--surface-2,var(--surface))}
.film-review-job span,.film-review-job p{font-size:15px;color:var(--muted,var(--muted));margin:0}
.film-review-result{margin-top:20px}
.film-review-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.film-review-result-heading span{color:var(--accent,var(--accent));font-weight:600}
.film-review-result-heading small{font-size:15px;color:var(--muted,var(--muted))}
.film-review-summary{font-size:15px;line-height:1.75}
.film-review-result section{margin-top:20px}.film-review-result h3{font-size:15px;margin:0 0 10px}
.film-review-finding{border:1px solid var(--line,var(--border));border-radius:9px;padding:12px;margin:8px 0}
.film-review-finding>span{font-size:12px;display:inline-block;margin-left:10px;color:var(--muted,var(--muted))}
.film-review-finding.confirmed{border-left:3px solid var(--accent)}.film-review-finding p{margin:8px 0;font-size:15px}
.film-review-evidence{display:block!important;text-align:left!important;font-size:15px!important;line-height:1.65!important;white-space:normal!important;width:100%;padding:8px 10px!important;margin-top:6px;border-radius:6px!important}
.film-review-panel details{border:1px solid var(--line,var(--border));border-radius:8px;margin:8px 0;padding:10px 12px}
.film-review-panel summary{cursor:pointer;font-size:15px;font-weight:600}.film-review-panel details p{font-size:15px}
.film-review-panel details small,.film-review-next small{display:block;margin:8px 0;font-size:15px;color:var(--muted,var(--muted))}
.film-review-next{border-radius:9px;border:1px solid var(--border);background:var(--surface-2,var(--surface));padding:14px}
.film-review-source{word-break:break-all;font-family:monospace}
.film-review-evidence-player video{width:100%;max-height:60vh;background:var(--bg);display:block}
.film-review-evidence-player p{font-size:15px;line-height:1.65}
@media(max-width:600px){.film-review-actions{align-items:stretch}.film-review-actions button{width:100%}.film-review-panel{font-size:15px}.film-review-result-heading{align-items:flex-start}.film-review-summary{font-size:15px}}


/* film-content-plan.css */
/* Saved content and project navigation; no new persistent schema. */
.film-content-plan .film-content-plan-specs{display:flex;flex-wrap:wrap;gap:18px 36px;margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid var(--studio-border,#34313f)}
.film-content-plan-specs>div{display:flex;align-items:baseline;gap:12px}
.film-content-plan dt{font-size:12px;font-weight:500;color:var(--studio-muted,#a7a6b3)}
.film-content-plan dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.film-content-plan-specs dd{font-size:14px;font-weight:600;color:var(--studio-text,#eeeaf4)}
.film-content-plan .film-outline-copy>h3{margin:0 0 10px;font-size:12px;font-weight:500;color:var(--studio-muted,#a7a6b3)}
.film-content-plan .film-content-plan-no-cover{grid-template-columns:minmax(0,1fr)}
.film-content-plan .film-outline-cover:has(img){aspect-ratio:auto;align-self:start}
.film-content-plan .film-outline-cover img{width:100%;height:auto;max-height:360px;object-fit:contain}
.film-content-plan .film-outline-cover:not(:has(img)){min-height:160px;aspect-ratio:auto;align-self:start}
.film-content-plan-details{display:grid;gap:14px;margin:22px 0 0;padding-top:18px;border-top:1px solid var(--studio-border,#34313f)}
.film-content-plan-details>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px}
.film-content-plan-details dd{font-size:13px;line-height:1.75;color:var(--studio-text,#ddd8e7)}
.film-content-plan-details dt small{display:block;margin-top:4px;color:#d5b36d;font-size:10px}
.film-content-plan-source{max-height:260px;overflow:auto}
.film-module-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 4px 12px;font-size:12px}
.film-module-sidebar-heading small{font-size:11px;color:var(--studio-muted,#9895a9)}
.academy-shell.film-immersive .film-narrative-sidebar nav>details{border-bottom:1px solid var(--studio-border,#34313f);border-radius:0}
.film-narrative-sidebar nav>details>summary{display:flex;align-items:baseline;gap:10px;list-style:none;cursor:pointer;padding:12px 4px;font-size:12px}
.film-narrative-sidebar nav>details>summary::-webkit-details-marker{display:none}
.film-narrative-sidebar summary>span{font-size:10px;color:var(--studio-muted,#9895a9);font-variant-numeric:tabular-nums}
.film-narrative-sidebar summary>strong{flex:1;line-height:1.5;font-weight:500}
.film-narrative-sidebar nav>details>summary:after{content:'⌄';color:var(--studio-muted,#9895a9)}
.film-narrative-sidebar nav>details[open]>summary:after{content:'⌃'}
.film-narrative-content{padding:0 4px 12px}
.film-narrative-content>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;font-size:12px;line-height:1.85;color:var(--studio-text,#cec9d8)}
.academy-shell.film-immersive .film-narrative-content>button{font-size:11px;color:var(--studio-muted,#b8b1cd);min-height:28px}
.film-video-source-picker{margin:0 0 14px;border:1px solid var(--studio-border,#34313f);border-radius:9px;padding:0 12px}
.film-video-source-picker>summary{cursor:pointer;padding:9px 0;font-size:12px;color:var(--studio-muted,#b8b1cd)}
.film-video-source-picker>nav{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 12px}
.film-video-source-picker>nav>button{font-size:11px;padding:6px 10px;max-width:100%;white-space:normal;text-align:left}
.film-video-source-picker>nav>button[aria-current=true]{border-color:var(--studio-accent,#9f8bd4);background:rgba(159,139,212,.13)}
@media(max-width:700px){.film-content-plan-details>div{grid-template-columns:1fr;gap:4px}.film-content-plan .film-content-plan-specs{gap:12px 24px}.film-narrative-content>p{max-height:240px;overflow:auto}}

.film-shared-navigation.film-narrative-sidebar nav>details>summary:before{content:none}
.film-shared-navigation.film-narrative-sidebar summary>span{float:none}

/* Compact only the selected content plan; full screenplay readers keep their
   original paper height, and raw-source plans retain their bounded scroll. */
.academy-shell.film-immersive .film-editor[data-stage=script] .film-content-plan .film-outline-copy>.film-screenplay-reading{min-height:136px!important;height:auto}

/* Read-only story characters stay within the original content plan and preview. */
.film-content-plan-characters{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--studio-border,#34313f)}
.film-content-plan-characters>h3{margin:0 0 12px;font-size:13px;font-weight:600}
.film-content-plan-characters>dl{display:grid;gap:14px;margin:0}
.film-content-plan-characters>dl>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px}
.film-content-plan-characters dt{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.film-content-plan-characters dd{margin:0;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.film-content-plan-characters dd>span{display:block}
.film-content-plan-characters dd b{font-weight:500}
@media(max-width:700px){.film-content-plan-characters>dl>div{grid-template-columns:1fr;gap:4px}}

.film-character-list{margin:20px 0}.film-character-list>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.film-character-list h3{margin:0}
.film-character-name-list{display:flex;flex-wrap:wrap;gap:8px}.film-character-name-list>button{display:inline-flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #4c4856;border-radius:5px;background:transparent;color:inherit;cursor:pointer}.film-character-role-badge{font-size:11px;font-weight:400;color:#aba3b7}
#dialog .film-character-detail-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;min-width:0;width:100%}.film-character-detail-top{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:16px}
#dialog .film-character-detail-form label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;font-size:13px}#dialog .film-character-detail-form input,#dialog .film-character-detail-form select{height:34px;min-height:0;padding:5px 8px;font:inherit;width:100%;box-sizing:border-box}#dialog .film-character-detail-form textarea{min-height:90px;resize:vertical;line-height:1.65;font:inherit;padding:8px;box-sizing:border-box;width:100%}
.film-character-detail-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px}.film-character-detail-actions .film-character-delete{margin-left:auto;color:#bf7474}
@media(max-width:700px){#dialog .film-character-detail-form{grid-template-columns:1fr;width:100%}.film-character-detail-top{grid-template-columns:minmax(0,1fr) 110px}}

dialog#dialog.film-studio-dialog:has(.film-character-detail-form){width:min(840px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box}
dialog#dialog.film-studio-dialog .film-character-detail-form button.primary{background:var(--studio-accent,#c4b5fd);color:#241a3d;border-color:var(--studio-accent,#c4b5fd)}
dialog#dialog.film-studio-dialog .film-character-detail-form .film-character-delete{color:#efabab}


/* film-creation-checks.css */
.academy-shell.film-immersive .film-v16-workspace:has(>.film-creation-checks){grid-template-columns:58px minmax(0,1fr) 252px}
.academy-shell.film-immersive .film-v16-workspace:has(>.film-creation-checks.is-collapsed){grid-template-columns:58px minmax(0,1fr) 38px}
.film-creation-checks{min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;padding:12px 10px;background:var(--studio-panel,#1b1c24);border-left:1px solid var(--studio-border,#343640);color:var(--studio-text,#ebebf0);overflow:hidden;font-size:12px}
.film-creation-checks>header,.film-check-detail>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.film-creation-checks>header>strong{font-size:15px;white-space:nowrap}.film-creation-checks button{color:inherit;font:inherit;cursor:pointer}
.film-creation-checks>header>button,.film-check-detail>header>button{border:0;background:transparent;padding:5px 8px;min-width:28px}
.film-check-filters{display:flex;gap:4px}.film-check-filters button{flex:1;padding:5px 3px;border:1px solid #343540;border-radius:6px;background:transparent;font-size:11px}.film-check-filters button[aria-pressed=true]{background:#403557;border-color:#76618c}
.film-check-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.film-check-list h3{font-size:11px;font-weight:500;color:#b3b1c6;margin:12px 0 5px}.film-check-list h3:first-child{margin-top:0}
.film-check-row{width:100%;display:flex!important;align-items:center;gap:7px;min-height:29px;padding:3px 6px!important;margin:3px 0;border:1px solid #323440!important;border-radius:6px!important;background:#20212a!important;text-align:left;box-sizing:border-box;box-shadow:none!important}
.film-check-row[aria-expanded=true]{border-color:#a99ac8!important;background:#2b2736!important}.film-check-icon{width:17px;height:17px;flex:0 0 17px;display:grid;place-items:center;color:#c3a2ef;background:#413052;border-radius:4px;font-size:12px}.film-check-row:nth-of-type(3n+1) .film-check-icon{color:#89c7e8;background:#253e52}.film-check-row:nth-of-type(3n+2) .film-check-icon{color:#9ed8cb;background:#26443f}
.film-check-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.film-check-state{display:flex;align-items:center;gap:5px;flex:0 0 auto;font-size:10px;color:#a8a8b5}.film-check-state i{width:6px;height:6px;border-radius:50%;background:#858591}.film-check-row:is([data-state=recorded],[data-state=checked]) .film-check-state i{background:#50cc90}.film-check-row:is([data-state=pending],[data-state=revise]) .film-check-state i{background:#e6b85c}.film-check-row[data-state=revise] .film-check-state{color:#e6b85c}
.film-creation-checks>footer{display:flex;align-items:center;justify-content:center;gap:18px;font-size:11px}.film-creation-checks>footer button{padding:3px 11px;background:#292b35;border:1px solid #414351;border-radius:5px}.film-creation-checks button:disabled{opacity:.4;cursor:default}.film-creation-checks button:focus-visible,.film-shared-navigation summary:focus-visible{outline:2px solid #c7a5ff;outline-offset:2px}
.film-check-detail{flex:0 0 auto;max-height:38%;overflow:auto;padding:9px;border:1px solid #48404e;border-radius:8px;background:#23212b}.film-check-detail p{font-size:12px;line-height:1.65;margin:7px 0;overflow-wrap:anywhere}.film-check-detail>button{width:100%;border:1px solid #66547d;background:#40304f;border-radius:6px;padding:6px}.film-creation-checks.is-collapsed{padding:7px 3px}.film-creation-checks.is-collapsed>header{flex-direction:column-reverse}.film-creation-checks.is-collapsed>header>strong{writing-mode:vertical-rl;font-size:12px;margin-top:8px}
.academy-shell.film-immersive .film-shared-navigation{padding:8px!important;min-width:0;background:var(--studio-panel,#1b1c24);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.film-shared-navigation>details{border-bottom:1px solid var(--studio-border,#343640);padding-bottom:8px;margin-bottom:8px}.film-shared-navigation summary{cursor:pointer;list-style-position:inside;padding:6px 2px;color:var(--studio-text,#eee);font-size:12px}.film-shared-navigation summary>span{float:right;color:#a4a0b4;font-size:11px}.film-shared-navigation nav>details>summary{display:flex;align-items:center}.film-shared-navigation nav>details>summary:before{content:'›';width:14px;color:#b8adc7}.film-shared-navigation nav>details[open]>summary:before{content:'⌄'}.film-shared-navigation nav>details>summary>button{min-width:0;text-align:left;flex:1;background:transparent;border:0;color:inherit;font-size:12px;padding:3px!important;border-radius:5px;white-space:normal}.film-shared-navigation nav>details>summary>button[aria-current=true]{background:#393047;color:#eee2ff}
.film-shared-section-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px 2px}.film-shared-section-assets>p{grid-column:1/-1;font-size:11px;color:#aaa;margin:4px}.film-shared-section-assets article{min-width:0}.film-shared-section-assets img{width:100%;aspect-ratio:16/10;object-fit:cover}.film-shared-section-assets button{padding:0!important;background:transparent;border:0;display:block;width:100%}.film-shared-section-assets strong{display:block;font-size:10px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.film-shared-navigation .film-art-reference-shelf{position:static!important;width:auto!important;min-width:0!important;height:auto!important;max-height:none!important;border:0!important;padding:0!important;background:transparent!important;display:block!important;overflow:visible!important}.film-shared-navigation .film-art-reference-shelf>header{display:none!important}.film-shared-navigation .film-art-reference-shelf-body{display:block!important;padding:0!important;overflow:visible!important}.film-shared-navigation .film-art-reference-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.film-shared-navigation .film-art-reference-shelf input,.film-shared-navigation .film-art-reference-shelf select{width:100%;min-width:0;box-sizing:border-box;font-size:11px;padding:5px;margin:3px 0}.film-shared-navigation .film-art-reference-shelf-name{font-size:10px}
.academy-shell.film-immersive .film-editor[data-shared-navigation=true]:is([data-stage=art],[data-stage=storyboard]) .film-v16-art--reference-shelf{grid-template-columns:minmax(0,1fr)!important;display:block!important}.academy-shell.film-immersive .film-editor[data-shared-navigation=true]:is([data-stage=art],[data-stage=storyboard]) .film-v16-art-main{grid-column:auto!important;width:auto!important}
.academy-shell.film-immersive.film-layout-active .film-editor[data-shared-navigation=true]:is([data-stage=art],[data-stage=storyboard]) .film-studio-body{grid-template-columns:var(--film-layout-assets-size,230px) minmax(0,1fr)!important}
.academy-shell.film-immersive.film-layout-active .film-editor[data-shared-navigation=true]:is([data-stage=art],[data-stage=storyboard]) .film-stage-content{grid-column:2!important;grid-row:1!important;min-width:0}
.academy-shell.film-immersive .film-creation-checks .film-check-row{height:28px!important;min-height:28px!important;max-height:28px!important;line-height:1.2!important}
.academy-shell.film-immersive .film-creation-checks .film-check-filters button{height:26px;min-height:26px!important;padding:3px!important}
.academy-shell.film-immersive .film-creation-checks .film-check-list h3{font-size:11px!important;line-height:1.4!important;margin:10px 0 4px!important}
@media(max-width:700px){.academy-shell.film-immersive.film-layout-active .film-editor[data-shared-navigation=true]:is([data-stage=art],[data-stage=storyboard]) .film-stage-content{grid-column:auto!important;grid-row:auto!important}}
.academy-shell.film-immersive .film-editor[data-shared-navigation=true] .film-scene-video-workspace{grid-template-columns:minmax(0,1fr)!important}
body:has(.film-production-workspace) .mentor-job-recovery>.mentor-job-trigger{display:none}
@media(max-width:900px){.academy-shell.film-immersive .film-v16-workspace:has(>.film-creation-checks){grid-template-columns:48px minmax(0,1fr) 210px}.academy-shell.film-immersive .film-v16-workspace:has(>.film-creation-checks.is-collapsed){grid-template-columns:48px minmax(0,1fr) 34px}.film-creation-checks{padding:8px 6px}}
@media(max-width:700px){.academy-shell.film-immersive .film-v16-workspace:has(>.film-creation-checks){display:flex;flex-direction:column;overflow:visible}.film-creation-checks{border-left:0;border-top:1px solid #343640;max-height:420px;min-height:48px}.film-creation-checks.is-collapsed>header{flex-direction:row}.film-creation-checks.is-collapsed>header>strong{writing-mode:horizontal-tb;margin:0}.film-shared-navigation{max-height:280px}.film-check-detail{max-height:150px}}

.film-shared-navigation summary>small{float:right;color:#a4a0b4;font-size:11px;font-weight:400}.film-shared-navigation summary>strong{font-weight:500}.film-shared-navigation nav>button{width:100%;text-align:left;background:transparent;color:#e6bc70;border:0;border-radius:5px;font-size:11px;padding:6px}
/* One continuous list; detail belongs to the selected row, never a lower dock. */
.film-check-list .film-check-detail{max-height:none;overflow:visible;margin:0 0 7px 23px;padding:4px 7px 8px;border:0;border-left:1px solid #766a86;border-radius:0;background:transparent}
.film-check-list .film-check-detail p{font-size:11px;line-height:1.7;margin:3px 0 6px}
.film-check-list .film-check-detail>button{min-height:27px;height:auto;padding:4px 7px;width:auto;font-size:11px;background:#393044;border:1px solid #66547d;border-radius:5px}
.film-check-row[data-state=pending] .film-check-state i{background:#e6b85c}
.film-check-row[data-state=revise] .film-check-state i{background:#f07983}
.film-check-row[data-state=revise] .film-check-state{color:#f2a4ab}
.film-check-row:is([data-state=unknown],[data-state=unchecked]) .film-check-state i{background:#9699a9}

.film-check-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.film-check-actions>button{min-height:27px;height:auto;padding:4px 7px;background:#393044;border:1px solid #66547d;border-radius:5px;font-size:11px;text-align:left}.film-check-actions>button:focus-visible{outline:2px solid #c7a5ff;outline-offset:2px}
.film-delivery-source{max-height:58vh;overflow:auto;overscroll-behavior:contain}.film-delivery-source article{margin:12px 0;padding:8px 0;border-bottom:1px solid #68617344}.film-delivery-source p,.film-delivery-source pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}.film-delivery-source .film-delivery-frame{display:block;max-width:100%;max-height:340px;object-fit:contain;margin:8px auto}.film-delivery-source details{margin:8px 0}.film-delivery-source summary{cursor:pointer}


/* creation-entry.css */
/* The approved graphite homepage is the visual reference for creation. */
.creation-entry-home,.creation-entry-nav,.creation-focused-editor{color:var(--creation-text)}
.creation-entry-home{max-width:1120px;margin:auto;padding:52px 28px;background:var(--creation-bg);min-height:65vh}
.creation-entry-home>header{margin-bottom:36px}.creation-entry-home h1{font-size:clamp(26px,3vw,36px);font-weight:600;margin:12px 0;letter-spacing:-.025em}
.creation-entry-home p{color:var(--creation-muted);line-height:1.8;font-size:15px}.creation-entry-home .eyebrow{color:var(--creation-accent)}
.creation-entry-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.creation-entry-cards>button{min-width:0;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:28px 24px;border:1px solid var(--creation-border);border-radius:16px;background:var(--creation-panel);color:var(--creation-text);min-height:260px}
.creation-entry-cards>button:hover{background:var(--surface);border-color:#b8a8f470}.creation-entry-icon{color:var(--creation-accent)}.creation-entry-icon svg{width:30px;height:30px}.creation-entry-cards h2{font-size:22px;font-weight:600;margin:26px 0 8px}.creation-entry-cards p{margin:0 0 28px}.creation-entry-link{margin-top:auto;font-size:15px;color:var(--creation-accent)}
.creation-recent{margin-top:32px;border-top:1px solid var(--creation-border);padding-top:20px}.creation-recent summary{cursor:pointer;color:var(--creation-muted);font-size:15px}.creation-recent>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.creation-recent button{display:grid;text-align:left;gap:9px;padding:16px;border:1px solid var(--creation-border);border-radius:10px;background:var(--creation-panel);color:var(--creation-text)}.creation-recent small{color:var(--creation-muted);font-size:15px}
.creation-entry-nav{display:flex;align-items:center;gap:24px;padding:12px 20px;background:var(--creation-bg);border-bottom:1px solid var(--creation-border);flex-wrap:wrap}.creation-entry-nav>div{display:flex;gap:6px}.creation-entry-nav button{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:var(--creation-muted);padding:8px 12px;white-space:nowrap;border-radius:8px;font-size:15px}.creation-entry-nav svg{width:16px;height:16px}.creation-entry-nav button[aria-pressed=true]{color:var(--creation-accent);background:#b8a8f418}
.academy-shell:has(.creation-entry-home){background:var(--bg)}
.academy-shell .creation-focused-editor{display:block!important;position:relative;background:var(--creation-bg);min-height:72vh;height:auto!important;overflow:visible!important}.creation-focused-editor .film-project-switch{color:var(--creation-text)}.creation-focused-editor #film-save-status{color:var(--creation-muted)}
.academy-shell .creation-focused-editor .film-studio-body{display:block!important;position:relative;height:auto!important;min-height:60vh;padding:20px!important;overflow:visible!important}.academy-shell .creation-focused-editor .film-stage-content{position:relative!important;inset:auto!important;padding:0!important;overflow:visible!important;width:auto!important;max-width:none!important;margin:0!important}
.creation-focus-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.creation-canvas,.creation-input-panel{min-width:0}.creation-canvas-title,.creation-canvas-tools{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:8px 0 16px}.creation-canvas-title>span{color:var(--creation-muted);font-size:15px}.creation-canvas-tools{justify-content:center;font-size:15px;padding:14px}.creation-canvas-tools a{color:var(--creation-accent)}
.creation-large-preview{position:relative;min-height:320px;height:clamp(300px,48vh,660px);background:var(--bg);border:1px solid var(--creation-border);border-radius:14px;overflow:hidden;display:grid;place-items:center}.creation-large-preview>img,.creation-large-preview>video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}.creation-large-preview .film-frame-placeholder{height:100%;width:100%;min-height:280px;color:var(--creation-muted);background:transparent}
.creation-focused-editor details{border:1px solid var(--creation-border);border-radius:10px;margin-top:12px;background:var(--creation-panel);padding:12px}.creation-focused-editor summary{cursor:pointer;font-size:15px;color:var(--creation-muted);list-style-position:inside}.creation-focused-editor summary span{float:right}.creation-items>div{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px}.creation-items button[aria-pressed=true]{color:var(--creation-accent);border-color:var(--creation-accent)}
.creation-image-composer{padding:18px;background:var(--creation-panel);border:1px solid var(--creation-border);border-radius:14px}.creation-image-composer .film-video-prompt{min-height:140px;padding:12px;color:var(--creation-text);background:var(--bg);border:1px solid var(--creation-border);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.creation-image-composer footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;flex-wrap:wrap}.creation-image-composer footer small{font-size:12px;color:var(--creation-muted)}
.creation-focused-editor .film-video-inspector{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;background:var(--creation-panel);border:1px solid var(--creation-border);border-radius:14px;padding:18px}.creation-focused-editor .film-video-source{margin-bottom:12px}.creation-focused-editor .film-video-source-frame{display:none}.creation-focused-editor .film-video-context>select{display:none}.creation-focused-editor .film-side-library{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:12px 0;background:transparent!important;border:0!important}.creation-focused-editor .film-side-assets{max-height:300px;overflow:auto}.creation-focused-editor .film-side-assets .film-library-thumb{height:80px}.creation-focused-editor .film-video-context{grid-template-columns:1fr}.creation-focused-editor .primary{background:var(--creation-accent);border-color:var(--creation-accent);color:var(--accent-ink);border-radius:9px}
.creation-empty-canvas{display:grid;justify-items:center;align-content:center;gap:16px;min-height:50vh;padding:32px;text-align:center}.creation-empty-canvas h2{margin:0}.creation-empty-canvas p{color:var(--creation-muted);max-width:45ch;line-height:1.8}.mentor-input-hint{display:block;color:var(--muted);font-size:12px;margin:5px 0 10px}
@media(max-width:1100px){.creation-focus-workspace{grid-template-columns:minmax(0,1fr)}.creation-large-preview{height:44vh}.creation-entry-cards{gap:12px}.creation-entry-cards>button{padding:24px 18px}}
@media(max-width:700px){.creation-entry-home{padding:28px 4px}.creation-entry-home>header{margin-bottom:24px}.creation-entry-cards,.creation-recent>div{grid-template-columns:1fr}.creation-entry-cards>button{min-height:0;padding:22px}.creation-entry-cards h2{margin:14px 0 8px}.creation-entry-cards p{margin-bottom:16px}.creation-entry-nav{padding:12px;gap:8px}.creation-entry-nav>div{width:100%;overflow-x:auto}.creation-entry-nav button{padding:8px 10px;font-size:15px}.academy-shell .creation-focused-editor .film-studio-body{padding:14px!important}.creation-large-preview{min-height:230px;height:34vh}.creation-focus-workspace{gap:16px}.creation-empty-canvas{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){.creation-entry-cards button{transition:none}.creation-focused-editor .creation-spinner{animation:none}}
/* Reference thumbnails stay above the description in the same composer. */
.creation-image-composer .creation-inline-references{margin:0 0 8px}
.creation-image-composer .creation-inline-references>summary{cursor:pointer;color:var(--creation-muted);font-size:12px}
.creation-image-composer .film-attachments{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;max-width:100%}
.creation-image-composer .film-attachment{flex:none}
.creation-image-composer .film-video-prompt{min-height:64px;max-height:220px;overflow-y:auto}
.creation-image-composer footer{margin-top:10px;justify-content:flex-start}
.creation-image-composer .film-composer-quote{margin-left:auto;color:var(--creation-muted);font-size:12px;white-space:nowrap}


/* workspace-theme.css */
/* Shared inner-page tokens derived from the accepted graphite entry/home. */
.academy-shell{--workspace-radius:10px;--workspace-gap:20px;--workspace-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.academy-shell .mentor-portrait{display:block!important;flex:none!important;width:44px!important;height:58px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}.academy-shell .mentor-portrait img{width:100%;height:100%;object-fit:contain!important;image-rendering:pixelated}
.mentor-portrait[data-mentor-state=thinking]{opacity:.82}.mentor-portrait[data-mentor-state=speaking]{filter:drop-shadow(0 0 5px #b8a8f425)}
.mentor-functions .mentor-attachments{display:grid;gap:8px;margin:0 0 10px}.mentor-attachments>article{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--surface);border:1px solid #ffffff1b;border-radius:9px;padding:8px;color:var(--text)}.mentor-attachments img{width:40px;height:40px;object-fit:cover;border-radius:5px}.mentor-attachments>article>span{font-size:12px;flex:1;min-width:65px;overflow-wrap:anywhere;line-height:1.5}.mentor-attachments small{display:block;color:var(--muted);font-size:12px}.mentor-attachments button{font-size:12px;padding:5px;background:transparent;color:var(--accent);border:0}.mentor-attachments .mentor-attachment-error{width:100%;color:var(--accent)}.mentor-functions .mentor-attach-button{font-size:12px;padding:6px;border:0;background:transparent;color:var(--accent)}.mentor-functions form>div:last-child{flex-wrap:wrap}.mentor-functions .mentor-image-drop-active{outline:2px dashed var(--accent);outline-offset:-4px;background:#b8a8f40b}
.mentor-image-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mentor-image-picker button{display:grid;gap:8px;text-align:left;padding:8px;border:1px solid #ffffff1b;border-radius:9px;background:var(--surface);color:var(--text);font-size:15px}.mentor-image-picker img{width:100%;height:100px;object-fit:contain}
.mentor-attachments .mentor-attachment-file-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;border-radius:5px;background:var(--selected);color:var(--accent);font-size:23px}.mentor-image-picker .mentor-attachment-file-icon{display:grid;place-items:center;min-height:100px;font-size:32px;background:var(--selected);border-radius:5px}.mentor-image-picker small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.image-output-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.image-output-controls label{font-size:12px;display:grid;gap:5px;min-width:75px;color:var(--muted)}.image-output-controls select{padding:7px 9px!important;border-radius:7px;min-width:76px}.image-output-controls>small{font-size:12px;color:var(--muted)}.image-output-fixed{display:block;margin:12px 0;color:var(--muted);font-size:12px}
.creation-focused-editor .film-video-inspector{color:var(--text)}.creation-focused-editor .film-video-inspector .film-video-source{background:transparent;border-color:#ffffff1b}.creation-focused-editor .film-video-source p,.creation-focused-editor .film-video-source strong{color:var(--muted)}.creation-focused-editor .film-video-output{flex-wrap:wrap;gap:12px}.creation-focused-editor .film-video-output-settings{flex-wrap:wrap}.creation-focused-editor .film-video-generate{min-width:40px}.creation-focused-editor .film-side-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.academy-shell:has(.creation-focused-editor) .mentor-docked{min-height:65vh;max-height:calc(100vh - 120px)}
@media(max-width:1000px){.academy-shell:has(.creation-focused-editor) .mentor-docked{min-height:320px;max-height:none}}
@media(prefers-reduced-motion:reduce){.mentor-portrait{transition:none!important;animation:none!important;filter:none!important}.academy-shell .creation-spinner{animation:none!important}}

.academy-shell .creation-focused-editor .primary{background:var(--workspace-accent)!important;border-color:var(--workspace-accent)!important;color:var(--accent-ink)}.academy-shell .creation-focused-editor .creation-large-preview{background:var(--bg)!important}.academy-shell .creation-focused-editor .film-frame-placeholder{background:transparent!important;border:0!important}.academy-shell .mentor-functions .primary{background:var(--surface)!important;border-color:var(--accent)!important;color:var(--accent-ink)}.mentor-portrait[data-mentor-state=generating]{opacity:.8}

.academy-shell .creation-focused-editor .film-studio-body{background:var(--workspace-bg)!important}

.film-library-document{display:grid;place-items:center;min-height:40px;color:var(--accent);font-size:28px}

.mentor-attach-button[data-xiaoying-tooltip]{position:relative;overflow:visible}.mentor-attach-button[data-xiaoying-tooltip]:is(:hover,:focus-visible)>.xiaoying-voice-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* One quiet upload entry, aligned with the composer rather than the message. */
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-composer-toolbar{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important;min-width:0}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-composer-tools{display:flex;align-items:center;flex:1 1 auto;flex-wrap:wrap;gap:5px;min-width:0}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-composer-send{flex:0 0 auto;margin-left:auto!important}
.mentor-upload-menu{--mentor-upload-surface:var(--surface,#fff);--mentor-upload-ink:var(--text,#303138);--mentor-upload-hover:var(--raised,#f4f4f6);--mentor-upload-border:var(--border,#e0e0e6);position:relative;display:inline-flex;align-items:center;flex:0 0 32px;isolation:isolate}
.xiaoying-guide .mentor-upload-menu{--mentor-upload-surface:#fff;--mentor-upload-ink:#303138;--mentor-upload-hover:#f4f4f6;--mentor-upload-border:#e0e0e6}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-toggle{display:grid!important;place-items:center!important;flex:0 0 32px;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:5px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--mentor-upload-ink)!important;box-shadow:none!important;line-height:1!important}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-toggle:hover,:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-toggle[aria-expanded=true]{background:var(--mentor-upload-hover)!important}
.mentor-upload-toggle>svg{display:block;width:21px;height:21px;pointer-events:none}
.mentor-upload-popup{position:absolute;left:0;bottom:calc(100% + 7px);z-index:14;display:grid;gap:2px;width:184px;max-width:calc(100vw - 32px);padding:6px;box-sizing:border-box;background:var(--mentor-upload-surface);border:1px solid var(--mentor-upload-border);border-radius:12px;box-shadow:0 10px 28px #1118271a;color:var(--mentor-upload-ink)}
.mentor-upload-popup[hidden]{display:none!important}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-popup>button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:38px!important;padding:8px 10px!important;margin:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--mentor-upload-ink)!important;box-shadow:none!important;font:inherit;font-size:13px!important;line-height:1.4!important;text-align:left;white-space:nowrap}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-popup>button:hover{background:var(--mentor-upload-hover)!important}
.mentor-upload-popup>button>svg{flex:none;width:18px;height:18px;pointer-events:none}
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) :is(.mentor-upload-toggle,.mentor-upload-popup>button):focus-visible{outline:2px solid var(--accent,#7868aa)!important;outline-offset:2px}

:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-upload-toggle[aria-expanded=true]>.xiaoying-voice-tooltip{display:none!important}

/* Voice input remains beside Send in the original question action row. */
:is(#mentor-form,#mentor-home-form,#mentor-roaming-form) .mentor-composer-submit,.course-question-actions>.mentor-composer-submit{display:inline-flex;align-items:center;justify-content:flex-end;flex:0 1 auto;gap:6px;margin-left:auto;min-width:0;max-width:100%}
.mentor-composer-submit>.mentor-voice-tools,.mentor-composer-submit>.native-voice-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;min-width:0}
.mentor-composer-submit .mentor-mic{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:6px;border:0;border-radius:50%;background:transparent;color:inherit}
.mentor-composer-submit .mentor-mic>svg{display:block;width:20px;height:20px;flex:none}

.course-art-drag[data-xiaoying-tooltip]{position:relative;overflow:visible}
.course-art-drag[data-xiaoying-tooltip]:is(:hover,:focus-visible)>.xiaoying-voice-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}


/* film-stage-canvas.css */
.film-stage-canvas{min-width:0;width:100%;overflow:hidden;border:1px solid var(--stage-canvas-border);border-radius:14px;background:var(--stage-canvas-bg);color:var(--text);isolation:isolate}
.film-stage-canvas .film-stage-canvas-toolbar{display:flex;flex-direction:row;align-items:center;gap:6px 18px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface)}.film-stage-canvas .film-stage-canvas-heading{display:flex;align-items:center;gap:10px;flex:1 1 150px}.film-stage-canvas .film-stage-canvas-heading strong{font-size:15px;font-weight:600}.film-stage-canvas .film-stage-canvas-heading span,.film-stage-canvas [data-stage-canvas-selected-count]{color:var(--text);font-size:15px;white-space:nowrap}
.film-stage-canvas .film-stage-canvas-view-tools,.film-stage-canvas .film-stage-canvas-selection-tools,.film-stage-canvas .film-stage-canvas-name-tools{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}.film-stage-canvas button{min-height:44px;border:1px solid transparent;border-radius:7px;background:transparent;color:inherit;font:inherit;box-shadow:none;cursor:pointer}.film-stage-canvas .film-stage-canvas-toolbar button{padding:7px 10px;font-size:15px;white-space:nowrap}.film-stage-canvas button:hover:not(:disabled){background:var(--raised)}.film-stage-canvas button:disabled{opacity:.38;cursor:default}.film-stage-canvas button:focus-visible,.film-stage-canvas input:focus-visible,.film-stage-canvas [tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.film-stage-canvas .film-stage-canvas-view-tools button:first-child,.film-stage-canvas .film-stage-canvas-view-tools button:nth-of-type(2){min-width:44px;font-size:20px}.film-stage-canvas [data-stage-canvas-zoom]{min-width:45px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}.film-stage-canvas .film-stage-canvas-name-tools input{width:160px;min-width:0;min-height:36px;box-sizing:border-box;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);font:inherit;font-size:15px}.film-stage-canvas .film-stage-canvas-name-tools input:disabled{opacity:.45}
.film-stage-canvas .film-stage-canvas-viewport{position:relative;overflow:hidden;touch-action:none;overscroll-behavior:contain;cursor:grab;background-color:var(--surface);background-image:radial-gradient(#514958 .7px,transparent .7px);background-size:24px 24px}.film-stage-canvas .film-stage-canvas-viewport:active{cursor:grabbing}.film-stage-canvas .film-stage-canvas-world{position:absolute;inset:0;transform-origin:0 0;will-change:transform;pointer-events:none}.film-stage-canvas .film-stage-canvas-groups{position:absolute;inset:0;pointer-events:none;z-index:0}.film-stage-canvas .film-stage-canvas-group{position:absolute;box-sizing:border-box;border:0;border-radius:0;background:transparent;pointer-events:none}.film-stage-canvas .film-stage-canvas-group.is-selected{background:transparent}.film-stage-canvas .film-stage-canvas-group-handle{display:flex;align-items:center;gap:9px;max-width:100%;height:44px;min-height:44px;padding:0 4px;border:0;background:transparent;pointer-events:auto;touch-action:none;cursor:grab;color:var(--accent);text-align:left}.film-stage-canvas .film-stage-canvas-group-handle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500}.film-stage-canvas .film-stage-canvas-group-handle small{color:var(--muted);font-size:12px}.film-stage-canvas .film-stage-canvas-group-handle>span{font-size:21px}
.film-stage-canvas .film-stage-canvas-card{position:absolute;z-index:1;width:240px;box-sizing:border-box;display:flex;flex-direction:column;overflow:visible;border:0;border-radius:6px;background:transparent;pointer-events:auto;box-shadow:none}.film-stage-canvas .film-stage-canvas-card.is-selected{border:0;box-shadow:none}.film-stage-canvas .film-stage-canvas-card-header{display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;align-items:center;position:absolute;top:0;left:0;right:0;z-index:3;height:36px;min-width:0;border:0;background:transparent;opacity:0;pointer-events:none}.film-stage-canvas .film-stage-canvas-drag{display:flex;align-items:center;gap:8px;flex:0 0 36px;min-width:0;padding:0 9px;border-radius:0;cursor:grab;touch-action:none;user-select:none}.film-stage-canvas .film-stage-canvas-drag:active,.film-stage-canvas .film-stage-canvas-group-handle:active{cursor:grabbing}.film-stage-canvas .film-stage-canvas-drag span{color:var(--muted);font-size:18px}.film-stage-canvas .film-stage-canvas-drag strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.film-stage-canvas .film-stage-canvas-select{margin-left:auto;flex:0 0 36px;width:36px;height:36px;min-height:36px;border-radius:6px;border:0;color:var(--muted)}.film-stage-canvas .film-stage-canvas-select[aria-pressed="true"]{color:var(--accent);background:var(--raised)}.film-stage-canvas .film-stage-canvas-body{flex:1;min-height:0;overflow:visible;cursor:auto;touch-action:pan-y;overscroll-behavior:contain}.film-stage-canvas .film-stage-canvas-body img,.film-stage-canvas .film-stage-canvas-body video{max-width:100%}.film-stage-canvas .film-stage-canvas-body video,.film-stage-canvas .film-stage-canvas-body input,.film-stage-canvas .film-stage-canvas-body textarea,.film-stage-canvas .film-stage-canvas-body button{touch-action:manipulation}
.film-stage-canvas .film-stage-canvas-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:30px;pointer-events:none;text-align:center}.film-stage-canvas .film-stage-canvas-empty strong{font-size:17px;font-weight:500}.film-stage-canvas .film-stage-canvas-empty span{max-width:360px;font-size:15px;line-height:1.7;color:var(--text)}.film-stage-canvas .film-stage-canvas-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:10px 14px;border-top:1px solid var(--border);color:var(--text);font-size:12px;line-height:1.6}
@media(max-width:600px){.film-stage-canvas{border-radius:11px}.film-stage-canvas .film-stage-canvas-toolbar{padding:8px 9px;gap:3px 8px}.film-stage-canvas .film-stage-canvas-heading{flex-basis:100%;padding:3px}.film-stage-canvas .film-stage-canvas-view-tools{justify-content:space-between;width:100%}.film-stage-canvas .film-stage-canvas-selection-tools{width:100%;justify-content:space-between}.film-stage-canvas .film-stage-canvas-name-tools{width:100%}.film-stage-canvas .film-stage-canvas-name-tools input{flex:1}.film-stage-canvas .film-stage-canvas-toolbar button{padding:7px 8px}.film-stage-canvas .film-stage-canvas-viewport{}.film-stage-canvas .film-stage-canvas-foot{padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.film-stage-canvas *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){}
.film-stage-canvas .film-stage-card-body{display:flex;flex-direction:column;gap:9px;min-height:100%;box-sizing:border-box;padding:10px;color:var(--text)}.film-stage-canvas .film-stage-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:18px;color:var(--text);font-size:12px;line-height:1.5}.film-stage-canvas .film-stage-card-meta span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-stage-canvas .film-stage-card-meta span+span:before{content:'·';margin-right:8px;color:var(--muted)}
.film-stage-canvas .film-stage-card-main{width:100%;aspect-ratio:16/9;flex:none;overflow:hidden;border:0;border-radius:7px;background:var(--bg);box-sizing:border-box}.film-stage-canvas .film-stage-card-main>.film-stage-card-preview,.film-stage-canvas .film-stage-card-main>.film-stage-card-video{display:block;width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:var(--bg)}.film-stage-canvas .film-stage-card-main .film-stage-card-preview img,.film-stage-canvas .film-stage-card-video{display:block;width:100%;height:100%;object-fit:contain}.film-stage-canvas .film-stage-card-video{max-height:150px;touch-action:manipulation}.film-stage-canvas .film-stage-card-preview{min-width:0;overflow:hidden;padding:0;background:var(--surface);text-align:left}.film-stage-canvas .film-stage-card-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--bg)}.film-stage-canvas .film-stage-card-empty{display:flex;align-items:center;justify-content:center;min-height:64px;height:100%;box-sizing:border-box;margin:0;padding:14px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.7;text-align:center}
.film-stage-canvas .film-stage-card-intention,.film-stage-canvas .film-stage-card-summary{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:var(--text);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.film-stage-canvas .film-stage-card-intention{-webkit-line-clamp:2;line-clamp:2;color:var(--accent)}.film-stage-canvas .film-stage-card-intention strong{font-weight:500;color:var(--accent)}.film-stage-canvas .film-stage-card-summary{-webkit-line-clamp:3;line-clamp:3}
.film-stage-canvas .film-stage-card-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:7px;border-top:1px solid var(--border)}.film-stage-canvas .film-stage-card-frames figure{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}.film-stage-canvas .film-stage-card-frames figure>button{display:block;width:100%;min-height:44px;aspect-ratio:16/9;overflow:hidden;padding:0;border:1px solid var(--border);border-radius:5px;background:var(--bg)}.film-stage-canvas .film-stage-card-frames img{display:block;width:100%;height:100%;object-fit:contain}.film-stage-canvas .film-stage-card-frames figcaption{color:var(--muted);font-size:12px;line-height:1.5}.film-stage-canvas .film-stage-card-frames>.film-stage-card-empty{min-height:70px;padding:7px;font-size:12px}.film-stage-canvas .film-stage-card-frames>.film-stage-card-empty:only-child{grid-column:1/-1}
.film-stage-canvas .film-stage-card-versions,.film-stage-canvas .film-stage-card-references{margin:0;border-top:1px solid var(--border)}.film-stage-canvas .film-stage-card-versions>summary,.film-stage-canvas .film-stage-card-references>summary{min-height:34px;box-sizing:border-box;padding:8px 2px;color:var(--accent);font-size:12px;cursor:pointer;list-style-position:inside}.film-stage-canvas .film-stage-card-versions>summary span,.film-stage-canvas .film-stage-card-references>summary span{float:right;min-width:18px;padding:0 4px;border-radius:4px;background:var(--raised);color:var(--accent);text-align:center;font-size:12px}.film-stage-canvas .film-stage-card-versions>div,.film-stage-canvas .film-stage-card-references>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:7px}.film-stage-canvas .film-stage-card-preview.is-thumbnail{display:flex;flex-direction:column;width:100%;border:1px solid var(--border);border-radius:6px}.film-stage-canvas .film-stage-card-preview.is-thumbnail img{flex:none;aspect-ratio:16/9}.film-stage-canvas .film-stage-card-preview.is-thumbnail>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;padding:5px 6px;color:var(--text);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.film-stage-canvas .film-stage-card-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid var(--border);background:var(--surface)}.film-stage-canvas .film-stage-card-actions button{min-height:36px;padding:6px 9px;border:1px solid var(--border);border-radius:6px;color:var(--accent);background:var(--raised);font-size:12px}.film-stage-canvas .film-stage-card-actions button:last-child{border-color:var(--accent);background:var(--selected);color:var(--text)}
@media(max-width:600px){.film-stage-canvas .film-stage-card-actions button,.film-stage-canvas .film-stage-card-versions>summary,.film-stage-canvas .film-stage-card-references>summary{min-height:44px}.film-stage-canvas .film-stage-card-versions>summary,.film-stage-canvas .film-stage-card-references>summary{padding-top:12px}}


/* film-stage-flow.css */

.film-stage-canvas .film-stage-card-body{min-height:0}
.film-stage-node-actions{padding:0 10px 12px}.film-stage-flow-note,.film-stage-flow-reason{margin:8px 0;color:var(--flow-muted,var(--text));font-size:15px;line-height:1.65;overflow-wrap:anywhere}.film-stage-flow-reason{color:var(--accent)}.film-stage-version-list ul,.film-stage-unassigned ul{display:grid;gap:12px;margin:0;padding:10px 0;list-style:none}.film-stage-version-list ul{grid-template-columns:repeat(2,minmax(0,1fr))}.film-stage-version-list li,.film-stage-unassigned li{display:flex;flex-direction:column;gap:6px;min-width:0}.film-stage-version-meta{font-size:12px;color:var(--flow-muted,var(--text))}
.film-stage-node-actions .film-stage-card-actions{justify-content:stretch}.film-stage-node-actions .film-stage-card-actions>button{flex:1 1 auto}.film-stage-version-list li>button:last-child{min-height:36px;border:1px solid var(--flow-border,var(--border));background:var(--raised);font-size:12px}
.film-stage-unassigned{margin:0 0 12px;border:1px solid var(--flow-border);border-radius:10px;background:var(--surface);overflow:hidden}.film-stage-unassigned>summary{display:flex;justify-content:space-between;gap:12px;min-height:44px;align-items:center;padding:8px 14px;cursor:pointer;font-size:15px;color:var(--accent)}.film-stage-unassigned>p,.film-stage-unassigned>ul{margin:0;padding:10px 14px}.film-stage-unassigned ul{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:350px;overflow:auto}.film-stage-unassigned li{border:1px solid var(--flow-border);padding:8px;border-radius:8px;background:var(--flow-surface)}.film-stage-unassigned .film-stage-card-preview{display:flex;flex-direction:column;gap:7px;max-width:100%;padding:0;background:var(--surface);border:0;color:var(--accent);text-align:left}.film-stage-unassigned .film-stage-card-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}.film-stage-unassigned .film-stage-card-preview span{overflow-wrap:anywhere;font-size:15px;padding:4px 6px}.film-stage-unassigned li>button:last-child{min-height:44px;border:1px solid var(--border);border-radius:7px;background:var(--raised);color:var(--text);font-size:15px}
.film-stage-target-form{display:flex;flex-direction:column;gap:12px;min-width:0}.film-stage-target-form select{min-height:44px;max-width:100%}.film-stage-target-form>button{min-height:44px}.film-stage-target-asset{overflow-wrap:anywhere;margin:0;color:var(--accent)}
@media(max-width:600px){.film-stage-version-list li>button:last-child{min-height:44px}.film-stage-unassigned ul{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:8px}.film-stage-unassigned li{padding:6px}}
@media(prefers-reduced-motion:reduce){.film-stage-node-actions *,.film-stage-unassigned *,.film-stage-target-form *{animation:none!important;transition:none!important}}
.film-canvas-free-composer{margin:0 0 12px;border:1px solid var(--flow-border);border-radius:10px;background:var(--surface);color:var(--accent);overflow:hidden}.film-canvas-free-composer summary{min-height:44px;padding:10px 14px;box-sizing:border-box;cursor:pointer;font-size:15px;line-height:24px}.film-canvas-free-body{display:flex;flex-direction:column;gap:14px;padding:4px 16px 16px}.film-canvas-free-body>p{margin:0;font-size:15px;line-height:1.7;color:var(--flow-muted)}.film-canvas-free-body label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:15px;color:var(--text)}.film-canvas-free-body textarea,.film-canvas-free-body select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--flow-border);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}.film-canvas-free-body textarea{resize:vertical;line-height:1.65;min-height:96px}.film-canvas-free-body select{overflow:hidden;text-overflow:ellipsis}.film-canvas-free-parameters{border-top:1px solid var(--border)}.film-canvas-free-parameters summary{padding-left:0;color:var(--text)}.film-canvas-free-parameters-grid,.film-canvas-free-reference{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.film-canvas-free-references{display:flex;flex-direction:column;gap:12px;margin-top:14px}.film-canvas-free-parameters>small,.film-canvas-free-body>small{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6}.film-canvas-free-submit{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.film-canvas-free-submit>span{font-size:15px;color:var(--accent)}.film-canvas-free-submit>button{min-height:44px;padding:8px 18px;border:1px solid var(--accent);border-radius:8px;background:var(--selected);color:var(--text);font:inherit;font-size:15px}.film-canvas-free-submit>button:disabled{opacity:.45;cursor:default}.film-canvas-free-composer :is(button,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:600px){.film-canvas-free-body{padding:4px 12px 12px}.film-canvas-free-reference{grid-template-columns:minmax(0,1fr)}.film-canvas-free-submit>button{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.film-canvas-free-composer *{animation:none!important;transition:none!important}}

/* Canvas cards keep media in view; the selected context owns generation. */
.film-stage-canvas .film-stage-card-body.is-compact{gap:6px;padding:10px 10px 0}
.film-stage-canvas .film-stage-card-body.is-compact>.film-stage-card-meta{justify-content:space-between;font-size:12px}
.film-stage-canvas .film-stage-card-body.is-compact>.film-stage-card-meta span:last-child{color:var(--flow-accent,var(--accent))}
.film-stage-canvas .film-stage-card-details{margin:0;border-top:1px solid var(--flow-border,var(--border))}
.film-stage-canvas .film-stage-card-details>summary{min-height:34px;box-sizing:border-box;padding:8px 2px;color:var(--flow-muted,var(--text));font-size:12px;cursor:pointer;list-style-position:inside}
.film-stage-canvas .film-stage-card-details>summary span{float:right;font-variant-numeric:tabular-nums}
.film-stage-canvas .film-stage-card-details-content{display:flex;flex-direction:column;gap:10px;min-width:0;padding:4px 0 10px}
.film-stage-canvas .film-stage-card-details-content :is(.film-stage-card-intention,.film-stage-card-summary){display:block;overflow:visible;white-space:pre-wrap}
.film-stage-canvas .film-stage-card-details-content .film-stage-card-actions{margin-top:0}
.film-stage-node-actions.is-compact{padding:0 10px 10px}
.film-stage-node-actions.is-compact>.film-stage-card-actions{margin-top:0;padding:0 0 6px;border-top:0}
.film-stage-node-actions.is-compact .film-stage-card-actions>button{min-height:34px;background:transparent;border-color:var(--flow-border,var(--border));color:var(--flow-accent,var(--accent))}
.film-stage-node-actions.is-compact>.film-stage-flow-note{font-size:12px;margin:4px 0 8px}
.film-stage-node-actions.is-compact .film-stage-version-list>summary{min-height:34px}
.film-stage-node-actions.is-compact .film-stage-version-list>.film-stage-flow-note{margin:4px 0 0}

/* Shared selected-node generator, also used inside the course wrapper. */
.film-stage-context{box-sizing:border-box;min-width:0;max-width:100%;margin-top:12px;padding:16px;border:1px solid var(--flow-border,var(--border));border-radius:12px;background:var(--flow-surface,var(--surface));color:var(--text);font:inherit}
.film-stage-context-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-width:0;margin-bottom:12px}
.film-stage-context-heading :is(h2,h3,h4,p){margin:0;overflow-wrap:anywhere}
.film-stage-context-heading :is(h2,h3,h4,strong){font-size:15px;font-weight:600}
.film-stage-context-heading :is(p,small,span){color:var(--flow-muted,var(--text));font-size:15px;line-height:1.6}
.film-stage-context-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.film-stage-context label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;color:var(--text);font-size:15px;line-height:1.6}
.film-stage-context :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--flow-border,var(--border));border-radius:7px;background:var(--surface);color:var(--text);font:inherit;font-size:15px}
.film-stage-context textarea{min-height:88px;resize:vertical;line-height:1.65}
.film-stage-context select{overflow:hidden;text-overflow:ellipsis}
.film-stage-context :is(input[type="checkbox"],input[type="radio"]){width:20px;min-height:20px;flex:none}
.film-stage-context :is(button,summary){box-sizing:border-box;min-height:44px;max-width:100%;font:inherit;font-size:15px;overflow-wrap:anywhere;cursor:pointer}
.film-stage-context button{padding:8px 12px;border:1px solid var(--flow-border,var(--border));border-radius:7px;background:transparent;color:var(--flow-accent,var(--accent))}
.film-stage-context button:disabled{opacity:.45;cursor:default}
.film-stage-context-parameters{min-width:0;border-top:1px solid var(--flow-border,var(--border))}
.film-stage-context-parameters>summary{padding:10px 0;color:var(--flow-muted,var(--text));line-height:24px;list-style-position:inside}
.film-stage-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding:0 0 12px}
.film-stage-context section[data-film-reference-drop]{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin-bottom:12px;padding:10px;border:1px dashed var(--flow-border,var(--border));border-radius:8px}
.film-stage-context section[data-film-reference-drop]>strong{flex:1 1 auto;font-size:15px;font-weight:500}
.film-stage-context section[data-film-reference-drop]>span{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 100%;min-width:0;overflow-wrap:anywhere}
.film-stage-context section[data-film-reference-drop]>span>button{flex:none}
.film-stage-context-submit{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;min-width:0;padding-top:12px;border-top:1px solid var(--flow-border,var(--border))}
.film-stage-context-submit :is(p,span,small){margin:0;color:var(--flow-accent,var(--accent));font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.film-stage-context-submit>button{min-width:120px;background:var(--selected);border-color:var(--accent);color:var(--text);font-size:15px}
.film-stage-context-empty{margin:0;color:var(--flow-muted,var(--text));font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.film-stage-context :is(button,input,select,textarea,summary):focus-visible,.film-stage-canvas .film-stage-card-details>summary:focus-visible{outline:2px solid var(--flow-accent,var(--accent));outline-offset:2px}
@media(max-width:600px){
 .film-stage-canvas .film-stage-card-details>summary,.film-stage-node-actions.is-compact .film-stage-card-actions>button,.film-stage-node-actions.is-compact .film-stage-version-list>summary{min-height:44px}
 .film-stage-context{padding:12px;border-radius:10px}
 .film-stage-context-heading{align-items:flex-start}
 .film-stage-context-grid{grid-template-columns:minmax(0,1fr)}
 .film-stage-context-submit{align-items:stretch}
 .film-stage-context-submit>button{flex:0 0 auto;width:auto}
}
@media(prefers-reduced-motion:reduce){.film-stage-context *,.film-stage-canvas .film-stage-card-details *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.film-course-context,.film-save-recovery{box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;min-width:0;max-width:100%;margin:0 0 12px;padding:12px 16px;border:1px solid var(--flow-border,var(--border));border-radius:10px;background:var(--flow-surface,var(--surface));color:var(--text);font-size:15px;line-height:1.7}
.film-course-context :is(strong,p,small),.film-save-recovery p{margin:0;min-width:0;overflow-wrap:anywhere}
.film-course-context>strong{flex:1 1 240px;font-size:15px;font-weight:600}
.film-course-context>p,.film-course-context>small,.film-save-recovery>p{flex:1 1 100%;color:var(--flow-muted,var(--text))}
.film-course-context>details,.film-save-recovery>details{flex:1 1 100%;min-width:0;max-width:100%;border-top:1px solid var(--flow-border,var(--border))}
.film-course-context summary,.film-save-recovery summary{min-height:44px;box-sizing:border-box;padding:10px 0;color:var(--flow-accent,var(--accent));cursor:pointer;overflow-wrap:anywhere}
.film-course-context details>p{white-space:pre-wrap}
.film-course-context ul{margin:0 0 12px;padding-left:20px;overflow-wrap:anywhere}
.film-course-context button,.film-save-recovery button,.film-stage-canvas .film-course-select{box-sizing:border-box;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--flow-border,var(--border));border-radius:7px;background:transparent;color:var(--flow-accent,var(--accent));font:inherit;font-size:15px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.film-save-recovery details>button{margin:4px 8px 4px 0;text-align:left}
.film-stage-canvas .film-course-select{display:block;width:calc(100% - 20px);margin:0 10px 10px}
.film-stage-canvas .film-course-select[aria-pressed="true"]{background:var(--selected);color:var(--text);border-color:var(--accent)}
.film-course-context :is(button,summary):focus-visible,.film-save-recovery :is(button,summary):focus-visible{outline:2px solid var(--flow-accent,var(--accent));outline-offset:2px}
@media(max-width:600px){.film-course-context,.film-save-recovery{padding:12px}.film-course-context>button,.film-save-recovery>button,.film-save-recovery details>button{flex:1 1 100%;width:100%;margin-right:0}}
@media(prefers-reduced-motion:reduce){.film-course-context *,.film-save-recovery *,.film-course-select{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.film-canvas-materials{flex:0 0 auto;min-width:0;max-width:100%;margin:0 0 12px;border:1px solid var(--flow-border,var(--border));border-radius:10px;background:var(--flow-surface,var(--surface));color:var(--text)}
.film-canvas-materials>summary{box-sizing:border-box;min-height:44px;padding:10px 14px;cursor:pointer;font-size:15px;line-height:24px;list-style-position:inside;overflow-wrap:anywhere}
.film-canvas-materials>summary:focus-visible{outline:2px solid var(--flow-accent,var(--accent));outline-offset:-2px;border-radius:10px}
.film-canvas-materials .film-canvas-inline-library{box-sizing:border-box;min-width:0;max-width:100%;margin:0;padding:0 12px 12px;border:0;border-radius:0;background:transparent}
.film-canvas-materials .film-canvas-inline-library>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:0;color:var(--flow-muted,var(--text));font-size:15px}
.film-canvas-materials .film-canvas-inline-library>header>div{display:flex;align-items:center;gap:8px;min-width:0}
.film-canvas-materials .film-canvas-inline-library>header>button{min-width:44px;min-height:44px;padding:8px;border:1px solid var(--flow-border,var(--border));border-radius:7px;background:transparent;color:var(--flow-accent,var(--accent))}
.film-canvas-materials .film-canvas-inline-library .film-material-grid>article{min-width:0}
.film-canvas-materials .film-canvas-inline-library .film-material-grid .film-library-thumb{width:100%;height:auto;aspect-ratio:16/9;min-width:0;overflow:hidden}
.film-canvas-materials .film-canvas-inline-library .film-material-grid .film-library-thumb :is(img,video){display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.film-canvas-materials>summary{padding:10px 12px}.film-canvas-materials .film-canvas-inline-library{padding:0 10px 10px}}
@media(prefers-reduced-motion:reduce){.film-canvas-materials *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.academy-shell.film-immersive .film-stage-content .film-stage-context-submit>button.primary{min-height:44px}

/* Closed tools share a row; the canvas keeps a useful preview above the generator. */
@media(min-width:901px){
}


/* demo-storyboard-preview.css */
/* Isolated story sample: text-first frames, with no fake generated images. */
.demo-storyboard { width: min(100%, 1320px); min-width: 0; margin: 0 auto; padding: 12px 0 44px; color: var(--text, #eeeef2); }
.demo-storyboard-header { display:flex; align-items:end; justify-content:space-between; gap:16px; padding: 0 0 12px; }
.demo-storyboard-header h2 { margin:0; font-size:21px; line-height:1.3; }
.demo-storyboard-header h2 small { margin-left:6px; font-size:12px; font-weight:500; color:#a7a2b4; }
.demo-storyboard-header p,.demo-storyboard-scene-head p { margin:5px 0 0; color:#a7a2b4; font-size:13px; line-height:1.4; }
.demo-storyboard-scene { min-width:0; padding:18px 0 22px; border-top:1px solid #353540; }
.demo-storyboard-scene-head { display:flex; justify-content:space-between; align-items:center; gap:12px; min-width:0; margin-bottom:12px; }
.demo-storyboard-scene-head h3 { margin:0; font-size:16px; line-height:1.4; }
.demo-storyboard-arrows { display:flex; gap:7px; flex:none; }
.demo-storyboard-arrows button { display:grid; place-items:center; width:38px; height:38px; min-width:38px; padding:0; border:1px solid #50505e; border-radius:9px; color:#e5dbf1; background:#25242d; font-size:26px; line-height:1; cursor:pointer; }
.demo-storyboard-arrows button:hover { background:#35303e; border-color:#9884b5; }
.demo-storyboard-arrows button:focus-visible,.demo-storyboard-strip:focus-visible { outline:2px solid #cbb5ea; outline-offset:3px; }
.demo-storyboard-strip { display:flex; flex-wrap:nowrap; gap:12px; max-width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; overscroll-behavior-x:contain; padding:0 1px 9px; scrollbar-color:#70647f #222129; scrollbar-width:thin; }
.demo-storyboard-shot { flex:0 0 254px; min-width:0; overflow:hidden; border:1px solid #3a3a47; border-radius:11px; background:#1c1d25; scroll-snap-align:start; }
.demo-storyboard-frame { display:flex; align-items:center; justify-content:center; height:125px; background:#15161b; color:#aaa4b2; font-size:13px; }
.demo-storyboard-copy { padding:12px 14px 15px; }
.demo-storyboard-shot-heading { display:flex; justify-content:space-between; gap:8px; color:#aaa1b8; font-size:12px; }
.demo-storyboard-copy h4 { margin:8px 0 7px; font-size:15px; line-height:1.4; }
.demo-storyboard-copy p { margin:0; color:#c9c7d1; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.demo-storyboard-empty { margin:0; padding:18px; border-radius:9px; background:#1b1b22; color:#aaa4b2; font-size:14px; }
@media (max-width:700px) {
 .demo-storyboard-header h2 { font-size:18px; }
 .demo-storyboard-scene-head h3 { font-size:15px; }
 .demo-storyboard-shot { flex-basis:min(254px,82vw); }
}
@media (prefers-reduced-motion:reduce) { .demo-storyboard-strip { scroll-behavior:auto; } }


/* film-art-demo.css */
.sample-art{display:grid;grid-template-columns:185px minmax(0,1fr);height:100%;min-height:480px;color:#efedf4;background:#101116}.sample-art *{box-sizing:border-box}.sample-art-sidebar{padding:22px 12px;background:#15171e;border-right:1px solid #30323d}.sample-art-sidebar-title{font-size:18px;font-weight:650;padding:0 10px 18px}.sample-art-sidebar-title small{font-size:11px;color:#9e95ad;margin-left:5px;font-weight:400}.sample-art-sidebar button{display:flex;justify-content:space-between;width:100%;padding:11px 12px;margin:2px 0;border:0;border-radius:8px;background:transparent;color:#bcbac6;text-align:left}.sample-art-sidebar button[aria-pressed=true]{background:#292631;color:#eee9f6}.sample-art-sidebar button span{color:#aaa4b2}.sample-art-main{min-width:0;overflow:auto;padding:26px 32px 50px}.sample-art-main header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.sample-art-main h2{margin:0;font-size:22px;line-height:1.35}.sample-art-main h2 small{font-size:13px;color:#a9a2b3;font-weight:400;margin-left:8px}.sample-art-main header p{margin:5px 0 0;color:#a4a0ad;font-size:13px}.sample-art .sample-art-primary{padding:10px 17px;border:1px solid #9f8aba;border-radius:8px;background:#c9b8de;color:#201629;font-weight:600;white-space:nowrap}.sample-art-notice{border:1px solid #494153;background:#24202b;border-radius:8px;padding:11px 14px;color:#d7cedf;font-size:13px}.sample-art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:15px}.sample-art .sample-art-card{display:block;width:100%;min-width:0;padding:0;border:1px solid #343440;border-radius:10px;overflow:hidden;background:#191b22;color:#efedf4;text-align:left}.sample-art-card:focus-visible,.sample-art button:focus-visible,.sample-art textarea:focus-visible{outline:2px solid #c5b5df;outline-offset:2px}.sample-art-empty{display:flex;align-items:center;justify-content:center;aspect-ratio:1.12;background:linear-gradient(145deg,#24232b,#1b1d24);color:#a8a2b0;font-size:14px}.sample-art-card-copy{display:flex;justify-content:space-between;gap:8px;padding:13px 14px}.sample-art-card-copy small{color:#a19ba8}.sample-art-back{padding:0;border:0;background:transparent;color:#b5a6c7;margin:0 0 11px}.sample-art-detail-body{display:grid;grid-template-columns:minmax(220px,0.9fr) minmax(260px,1fr);gap:22px}.sample-art-preview{display:flex;align-items:center;justify-content:center;min-height:340px;border:1px solid #35343e;border-radius:10px;background:#191a20;color:#aaa4b2}.sample-art-editor{display:grid;align-content:start;gap:18px}.sample-art-editor label{display:grid;gap:8px;font-size:14px;color:#cbc7d0}.sample-art-editor textarea{width:100%;resize:vertical;min-height:78px;border:1px solid #3a3945;border-radius:8px;background:#111217;color:#f1eef3;padding:12px;line-height:1.6;font:inherit}.sample-art-editor label:last-child textarea{min-height:180px}@media(max-width:700px){.sample-art{display:block;overflow:auto}.sample-art-sidebar{display:flex;overflow:auto;gap:4px;border-right:0;border-bottom:1px solid #30323d;padding:10px}.sample-art-sidebar-title{padding:8px;white-space:nowrap;font-size:15px}.sample-art-sidebar button{width:auto;gap:8px;white-space:nowrap}.sample-art-main{padding:18px 16px 36px}.sample-art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sample-art-detail-body{grid-template-columns:1fr}.sample-art-preview{min-height:220px}}


/* mentor-job-ui.css */
/* This host is a body child, outside the academy-shell token scope. */
.mentor-job-recovery{--mentor-job-panel:#191b20;--mentor-job-text:#ececee;--mentor-job-muted:#a7a9ad;--mentor-job-line:#393c43;--mentor-job-accent:#d4d6d9;position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:6000;isolation:isolate;color:var(--mentor-job-text);font:inherit;color-scheme:dark}
.mentor-job-recovery,.mentor-job-recovery *{box-sizing:border-box}
.mentor-job-trigger,.mentor-job-record{border:1px solid var(--mentor-job-line);background:var(--mentor-job-panel);color:var(--mentor-job-text);border-radius:16px;box-shadow:0 8px 28px #0005}
.mentor-job-trigger{padding:10px 16px;font:inherit;cursor:pointer;max-width:calc(100vw - 40px)}
.mentor-job-record{position:absolute;right:0;bottom:52px;width:min(430px,calc(100vw - 32px));max-height:min(70dvh,calc(100dvh - 90px));overflow:auto;overscroll-behavior:contain;padding:20px}
.mentor-job-record header,.mentor-job-record footer{display:flex;gap:12px;align-items:center;justify-content:space-between}
.mentor-job-record small{color:var(--mentor-job-muted);overflow-wrap:anywhere}
.mentor-job-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.mentor-job-record footer{flex-wrap:wrap;margin-top:16px}
.mentor-job-record button{font:inherit;color:var(--mentor-job-text)}
.mentor-job-record header button{border:0;background:transparent;font-size:24px;cursor:pointer}
.mentor-job-record footer button{border:1px solid var(--mentor-job-line);border-radius:10px;padding:8px;background:transparent;cursor:pointer}
.mentor-job-recovery button:focus-visible{outline:2px solid var(--mentor-job-accent);outline-offset:3px}
.mentor-job-recovery button:disabled{opacity:.55;cursor:default}
@media(max-width:600px){.mentor-job-recovery{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.mentor-job-record{padding:16px}.mentor-job-trigger{max-width:calc(100vw - 24px)}}

.mentor-job-recovery{--mentor-job-accent:#d4d6d9}.mentor-job-recovery:has(.mentor-job-record){inset:0;background:#0008;display:grid;place-items:center;padding:16px}.mentor-job-recovery:has(.mentor-job-record)>.mentor-job-trigger{display:none}.mentor-job-recovery .mentor-job-record{position:relative;inset:auto;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 64px);margin:0}.mentor-job-record button{min-height:40px}


/* platform-shell.css */
/* Approved platform layout. Geometry only lives here; colors and controls use
   the tokens in style.css. Legacy page styles keep functional editor details. */
.platform-shell{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);min-height:100dvh;background:var(--bg);color:var(--text)}
.platform-shell .brand{display:block;flex:none;min-width:0;margin:0;padding:0}.platform-shell .brand img{width:116px;height:auto}.platform-shell .brand span{display:none}
.platform-shell .teaching-nav{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0;background:transparent}
.platform-shell .nav-item{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:40px;margin:0;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:15px;white-space:nowrap}.platform-shell .nav-item svg{display:block;width:18px;height:18px;flex:none}.platform-shell .nav-item.active{background:var(--selected);color:var(--accent)}
.platform-shell.academy-shell>.academy-header{grid-column:1;grid-row:1;position:sticky;top:0;z-index:50;width:auto;height:64px;min-height:64px;padding:0 24px;margin:0;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--border);background:var(--bg)}
.academy-header>.top-actions{margin-left:auto;display:flex;align-items:center;gap:16px;min-width:0}.academy-header .preview-environment{margin:0;padding:0;border:0;background:transparent;color:var(--muted);font-size:12px}.academy-header .top-actions>[data-open-credits]{white-space:nowrap;min-height:36px;background:transparent;border:0;color:var(--muted)}.academy-header .top-actions>[data-open-credits]>span:last-child{display:none}.academy-header .account-menu summary{display:flex;align-items:center;gap:8px;min-height:40px}.academy-header .account-menu-panel{right:0;left:auto;top:calc(100% + 10px);max-height:calc(100dvh - 90px);overflow:auto;background:var(--surface);border:1px solid var(--border)}
.platform-learning-menu{flex:none;white-space:nowrap;position:relative;border:0;margin:0;padding:0;background:transparent}.platform-learning-menu>summary{cursor:pointer;min-height:40px;padding:9px 12px;color:var(--muted);font-size:15px}.platform-learning-menu[open]>summary{color:var(--text)}.academy-learning-nav{display:grid;gap:4px;min-width:220px}.platform-learning-menu>.academy-learning-nav{position:absolute;left:0;top:calc(100% + 10px);z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px;box-shadow:0 10px 30px #0005}
.platform-shell.academy-shell>.workspace{grid-column:1;grid-row:2;margin:0!important;width:auto!important;min-width:0;min-height:0;background:var(--bg);overflow:visible}.platform-shell .page{margin:0 auto;padding:24px;max-width:1400px;min-width:0}.platform-shell .academy-learning-layout{display:block;min-width:0}.platform-shell .academy-page-content{min-width:0}
/* The creative workspace keeps one toolbar; navigation is a small transient menu. */
.platform-rail{position:fixed;top:62px;left:12px;bottom:auto;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 78px);overflow:auto;z-index:90;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 40px #0008;display:grid;gap:14px;padding:14px}.platform-rail[hidden]{display:none!important}.platform-rail>header{display:flex;align-items:center;justify-content:space-between}.platform-rail>header>button{min-width:36px;min-height:36px;border:0;background:transparent}.platform-rail .teaching-nav{display:grid;grid-template-columns:1fr 1fr}.platform-rail .academy-learning-nav{border-top:1px solid var(--border);padding-top:10px}.platform-rail .rail-bottom{display:grid;gap:12px;border-top:1px solid var(--border);padding-top:12px}.platform-rail .account-menu-panel{position:static;max-height:none;box-shadow:none;border:0;padding:6px 0}.platform-rail [data-open-credits]{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:14px}.mobile-menu,.mobile-primary-nav{display:none}
@media(max-width:1100px){.academy-header .preview-environment,.academy-header .top-actions>[data-open-credits]{display:none}.platform-shell.academy-shell>.academy-header{gap:12px}}
/* Every module uses the same typography/control system, including secondary
   account/growth/skills/admin pages. Semantic error colors stay distinct. */
.platform-shell :is(h1,h2,h3){color:var(--text)}.platform-shell h1{font-size:28px;line-height:1.3}.platform-shell h2{font-size:22px;line-height:1.4}.platform-shell h3{font-size:17px;line-height:1.45}.platform-shell p{font-size:16px;line-height:1.65}.platform-shell :is(button,input,textarea,select){font-family:var(--font);font-size:15px;line-height:1.5;border-radius:var(--radius)}.platform-shell :is(input,textarea,select){background:var(--input);color:var(--text);border-color:var(--border)}.platform-shell :is(button,.primary,.secondary){min-height:44px}.platform-shell button.primary,.platform-shell .primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.platform-shell button.secondary,.platform-shell .secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.platform-shell small{font-size:12px;line-height:1.55;color:var(--muted)}.platform-shell :is(.panel,.exam-card,.sl-card,.sl-detail,.credits-panel,.settings-section){background:var(--surface);border-color:var(--border);border-radius:var(--radius)}
.platform-shell .ai-native-home{--native-purple:var(--accent);--native-ink:var(--text);--native-muted:var(--muted);max-width:1120px;color:var(--text);padding:0;margin:0 auto;font-size:16px}.ai-native-home details{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:10px;padding:10px 14px}.ai-native-home summary{color:var(--muted);font-size:15px;min-height:40px}.ai-native-home details p,.ai-native-home details li{font-size:16px;color:var(--text)}
.native-learning-home{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;max-width:1120px;align-items:start}.ui-home-heading{grid-column:1/-1;margin-bottom:4px}.ui-home-heading h1{margin:8px 0 0}.native-learning-home>.native-course-entry{grid-column:1;grid-row:2;margin:0;padding:32px;border-radius:10px;min-height:242px;background:var(--surface);border:1px solid var(--border)}.native-course-entry>h2{font-size:28px;margin:12px 0}.native-course-entry>p{font-size:16px;color:var(--muted);margin:0 0 28px}.native-learning-home>.native-current-work{grid-column:2;grid-row:2;margin:0;padding:0;border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:hidden}.native-current-work-copy{padding:20px}.native-learning-home>.native-current-work h2{font-size:22px;margin:8px 0 16px}.native-home-work-preview{margin:0;background:var(--bg)}.native-home-work-preview>img,.native-home-work-preview>video{width:100%;max-height:250px;object-fit:contain}.native-learning-home>.native-home-conversation{grid-column:1;grid-row:3;margin:0;max-width:none;width:100%}.native-learning-home>.native-home-tools{grid-column:1/-1;grid-row:4;display:flex;flex-wrap:wrap;gap:12px;margin:0;border-color:var(--border)}
/* The original lesson renderer remains responsible for each task and record. */
.native-classroom>.native-step-line{display:flex;flex-wrap:wrap;gap:8px;margin:0;font-size:13px}.native-step-line>span{margin-right:auto}.native-classroom>header{margin:16px 0;padding:0;border:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.native-classroom>header>.native-kicker{width:100%}.native-classroom>header h1{font-size:28px;margin:0;flex:1}.native-classroom>header>details{margin:0;padding:0;border:0;background:transparent}.lesson2-steps{display:flex;gap:8px;border-bottom:1px solid var(--border);padding:0 0 12px;margin:0 0 18px;background:transparent}.lesson2-steps>button{min-width:92px;border:1px solid var(--border);background:var(--surface);color:var(--muted);padding:9px 20px}.lesson2-steps>button[aria-pressed=true]{color:var(--accent);background:var(--selected);border-color:var(--accent)}
.lesson2-layout{display:block;max-width:900px;margin:auto}.lesson2-main{padding:0;background:transparent;border:0;border-radius:0;min-width:0}.lesson2-main>small:first-child,.lesson2-main>h2,.lesson2-main>.lesson2-one-line{display:none}.lesson2-teacher-preview,.lesson2-owned{margin:0 0 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.platform-shell .native-lesson2 .lesson2-teacher-preview img,.platform-shell .native-lesson2 .lesson2-owned img,.platform-shell .native-lesson2 .lesson2-owned video{width:100%;max-height:360px;object-fit:contain;display:block;background:var(--bg)}.lesson2-teacher-preview figcaption,.lesson2-owned figcaption{display:flex;flex-wrap:wrap;gap:6px 16px;padding:14px 16px;font-size:13px}.lesson2-teacher-preview figcaption>span:last-of-type,.lesson2-owned figcaption>span{color:var(--muted);flex:1}.lesson2-preview-label{color:var(--accent)}.lesson2-side{position:fixed;right:16px;bottom:82px;z-index:60;width:330px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 40px #0008;padding:20px;display:none;max-height:calc(100dvh - 160px);overflow:auto}.lesson2-side .lesson2-mentor{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.native-classroom.ui-assistant-open .lesson2-side{display:block}.native-classroom.ui-assistant-open .lesson2-layout{margin-right:350px}.lesson2-main>details{margin:14px 0}.ui-practice-substeps{display:flex;gap:8px;margin:16px 0}.authored-reading{color:var(--text);font-size:16px;line-height:1.7}.authored-reading :is(h2,h3){margin-top:24px}.authored-reading table{color:var(--text)}
/* Main film surface begins directly below the stage toolbar. Tools/settings
   open in drawers; source nodes and target association are still canonical. */
.platform-shell.film-immersive{height:100dvh;overflow:hidden;font-size:16px;--studio-library-width:208px}.platform-shell.film-immersive>.workspace{height:calc(100dvh - 64px);overflow:hidden}.platform-shell.film-immersive .page{height:100%;max-width:none;padding:0}.platform-shell.film-immersive .academy-learning-layout,.platform-shell.film-immersive .academy-page-content{height:100%}.platform-shell.film-immersive .film-editor{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--bg);border:0;margin:0;padding:0;overflow:hidden}.creation-entry-nav{position:relative;right:auto;top:auto;z-index:40;background:var(--surface);padding:0;border:1px solid var(--border);border-radius:10px;max-width:230px}.creation-entry-nav summary{font-size:13px;padding:8px 12px;min-height:40px}.creation-entry-nav>div{position:absolute;right:0;top:100%;z-index:80;background:var(--surface);border:1px solid var(--border);min-width:220px;display:grid;padding:10px;gap:8px}.film-workspace-topbar{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:4px 16px;padding:10px 16px;border-bottom:1px solid var(--border);background:var(--bg);min-height:108px;flex:none}.film-project-summary{grid-column:1;display:flex;gap:12px;align-items:center;min-width:0}.film-project-switch{max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-project-summary #film-save-status{font-size:12px;color:var(--muted)}.film-stages{grid-column:1;grid-row:2;display:flex;gap:6px;align-items:center;margin:0;padding:0}.film-stages>button{display:flex;flex-direction:row;gap:8px;padding:8px 12px;background:transparent;border:0;min-height:44px;color:var(--muted)}.film-stages>button[aria-pressed=true]{background:var(--selected);color:var(--accent)}.film-stage-icon svg{width:20px;height:20px}.film-stages strong{font-size:15px}.film-editor-toolbar{grid-column:2;grid-row:1/3;display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:440px}.film-editor-toolbar>button{padding:8px;min-height:36px;font-size:13px}.film-editor-toolbar>button svg{width:18px;height:18px}.film-stage-view-switch{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:0;border:1px solid var(--border);border-radius:9px;padding:2px;background:var(--surface)}.film-stage-view-switch>button{min-height:36px;padding:6px 10px;font-size:13px;border:0;color:var(--muted)}.film-stage-view-switch>button[aria-pressed=true]{background:var(--selected);color:var(--accent)}
.film-course-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:6px 16px;margin:0;background:var(--surface);border:0;border-bottom:1px solid var(--border);font-size:13px;flex:none}.film-course-context>strong{font-size:13px;flex:1 1 auto}.film-course-context>small{display:none}.film-course-context>details{position:relative;padding:0;margin:0;flex:0 0 auto;border:0}.film-course-context>button{flex:0 0 auto;width:auto;min-height:32px!important;padding:4px 10px;font-size:13px}.film-course-context>details[open]{background:var(--surface);width:100%;padding:12px;order:3;max-height:200px;overflow:auto}
.film-studio-body{flex:1;min-height:0;display:grid;grid-template-columns:208px minmax(0,1fr);overflow:hidden}.film-stage-content{min-width:0;min-height:0;overflow:auto;padding:16px;font-size:16px}.film-side-library{min-width:0;overflow:auto;height:100%;border-right:1px solid var(--border)}.film-editor[data-stage-view=canvas] .film-studio-body{display:block}.film-editor[data-stage-view=canvas] .film-stage-content{height:100%;padding:0;position:relative;overflow:hidden}.film-editor[data-stage-view=canvas] #film-notes{height:100%;position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;margin:0;padding:0}.film-editor[data-stage-view=canvas] #film-notes:has(.film-stage-context:not(.film-stage-context-empty)){grid-template-columns:minmax(0,1fr)}.film-editor[data-stage-view=canvas] .ui-graph-toolbar{grid-column:1/-1;grid-row:1}.ui-canvas-tools{position:absolute;top:54px;left:16px;z-index:15;max-width:340px;background:var(--surface);border:1px solid var(--border);border-radius:9px}.ui-canvas-tools:not([open]){background:var(--bg)}.ui-canvas-tools>summary{min-height:36px;padding:6px 12px;font-size:13px}.ui-canvas-tools[open]{max-height:calc(100% - 100px);overflow:auto;width:320px;padding:8px}.film-stage-canvas-editor .film-stage-content .film-stage-canvas{grid-column:1;grid-row:2;border:0;border-radius:0;display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;background:var(--bg)}.film-stage-canvas .film-stage-canvas-toolbar{min-height:48px;padding:5px 16px;gap:8px;background:var(--bg);flex-wrap:nowrap;overflow-x:auto}.film-stage-canvas-toolbar button{min-height:36px;padding:6px 10px;font-size:13px}.film-stage-canvas-toolbar p{font-size:12px}.film-stage-canvas .film-stage-canvas-viewport{height:auto;min-height:0;flex:1;background-color:var(--bg)}.film-stage-canvas .film-stage-canvas-card{background:transparent;color:var(--text);font-size:16px;line-height:1.6;border:0;border-radius:6px}.film-stage-canvas-card-header{font-size:15px}.film-stage-canvas-body :is(p,label,textarea){font-size:15px}.film-stage-canvas-body img,.film-stage-canvas-body video{max-height:260px;object-fit:contain}.film-stage-canvas-editor .film-stage-content .film-stage-context{grid-column:1;grid-row:3;display:block;position:relative;width:auto;min-width:0;height:auto;max-height:260px;overflow:visible;margin:8px 16px 12px;padding:12px 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.film-stage-canvas-editor .film-stage-content .film-stage-context-empty{display:none}.film-stage-context-empty p{font-size:13px;color:var(--muted)}.film-stage-context textarea{font-size:16px;min-height:68px}.film-stage-context small{font-size:12px}.film-stage-context-submit{display:flex;justify-content:space-between;gap:8px}.film-stage-context-submit>span{font-size:13px}.film-stage-context-submit>button{min-height:44px}.film-activity-region:empty,[data-film-draft-region]:empty,[data-film-save-recovery-region]:empty{display:none}.film-activity-region:not(:empty){position:relative;max-width:100%;padding:0;background:var(--surface)}
.film-editor[data-stage=script] .film-stage-content{max-width:1200px}.film-script-scenes{max-width:980px}.film-script-scenes textarea{font-size:16px;line-height:1.7}.film-art-workbench{grid-template-columns:minmax(0,1fr) 300px}.film-art-inspector :is(label,textarea,input,select){font-size:15px}.film-editor[data-stage=post] .film-studio-body{grid-template-columns:208px minmax(0,1fr) 220px;min-height:0}.film-editor[data-stage=post] .film-stage-content{padding:0}.film-editor[data-stage=post] #film-notes{display:flex;flex-direction:column;height:100%;min-height:0;margin:0;padding:0}
#academy-mentor-dock{position:fixed;z-index:75;right:16px;bottom:18px;max-width:360px;width:auto;height:auto;min-height:0;margin:0}.ui-mentor-launcher{background:var(--surface);border:1px solid var(--border);box-shadow:0 8px 30px #0008;border-radius:10px;padding:8px 14px;display:flex;align-items:center;gap:10px}.ui-mentor-launcher .mentor-avatar{width:38px;height:38px}.ui-mentor-launcher img{width:38px;height:38px;object-fit:contain}.ui-mentor-launcher span{font-size:14px}.platform-shell #academy-mentor-dock .mentor-docked{height:min(760px,calc(100dvh - 100px));max-height:calc(100dvh - 100px);width:350px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;padding:0;overflow:hidden}.mentor-docked>header{padding:14px;min-height:64px;flex:none}.mentor-docked>header>button{font-size:13px;padding:6px;min-height:32px}.mentor-function-scroll{flex:1;min-height:0;overflow:auto}.mentor-message p{font-size:15px}.mentor-functions .mentor-input{min-height:80px;font-size:16px}.mentor-docked .mentor-dock-prompts{max-height:90px;overflow:auto}.mentor-docked .mentor-function-scroll,.mentor-docked .mentor-messages{background:var(--surface)}
@media(max-width:1000px){.film-editor-toolbar{max-width:240px}.film-stage-context{width:270px}.native-learning-home{grid-template-columns:1fr}.native-learning-home>.native-course-entry{grid-column:1;grid-row:2}.native-learning-home>.native-current-work{grid-column:1;grid-row:3}.native-learning-home>.native-home-conversation{grid-column:1;grid-row:4}}
@media(max-width:700px){.platform-shell{grid-template-rows:56px minmax(0,1fr);padding-bottom:0}.platform-shell.academy-shell>.academy-header{min-height:56px;height:56px;padding:0 10px;gap:6px}.platform-shell .brand img{width:86px}.academy-header .teaching-nav .nav-item{gap:4px;padding:7px 8px;font-size:14px}.academy-header .teaching-nav .nav-item svg{display:none}.platform-learning-menu>summary{padding:8px 6px;font-size:13px}.platform-learning-menu>.academy-learning-nav{left:auto;right:0}.academy-header .preview-environment,.academy-header .top-actions>[data-open-credits],.academy-header .account-menu summary>span:not(.avatar){display:none}.academy-header>.top-actions{gap:4px}.academy-header .account-menu summary{min-width:32px}.platform-shell .page{padding:18px 16px}.platform-rail{top:92px}
.platform-shell h1{font-size:24px}.platform-shell h2{font-size:20px}.platform-shell p{font-size:16px}.native-learning-home{display:flex;flex-direction:column;gap:16px}.native-learning-home>*{width:100%}.ui-home-heading{order:0}.native-learning-home>.native-course-entry{order:1;padding:24px;min-height:228px}.native-learning-home>.native-current-work{order:2}.native-learning-home>.native-home-conversation{order:3}.native-learning-home>.native-home-tools{order:4}.native-home-work-preview>img,.native-home-work-preview>video{max-height:200px}.native-classroom>.native-step-line{font-size:12px;gap:4px}.native-step-line>button{min-height:36px;font-size:13px;padding:5px 8px}.native-classroom>header h1{font-size:24px}.native-classroom>header>details{width:100%}.platform-shell .native-lesson2 .lesson2-teacher-preview img,.platform-shell .native-lesson2 .lesson2-owned img,.platform-shell .native-lesson2 .lesson2-owned video{max-height:260px}.lesson2-teacher-preview figcaption,.lesson2-owned figcaption{display:grid;padding:12px;font-size:13px;gap:4px}.lesson2-teacher-preview figcaption a{display:none}.lesson2-steps>button{flex:1;min-width:0;padding:9px}.native-classroom.ui-assistant-open .lesson2-layout{margin:0}.lesson2-side{width:calc(100vw - 24px);right:12px;bottom:74px;max-height:calc(100dvh - 145px)}
 .platform-shell.film-immersive{padding-bottom:0}.platform-shell.film-immersive>.workspace{height:100dvh}.film-stage-icon{display:none}.creation-entry-nav{right:auto;top:auto;max-width:170px;flex:none}.creation-entry-nav summary{font-size:12px;min-height:32px;padding:6px 8px}.film-course-context{padding:4px 8px;gap:6px}.film-course-context>strong{font-size:12px;max-width:190px}.film-course-context>details{display:none}.film-studio-body{display:block;overflow:auto}.film-side-library{height:auto;max-height:180px;border:0}.film-stage-content{padding:14px;overflow:auto}.film-stage-canvas .film-stage-canvas-toolbar{min-height:44px;max-height:44px;padding:4px 8px;gap:4px}.film-stage-canvas-toolbar button{min-height:32px;padding:4px 8px;font-size:12px}.film-stage-canvas-toolbar :is(p,strong){display:none}.ui-canvas-tools{left:8px;top:52px}.film-editor[data-stage-view=canvas] #film-notes:has(.film-stage-context:not(.film-stage-context-empty)){grid-template-columns:minmax(0,1fr)}.film-stage-canvas-editor .film-stage-content .film-stage-context{grid-column:1;grid-row:3;height:auto;max-height:238px;border:1px solid var(--border);margin:6px 8px 8px;padding:9px 11px}.film-stage-context-main textarea{min-height:60px;max-height:90px}.film-stage-context-heading small{display:none}.film-stage-context-submit{display:flex;align-items:center;justify-content:space-between;gap:8px}.film-stage-context-submit>button{font-size:13px;min-height:40px}.film-stage-context-parameters{margin:4px 0}.film-editor[data-stage=post] .film-studio-body{display:block;overflow:auto}.film-editor[data-stage=post] #film-notes{height:auto}.film-art-workbench{display:block}.film-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.film-art-inspector{width:100%;margin-top:18px}.film-script-tools{flex-wrap:wrap}.film-script-tools>button{font-size:13px}.film-script-scenes :is(input,textarea){font-size:16px}.film-script-scenes article{padding:12px}.film-script-scenes article>header{flex-wrap:wrap}.ui-practice-substeps{flex-wrap:wrap}.sl-grid{grid-template-columns:1fr}.sl-toolbar{display:grid;gap:12px}.sl-toolbar nav{display:flex;overflow:auto;max-width:100%;gap:4px}.sl-toolbar nav button{flex:none}.sl-detail{padding:16px}.sl-skill-title-row{display:block}.sl-skill-title-row>button{max-width:100%;white-space:normal}.authored-table-scroll{max-width:100%;overflow:auto}.platform-shell :is(.page-heading,.workspace-toolbar,.task-actions){flex-wrap:wrap}.platform-shell :is(table,.settings-panel){max-width:100%}.platform-shell :is(.credits-grid,.profile-grid){grid-template-columns:1fr}#academy-mentor-dock{bottom:74px;right:12px;max-width:calc(100vw - 24px)}.platform-shell #academy-mentor-dock .mentor-docked{width:calc(100vw - 24px);height:calc(100dvh - 150px);max-height:calc(100dvh - 150px)}.ui-mentor-launcher{padding:7px 10px}.ui-mentor-launcher span{font-size:13px}}

.platform-shell .film-stage-canvas .film-stage-canvas-viewport{min-height:0;flex:1;height:auto}.platform-shell .film-stage-canvas-editor .film-stage-content .film-stage-canvas{min-height:0}.platform-shell .film-course-context summary{min-height:32px;padding:4px 8px}.native-toolbar{display:none}.platform-shell .film-stage-context>p{font-size:13px}.platform-shell .film-stage-canvas-toolbar :is(.film-stage-canvas-selection-tools,.film-stage-canvas-name-tools){display:none}.platform-shell .film-stage-canvas-toolbar:has([data-stage-canvas-action="group"]:enabled) .film-stage-canvas-selection-tools{display:flex}.film-stage-canvas-toolbar:has([data-stage-canvas-group-name]:enabled) .film-stage-canvas-name-tools{display:flex}

.film-script-next-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.film-script-next-actions>button{white-space:nowrap}
/* Post-production displays the same shared canvas, not a second asset document. */
.film-post-view-tabs{display:none}
.platform-shell .film-post-canvas{display:flex;flex-direction:column;position:relative;overflow:hidden;height:100%;max-height:none;padding:0;background:var(--bg);border:0}
.film-post-canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:6px 12px;border-bottom:1px solid var(--border);font-size:15px;flex:none}
.film-post-assets{position:static;margin:0;padding:0;border:0}.film-post-assets>summary{cursor:pointer;min-height:32px;padding:5px 7px;font-size:13px}.film-post-assets[open]>.film-post-all-assets{position:absolute;inset:44px 0 24px;z-index:30;max-height:none;width:100%;padding:12px;background:var(--surface);overflow:auto}
.platform-shell .film-post-canvas>.film-stage-canvas{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;height:100%;border:0;border-radius:0;overflow:hidden}.platform-shell .film-post-canvas .film-stage-canvas-toolbar{position:relative;top:auto;right:auto;display:flex;align-items:center;justify-content:flex-end;flex:none;min-height:40px;width:100%;padding:2px 8px;border-bottom:1px solid var(--border);background:var(--bg);overflow-x:auto;gap:4px}.platform-shell .film-post-canvas .film-stage-canvas-view-tools{flex-wrap:nowrap;gap:2px;width:auto}.platform-shell .film-post-canvas .film-stage-canvas-view-tools button{min-width:32px;min-height:36px;padding:4px 7px;font-size:14px}.platform-shell .film-post-canvas .film-stage-canvas-viewport{flex:1;min-height:0;height:auto;background:var(--bg)}
.platform-shell .film-post-canvas .film-stage-canvas-toolbar :is(.film-stage-canvas-selection-tools,.film-stage-canvas-name-tools){display:none}.film-post-canvas-hint{font-size:12px;line-height:1.6;padding:5px 10px;color:var(--muted);border-top:1px solid var(--border);flex:none}.film-post-node-actions{display:flex;gap:6px;padding:4px 8px 10px}.film-stage-canvas .film-post-node-actions>button{min-height:32px;padding:4px 7px;font-size:13px;border:1px solid var(--border);background:var(--surface);flex:1}
@media(max-width:900px){
 .platform-shell .film-post-view-tabs{display:flex;gap:4px;padding:4px 10px;border-bottom:1px solid var(--border);flex:none;background:var(--bg)}.platform-shell .film-post-view-tabs>button{min-height:36px;padding:6px 14px;border:0;background:transparent;color:var(--muted);font-size:14px}.platform-shell .film-post-view-tabs>button[aria-pressed=true]{color:var(--text);background:var(--selected)}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-studio-body{display:block;flex:1;min-height:0;overflow:hidden}.platform-shell.film-immersive .film-editor[data-stage=post] .film-stage-content{display:block;height:100%;padding:0;overflow:auto}.platform-shell.film-immersive .film-editor[data-stage=post] #film-notes{display:flex;flex-direction:column;height:100%;min-height:0;margin:0;padding:0}.platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=assets]{max-height:none;height:100%;overflow:hidden}.platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=assets]>.film-layout-panel-content{height:100%;overflow:hidden}.platform-shell.film-immersive .film-post-canvas{max-height:none;height:100%}
 .platform-shell.film-immersive .film-editor[data-stage=post]:not([data-post-panel=assets]) [data-film-layout-panel=assets],.platform-shell.film-immersive .film-editor[data-stage=post][data-post-panel=assets] .film-stage-content{display:none}
 .platform-shell.film-immersive .film-editor[data-stage=post][data-post-panel=edit] [data-film-layout-panel=inspector],.platform-shell.film-immersive .film-editor[data-stage=post][data-post-panel=properties] :is([data-film-layout-panel=monitor],[data-film-layout-panel=timeline],[data-film-layout-panel=meter]){display:none}
 .platform-shell.film-immersive .film-editor[data-stage=post][data-post-panel=properties] [data-film-layout-panel=inspector]{display:block;height:100%;max-height:none}.platform-shell.film-immersive .film-editor[data-stage=post] .film-edit-inspector{width:100%;height:100%;max-height:none;overflow:auto}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-cut{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;gap:0}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-edit-desk{display:contents}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-edit-heading{display:none}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=monitor]{height:clamp(280px,44dvh,360px);flex:0 0 clamp(280px,44dvh,360px);min-height:0;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=monitor]>.film-layout-panel-content{height:100%;min-height:0;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-program{display:flex;flex-direction:column;height:100%;min-height:0;padding:8px;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-program>header{display:flex;flex:none;flex-wrap:nowrap;align-items:center;min-height:36px;gap:4px}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-monitor-title{min-width:0;max-width:35%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-monitor-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:120px;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-cut-preview{height:100%;min-height:0;max-height:none;width:100%}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=timeline]{width:100%;height:auto;flex:1;min-height:180px;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=timeline]>.film-layout-panel-content{height:100%;min-height:0;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-timeline-module{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-timeline-toolbar{display:flex;flex-wrap:nowrap;overflow-x:auto;align-items:center;min-height:48px;max-height:48px;padding:4px 6px;flex:0 0 48px;gap:4px}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-timeline-toolbar>button{flex:none;white-space:nowrap;min-height:36px}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-track-controls{flex:none;margin-left:0}
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-timeline-region{display:block;flex:1;min-height:120px;height:auto;overflow:hidden}
 .platform-shell.film-immersive .film-editor[data-stage=post] #film-cut-timeline{height:100%;min-height:120px}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=meter]{display:none}

}

/* Connections are original project reference snapshots, not decorative lines. */
.ui-graph-toolbar{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;flex:none;border-bottom:1px solid var(--border);background:var(--bg);padding:4px 16px;font-size:13px}
.ui-graph-toolbar>button,.ui-graph-toolbar summary{min-height:32px;font-size:13px;padding:5px 10px}.ui-graph-toolbar>span{color:var(--muted);margin-left:auto}.ui-graph-assets{position:relative;border:0;padding:0;margin:0}.ui-graph-assets[open]{background:var(--surface)}.ui-graph-assets>button{display:block;max-width:260px;white-space:normal}.ui-graph-assets[open]{position:absolute;top:8px;left:130px;z-index:50;border:1px solid var(--border);border-radius:10px;max-height:360px;overflow:auto}
.film-stage-canvas .film-stage-canvas-card{overflow:visible}.film-stage-canvas-body{border-radius:0 0 10px 10px;overflow:auto}.ui-node-port{position:absolute;top:62px;width:28px;min-height:28px!important;height:28px;border-radius:50%!important;padding:0!important;font-size:16px!important;color:var(--accent)!important;background:var(--surface)!important;border:2px solid var(--accent)!important;z-index:6;touch-action:none}.ui-node-port.is-input{left:-14px}.ui-node-port.is-output{right:-14px}.ui-node-port:disabled{color:var(--muted)!important;border-color:var(--border)!important}.ui-node-links{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none;z-index:0}.ui-node-links path{stroke:var(--accent);stroke-width:3;fill:none}.ui-reference-node{padding:12px}.ui-reference-node img{width:100%;height:165px;object-fit:contain}.ui-reference-node p{font-size:14px}.ui-node-edit{width:100%;min-height:36px;font-size:13px;margin-bottom:8px;background:var(--selected);color:var(--accent);border:0}
.ui-canvas-tools{top:100px}.film-stage-context .ui-node-edit{width:auto;margin:0;background:transparent}.film-stage-context .ui-node-edit[open]{margin-bottom:10px}
@media(max-width:700px){.ui-graph-toolbar{padding:4px 8px;gap:4px;min-height:40px}.ui-graph-toolbar>span{display:none}.ui-graph-toolbar>button,.ui-graph-toolbar summary{font-size:12px;padding:4px 7px;min-height:30px}.ui-graph-toolbar>button:last-child{margin-left:auto}.ui-canvas-tools{top:90px}.ui-node-port{width:32px;height:32px;min-height:32px!important}.ui-node-port.is-output{right:-16px}.ui-node-port.is-input{left:-16px}}

.ui-node-focus{margin:0;max-width:200px}.ui-node-focus select{min-height:32px;padding:4px 8px;font-size:13px;max-width:200px}.platform-shell.film-immersive .ui-node-focus{display:block}.platform-shell .film-stage-canvas-viewport{background-color:var(--bg)}@media(max-width:700px){.ui-node-focus{max-width:116px}.ui-node-focus select{max-width:116px;font-size:12px;padding:4px;min-height:30px}.ui-graph-toolbar>button:last-child{display:none}}

.platform-shell .film-stage-canvas .film-stage-canvas-body{flex:1;min-height:0}.ui-node-results{margin-top:10px;border-top:1px solid var(--border)}.ui-node-results>summary{font-size:13px;min-height:32px;padding:6px 0}
@media(max-width:700px){.film-stage-canvas .film-stage-canvas-heading{display:none}.film-stage-canvas .film-stage-canvas-view-tools{width:auto;flex:1;flex-wrap:nowrap;justify-content:flex-start}.platform-shell .film-stage-canvas .film-stage-canvas-toolbar button{min-height:32px;height:32px;padding:4px 8px;font-size:12px}.film-stage-canvas .film-stage-canvas-view-tools button:first-child,.film-stage-canvas .film-stage-canvas-view-tools button:nth-of-type(2){min-width:32px}.platform-shell .film-stage-view-switch>button{min-height:32px;height:32px;padding:4px 8px;font-size:12px}.film-stage-view-switch{height:36px}.film-editor-toolbar .creation-entry-nav summary{min-height:32px;height:32px;font-size:12px}.film-stage-canvas .film-stage-canvas-foot{padding:5px 8px;font-size:11px;min-height:28px}.film-stage-canvas .film-stage-canvas-foot>span:first-child{display:none}}

@media(max-width:700px){.platform-shell .native-classroom>.native-step-line{gap:4px;min-height:36px;flex-wrap:nowrap}.platform-shell .native-classroom>.native-step-line>button{min-height:36px;padding:5px 7px;font-size:12px;white-space:nowrap}.platform-shell .native-classroom>.native-step-line>span{font-size:12px;flex:1;min-width:0}.platform-shell .native-classroom>header{margin:12px 0;gap:4px}.platform-shell .native-classroom>header h1{font-size:24px;line-height:1.3;margin:0;width:100%;flex:none}.platform-shell .native-classroom>header>details{display:none}.platform-shell .native-classroom .lesson2-steps{margin:0 0 14px;padding-bottom:10px}}

/* v1.6: one project canvas and the original generation transaction. */
.shared-composer-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);margin-bottom:4px}
.film-stage-context .film-stage-context-main{display:block}

.film-stage-context textarea{font:400 16px/1.65 system-ui,sans-serif;width:100%;min-height:68px;max-height:100px;resize:vertical;background:transparent;border:0;border-radius:6px;padding:6px 4px;color:var(--text,#f0f1f5)}
.film-stage-context .film-stage-context-main>label{font-size:0}
.film-stage-context-parameters{display:inline-block;font-size:13px;max-width:100%}
.film-stage-context-parameters[open]{display:block}
.film-stage-context-submit{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:5px}
.film-stage-context-submit button{min-height:40px;min-width:100px}
.shared-course-line{display:flex;align-items:center;justify-content:space-between;padding:4px 12px!important;border:0!important;font-size:13px;gap:10px}
.ui-node-results{max-height:150px;overflow:auto}
.xiaoying-guide{position:fixed;z-index:55;width:330px;max-width:calc(100vw - 16px);color:var(--text,#f0f1f5);font:400 14px/1.6 system-ui,sans-serif;pointer-events:auto;transition:left .16s ease-out,top .16s ease-out}
.xiaoying-guide[hidden]{display:none!important}
.xiaoying-guide.xiaoying-idle-compact{width:40px}
.xiaoying-idle-compact .xiaoying-bubble{display:none}
.xiaoying-guide header{display:flex;align-items:center;gap:5px;height:48px;padding-right:5px}
.xiaoying-guide header>span{margin-right:auto;font-size:13px}
.xiaoying-guide button{font:inherit;background:var(--surface,#25292f);color:inherit;border:1px solid var(--border,#4a4f5a);border-radius:7px;min-height:32px;padding:3px 9px}
.xiaoying-guide .xiaoying-handle{background:none;border:0;padding:0;width:44px;height:48px;cursor:grab;touch-action:none}
.xiaoying-handle img{height:50px;width:42px;object-fit:contain;image-rendering:pixelated;pointer-events:none}
.xiaoying-bubble{background:var(--surface,#25292f);border:1px solid var(--border,#4a4f5a);border-radius:12px;padding:11px 13px;box-shadow:0 5px 20px #0003}
.xiaoying-bubble p{margin:0 0 9px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.xiaoying-actions{display:flex;gap:8px}
.xiaoying-actions>button{flex:1;min-width:0}
.xiaoying-guide textarea{width:100%;font:400 14px/1.6 system-ui;min-height:40px;max-height:90px;margin-top:8px;resize:vertical}
.xiaoying-guide form>div:last-child{display:flex;justify-content:space-between;gap:6px}
.xiaoying-prompt-highlight{position:fixed;inset:0;pointer-events:none;z-index:28}
.xiaoying-prompt-highlight>span{position:fixed;outline:1px solid var(--accent,#b7a7f7);outline-offset:2px;border-radius:3px;background:#b7a7f710;pointer-events:none}
[data-xiaoying-target]{outline:1px solid var(--accent,#b7a7f7);outline-offset:3px}
.xiaoying-abilities{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:600px){.xiaoying-guide{width:285px}.xiaoying-guide button{min-height:36px}.xiaoying-bubble{padding:9px 11px}.film-stage-context-submit{gap:8px;font-size:12px}.film-stages button{padding:6px 10px}.shared-course-line span{max-width:66%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.xiaoying-guide{transition:none}}

body:has(.xiaoying-guide:not([hidden])) .ui-mentor-launcher{display:none}

.shared-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;position:static}.shared-composer-footer .film-output-count{display:flex;flex-direction:row;align-items:center;flex:0 0 auto;gap:8px;margin:0;font-size:14px;white-space:nowrap}.film-output-count select{width:78px;min-height:40px;padding:6px 8px;font-size:15px}
.shared-composer-heading{margin:0;min-height:32px;gap:8px}.shared-composer-heading>strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-composer-heading>button{min-height:32px;padding:2px 9px;font-size:13px}
.film-stage-context .film-stage-context-main>label{font-size:0;gap:0}
.film-stage-context .film-stage-context-main textarea{font:400 16px/1.65 system-ui,sans-serif;min-height:72px;height:80px;max-height:150px;resize:vertical;margin:0;padding:4px 6px;border:0;background:transparent}
.shared-composer-footer .film-stage-context-submit{border:0;padding:0;margin:0;flex-wrap:nowrap}
.shared-composer-footer .film-stage-context-parameters{border:0;margin:0;flex:1}
.shared-composer-footer .film-stage-context-parameters>summary{padding:6px 0;min-height:36px}
.shared-composer-footer .film-stage-context-parameters[open] .film-stage-parameter-body{position:absolute;left:0;bottom:calc(100% + 8px);width:min(540px,calc(100vw - 64px));max-height:min(400px,45vh);overflow:auto;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 36px #0008;z-index:40}
.film-composer-drag-hint{display:block;font-size:12px;color:var(--muted);padding:0 6px 4px}.film-stage-context>[aria-label="当前节点参考素材"] span{overflow-wrap:anywhere;min-width:0}.film-stage-parameter-body{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;box-sizing:border-box}.film-stage-parameter-body>*{min-width:0;max-width:100%;overflow-wrap:anywhere}.film-stage-parameter-body>.image-output-controls{flex-wrap:wrap}.film-stage-parameter-body>label{display:grid;min-width:0}.film-stage-parameter-body :is(input,textarea,select){box-sizing:border-box;min-width:0;width:100%}.film-stage-parameter-body small{font-size:13px;line-height:1.6}.film-stage-context-main textarea:focus{outline:1px solid var(--border)}
.film-stage-context-main textarea.film-reference-drag-active{outline:2px solid var(--accent,#d3c590);background:#d3c59018}.film-stage-context>section[aria-label="当前节点参考素材"]{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;max-height:52px;overflow:auto;font-size:13px;padding:4px 0;margin:0;border:0}.film-stage-context>section[aria-label="当前节点参考素材"]>strong{flex:0 0 auto;font-size:13px}.film-stage-context>section[aria-label="当前节点参考素材"]>button{order:1;margin-left:auto}.film-stage-context section[data-film-reference-drop]>.shared-reference-chip{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;max-width:210px;min-width:0;border:1px solid var(--border);border-radius:8px;padding:3px 6px;font-size:13px}.shared-reference-chip img{width:32px;height:32px;object-fit:cover;border-radius:4px;flex:none}.shared-reference-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-stage-context>[aria-label="当前节点参考素材"] button{font-size:12px;min-height:28px;padding:2px 6px}
.film-stage-card-preview[data-film-drag-handle]{cursor:grab;touch-action:none}.film-stage-card-preview[data-film-drag-handle]:active{cursor:grabbing}.film-canvas-quick-actions{position:absolute;right:36px;top:0;display:flex;z-index:4;opacity:0;pointer-events:none}.film-stage-canvas .film-canvas-quick-actions button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:8px;border:0;background:#111a}.film-canvas-quick-actions .film-icon{width:18px;height:18px;pointer-events:none}.film-cut-preview:focus-visible{outline:2px solid var(--accent,#d3c590);outline-offset:2px}
.shared-composer-footer .film-stage-context-parameters[open] label{font-size:14px}
.film-stage-canvas-editor .film-stage-content .film-stage-context{max-height:300px;flex-shrink:0}
@media(max-width:600px){.shared-composer-footer{gap:6px}.shared-composer-footer .film-stage-context-submit>span{font-size:12px}.shared-composer-footer .film-stage-context-submit>button{min-width:100px}.shared-composer-heading strong{font-size:13px}.film-stage-context .film-stage-context-main textarea{font-size:16px}.film-stage-canvas-editor .film-stage-content .film-stage-context{max-height:340px}}

.shared-lesson-menu{position:relative;margin-left:auto}.shared-lesson-menu>summary{min-height:32px;padding:4px 8px;cursor:pointer;font-size:13px}.shared-lesson-menu nav{position:absolute;right:0;top:100%;z-index:60;width:300px;max-width:calc(100vw - 24px);max-height:50vh;overflow:auto;display:grid;background:var(--surface);border:1px solid var(--border);padding:8px}.shared-lesson-menu nav button{text-align:left;width:100%}
.film-course-context.shared-course-line>.shared-lesson-menu{display:block}

body:has(.xiaoying-guide:not([hidden])) #app button[data-mentor="open"]{display:none}

/* The roaming short answer must not inherit page-form padding. */
.xiaoying-guide form{padding:0;margin:0;background:transparent;border:0;box-shadow:none}
.xiaoying-guide form>.mentor-attachments:empty{display:none}
.xiaoying-guide form>div:last-child{margin-top:6px;gap:6px}
@media(max-width:600px){.xiaoying-guide:has(form){width:330px}.xiaoying-guide:has(form) header,.xiaoying-guide:has(form) .xiaoying-handle{height:38px}.xiaoying-guide:has(form) .xiaoying-handle img{height:40px}.xiaoying-guide:has(form) .xiaoying-bubble{padding:7px 10px}.xiaoying-guide:has(form) .xiaoying-bubble p{margin-bottom:4px}.xiaoying-guide form textarea{height:44px;min-height:44px;max-height:70px;padding:6px;margin-top:4px;font-size:16px}.xiaoying-guide form button{min-height:36px;padding:3px 9px}.xiaoying-guide form>div:last-child{margin-top:4px}}

/* The roaming form lives under the platform shell; override its broad form rules only here. */
.xiaoying-guide.xiaoying-guide form{padding:0!important;margin:0!important}.xiaoying-guide.xiaoying-guide form>.mentor-attachments:empty{display:none!important}.xiaoying-guide.xiaoying-guide form>div:last-child{margin-top:4px!important}
@media(max-width:600px){.xiaoying-guide.xiaoying-guide form textarea{box-sizing:border-box;height:44px!important;min-height:44px!important;padding:6px!important;font-size:16px!important}.xiaoying-guide.xiaoying-guide form button{min-height:36px!important;padding:3px 9px!important}}

/* v1.6: one compact workspace bar, tools and navigation open only when needed. */
.platform-shell.film-immersive{--rail-size:0px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);--accent:#d7d9dd;--selected:#30343a;--border:#484c52}
.platform-shell.film-immersive>.academy-header,.platform-shell.film-immersive>.mobile-primary-nav{display:none!important}

.platform-shell.film-immersive>.workspace{grid-column:1!important;grid-row:1!important;height:100dvh!important;margin:0!important}.platform-shell.film-immersive .film-workspace-topbar{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-height:54px;height:54px;padding:5px 12px;overflow:visible;z-index:40}.film-workspace-topbar>.film-project-summary{flex:1;min-width:0;gap:8px}.film-workspace-topbar .film-project-switch{max-width:260px;min-height:36px;padding:5px 8px}.film-workspace-topbar>.film-stages{flex:none}.film-workspace-topbar .film-stages button{min-height:36px;padding:4px 10px}.film-workspace-topbar .film-editor-menu{position:relative;margin:0}.film-editor-menu>summary,.film-course-context>summary{cursor:pointer;white-space:nowrap;min-height:36px;padding:7px 9px}.film-course-context>div{position:absolute;right:0;top:100%;display:flex;flex-wrap:wrap;min-width:240px;max-width:350px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.film-workspace-topbar:has(.film-editor-menu[open]){z-index:60}.film-editor-menu>.film-editor-toolbar{position:absolute;right:0;top:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:280px;max-width:calc(100vw - 16px);padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.film-editor-menu>.film-editor-toolbar>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;width:100%;padding:8px 10px;font-size:14px}.film-editor-menu .film-layout-control{grid-column:1/-1}.film-workspace-topbar .film-course-context{position:relative;min-height:0;height:auto;padding:0;margin:0;border:0;display:block;background:transparent}.film-editor-menu:not([open])>.film-editor-toolbar,.film-course-context:not([open])>div{display:none}.film-workspace-topbar #film-save-status{font-size:11px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.film-editor[data-stage-view=canvas] #film-notes{grid-template-rows:minmax(0,1fr) auto}.film-editor[data-stage-view=canvas] .film-stage-canvas{grid-row:1}.film-editor[data-stage-view=canvas] .film-stage-context{grid-row:2}
.film-editor[data-stage-view=canvas] .ui-graph-toolbar{position:absolute;left:12px;top:10px;display:block;z-index:20;padding:0;border:0;background:var(--surface);border-radius:7px;max-width:290px}.ui-graph-toolbar>summary{cursor:pointer;padding:6px 10px;min-height:36px}.ui-graph-toolbar:not([open])>div{display:none}.ui-graph-toolbar>div{display:grid;gap:8px;padding:10px;border:1px solid var(--border)}.ui-graph-toolbar>div>span,.ui-graph-toolbar>div>[data-film-node-cancel]{display:none}.film-editor[data-stage-view=canvas] .ui-canvas-tools{top:10px;left:98px;max-width:300px}.ui-canvas-tools>summary{min-height:36px}.film-stage-canvas .film-stage-canvas-toolbar{position:absolute;right:12px;top:10px;z-index:15;border:0;border-radius:7px;min-height:36px;padding:0 4px;background:var(--surface)}.film-stage-canvas .film-stage-canvas-toolbar button{min-height:36px;padding:4px 8px}.film-stage-canvas .film-stage-canvas-view-tools{width:auto;gap:1px}.film-stage-canvas .film-stage-canvas-heading,.film-stage-canvas .film-stage-canvas-foot{display:none!important}.film-stage-canvas .film-stage-canvas-viewport{background-image:none}.film-editor:not([data-linking=true]) .ui-node-links,.film-editor:not([data-linking=true]) .ui-node-port{display:none!important}
.film-stage-canvas .film-stage-canvas-card.is-selected{border-color:#9b9da2;box-shadow:none}.film-stage-canvas .film-stage-canvas-group.is-selected{border-color:#9b9da2;background:#ffffff04}[data-xiaoying-target]{outline-color:#b1b3b8!important}.xiaoying-prompt-highlight>span{outline-color:#aeb0b5!important;background:#ffffff0a!important}
.xiaoying-approved-sprite{display:block;flex:none;width:40px;height:44px;background-image:url('/xiaoying-approved-v16.png');background-repeat:no-repeat;background-size:1100px 687.5px;background-position:-102.85px -88px;image-rendering:pixelated;pointer-events:none}
@media(max-width:700px){.platform-shell.film-immersive{padding-bottom:0!important}.platform-shell.film-immersive .film-workspace-topbar{display:grid;grid-template-columns:36px minmax(0,1fr) 76px;grid-template-rows:38px 34px;height:84px;min-height:84px;gap:2px 4px;padding:4px}.film-workspace-topbar>[data-ui-rail]{grid-column:1;grid-row:1;min-width:36px;padding:4px}.film-workspace-topbar>.film-project-summary{grid-column:2;grid-row:1;width:100%;min-width:0}.film-workspace-topbar>.film-stages{grid-column:1/3;grid-row:2;justify-self:start}.film-workspace-topbar>.film-course-context{grid-column:3;grid-row:2;justify-self:end}.film-workspace-topbar>.film-editor-menu{grid-column:3;grid-row:1;justify-self:end}.film-workspace-topbar .film-project-switch{display:block;width:100%;max-width:none;min-width:0;text-align:left;font-size:13px;padding:4px 6px}.film-workspace-topbar #film-save-status{display:none}.film-workspace-topbar .film-stages{gap:0}.film-workspace-topbar .film-stages button{padding:4px 6px}.film-workspace-topbar .film-stages strong{font-size:13px}.film-workspace-topbar .film-course-context>summary{font-size:12px;padding:7px 4px}.film-editor-menu>summary{font-size:12px;padding:7px 5px}.film-editor[data-stage-view=canvas] #film-notes{grid-template-rows:44px minmax(0,1fr) auto}.film-editor[data-stage-view=canvas] .film-stage-canvas{grid-row:2}.film-editor[data-stage-view=canvas] .film-stage-context{grid-row:3}.film-editor[data-stage-view=canvas] .ui-graph-toolbar{position:relative;top:auto;left:auto;grid-column:1;grid-row:1;align-self:start;justify-self:start;margin:4px 8px}.film-editor[data-stage-view=canvas] .ui-canvas-tools{position:relative;top:auto;left:auto;grid-column:1;grid-row:1;align-self:start;justify-self:end;height:max-content;margin:4px 8px;max-width:calc(100% - 100px)}.film-editor[data-stage-view=canvas] .ui-canvas-tools[open]{width:280px;height:auto;max-height:none;overflow:visible;padding:0}.film-editor[data-stage-view=canvas] .ui-canvas-tools[open]>.ui-canvas-tools-body{position:absolute;top:100%;right:0;width:min(320px,calc(100vw - 24px));max-height:45vh;overflow:auto;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-sizing:border-box}.film-stage-canvas .film-stage-canvas-toolbar{position:static;top:auto;right:auto;flex:none;width:100%;justify-content:flex-end;border-radius:0}.film-stage-canvas .film-stage-canvas-view-tools button[data-stage-canvas-action=actual-size]{display:none}.film-stage-canvas [data-stage-canvas-zoom]{min-width:35px;font-size:12px}.film-stage-canvas .film-stage-canvas-view-tools button:first-child,.film-stage-canvas .film-stage-canvas-view-tools button:nth-of-type(2){min-width:30px}.film-stage-context{padding:8px!important}.shared-composer-heading{min-height:24px}.film-stage-context-main textarea{min-height:54px!important;height:54px}.xiaoying-guide{width:260px}.xiaoying-bubble p{font-size:13px}}

@media(max-width:600px){.xiaoying-guide:not(:has(form)){width:270px}.xiaoying-guide:not(:has(form)) header{height:34px}.xiaoying-guide:not(:has(form)) .xiaoying-bubble p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.xiaoying-guide:not(:has(form)) .xiaoying-bubble{padding:6px 8px}.xiaoying-guide:not(:has(form)) button{min-height:30px}.xiaoying-guide:not(:has(form)) .xiaoying-actions{gap:4px}}

.film-editor[data-stage-view=canvas] .ui-graph-toolbar:not([open]){width:max-content;max-width:none}.platform-shell.film-immersive .film-workspace-topbar>.film-stages{width:auto!important;flex:0 0 auto!important}.platform-shell.film-immersive .film-workspace-topbar .film-stages>button{flex:0 0 auto!important;width:auto!important}
@media(max-width:700px){.platform-shell.film-immersive .film-workspace-topbar .film-project-summary{flex:1 1 90px!important;min-width:50px!important}.platform-shell.film-immersive .film-workspace-topbar .film-stages{gap:0!important}.platform-shell.film-immersive .film-workspace-topbar .film-stages>button{padding:4px 5px!important;min-width:35px!important}}

.delivery-media-locator{padding:10px;border:1px solid #8f9298;border-radius:8px;max-width:720px}.delivery-media-locator header{display:flex;align-items:center;justify-content:space-between;gap:8px}.delivery-media-locator video,.delivery-media-locator img{display:block;max-height:45dvh;width:100%;object-fit:contain}.delivery-image-region{position:relative;margin:0}.delivery-image-region>span{position:absolute;border:1px solid #d5d7da;pointer-events:none;inset:2%}.delivery-image-region[data-feedback-region=left]>span{right:55%}.delivery-image-region[data-feedback-region=right]>span{left:55%}.delivery-image-region[data-feedback-region=center]>span{inset:25%}.delivery-image-region[data-feedback-region=top]>span{bottom:55%}.delivery-image-region[data-feedback-region=bottom]>span{top:55%}

img[data-preview-failed][hidden]{display:none!important}.film-preview-unavailable{display:flex;align-items:center;justify-content:center;min-height:30px;color:#aeb1b7;font-size:11px;background:#191b20}.film-timeline-thumbs .film-preview-unavailable{font-size:9px;min-width:35px;overflow:hidden}

@media(max-width:600px){.xiaoying-guide:not(:has(form)) .xiaoying-bubble p{-webkit-line-clamp:1;line-height:21px;margin-bottom:4px}.xiaoying-guide:not(:has(form)) header{height:30px}.xiaoying-guide:not(:has(form)) button{min-height:28px!important;padding:2px 7px!important}.xiaoying-guide:not(:has(form)) .xiaoying-actions{height:28px}}

.platform-shell.film-immersive{--studio-accent:#d4d6d9;--stage-canvas-accent:#a7a9ae;--flow-accent:#d4d6d9;--studio-selected:#30343a}.xiaoying-guide{transition:none}

@media(max-width:700px){.platform-shell.film-immersive.rail-mobile-open>.platform-rail{display:flex;width:220px;bottom:0;z-index:100}.platform-shell.film-immersive.rail-mobile-open>.platform-rail .mobile-menu{display:flex}}
@media(max-width:700px){.shared-composer-footer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px}.shared-composer-footer .film-stage-context-submit{grid-column:1/-1;width:100%}.film-output-count{font-size:14px}.shared-composer-footer .film-stage-context-parameters{flex:0 0 auto!important;min-width:95px;max-width:112px}.shared-composer-footer .film-stage-context-parameters>summary{white-space:nowrap;font-size:12px}.shared-composer-footer .film-stage-context-submit{flex:1;min-width:0;gap:6px}.shared-composer-footer [data-film-stage-cost]{min-width:0;flex:1;max-width:145px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;font-size:11px!important;overflow-wrap:anywhere}.shared-composer-footer .film-stage-context-submit>button{flex:0 0 100px;min-width:100px;padding:6px;font-size:12px}.shared-composer-footer .film-stage-context-parameters[open]{min-width:0;max-width:none}.shared-composer-footer .film-stage-context-parameters[open]>summary{white-space:normal}}

/* Independent v1.6 interaction review: all media stays clear, guidance is a complete sentence. */
.platform-shell .nav-item.active,.platform-shell .nav-item[aria-current=page]{background:#30343a;color:#f0f1f3}
.xiaoying-guide>header>span{display:none}.xiaoying-guide>header{height:32px;position:relative}.xiaoying-guide .xiaoying-handle{height:32px;width:40px}.xiaoying-controls{display:none;margin:0;padding:0;position:relative;border:0;background:transparent}.xiaoying-guide:hover .xiaoying-controls,.xiaoying-guide:focus-within .xiaoying-controls,.xiaoying-controls[open]{display:block}.xiaoying-controls>summary{cursor:pointer;padding:0 8px;list-style:none}.xiaoying-controls>div{position:absolute;left:0;top:100%;z-index:3;background:var(--surface,#202329);border:1px solid var(--border,#555);padding:6px;display:grid;gap:4px;min-width:130px}.xiaoying-controls:not([open])>div{display:none}.xiaoying-guide .xiaoying-bubble{padding:7px 9px}.xiaoying-explanation{border:0;background:transparent;margin:0 0 5px;padding:0}.xiaoying-explanation>summary{list-style:none;cursor:pointer;line-height:21px;font-size:13px}.xiaoying-explanation>summary::-webkit-details-marker{display:none}.xiaoying-explanation>summary::after{content:' ⌄';color:var(--muted,#bbb);font-size:11px}.xiaoying-guide .xiaoying-explanation>p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;margin:6px 0;line-height:1.65;max-height:170px;overflow-y:auto!important}.xiaoying-explanation:not([open])>p{display:none!important}.xiaoying-prompt-highlight .xiaoying-media-region{border:2px solid #d4d6d9;background:#ffffff0d;box-shadow:0 0 0 1px #121418;box-sizing:border-box}.xiaoying-guide:not(:has(form)) .xiaoying-bubble p{white-space:normal;text-overflow:clip}
@media(max-width:600px){.xiaoying-guide:not(:has(form)) .xiaoying-actions{height:auto;min-height:28px}.xiaoying-guide .xiaoying-explanation>summary{white-space:normal;overflow:visible;text-overflow:clip}.xiaoying-guide .mentor-attachments img{height:30px;width:40px;object-fit:cover}.xiaoying-guide .mentor-attachments article{padding:3px}.xiaoying-guide:has(form) textarea{height:34px!important;min-height:34px!important}}

.xiaoying-guide .xiaoying-explanation>summary{padding:0!important;min-height:21px!important}.xiaoying-guide .xiaoying-controls>summary{padding:0 8px!important;min-height:28px!important}

/* Media stays free of labels; the header icons expose the original actions. */
.film-stage-canvas .film-stage-card-body.is-compact{min-height:0;gap:0;padding:0}.film-stage-canvas .film-stage-card-details{position:static;border:0;margin:0;padding:0;background:transparent;box-shadow:none}.film-stage-canvas .film-stage-card-details>summary{position:absolute;right:36px;top:0;z-index:4;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;list-style:none;font-size:22px;opacity:0;pointer-events:none;background:#111a;border-radius:6px;cursor:pointer}.film-stage-card-details>summary::-webkit-details-marker{display:none}.film-stage-canvas-card:has(.film-canvas-quick-actions) .film-stage-card-details>summary{right:72px}.film-stage-canvas-card:has([data-film-post-preview]) .film-stage-card-details>summary{right:108px}.film-stage-canvas .film-stage-card-details-content{border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--surface);display:grid;gap:10px}.film-stage-canvas .film-stage-card-details:not([open])>.film-stage-card-details-content{display:none}.film-stage-canvas .film-stage-canvas-card:has(.film-stage-card-details[open]){height:auto!important;max-height:560px;z-index:12}.film-stage-canvas-card:has(.film-stage-card-details[open]) .film-stage-canvas-body{max-height:516px;overflow:auto}.film-stage-card-details[open]>summary{background:var(--raised);border-radius:6px}.film-stage-canvas .film-stage-card-details .film-stage-card-actions,.film-stage-canvas .film-stage-node-actions{border:0;padding:0;background:transparent;margin:0}.film-stage-canvas .film-stage-card-details .film-stage-card-meta{color:var(--muted)}.film-menu-context{display:none}
@media(max-width:700px){.film-menu-context{display:grid;gap:4px;flex:1 0 100%;max-width:100%;padding:4px 4px 9px;border-bottom:1px solid var(--border)}.film-menu-context strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.film-menu-context small{font-size:12px;color:var(--muted)}.film-editor-menu>.film-editor-toolbar{width:280px;min-width:0;max-width:calc(100vw - 16px);box-sizing:border-box}.film-workspace-topbar .film-course-context>div{max-width:calc(100vw - 16px);box-sizing:border-box}}

/* Local canvas import and generated candidate inspection share original asset actions. */
.film-canvas-import{display:flex;align-items:center;position:relative;min-height:44px;padding:0 10px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:14px}.film-canvas-import input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.film-canvas-import:focus-within{outline:2px solid var(--accent)}
.film-stage-canvas-viewport.film-reference-drag-active{outline:2px solid var(--accent);outline-offset:-3px;background-color:var(--selected)}
.film-stage-card-main[data-cut-drag-source]{cursor:grab;touch-action:none}.film-stage-card-main[data-cut-drag-source]:active{cursor:grabbing}
.shared-candidate-grid{position:static;width:100%;box-sizing:border-box;max-height:70vh;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.shared-candidate-grid figure{margin:0;min-width:0}.shared-candidate-grid figure>button{width:100%;padding:0;border:0;aspect-ratio:16/9;background:var(--bg);display:block;cursor:grab}.shared-candidate-grid img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.shared-candidate-grid figcaption{display:flex;align-items:center;justify-content:space-between;padding:4px 0;font-size:13px}.shared-candidate-grid figcaption button{min-height:36px;padding:4px 16px;font-size:14px}.shared-candidate-grid figcaption button:disabled{color:var(--accent);opacity:1}.shared-candidate-grid button:focus-visible{outline:2px solid var(--accent)}
@media(max-width:700px){.shared-candidate-grid figcaption button{min-height:44px}.film-stage-context>section[aria-label="当前节点参考素材"]>strong,.film-stage-context>section[aria-label="当前节点参考素材"]>button{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.film-stage-context-main textarea{max-height:120px}.film-stage-context>[aria-label="当前节点参考素材"] button{min-height:36px}}

.film-candidate-unadopted{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#111b;color:#fff;font-size:20px}
/* Media surfaces replace card chrome; original handles remain keyboard accessible. */
.film-stage-canvas-card:is(:hover,:focus-within,.is-selected) .film-stage-canvas-card-header,.film-stage-canvas-card:is(:hover,:focus-within,.is-selected) .film-canvas-quick-actions,.film-stage-canvas-card:is(:hover,:focus-within,.is-selected) .film-stage-card-details>summary{opacity:1;pointer-events:auto}
.film-stage-canvas .film-stage-canvas-card-header button{min-height:36px;height:36px;color:#fff;text-shadow:0 1px 4px #000;background:#1119}.film-stage-canvas .film-stage-canvas-drag{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0 7px}.film-stage-canvas .film-stage-canvas-select{background:#111a!important}
.film-stage-canvas .film-stage-card-body[data-has-media="false"] .film-stage-card-main{width:max-content;max-width:100%;height:44px;aspect-ratio:auto;overflow:visible;background:transparent}.film-stage-canvas .film-stage-card-body[data-has-media="false"]{padding-top:12px}.film-stage-canvas .film-stage-card-empty{display:flex;flex-direction:row;align-items:center;gap:7px;min-height:36px;height:36px;padding:4px 12px;border:0;background:transparent;color:var(--muted);font-size:13px}.film-stage-card-empty>span:first-child{font-size:22px;color:var(--accent)}
.film-node-candidate-badge{position:absolute;right:6px;bottom:6px;z-index:5;display:flex;align-items:center;justify-content:center;gap:4px;min-width:40px;min-height:32px!important;padding:3px 7px!important;border:0!important;border-radius:6px!important;background:#111c!important;color:#fff!important;font-size:13px!important;box-shadow:none}.film-node-candidate-badge>span{font-size:18px}.film-stage-canvas-card:has([data-has-media="false"]) .film-node-candidate-badge{bottom:0}
.shared-prompt-tools{display:flex;align-items:center;gap:2px;flex:none}.shared-prompt-tools button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:13px;white-space:nowrap}.shared-prompt-tools button:hover{background:var(--raised)}.shared-prompt-tools button:disabled{color:var(--muted);opacity:.55}.shared-prompt-tools .film-icon{width:16px;height:16px;pointer-events:none}.film-stage-canvas-editor .film-stage-content .film-stage-context.is-expanded{max-height:min(62vh,500px)}.film-stage-context.is-expanded .film-stage-context-main textarea{height:min(30vh,260px)!important;max-height:260px}
@media(max-width:700px){.shared-prompt-tools{gap:0}.shared-prompt-tools button{width:40px;min-height:40px;padding:6px}.shared-prompt-tools button>span{display:none}.shared-composer-heading>strong{font-size:13px}.film-node-candidate-badge{min-height:36px!important}.film-stage-canvas-card:is(:focus-within,.is-selected) .film-stage-canvas-card-header{opacity:1}}

/* Same approved pixel character, with restrained work-state motion. */
.xiaoying-approved-sprite{transform-origin:50% 85%;animation:xiaoying-breathe 4s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=editing]{animation:xiaoying-edit 3.2s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=thinking]{animation:xiaoying-think 1.8s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=generating]{animation:xiaoying-work 1.1s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=explaining],.xiaoying-approved-sprite[data-mentor-state=speaking]{animation:xiaoying-explain 1.5s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=reviewing]{animation:xiaoying-look 2.4s ease-in-out infinite}.xiaoying-approved-sprite[data-mentor-state=attention]{animation:xiaoying-notice .4s ease-in-out 2}.xiaoying-approved-sprite[data-mentor-state=paused]{animation:none}
@keyframes xiaoying-breathe{50%{transform:translateY(-1px)}}@keyframes xiaoying-edit{40%,60%{transform:rotate(-3deg)}}@keyframes xiaoying-think{30%{transform:rotate(-6deg) translateY(-1px)}70%{transform:rotate(4deg)}}@keyframes xiaoying-work{50%{transform:translateY(-3px) scale(1.02)}}@keyframes xiaoying-explain{35%{transform:rotate(-3deg)}65%{transform:rotate(3deg) translateY(-1px)}}@keyframes xiaoying-look{40%{transform:translateX(-2px) rotate(-4deg)}80%{transform:translateX(2px) rotate(4deg)}}@keyframes xiaoying-notice{30%{transform:translateX(-2px)}70%{transform:translateX(2px)}}
@media(prefers-reduced-motion:reduce){.xiaoying-approved-sprite{animation:none!important;transform:none!important}}

/* V16 mobile workspace: keep the real editor scrollable. */
.platform-shell.film-immersive .film-v16-art-placeholder svg{width:32px!important;height:32px!important}
@media(max-width:700px){
 .platform-shell.film-immersive .film-editor{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .platform-shell.film-immersive .film-v16-art-actions button.primary{min-width:44px!important;min-height:44px!important}
 .platform-shell.film-immersive .film-v16-art-tree header{display:flex;flex-flow:row nowrap;gap:2px;padding:4px 0 10px}
 .platform-shell.film-immersive .film-v16-art-tree header strong{min-width:0;flex:1;font-size:12px}
 .platform-shell.film-immersive .film-v16-art-tree header button{flex:0 0 30px;width:30px;min-width:30px;padding:2px}
}

/* Selected storyboard shot stays with the working area; advanced fields remain available on demand. */
.academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{position:sticky;bottom:0;z-index:5;max-height:min(55vh,420px);overflow:auto;margin:12px 0 0;padding:10px 12px!important;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-surface);box-shadow:0 -8px 28px #08061199}
.film-v16-shot-composer-header{display:flex;align-items:center;gap:8px;min-width:0}
.film-v16-shot-composer-header>strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.film-v16-shot-details{position:relative;flex:none}
.film-v16-shot-details>summary{cursor:pointer;color:var(--studio-muted);font-size:12px}
.film-v16-shot-details[open]{flex:1;min-width:0}
.film-v16-shot-details[open]>summary{margin-bottom:10px}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt{margin:6px 0}
.academy-shell.film-immersive .film-v16-shot-composer .film-video-prompt-editor{min-height:44px;max-height:96px;overflow:auto;padding:8px 10px;font-size:14px;line-height:1.5}
.film-v16-shot-composer .film-director-prompt-tools{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.film-v16-shot-composer .film-reference-panel{margin:4px 0;padding:4px 0;border:0;background:transparent}
.film-v16-shot-composer .film-reference-panel .film-section-heading{display:flex;align-items:center;gap:8px}
.film-v16-shot-composer .film-reference-panel .film-section-heading>strong,.film-v16-shot-composer .film-attachment-hint,.film-v16-shot-composer .film-reference-capability{display:none}
.film-v16-shot-composer .film-attachments{display:flex;flex-wrap:wrap;gap:6px}
.film-v16-shot-composer .film-director-generate{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:6px}
.film-v16-shot-composer .film-director-generate>.primary{margin-left:auto}
@media(max-width:700px){
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{position:relative;max-height:none;overflow:visible}
 .film-v16-shot-composer .film-director-generate>.primary{min-height:44px!important}
}
.academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{background:#1a1230!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt{padding:0!important;border:0!important;background:transparent!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel{padding:0!important;border:0!important;background:transparent!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel input[type=file]{display:none!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel .film-section-heading{justify-content:flex-start!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel .film-section-heading>label{width:auto!important;min-width:0!important;display:inline-flex!important;margin:0!important;padding:5px 8px!important}
.film-v16-shot-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.film-v16-shot-tools .film-director-prompt-tools{margin:0}
.film-v16-shot-tools .film-reference-panel{margin:0}
@media(max-width:900px){
 .platform-shell.film-immersive .film-editor[data-stage=post] .film-cut{overflow-y:auto!important;overscroll-behavior:contain}
 .platform-shell.film-immersive .film-editor[data-stage=post] [data-film-layout-panel=timeline]{flex:1 0 220px;min-height:220px}
}
.film-v16-shot-composer-header:has(.film-v16-shot-details[open]){display:block}
.film-v16-shot-composer-header:has(.film-v16-shot-details[open])>strong{display:inline-block;max-width:70%;vertical-align:middle}
.film-v16-shot-composer-header:has(.film-v16-shot-details[open]) .film-v16-shot-details{display:block;margin-top:8px}
@media(max-width:700px){
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{position:sticky;bottom:0;max-height:min(55vh,300px);overflow:auto}
}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel :is(.film-attachment-hint,.film-reference-capability){display:none!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-reference-panel{margin:0!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-generate{margin:4px 0 0!important}
.academy-shell.film-immersive .film-v16-shot-composer .image-output-controls{display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important}
.academy-shell.film-immersive .film-v16-shot-composer .image-output-controls label{display:flex;align-items:center;gap:4px;margin:0!important;font-size:12px}
.academy-shell.film-immersive .film-v16-shot-composer .image-output-controls select{min-height:32px;height:32px;padding:3px 6px}
@media(min-width:901px){
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-editor[data-stage=post] .film-timeline-toolbar{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;min-height:40px!important;height:40px!important;max-height:40px;gap:4px}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-editor[data-stage=post] .film-timeline-toolbar>button{flex:none;white-space:nowrap;min-height:32px}
 .academy-shell.film-immersive.film-layout-active.film-flex-docking .film-editor[data-stage=post] .film-track-controls{flex:none;margin-left:0}
}
.academy-shell.film-immersive .film-v16-shot-composer .image-output-controls label{white-space:nowrap;flex:none}
/* A dedicated composer row keeps scene headings and cards unobscured. */
@media(min-width:701px){
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] #film-notes{height:100%;min-height:0}
 .academy-shell.film-immersive .film-v16-storyboard{display:flex;flex-direction:column;height:100%;min-height:0;max-height:100%;overflow:hidden}
 .academy-shell.film-immersive .film-v16-storyboard .film-board-heading{flex:none}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-board{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-board-details{flex:none;max-height:30%;overflow:auto}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{position:static;flex:none;max-height:min(55%,340px)}
}
@media(max-width:700px){
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{position:static;max-height:none;overflow:visible}
}
.academy-shell.film-immersive .film-v16-art-actions .image-output-controls{display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important}
.academy-shell.film-immersive .film-v16-art-actions .image-output-controls label{display:flex;align-items:center;gap:4px;margin:0!important;font-size:12px;white-space:nowrap;flex:none}
.academy-shell.film-immersive .film-v16-art-actions .image-output-controls select{min-height:32px;height:32px;padding:3px 6px}
@media(min-width:701px) and (max-height:800px){
 .academy-shell.film-immersive .film-v16-art-preview{min-height:100px}
 .academy-shell.film-immersive .film-v16-art-composer textarea{height:65px;min-height:65px}
}
@media(min-width:701px){
 .academy-shell.film-immersive .film-v16-storyboard{overflow:visible}
 .academy-shell.film-immersive .film-v16-storyboard .film-board-heading{margin-bottom:6px}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-board{min-height:210px}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-group{padding:8px 0}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-group h4{margin-bottom:4px}
 .academy-shell.film-immersive .film-v16-storyboard .film-shot-summary>strong{margin:4px 0 2px!important;font-size:12px!important;line-height:1.3}
 .academy-shell.film-immersive .film-v16-storyboard .film-shot-summary>small{font-size:12px}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-add{margin-top:4px;min-height:32px;height:32px;padding:4px 8px}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-board-details{margin-top:4px;padding-top:4px}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{margin-top:4px;padding:8px!important;max-height:min(55%,340px)}
 .academy-shell.film-immersive .film-v16-shot-composer-header>button,.academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt-tools>button{min-height:32px;height:32px;padding:4px 7px}
 .academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt{margin:4px 0}
}
@media(min-width:701px){
 .academy-shell.film-immersive .film-v16-storyboard .film-shot-gallery{grid-template-columns:repeat(3,minmax(0,190px))!important}
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-board{min-height:230px}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-board-details:not([open]){height:26px;min-height:26px;padding:0;margin-top:4px}
}
.film-v16-composer-drawer{flex:none;min-width:0;margin:4px 0 0}
.film-v16-composer-drawer>summary{cursor:pointer;min-height:30px;padding:6px 8px;color:var(--studio-muted);font-size:12px}
.film-v16-composer-drawer[open]>summary{display:none}
@media(min-width:701px){
 .academy-shell.film-immersive .film-v16-storyboard .film-scene-board{min-height:255px}
 .academy-shell.film-immersive .film-v16-composer-drawer[open]{max-height:55%;overflow:auto}
 .academy-shell.film-immersive .film-v16-storyboard .film-v16-shot-composer{max-height:none}
}
.film-v16-composer-drawer[open]>summary{display:block}
/* The art composer keeps references above the text and shows the quoted cost by the action. */
.film-v16-art-references{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%}
.film-v16-art-reference{flex:none}
.film-v16-art-actions .film-composer-quote{margin-left:auto;font-size:12px;color:var(--studio-muted);white-space:nowrap}
/* Selected-shot composer: reference thumbnails above the prompt, one compact action row below. */
.academy-shell.film-immersive .film-v16-shot-composer .film-v16-shot-references .film-section-heading{display:none!important}
.academy-shell.film-immersive .film-v16-shot-composer .film-v16-shot-references:not(:has(.film-attachment)){display:none}
.academy-shell.film-immersive .film-v16-shot-composer .film-v16-shot-references .film-attachments{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:6px;scrollbar-width:thin}
.academy-shell.film-immersive .film-v16-shot-composer .film-v16-shot-references .film-attachment{flex:0 0 62px}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-generate{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;overflow-x:auto;padding:2px 0;scrollbar-width:thin}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt-tools{display:flex;flex:none;align-items:center;gap:2px;flex-wrap:nowrap;margin:0;padding:0;border:0}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-prompt-tools>button,.academy-shell.film-immersive .film-v16-shot-composer .film-compact-upload{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 6px!important;white-space:nowrap;font-size:12px;cursor:pointer;color:var(--studio-text);border:0;background:transparent}
.academy-shell.film-immersive .film-v16-shot-composer .film-compact-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.academy-shell.film-immersive .film-v16-shot-composer .image-output-controls{flex:none}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-cost{flex:none;margin-left:auto}
.academy-shell.film-immersive .film-v16-shot-composer .film-director-generate>.primary{flex:none;margin-left:0}
.film-v16-shot-composer .film-output-count{display:flex;flex-direction:row;align-items:center;gap:4px;margin:0;white-space:nowrap}
.film-v16-shot-composer .film-output-count select{min-height:32px;height:32px;width:auto;padding:3px 6px}

/* Script actions share the existing workspace handlers and capability guards. */
.film-workspace-topbar>.film-script-toolbar{display:flex;align-items:center;flex:none;gap:4px;min-width:0}
.film-workspace-topbar>[data-workspace-home]{white-space:nowrap;min-height:36px;padding:5px 9px}
.film-script-toolbar>button{min-height:34px;padding:6px 10px;white-space:nowrap;font-size:13px;border:1px solid var(--border);border-radius:8px;background:transparent}
.film-script-toolbar>button:disabled{opacity:.48;cursor:not-allowed}
.film-workspace-topbar .film-professional-project{display:flex}
@media(max-width:1000px){.film-script-toolbar>button{padding:5px 7px;font-size:12px}}
@media(max-width:700px){
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-script-toolbar){grid-template-rows:38px 34px 36px;height:122px;min-height:122px}
 .film-workspace-topbar>.film-script-toolbar{grid-column:1/-1;grid-row:3;width:100%;overflow-x:auto;justify-content:flex-start}
 .film-workspace-topbar>.film-script-toolbar>button{flex:none;min-height:32px}
 .platform-shell.film-immersive .film-workspace-topbar:has(>[data-workspace-home]){grid-template-columns:64px minmax(0,1fr) 76px}
 .film-workspace-topbar>[data-workspace-home]{grid-column:1;grid-row:1;padding:4px}
}

/* A failed save must remain actionable even when the compact header hides status. */
/* Reserve a separate header row so a failed-save retry is never clipped or overlaid on work. */
.platform-shell.film-immersive .film-workspace-topbar:has(#film-save-status [data-film="retry-save"]){position:relative;height:100px;min-height:100px;padding-bottom:48px}
.film-workspace-topbar #film-save-status:has([data-film="retry-save"]){display:flex;position:absolute;left:12px;right:12px;bottom:5px;z-index:80;align-items:center;justify-content:flex-start;gap:8px;max-width:none;overflow:visible;text-overflow:clip;white-space:normal;padding:6px 8px;background:var(--surface,#20212a);border:1px solid var(--border,#555);border-radius:8px}
.film-workspace-topbar #film-save-status [data-film="retry-save"]{flex:none;min-height:30px;padding:4px 9px}
@media(max-width:700px){
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-script-toolbar):has(#film-save-status [data-film="retry-save"]){grid-template-rows:38px 34px 36px 44px;height:166px;min-height:166px;padding:4px}
 .film-workspace-topbar #film-save-status:has([data-film="retry-save"]){left:4px;right:4px;bottom:4px}
}
.film-script-toolbar>.film-script-draft-info{min-width:30px;padding:4px 7px;font-size:15px}
.film-script-toolbar>.film-script-draft-info[hidden]{display:none}

/* Local interactive cover demonstration only. */
.demo-cover-current{height:100%;min-height:260px;position:relative;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}.demo-cover-current img{width:100%;height:100%;min-height:200px;max-height:400px;object-fit:contain;border-radius:10px}.demo-cover-current small,.demo-cover-note{color:var(--muted)}.demo-cover-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.demo-cover-choice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:16px;min-height:100px;border:1px solid var(--border);border-radius:12px}.demo-cover-choice span{font-size:12px;line-height:1.5;color:var(--muted)}.demo-cover-candidate{display:block;width:auto;max-width:100%;max-height:55vh;margin:12px auto;object-fit:contain;border-radius:8px}.demo-cover-actions{display:flex;gap:10px;justify-content:flex-end;margin:12px 0}@media(max-width:700px){.demo-cover-choices{grid-template-columns:1fr}.demo-cover-choice{min-height:70px}}

/* The independent script workspace keeps its real mentor in a stable side rail. */
@media (min-width:901px){
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock){display:grid!important;grid-template-columns:minmax(0,1fr) 320px;min-width:0;min-height:0;height:100%;overflow:hidden}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock)>.academy-page-content{min-width:0;min-height:0;height:100%;overflow:hidden}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard]))>#academy-mentor-dock{min-width:0;min-height:0;height:100%;overflow:hidden;border-left:1px solid var(--border)}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock>.mentor-docked{display:flex!important;flex-direction:column;height:100%!important;min-height:0!important;max-height:none!important;border:0;border-radius:0;overflow:hidden}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock .mentor-function-scroll{flex:1 1 auto;min-height:0;overflow:auto}
}
@media (max-width:900px){
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock){display:flex!important;flex-direction:column;height:100%;overflow:auto}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock)>.academy-page-content{min-height:550px;flex:none}
 .platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard]))>#academy-mentor-dock{flex:none;min-height:400px;border-top:1px solid var(--border)}
}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard]))>#academy-mentor-dock{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;z-index:auto!important;box-sizing:border-box}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock>.mentor-docked{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock .mentor-dock-prompts{max-width:100%;box-sizing:border-box}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock .mentor-dock-prompts{flex-wrap:wrap!important;overflow:visible!important;gap:6px}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock .mentor-dock-prompts>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.platform-shell.film-immersive .academy-learning-layout:has(.film-editor:is([data-stage=script],[data-stage=art],[data-stage=storyboard])) #academy-mentor-dock .mentor-dock-prompts{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
/* Script task menu and reasons belong to the corresponding toolbar controls. */
.film-script-toolbar>.film-script-control{position:relative;display:inline-flex;flex:none}
.film-script-control>button,.film-script-skills>summary{min-height:34px;padding:6px 10px;white-space:nowrap;font-size:13px;border:1px solid var(--border);border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.film-script-control>button:disabled{opacity:.48;cursor:not-allowed}
.film-script-control-reason{display:none;position:absolute;z-index:110;top:calc(100% + 4px);right:0;width:max-content;max-width:220px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);white-space:normal;font-size:12px;line-height:1.4;box-shadow:0 8px 24px #0006}
.film-script-control:focus .film-script-control-reason,.film-script-control:hover .film-script-control-reason{display:block}
.film-script-skills{position:relative;flex:none}
.film-script-skills>summary{display:block;list-style:none}
.film-script-skills>summary::-webkit-details-marker{display:none}
.film-script-skills-panel{position:absolute;right:0;top:calc(100% + 5px);z-index:120;width:min(300px,calc(100vw - 20px));max-height:min(70dvh,560px);overflow:auto;box-sizing:border-box;display:grid;gap:5px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 28px #0007}
.film-script-skills-panel>strong{margin-top:8px;color:var(--muted);font-size:12px}
.film-script-skills-panel>button,.film-script-skills-panel>details>summary{min-height:34px;padding:7px 9px;text-align:left;border:0;border-radius:7px;background:transparent;cursor:pointer}
.film-script-skills-panel>button:hover,.film-script-skills-panel>details>summary:hover{background:var(--selected)}
.film-script-skills-panel>button:disabled{opacity:.5;cursor:not-allowed}
.film-script-skills-panel textarea{box-sizing:border-box;width:100%;max-height:200px;resize:vertical}
.film-script-skills-panel p{color:var(--muted);font-size:12px;line-height:1.5;margin:8px 0 0}
@media(max-width:700px){.film-script-skills-panel{position:fixed;top:126px;right:10px;max-height:calc(100dvh - 140px)}.film-script-control-reason{position:fixed;top:126px;right:10px}}
.film-script-control>button:disabled,.film-skill-status-control>button:disabled{pointer-events:none}
.film-script-control-reason[hidden],.film-skill-status-reason[hidden]{display:none!important}
.film-skill-status-control{display:block;position:relative}
.film-skill-status-control>button{width:100%;min-height:34px;padding:7px 9px;text-align:left;border:0;border-radius:7px;background:transparent;cursor:pointer}
.film-skill-status-control>button:disabled{opacity:.5;cursor:not-allowed}
.film-skill-status-reason{display:none;padding:5px 9px;color:var(--muted);font-size:12px;line-height:1.4}
.film-skill-status-control:focus .film-skill-status-reason,.film-skill-status-control:hover .film-skill-status-reason{display:block}
.film-outline-demo-label{margin-left:8px;font-size:11px;font-weight:400;color:var(--muted)}

.film-stage-skills{display:flex;align-items:center;gap:6px;min-width:0}.film-stage-skills>button,.film-stage-skills summary{white-space:nowrap;font-size:13px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:transparent;cursor:pointer}.film-stage-skills>button:disabled{opacity:.48;cursor:not-allowed}.film-stage-skills details{position:relative}.film-stage-skills details>div{position:absolute;right:0;top:calc(100% + 6px);z-index:100;min-width:160px;padding:6px;display:grid;gap:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 24px #0006}.film-stage-skills details button{text-align:left;padding:9px;border:0;border-radius:6px;background:transparent}.film-stage-skills details button:hover{background:var(--surface-hover,var(--bg))}
@media(max-width:1000px){.film-stage-skills{grid-column:1/-1;justify-content:flex-start;overflow-x:auto;width:100%}.film-stage-skills>*{flex:none}}


/* film-professional.css */
/* Professional preparation stays in a secondary panel, outside the image canvas. */
dialog#dialog.film-studio-dialog:has(.film-professional-panel){width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
.film-professional-entry{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--studio-border,var(--border));flex-wrap:wrap}
.film-professional-entry p{flex:1;margin:0;color:var(--studio-muted,var(--muted));font-size:15px}
.film-professional-entry strong{font-size:16px}
.film-professional-panel{max-width:920px;font-size:16px;line-height:1.7}
.film-professional-panel label{display:grid;gap:6px;margin:12px 0}
.film-professional-panel small{display:block;color:var(--studio-muted,var(--muted));font-size:13px}
.film-professional-panel details{margin:10px 0}
.film-professional-steps{list-style:none;padding-left:0}
.film-professional-steps>li{border-top:1px solid var(--studio-border,var(--border));padding:18px 0}
.film-professional-steps>li:first-child{border-top:0}
.film-professional-steps h3{margin:4px 0;font-size:18px;line-height:1.5}
.film-professional-steps li>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}
.film-professional-board{border-top:1px solid var(--studio-border,var(--border));padding:18px 0}
.film-professional-board header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.film-professional-board header span{font-size:14px;color:var(--studio-muted,var(--muted))}
.film-professional-board>div{display:flex;gap:8px;flex-wrap:wrap}
.film-professional-board button{margin:4px 6px 4px 0;min-height:40px}
.film-board-prompt-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:15px;max-height:280px;overflow:auto;padding:12px;background:var(--studio-panel,#17191e)}
.film-professional-progress{color:var(--studio-accent,var(--accent))}
.film-professional-open{white-space:nowrap;min-height:36px;font-size:14px}
@media(max-width:600px){
 dialog#dialog.film-studio-dialog:has(.film-professional-panel){width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:16px}
 .film-professional-entry{gap:8px}.film-professional-entry strong,.film-professional-entry p{flex-basis:100%}
 .film-professional-panel{font-size:15px}.film-professional-open{font-size:13px;padding:5px 8px}
 .film-professional-steps li>div:first-child{align-items:flex-start;flex-wrap:wrap}
 .film-professional-board>div{display:grid;gap:6px}.film-professional-board button{width:100%;margin-right:0;white-space:normal}
}

#film-notes:has(.film-professional-entry) .film-script-scenes textarea[data-film-field="action"]{min-height:360px;font-size:16px;line-height:1.8}
@media(max-width:600px){#film-notes:has(.film-professional-entry) .film-script-scenes textarea[data-film-field="action"]{min-height:320px}}

.film-professional-feedback{position:sticky;top:0;z-index:2;margin:12px 0;padding:12px 16px;background:#202126;border:1px solid #696550;border-radius:10px;color:#f3edce;line-height:1.6}

.creative-team-panel{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.creative-team-panel label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.creative-team-panel input[type=checkbox]{align-self:flex-start}.creative-team-panel select,.creative-team-panel textarea{max-width:100%;width:100%;box-sizing:border-box;font:inherit}.creative-team-panel textarea{min-height:90px}.creative-team-panel button{min-height:44px;white-space:normal}.creative-team-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.creative-team-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.creative-team-panel article{border-top:1px solid #6666;padding:12px 0}.creative-team-panel details{margin:16px 0}.creative-team-proposal{max-height:45vh;overflow:auto}


/* platform-design.css */
/* OPCWise, October 2026. Reading room and production desk share one control
   language. This layer changes presentation only; original editor geometry,
   saved state, permissions and event attributes remain authoritative. */
:root{
  color-scheme:dark;
  --bg:#151922;--rail:#1b222e;--surface:#202734;--raised:#2b3648;
  --input:#192230;--border:#354358;--text:#e9eff8;--muted:#abb7ca;
  --accent:#aac4ff;--accent-ink:#142749;--selected:#2a3d5d;--success:#9bd1b6;
  --radius:9px;--line:var(--border);--academy-paper:var(--bg);
  --offer-ink:var(--text);--offer-muted:var(--muted);--offer-accent:var(--accent);--offer-line:var(--border);
  --font:"PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",system-ui,sans-serif;
  font-family:var(--font);font-size:16px;line-height:1.65;
}
body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}
body,.platform-shell{
  --line:var(--border);--surface-2:var(--raised);--ink:var(--text);--navy:var(--text);
  --academy-paper:var(--bg);--academy-ink:var(--text);--academy-muted:var(--muted);--academy-accent:var(--accent);
  --native-paper:var(--bg);--native-ink:var(--text);--native-muted:var(--muted);--native-purple:var(--accent);
  --studio-bg:var(--bg);--studio-panel:var(--surface);--studio-raised:var(--raised);--studio-field:var(--input);
  --studio-border:var(--border);--studio-text:var(--text);--studio-muted:var(--muted);--studio-accent:var(--accent);--studio-selected:var(--selected);
  --stage-canvas-bg:var(--bg);--stage-canvas-surface:var(--surface);--stage-canvas-border:var(--border);--stage-canvas-accent:var(--accent);
}
button,input,textarea,select{font-family:inherit}
button{background:var(--raised);color:var(--text);border-color:var(--border);border-radius:8px;font-size:14px;font-weight:500;transition:background-color .14s,border-color .14s}
button:not(:disabled):hover{border-color:#a6b7cf}
button:disabled{opacity:.48;cursor:not-allowed}
:where(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.primary,button.primary,.academy-shell .primary,.ai-native-home .primary,.native-reception-actions .primary{
  background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);
  border-radius:8px;box-shadow:none;font-weight:600;
}
button.primary:hover,.academy-shell .primary:hover,.ai-native-home .primary:hover{background:#194ab5;border-color:#194ab5;color:#fff}
.secondary,.academy-shell .secondary{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;box-shadow:none}
.text-button{color:var(--accent);background:transparent;border-color:transparent;box-shadow:none}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select{
  border-color:var(--border);background:var(--input);color:var(--text);border-radius:7px;
}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
textarea{line-height:1.85;scrollbar-width:thin}
h1,h2,h3{color:var(--text);text-wrap:balance}
h1{font-size:32px;line-height:1.35;letter-spacing:-.035em;font-weight:650}
h2{font-size:23px;line-height:1.45;font-weight:600}
h3{font-size:17px;line-height:1.5;font-weight:600}
p{line-height:1.8}small,.caption{line-height:1.6}
.eyebrow,.native-kicker{color:var(--muted);letter-spacing:0;font-size:13px}
::selection{background:#c9dbff;color:#172539}

/* Navigation is a stable horizon, not another set of cards. */
.platform-shell.academy-shell>.academy-header{background:var(--surface);border-color:var(--border);gap:28px;padding-inline:32px;box-shadow:none}
.platform-shell .brand img{width:116px;filter:brightness(0) invert(1);opacity:.92}
.platform-shell .teaching-nav{gap:8px}
.platform-shell .teaching-nav .nav-item{height:64px;border-radius:0;border-bottom:3px solid transparent;padding:8px 14px 5px;color:var(--muted);font-weight:550}
.platform-shell .teaching-nav .nav-item.active{background:transparent;color:var(--text);border-bottom-color:var(--accent)}
.platform-shell .teaching-nav .nav-item svg{width:17px;height:17px}
.platform-shell .platform-learning-menu>summary{border:0;background:transparent;color:var(--muted);font-size:14px}
.platform-shell .account-menu>summary{color:var(--text);font-size:13px}
.platform-shell .avatar{background:var(--selected);color:var(--accent);border:0}
.platform-shell .academy-signin{background:var(--accent);color:var(--accent-ink);border:0;border-radius:8px;padding:9px 20px;font-size:14px;min-height:38px}
.platform-shell .top-actions{gap:16px}
.platform-shell .account-menu-panel,.platform-shell .platform-learning-menu[open]>.academy-learning-nav{
  background:var(--surface);border-color:var(--border);box-shadow:0 16px 45px #17253918;border-radius:12px;padding:8px;
}
.platform-shell:not(.film-immersive)>.workspace>.page{max-width:1440px;margin-inline:auto;padding:32px 40px 56px}
.platform-shell .preview-environment{font-size:11px;color:var(--muted)}
.xiaoying-approved-sprite{background-size:2750% 1562.5%;background-position:9.70283% 13.67521%}

/* The mentor remains the first action. One expressive title carries the page. */
.ai-native-home{--native-ink:var(--text);--native-muted:var(--muted);--native-purple:var(--accent);padding:24px 0 48px;max-width:1200px}
.native-reception:has(.native-reception-actions){
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr);
  grid-template-rows:auto auto auto;align-content:center;align-items:center;
  gap:24px 48px;min-height:590px;padding:48px 64px;margin:0;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:none;
}
.ui-entry-heading{grid-column:1;grid-row:1;max-width:650px}
.ui-entry-heading h1{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:clamp(36px,3.7vw,54px);line-height:1.4;font-weight:600;margin:0;letter-spacing:-.025em}
.ui-entry-heading>p{font-size:16px;margin:18px 0 0;color:var(--muted);max-width:35em}
.native-reception:has(.native-reception-actions)>.native-mentor{display:contents}
.native-reception:has(.native-reception-actions) .native-mentor-art{grid-column:2;grid-row:1/4;width:160px;height:176px;align-self:center;justify-self:center;margin:0;max-width:100%;border-radius:12px;box-shadow:0 16px 40px #17253916}
.native-reception:has(.native-reception-actions) .native-caption{grid-column:1;grid-row:2;background:#192230;border:0;border-left:3px solid #718ebd;border-radius:0;padding:18px 22px;margin:0;max-width:none;box-shadow:none}
.native-reception:has(.native-reception-actions) .native-caption>span{font-size:12px;color:var(--muted);letter-spacing:0}
.native-reception:has(.native-reception-actions) .native-caption>p{font-size:17px;font-weight:400;line-height:1.85;margin:7px 0 0;color:var(--text)}
.native-reception-actions{grid-column:1;grid-row:3;display:flex;gap:12px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin:0}
.native-reception-actions .primary{padding:13px 22px;min-height:48px;font-size:15px}
.native-reception-actions .text-button{color:var(--muted);font-size:14px;padding:10px}
.native-reception>.native-error{grid-row:auto;grid-column:1/-1}
.native-learning-home{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px 32px;max-width:1200px}
.native-learning-home>.ui-home-heading{grid-column:1/-1;padding-bottom:10px}
.native-learning-home .ui-home-heading h1{font-size:32px;margin:8px 0 10px}
.native-learning-home>.native-course-entry{grid-column:1;grid-row:2;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:12px;padding:28px}
.native-learning-home>.native-current-work{grid-column:1;grid-row:3;border:1px solid var(--border);background:var(--surface);border-radius:12px;box-shadow:none}
.native-learning-home>.native-home-conversation{grid-column:2;grid-row:2/span 2;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:22px;margin:0}
.native-home-conversation>summary{font-size:16px;color:var(--text);font-weight:600;cursor:pointer}
.native-home-conversation .native-caption{background:transparent;border:0;padding:8px 0;box-shadow:none}
.native-learning-home>.native-home-tools{grid-column:1/-1;grid-row:4;display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:18px}
.native-current-work-copy{padding:26px}
.native-learning-home .native-current-work h2{font-size:24px}
.native-current-work-copy>small{font-size:12px;color:var(--muted)}
.native-home-work-preview{background:#192230}
.native-home-tools>button{background:transparent;color:var(--muted);border-color:transparent;font-size:13px}
.native-intake,.native-purchase{max-width:780px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:28px 36px}
.native-choices button{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:16px 18px;color:var(--text);min-height:56px}
.native-choices button[aria-pressed=true]{background:var(--selected);color:var(--accent);border-color:var(--accent)}
.native-intake-hint,.native-step-line{color:var(--muted)}
.native-classroom{color:var(--text)}
.lesson2-main,.lesson2-side,.native-course-delivery{background:var(--surface);border-color:var(--border);box-shadow:none}
.authored-reading{font-size:16px;line-height:1.95;max-width:68ch;color:var(--text)}
.authored-reading p{line-height:1.95}.authored-reading h3{margin-top:32px}
.authored-reading blockquote,.native-delivery-observation blockquote{background:var(--raised);border-left:3px solid #b8cceb;color:var(--text)}
.native-caption,.native-note{border-color:var(--border);box-shadow:none}

/* Course resources, rosters and teaching work share quiet, readable surfaces. */
.page-heading{align-items:flex-end;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--border)}
.page-heading h1{font-size:30px}.page-heading p{color:var(--muted);font-size:14px;margin-top:10px}
.surface,.card,.skill-detail,.skill-learning-section{background:var(--surface);border-color:var(--border);box-shadow:none}
.academy-enrollment-tabs,.tabs{gap:6px;border-color:var(--border)}
.academy-enrollment-tabs button,.tabs button{background:transparent;border-color:transparent;color:var(--muted)}
.academy-enrollment-tabs [aria-pressed=true],.tabs .active{background:var(--selected);color:var(--accent);border-color:transparent}
table{border-color:var(--border)}th{color:var(--muted);font-size:12px;font-weight:600}
th,td{border-bottom-color:var(--border)}tbody tr:hover{background:var(--raised)}
.account-role-group th{background:var(--raised);color:var(--text)}
.account-row-actions button{font-size:12px;min-height:32px;padding:5px 8px}
.stat-grid>article,.metric-grid>article{background:var(--surface);border-color:var(--border);box-shadow:none}

/* The production desk stays dark, with fewer competing outlines. Portalled
   dialogs inherit its tokens through body, rather than showing a light form. */
body:has(.film-immersive){
  color-scheme:dark;--bg:#171d27;--rail:#1c2431;--surface:#202a38;--raised:#2a3749;
  --input:#192230;--border:#354358;--text:#e9eff8;--muted:#abb7ca;
  --accent:#9dbdff;--accent-ink:#142749;--selected:#2a3d5d;--success:#9bd1b6;
}
.film-immersive{--creation-bg:var(--bg);--creation-panel:var(--surface);--creation-text:var(--text);--creation-muted:var(--muted);--creation-border:var(--border);--creation-accent:var(--accent)}
.platform-shell.film-immersive{--accent:#9dbdff;--accent-ink:#142749;--selected:#2a3d5d;--border:#354358;--studio-accent:var(--accent);--stage-canvas-accent:var(--accent);--flow-accent:var(--accent);--studio-selected:var(--selected);background:var(--bg);color:var(--text)}
.film-immersive .brand img{filter:none}
.film-immersive .film-topbar{background:#1c2431;border-color:var(--border)}
.film-immersive .film-topbar button{font-size:12px;border-radius:6px;min-height:32px;box-shadow:none}
.film-immersive .film-stage-content{background:var(--surface);border-color:var(--border);border-radius:8px}
.film-immersive .film-project-library{background:#1c2431;border-color:var(--border);border-radius:8px}
.film-immersive .film-project-library>header{border-color:var(--border)}
.film-immersive .film-upload-button{background:transparent;border-color:#52637d;color:var(--muted)}
.film-immersive .film-library-actions button{color:var(--accent);font-size:12px}
.film-immersive .film-notes textarea{background:#192230;border-color:var(--border);font-size:15px;line-height:1.9}
.film-immersive .film-notes>details{background:transparent;border-color:var(--border)}
.film-immersive .film-script-card,.film-immersive .film-story-scene{border-color:var(--border);box-shadow:none}
.film-immersive .film-stage-card{border-color:var(--border);border-radius:8px;box-shadow:0 4px 14px #0002}
.film-immersive .film-stage-card-actions button{background:transparent;border-color:transparent;min-height:28px;color:var(--muted);font-size:12px}
.film-immersive .film-stage-card-actions button:hover{background:var(--raised);color:var(--text)}
.film-immersive .film-board-heading,.film-immersive .film-stage-frame{border-color:var(--border)}
.film-immersive .film-edit-heading,.film-immersive .film-timeline-toolbar{background:#1c2431;border-color:var(--border)}
.film-immersive .film-edit-inspector,.film-immersive .film-edit-bin{background:var(--surface);border-color:var(--border)}
.film-immersive .film-edit-inspector label{font-size:12px;color:var(--muted)}
.film-immersive .film-monitor-stage{background:#101721}
.film-immersive .mentor-functions{border-color:var(--border);background:var(--surface);box-shadow:none}
.film-immersive .mentor-functions summary,.film-immersive .mentor-functions header{border-color:var(--border)}
.film-immersive .mentor-message,.film-immersive .mentor-brief{border-color:var(--border);line-height:1.85}
.film-immersive .mentor-functions textarea{background:var(--input);border-color:var(--border)}
.film-immersive .mentor-functions button.primary{background:#a8c4ff;color:#142749;border-color:#a8c4ff}
.creation-entry-home{max-width:1160px;margin-inline:auto;padding:32px 24px}
.creation-entry-home>header h1{font-size:34px}.creation-entry-home>header p{color:var(--muted);max-width:48em}
.creation-entry-cards{gap:18px}.creation-entry-cards>button{padding:26px;border-color:var(--border);border-radius:10px;background:var(--surface);box-shadow:none;min-height:230px}
.creation-entry-cards h2{font-size:23px}.creation-entry-cards p{font-size:14px;white-space:normal}
.creation-entry-icon{color:var(--accent)}

/* Commerce and operations are existing separate entry pages. */
.commerce,.ops-shell,.app-layout{font-family:var(--font);color:var(--text)}
.commerce{max-width:1240px;padding-inline:40px}
.commerce-header{min-height:74px;padding-block:18px;border-color:var(--border)}
.commerce-header nav{font-size:14px}.commerce-header a{color:var(--text)}
.commerce-heading{padding-top:12px;margin-bottom:32px}.commerce-heading h1{font-size:36px;letter-spacing:-.035em}
.commerce-heading p,.course-description{color:var(--muted);line-height:1.85}
.course-card{border-color:var(--border);border-radius:12px;box-shadow:none;padding:28px;background:var(--surface)}
.course-card h2{font-size:25px}.course-label{letter-spacing:0;color:var(--muted);font-size:12px}
.course-price{font-size:34px;color:var(--text)}
.commerce button.primary,.commerce .button-link.primary{background:#245dd8;color:#fff;border:1px solid #245dd8;border-radius:8px}
.course-outcome{border-color:var(--border)}.course-outcome h3{color:var(--muted);font-size:13px}
.commerce .button-link{border-color:var(--border);border-radius:7px}
.commerce-footer{color:var(--muted)}
.ops-shell .sidebar,.app-layout .sidebar{background:var(--surface);border-color:var(--border)}
.ops-shell .card,.app-layout .card{background:var(--surface);border-color:var(--border);border-radius:10px;box-shadow:none}

dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:14px;box-shadow:0 24px 90px #17253933;max-width:min(960px,calc(100vw - 32px))}
dialog::backdrop{background:#17253980;backdrop-filter:blur(3px)}
.dialog-heading{border-color:var(--border)}
dialog h1,dialog h2{font-size:23px}dialog p{max-width:72ch}
dialog label{font-size:14px;color:var(--muted)}
dialog button{min-height:40px}
#toast,#message{border-radius:9px;line-height:1.7}

@media(min-width:1700px){.platform-shell:not(.film-immersive)>.workspace>.page{padding-inline:56px}.native-reception:has(.native-reception-actions){min-height:650px}}
@media(max-width:1100px){
  .platform-shell.academy-shell>.academy-header{gap:16px;padding-inline:20px}
  .platform-shell:not(.film-immersive)>.workspace>.page{padding:24px}
  .native-reception:has(.native-reception-actions){padding:36px;gap:22px;grid-template-columns:minmax(0,1.4fr) minmax(180px,.7fr);min-height:540px}
  .native-reception:has(.native-reception-actions) .native-mentor-art{width:140px;height:154px}
  .native-learning-home{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:20px}
  .platform-shell .preview-environment{display:none}
}
@media(max-width:760px){
  .platform-shell.academy-shell>.academy-header{gap:10px;padding-inline:14px;height:60px;min-height:60px}
  .platform-shell .brand img{width:90px}.platform-shell .teaching-nav{gap:0}
  .platform-shell .teaching-nav .nav-item{font-size:13px;padding-inline:10px;height:60px;gap:0}
  .platform-shell .teaching-nav .nav-item svg{display:none}
  .platform-shell .platform-learning-menu>summary{font-size:12px}
  .platform-shell .top-actions{gap:8px}.platform-shell .account-menu>summary>span:not(.avatar){display:none}
  .platform-shell .academy-signin{padding:8px 13px;min-height:36px;font-size:13px}
  .platform-shell:not(.film-immersive)>.workspace>.page{padding:20px 16px 40px}
  .ai-native-home{padding:0}
  .native-reception:has(.native-reception-actions){grid-template-columns:1fr;min-height:0;padding:28px 24px;gap:22px;border-radius:12px}
  .ui-entry-heading{grid-row:1;grid-column:1}.ui-entry-heading h1{font-size:34px}.ui-entry-heading>p{font-size:14px}
  .native-reception:has(.native-reception-actions) .native-mentor-art{grid-column:1;grid-row:2;width:100px;height:110px;margin:0}
  .native-reception:has(.native-reception-actions) .native-caption{grid-column:1;grid-row:3;padding:16px;font-size:15px}
  .native-reception:has(.native-reception-actions) .native-caption>p{font-size:16px;line-height:1.85}
  .native-reception-actions{grid-column:1;grid-row:4;display:flex;flex-direction:column;align-items:stretch;gap:8px}
  .native-reception-actions .primary{width:100%;white-space:normal}.native-reception-actions .text-button{text-align:center;padding:10px}
  .native-learning-home{grid-template-columns:minmax(0,1fr);gap:18px}
  .native-learning-home>.ui-home-heading{grid-row:1}.native-learning-home .ui-home-heading h1{font-size:28px}
  .native-learning-home>.native-course-entry{grid-column:1;grid-row:2;padding:22px}
  .native-learning-home>.native-current-work{grid-column:1;grid-row:3}
  .native-learning-home>.native-home-conversation{grid-column:1;grid-row:4;padding:20px}
  .native-learning-home>.native-home-tools{grid-column:1;grid-row:5}
  .native-intake,.native-purchase{padding:22px 18px;border-radius:12px}
  .creation-entry-home{padding:22px 16px}.creation-entry-home>header h1{font-size:28px}
  .creation-entry-cards{grid-template-columns:1fr}.creation-entry-cards>button{min-height:170px;padding:22px}
  .creation-entry-cards h2{margin-top:14px}.creation-entry-cards p{margin-bottom:16px}
  .commerce{padding-inline:18px}.commerce-header{flex-wrap:wrap;gap:14px}
  .commerce-header nav{gap:16px;flex-wrap:wrap;font-size:13px}
  .commerce-heading h1{font-size:30px}.course-card{padding:22px}
  .page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}.page-heading h1{font-size:27px}
  dialog{padding:22px 18px;max-width:calc(100vw - 24px)}
}
@media(max-width:400px){
  .platform-shell.academy-shell>.academy-header{gap:6px;padding-inline:10px}
  .platform-shell .brand img{width:76px}.platform-shell .teaching-nav .nav-item{padding-inline:7px;font-size:12px}
  .platform-shell .platform-learning-menu{display:none}
  .platform-shell.academy-shell .academy-header .academy-signin{padding:8px 10px;min-width:0;min-height:36px;font-size:12px}
  .native-reception:has(.native-reception-actions){padding:24px 18px}.ui-entry-heading h1{font-size:30px}
}
@media(prefers-reduced-motion:reduce){button{transition:none}dialog::backdrop{backdrop-filter:none}}

/* Separate catalogue entries use the same approved dark direction. */
.commerce .offer-card,.commerce .course-filters,.commerce .detail-purchase,.commerce .compare-scroll{background:var(--surface);border-color:var(--border)}
.commerce .offer-ai{background:#242c3f}
.commerce .course-filters button[aria-pressed=true]{background:var(--selected);color:var(--accent)}
.commerce .offer-wordmark,.commerce .offer-wordmark span{color:var(--muted)}
.commerce .offer-l1 .offer-wordmark{color:#a6d1ca}.commerce .offer-l2 .offer-wordmark{color:#b1c5f2}.commerce .offer-l3 .offer-wordmark{color:#d5c0ad}
.commerce .button-link,.commerce .compare-shortcuts button{background:var(--surface);color:var(--text);border-color:var(--border)}
.commerce .course-compare-table tr>:first-child,.commerce .course-compare-table thead th{background:var(--rail);color:var(--muted)}
.commerce .course-compare-table tbody tr:nth-child(even) td{background:var(--surface)}
.commerce .preview-banner,.commerce .compare-empty{background:var(--raised);border-color:var(--border);color:var(--muted)}
.commerce .eyebrow,.commerce .terms-section dt{color:var(--muted);letter-spacing:0}
.commerce .delivery-outcome{color:var(--accent)!important}
.commerce button.primary,.commerce .button-link.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}

.commerce .offer-facts dd,.commerce .course-compare-table thead strong{color:var(--text)}
.commerce .offer-facts dt,.commerce .offer-price small,.commerce .course-compare-table thead th>span{color:var(--muted)}

:is(#company-app,#exam-app) .kpi,:is(#company-app,#exam-app) .card,:is(#company-app,#exam-app) .detail-grid>div{background:var(--surface);border-color:var(--border)}
:is(#company-app,#exam-app) .kpi p,:is(#company-app,#exam-app) .empty,:is(#company-app,#exam-app) .empty h3,:is(#company-app,#exam-app) .requirement p,:is(#company-app,#exam-app) .muted,:is(#company-app,#exam-app) small{color:var(--muted)}
:is(#company-app,#exam-app) th{background:var(--rail);color:var(--muted);border-color:var(--border)}
:is(#company-app,#exam-app) .notice{background:#343022;color:#e0d0a8;border-color:#a68e58}
:is(#company-app,#exam-app) .error{background:#462c32;color:#ffd0cf}
:is(#company-app,#exam-app) a{color:var(--accent)}

.commerce .commerce-brand small{color:var(--muted)}
:is(#company-app,#exam-app) .tag{background:var(--raised);color:var(--text)}
:is(#company-app,#exam-app) .tag.finalized{background:#214035;color:#b9e3ca}
:is(#company-app,#exam-app) .tag.submitted{background:#263d60;color:#c0d6ff}

.lr-primary,.lr-primary>span{color:var(--text)}


/* orbital-entry.css */
@import url("/xiaoying-luminous-orb.css");
/* v23 local purple revision: stable dark core, lensed upper arc and flowing accretion disc. */
.orbital-entry{--entry-ink:#F1EEF9;--entry-muted:#BFB0D1;--entry-line:#A080BE40;position:relative;min-height:100dvh;display:flex;flex-direction:column;padding:0 32px;box-sizing:border-box;isolation:isolate;overflow:hidden;color:var(--entry-ink);background:radial-gradient(ellipse at 50% 16%,#9C6AFF26 0,transparent 48%),linear-gradient(155deg,#100A24 5%,#1A1034 54%,#110A24 100%);font-family:Inter,"Noto Sans SC","PingFang SC",sans-serif}
.orbital-entry::before,.orbital-entry::after{content:"";position:absolute;inset:-30% -50%;pointer-events:none;z-index:-1;transform:rotate(-24deg);will-change:transform;mix-blend-mode:screen}
.orbital-entry::before{background:linear-gradient(100deg,transparent 38%,#9C6AFF02 43%,#8A57B910 47%,#A083CD12 50%,#9C6AFF06 54%,transparent 60%);filter:blur(28px);animation:orbital-light-sweep 34s ease-in-out infinite alternate}
.orbital-entry::after{background:linear-gradient(100deg,transparent 30%,#78549C0B 43%,#8C6DB00F 50%,transparent 61%);filter:blur(40px);animation:orbital-light-counter 43s ease-in-out infinite alternate}
@keyframes orbital-light-sweep{from{transform:translateX(-17%) rotate(-24deg);opacity:.55}to{transform:translateX(17%) rotate(-19deg);opacity:.9}}@keyframes orbital-light-counter{from{transform:translateX(13%) rotate(29deg);opacity:.35}to{transform:translateX(-16%) rotate(22deg);opacity:.7}}
.orbital-entry *{box-sizing:border-box}.orbital-entry button,.orbital-entry a{font:inherit}.orbital-entry button{cursor:pointer}.orbital-entry button:focus-visible,.orbital-entry a:focus-visible{outline:2px solid #C0E6ED;outline-offset:4px}.orbital-entry h1:focus{outline:none}
.orbital-entry-header{position:relative;z-index:2;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #D6E4F013;flex-shrink:0}.orbital-entry-header>span{color:#A8B7CB;font-size:12px;letter-spacing:.04em}.orbital-brand{display:inline-flex;align-items:center;text-decoration:none;flex-shrink:0}
/* The new optical O is the only O. The original image is clipped at x70, in its transparent gap. */
.orbital-wordmark-identity{position:relative;display:inline-flex;align-items:center;gap:1.727862%;width:152px;aspect-ratio:463/57;line-height:0;vertical-align:middle;flex-shrink:0;isolation:isolate}
.orbital-wordmark-o{display:block!important;position:relative;width:12.311015%;height:100%;flex:none;pointer-events:none;opacity:1;animation:orbital-logo-turn 26s linear infinite}
.orbital-wordmark-o>svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;overflow:visible}
.orbital-wordmark-tail{display:block!important;position:relative;overflow:hidden;width:85.961123%;height:100%;flex:none}
.orbital-wordmark-tail>.orbital-wordmark-original{display:block!important;position:absolute!important;left:-17.5879396985%!important;top:0;width:117.5879396985%!important;height:100%!important;max-width:none!important;filter:hue-rotate(65deg) saturate(.7) brightness(1.03)!important;transform:none!important;opacity:1!important}
@keyframes orbital-logo-turn{to{transform:rotate(360deg)}}
.platform-shell .brand .orbital-wordmark-identity{display:inline-flex!important;width:116px!important;height:auto!important;line-height:0}.platform-shell .brand .orbital-wordmark-o,.platform-shell .brand .orbital-wordmark-tail{display:block!important}
.orbital-centered-scene{position:relative;z-index:1;width:100%;max-width:980px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:1;align-self:center;margin:0 auto;padding:26px 0 20px;gap:4px}
.orbital-visual{position:relative;left:auto;top:auto;transform:none;width:400px;height:210px;pointer-events:none;flex:none;z-index:0;margin:0 auto 8px}
.orbital-ring{display:block;position:relative;flex:none;width:36px;height:36px;aspect-ratio:1;pointer-events:none;isolation:isolate}.orbital-ring>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.orbital-ring--hero{width:100%;height:100%;aspect-ratio:auto}.orbital-entry-core-svg{display:block;width:100%;height:100%;overflow:visible;animation:none}.orbital-core-highlight{animation:orbital-core-glint 26s linear infinite}.orbital-ring-trace,.orbital-ring-core{display:none}
@keyframes orbital-core-drift{0%,100%{transform:rotate(-3deg) scaleX(.985) scaleY(1.012);opacity:.85}50%{transform:rotate(3deg) scaleX(1.025) scaleY(.99);opacity:1}}@keyframes orbital-core-glint{to{stroke-dashoffset:-582}}
.orbital-ring--avatar>img{animation:orbital-avatar-idle 12s ease-in-out infinite}.orbital-ring[data-orbital-state=thinking]>img{animation:orbital-avatar-thinking 4.2s linear infinite}.orbital-ring[data-orbital-state=responding]>img{animation:orbital-avatar-response 2.6s ease-in-out infinite}.orbital-ring--hero[data-orbital-state=confirmed-success]>.orbital-entry-core-svg{animation:orbital-confirm 1.8s ease-out both}
@keyframes orbital-avatar-idle{0%,100%{opacity:.72}50%{opacity:1}}@keyframes orbital-avatar-thinking{to{transform:rotate(360deg)}}@keyframes orbital-avatar-response{0%,100%{transform:scale(1);opacity:.76}50%{transform:scale(1.045);opacity:1}}@keyframes orbital-confirm{0%{transform:scale(.94);opacity:.5}65%{transform:scale(1.025);opacity:1}100%{transform:scale(1);opacity:1}}
.orbital-content{position:relative;z-index:2;width:min(440px,calc(100vw - 48px));max-width:440px;padding:0 0 8px;min-width:0}.orbital-content h1{font:450 31px/1.45 Inter,"Noto Sans SC","PingFang SC",sans-serif!important;letter-spacing:-.025em;color:#F1EEF9!important;margin:0 0 14px}.orbital-progress{display:flex;justify-content:space-between;gap:14px;margin:0 0 16px;font-size:12px;color:#AABBD0;letter-spacing:.03em}.orbital-progress span:last-child{font-variant-numeric:tabular-nums;color:#9FB9D3}.orbital-eyebrow{display:block;font-size:11px;letter-spacing:.12em;color:#A4B6CD;line-height:1.6;margin-bottom:14px}.orbital-lead{font-size:14px!important;line-height:1.85!important;color:#C5BAD8;margin:0 0 24px}.orbital-answers{display:flex;flex-direction:column;gap:10px}
.orbital-answers>button{display:grid;grid-template-columns:20px 1fr 18px;align-items:center;gap:14px;min-height:75px;padding:13px 16px!important;text-align:left;background:#271A3E85!important;border:1px solid #A186BB42!important;border-radius:8px!important;color:#EBEFF7!important;box-shadow:none!important;transition:background .2s,border-color .2s}.orbital-answers>button:hover,.orbital-answers>button[aria-pressed=true]{border-color:#C8A8FF9C!important;background:#3B295796!important}.orbital-answer-index{font-size:11px;color:#91A8C2}.orbital-answers strong{display:block;font-size:15px;font-weight:450;line-height:1.5;margin-bottom:4px}.orbital-answers small{display:block;font-size:12px;line-height:1.65;color:#BDAECE}.orbital-answers svg{width:17px;height:17px;fill:none;stroke:#A6C4D9;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.orbital-step-actions{display:flex;justify-content:space-between;gap:20px;margin-top:12px}.orbital-entry button:not(.orbital-primary):not([data-native=intake-answer]){background:transparent;border:0;padding:8px 0;min-height:38px;font-size:12px;color:#B1C2D7;box-shadow:none}.orbital-entry button:not(.orbital-primary):hover{color:#F0F5FC}.orbital-existing{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap;border-top:1px solid #6D86A735;margin:18px 0 0;padding-top:11px;font-size:12px!important;color:#9BAFC8}.orbital-existing button{color:#C4D9EC!important}.orbital-summary{border-top:1px solid #7D92B33D;margin:22px 0 18px}.orbital-summary>div{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid #7088A432;font-size:14px}.orbital-summary dt{color:#A7B9D0}.orbital-summary dd{margin:0;color:#E7EDF7}.orbital-note{font-size:12px!important;color:#A9BDD5;line-height:1.85!important;margin:16px 0 21px}.orbital-summary-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.orbital-entry .orbital-primary,.orbital-entry .auth-page .primary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:13px 20px!important;border:1px solid #E8DCF9!important;border-radius:8px!important;background:#DACBF0!important;color:#291B3D!important;box-shadow:none!important;font-size:14px;font-weight:550}.orbital-error,.orbital-auth-status:not(:empty){font-size:13px;color:#F1C4C2;line-height:1.8;padding:11px 0}.orbital-entry-footer{position:relative;z-index:2;display:flex;justify-content:flex-end;min-height:48px;align-items:center;flex-shrink:0}.orbital-entry-footer>div{display:flex;gap:24px}.orbital-entry-footer button{font-size:11px!important;color:#9CB2CC!important}
/* Authentication content is unchanged; only the surrounding presentation is restyled. */
dialog.orbital-auth-dialog{padding:0!important;background:#1A1034!important;color:#F1EEF9!important;border:1px solid #67809C4A!important;border-radius:12px!important;width:min(940px,calc(100vw - 24px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}dialog.orbital-auth-dialog::backdrop{background:#0C061DD9;backdrop-filter:blur(9px)}dialog.orbital-auth-dialog>.modal-head{position:absolute;top:12px;right:12px;z-index:6;background:none;border:0;padding:0}dialog.orbital-auth-dialog>.modal-head h2{display:none}dialog.orbital-auth-dialog>.modal-head button{color:#BED1E4}dialog.orbital-auth-dialog .orbital-entry{min-height:0;padding:0 24px}dialog.orbital-auth-dialog .orbital-entry-header{min-height:66px;padding-right:25px}dialog.orbital-auth-dialog .orbital-centered-scene{padding-top:18px}dialog.orbital-auth-dialog .orbital-content{padding:0 0 16px}.orbital-auth-content .auth-page{display:block!important;min-height:0!important;background:none!important;margin:0!important;padding:0!important}.orbital-auth-content .login-brand{display:none!important}.orbital-auth-content .login-box{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:none!important;width:100%!important}.orbital-auth-content .eyebrow{font-size:11px;color:#ADC4DA;letter-spacing:.08em}.orbital-auth-content .auth-page h1{font-size:29px!important;margin:8px 0 17px!important}.orbital-auth-content .auth-tabs{display:flex;gap:25px;border-bottom:1px solid #768FAE3A;margin:0 0 18px}.orbital-auth-content .auth-tabs button{font-size:14px!important;padding:5px 0 12px!important;color:#A6BCD4!important;border-radius:0!important}.orbital-auth-content .auth-tabs button[aria-pressed=true]{color:#F1EEF9!important;border-bottom:1px solid #B9DCE9!important}.orbital-auth-content form{display:flex;flex-direction:column;gap:13px}.orbital-auth-content label{font-size:13px!important;color:#BDCDDF!important;line-height:1.7}.orbital-auth-content input:not([type=checkbox]),.orbital-auth-content select{display:block;width:100%;min-height:44px;border-radius:8px!important;border:1px solid #7892AE54!important;background:#25183CA6!important;color:#EEF2F8!important;padding:10px 12px!important;font-size:14px!important;box-shadow:none!important}.orbital-auth-content input::placeholder{color:#8FA8C3}.orbital-auth-content .auth-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.orbital-auth-content .auth-note,.orbital-auth-content .notice{font-size:12px!important;line-height:1.85;color:#A9BED6;background:none;border:0;padding:0;margin:0}.orbital-auth-content .login-box>small{display:block;font-size:12px;color:#A8BED5;line-height:1.7;margin-top:14px}.orbital-auth-content .primary{margin-top:8px}.orbital-auth-content .checkbox-row{display:flex;gap:9px}.orbital-auth-content .checkbox-row input{width:auto}.orbital-auth-content .orbital-auth-status{margin:0}.orbital-auth-content [aria-busy=true]{opacity:.76}
/* New course identity hosts never carry persona/sprite background classes. */
.mentor-avatar-ring,.native-mentor-ring,.orbital-course-avatar{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:44px!important;height:44px!important;background:none!important;border:0!important;border-radius:50%;box-shadow:none!important;animation:none!important;position:relative}.native-mentor>.native-mentor-ring{width:64px!important;height:64px!important;margin:18px 0 28px}.native-intake .native-mentor>.native-mentor-ring,.native-purchase .native-mentor>.native-mentor-ring,.native-home-conversation .native-mentor>.native-mentor-ring{width:44px!important;height:44px!important;margin:0 14px 0 0}.mentor-avatar-ring>.orbital-ring,.orbital-course-avatar>.orbital-ring{width:36px;height:36px}.native-mentor-ring>.orbital-ring{width:100%;height:100%}.xiaoying-guide .xiaoying-handle{background:none!important;border:0!important;animation:none!important;box-shadow:none!important;display:flex!important;align-items:center;justify-content:center}.xiaoying-guide .xiaoying-handle>.orbital-ring{width:42px!important;height:42px!important}.film-layout-mentor-avatar.orbital-layout-avatar{display:inline-flex;align-items:center;justify-content:center;background:none!important;width:28px;height:28px}.orbital-layout-avatar .orbital-ring{width:26px;height:26px}

.platform-shell.academy-shell:has(.orbital-entry){grid-template-rows:0 minmax(0,1fr)!important}.academy-shell:has(.orbital-entry)>.academy-header{display:none!important}.academy-shell:has(.orbital-entry)>.workspace{padding:0!important;margin:0!important}.academy-shell:has(.orbital-entry)>.workspace>.page{padding:0!important;max-width:none!important;margin:0!important}.ai-native-home:has(>.orbital-entry){max-width:none!important;margin:0!important;padding:0!important;background:#100A24}.orbital-entry-active{background:#100A24!important}
/* One session preference covers the owned light field, hero, logo and existing pure course rings. */
.orbital-entry.is-paused::before,.orbital-entry.is-paused::after,.orbital-motion-paused .orbital-entry::before,.orbital-motion-paused .orbital-entry::after,.orbital-document-hidden .orbital-entry::before,.orbital-document-hidden .orbital-entry::after{animation-play-state:paused!important}
.orbital-motion-paused .orbital-ring>img,.orbital-motion-paused .orbital-entry-core-svg,.orbital-motion-paused .orbital-core-highlight,.orbital-motion-paused .orbital-wordmark-o,.orbital-document-hidden .orbital-ring>img,.orbital-document-hidden .orbital-entry-core-svg,.orbital-document-hidden .orbital-core-highlight,.orbital-document-hidden .orbital-wordmark-o{animation-play-state:paused!important}.orbital-focus-reading .orbital-entry .orbital-entry-core-svg,.orbital-focus-reading .orbital-entry .orbital-core-highlight{animation-play-state:paused!important}
.orbital-entry.is-reduced::before,.orbital-entry.is-reduced::after,.orbital-motion-reduced .orbital-entry::before,.orbital-motion-reduced .orbital-entry::after,.orbital-motion-reduced .orbital-ring>img,.orbital-motion-reduced .orbital-entry-core-svg,.orbital-motion-reduced .orbital-core-highlight,.orbital-motion-reduced .orbital-wordmark-o{animation:none!important;transition:none!important}
@media(max-width:1024px){.orbital-entry{padding:0 24px}.orbital-content h1{font-size:30px!important}.orbital-wordmark-identity{width:144px}}
@media(max-width:760px){.orbital-entry{padding:0 20px}.orbital-entry-header{min-height:64px}.orbital-entry-header>span{font-size:10px;letter-spacing:0}.orbital-wordmark-identity{width:144px}.orbital-centered-scene{padding:22px 0 16px;gap:12px;flex:none}.orbital-visual{width:270px;height:140px;margin-bottom:4px}.orbital-content{width:min(440px,calc(100vw - 40px));padding:0!important}.orbital-content h1{font-size:25px!important;line-height:1.5;margin-bottom:13px}.orbital-progress{font-size:12px;gap:10px;margin-bottom:14px}.orbital-lead{font-size:13px!important;line-height:1.85!important;margin-bottom:22px}.orbital-answers{gap:9px}.orbital-answers>button{grid-template-columns:16px 1fr 15px;gap:10px;padding:13px 14px!important;min-height:78px}.orbital-answers strong{font-size:14px}.orbital-answers small{font-size:12px}.orbital-answer-index{font-size:11px}.orbital-answers svg{width:15px;height:15px}.orbital-existing{font-size:12px!important;gap:4px}.orbital-existing button{font-size:12px!important}.orbital-step-actions{gap:12px}.orbital-summary dd{max-width:170px;text-align:right}.orbital-summary-actions{flex-direction:column;align-items:stretch;gap:8px}.orbital-summary-actions .orbital-primary{width:100%;font-size:13px}.orbital-entry-footer{min-height:48px;justify-content:center;margin-top:auto}.orbital-entry-footer>div{gap:24px}.platform-shell .brand .orbital-wordmark-identity{width:86px!important}dialog.orbital-auth-dialog{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;border-radius:10px!important}dialog.orbital-auth-dialog .orbital-entry{padding:0 18px}dialog.orbital-auth-dialog .orbital-entry-header{min-height:62px;padding-right:28px}dialog.orbital-auth-dialog .orbital-entry-header>span{display:none}dialog.orbital-auth-dialog .orbital-centered-scene{padding-top:18px;gap:10px}dialog.orbital-auth-dialog .orbital-content{width:100%;padding:0 0 12px!important}.orbital-auth-content .auth-fields{grid-template-columns:1fr}.orbital-auth-content .auth-page h1{font-size:25px!important}.orbital-auth-content .auth-note,.orbital-auth-content .notice{font-size:12px!important}.orbital-auth-content label{font-size:13px!important}.orbital-auth-content form{gap:13px}}
@media(prefers-reduced-motion:reduce){.orbital-entry::before,.orbital-entry::after,.orbital-ring>img,.orbital-entry-core-svg,.orbital-core-highlight,.orbital-wordmark-o{animation:none!important;transition:none!important}}

/* Purple blackhole: the dark core and text remain fixed; only optical light layers flow. */
.orbital-blackhole{overflow:visible;animation:none!important}.blackhole-stable-core{animation:none!important}.blackhole-field{animation:blackhole-field-drift 24s ease-in-out infinite}.blackhole-upper-flow{animation:blackhole-upper-flow 13s linear infinite}.blackhole-disc-shear{transform-origin:210px 136px;animation:blackhole-disc-shear 16s ease-in-out infinite}.blackhole-disc-flow{animation:blackhole-disc-flow 9s linear infinite}
@keyframes blackhole-field-drift{0%,100%{opacity:.68}50%{opacity:1}}@keyframes blackhole-upper-flow{to{stroke-dashoffset:-234}}@keyframes blackhole-disc-shear{0%,100%{transform:scaleX(.97) skewX(-2deg);opacity:.78}50%{transform:scaleX(1.025) skewX(2deg);opacity:1}}@keyframes blackhole-disc-flow{to{stroke-dashoffset:-134}}
.orbital-ring--hero[data-orbital-state=confirmed-success]>.orbital-blackhole{animation:none!important}.orbital-ring--hero[data-orbital-state=confirmed-success] .blackhole-field{animation:blackhole-confirm 1.8s ease-out both}@keyframes blackhole-confirm{from{opacity:.35}to{opacity:1}}
/* Every owned animated SVG descendant and ambient beam observes all motion controls. */
.orbital-motion-paused .orbital-entry svg *,.orbital-document-hidden .orbital-entry svg *,.orbital-focus-reading .orbital-entry svg *,.orbital-entry.is-paused svg *{animation-play-state:paused!important}
.orbital-focus-reading .orbital-entry::before,.orbital-focus-reading .orbital-entry::after{animation-play-state:paused!important}
.orbital-motion-reduced .orbital-entry svg *,.orbital-entry.is-reduced svg *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.orbital-entry svg *{animation:none!important;transition:none!important}}

.orbital-focus-reading .orbital-entry .orbital-wordmark-o{animation-play-state:paused!important}

/* v25: entry controls move to a quiet, keyboard-accessible secondary menu. */
.orbital-entry-links{display:flex;align-items:center;gap:22px;color:#BDAECE;font-size:13px}.orbital-entry-links>a{color:#C8BED9;text-decoration:none;white-space:nowrap}.orbital-entry-links>a:hover{color:#F5E9FF}.orbital-entry-label{margin-right:14px;color:#9E91B6;font-size:12px}.orbital-display-options{position:relative}.orbital-display-options>summary{display:grid;place-items:center;width:32px;height:32px;cursor:pointer;list-style:none;border-radius:8px;color:#BAA9D4}.orbital-display-options>summary::-webkit-details-marker{display:none}.orbital-display-options>summary:hover{background:#C8A8FF15}.orbital-display-options>div{position:absolute;z-index:12;top:40px;right:0;width:160px;padding:6px;background:#211536;border:1px solid #A186BB42;border-radius:10px;box-shadow:0 12px 40px #08041170}.orbital-display-options button{display:block;width:100%;padding:10px 12px!important;text-align:left;font-size:13px!important;border:0!important;background:transparent!important;color:#DCD0EB!important}.orbital-display-options button:hover{background:#C8A8FF18!important}.orbital-entry-links :focus-visible{outline:2px solid #C8A8FF;outline-offset:3px}
@media(max-width:760px){.orbital-entry-label{display:none}.orbital-entry-links{gap:14px;font-size:12px}.orbital-display-options>summary{width:28px;height:28px}}


/* orbital-organic-ring.css */
/* v24: one hollow contour with slow original, same-topology optical deformation. */
.orbital-organic{--organic-morph:organic-ring-idle;--organic-morph-duration:14s;--organic-turn-duration:38s;display:grid;place-items:center;overflow:visible;pointer-events:none}
.orbital-organic:not(.orbital-ring--hero){--organic-morph-duration:9s;--organic-turn-duration:22s}
.organic-ring-svg{display:block;width:100%;height:100%;overflow:visible;user-select:none}
.orbital-organic.orbital-ring--hero>.organic-ring-svg{width:210px;height:210px;max-width:100%;overflow:visible}
.organic-ring-turn{transform-origin:110px 110px;animation:organic-ring-turn var(--organic-turn-duration) linear infinite}
.organic-ring-contour{fill:none;stroke-linecap:round;stroke-linejoin:round;animation:var(--organic-morph) var(--organic-morph-duration) ease-in-out infinite}
.organic-ring-aura{opacity:.23;filter:blur(5px)}
.organic-ring-bloom{opacity:.47;filter:blur(1.8px)}
.organic-ring-body{opacity:.95}
.organic-ring-edge{opacity:.68}
.orbital-organic[data-orbital-state=thinking]{--organic-morph-duration:12s;--organic-turn-duration:30s}
.orbital-organic[data-orbital-state=responding]{--organic-morph-duration:11s;--organic-turn-duration:30s}
.orbital-organic[data-orbital-state=generating]{--organic-morph:organic-ring-generating;--organic-morph-duration:4.8s;--organic-turn-duration:10.6s}
.orbital-organic[data-orbital-state=confirmed-success]{--organic-morph-duration:10s;--organic-turn-duration:34s}
.orbital-organic:not(.orbital-ring--hero)[data-orbital-state=thinking]{--organic-morph-duration:8s;--organic-turn-duration:19s}
.orbital-organic:not(.orbital-ring--hero)[data-orbital-state=responding]{--organic-morph-duration:7.5s;--organic-turn-duration:18s}
.orbital-organic:not(.orbital-ring--hero)[data-orbital-state=generating]{--organic-morph-duration:3.8s;--organic-turn-duration:8s}
.orbital-organic:not(.orbital-ring--hero)[data-orbital-state=confirmed-success]{--organic-morph-duration:8s;--organic-turn-duration:20s}
/* Optical stroke weights stay legible when used as the pure course avatar. */
.orbital-organic:not(.orbital-ring--hero) .organic-ring-aura{stroke-width:21;opacity:.2;filter:blur(5px)}
.orbital-organic:not(.orbital-ring--hero) .organic-ring-bloom{stroke-width:13;opacity:.38;filter:blur(2px)}
.orbital-organic:not(.orbital-ring--hero) .organic-ring-body{stroke-width:7.5}
.orbital-organic:not(.orbital-ring--hero) .organic-ring-edge{stroke-width:2.2;opacity:.7}
@keyframes organic-ring-turn{0%{transform:rotate(-12deg)}23%{transform:rotate(52deg)}49%{transform:rotate(168deg)}76%{transform:rotate(259deg)}100%{transform:rotate(348deg)}}
@keyframes organic-ring-idle{
0%{d:path("M110 28 C129.617,28.777,152.446,40.683,166.485,54.35 C180.524,68.016,193.611,90.837,194.233,110 C194.855,129.163,184.256,155.661,170.217,169.327 C156.178,182.994,129.617,192.448,110,192 C90.383,191.552,66.217,180.305,52.512,166.638 C38.808,152.972,28.395,129.492,27.773,110 C27.151,90.508,35.076,63.351,48.78,49.685 C62.485,36.018,90.383,27.223,110,28 Z")}
19%{d:path("M110 28.24 C129.431,28.789,152.38,39.418,166.654,53.044 C180.929,66.671,195.157,90.523,195.647,110 C196.136,129.477,183.866,156.454,169.591,169.908 C155.317,183.362,129.602,190.988,110,190.725 C90.398,190.463,65.966,181.786,51.976,168.332 C37.987,154.878,26.381,129.764,26.063,110 C25.745,90.236,36.079,63.376,50.068,49.75 C64.058,36.123,90.569,27.691,110,28.24 Z")}
43%{d:path("M110 27.852 C129.007,27.54,153.987,36.919,167.931,50.61 C181.875,64.302,193.842,90.386,193.664,110 C193.486,129.614,180.807,154.931,166.863,168.295 C152.919,181.659,129.326,189.802,110,190.184 C90.674,190.565,64.782,183.945,50.906,170.581 C37.03,157.217,26.247,129.684,26.744,110 C27.242,90.316,40.015,66.17,53.891,52.478 C67.767,38.787,90.993,28.163,110,27.852 Z")}
68%{d:path("M110 26.785 C128.973,26.169,155.623,37.299,168.764,51.169 C181.906,65.038,189.232,90.775,188.847,110 C188.462,129.225,179.595,152.879,166.454,166.518 C153.313,180.157,129.203,191.448,110,191.834 C90.797,192.219,64.607,182.47,51.236,168.831 C37.864,155.192,29.158,128.995,29.773,110 C30.388,91.005,41.555,68.732,54.926,54.863 C68.297,40.994,91.027,27.401,110,26.785 Z")}
86%{d:path("M110 27.323 C129.486,27.444,154.87,39.562,168.082,53.342 C181.295,67.122,189.01,90.854,189.277,110 C189.544,129.146,182.897,154.397,169.684,168.22 C156.471,182.043,129.441,193.38,110,192.938 C90.559,192.495,66.578,179.389,53.037,165.566 C39.495,151.743,29.062,128.826,28.751,110 C28.44,91.174,37.627,66.391,51.169,52.611 C64.71,38.832,90.514,27.201,110,27.323 Z")}
100%{d:path("M110 28 C129.617,28.777,152.446,40.683,166.485,54.35 C180.524,68.016,193.611,90.837,194.233,110 C194.855,129.163,184.256,155.661,170.217,169.327 C156.178,182.994,129.617,192.448,110,192 C90.383,191.552,66.217,180.305,52.512,166.638 C38.808,152.972,28.395,129.492,27.773,110 C27.151,90.508,35.076,63.351,48.78,49.685 C62.485,36.018,90.383,27.223,110,28 Z")}
}
@keyframes organic-ring-generating{
0%{d:path("M110 28 C129.617,30.512,146.792,45.886,161.204,59.553 C175.615,73.22,194.46,91.204,196.47,110 C198.479,128.796,187.673,158.66,173.261,172.326 C158.85,185.993,129.617,193.448,110,192 C90.383,190.552,68.888,177.306,55.556,163.639 C42.225,149.972,32.019,129.86,30.01,110 C28,90.14,30.167,58.148,43.499,44.482 C56.83,30.815,90.383,25.488,110,28 Z")}
19%{d:path("M110 31.549 C129.24,33.323,147.093,44.221,162.425,57.296 C177.757,70.371,200.411,90.842,201.992,110 C203.574,129.158,187.246,159.725,171.914,172.243 C156.582,184.761,129.794,185.958,110,185.11 C90.206,184.261,67.563,179.669,53.151,167.151 C38.74,154.633,24.558,130.083,23.531,110 C22.504,89.917,32.575,59.727,46.987,46.652 C61.398,33.576,90.76,29.774,110,31.549 Z")}
43%{d:path("M110 30.562 C128.651,29.557,154.078,36.383,168.895,49.623 C183.712,62.862,199.477,90.464,198.902,110 C198.327,129.536,180.261,154.658,165.444,166.84 C150.627,179.022,129.682,181.859,110,183.09 C90.318,184.321,61.947,186.409,47.35,174.228 C32.753,162.046,20.811,129.762,22.418,110 C24.025,90.238,42.395,68.897,56.992,55.657 C71.589,42.418,91.349,31.568,110,30.562 Z")}
68%{d:path("M110 22.014 C128.717,20.024,159.764,33.154,172.111,47.818 C184.458,62.483,185.325,90.518,184.081,110 C182.837,129.482,176.993,150.788,164.647,164.709 C152.3,178.629,129.46,192.278,110,193.523 C90.54,194.769,60.979,186.102,47.889,172.182 C34.799,158.261,29.473,128.738,31.46,110 C33.448,91.262,46.722,74.419,59.812,59.754 C72.902,45.09,91.283,24.003,110,22.014 Z")}
86%{d:path("M110 22.579 C129.535,22.972,155.41,39.442,167.396,54.012 C179.382,68.582,181.055,90.496,181.918,110 C182.78,129.504,184.556,156.325,172.57,171.036 C160.584,185.746,129.392,199.69,110,198.261 C90.608,196.832,69.268,177.171,56.22,162.461 C43.172,147.751,32.717,128.468,31.711,110 C30.706,91.532,37.137,66.222,50.185,51.652 C63.233,37.081,90.465,22.186,110,22.579 Z")}
100%{d:path("M110 28 C129.617,30.512,146.792,45.886,161.204,59.553 C175.615,73.22,194.46,91.204,196.47,110 C198.479,128.796,187.673,158.66,173.261,172.326 C158.85,185.993,129.617,193.448,110,192 C90.383,190.552,68.888,177.306,55.556,163.639 C42.225,149.972,32.019,129.86,30.01,110 C28,90.14,30.167,58.148,43.499,44.482 C56.83,30.815,90.383,25.488,110,28 Z")}
}
/* Each descendant observes the existing session and system motion policies. */
.orbital-motion-paused .orbital-organic *,.orbital-document-hidden .orbital-organic *,.orbital-focus-reading .orbital-organic *,.orbital-entry.is-paused .orbital-organic *,.orbital-organic[data-motion-paused=true] *{animation-play-state:paused!important}
.orbital-motion-reduced .orbital-organic *,.orbital-reduce-motion .orbital-organic *,.orbital-entry.is-reduced .orbital-organic *,.orbital-organic[data-motion-reduced=true] *{animation:none!important;transition:none!important}
@media(max-width:760px){.orbital-organic.orbital-ring--hero>.organic-ring-svg{width:144px;height:144px}}
@media(prefers-reduced-motion:reduce){.orbital-organic *{animation:none!important;transition:none!important}}

/* Five choices retain comfortable targets without pushing the desktop login below the fold. */
.orbital-answers--extended{gap:8px}.orbital-answers--extended>button{min-height:64px;padding:8px 16px!important}.orbital-answers--extended strong{margin-bottom:3px}


/* returning-home-ui.css */
/* Returning learners: a single learning action, personal work and actual course state. */
.ai-native-home:has(.returning-home){max-width:none;padding:0 0 36px;width:100%;color:#F1EEF9}
.ai-native-home:has(.returning-home)>.native-toolbar{display:none}
.returning-home{
 --rh-bg:#15161c;--rh-panel:#1c1e26;--rh-border:#666b7e52;--rh-muted:#b5b7c5;
 display:grid;grid-template-columns:174px minmax(0,1fr) 286px;
 grid-template-areas:"sidebar heading progress" "sidebar next progress" "sidebar projects progress" "sidebar challenge progress" "sidebar showcase progress" "sidebar error progress";
 gap:24px;align-items:start;max-width:1440px;margin:0 auto;padding:24px 22px 48px;
 background:radial-gradient(ellipse at 65% -8%,#40435c36,transparent 49%),var(--rh-bg);
 color:#F1EEF9;font-family:Inter,"Noto Sans SC","PingFang SC",sans-serif;
}
.returning-home :where(h1,h2,h3,p){margin:0}
.returning-home :where(button,a){font-family:inherit;text-decoration:none;cursor:pointer}
.returning-home button:disabled{cursor:not-allowed;opacity:.55}
.returning-home :where(button,a):focus-visible{outline:2px solid #D2BAFF;outline-offset:3px}
.returning-home :where(button,a)>svg{flex:none}
.returning-home :where(.rh-sidebar,.rh-heading,.rh-next,.rh-progress,.rh-projects,.rh-challenge-banner,.rh-showcase){min-width:0}
.returning-home .rh-sidebar{grid-area:sidebar;position:sticky;top:88px;padding:9px 0 0;display:flex;flex-direction:column;gap:26px;min-height:650px;align-self:start}
.returning-home .rh-sidebar-title{padding:0 13px;color:#afb2c0;font-size:13px}
.returning-home .rh-sidebar nav,.returning-home .rh-work-nav{display:flex;flex-direction:column;gap:6px}
.returning-home .rh-sidebar :where(nav,.rh-sidebar-bottom,.rh-work-nav)>:where(button,a){display:flex;align-items:center;justify-content:flex-start;width:100%;gap:12px;min-height:46px;padding:10px 12px;color:#C1B5D3;background:transparent;border:1px solid transparent;border-radius:10px;font-size:14px;text-align:left;line-height:1.4}
.returning-home .rh-sidebar :where(nav,.rh-sidebar-bottom,.rh-work-nav)>:where(button,a):hover{background:#292b37;color:#f4f3f8}
.returning-home .rh-sidebar button[aria-current=page]{background:#30283f;border-color:#a894db53;color:#f6f3ff}
.returning-home .rh-sidebar :where(button,a)>svg{width:19px;height:19px;color:#A68BCC}
.returning-home .rh-sidebar-bottom{display:flex;flex-direction:column;gap:6px;margin-top:auto;padding-top:18px;border-top:1px solid var(--rh-border)}
.returning-home .rh-sidebar-bottom .rh-work-entry{font-size:12px;color:#9E8DB7}
.returning-home .rh-work-nav{padding-top:20px;border-top:1px solid var(--rh-border)}
.returning-home .rh-work-nav h2{font-size:12px;color:#9C8EAC;font-weight:450;padding:0 12px 8px}
.returning-home .rh-heading{grid-area:heading;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:70px}
.returning-home .rh-heading p{font-size:13px;color:var(--rh-muted);margin-bottom:5px}
.returning-home .rh-heading h1{font-size:27px!important;line-height:1.4!important;font-weight:500!important;color:#F3EFF9!important;letter-spacing:-.025em!important;margin:0!important}
.returning-home .rh-heading>button,.returning-home .rh-section-heading button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 10px;border:1px solid var(--rh-border);border-radius:9px;background:transparent;color:#CCBDDF;font-size:12px;white-space:nowrap}
.returning-home .rh-heading>button svg,.returning-home .rh-section-heading button svg{width:16px;height:16px}
.returning-home .rh-panel{border:1px solid var(--rh-border);border-radius:17px;background:var(--rh-panel);box-shadow:0 12px 28px #07080d35}
.returning-home .rh-next{grid-area:next;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 37%;overflow:hidden;min-height:224px;background:linear-gradient(112deg,#242632 0%,#1c1e29 68%,#29283b 100%);border-color:#767b9459}
.returning-home .rh-next-copy{position:relative;z-index:1;padding:29px 27px;min-width:0}
.returning-home .rh-section-label,.returning-home .rh-progress-kicker{font-size:12px;color:#BAA6CF}
.returning-home .rh-next h2{font-size:22px;font-weight:500;line-height:1.45;margin:10px 0;color:#F5EEFC;max-width:22em}
.returning-home .rh-next p{color:#c2c2cd;font-size:13px;line-height:1.7;max-width:40em}
.returning-home .rh-primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:10px 17px;border:1px solid #D2C0F1;background:#D5C7ED;color:#241735;border-radius:9px;margin-top:20px;font-size:13px;font-weight:600}
.returning-home .rh-primary svg{width:16px;height:16px}.returning-home .rh-primary:hover{background:#E6D8FA}
.returning-home .rh-pending{display:block;min-height:36px;padding:5px 0;border:0;background:transparent;color:#D6C3E9;text-align:left;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.returning-home .rh-feedback-next{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin-top:14px;color:#B9A7C9;font-size:12px;line-height:1.6}
.returning-home .rh-feedback-next button{min-height:32px;padding:2px 0;border:0;background:none;color:#DCC8F2;text-decoration:underline;text-underline-offset:3px}
.returning-home .rh-next-visual{min-width:0;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 62% 50%,#987bd030,transparent 68%)}
.returning-home .rh-next-visual>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;opacity:.83;mask-image:linear-gradient(90deg,transparent,#000 30%)}
.returning-home .rh-frame-art{position:relative;width:122px;height:155px;display:grid;place-items:center;border:1px solid #C1A4F151;border-radius:13px;background:linear-gradient(145deg,#8D6EB719,#B98DE52B);transform:rotate(8deg);box-shadow:-13px 11px 0 #B08DE510}
.returning-home .rh-frame-art>svg{width:48px;height:48px;color:#CCB5EA;opacity:.8}.returning-home .rh-frame-art i{position:absolute;left:17px;right:17px;height:1px;background:#BA9ADE55;bottom:28px}.returning-home .rh-frame-art i:last-child{bottom:20px;right:40px}
.returning-home .rh-progress{grid-area:progress;position:sticky;top:88px;padding:20px 17px 16px;align-self:start}
.returning-home .rh-progress>header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:15px;border-bottom:1px solid var(--rh-border)}
.returning-home .rh-progress>header h2{font-size:17px;font-weight:500;margin-top:4px}.returning-home .rh-progress>header>svg{width:20px;height:20px;color:#B49AD2}
.returning-home .rh-progress-status{margin-top:16px;font-size:13px;color:#E1D6EC;line-height:1.5}
.returning-home .rh-progress-count{margin-top:5px;color:#B2A0C2;font-size:12px;line-height:1.5}
.returning-home .rh-progress-list{display:flex;flex-direction:column;gap:6px;margin-top:15px}
.returning-home .rh-progress-item{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:67px;padding:8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#E8DFF1;white-space:normal}
.returning-home .rh-progress-item:hover{background:#292b36}.returning-home .rh-progress-item.is-current{background:#30283f;border-color:#b698db58}
.returning-home .rh-progress-icon{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:10px;background:#B48AD31A;color:#CEB4E6}
.returning-home .rh-progress-icon svg{width:27px;height:27px}
.returning-home .rh-progress-item>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}
.returning-home .rh-progress-item small,.returning-home .rh-progress-item em{font-size:10px;line-height:1.4;color:#B09CBC;font-style:normal}
.returning-home .rh-progress-item strong{font-size:12px;line-height:1.5;font-weight:500;color:#F0E9F6;overflow-wrap:anywhere;white-space:normal}
.returning-home .rh-progress>button{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin-top:14px;padding:11px 0 0;border:0;border-top:1px solid var(--rh-border);background:none;color:#D5BFEA;text-align:left;font-size:12px}
.returning-home .rh-progress>button svg{width:17px;height:17px}
.returning-home .rh-projects{grid-area:projects}.returning-home .rh-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.returning-home .rh-section-heading h2{font-size:17px;font-weight:500;color:#EBE4F5}.returning-home .rh-section-heading button{border:0;min-height:34px;padding:3px 0}
.returning-home .rh-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.returning-home .rh-project{display:flex;flex-direction:column;overflow:hidden;min-width:0;padding:0;text-align:left;border:1px solid var(--rh-border);border-radius:12px;background:#1c1e26;color:#f2f1f6;transition:border-color .15s,background .15s}
.returning-home .rh-project:hover{background:#272934;border-color:#b29ad178}.returning-home .rh-project-cover{display:block;position:relative;width:100%;aspect-ratio:1.5;background:radial-gradient(ellipse at 60% 20%,#5d5c7438,transparent 70%),#20222c;overflow:hidden}
.returning-home .rh-project-cover>img{width:100%;height:100%;object-fit:cover}.returning-home .rh-project-empty{height:100%;display:grid;place-items:center}.returning-home .rh-project-empty>svg{width:33px;height:33px;color:#9E83BC;opacity:.7}
.returning-home .rh-stage{position:absolute;left:9px;bottom:9px;background:#111216e0;border:1px solid #b8b7c63e;border-radius:5px;padding:2px 6px;color:#e1ddea;font-size:10px}
.returning-home .rh-project-copy{display:flex;flex-direction:column;gap:5px;padding:12px 11px 14px;min-width:0}.returning-home .rh-project-copy strong{font-weight:500;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.returning-home .rh-project-copy small{color:#A394B5;font-size:11px;line-height:1.5}
.returning-home .rh-empty{display:flex;align-items:center;gap:16px;padding:24px 20px;min-height:150px}.returning-home .rh-empty>svg{width:38px;height:38px;color:#AF93CE;flex:none}.returning-home .rh-empty h3{font-size:15px;font-weight:500;margin-bottom:7px}.returning-home .rh-empty p{font-size:12px;line-height:1.7;color:#b5b4c3}.returning-home .rh-empty button{margin-left:auto;flex:none;min-height:42px;padding:8px 13px;border:1px solid #ad8bd155;border-radius:8px;background:#30283f;color:#e6d7f5;font-size:12px}
.returning-home .rh-challenge-banner{grid-area:challenge;display:grid;grid-template-columns:minmax(0,1fr) 33%;min-height:164px;overflow:hidden;background:linear-gradient(112deg,#20232c,#20212d 62%,#302b42)}
.returning-home .rh-challenge-banner>div:first-child{position:relative;z-index:1;padding:20px 23px}.returning-home .rh-challenge-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#AD89CF25;color:#D4BCEB}
.returning-home .rh-challenge-icon svg{width:19px;height:19px}.returning-home .rh-challenge-banner h2{font-size:17px;font-weight:500;margin:9px 0 5px}.returning-home .rh-challenge-banner p{font-size:12px;line-height:1.6;color:#BDAAD0}
.returning-home .rh-challenge-banner a{display:inline-flex;align-items:center;gap:7px;min-height:38px;margin-top:6px;color:#DFC9F2;font-size:12px}.returning-home .rh-challenge-banner a svg{width:16px;height:16px}
.returning-home .rh-challenge-art{position:relative;overflow:hidden}.returning-home .rh-challenge-art span,.returning-home .rh-challenge-art i,.returning-home .rh-challenge-art b{position:absolute;border:1px solid #D9C3F333;border-radius:50%;width:155px;height:155px;left:32%;top:4%;transform:rotate(-20deg) scaleX(1.4)}
.returning-home .rh-challenge-art i{width:200px;height:200px;left:22%;top:-9%;border-color:#AA8AD427}.returning-home .rh-challenge-art b{width:240px;height:240px;left:13%;top:-22%;border-color:#BCA3DC1D}
.returning-home .rh-showcase{grid-area:showcase}.returning-home .rh-showcase-empty{min-height:136px;display:flex;align-items:center;gap:16px;padding:24px;border:1px solid var(--rh-border);border-radius:13px;background:#1c1e26b8;color:#b5b4c3}
.returning-home .rh-showcase-empty span{display:grid;place-items:center;flex:none;width:49px;height:49px;border-radius:12px;background:#AE8EC219;color:#BDA4D7}.returning-home .rh-showcase-empty svg{width:24px;height:24px}.returning-home .rh-showcase-empty p{font-size:13px}
.returning-home .rh-error{grid-area:error;min-width:0}
@media(min-width:1181px){
 .returning-home{gap:16px;padding-top:16px}
 .returning-home .rh-heading{min-height:54px}
 .returning-home .rh-next{min-height:188px}
 .returning-home .rh-next-copy{padding:20px 24px}
 .returning-home .rh-next h2{margin:7px 0}
 .returning-home .rh-primary{margin-top:14px}
 .returning-home .rh-section-heading{margin-bottom:9px}
 .returning-home .rh-project-cover{aspect-ratio:1.8}
 .returning-home .rh-project-copy{padding:8px 11px 10px}
 .returning-home .rh-challenge-banner>div:first-child{padding:15px 23px}
}
@media(max-width:1180px){
 .returning-home{grid-template-columns:156px minmax(0,1fr);grid-template-areas:"sidebar heading" "sidebar next" "sidebar progress" "sidebar projects" "sidebar challenge" "sidebar showcase" "sidebar error";gap:20px;padding:18px 16px 40px}
 .returning-home .rh-progress{position:static}.returning-home .rh-progress-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.returning-home .rh-progress-item{align-items:flex-start}
}
@media(max-width:760px){
 .returning-home{grid-template-columns:minmax(0,1fr);grid-template-areas:"sidebar" "heading" "next" "progress" "projects" "challenge" "showcase" "error";gap:18px;padding:16px 12px 30px}
 .returning-home .rh-sidebar{position:static;min-height:0;gap:10px;padding:0}.returning-home .rh-sidebar-title{display:none}.returning-home .rh-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .returning-home .rh-sidebar nav>:where(button,a){justify-content:flex-start;gap:7px;padding:9px 5px;font-size:12px;min-height:44px}.returning-home .rh-sidebar nav>:where(button,a)>svg{width:17px;height:17px}
 .returning-home .rh-sidebar-bottom{margin:0;padding:6px 0 0;flex-direction:row;justify-content:space-between;border:0;gap:4px}.returning-home .rh-sidebar-bottom>:where(button,a){min-height:44px;padding:5px 7px;font-size:11px}.returning-home .rh-sidebar-bottom .rh-work-entry{font-size:10px}
 .returning-home .rh-work-nav{flex-direction:row;flex-wrap:wrap;gap:4px;padding-top:10px}.returning-home .rh-work-nav h2{width:100%;padding-left:5px}.returning-home .rh-work-nav>:where(button,a){font-size:11px;padding:6px;min-height:44px}
 .returning-home .rh-heading{min-height:60px;gap:10px}.returning-home .rh-heading h1{font-size:23px!important}.returning-home .rh-heading p{font-size:12px}.returning-home .rh-heading>button{font-size:0;padding:9px;min-width:44px;min-height:44px}.returning-home .rh-heading>button svg{width:18px;height:18px}
 .returning-home .rh-next{grid-template-columns:minmax(0,1fr) 27%;min-height:206px}.returning-home .rh-next-copy{padding:20px 18px}.returning-home .rh-next h2{font-size:19px;overflow-wrap:anywhere}.returning-home .rh-next p{font-size:12px}.returning-home .rh-primary{font-size:12px;padding:9px 12px;margin-top:17px;gap:10px}
 .returning-home .rh-frame-art{width:88px;height:118px;transform:rotate(8deg) translateX(6px)}.returning-home .rh-frame-art>svg{width:33px;height:33px}
 .returning-home .rh-progress{padding:17px 16px}.returning-home .rh-progress-list{grid-template-columns:minmax(0,1fr);gap:4px}.returning-home .rh-progress-item{align-items:center;min-height:64px}
 .returning-home .rh-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.returning-home .rh-project:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:30% 1fr;max-height:116px}.returning-home .rh-project:nth-child(3) .rh-project-cover{height:100%;aspect-ratio:auto}.returning-home .rh-project:nth-child(3) .rh-project-copy{justify-content:center}
 .returning-home .rh-empty{align-items:flex-start;gap:12px;padding:18px 15px;flex-wrap:wrap}.returning-home .rh-empty button{margin-left:50px}.returning-home .rh-section-heading h2{font-size:16px}
 .returning-home .rh-challenge-banner{grid-template-columns:minmax(0,1fr) 25%;min-height:150px}.returning-home .rh-challenge-banner>div:first-child{padding:18px}.returning-home .rh-challenge-art span{left:20%}.returning-home .rh-challenge-art i{left:5%}.returning-home .rh-challenge-art b{left:-10%}
}
@media(prefers-reduced-motion:reduce){.returning-home *{scroll-behavior:auto!important;transition:none!important}}
.academy-shell:has(.returning-home),.academy-shell:has(.returning-home) .workspace{background:#15161c}
.platform-shell.academy-shell:has(.returning-home)>.academy-header{background:#111216;border-bottom-color:#666b7e52}
/* Keep the roaming guide out of the actual returning home and its loading frame.
   It remains mounted and is restored automatically when the learner enters a workspace. */
body:has(.returning-home) #academy-mentor,body:has(.ai-native-home .native-reception) #academy-mentor{display:none!important}

/* Returning home project cards. */
.returning-home .rh-project-card{position:relative;min-width:0}
.returning-home .rh-project-card>.rh-project{width:100%;height:100%}
/* Internal QA: preserve the portrait composition in the wide project and hero frames. */
.returning-home .rh-next-visual>img[src="/demo-cover-narrative.png"]{object-fit:contain}
.returning-home .rh-next-visual>img[src="/demo-cover-narrative.png"]{mask-image:none}

/* The image is contained in a wide frame; its softened backdrop fills the side areas. */
.returning-home .rh-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.returning-home .rh-project-cover{aspect-ratio:16 / 9;background:#20212b}
.returning-home .rh-project-cover>img.rh-project-cover-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(22px) brightness(.36);transform:scale(1.12)}
.returning-home .rh-project-cover>img.rh-project-cover-image{position:relative;display:block;width:100%;height:100%;object-fit:contain}
.returning-home .rh-project-copy{padding:14px 16px 16px}
.returning-home .rh-project-copy strong{font-size:15px;font-weight:600}
.returning-home .rh-project:focus-visible{outline:2px solid #d4c2f3;outline-offset:3px}
@media(max-width:700px){.returning-home .rh-project-grid{grid-template-columns:minmax(0,1fr);gap:14px}.returning-home .rh-project-card:nth-child(3){grid-column:auto}.returning-home .rh-project-card:nth-child(3)>.rh-project{display:flex;max-height:none}.returning-home .rh-project-card:nth-child(3) .rh-project-cover{height:auto;aspect-ratio:16 / 9}}

.returning-home .rh-heading>.rh-new-project{background:#d8c9ed;color:#241932;border-color:#d8c9ed;padding:9px 15px;font-size:13px;font-weight:600}
.returning-home .rh-heading>.rh-new-project:hover{background:#eadff8;border-color:#eadff8}
.returning-home .rh-heading>.rh-new-project:focus-visible{outline:2px solid #f2e8ff;outline-offset:3px}
@media(max-width:700px){.returning-home .rh-heading>.rh-new-project{font-size:13px;padding:9px 12px;min-width:0}}

#dialog #film-new button.primary{background:#d8c9ed;color:#241932;border:1px solid #d8c9ed;font-weight:600}
#dialog #film-new button.primary:hover{background:#eadff8;border-color:#eadff8}
#dialog #film-new button.primary:focus-visible{outline:2px solid #f2e8ff;outline-offset:3px}


/* course-teaching-shell.css */
.course-workspace-shell{height:100%;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--bg,#15161c);color:var(--text,#f4f3f8)}
.course-workspace-modes{height:42px;flex:none;display:flex;align-items:center;gap:8px;padding:0 16px;background:var(--rail,#111216);border-bottom:1px solid var(--border,#343641)}
.course-workspace-modes span{margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#b4b5c0}
.course-workspace-modes button,.course-teaching-actions button,.course-teaching-knowledge nav button{border:0;border-radius:7px;background:transparent;color:#b4b5c0;cursor:pointer;padding:7px 12px}
.course-workspace-modes button[aria-pressed=true],.course-teaching-knowledge nav button[aria-current=step]{background:#30283f;color:#f4f3f8}
.course-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;flex:1}
.course-workspace-layout>.film-editor{grid-column:1;grid-row:1;min-width:0;min-height:0}
.course-teaching-chrome{display:contents}
.course-teaching-chrome[hidden]{display:none}
.course-workspace-shell[data-course-mode=creation] .course-workspace-layout{display:block}
.course-teaching-mentor{grid-column:2;grid-row:1 / span 2;min-width:0;display:flex;flex-direction:column;gap:14px;padding:16px;background:var(--surface,#1c1e26);border-left:1px solid var(--border,#343641)}
.course-teaching-mentor header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--border,#343641);font-size:14px}
.course-teaching-mentor header span{color:#bda8e6;font-size:12px}
.course-teaching-mentor .native-mentor{align-items:flex-start;background:transparent;padding:0}
.course-teaching-mentor .native-caption{min-width:0}
.course-teaching-mentor form{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.course-teaching-mentor textarea{width:100%;min-height:78px;resize:vertical;transition:min-height .18s ease;background:var(--input,#111216);border:1px solid var(--border,#343641);border-radius:10px;color:var(--text,#f4f3f8);padding:10px}
.course-teaching-mentor textarea:focus{min-height:132px;outline:2px solid #b7a1df;outline-offset:1px}
.course-teaching-mentor .native-voice-tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center;font-size:12px}
.course-teaching-mentor form>button{align-self:flex-end}
/* The tutor header and composer remain visible; the conversation gets its own
   bounded scroll region so long messages and review cards cannot overflow. */
.course-teaching-mentor{min-height:0;overflow:hidden;gap:10px}
.course-teaching-mentor>header{flex:0 0 auto;justify-content:flex-start;gap:10px;padding:0 0 10px}
.course-teaching-mentor>header .native-mentor-ring{width:32px!important;height:32px!important;margin:0!important}
.course-teaching-mentor>header strong{font-size:14px}
.course-mentor-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
.course-mentor-scroll .native-mentor{width:100%;align-items:stretch}
.course-mentor-scroll .native-caption{width:100%;max-width:none;box-sizing:border-box;margin:0;padding:12px 14px;border-radius:12px}
.course-mentor-scroll .native-caption>p{overflow-wrap:anywhere;min-height:0;margin:0 0 8px;font-size:14px;line-height:1.7}
.course-mentor-scroll .course-first-mission{margin:12px 0}
.course-teaching-mentor>form{flex:0 0 auto;min-width:0;margin-top:0}
.course-teaching-mentor>form textarea{box-sizing:border-box;min-height:64px;max-height:25dvh}
.course-teaching-mentor>form textarea:focus{min-height:min(112px,20dvh)}
@media(max-height:500px) and (min-width:901px){.course-teaching-mentor{overflow-y:auto}.course-mentor-scroll{flex:none;overflow:visible}.course-teaching-mentor>form textarea:focus{min-height:64px}}
@media(max-width:900px){.course-teaching-mentor{overflow:visible}.course-mentor-scroll{flex:none;overflow:visible}.course-teaching-mentor>form textarea{max-height:240px}}
.course-teaching-knowledge{grid-column:1;grid-row:2;min-width:0;background:var(--surface,#1c1e26);border:1px solid var(--border,#343641);margin:6px 8px 8px;padding:8px 12px;border-radius:9px}
.academy-shell .course-teaching-knowledge details{margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.academy-shell .course-teaching-knowledge summary{min-height:0;padding:2px 0;cursor:pointer;font-size:13px;line-height:20px;font-weight:600;list-style:none}
.course-teaching-knowledge summary span{margin-left:10px;color:#c8b5ee;font-size:12px;font-weight:400}
.academy-shell .course-teaching-knowledge p{margin:5px 0;font-size:13px;line-height:19px;color:var(--text,#f4f3f8)}
.course-teaching-knowledge nav,.course-teaching-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.academy-shell .course-teaching-knowledge nav button,.academy-shell .course-teaching-actions button{min-height:32px;padding:4px 9px;font-size:12px;line-height:20px}
.course-teaching-actions small{margin-left:auto;color:var(--muted,#a4a6b6);font-size:12px}
body:has(.course-workspace-shell[data-course-mode=teaching]) #academy-mentor{display:none!important}
@media(max-width:900px){.course-workspace-layout{display:flex;flex-direction:column;overflow:auto}.course-workspace-layout>.film-editor{height:420px!important;min-height:420px;flex:none}.course-workspace-shell[data-course-mode=creation] .course-workspace-layout>.film-editor{height:100%!important}.course-teaching-chrome{display:flex;flex-direction:column}.course-teaching-chrome[hidden]{display:none}.course-teaching-mentor{order:2;border-left:0;border-top:1px solid #332747}.course-teaching-knowledge{order:1}.course-workspace-modes{padding:0 8px}.course-teaching-actions small{margin-left:0}}
@media(max-width:900px){.course-workspace-layout>.film-editor[data-stage=post]{height:min(720px,85dvh)!important;min-height:0}}
@media(prefers-reduced-motion:reduce){.course-teaching-mentor textarea{transition:none}}

.course-teaching-knowledge .course-knowledge-points{margin:3px 0;padding:0;border:0;background:transparent}
.course-teaching-knowledge .course-knowledge-points summary{font-size:12px;font-weight:400;color:#bcaed0}
.course-teaching-knowledge .course-knowledge-points nav{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:3px}
.course-teaching-knowledge .course-knowledge-points nav button{flex:none;white-space:nowrap}
.course-guide-target{outline:2px solid #c8a8f7!important;outline-offset:3px;animation:course-guide-pulse 1.1s ease-in-out infinite alternate}
@keyframes course-guide-pulse{from{box-shadow:0 0 0 3px #c5a2ed44}to{box-shadow:0 0 0 9px #c5a2ed0a}}
@media(prefers-reduced-motion:reduce){.course-guide-target{animation:none}}
.course-focus-reminder{position:fixed;z-index:80;right:24px;bottom:24px;width:min(320px,calc(100vw - 48px));padding:18px;border:1px solid #695587;border-radius:14px;background:#1b1924;color:#f0edf8;box-shadow:0 12px 40px #0008;font-size:14px;line-height:1.6}.course-focus-reminder p{margin:8px 0 14px;color:#c1bacb}.course-focus-reminder div{display:flex;gap:10px}.course-focus-reminder button{border:1px solid #8c7ba7;border-radius:8px;background:#30273e;color:#f7f2ff;padding:8px 12px;cursor:pointer}.course-focus-reminder button:first-child{background:#c4b0e2;color:#17131e}
.course-first-mission{margin:16px 0;padding:16px;border:1px solid #51445d;border-radius:12px;background:linear-gradient(145deg,#24222b,#18181e);display:grid;gap:8px}.course-first-mission>span{font-size:12px;color:#bdaed3}.course-first-mission strong{font-size:16px;color:#f5f2fa}.course-first-mission p{margin:0;color:#c6c0cd;font-size:13px;line-height:1.65}.course-first-mission button{justify-self:start;border:0;background:transparent;color:#d1b9f1;padding:4px 0;cursor:pointer}.course-first-mission summary{font-size:13px;color:#bfb2ce;cursor:pointer}.course-first-mission details p{margin-top:8px}.course-first-mission small{font-size:12px;color:#9f98a6}
.first-lesson-demo{position:fixed;z-index:90;left:50%;top:50%;transform:translate(-50%,-50%);width:min(480px,calc(100vw - 36px));background:#1a1922;color:#f5f2fa;border:1px solid #73618a;border-radius:18px;box-shadow:0 20px 90px #000c;overflow:hidden}.first-lesson-demo header{display:flex;justify-content:space-between;align-items:center;background:#25222e;padding:14px 20px;color:#c6b4dd;font-size:13px}.first-lesson-demo header button{background:none;border:0;color:#e2d8ed;font-size:24px;cursor:pointer}.first-demo-body{padding:24px;display:grid;gap:13px}.first-demo-body>span{font-size:12px;color:#bca6dc}.first-demo-body>strong{font-size:21px}.first-demo-body>p{margin:0;color:#cbc5d1;line-height:1.6}.first-demo-example{min-height:108px;border:1px solid #51455e;background:#121219;border-radius:10px;padding:14px}.first-demo-example small{color:#9e90ad}.first-demo-example p{display:inline;line-height:1.7}.first-demo-example i{display:inline-block;height:1em;width:2px;background:#c4adea;animation:demo-caret 1s steps(2) infinite;vertical-align:middle}.first-demo-example small{display:block;margin-bottom:8px}.first-demo-body footer{display:flex;gap:10px;justify-content:flex-end}.first-demo-body footer button{border:1px solid #675773;background:transparent;color:#ddd1ea;border-radius:8px;padding:8px 14px;cursor:pointer}.first-demo-body footer button:first-child{background:#c8b1e6;color:#17131d}@keyframes demo-caret{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.first-demo-example i{animation:none}}
.first-demo-target{outline:3px solid #c8b0f2!important;outline-offset:4px;animation:first-demo-pulse 1.2s ease-in-out infinite alternate}@keyframes first-demo-pulse{from{box-shadow:0 0 0 2px #c8b0f233,0 0 8px #b28cf666}to{box-shadow:0 0 0 9px #c8b0f233,0 0 28px #b28cf6aa}}@media(prefers-reduced-motion:reduce){.first-demo-target{animation:none}}
.first-lesson-demo{left:auto;top:105px;right:20px;transform:none;width:min(320px,calc(100vw - 36px));box-shadow:0 16px 50px #000b}.first-demo-body{padding:16px}.first-demo-body>strong{font-size:17px}.first-demo-example{min-height:80px}
.first-demo-pointer{position:fixed;z-index:95;width:24px;height:24px;margin:-12px;border:2px solid #eee3ff;border-radius:50%;background:#aa83ed88;box-shadow:0 0 0 5px #bb95ed44,0 0 22px #c7a3ff;pointer-events:none;transition:left 1.2s ease,top 1.2s ease}.first-demo-pointer[hidden]{display:none}@media(prefers-reduced-motion:reduce){.first-demo-pointer{transition:none}}
.course-knowledge-track{margin:12px 0 8px;padding:10px 0;border-top:1px solid #34313d}.course-knowledge-track>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#edeaf2;font-size:13px}.course-knowledge-track>div span{color:#9c99a9;font-size:12px}.course-knowledge-track nav{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}.academy-shell .course-knowledge-track nav button{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #383440;border-radius:8px;background:#202027;color:#c9c5d1}.course-knowledge-track nav button b{color:#aa91cd;font-size:11px}.course-knowledge-track nav button[aria-current=step]{border-color:#aa8ed0;background:#352a42;color:#fff}
.course-player{padding:12px 14px;margin:10px 0;border:1px solid #3c3842;background:#1d1d24;border-radius:10px}.course-player-head,.course-player-current{display:flex;align-items:center;gap:9px;font-size:12px}.course-player-head strong{color:#f2eff5}.course-player-head span,.course-player-current span{color:#a8a2b1}.course-player-play{width:32px;height:32px;border:1px solid #665578!important;border-radius:8px!important;background:#33293e!important;color:#f2e9fc!important;padding:0!important}.course-player-track{position:relative;height:36px;margin:6px 7px}.course-player-rail{position:absolute;top:50%;left:0;right:0;height:4px;border-radius:5px;background:#55515a;transform:translateY(-50%)}.course-player-rail i{display:block;height:100%;background:#b99edb;border-radius:5px}.course-player-nodes{position:absolute;inset:0}.academy-shell .course-player-node{position:absolute;top:50%;width:15px;min-height:15px;height:15px;padding:0;border:2px solid #baaac8;border-radius:50%;background:#24222a;transform:translate(-50%,-50%)}.academy-shell .course-player-node.is-current{background:#e8d9fa;border-color:#fff;box-shadow:0 0 0 4px #b699d73b}.course-player-current strong{color:#ece7f2}.course-player-current button{margin-left:auto;color:#d5bfea;background:none;border:0;cursor:pointer}.course-player>small{display:block;margin-top:8px;color:#9993a0;font-size:11px}

.course-player-nodes .course-player-node:nth-child(1){left:0.00000% !important}
.course-player-rail[data-progress="0"] i{width:0.00000%}
.course-player-nodes .course-player-node:nth-child(2){left:11.11111% !important}
.course-player-rail[data-progress="1"] i{width:11.11111%}
.course-player-nodes .course-player-node:nth-child(3){left:22.22222% !important}
.course-player-rail[data-progress="2"] i{width:22.22222%}
.course-player-nodes .course-player-node:nth-child(4){left:33.33333% !important}
.course-player-rail[data-progress="3"] i{width:33.33333%}
.course-player-nodes .course-player-node:nth-child(5){left:44.44444% !important}
.course-player-rail[data-progress="4"] i{width:44.44444%}
.course-player-nodes .course-player-node:nth-child(6){left:55.55556% !important}
.course-player-rail[data-progress="5"] i{width:55.55556%}
.course-player-nodes .course-player-node:nth-child(7){left:66.66667% !important}
.course-player-rail[data-progress="6"] i{width:66.66667%}
.course-player-nodes .course-player-node:nth-child(8){left:77.77778% !important}
.course-player-rail[data-progress="7"] i{width:77.77778%}
.course-player-nodes .course-player-node:nth-child(9){left:88.88889% !important}
.course-player-rail[data-progress="8"] i{width:88.88889%}
.course-player-nodes .course-player-node:nth-child(10){left:100.00000% !important}
.course-player-rail[data-progress="9"] i{width:100.00000%}
.course-player-rail[data-progress="-1"] i{width:0}.course-teaching-knowledge:has(.course-player) nav[aria-label="本课教学步骤"]{display:none}.course-player-node{position:absolute!important;display:block!important;width:15px!important;height:15px!important;min-height:15px!important;padding:0!important}.course-player{padding:8px 12px;margin:5px 0}.course-player-track{height:30px;margin:3px 7px}.course-player>small{margin-top:4px}

/* Compact teaching timeline: the mentor's explanation stays in the side rail. */
.course-teaching-knowledge{margin:4px 8px 8px;padding:0;border:1px solid var(--border,#343641);border-radius:9px}
.course-teaching-knowledge .course-player{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:4px 12px;border:0;background:transparent}
.course-teaching-knowledge .course-player-play{flex:0 0 32px;min-width:32px;min-height:32px}
.course-teaching-knowledge .course-player-track{flex:1 1 auto;min-width:0;height:32px;margin:0 8px}
@media(max-width:900px){.course-teaching-knowledge{margin:4px 8px}.course-teaching-knowledge .course-player{gap:8px;padding:4px 10px}}

/* The lesson track follows the actual central workspace, while both sidebars
   keep their full height.  CSS anchors track live dock resizing without writing
   inline coordinates (the application's CSP does not allow those).  Browsers
   without anchor support retain the original, safe in-flow row. */
@supports (anchor-name: --course-stage) and (left: anchor(left)) {
 @media (min-width:901px) {
  .course-workspace-shell[data-course-mode=teaching] .course-workspace-layout{position:relative;grid-template-rows:minmax(0,1fr)}
  .course-workspace-shell[data-course-mode=teaching] .course-teaching-mentor{grid-row:1}
  .course-workspace-shell[data-course-mode=teaching] .film-editor:not([data-stage=art]) .film-stage-content{anchor-name:--course-stage}
  .course-workspace-shell[data-course-mode=teaching] .film-editor[data-stage=art] .film-v16-art-main{anchor-name:--course-stage}
  .course-workspace-shell[data-course-mode=teaching] .course-teaching-knowledge{position:absolute;position-anchor:--course-stage;left:anchor(left, calc(58px + var(--film-creation-left, 208px)));right:anchor(right, 300px);bottom:0;z-index:5;margin:0 8px 8px}
  .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-editor:not([data-stage=art]) .film-stage-content{padding-bottom:64px!important}
  .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-editor[data-stage=art] .film-v16-art-main{padding-bottom:64px}
 }
}

.course-mentor-inline,.course-mentor-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.course-mentor-inline button,.course-mentor-actions button{padding:7px 11px;border:1px solid #554965;border-radius:9px;background:#272330;color:#ded0ed;cursor:pointer;font-size:12px;line-height:1.4}
.course-mentor-inline button:hover,.course-mentor-actions button:hover{background:#382c46}
.course-mentor-inline details{flex-basis:100%;color:#bdb0ce;font-size:12px}.course-mentor-inline details p{color:#ddd5e5;line-height:1.6}.course-mentor-inline details small{color:#a69aae}
.course-chat-transcript{display:flex;flex-direction:column;gap:14px;padding:12px 0}
.course-chat-message{max-width:100%;min-width:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.course-chat-message small{display:block;margin-bottom:4px;color:#a99ab9;font-size:11px}
.course-chat-message p{margin:0;white-space:pre-wrap}
.course-chat-user{align-self:flex-end;max-width:88%;padding:9px 12px;background:#302941;border:1px solid #493d5a;border-radius:12px 12px 3px 12px;color:#eee9f3}
.course-chat-assistant{align-self:stretch;padding:3px 0;color:#e5e1ea}

/* Compact mentor bar: lesson controls follow the central workspace. */
.course-workspace-shell[data-course-mode=teaching] .course-workspace-layout{grid-template-columns:minmax(0,1fr)}
.course-teaching-knowledge .course-teaching-mentor{display:block;position:relative;padding:0;border:0;overflow:visible;background:#191a22}
.course-mentor-bar{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px}
.course-mentor-identity{display:flex;align-items:center;gap:8px;flex:none;color:#eeeaf4;font-size:13px}
.course-mentor-identity .native-mentor-ring{width:28px!important;height:28px!important;margin:0!important}
.course-mentor-caption{flex:1 1 180px;min-width:0;margin:0;color:#d8c9fb;font-size:13px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.course-mentor-bar button,.course-point-menu summary{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:32px;padding:3px 7px;border:1px solid #494352;border-radius:7px;background:#26232e;color:#e7e0ef;cursor:pointer}
.course-mentor-bar button:disabled{opacity:.4;cursor:not-allowed}
.course-current-point{flex:0 1 auto;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px;color:#cbb6ed;background:#30283c;border-radius:7px;font-size:12px}
.course-point-menu{position:relative;flex:none}.course-point-menu summary{list-style:none}.course-point-menu summary::-webkit-details-marker{display:none}
.course-point-menu nav{position:absolute;bottom:calc(100% + 8px);right:0;z-index:8;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:2px;width:min(260px,70vw);max-height:50dvh;overflow:auto;padding:8px;background:#20202a;border:1px solid #494352;border-radius:9px;box-shadow:0 12px 30px #0008}
.course-point-menu nav button{justify-content:flex-start;white-space:normal;text-align:left;border:0;background:transparent}.course-point-menu nav button[aria-current=step]{background:#3c304d;color:#ede2ff}
.course-mentor-panel{position:absolute;right:0;bottom:calc(100% + 8px);z-index:7;display:flex;flex-direction:column;gap:8px;width:min(420px,95%);max-height:min(65dvh,560px);padding:12px;background:#1a1b23;border:1px solid #494352;border-radius:10px;box-shadow:0 12px 36px #0009}
.course-mentor-panel[hidden]{display:none}.course-mentor-panel .course-mentor-scroll{flex:1 1 auto;min-height:0;overflow:auto}.course-mentor-panel form{flex:none;margin:0;display:flex;flex-direction:column;gap:6px}.course-mentor-panel textarea{min-height:54px;max-height:20dvh}.course-mentor-panel form>button{align-self:flex-end}
@supports (anchor-name: --course-stage) and (left: anchor(left)) {@media (min-width:901px){.course-workspace-shell[data-course-mode=teaching] .course-teaching-knowledge{right:anchor(right,0px)}}}
@media(max-width:900px){.course-mentor-bar{flex-wrap:wrap}.course-mentor-caption{flex-basis:50%}.course-current-point{max-width:45vw}.course-teaching-knowledge .course-teaching-mentor{order:unset}.course-mentor-panel{position:relative;bottom:auto;width:auto;max-height:50dvh}}
@supports (anchor-name: --course-stage) and (left: anchor(left)) {
 @media(min-width:901px){
  .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-editor[data-stage=storyboard] #film-notes{height:calc(100% - 12px)!important}
 }
}
@media(min-width:901px){
 .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-v16-storyboard{overflow:hidden!important}
 .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-v16-storyboard .film-scene-board{min-height:80px!important}
 .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-v16-composer-drawer[open]{min-height:0;max-height:55%;overflow-y:auto}
}
.academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-v16-storyboard .film-v16-shot-composer{background:#191a20!important}
/* One visual composer with independent drafts and submit paths. The existing
   generation controls stay mounted; switching mode must never submit them. */
@media(min-width:901px){
 .course-workspace-shell[data-course-mode=teaching] .course-mentor-panel{box-sizing:border-box;left:0;right:0;width:100%;max-height:min(46dvh,400px)}
 .course-workspace-shell[data-course-mode=teaching] .course-mentor-panel form{border-top:1px solid #494352;padding-top:8px}
}
.course-teaching-mentor .course-mentor-panel textarea:focus{min-height:64px}
.course-teaching-mentor .course-mentor-panel .course-mentor-scroll{min-height:100px}
/* The question form shares the bounds of the generation composer. Both drafts
   remain mounted in their own forms; hiding never submits or overwrites either. */
@supports (anchor-name: --course-composer) and (top: anchor(top)) {
 @media(min-width:901px){
  .course-workspace-shell[data-course-mode=teaching] .film-v16-composer-drawer[open] .film-v16-shot-composer,
  .course-workspace-shell[data-course-mode=teaching] .film-v16-art-composer,
  .course-workspace-shell[data-course-mode=teaching] .film-video-composer{anchor-name:--course-composer}
  .course-workspace-shell[data-course-mode=teaching]:has(.film-v16-composer-drawer[open]) .course-mentor-panel,
  .course-workspace-shell[data-course-mode=teaching]:has(.film-v16-art-composer) .course-mentor-panel,
  .course-workspace-shell[data-course-mode=teaching]:has(.film-video-composer) .course-mentor-panel{position:absolute;position-anchor:--course-composer;top:anchor(top);bottom:anchor(bottom);left:anchor(left);right:anchor(right);width:auto;max-height:none;border-radius:10px;box-shadow:none;background:#191a20;overflow:hidden}
  .course-workspace-shell[data-course-mode=teaching] .course-mentor-panel .course-mentor-scroll{min-height:0;flex:1 1 auto;overflow:auto}
  .course-workspace-shell[data-course-mode=teaching] .course-mentor-panel form{flex:0 0 auto}
 }
}
/* Align the question state with the composer immediately above the mentor bar. */
@media(min-width:901px){
 .course-workspace-shell[data-course-mode=teaching] .course-teaching-mentor .course-mentor-panel{position:absolute!important;position-anchor:auto!important;inset:auto 0 calc(100% + 4px) 0!important;width:auto!important;height:min(210px,32dvh);max-height:none!important;overflow:hidden}
 .course-workspace-shell[data-course-mode=teaching] .course-teaching-mentor .course-mentor-panel textarea{min-height:48px;max-height:90px}
}
@media(min-width:901px){
 .course-teaching-mentor .course-mentor-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}
 .course-teaching-mentor .course-mentor-panel form>label,.course-teaching-mentor .course-mentor-panel form>textarea{grid-column:1/-1}
 .course-teaching-mentor .course-mentor-panel form>textarea,.course-teaching-mentor .course-mentor-panel form>textarea:focus{min-height:48px;height:48px;max-height:80px}
 .course-teaching-mentor .course-mentor-panel .native-voice-tools small{display:none}
 .course-teaching-mentor .course-mentor-panel form>button{align-self:center}
}
/* Storyboard teaching: the mentor panel is a child of the same composer.
   Its form owner remains outside the film form, so submissions stay separate. */
.course-workspace-shell[data-course-mode=creation] [data-course-inline-slot]{display:none!important}
.course-workspace-shell[data-course-mode=teaching] .film-v16-shot-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden])){visibility:visible!important}
.course-workspace-shell[data-course-mode=teaching] .film-v16-shot-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden]))>:not([data-course-inline-slot]){display:none!important}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .course-mentor-panel{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:30dvh!important;min-height:160px;overflow:hidden;box-shadow:none;border:0;padding:0;background:transparent}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .course-mentor-scroll{flex:1 1 auto;min-height:48px;overflow:auto}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] [data-native-form=question]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;flex:none}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] textarea{grid-column:1/-1;box-sizing:border-box;width:100%;min-height:48px;max-height:100px;resize:vertical;background:#111216;border:1px solid #494352;border-radius:8px;color:#f4f3f8;padding:10px}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .native-voice-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .native-voice-tools small{display:none}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] button[type=submit]{grid-column:2}
.course-workspace-shell[data-course-mode=teaching] .film-v16-shot-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden])),
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot],
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .course-mentor-panel{pointer-events:auto!important}

/* The active creation editor owns the same inline mentor surface. */
.course-workspace-shell[data-course-mode=teaching] .film-video-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden])){visibility:visible!important;pointer-events:auto!important}
.course-workspace-shell[data-course-mode=teaching] .film-video-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden]))>:not([data-course-inline-slot]){display:none!important}
.course-workspace-shell[data-course-mode=teaching] [data-course-inline-slot] .course-return-generation{align-self:flex-start;border:0;background:transparent;color:#cdb9ec;font-size:12px;padding:3px 0;cursor:pointer}

.course-workspace-shell[data-course-mode=teaching] .film-v16-art-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden])){visibility:visible!important;pointer-events:auto!important}
.course-workspace-shell[data-course-mode=teaching] .film-v16-art-composer:has([data-course-inline-slot] .course-mentor-panel:not([hidden]))>:not([data-course-inline-slot]){display:none!important}

/* Script lessons: one persistent right-hand Xiaoying area for teaching and tools. */
@media(min-width:901px){
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:minmax(0,1fr)}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-teaching-knowledge{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;margin:0;border:0;border-left:1px solid #39333f;border-radius:0;overflow-y:auto;z-index:auto;background:#191a22}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-teaching-mentor{display:flex;flex-direction:column;gap:12px;height:auto;min-height:100%;padding:16px;box-sizing:border-box;overflow:visible}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-mentor-bar{display:flex;flex-wrap:wrap;padding:0;gap:8px}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-mentor-caption{flex-basis:100%;white-space:normal;overflow:visible;color:#d8c9fb}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-teaching-mentor .course-mentor-panel{position:relative!important;inset:auto!important;width:100%!important;height:auto;box-shadow:none;box-sizing:border-box}
 .academy-shell.film-immersive .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .film-stage-content{padding-bottom:24px!important}
}
.course-script-tools{display:flex;flex-direction:column;gap:8px;min-width:0;padding-top:12px;border-top:1px solid #39333f}
.course-script-tools h3{margin:0;color:#eeeaf4;font-size:14px}.course-script-tools>p{color:#bdb6c8;font-size:12px;line-height:1.5;margin:0}
.course-script-tools details{border:1px solid #3c3746!important;border-radius:8px!important;background:#22212b!important;padding:8px!important}
.course-script-tools details summary{cursor:pointer;color:#e8e1ef;font-size:13px!important}
.course-script-tools details>button{display:block;width:100%;margin-top:7px;padding:7px 9px;border:1px solid #494352;border-radius:6px;background:#292632;color:#e8e1ef;text-align:left;white-space:normal}
.course-script-tools button:disabled{opacity:.48;cursor:not-allowed}.course-script-tools textarea{box-sizing:border-box;width:100%;min-height:110px;margin-top:8px;font-size:13px}.course-script-tools small{display:block;margin-top:6px;color:#aaa3b3;line-height:1.5}
@media(max-width:900px){.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.film-editor[data-stage=script]) .course-teaching-knowledge{position:relative!important;margin:4px 8px}.course-script-tools{padding:10px}}
.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]):has(.course-teaching-chrome:not([hidden])) .film-editor[data-stage=script] .film-script-more{display:none}

/* Xiaoying stays beside the current workspace: lesson, conversation, composer. */
@media(min-width:901px){
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-workspace-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;grid-template-rows:minmax(0,1fr)!important}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-knowledge{position:relative!important;position-anchor:auto!important;inset:auto!important;grid-column:2;grid-row:1;margin:0!important;border-left:1px solid #39333f!important;overflow:visible!important;min-height:0;z-index:6;background:#191a22}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-mentor{display:flex!important;flex-direction:column;gap:10px;height:100%!important;min-height:0!important;padding:14px!important;box-sizing:border-box;overflow:visible!important}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-mentor-bar{display:flex;flex-wrap:wrap;padding:0;gap:6px}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-mentor .course-mentor-panel{position:relative!important;position-anchor:auto!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;flex:1 1 auto;overflow:visible!important;box-shadow:none!important;border:0;padding:0;background:transparent}
 .academy-shell.film-immersive .course-workspace-shell[data-course-mode=teaching] .film-editor:not([data-stage=art]) .film-stage-content{padding-bottom:24px!important}
}
.course-lesson-script{flex:0 1 auto;max-height:30%;overflow:auto;color:#ded3f0;border-bottom:1px solid #39333f;padding-bottom:10px}
.course-lesson-script .native-mentor{padding:0!important;background:transparent!important}
.course-lesson-script .native-caption{margin:0!important;padding:0!important;background:transparent!important}
.course-lesson-script .native-caption p{margin:0;font-size:13px;line-height:1.65;white-space:pre-wrap}
.course-mentor-panel .course-mentor-scroll{flex:1 1 auto;min-height:45px!important;overflow:auto;padding:0 2px}
.course-chat-empty{margin:8px 0;color:#9f9aa8;font-size:13px}
.course-mentor-panel form[data-course-mentor-question]{display:flex!important;flex-direction:column;gap:6px;flex:none;padding:9px!important;border:1px solid #494352;border-radius:10px;background:#15151c}
.course-mentor-panel form[data-course-mentor-question] textarea,.course-mentor-panel form[data-course-mentor-question] textarea:focus{box-sizing:border-box;width:100%;height:66px!important;min-height:50px!important;max-height:130px!important;resize:vertical;border:0!important;outline-offset:2px;background:transparent;padding:4px!important;font-size:14px!important}
.course-question-actions{display:flex;align-items:center;gap:6px;min-width:0}.course-question-actions>button[type=submit]{margin-left:auto;flex:none}.course-question-actions .native-voice-tools{display:flex;gap:2px}.course-question-actions .native-voice-tools small{display:none}.course-question-actions .native-voice-tools button{font-size:11px;padding:3px}
.course-question-context{font-size:11px;color:#aaa3b3;line-height:1.4}
.course-mentor-tools{position:relative;flex:none}.course-mentor-tools>summary{display:grid;place-items:center;list-style:none;width:32px;height:32px;border:1px solid #554965;border-radius:7px;color:#eee7f9;cursor:pointer;font-size:22px;line-height:1}.course-mentor-tools>summary::-webkit-details-marker{display:none}.course-mentor-tools>summary:focus-visible{outline:2px solid #b7a1df;outline-offset:2px}
.course-mentor-tools-menu{position:absolute;z-index:20;left:0;bottom:calc(100% + 10px);width:min(290px,75vw);max-height:min(55dvh,440px);overflow:auto;padding:10px;background:#20202a;border:1px solid #494352;border-radius:9px;box-shadow:0 12px 30px #0008}
.course-mentor-tools-menu .course-script-tools{border:0;padding:0}.course-mentor-tools-menu>details{margin-top:8px;padding:8px;border:1px solid #3c3746;border-radius:8px}.course-mentor-tools-menu summary{cursor:pointer;font-size:13px}.course-mentor-tools-menu>details p{font-size:12px;color:#bdb6c8}.course-mentor-tools-menu>details button{display:block;width:100%;margin-top:6px;padding:7px;text-align:left;border:1px solid #494352;border-radius:6px;background:#292632;color:#e8e1ef}
@media(max-width:900px){.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-workspace-layout{display:flex!important;flex-direction:column;overflow:auto}.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-knowledge{position:relative!important;inset:auto!important;margin:0!important;overflow:visible!important}.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-mentor{display:flex!important;flex-direction:column;min-height:420px;padding:14px!important}.course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-mentor-panel{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;min-height:260px;box-sizing:border-box;box-shadow:none;border:0;padding:0}.course-lesson-script{max-height:220px}.course-mentor-panel .course-mentor-scroll{min-height:100px!important}}
/* The conversation no longer overlays the generation forms. */
@media(min-width:901px){
 .course-workspace-shell[data-course-mode=teaching] .film-v16-composer-drawer[open] .film-v16-shot-composer,
 .course-workspace-shell[data-course-mode=teaching] .film-v16-art-composer,
 .course-workspace-shell[data-course-mode=teaching] .film-video-composer{visibility:visible!important;pointer-events:auto!important}
}

/* Keep the explanation compact and give the conversation the remaining height. */
.course-lesson-script.is-collapsible:not(.is-expanded) .native-caption>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.course-caption-expand{display:inline-block;margin-top:5px;padding:0;border:0;background:transparent;color:#cdb9ed;font-size:12px;cursor:pointer}
.course-caption-expand:focus-visible,.course-voice-menu>summary:focus-visible{outline:2px solid #b7a1df;outline-offset:2px}
.course-mentor-target{flex:none;color:#aaa3b3;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.course-mentor-target strong{color:#ded3f0;font-weight:500}
.course-voice-menu{position:relative;flex:none}
.course-voice-menu>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:32px;height:32px;color:#d0c6dd;border-radius:6px}
.course-voice-menu>summary::-webkit-details-marker{display:none}
.course-voice-menu-content{position:absolute;z-index:21;left:0;bottom:calc(100% + 10px);width:190px;padding:8px;border:1px solid #494352;border-radius:9px;background:#20202a;box-shadow:0 12px 30px #0008}
.course-voice-menu-content>button{display:block;width:100%;padding:8px;border:0;border-radius:5px;background:transparent;color:#eee7f9;text-align:left;cursor:pointer}
.course-voice-menu-content>button:hover{background:#302d3a}
.course-voice-menu-content>button small{display:block;margin-top:3px;color:#aaa3b3;font-size:11px}
.course-voice-preference{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-top:1px solid #494352;color:#d0c6dd;font-size:12px}
.course-question-actions .native-voice-tools{flex-wrap:wrap;align-items:center}
@media(min-width:901px){
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-teaching-mentor .course-mentor-panel{display:flex!important;flex-direction:column;gap:8px}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-mentor-panel .course-mentor-scroll{flex:1 1 0;min-height:0!important;overflow-y:auto;overflow-x:hidden}
 .course-workspace-shell:is([data-course-mode=teaching],[data-course-mode=creation]) .course-mentor-panel form[data-course-mentor-question]{margin-top:auto}
}
.course-script-tools [data-film-script-draft-reason][hidden]{display:none}
.course-script-tools [data-film-script-import-reason][hidden]{display:none}

/* Local fictional conversation preview only. */
.course-chat-demo-label{align-self:center;color:#aaa2b6;font-size:12px;margin:4px 0 12px}
.course-chat-demo .demo-author-a small{color:#d7c4f1}
.course-chat-demo .demo-author-b{background:#29303b;border-color:#414d5c}
.course-chat-demo .demo-author-b small{color:#b8d3e6}


/* portal-entry-ui.css */
.public-portal{min-height:100vh;background:radial-gradient(ellipse at 75% 0,#38234d60,transparent 57%),#100A24;color:#F1EEF9;font-family:Inter,"Noto Sans SC","PingFang SC",sans-serif}
.pp-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid #C4AAD51B}
.public-portal .orbital-brand{display:flex;align-items:center;color:inherit;text-decoration:none}
.pp-account{display:flex;align-items:center;gap:10px;min-width:0;max-width:45%;font-size:13px;color:#E1D7EF}.pp-account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.pp-account small{font-size:11px;color:#AFA2C1;flex:none}
.public-portal button,.public-portal a{font:inherit}.public-portal button{cursor:pointer}.public-portal a{text-decoration:none}
.public-portal button:focus-visible,.public-portal a:focus-visible{outline:2px solid #B8D6FA!important;outline-offset:4px}
.public-portal .pp-header-login{padding:8px 0;border:0;background:transparent;color:#D6C6EA;font-size:13px}
.pp-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:42px;max-width:1200px;margin:0 auto;padding:42px 38px 60px}
.pp-sidebar{padding-top:7px;display:flex;flex-direction:column;min-width:0}.pp-sidebar>p{font-size:12px;color:#AFA2C1;margin:0 12px 19px}.pp-sidebar nav{display:grid;gap:7px}.pp-sidebar nav a,.pp-back{display:flex;gap:12px;align-items:center;padding:13px 14px;border-radius:10px;color:#C7B9D6;font-size:14px}.pp-sidebar a[aria-current=page]{background:#4B346866;color:#F0E7FF}.pp-sidebar nav a:hover,.pp-back:hover{background:#4B346844;color:#F0E7FF}.pp-back{margin-top:30px;font-size:12px;color:#9D8EB0}
.public-portal svg{display:block;width:20px;height:20px;flex:none}.pp-main{min-width:0}.pp-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 34px}.pp-heading h1{font-size:31px;line-height:1.4;font-weight:450;letter-spacing:-.025em;margin:0 0 10px}.pp-heading p{font-size:14px;line-height:1.8;color:#BDAECD;margin:0}.pp-heading-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #A889C72A;border-radius:18px;color:#CDB4EE;background:#3B285343}.pp-heading-icon svg{width:27px;height:27px}
.pp-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pp-work-card{min-width:0;display:flex;flex-direction:column;min-height:310px;padding:24px 22px;border:1px solid #9E80BD2E;border-radius:15px;background:linear-gradient(145deg,#39254C54,#21143154)}
.pp-card-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#63438840;color:#CEBAEC;margin-bottom:30px}.pp-card-icon svg{width:23px;height:23px}.pp-work-card h2{font-size:18px;line-height:1.5;font-weight:500;margin:0 0 12px}.pp-work-card>p{font-size:13px;line-height:1.85;color:#B7A8C8;margin:0 0 26px}.pp-work-actions{margin-top:auto;display:grid;gap:12px;justify-items:start;min-height:44px;align-content:start}
.public-portal .pp-primary{display:inline-flex;justify-content:center;align-items:center;gap:10px;max-width:100%;min-height:42px;padding:10px 13px;border:1px solid transparent;border-radius:8px;background:#D8C7F1;color:#241732;font-size:12px;font-weight:500;line-height:1.5;text-align:center;box-sizing:border-box}.public-portal .pp-primary svg{width:15px;height:15px}.public-portal .pp-primary:hover{background:#E4D8F5}
.public-portal .pp-secondary{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;color:#C8B9DD;padding:5px 0;font-size:12px;line-height:1.6}.public-portal .pp-secondary svg{width:15px;height:15px}.public-portal .pp-secondary:hover{color:#F1E8FF}.pp-access-hint{font-size:12px;color:#8F819F;line-height:1.8;padding:10px 0}.pp-account-switch{display:flex;align-items:center;gap:14px;margin-top:25px;color:#A99AB9;font-size:12px}
.pp-challenges{border:1px solid #9E80BD2B;border-radius:16px;background:#21143160;overflow:hidden}.pp-tabs{display:flex;gap:29px;align-items:center;padding:0 25px;border-bottom:1px solid #A889C725}.public-portal .pp-tabs button{position:relative;border:0;border-radius:0;background:transparent;color:#A99AB9;padding:19px 1px;font-size:14px;line-height:1.6}.public-portal .pp-tabs button[aria-selected=true]{color:#E9DFF5}.pp-tabs button[aria-selected=true]:after{content:"";height:2px;position:absolute;bottom:0;left:0;right:0;background:#C8A8FF;border-radius:2px}.pp-empty{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:350px;padding:55px 26px 45px;box-sizing:border-box}.pp-empty[hidden]{display:none!important}.pp-empty-symbol{display:grid;place-items:center;width:69px;height:69px;border:1px solid #AC90CB30;border-radius:21px;background:radial-gradient(circle at 20% 10%,#8B63AC35,transparent 80%);color:#BA9DDC;margin-bottom:24px}.pp-empty-symbol svg{width:29px;height:29px}.pp-empty h2{font-size:21px;line-height:1.5;font-weight:450;margin:0 0 13px}.pp-empty p{max-width:420px;font-size:13px;line-height:1.9;color:#AE9DBF;margin:0 0 24px}.pp-empty .pp-primary{padding:11px 18px}
@media(max-width:1100px){.pp-layout{gap:25px;padding-left:25px;padding-right:25px;grid-template-columns:160px minmax(0,1fr)}.pp-work-grid{gap:12px}.pp-work-card{padding:22px 17px}}
@media(max-width:850px){.pp-layout{grid-template-columns:minmax(0,1fr);gap:27px;padding:25px 24px 45px}.pp-sidebar{display:block;padding:0}.pp-sidebar>p{display:none}.pp-sidebar nav{display:flex;gap:8px}.pp-sidebar nav a{padding:10px 13px;font-size:13px}.pp-back{display:none}.pp-heading{margin-bottom:25px}.pp-work-card{min-height:290px}.pp-topbar{height:66px;padding:0 24px}}
@media(max-width:620px){.pp-topbar{padding:0 20px}.pp-account{gap:7px;font-size:12px}.pp-account small{display:none}.pp-layout{padding:23px 20px 40px;gap:28px}.pp-heading{gap:14px}.pp-heading h1{font-size:27px}.pp-heading p{font-size:13px}.pp-heading-icon{width:47px;height:47px;border-radius:15px}.pp-heading-icon svg{width:23px;height:23px}.pp-work-grid{grid-template-columns:minmax(0,1fr);gap:13px}.pp-work-card{min-height:0;padding:22px}.pp-card-icon{margin-bottom:17px}.pp-work-card h2{font-size:18px}.pp-work-card>p{margin-bottom:19px}.pp-work-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px}.pp-account-switch{align-items:flex-start;flex-wrap:wrap;gap:7px 14px}.pp-tabs{padding:0 20px}.pp-empty{padding:45px 20px 38px;min-height:325px}.pp-empty h2{font-size:20px}.pp-empty p{font-size:13px}.pp-sidebar nav a{padding:10px 12px}}


/* course-progress-ui.css */
.course-progress-page{--cp-bg:#100A24;--cp-panel:#1A1034;--cp-text:#F1EEF9;--cp-muted:#B5A8C7;--cp-accent:#C4ACE5;--cp-line:#B49AC52E;max-width:1220px;margin:0 auto;padding:20px 6px 40px;color:var(--cp-text)}
.course-progress-page :where(h1,h2,p){margin:0}.course-progress-page button{font:inherit;cursor:pointer}.course-progress-page button:focus-visible{outline:2px solid #D2BAFF;outline-offset:4px}.course-progress-page button:disabled{cursor:not-allowed}.course-progress-page svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.cp-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.cp-back{padding:0;margin-bottom:16px;color:var(--cp-muted);border:0;background:none;font-size:13px}.cp-heading h1{font-size:28px;line-height:1.3;font-weight:600;letter-spacing:-.02em}.cp-heading p{margin-top:10px;color:var(--cp-muted);font-size:14px}.cp-unlocked{color:var(--cp-muted);font-size:13px;white-space:nowrap;padding-bottom:3px}
.cp-current{display:flex;align-items:center;gap:22px;padding:24px 26px;margin-bottom:20px;border:1px solid #C4ACE54D;border-radius:18px;background:linear-gradient(105deg,#35234D80,#1A1034);min-width:0}.cp-current-symbol{display:grid;place-items:center;width:70px;height:70px;flex:none;border:1px solid #C4ACE54D;border-radius:20px;color:#E1D0FA;background:#C4ACE514}.cp-current-symbol svg{width:44px;height:44px}.cp-current>div{min-width:0;flex:1}.cp-current>div>span{color:var(--cp-muted);font-size:12px}.cp-current h2{font-size:18px;line-height:1.5;margin-top:5px;font-weight:600}.cp-current p{font-size:13px;color:var(--cp-muted);margin-top:6px;overflow-wrap:anywhere}.cp-current>button{border:0;border-radius:10px;background:#C4ACE5;color:#261638;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 17px;flex:none;font-size:13px;font-weight:600;min-height:44px}.cp-arrow{width:18px;height:18px;stroke-width:1.6}
.cp-legend{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:0 2px 20px;font-size:12px;color:var(--cp-muted)}.cp-legend span{display:flex;align-items:center;gap:7px}.cp-legend i{width:7px;height:7px;border-radius:50%;display:block}.cp-legend-current{background:#E7D9FD;box-shadow:0 0 0 3px #C4ACE526}.cp-legend-open{background:#A88BCF}.cp-legend-submitted{background:#9BD1B6}.cp-legend-locked{background:#655B75}
.cp-units{display:flex;flex-direction:column;gap:24px}.cp-unit{padding-top:20px;border-top:1px solid var(--cp-line)}.cp-unit>header{display:flex;align-items:baseline;gap:13px;margin-bottom:16px}.cp-unit>header>span{color:#9B8CAD;font-size:12px}.cp-unit>header h2{font-size:15px;line-height:1.5;font-weight:550;flex:1}.cp-unit>header small{color:#91849F;font-size:12px}.cp-lessons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.cp-lesson{display:flex;flex-direction:column;align-items:center;min-width:0;position:relative;padding:14px 10px 12px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--cp-text);text-align:center;transition:background-color .16s,border-color .16s}.cp-lesson:not(:disabled):hover{background:#C4ACE50D;border-color:var(--cp-line)}.cp-icon-frame{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;color:#C4ACE5;background:#C4ACE50E;position:relative;margin-bottom:10px}.cp-lesson-icon{width:40px;height:40px}.cp-lesson-number{color:#9D8CB1;font-size:11px;line-height:1.5}.cp-lesson strong{font-size:13px;line-height:1.5;font-weight:500;display:block;margin-top:4px;min-height:39px;overflow-wrap:anywhere;max-width:150px}.cp-lesson-state{font-size:11px;line-height:1.5;margin-top:7px;color:#9D8CB1}.cp-lesson--current{background:#C4ACE50D!important;border-color:#C4ACE55C!important}.cp-lesson--current .cp-icon-frame{color:#E9DCFF;background:#C4ACE521;box-shadow:0 0 22px #C4ACE510}.cp-lesson--current .cp-lesson-state{color:#E1D0FA}.cp-lesson--submitted .cp-lesson-state{color:#9BD1B6}.cp-lesson--material .cp-lesson-state{color:#B8A9CB}.cp-lesson--locked,.cp-lesson--unknown{color:#8E829F}.cp-lesson--locked .cp-icon-frame,.cp-lesson--unknown .cp-icon-frame{color:#756980;background:#87739809}.cp-lesson--locked .cp-lesson-state,.cp-lesson--unknown .cp-lesson-state{color:#82758E}.cp-lock{width:17px;height:17px;stroke-width:1.6}.cp-icon-frame>.cp-lock{position:absolute;right:-3px;bottom:-3px;width:22px;height:22px;padding:3px;border-radius:50%;background:#160F29;color:#9B8DAA}.cp-access,.cp-read-error{display:flex;align-items:center;gap:16px;margin-bottom:20px;padding:20px;border:1px solid var(--cp-line);border-radius:14px;background:var(--cp-panel);font-size:13px;color:var(--cp-muted)}.cp-access p{flex:1;line-height:1.6}.cp-access>span .cp-lock{width:24px;height:24px}.cp-access>:is(button,a),.cp-read-error>button{border:1px solid #C4ACE54D;border-radius:8px;color:#E2D2F5;background:#C4ACE50A;padding:9px 12px;white-space:nowrap}.cp-footnote{margin-top:30px!important;color:#8F829F;font-size:12px;line-height:1.7}
@media(max-width:1100px){.cp-lessons{grid-template-columns:repeat(5,minmax(0,1fr))}.cp-current{gap:16px;padding:20px}.cp-lesson{padding-inline:6px}}
@media(max-width:760px){.course-progress-page{padding:10px 0 28px}.cp-heading{align-items:flex-start;gap:12px;flex-direction:column;margin-bottom:20px}.cp-heading h1{font-size:25px}.cp-heading p{font-size:13px}.cp-unlocked{padding:0;font-size:12px}.cp-current{display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;padding:18px;border-radius:15px}.cp-current-symbol{width:54px;height:54px;border-radius:16px}.cp-current-symbol svg{width:34px;height:34px}.cp-current h2{font-size:15px}.cp-current>button{grid-column:1/-1;width:100%;margin-top:3px}.cp-lessons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cp-unit>header{gap:9px}.cp-unit>header h2{font-size:14px}.cp-unit>header small{font-size:11px}.cp-icon-frame{width:56px;height:56px;border-radius:16px}.cp-lesson-icon{width:35px;height:35px}.cp-lesson strong{font-size:12px;min-height:36px}.cp-lesson-state{font-size:10px}.cp-legend{gap:12px;font-size:11px}.cp-access{flex-wrap:wrap;gap:12px;padding:16px}.cp-access p{min-width:180px}.cp-access>:is(button,a){margin-left:36px}.cp-read-error{flex-direction:column;align-items:flex-start}.cp-footnote{font-size:11px}}
@media(max-width:350px){.cp-lessons{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-unit>header small{display:none}}
@media(prefers-reduced-motion:reduce){.course-progress-page *{transition:none!important}}
/* Pair the six units rather than leaving half-empty, full-width lesson rows. */
.course-progress-page{padding-top:10px}.cp-heading{margin-bottom:16px}.cp-back{margin-bottom:10px}.cp-current{min-height:104px;padding:16px 22px;gap:18px}.cp-current-symbol{width:60px;height:60px;border-radius:18px}.cp-current-symbol svg{width:38px;height:38px}.cp-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.cp-unit{min-width:0;padding-top:16px}.cp-unit>header{margin-bottom:10px}.cp-lessons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cp-lesson{height:156px;min-height:156px;padding:10px 7px 9px;justify-content:flex-start}.cp-icon-frame{width:54px;height:54px;border-radius:16px;margin-bottom:5px}.cp-lesson-icon{width:36px;height:36px}.cp-lesson-number{font-size:10px;line-height:14px}.cp-lesson strong{font-size:12px;line-height:17px;min-height:34px;max-height:34px;margin-top:3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.cp-lesson-state{font-size:10px;line-height:14px;margin-top:4px}.cp-lesson--revision .cp-lesson-state{color:#E8C18E}
@media(max-width:980px){.cp-units{grid-template-columns:minmax(0,1fr);gap:20px}.cp-lessons{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.cp-heading{margin-bottom:16px}.cp-current{grid-template-columns:48px minmax(0,1fr);padding:15px;gap:12px;min-height:0}.cp-current-symbol{width:48px;height:48px;border-radius:14px}.cp-current-symbol svg{width:32px;height:32px}.cp-current h2{font-size:14px}.cp-current p{font-size:12px}.cp-current>button{margin-top:1px}.cp-unit>header{margin-bottom:8px}.cp-lessons{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cp-lesson{height:150px;min-height:150px;padding:9px 4px 8px}.cp-icon-frame{width:50px;height:50px;margin-bottom:5px}.cp-lesson-icon{width:33px;height:33px}.cp-lesson strong{font-size:12px}.cp-units{gap:16px}.cp-legend{padding-bottom:15px}}
@media(max-width:350px){.cp-lessons{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cp-access-cta{font:inherit;text-decoration:none;display:inline-flex;align-items:center;min-height:40px}
.course-progress-page .cp-lesson{min-width:0;white-space:normal}.course-progress-page .cp-lesson strong{white-space:normal;min-width:0;width:100%;max-width:100%;overflow-wrap:anywhere;word-break:normal}.course-progress-page .cp-lesson-state{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.course-progress-page .cp-lessons{grid-template-columns:repeat(2,minmax(0,1fr))}.course-progress-page .cp-lesson{height:156px;min-height:156px}.course-progress-page .cp-icon-frame{width:56px;height:56px}.course-progress-page .cp-lesson strong{font-size:13px;line-height:18px;min-height:36px;max-height:36px;text-wrap:balance}}
/* Keep locked lessons readable; their disabled state and lock still communicate access. */
.course-progress-page .cp-lesson:disabled{opacity:1}.course-progress-page .cp-lesson:disabled strong{color:#A69DB3}.course-progress-page .cp-lesson:disabled .cp-icon-frame{color:#81778E}


/* platform-unified.css */
/* v26 — approved purple identity across existing page families.
   Presentation only: editor geometry, media pixels and semantic states stay owned
   by their original modules. This must remain the final stylesheet. */
:root{
  color-scheme:dark;background:var(--bg);
  --bg:#100A24;--rail:#160F29;--surface:#1A1034;--raised:#281B3F;
  --input:#130C25;--border:#B49AC52E;--text:#F1EEF9;--muted:#B5A8C7;
  --accent:#C4ACE5;--accent-ink:#261638;--selected:#35234D;--success:#9BD1B6;
  --line:var(--border);--blue:var(--accent);--ink:var(--text);--wash:var(--surface);
  --offer-ink:var(--text);--offer-muted:var(--muted);--offer-accent:var(--accent);--offer-line:var(--border);
  --font:Inter,"Noto Sans SC","PingFang SC","Hiragino Sans GB",system-ui,sans-serif;
}
body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}
/* Access-denied/loading states have no .shell to fill the viewport. */
body:has(:is(#company-app,#sales-app)){min-height:100vh}
body,.platform-shell{
  --line:var(--border);--surface-2:var(--raised);--ink:var(--text);--navy:var(--text);
  --academy-paper:var(--bg);--academy-ink:var(--text);--academy-muted:var(--muted);--academy-accent:var(--accent);
  --native-paper:var(--bg);--native-ink:var(--text);--native-muted:var(--muted);--native-purple:var(--accent);
  --studio-bg:var(--bg);--studio-panel:var(--surface);--studio-raised:var(--raised);--studio-field:var(--input);
  --studio-border:var(--border);--studio-text:var(--text);--studio-muted:var(--muted);--studio-accent:var(--accent);--studio-selected:var(--selected);
  --stage-canvas-bg:var(--bg);--stage-canvas-surface:var(--surface);--stage-canvas-border:var(--border);--stage-canvas-accent:var(--accent);
}
/* The existing immersive desk has a body override; align its palette without
   changing canvas bounds, panels, timeline or adopted script/art layouts. */
body:has(.film-immersive){
  --bg:#15161c;--rail:#111216;--surface:#1c1e26;--raised:#20222c;
  --input:#111216;--border:#343641;--text:#f4f3f8;--muted:#a4a6b6;
  --accent:#c8b8ff;--accent-ink:#241a3d;--selected:#30283f;
}
.platform-shell.film-immersive{
  --bg:#15161c;--rail:#111216;--surface:#1c1e26;--raised:#20222c;
  --input:#111216;--border:#343641;--text:#f4f3f8;--muted:#a4a6b6;
  --accent:#c8b8ff;--accent-ink:#241a3d;--selected:#30283f;
  --studio-accent:var(--accent);--stage-canvas-accent:var(--accent);--flow-accent:var(--accent);
}
.platform-shell,.platform-shell>.workspace{background:var(--bg);color:var(--text)}
.platform-shell.academy-shell>.academy-header{background:var(--rail);border-color:var(--border)}
.platform-shell .account-menu-panel,.platform-shell .platform-learning-menu[open]>.academy-learning-nav{background:var(--surface);box-shadow:0 18px 48px #08041166;border-color:var(--border)}
.platform-shell .nav-item.active,.platform-shell .account-menu-panel .nav-item:hover{color:var(--text)}
.platform-shell .avatar{background:var(--selected);color:var(--accent)}
body :where(button,input,select,textarea){font-family:var(--font)}
:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.primary,button.primary,.academy-shell .primary,.ai-native-home .primary,.native-reception-actions .primary{
  background:var(--accent);border-color:var(--accent);color:var(--accent-ink);box-shadow:none;
}
button.primary:hover,.academy-shell .primary:hover,.ai-native-home .primary:hover{background:#D3BFF0;border-color:#D3BFF0;color:var(--accent-ink)}
.secondary,.academy-shell .secondary{background:var(--surface);color:var(--text);border-color:var(--border);box-shadow:none}
.secondary:hover{background:var(--raised);border-color:#B39AC475}
.text-button{color:var(--accent)}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select{
  background:var(--input);color:var(--text);border-color:var(--border);
}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
input[readonly],textarea[readonly]{background:var(--surface)}
input:disabled,select:disabled,textarea:disabled{color:var(--muted);opacity:.65}
::selection{background:#B49AD866;color:var(--text)}
dialog{background:var(--surface);color:var(--text);border-color:var(--border);box-shadow:0 24px 90px #08041180}
dialog::backdrop{background:#08041199}
dialog :where(label,.muted,small){color:var(--muted)}
dialog :where(fieldset,.form-foot,.modal-head,.dialog-heading,.review-save){border-color:var(--border)}
dialog :where(.review-save,.detail-purchase){background:var(--surface)}
#toast,#message{background:var(--raised);color:var(--text);border:1px solid var(--border);box-shadow:0 8px 30px #08041166}
.login,.auth-page{color:var(--text)}
.login .login-box,.login.profile-gate{border-color:var(--border)}
.login .eyebrow,.login :where(.muted,small){color:var(--muted)}

/* Existing learning, profile, teaching and feedback views already use shared
   tokens. Keep their typography and task structure, with consistent surfaces. */
.platform-shell :where(.panel,.surface,.stat-grid>article,.metric-grid>article,.overview-stats>article,.growth-summary,.account-password,.cs-stat-row>div){border-color:var(--border);background:var(--surface);color:var(--text);box-shadow:none}
.platform-shell :where(.page-heading,.learner-tabs,.tabs,.academy-enrollment-tabs){border-color:var(--border)}
.platform-shell :where(.muted,.page-heading p,.account-password>p){color:var(--muted)}
.platform-shell :where(th,td){border-bottom-color:var(--border)}
.platform-shell :where(th,.account-role-group th){background:var(--rail);color:var(--muted)}
.platform-shell tbody tr:hover{background:var(--raised)}
.platform-shell :where(.account-menu-panel,.account-password,.course-editor,.training-workspace,.growth-student){min-width:0}

/* These standalone pages use .shell/.rail/.content, not .ops-shell. Scope to
   actual app roots, so white media, teaching illustrations and QR codes stay
   unmodified. The sales workspace shares the sales-app root. */
:is(#company-app,#exam-app,#sales-app){color:var(--text)}
:is(#company-app,#exam-app,#sales-app)>.shell{background:var(--bg)}
:is(#company-app,#exam-app,#sales-app) .rail{background:var(--rail);color:var(--text);border-right:1px solid var(--border)}
:is(#company-app,#exam-app,#sales-app) .wordmark{color:var(--text)}
:is(#company-app,#exam-app,#sales-app) .rail :where(.muted,.rail-foot a){color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) .rail nav button{color:var(--muted);background:transparent;border-color:transparent}
:is(#company-app,#exam-app,#sales-app) .rail nav button.active{background:var(--selected);color:var(--text)}
:is(#company-app,#exam-app,#sales-app) .rail nav button:hover{background:var(--raised);color:var(--text)}
:is(#company-app,#exam-app,#sales-app) .content{min-width:0;background:var(--bg);color:var(--text)}
:is(#company-app,#exam-app,#sales-app) :where(.topline,.eyebrow,.muted,small,label){color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) :where(.kpi,.card,.requirement){background:var(--surface);border-color:var(--border);box-shadow:none}
:is(#company-app,#exam-app,#sales-app) .kpi strong{color:var(--text)}
:is(#company-app,#exam-app,#sales-app) .kpi p{color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) :where(.requirement p,.weight span,.empty){color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) .empty h3{color:var(--text)}
:is(#company-app,#exam-app,#sales-app) a{color:var(--accent)}
:is(#company-app,#exam-app,#sales-app) :where(th,td){border-bottom-color:var(--border)}
:is(#company-app,#exam-app,#sales-app) th{background:var(--rail);color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) tbody tr:hover{background:var(--raised)}
:is(#company-app,#exam-app,#sales-app) :where(.detail-grid>div,.history){background:var(--input);border-color:var(--border)}
:is(#company-app,#exam-app,#sales-app) .history{background:transparent}
:is(#company-app,#exam-app,#sales-app) .tag{background:var(--raised);color:var(--muted)}
:is(#company-app,#exam-app,#sales-app) .tag.finalized{background:#9BD1B61A;color:#9BD1B6}
:is(#company-app,#exam-app,#sales-app) .tag.submitted{background:#C4ACE51A;color:var(--accent)}
:is(#company-app,#exam-app,#sales-app) :where(.tag.returned,.overdue,.preview-mark){color:#E8C18E}
:is(#company-app,#exam-app,#sales-app) .notice{background:#E8C18E0F;border-left-color:#E8C18E66;color:#DFCDAF}
:is(#company-app,#exam-app,#sales-app) .error{background:#E8A59B14;color:#F1B5AA}
body:has(:is(#company-app,#exam-app,#sales-app,#products-app)) :where(fieldset,.form-foot){border-color:var(--border)}
body:has(:is(#company-app,#exam-app,#sales-app,#products-app)) dialog .error{background:#E8A59B14;color:#F1B5AA}

/* Existing course catalogue, comparison, course detail and order confirmation.
   All product values, availability and payment handlers stay untouched. */
#products-app .commerce{color:var(--text);--offer-ink:var(--text);--offer-muted:var(--muted);--offer-accent:var(--accent);--offer-line:var(--border)}
#products-app .commerce-header,#products-app .commerce-footer{border-color:var(--border)}
#products-app .commerce-header>a,#products-app .commerce-header a,#products-app .commerce :where(h1,h2,h3){color:var(--text)}
#products-app .commerce :where(.commerce-heading p,.course-description,.course-label,.offer-label,.offer-promise,.offer-price small,.offer-facts dt,.offer-facts dd,.catalogue-note,.compare-status,.commerce-footer,.share-notice,.catalogue-terms,.back-link){color:var(--muted)}
#products-app .commerce :where(.course-card,.offer-card,.detail-purchase,.compare-scroll,.button-link){background:var(--surface);border-color:var(--border);color:var(--text);box-shadow:none}
#products-app .commerce .offer-ai{background:linear-gradient(145deg,#35234D70,var(--surface));border-color:#B399C866}
#products-app .commerce :where(.course-price,.offer-price,.detail-purchase>strong){color:var(--text)}
#products-app .commerce :where(.offer-wordmark,.offer-l1 .offer-wordmark,.offer-l2 .offer-wordmark,.offer-l3 .offer-wordmark){color:var(--accent)}
#products-app .commerce .offer-wordmark span{color:var(--muted)}
#products-app .commerce :where(.course-outcome,.offer-facts,.course-detail-hero,.detail-audience,.detail-section,.terms-section dl>div,.course-faq details,.compare-controls,.share-notice){border-color:var(--border)}
#products-app .commerce :where(.primary,.button-link.primary){background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
#products-app .commerce :where(.primary:hover,.button-link.primary:hover){background:#D3BFF0;border-color:#D3BFF0;color:var(--accent-ink)}
#products-app .commerce .compare-shortcuts button{background:var(--surface);color:var(--muted);border-color:var(--border)}
#products-app .commerce .compare-shortcuts button:hover{background:var(--raised);color:var(--text)}
#products-app .commerce .course-compare-table :where(th,td){border-bottom-color:var(--border);color:var(--text);background:var(--surface)}
#products-app .commerce .course-compare-table tr>:first-child{background:var(--rail);color:var(--muted)}
#products-app .commerce .course-compare-table thead th{background:var(--rail)}
#products-app .commerce .course-compare-table tbody tr:nth-child(even) td{background:#211635}
#products-app .commerce .course-compare-table thead :where(strong,b){color:var(--text)}
#products-app .commerce .course-compare-table thead th>span{color:var(--muted)}
#products-app .commerce .compare-empty{background:var(--surface);color:var(--muted)}
#products-app .commerce .phase-number{color:var(--accent)}
#products-app .commerce .delivery-outcome{color:var(--accent)!important}
#products-app .commerce .order-row{background:var(--surface);border-color:var(--border);color:var(--text)}
#products-app .commerce :where(.notice,.preview-banner){background:#E8C18E0F;color:#DFCDAF;border-color:#E8C18E66}
#products-app .commerce :where(.offer-actions a,.detail-purchase>a,.course-compare-table thead a){color:var(--accent)}
#products-app .commerce .offer-actions .button-link.primary{color:var(--accent-ink)}
@media(max-width:760px){
  body:has(:is(#company-app,#exam-app,#sales-app,#products-app)) :where(input,select,textarea){font-size:16px}
  :is(#company-app,#exam-app,#sales-app) :where(.toolbar,.heading,.actions){flex-wrap:wrap}
  :is(#company-app,#exam-app,#sales-app) .table-scroll{max-width:100%;overscroll-behavior-x:contain}
  #products-app .commerce-header{flex-wrap:wrap;gap:15px}
  #products-app .commerce-header nav{flex-wrap:wrap;gap:12px 16px}
}

/* Production controls share the same ink and violet surfaces. Media monitors
   keep their neutral viewing background; no editor dimensions are changed. */
.film-immersive :is(.film-topbar,.film-project-library,.film-edit-heading,.film-timeline-toolbar){background:var(--rail);border-color:var(--border)}
.film-immersive :is(.film-stage-content,.film-edit-inspector,.film-edit-bin,.mentor-functions){background:var(--surface);border-color:var(--border)}
.film-immersive .film-notes textarea{background:var(--input);border-color:var(--border)}
.film-immersive .mentor-functions button.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.film-immersive :is(button.primary,.primary){background:#7054cc;border-color:#7054cc;color:#fff}
.film-immersive :is(button.primary,.primary):hover{background:#8065d8;border-color:#8065d8;color:#fff}

/* Standalone pages share the original one-O identity. Dimensions only affect
   these brand links; the wordmark helper owns the original PCWISE crop. */
:is(#company-app,#exam-app,#sales-app) .wordmark{display:inline-flex;align-items:center;max-width:100%;line-height:1}
body:has(:is(#company-app,#exam-app,#sales-app,#products-app)) .standalone-platform-wordmark{width:152px;max-width:100%}
#products-app .commerce-brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;line-height:1}
#products-app .commerce-brand>small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);line-height:1.5}
@media(max-width:900px){
  body:has(:is(#company-app,#exam-app,#sales-app)) .standalone-platform-wordmark{width:136px}
}
@media(max-width:600px){
  body:has(:is(#company-app,#exam-app,#sales-app,#products-app)) .standalone-platform-wordmark{width:144px}
  #products-app .commerce-brand{gap:10px}
  #products-app .commerce-brand>small{font-size:11px}
}

/* Pixel review: short operations pages start at the navigation horizon, and
   account controls retain readable labels inside the existing dialog. */
:is(#company-app,#exam-app,#sales-app)>.shell>.content{align-self:start;margin:0 auto}
dialog:has(#account-form){scroll-padding-block:24px 112px}
#account-form .checkbox-row{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;text-align:left}
#account-form .checkbox-row>input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;padding:0}
#account-form .checkbox-row>span{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
#account-form .account-levels{gap:12px;flex-wrap:wrap}
#account-form .account-levels .checkbox-row{align-items:center;min-width:88px;gap:10px}
#account-form #account-levels>.stack-actions{flex-direction:row;flex-wrap:wrap;gap:8px;margin:8px 0 18px}
#account-form #account-levels>.stack-actions button{padding:7px 12px;min-height:36px;border:1px solid var(--border);border-radius:7px}
#account-form .account-save-note{margin-bottom:18px;scroll-margin-block-end:112px}
#account-form .account-save-bar{bottom:0;padding:14px 0;margin-top:18px;background:var(--surface)}
@media(max-width:600px){
  :is(#company-app,#exam-app,#sales-app) .rail-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}
  :is(#company-app,#exam-app,#sales-app) .rail-foot>div,:is(#company-app,#exam-app,#sales-app) .rail-foot>strong{grid-column:1/-1;grid-row:1}
  :is(#company-app,#exam-app,#sales-app) .rail-foot>:is(a,button){white-space:nowrap;justify-self:start;min-width:0}
  :is(#company-app,#exam-app,#sales-app) .topline{flex-direction:column;align-items:flex-start;gap:6px;line-height:1.6}
  :is(#company-app,#exam-app,#sales-app) .topline>span{max-width:100%;word-break:keep-all}
}

/* Full-page contact/profile, password and task-claim gates share this actual
   direct app root. Dialog login forms retain their own optical entry surface. */
#app>main.login{background:radial-gradient(ellipse at 72% 20%,#9C6AFF14 0,transparent 58%),#100A24}

/* Approved course-activities desktop layout; original workspace/voice controls are untouched. */
.platform-shell.ca-home-shell .workspace>.page{max-width:1680px;padding:16px 24px 56px!important}
.ca-home-shell .returning-home{max-width:none;background:transparent;gap:16px;padding-top:16px}
.ca-home-shell .rh-sidebar-title{font-size:12px;line-height:1.6;white-space:nowrap;font-weight:400;letter-spacing:0}
.ca-layout{grid-template-areas:"sidebar center progress";grid-template-columns:174px minmax(0,1fr) 286px;grid-template-rows:auto}
.ca-page.enrollment-page{max-width:none;padding:0;margin:0}
.ca-page .ce-heading nav{flex-wrap:wrap;justify-content:flex-end}
.ca-page .ce-heading nav button{font-size:11px;padding:6px 9px;min-height:32px}
.ca-management{display:flex;gap:18px;margin-top:24px;font-size:12px;flex-wrap:wrap}
.ca-management button{font:inherit;background:none;border:0;padding:0;color:inherit}
.ca-cover-type{display:grid;place-items:center;height:100%;min-height:166px;background:#202b33;color:#c4d8d3;font-size:24px}
.ca-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
/* Center-only proposal: all original rail and header rules remain in original.css. */
.ce-center{grid-area:center;min-width:0;padding-bottom:90px;color:#f1eef9}
.ce-center :where(h1,h2,h3,p){margin:0}
.ce-center :where(a,button){font:inherit;text-decoration:none}
.ce-center :where(a,button):focus-visible{outline:2px solid #8dd5ca;outline-offset:4px}
.ce-center .ce-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;min-height:54px}
.ce-center .ce-heading h1{font-size:27px!important;font-weight:550!important;line-height:1.3!important;letter-spacing:-.025em!important;margin:0!important}
.ce-center .ce-heading p{font-size:12px;color:#aeb2be;margin-top:6px;line-height:1.5}
.ce-heading nav{display:flex;gap:10px}
.ce-heading nav button,.ce-heading>button{padding:7px 12px;min-height:36px;background:transparent;color:#b5bac5;border:1px solid #424651;border-radius:8px;font-size:12px}
.ce-center .ce-featured{position:relative;isolation:isolate;overflow:hidden;min-height:276px;border-radius:14px;background:#0d1218;border:1px solid #4a53604d}
.ce-featured-image,.ce-featured-shade{position:absolute;inset:0;z-index:-2}
.ce-featured-image img{width:100%;height:100%;object-fit:cover;object-position:72% 48%;display:block}
.ce-featured-shade{z-index:-1;background:linear-gradient(90deg,#10151dfc 0%,#10151de6 26%,#10151d75 53%,#10151d05 82%),linear-gradient(0deg,#10151d8c,transparent 55%)}
.ce-center .ce-featured-copy{padding:27px 30px 25px;max-width:70%}
.ce-center .ce-kicker{font-size:11px;font-weight:450;line-height:1.5;color:#b9cbc9}
.ce-center .ce-featured h2{font-size:34px!important;line-height:1.18!important;font-weight:620!important;letter-spacing:-.035em!important;margin:14px 0 12px!important;color:#f3f7fa!important}
.ce-center .ce-featured-copy>p{font-size:13px;line-height:1.6;color:#c5cdd4;margin:0 0 18px}
.ce-center .ce-main-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:39px;padding:10px 16px;background:#b9ded7;color:#182b2b;border:1px solid #b9ded7;border-radius:8px;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer}
.ce-center .ce-main-button:hover{background:#d2eee8}
.ce-center .ce-main-button:disabled{cursor:default;opacity:.65}
.ce-featured-meta{display:inline-block;font-size:11px;color:#aab7c0;margin-left:15px;line-height:1.5}
.ce-featured-switch{position:absolute;right:22px;bottom:18px;display:flex;gap:7px;align-items:center}
.ce-featured-switch button{width:7px;height:7px;min-height:0;padding:0;border:0;border-radius:50%;background:#ffffff5c}
.ce-featured-switch button[aria-current=true]{width:22px;border-radius:4px;background:#d7e8e6}
.ce-center .ce-explore{margin-top:26px}
.ce-center .ce-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.ce-center .ce-section-heading h2{font-size:17px!important;font-weight:550!important;line-height:1.5!important;margin:0!important}
.ce-section-heading>span{font-size:11px;color:#959ba8}
.ce-categories{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.ce-categories button{border:1px solid transparent;border-radius:7px;background:transparent;color:#9fa6b4;font-size:11px;padding:6px 9px;min-height:30px}
.ce-categories button[aria-pressed=true]{background:#273132;color:#c6e4de;border-color:#6b9e9433}
.ce-categories button:hover{color:#ecf4f2;background:#ffffff09}
.ce-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ce-card{min-width:0;overflow:hidden;border-radius:12px;background:#1c1e26;border:1px solid #3b3e4a}
.ce-card>a{display:block;height:100%;color:inherit}
.ce-card:hover{border-color:#78898b;background:#20252c}
.ce-card-image{position:relative;height:166px;overflow:hidden;background:#111820}
.ce-card-image>img{width:100%;height:100%;object-fit:cover;display:block;object-position:42% 40%}
.ce-card:nth-child(2) .ce-card-image>img{object-position:40% 35%}
.ce-card-tag{position:absolute;left:10px;bottom:10px;padding:4px 7px;background:#10151ad9;border:1px solid #ffffff29;color:#c6cdd5;border-radius:5px;font-size:10px;line-height:1.3;backdrop-filter:blur(6px)}
.ce-card-copy{padding:15px 14px 13px}
.ce-center .ce-card h3{font-size:17px;font-weight:550;color:#f0edf6;line-height:1.4;margin:0 0 7px;letter-spacing:-.02em}
.ce-center .ce-card p{font-size:11px;color:#a3aab7;line-height:1.6;min-height:36px}
.ce-card-foot{display:flex;justify-content:space-between;gap:7px;align-items:center;margin-top:14px;font-size:10px;color:#919aa7;border-top:1px solid #41465275;padding-top:10px}
.ce-card-foot>span:last-child{display:inline-flex;align-items:center;gap:6px;color:#c0cbc9}
.ce-card-foot svg{width:14px;height:14px}
.ce-activities{margin-top:27px}
.ce-center .ce-activity-strip{display:flex;align-items:center;gap:20px;min-height:134px;border:1px solid #3b414b;background:#1b2027;border-radius:12px;overflow:hidden;color:inherit}
.ce-activity-strip>img{width:205px;height:134px;object-fit:cover;flex:none}
.ce-activity-strip>div{min-width:0}
.ce-activity-strip>div>span{font-size:10px;color:#86bcb3}
.ce-center .ce-activity-strip h3{font-size:19px;margin:8px 0 6px;color:#efedf4;font-weight:550}
.ce-center .ce-activity-strip p{font-size:12px;color:#a1aab7;line-height:1.5}
.ce-activity-action{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;margin:0 22px 0 auto;color:#bed6cf}
.ce-center .ce-prototype-note{font-size:10px;color:#777f8e;line-height:1.7;margin-top:20px}
.ce-center .ce-empty{padding:35px 25px;background:#1b1e26;border:1px solid #3b414b;border-radius:12px;color:#a6adba;line-height:1.8;font-size:14px}
.ce-center .ce-empty h2{font-size:20px;margin-bottom:10px}
.ce-center .ce-empty p{font-size:13px;color:#a2a9b7}
/* Detail is another center state; both rails stay mounted. */
.ce-breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#8e98a7;margin:3px 0 20px}
.ce-breadcrumb button{background:none;border:0;color:#c4d7d2;padding:0;min-height:28px;font-size:12px}
.ce-detail-hero{position:relative;isolation:isolate;min-height:290px;overflow:hidden;border-radius:14px;background:#111821}
.ce-detail-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% 40%;z-index:-2}
.ce-detail-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#111820f5,#111820b0 45%,#11182015),linear-gradient(0deg,#11182070,transparent)}
.ce-detail-hero>div:last-child{padding:45px 32px;max-width:85%}
.ce-center .ce-detail-hero h1{font-size:35px!important;line-height:1.28!important;font-weight:600!important;letter-spacing:-.035em!important;margin:18px 0 16px!important;max-width:18em}
.ce-center .ce-detail-hero p{font-size:15px;color:#d0d9df;line-height:1.6}
.ce-detail-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px;padding-bottom:30px;border-bottom:1px solid #3d434f}
.ce-center .ce-detail-intro p{font-size:14px;color:#b1b8c5;line-height:1.9;max-width:66ch}
.ce-detail-intro button{white-space:nowrap;flex:none}
.ce-detail-section{padding:30px 0;border-bottom:1px solid #373e49}
.ce-center .ce-detail-section h2{font-size:22px!important;line-height:1.4!important;font-weight:550!important;margin:0 0 18px!important}
.ce-center .ce-detail-section p{font-size:14px;color:#aeb7c4;line-height:1.9}
.ce-center .ce-detail-outcome{font-size:19px!important;color:#dce3e9!important}
.ce-detail-facts{display:grid;gap:15px}.ce-detail-facts>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:22px}
.ce-detail-facts span{font-size:12px;color:#83978f;padding-top:3px}
.ce-detail-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ce-detail-phases>div>span{font-size:12px;color:#96c7bc}
.ce-center .ce-detail-phases h3{font-size:16px;font-weight:500;margin:13px 0 9px;line-height:1.5}
.ce-center .ce-detail-phases p{font-size:12px;line-height:1.9}
.ce-detail-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px}
.ce-detail-bottom button{flex:none}.ce-back{margin-top:22px;background:transparent;border:1px solid #45515b;padding:10px 16px;color:#c3d1ce;font-size:13px;border-radius:8px}
@media(max-width:1100px){.ca-layout{grid-template-columns:174px minmax(0,1fr);grid-template-areas:"sidebar center" "sidebar progress"}.ca-layout>.rh-progress{position:static}.ce-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ca-layout{display:flex;flex-direction:column}.ca-layout>.rh-sidebar{position:static;min-height:0;width:100%}.ca-layout>.ce-center{width:100%}.ce-product-grid,.ca-event-grid{grid-template-columns:1fr}.ce-heading{flex-wrap:wrap}.ce-featured-copy{max-width:100%!important}.ce-detail-intro,.ce-detail-bottom{flex-wrap:wrap}}
.ce-card-copy>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ce-featured-copy>p{max-width:36em}

.ce-center .ce-featured-switch button{width:7px;height:7px;min-width:7px;min-height:7px;padding:0;border:0;border-radius:50%;background:#ffffff5c}
.ce-center .ce-featured-switch button[aria-current=true]{width:22px;border-radius:4px;background:#d7e8e6}
.ce-center .ce-categories button{min-height:30px;padding:6px 9px;border-radius:7px;font-size:11px;background:transparent;border:1px solid transparent}
.ce-center .ce-categories button[aria-pressed=true]{background:#273132;border-color:#6b9e9433;color:#c6e4de}


/* film-mobile-creation.css */
/* An ordinary fragment link reaches the existing mentor without sending a question. */
.film-mobile-mentor-link{display:none}
@media(max-width:700px){
 .platform-shell.film-immersive:has(.academy-learning-layout .film-editor:is([data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock>.mentor-docked){position:fixed;inset:0;width:100%;height:100dvh}
 body:has(.academy-learning-layout .film-editor:is([data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock>.mentor-docked) .film-mobile-mentor-link{
  position:fixed;z-index:50;inset:auto 0 0;min-height:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid #494055;background:#201c28;color:#eee6f7;font-size:14px;font-weight:600;text-decoration:none
 }
 body:has(.academy-learning-layout .film-editor:is([data-stage=art],[data-stage=storyboard])):has(#academy-mentor-dock>.mentor-docked) .platform-shell.film-immersive>.workspace{height:calc(100dvh - 48px - env(safe-area-inset-bottom,0px))!important}
 .film-mobile-mentor-link:focus-visible{outline:2px solid #d8c6f2;outline-offset:-3px}
 /* The scene rail and scene list remain available but no longer push the
    selected-shot controls below every scene in the project. */
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-context-sidebar{max-height:132px;overflow-y:auto;overscroll-behavior:contain}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard{display:flex;flex-direction:column;padding-right:0}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard>.film-board-heading{order:0}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard>.film-archive-toolbar{order:1}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard>.film-v16-composer-drawer{order:2}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard>.film-scene-board{order:3;max-height:38vh;overflow-y:auto;overscroll-behavior:contain}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-storyboard>.film-v16-board-details{order:4}
 /* On phones, wrap the actual controls instead of placing them in a hidden
    horizontal strip: every option and the generation button stays reachable. */
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .film-director-generate{flex-wrap:wrap;overflow-x:visible;gap:8px;min-width:0}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .film-director-prompt-tools{flex:1 1 100%;min-width:0;flex-wrap:wrap;justify-content:flex-start;gap:2px}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .film-director-prompt-tools>button,
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .film-compact-upload{height:auto;min-height:40px}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .image-output-controls{flex:1 1 100%;min-width:0;flex-wrap:wrap}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .image-output-controls small{white-space:normal;overflow-wrap:anywhere;text-align:left}
 .academy-shell.film-immersive .film-editor[data-stage=storyboard] .film-v16-shot-composer .film-director-cost{margin-left:0}
}


/* art-mentor-floating.css */
/* Art-only presentation: one existing mentor instance, no duplicate dialog. */
.xiaoying-guide.xiaoying-art-float{width:270px;max-width:calc(100vw - 16px);color:#f1edf7}
.xiaoying-guide.xiaoying-art-float.xiaoying-idle-compact{width:270px}
.xiaoying-guide.xiaoying-art-float:has([data-xiaoying="collapse"][aria-expanded="false"]){width:98px}
.xiaoying-guide.xiaoying-art-float>header{height:auto;min-height:54px;display:flex;align-items:center;gap:3px;padding:5px 7px;border:1px solid #494152;border-radius:28px;background:#211d28;box-shadow:0 10px 28px #0008;box-sizing:border-box}
.xiaoying-guide.xiaoying-art-float .xiaoying-handle{flex:0 0 42px;width:42px;height:42px;cursor:grab;touch-action:none}
.xiaoying-guide.xiaoying-art-float .xiaoying-handle:active{cursor:grabbing}
.xiaoying-guide.xiaoying-art-float header>button:not(.xiaoying-handle),.xiaoying-guide.xiaoying-art-float .mentor-voice-tools button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:4px;border:0;border-radius:18px;background:transparent;color:#e7dfef;box-shadow:none;white-space:nowrap;font-size:13px}
.xiaoying-guide.xiaoying-art-float header button:hover,.xiaoying-guide.xiaoying-art-float header button:focus-visible{background:#41394b;outline:2px solid #c3add9;outline-offset:0}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-input{padding:5px 9px!important;background:#3a3143!important}
.xiaoying-guide.xiaoying-art-float .mentor-voice-tools{display:flex;align-items:center;gap:3px;max-width:130px}
.xiaoying-guide.xiaoying-art-float .mentor-voice-tools button:disabled{opacity:.45}
.xiaoying-guide.xiaoying-art-float .mentor-voice-tools span{font-size:11px}
.xiaoying-guide.xiaoying-art-float header svg,.xiaoying-art-bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble{display:block;margin-top:7px;padding:10px;background:#211d28;border:1px solid #494152;border-radius:14px;box-shadow:0 10px 28px #0008}
.xiaoying-guide.xiaoying-art-float textarea{box-sizing:border-box;width:100%;min-height:70px!important;margin-top:0;padding:9px;border:1px solid #50485c;border-radius:8px;background:#16141b;color:#f6f2fa;resize:vertical}
.xiaoying-guide.xiaoying-art-float form>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.xiaoying-guide.xiaoying-art-float form>div:last-child button{min-height:36px;padding:5px 10px}
.xiaoying-guide.xiaoying-art-float [data-mentor-draft-warning]{margin-bottom:7px;color:#f0cc9d;line-height:1.45;font-size:12px}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status{position:absolute;bottom:calc(100% + 8px);left:0;right:0;display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border:1px solid #4d4457;border-radius:12px;background:#292431;box-shadow:0 8px 22px #0007;line-height:1.5;font-size:13px;overflow-wrap:anywhere}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-bell{flex:none;min-width:22px;min-height:22px;padding:1px;border:0;background:transparent}
body:has(.xiaoying-art-float:not([hidden])) .platform-shell.film-immersive .academy-learning-layout:has(.film-editor[data-stage=art]){display:block!important;height:100%;overflow:hidden}
body:has(.xiaoying-art-float:not([hidden])) .platform-shell.film-immersive .academy-learning-layout:has(.film-editor[data-stage=art])>.academy-page-content{height:100%;min-height:0}
body:has(.xiaoying-art-float:not([hidden])) .platform-shell.film-immersive .academy-learning-layout:has(.film-editor[data-stage=art])>#academy-mentor-dock{display:none!important}
body:has(.xiaoying-art-float:not([hidden])):has(.film-editor[data-stage=art]) .film-mobile-mentor-link{display:none!important}
@media(max-width:600px){.xiaoying-guide.xiaoying-art-float,.xiaoying-guide.xiaoying-art-float.xiaoying-idle-compact{width:250px;max-width:calc(100vw - 16px)}.xiaoying-guide.xiaoying-art-float .xiaoying-bubble{padding:8px}.xiaoying-guide.xiaoying-art-float textarea{font-size:16px!important}}
.xiaoying-guide.xiaoying-art-float>header{flex-wrap:wrap}
.xiaoying-guide.xiaoying-art-float .mentor-voice-tools{max-width:none;flex-wrap:wrap}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status{max-height:min(220px,35vh);overflow-y:auto}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status>span>span:first-child{white-space:pre-wrap}
.xiaoying-guide.xiaoying-art-float.xiaoying-status-below .xiaoying-art-status{bottom:auto;top:calc(100% + 8px)}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-history{flex:none;border:0;background:transparent;color:#d2c0ec;font-size:12px;min-height:24px;padding:2px 3px}
.xiaoying-guide.xiaoying-art-float .mentor-voice-pending{max-height:150px;overflow:auto;padding:7px;margin-bottom:8px;border:1px solid #66566e;border-radius:7px;font-size:12px}
.xiaoying-guide.xiaoying-art-float .mentor-voice-pending p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}

/* Keep the input separate from the draggable mentor control group. */
.xiaoying-guide.xiaoying-art-float>header{gap:8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex-wrap:nowrap}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group{display:inline-flex;align-items:center;gap:3px;min-height:48px;padding:3px 6px;border:1px solid #494152;border-radius:999px;background:#211d28;box-shadow:0 10px 28px #0008;box-sizing:border-box}
.xiaoying-guide.xiaoying-art-float header>.xiaoying-art-input{flex:0 0 44px;width:44px;height:44px;min-width:44px!important;min-height:44px!important;padding:0!important;border:1px solid #494152!important;border-radius:50%!important;background:#30283f!important;box-shadow:0 10px 28px #0008!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:not(.xiaoying-handle){display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:4px;border:0;border-radius:18px;background:transparent;color:#e7dfef;box-shadow:none;white-space:nowrap;font-size:13px}
@media(max-width:400px){.xiaoying-guide.xiaoying-art-float>header{gap:5px}.xiaoying-guide.xiaoying-art-float .xiaoying-float-group{gap:0;padding:3px 4px}.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:not(.xiaoying-handle){min-width:30px}}

/* Keep add/remove controls reachable while many references scroll in place. */
.film-v16-art-references .film-art-reference-strip{display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:calc(100% - 112px);overflow-x:auto;padding:5px 6px 5px 0}
.film-v16-art-references .film-v16-art-reference{flex:0 0 40px}
.film-v16-art-references > button,.film-v16-art-references > label,.film-v16-art-references > small{flex:0 0 auto}

/* An independent image reference shelf beside the image workspace. */
.film-v16-art.film-v16-art--top-nav.film-v16-art--reference-shelf{grid-template-columns:var(--studio-library-width,208px) minmax(0,1fr)}
.film-v16-art.film-v16-art--reference-shelf[data-reference-shelf-collapsed="true"]{grid-template-columns:44px minmax(0,1fr)}
.film-art-reference-shelf{min-width:0;min-height:0;height:100%;overflow:auto;padding:10px 8px;background:var(--studio-surface,#1b1d27);border-right:1px solid var(--border,#353742);scrollbar-width:thin}
.film-art-reference-shelf>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 4px 10px;font-size:13px;white-space:nowrap}
.film-art-reference-shelf>header>button{flex:0 0 30px;min-width:30px!important;min-height:30px!important;padding:0!important;border:0;background:transparent;color:inherit;font-size:20px}
.film-art-reference-shelf.is-collapsed{padding:10px 6px}
.film-art-reference-shelf.is-collapsed>header{justify-content:center;padding:0}
.film-art-reference-shelf.is-collapsed>header>strong,.film-art-reference-shelf.is-collapsed .film-art-reference-shelf-body{display:none}
.film-art-reference-shelf-body>label{display:block;margin-bottom:7px}
.film-art-reference-shelf-body :is(select,input){width:100%;min-width:0;min-height:32px;padding:4px 7px;font-size:12px}
.film-art-reference-shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 6px;align-content:start}
.film-art-reference-shelf-item{position:relative;min-width:0;cursor:grab}
.film-art-reference-shelf-item[hidden],.film-art-reference-shelf-empty[hidden]{display:none!important}
.film-art-reference-shelf-thumb{display:block;width:100%;aspect-ratio:1;min-height:0!important;padding:0!important;overflow:hidden;border:1px solid var(--border,#353742);border-radius:7px;background:#15161d}
.film-art-reference-shelf-thumb img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.film-art-reference-shelf-name{display:block;overflow:hidden;margin-top:3px;padding-right:20px;color:var(--studio-muted,#aaaab7);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.film-art-reference-shelf-add{position:absolute;right:0;bottom:0;width:20px;min-width:20px!important;height:20px;min-height:20px!important;padding:0!important;border:0;border-radius:5px;background:#30313f;color:#fff;line-height:20px}
.film-art-reference-shelf-empty{color:var(--studio-muted,#aaaab7);font-size:12px;line-height:1.5}
@media(max-width:700px){.film-v16-art.film-v16-art--top-nav.film-v16-art--reference-shelf{grid-template-columns:120px minmax(0,1fr)}.film-v16-art.film-v16-art--reference-shelf[data-reference-shelf-collapsed="true"]{grid-template-columns:38px minmax(0,1fr)}.film-art-reference-shelf{padding:8px 6px}.film-art-reference-shelf-grid{gap:6px 4px}.film-art-reference-shelf-name{font-size:10px}}

/* Project controls sit with the project name in each module. */
.film-workspace-topbar .film-project-summary{display:flex;align-items:center;min-width:0}
.film-workspace-topbar .film-project-actions{flex:none}
.film-project-actions>.film-editor-toolbar{left:0;right:auto}
.film-project-actions .film-professional-mobile{display:flex!important}
@media(max-width:700px){.film-workspace-topbar .film-project-summary{gap:3px;min-width:0}.film-workspace-topbar .film-project-summary .film-project-switch{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-project-actions>.film-editor-toolbar{left:0;max-width:calc(100vw - 20px)}}

/* One project asset browser; post retains its existing side position. */
.film-post-library.film-art-reference-shelf{height:100%;min-height:0;overflow:auto}
.film-art-reference-shelf .film-asset-kind{position:absolute;right:5px;bottom:5px;color:#fff;text-shadow:0 1px 4px #000;pointer-events:none;font-size:13px}
.film-art-reference-shelf-thumb{position:relative}
.film-art-reference-shelf .film-art-reference-shelf-name{padding-right:0}
.film-art-reference-shelf .film-material-menu{position:absolute;right:2px;top:2px}
.film-asset-import{display:block;padding:8px 4px;font-size:12px;cursor:pointer}
.film-art-reference-shelf .film-library-audio{display:grid;place-items:center;height:100%;font-size:25px}
/* Post has dock titles already; keep media controls and track tools compact. */
.academy-shell.film-immersive .film-editor[data-stage=post] .film-program{position:relative}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-program>header{position:absolute;top:6px;right:8px;z-index:5;margin:0;padding:0;min-height:0;background:transparent}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-monitor-modes{display:flex;gap:3px;padding:2px;border-radius:8px;background:var(--surface)}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-monitor-modes>button{width:28px;min-width:28px;min-height:28px;height:28px;padding:2px;font-size:16px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-cut-transport{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin:0;padding:3px 0;min-height:30px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-cut-transport>button{height:28px;min-height:28px;min-width:28px;padding:2px 5px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-cut-transport>#film-cut-seek{flex:1 1 80px;width:auto;min-width:30px;margin:0;height:20px;min-height:20px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-timeline-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;overflow-x:auto;min-height:32px;margin:0;padding:2px 5px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-timeline-toolbar button,.academy-shell.film-immersive .film-editor[data-stage=post] .film-track-controls>details>summary{height:28px;min-height:28px;white-space:nowrap;padding:3px 6px;font-size:12px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-track-controls{display:flex;flex-wrap:nowrap;flex:0 0 auto;align-items:center;gap:4px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-monitor-source-controls{padding:2px 0 0}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-strip{height:14px;margin:0 9px 3px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-strip>button{height:17px;min-height:17px;line-height:14px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-tools{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;overflow-x:auto;min-height:30px}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-tools>label{display:flex;align-items:center;gap:3px;flex:0 0 auto;margin:0;width:auto}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-tools input[type=number]{width:74px!important;height:26px!important;min-height:26px!important;padding:2px 4px!important;margin:0}
.academy-shell.film-immersive .film-editor[data-stage=post] #film-source-seek{flex:1 1 90px;min-width:50px;width:auto;padding:0!important;height:20px;min-height:20px;margin:0}
.academy-shell.film-immersive .film-editor[data-stage=post] .film-source-tools button{min-height:26px;height:26px;white-space:nowrap;padding:2px 5px!important}
.film-track-heading{position:relative}
.film-track-height-handle{position:absolute;left:0;right:0;bottom:-3px;height:7px;z-index:8;cursor:ns-resize;touch-action:none;outline:none}
.film-track-height-handle:hover,.film-track-height-handle:focus-visible{background:var(--accent);opacity:.65}


/* film-art-floating-composer.css */
/* The existing editor is visually positioned alongside 小映, never cloned. */
.film-art-floating-heading,.film-art-floating-empty{display:none}
body:has(.xiaoying-guide.xiaoying-art-float:not([hidden])) .film-editor:is([data-stage=art],[data-stage=storyboard]) .film-v16-art-composer{display:none}
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer]{display:block!important;position:fixed;z-index:54;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;margin:0;padding:14px;border:1px solid #514859;border-radius:14px;background:#1b1a21;box-shadow:0 12px 40px #0009;color:var(--text)}
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]) .film-art-floating-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.film-art-floating-heading strong{font-size:14px;color:var(--text)}
body.film-art-floating-open .film-art-floating-heading{cursor:grab;touch-action:none;user-select:none}
body.film-art-floating-open .film-art-floating-heading:active{cursor:grabbing}
.xiaoying-float-group,.course-float-group{cursor:grab;touch-action:none}
.xiaoying-float-group:active,.course-float-group:active{cursor:grabbing}
.film-art-floating-heading button{min-width:32px;min-height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:21px;cursor:pointer}
.film-art-floating-empty p{margin:4px 0;color:var(--muted);font-size:14px;line-height:1.6}
@media(max-width:700px){body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer]{max-height:calc(100dvh - 32px)} .film-art-floating-heading button{min-width:40px;min-height:40px}}
.film-v16-art-card{position:relative}
.academy-shell.film-immersive .film-v16-art-card.is-selected>button[data-film-entity]{border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}
.academy-shell.film-immersive .film-v16-art-card>button.film-art-card-zoom{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0!important;border:1px solid #ffffff44;border-radius:6px;background:#17141bcc;color:#fff;font-size:18px}
.film-art-card-tags{display:flex;flex-wrap:nowrap;gap:4px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 10px 9px;scrollbar-width:thin}
.film-art-card-tags span{flex:0 0 auto;white-space:nowrap;padding:2px 6px;border-radius:4px;background:#37303e;color:#d7c8e8;font-size:11px}
.film-v16-art-composer .film-v16-art-settings{margin:0 0 8px}
.film-v16-art-composer .film-v16-art-settings-panel{position:static!important;width:auto!important;max-height:none!important;margin-top:8px;padding:10px;box-shadow:none}

/* Course art keeps its existing lesson mentor and draft. Reuse the same
   composer as a compact panel anchored to that mentor's input control. */
.course-art-compose-button{display:none!important}
body:has(.course-workspace-shell .film-editor:is([data-stage=art],[data-stage=storyboard])) .course-art-compose-button{display:inline-flex!important;align-items:center;justify-content:center;min-width:42px;min-height:36px;border:1px solid #514859;border-radius:8px;color:var(--text);background:#30283f;cursor:pointer}
body:has(.course-workspace-shell .film-editor) .xiaoying-guide{display:none!important}
body:has(.course-workspace-shell .film-editor:is([data-stage=art],[data-stage=storyboard])) .film-editor:is([data-stage=art],[data-stage=storyboard]) .film-v16-art-composer{display:none}
body.film-art-floating-open:has(.course-workspace-shell .film-editor:is([data-stage=art],[data-stage=storyboard])) .film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer]{display:block!important}
/* In course art, move the existing lesson mentor intact; script and other
   stages continue to use their established course layout. */
.course-art-drag,.course-art-expand,.course-chat-input,.course-art-voice,.course-art-sound,.course-art-notices{display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-workspace-layout{grid-template-columns:minmax(0,1fr)!important}
#app .course-workspace-shell:has(.film-editor) .course-teaching-knowledge.course-art-floating{position:fixed!important;position-anchor:auto!important;inset:auto!important;z-index:53!important;width:max-content!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;box-sizing:border-box!important;margin:0!important;padding:0!important;border:1px solid #514859!important;border-radius:14px!important;overflow:visible!important;background:#1b1a21!important;box-shadow:0 12px 40px #0009}
#app .course-workspace-shell:has(.film-editor) .course-teaching-knowledge.course-art-floating.course-art-expanded{width:min(360px,calc(100vw - 16px))!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-teaching-mentor{width:auto!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important;padding:8px!important;border:0!important;gap:8px!important;background:transparent!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-mentor-bar{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;padding:0!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-drag,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-expand,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-chat-input,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-voice,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-sound,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-notices{display:inline-flex!important;align-items:center;gap:5px}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-drag{touch-action:none}
#app .course-workspace-shell:has(.film-editor:is([data-stage=art],[data-stage=storyboard])) .course-art-floating .course-chat-input{display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-drag .native-mentor-ring{width:28px!important;height:28px!important;margin:0!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-mentor-identity{display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating:not(.course-art-expanded) .course-teaching-mentor> :not(.course-mentor-bar):not(.course-art-live-status){display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating:not(.course-art-expanded) .course-mentor-bar> :not(.course-art-drag):not(.course-art-compose-button):not(.course-art-expand):not(.course-player-play):not(.course-chat-input):not(.course-art-voice):not(.course-art-sound):not(.course-art-notices):not(.course-float-group){display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-teaching-mentor .course-mentor-panel{display:flex!important;position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:45dvh!important;overflow:hidden!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-mentor-scroll{min-height:50px!important;max-height:25dvh!important;overflow:auto!important}

#app .course-art-floating .course-art-voice .course-voice-menu-content{position:fixed;bottom:auto;right:auto;z-index:56;max-width:calc(100vw - 16px)}
#app .course-art-floating .course-art-voice .native-voice-tools{display:flex;gap:4px;align-items:center}
#app .course-art-floating .course-art-voice .native-voice-tools small{display:none}

#app .course-art-floating .course-art-live-status{max-width:300px;padding:5px 9px;border-radius:7px;background:#30283f;color:#e7e0ef;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .course-art-floating .course-art-voice .native-auto-speak{display:none!important}

/* Separate the input, mentor controls and teaching-only playback visually. */
.course-float-group{display:contents}
#app .course-workspace-shell:has(.film-editor) .course-teaching-knowledge.course-art-floating{border:0!important;background:transparent!important;box-shadow:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-teaching-mentor{padding:0!important;overflow:visible!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-mentor-bar{display:flex!important;align-items:center!important;gap:8px!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group{display:inline-flex!important;align-items:center;gap:3px;flex:none;min-height:44px;padding:3px 6px;border:1px solid #514859;border-radius:999px;background:#211d28;box-shadow:0 10px 28px #0008;box-sizing:border-box}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group button,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group summary{border:0!important;background:transparent!important;box-shadow:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-compose-button,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-chat-input,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-player-play{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:1px solid #514859!important;border-radius:50%!important;background:#30283f!important;box-shadow:0 10px 28px #0008!important;justify-content:center!important}
#app .course-workspace-shell[data-course-mode=creation]:has(.film-editor) .course-art-floating .course-player-play{display:none!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-lesson-script,#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-mentor-panel{background:#211d28;border:1px solid #514859;border-radius:12px;padding:8px}
@media(max-width:400px){#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-mentor-bar{gap:5px!important}#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group{gap:0;padding:2px 4px}#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group button,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group summary{min-width:28px!important;padding:2px 4px!important}}
/* Extra course information belongs below, never after the separated play control. */
#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-mentor-bar{flex-wrap:wrap!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating.course-art-expanded .course-current-point{flex:1 0 100%;min-width:0;white-space:normal}

/* Shared workspace identity and account navigation. The lesson mode controls
   occupy this same first row, while stage tools stay in the existing topbar. */
.platform-shell.film-immersive{grid-template-rows:46px minmax(0,1fr)!important}
.platform-shell.film-immersive>.academy-header{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center;height:46px;min-height:46px;padding:0 14px!important;gap:0!important;z-index:45}
.platform-shell.film-immersive>.academy-header>.teaching-nav,.platform-shell.film-immersive>.academy-header>.top-actions,.platform-shell.film-immersive>.academy-header>.preview-environment{display:none!important}
.platform-shell.film-immersive .academy-header .brand.workspace-brand{display:flex!important;align-items:center;gap:12px;white-space:nowrap;color:var(--studio-text);font-size:14px;font-weight:600;line-height:1}
.platform-shell.film-immersive .academy-header .brand.workspace-brand>.orbital-wordmark-identity{width:104px!important}
.platform-shell.film-immersive .academy-header .brand.workspace-brand>span:last-child{display:inline!important}
.platform-shell.film-immersive>.workspace{grid-column:1!important;grid-row:2!important;height:calc(100dvh - 46px)!important;min-height:0!important}
.platform-shell.film-immersive .course-workspace-modes{position:fixed;z-index:46;top:0;right:12px;height:46px;max-width:calc(100vw - 315px);padding:0;gap:4px;border:0;background:transparent}
.platform-shell.film-immersive .course-workspace-modes span{margin-right:8px;font-size:12px;max-width:260px}
.academy-shell.film-immersive .film-v16-module-rail{position:relative;overflow:visible}
.film-workspace-account{position:relative;margin-top:auto;z-index:70}
.film-workspace-account>summary{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:50%;background:var(--studio-raised);color:var(--studio-text);cursor:pointer;list-style:none}
.film-workspace-account>summary::-webkit-details-marker{display:none}
.film-workspace-account>summary:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}
.film-workspace-account>summary svg{width:22px;height:22px}
.film-workspace-account-menu{position:fixed;left:62px;bottom:12px;z-index:100;min-width:168px;padding:6px;border:1px solid var(--border);border-radius:9px;background:var(--studio-raised);box-shadow:0 12px 30px #0008}
.film-workspace-account-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:var(--studio-text);text-align:left;white-space:nowrap;cursor:pointer}
.film-workspace-account-menu button:hover,.film-workspace-account-menu button:focus-visible{background:var(--studio-selected);outline-color:var(--studio-accent)}
@media(max-width:700px){
 .platform-shell.film-immersive>.academy-header{padding:0 8px!important}
 .platform-shell.film-immersive .academy-header .brand.workspace-brand{gap:7px;font-size:11px}
 .platform-shell.film-immersive .academy-header .brand.workspace-brand>.orbital-wordmark-identity{width:77px!important}
 .platform-shell.film-immersive .course-workspace-modes{right:6px;max-width:calc(100vw - 200px)}
 .platform-shell.film-immersive .course-workspace-modes span{display:none}
 .platform-shell.film-immersive .course-workspace-modes button{padding:7px 8px}
 .academy-shell.film-immersive .film-v16-module-rail{overflow-x:auto;overflow-y:visible}
 .film-workspace-account{position:sticky;right:0;flex:0 0 46px;margin:0 0 0 auto;background:var(--studio-bg)}
 .film-workspace-account>summary{width:40px;height:40px}
 .film-workspace-account-menu{left:auto;right:8px;top:176px;bottom:auto}
}
@media(max-width:700px){
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-stage-skills){grid-template-columns:minmax(0,1fr) auto;grid-template-rows:38px 36px;height:84px;min-height:84px}
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-stage-skills)>.film-project-summary{grid-column:1;grid-row:1}
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-stage-skills)>.film-editor-menu{grid-column:2;grid-row:1}
 .platform-shell.film-immersive .film-workspace-topbar>.film-stage-skills{grid-column:1;grid-row:2;min-width:0;align-self:center}
 .platform-shell.film-immersive .film-workspace-topbar:not(:has(>.film-course-context))>.film-stage-skills{grid-column:1/-1}
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-stage-skills)>.film-course-context{grid-column:2;grid-row:2}
 .platform-shell.film-immersive .film-workspace-topbar:has(>.film-stage-skills):has(#film-save-status [data-film="retry-save"]){grid-template-rows:38px 36px 44px;height:128px;min-height:128px;padding-bottom:44px}
}
@media(max-width:900px){
 #app .course-workspace-shell:has(.course-art-floating) .course-workspace-layout>.film-editor{height:100%!important;min-height:0!important;flex:1 1 auto!important}
 #app .course-workspace-shell:has(.course-art-floating) .course-workspace-layout>.course-teaching-chrome{height:0;min-height:0;flex:0 0 0}
}

body .film-editor[data-stage=shots] [data-art-floating-composer]{display:none}
body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{display:block!important;position:fixed!important;z-index:54;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;margin:0!important;padding:14px;border:1px solid #514859;border-radius:14px;background:#1b1a21;box-shadow:0 12px 40px #0009;color:var(--text)}
body.film-art-floating-open .film-editor[data-stage=shots] .film-art-floating-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
body:has(.course-workspace-shell .film-editor[data-stage=shots]) .course-art-compose-button{display:inline-flex!important}
body:has(.course-workspace-shell .film-editor[data-stage=shots]) .course-chat-input{display:none!important}

body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{max-height:min(640px,calc(100dvh - 100px))}
.film-editor[data-stage=shots] .film-video-prompt{min-height:100px!important;max-height:180px;overflow:auto}
.film-character-profile label{display:grid;gap:6px;margin:10px 0}.film-character-profile textarea,.film-character-profile select{width:100%;box-sizing:border-box}
.academy-shell.film-immersive .film-scene-video-clips .film-shot-summary{display:flex!important;flex-direction:column;align-items:stretch!important;gap:8px;padding:8px!important;height:auto!important;min-height:0!important;text-align:left;border-radius:14px}
.academy-shell.film-immersive .film-scene-video-clips .film-shot-summary>div{display:grid!important;place-items:center;width:100%!important;height:auto!important;aspect-ratio:16/9!important;min-height:0!important;position:relative;border-radius:10px;overflow:hidden}
.academy-shell.film-immersive .film-scene-video-clips .film-shot-summary>strong,.academy-shell.film-immersive .film-scene-video-clips .film-shot-summary>small{padding:0 4px;text-align:left}
.academy-shell.film-immersive .film-scene-video-clips .film-shot-summary>div>span:last-of-type{position:absolute;left:8px;top:8px;width:auto;background:#1119;padding:2px 5px;border-radius:4px}
.film-scene-video-clips{grid-template-columns:repeat(auto-fill,minmax(220px,300px))}
body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{z-index:80}
.film-video-image-shelf{padding:12px;border:1px solid #ffffff15;border-radius:14px;max-height:65vh;overflow:auto;background:#1b1d25}
.film-video-image-shelf header{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-bottom:12px}.film-video-image-shelf header strong{width:100%;margin-bottom:6px}
.film-video-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.film-video-image-grid article{position:relative;min-width:0}.film-video-image-grid article>button:first-child{display:block;padding:0!important;border:0;aspect-ratio:16/9;overflow:hidden;width:100%;border-radius:8px}.film-video-image-grid img{display:block;width:100%;height:100%;object-fit:cover}.film-video-image-grid article>span{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 22px 0 0}.film-video-image-grid article>button:last-child{position:absolute;right:0;bottom:0;padding:0!important;min-height:24px;width:24px}
/* Full-height script / video / picture layout, shared visual language. */
.film-editor[data-stage=shots] .film-scene-video-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 288px;min-height:calc(100dvh - 100px);padding:0!important;gap:0}
.film-editor[data-stage=shots] .film-scene-video-workspace[data-images-collapsed=true]{grid-template-columns:minmax(0,1fr) 48px}
.film-video-main{min-width:0;padding:24px}
.film-scene-video-references{min-width:0;border-left:1px solid #ffffff12;background:#1c1e26}
.film-video-image-shelf{position:sticky;top:0;height:calc(100dvh - 100px);max-height:none;box-sizing:border-box;border:0;border-radius:0;background:transparent;padding:16px;overflow:auto}
.film-video-image-shelf header{display:flex;flex-wrap:nowrap;justify-content:space-between;min-height:32px;margin-bottom:14px}.film-video-image-shelf header strong{width:auto;margin:0;font-size:14px}.film-video-image-shelf header button{padding:0!important;width:28px;min-height:28px}
.film-video-image-tabs{display:flex;gap:6px;margin-bottom:12px}.film-video-image-search input{width:100%;box-sizing:border-box;margin-bottom:16px}
[data-images-collapsed=true] .film-video-image-shelf{padding:10px}[data-images-collapsed=true] .film-video-image-shelf header strong{display:none}
.film-video-image-browser[hidden],.film-video-image-grid article[hidden]{display:none!important}
.film-video-sidebar-script{padding:4px 12px 14px;font-size:12px;color:var(--muted)}.film-video-sidebar-script p{white-space:pre-wrap;line-height:1.7;max-height:260px;overflow:auto}
@media(max-width:900px){.film-editor[data-stage=shots] .film-scene-video-workspace{grid-template-columns:minmax(0,1fr) 180px}.film-video-main{padding:14px}.film-video-image-shelf{height:calc(100dvh - 190px);padding:10px}.film-video-image-grid{grid-template-columns:1fr}.film-scene-video-clips{grid-template-columns:minmax(0,1fr)}}
.film-editor[data-stage=shots] .film-stage-content{padding:0!important}
/* Video uses the image module's exact shelf component and controls. */
.academy-shell.film-immersive .film-editor[data-stage=shots] .film-stage-content{padding:0!important}
.film-editor[data-stage=shots] .film-scene-video-references>[data-art-reference-shelf]{position:sticky;top:0;height:calc(100dvh - 100px);box-sizing:border-box;border-right:0;border-left:1px solid var(--border,#353742)}
/* Separate conversation from media creation; both remain attached to the guide. */
.xiaoying-guide.xiaoying-art-float .xiaoying-create-input{display:inline-flex;align-items:center;justify-content:center;gap:4px;background:#fff!important;color:#24232a!important;border:0!important;border-radius:24px!important;padding:0 13px!important;min-height:46px;font-size:13px;white-space:nowrap}
.xiaoying-guide.xiaoying-art-float .xiaoying-create-input:hover{background:#ededf1!important}.xiaoying-chat-heading{display:block;font-size:13px;margin-bottom:8px;color:#e9e7ef}
.xiaoying-art-status>span{white-space:pre-wrap;line-height:1.65;min-width:0}
#app .course-workspace-shell:has(.film-editor:is([data-stage=art],[data-stage=storyboard])) .course-art-floating .course-chat-input,#app .course-workspace-shell:has(.film-editor[data-stage=shots]) .course-art-floating .course-chat-input{display:inline-flex!important;order:-2}
#app .course-workspace-shell:has(.film-editor) .course-art-compose-button{order:2;flex:0 0 44px;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:50%!important;padding:0!important;background:#f6f7fa!important;color:#252635!important}
.film-prompt-mention>img{display:inline-block;width:24px;height:24px;border-radius:50%;object-fit:cover;margin-right:5px;vertical-align:middle;pointer-events:none}
.xiaoying-guide.xiaoying-art-float{width:max-content!important;max-width:calc(100vw - 16px)!important}
.xiaoying-guide.xiaoying-art-float>header{width:max-content;max-width:100%;gap:8px}
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble{width:340px;max-width:calc(100vw - 16px);box-sizing:border-box}
@media(max-width:600px){.xiaoying-guide.xiaoying-art-float .xiaoying-create-input{font-size:0!important;width:42px;padding:0!important}.xiaoying-guide.xiaoying-art-float .xiaoying-create-input:before{content:'✦';font-size:18px}}
body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{max-height:min(460px,calc(100dvh - 100px));padding:12px 16px}
.film-video-context-settings{position:relative;margin:0 0 8px;font-size:12px}.film-video-context-settings:not([open]){display:none}
.film-video-compact-references{display:flex;align-items:center;gap:8px;overflow-x:auto;margin-bottom:10px;min-height:0}
.film-video-compact-references .film-video-reference-tile{position:relative;width:58px;height:58px;flex:0 0 58px;padding:0!important;border-radius:8px;overflow:hidden;border:1px solid #ffffff25}
.film-video-reference-tile img,.film-video-reference-tile video{display:block;width:100%;height:100%;object-fit:cover}.film-video-reference-tile>span{position:absolute;top:2px;left:2px;z-index:1;padding:1px 4px;border-radius:8px;background:#111c;color:white;font-size:11px}
.film-editor[data-stage=shots] .film-video-composer{padding:10px!important}.film-editor[data-stage=shots] .film-video-prompt{min-height:80px!important;max-height:140px;font-size:15px;line-height:1.7}
.film-editor[data-stage=shots] .film-video-output{display:flex!important;flex-wrap:nowrap;align-items:center;gap:10px}.film-editor[data-stage=shots] .film-video-model{flex:1}.film-editor[data-stage=shots] .film-video-generation-status:empty{display:none}
.film-editor[data-stage=shots] .film-video-actions{display:none}.film-editor[data-stage=shots] .film-card-versions,.film-editor[data-stage=shots] .film-video-reference-details{display:inline-block;vertical-align:top;margin:6px 14px 0 0;font-size:12px}
@media(max-width:700px){.film-editor[data-stage=shots] .film-video-output{flex-wrap:wrap}}
.film-video-context-settings:not([open]){display:inline-block;margin:0 12px 4px 0}
.film-editor[data-stage=shots] .film-video-actions:has([data-film-to-timeline]){display:flex}
/* Clean, light conversation and reply surfaces. */
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble,.xiaoying-guide.xiaoying-art-float .xiaoying-art-status{background:#fff!important;color:#24252a!important;border:1px solid #dedee4!important;box-shadow:0 12px 36px #0003!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble textarea{background:#fff!important;color:#24252a!important;border:1px solid #d9d9e0!important;border-radius:10px!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble textarea::placeholder{color:#85868e!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-chat-heading,.xiaoying-guide.xiaoying-art-float .xiaoying-art-status span{color:#24252a!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-bubble button,.xiaoying-guide.xiaoying-art-float .xiaoying-art-status button{background:#f4f4f6!important;color:#303138!important;border:1px solid #e0e0e6!important;box-shadow:none!important}
.xiaoying-guide.xiaoying-art-float button:focus-visible{outline:2px solid #8d99b1!important;outline-offset:2px}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-notices:disabled{opacity:.4;cursor:default}
#app .course-art-floating .course-mentor-panel,#app .course-art-floating .course-art-live-status,#app .course-art-floating .course-mentor-panel textarea{background:#fff!important;color:#24252a!important;border-color:#dddde4!important}
.film-video-tools-row{display:flex;align-items:center;gap:10px;min-width:0}.film-video-tools-row .film-video-compact-references{margin:0;max-width:60%;flex:0 1 auto}.film-video-compact-references:empty{display:none}.film-video-tools-row .film-prompt-helper-bar{flex:1;min-width:0}
.film-editor[data-stage=shots] .film-video-prompt{padding:10px 0!important;min-height:76px!important;max-height:110px;box-sizing:border-box}
.film-editor[data-stage=shots] .film-prompt-footnote{padding:2px 0 6px!important;font-size:11px}
body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{max-height:min(390px,calc(100dvh - 100px))}
.film-editor[data-stage=shots] .film-video-generation-status{font-size:11px;line-height:1.3;margin-top:4px}.film-editor[data-stage=shots] .film-video-credit{display:none}
/* Reply text retains its own readable width instead of following compact controls. */
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status{right:auto!important;width:min(340px,calc(100vw - 16px));box-sizing:border-box}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status>span{flex:1 1 auto;min-width:0}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status>.xiaoying-art-bell,.xiaoying-guide.xiaoying-art-float .xiaoying-art-status>.xiaoying-art-history{flex:0 0 auto}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-status{overscroll-behavior:contain}
/* The handle sits outside the scrollable reply, never inside the chat input. */
.xiaoying-guide.xiaoying-art-float>.xiaoying-reply-resize{position:absolute;z-index:2;width:20px;height:20px;min-width:20px;min-height:20px;padding:2px;border:0!important;border-radius:0 0 10px;background:transparent!important;box-shadow:none!important;color:#777984;cursor:nwse-resize;touch-action:none;user-select:none}
.xiaoying-reply-resize svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;pointer-events:none}
body.film-art-floating-open .film-editor[data-stage=shots] [data-art-floating-composer]{background:#fff!important;color:#24252a!important;border-color:#dedee4!important;box-shadow:0 12px 36px #0003!important}
.film-editor[data-stage=shots] [data-art-floating-composer] :is(strong,label,small,summary,.film-video-prompt,.film-video-model,.film-art-floating-heading){color:#24252a!important}
.film-editor[data-stage=shots] .film-video-composer{background:#fff!important;border:1px solid #e1e1e7!important}
.film-editor[data-stage=shots] [data-art-floating-composer] :is(button,select,input){background:#f5f5f7!important;color:#24252a!important;border-color:#dedee5!important;box-shadow:none!important}
.film-editor[data-stage=shots] [data-art-floating-composer] .film-video-prompt{background:#fff!important}
.film-editor[data-stage=shots] .film-prompt-helper-bar{display:flex;flex-wrap:wrap;gap:5px}.film-composer-tools-expanded{display:contents}.film-editor[data-stage=shots] .film-prompt-helper-bar button{font-size:12px;padding:5px 8px!important;min-height:30px}
.film-editor[data-stage=shots] .film-inline-cost{white-space:nowrap;font-size:12px}.film-editor[data-stage=shots] .film-video-generate{width:auto!important;min-width:72px}
.film-top-account{position:fixed;top:8px;right:16px;z-index:75;display:flex;align-items:center;gap:12px;height:30px}.film-top-account .film-workspace-account{position:relative!important;margin:0!important;inset:auto!important}.film-top-credits{color:#e8e8ed;font-size:13px;white-space:nowrap}.film-top-account .film-workspace-account-menu{bottom:auto!important;top:calc(100% + 10px)!important;left:auto!important;right:0!important}
.film-top-account{top:56px}.film-workspace-topbar>.film-stage-skills{margin-right:112px}
@media(max-width:700px){.film-top-account{top:56px;right:10px}.film-workspace-topbar>.film-stage-skills{margin-right:100px}}
.film-editor[data-stage=shots] .film-video-tools-row{display:block}.film-editor[data-stage=shots] .film-video-compact-references{max-width:100%;width:100%;margin:0 0 10px}.film-editor[data-stage=shots] .film-prompt-helper-bar{width:100%}
.film-editor[data-stage=shots] .film-video-model{flex:0 0 auto!important;width:150px!important;max-width:180px}
.film-inline-clip-name{width:auto;max-width:240px;border:1px solid transparent!important;background:transparent!important;font:inherit;color:inherit;padding:2px 4px!important;min-height:24px!important}.film-inline-clip-name:focus{border-color:#a6a6b0!important;outline:none}.film-inline-clip-name-wrap{display:block;width:100%;text-align:left}
/* A shared creation surface in image and video, with media-specific parameters. */
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer]{background:#fff!important;color:#24252a!important;border-color:#dedee4!important;max-height:min(390px,calc(100dvh - 100px));padding:12px 16px}
.film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer] :is(strong,label,small,summary,span){color:#24252a!important}
.film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer] :is(button,select,input){background:#f5f5f7!important;color:#24252a!important;border-color:#dedee5!important;box-shadow:none!important}
.film-editor:is([data-stage=art],[data-stage=storyboard]) [data-art-floating-composer] textarea{background:white!important;color:#24252a!important;border-color:#dedee5!important;min-height:80px!important;max-height:130px}
.film-editor:is([data-stage=art],[data-stage=storyboard]) .film-v16-art-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.film-editor:is([data-stage=art],[data-stage=storyboard]) .film-v16-art-actions>select{max-width:160px}
.film-editor:is([data-stage=art],[data-stage=storyboard]) .film-character-profile{margin:10px 0 18px;padding:12px 16px;background:#fff;color:#24252a;border-radius:12px;border:1px solid #dedee5;max-width:780px}.film-character-profile[open]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.film-character-profile>summary{grid-column:1/-1;font-size:14px;cursor:pointer}.film-character-profile :is(textarea,select,input,button){color:#24252a!important;background:#f5f5f7!important;border-color:#dddde5!important}
.academy-shell.film-immersive .film-editor .film-inline-clip-name{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important;color:inherit!important;min-height:22px!important}
.academy-shell.film-immersive .film-editor .film-inline-clip-name:focus{border:0!important;border-bottom:1px solid #a2a2ad!important;box-shadow:none!important;outline:0!important}

/* Keep account controls in the first brand row without clipping by the work area. */

.film-top-account{top:8px!important;right:16px!important;height:30px}
.film-workspace-topbar>.film-stage-skills{margin-right:0}
.film-script-toolbar{flex-wrap:wrap}.film-script-toolbar>button{white-space:nowrap}
@media(max-width:700px){.film-top-account{right:8px!important}.film-top-account .film-workspace-account>summary{width:30px;height:30px}.film-top-account{gap:6px}.platform-shell.film-immersive .academy-header .brand.workspace-brand{font-size:11px;gap:6px}.platform-shell.film-immersive .academy-header .brand.workspace-brand>.orbital-wordmark-identity{width:80px!important}}

.platform-shell.film-immersive>.academy-header>.top-actions{display:flex!important;margin-left:auto;align-items:center;gap:12px}
.platform-shell.film-immersive>.academy-header .account-menu>summary>span:not(.avatar){display:none}
.platform-shell.film-immersive>.academy-header .account-menu-panel{right:0;left:auto;z-index:100}
/* Header menus must not change the header height or center themselves above the viewport. */
.platform-shell>.academy-header .account-menu{position:relative}
.platform-shell>.academy-header .account-menu-panel{position:absolute!important;top:calc(100% + 8px)!important;bottom:auto!important;right:0!important;left:auto!important;max-height:calc(100dvh - 80px);overflow:auto;z-index:100}

/* Teaching and creation are entered from home; header has one course selector. */
.platform-shell.film-immersive .course-workspace-modes{display:none!important}
.academy-header .film-header-course{position:relative;flex:0 1 200px;margin-left:20px;color:#d8d8df;min-width:0}
.academy-header .film-header-course>summary{cursor:pointer;white-space:nowrap;font-size:13px;padding:6px 10px;list-style:none}
.academy-header .film-header-course>div{position:absolute;top:calc(100% + 8px);left:0;width:300px;max-width:calc(100vw - 24px);padding:12px;background:#202129;border:1px solid #3a3a45;border-radius:10px;z-index:100;max-height:70dvh;overflow:auto}
.academy-header .film-header-course nav{display:grid;gap:4px}.academy-header .film-header-course button{color:#eee;background:transparent;text-align:left;border:0;padding:8px}
.film-course-learning-label{font-size:12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
@media(max-width:700px){.academy-header .film-header-course{margin-left:4px;flex:0 1 90px}.academy-header .film-header-course>summary{font-size:11px;padding:5px}.film-course-learning-label{max-width:150px}}

.rh-mode-entries{display:flex;gap:8px;align-items:center;margin-left:auto}.rh-mode-entries button{display:flex;align-items:center;gap:6px;padding:9px 14px;border:1px solid #44404d;border-radius:9px;background:#24212d;color:#eee;cursor:pointer}

/* One header rhythm and brand for home, creation and teaching. */
.platform-shell,.platform-shell.film-immersive{grid-template-rows:64px minmax(0,1fr)!important}
.platform-shell>.academy-header,.platform-shell.film-immersive>.academy-header{height:64px!important;min-height:64px!important;padding:0 32px!important}
.platform-shell.film-immersive>.workspace{height:calc(100dvh - 64px)!important}
.platform-shell>.academy-header .brand,.platform-shell.film-immersive>.academy-header .brand.workspace-brand{display:flex!important;align-items:center;gap:8px!important;white-space:nowrap;font-size:20.48px!important;line-height:1!important;font-weight:600;color:var(--text,#eee)}
.platform-shell>.academy-header .brand>.orbital-wordmark-identity,.platform-shell.film-immersive>.academy-header .brand.workspace-brand>.orbital-wordmark-identity{width:116px!important;flex:0 0 116px}
.platform-shell>.academy-header .brand>span:last-child{display:inline!important;font-size:20.48px!important}
@media(max-width:700px){.platform-shell,.platform-shell.film-immersive{grid-template-rows:56px minmax(0,1fr)!important}.platform-shell>.academy-header,.platform-shell.film-immersive>.academy-header{height:56px!important;min-height:56px!important;padding:0 10px!important}.platform-shell.film-immersive>.workspace{height:calc(100dvh - 56px)!important}.platform-shell>.academy-header .brand,.platform-shell>.academy-header .brand>span:last-child{font-size:16px!important}.platform-shell>.academy-header .brand>.orbital-wordmark-identity,.platform-shell.film-immersive>.academy-header .brand.workspace-brand>.orbital-wordmark-identity{width:90px!important;flex-basis:90px}}
/* Character settings are a fixed editor surface, separate from mentor motion. */
.film-role-settings{position:fixed;z-index:50;left:340px;top:140px;width:min(1000px,calc(100vw - 380px));height:min(540px,calc(100dvh - 340px));display:flex;flex-direction:column;box-sizing:border-box;border:1px solid #45454f;border-radius:16px;background:#202127;color:#eeeef2;box-shadow:0 18px 60px #0007;overflow:hidden}
.film-role-settings[hidden]{display:none!important}
.film-role-settings>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid #393a43;flex:none}
.film-role-settings>header strong{font-size:17px;font-weight:600}.film-role-settings>header button{border:0!important;background:transparent!important;color:#c6c6cf!important;font-size:24px;min-height:30px;padding:0 6px!important}
.film-role-layout{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(300px,1.5fr);gap:20px;min-height:0;flex:1;padding:16px 20px;overflow:auto}
.film-role-portrait{display:flex;flex-direction:column;gap:10px;min-height:0}.film-role-portrait>button{min-height:0;max-width:100%;padding:0!important;border:0!important;background:#17181e!important;overflow:hidden;border-radius:10px}
.film-role-portrait>button:first-child{flex:1;min-height:160px}.film-role-portrait img{width:100%!important;height:100%!important;object-fit:contain!important;display:block}.film-role-portrait .film-role-mini-sheet{height:82px;flex:none;display:flex;align-items:center;gap:12px}.film-role-mini-sheet img{width:70%!important}.film-role-mini-sheet span{color:#c3c3cc;font-size:12px}
.film-role-details{min-width:0;display:flex;flex-direction:column;min-height:0}.film-role-details>nav{display:flex;gap:6px;flex:none;flex-wrap:wrap;border-bottom:1px solid #393a43;padding-bottom:12px}
.film-role-settings button,.film-role-settings select,.film-role-settings input,.film-role-settings textarea{font:inherit;font-size:13px!important;color:#ededf3!important;box-sizing:border-box;box-shadow:none!important}
.film-role-details>nav button{padding:8px 12px!important;border:1px solid transparent!important;background:transparent!important;border-radius:7px;white-space:nowrap}.film-role-details>nav button[aria-pressed=true]{background:#47415e!important;color:#fff!important}
.film-role-fields{display:grid;align-content:start;gap:14px;overflow:auto;min-height:0;padding:14px 2px 2px}.film-role-fields label{display:grid;gap:7px;font-size:12px;color:#b9bac5}.film-role-fields :is(input,textarea,select){width:100%;max-width:100%;border:1px solid #41434f!important;border-radius:7px;background:#191a20!important;padding:9px 10px!important;min-height:36px;resize:vertical;line-height:1.6}.film-role-fields textarea{min-height:72px;max-height:160px}
.film-role-fields>button{justify-self:start;border:1px solid #575369!important;border-radius:7px;padding:9px 15px!important;background:#444055!important}.film-role-empty{font-size:12px;line-height:1.7;color:#a1a3af;margin:4px 0}.film-role-audio audio{width:100%}.film-role-fields .film-role-view-sheet{width:100%;padding:0!important;background:#17181e!important}.film-role-view-sheet img{width:100%;max-height:260px;object-fit:contain}.film-role-settings :focus-visible{outline:2px solid #aaa1cc;outline-offset:2px}
@media(max-width:900px){.film-role-layout{grid-template-columns:120px minmax(0,1fr);padding:10px;gap:12px}.film-role-settings>header{padding:10px 14px}.film-role-portrait>button:first-child{min-height:120px}.film-role-portrait .film-role-mini-sheet{height:60px}.film-role-details>nav{gap:2px}.film-role-details>nav button{padding:7px!important;font-size:11px!important}}
@media(max-width:520px){.film-role-layout{display:block}.film-role-portrait{display:none}.film-role-details{min-height:160px}.film-role-details>nav{position:sticky;top:0;background:#202127}.film-role-settings>header strong{font-size:14px}}

.film-role-settings{container-type:inline-size}.film-role-layout{grid-template-columns:minmax(120px,.8fr) minmax(0,1.5fr)}
@container(max-width:520px){.film-role-layout{display:block}.film-role-portrait{display:none}.film-role-details>nav{gap:2px}.film-role-details>nav button{padding:6px!important}}

/* Same account typography and identity on home and work pages. */
.platform-shell>.academy-header>.top-actions{gap:16px!important}
.platform-shell>.academy-header .account-menu>summary>span:not(.avatar){display:inline!important}
.platform-shell>.academy-header :is([data-open-credits],.account-menu>summary){font-size:14px!important;font-weight:400!important}
.platform-shell>.academy-header .account-menu>summary .avatar{display:grid;place-items:center;width:30px;height:30px;min-width:30px;font-size:14px!important;border-radius:50%}
.film-second-row-course{position:relative;flex:0 0 auto;order:-2;margin:0!important}
.film-second-row-course>summary{font-size:13px;cursor:pointer;list-style:none;white-space:nowrap;padding:8px 10px}
.film-second-row-course>nav{position:absolute;top:calc(100% + 8px);left:0;width:300px;max-height:65dvh;overflow:auto;padding:8px;display:grid;gap:4px;background:#202127;border:1px solid #41434d;border-radius:10px;z-index:65}
.film-second-row-course>nav button{text-align:left;padding:8px!important;font-size:13px;background:transparent;color:#eee;border:0}
.film-workspace-topbar>.film-course-learning-label{order:-1;max-width:320px}.film-workspace-topbar:has(.film-second-row-course){gap:8px}
@media(max-width:700px){.platform-shell>.academy-header .account-menu>summary>span:not(.avatar){display:none!important}.platform-shell>.academy-header>.top-actions{gap:6px!important}.film-workspace-topbar>.film-course-learning-label{max-width:160px}.film-second-row-course>nav{width:min(300px,calc(100vw - 24px))}}
/* Leave a readable role editor above the compact creation surface. */
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]):has([data-role-settings]) [data-art-floating-composer]{max-height:min(280px,calc(100dvh - 200px))!important}
@media(max-width:700px){body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]):has([data-role-settings]) [data-art-floating-composer]{max-height:200px!important}}
/* The same prompt surface is rendered for image and video creation. */
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) [data-art-floating-composer]{padding:12px 16px!important;background:#fff!important;color:#25262d!important;max-height:min(390px,calc(100dvh - 100px))!important}
.film-editor .film-creation-composer{display:flex;flex-direction:column;gap:6px;padding:0!important;margin:0!important;background:#fff!important;color:#25262d!important;border:0!important;min-width:0}
.film-editor .film-creation-composer .film-video-tools-row{display:block;min-width:0}.film-editor .film-creation-composer .film-video-compact-references{display:flex;gap:6px;flex-wrap:nowrap;overflow:auto;max-width:100%;margin:0 0 6px;padding:0;min-height:0}.film-editor .film-creation-composer .film-video-compact-references:empty{display:none}
.film-editor .film-creation-composer :is(.film-video-reference-tile,.film-v16-art-reference){position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 58px;width:58px;height:58px;padding:0!important;border-radius:8px;overflow:hidden;background:#f3f3f6!important;border:1px solid #dddde5!important}.film-creation-composer .film-video-compact-references img{display:block;width:100%;height:100%;object-fit:cover}.film-creation-composer .film-v16-art-reference>button{position:absolute;right:1px;top:1px;padding:0!important;width:18px;height:18px;min-height:18px;font-size:11px}.film-reference-audio-icon{font-size:11px}
.film-editor .film-creation-composer .film-prompt-helper-bar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;width:100%}.film-editor .film-creation-composer .film-prompt-helper-bar :is(button,summary,.film-composer-upload){font:inherit;font-size:12px!important;padding:5px 8px!important;min-height:30px;box-sizing:border-box;margin:0!important;border-radius:6px;border:1px solid #dddde5;background:#f5f5f7;color:#303138;cursor:pointer}.film-creation-composer .film-composer-tools-expanded{display:contents}
.film-editor .film-creation-composer :is(.film-v16-art-settings,.film-professional-input){margin:0!important;font-size:12px}.film-creation-composer .film-professional-input[open]{flex-basis:100%}.film-creation-composer .film-v16-art-settings[open]{flex-basis:100%}
.film-editor .film-creation-composer .film-video-prompt{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:14px!important;line-height:1.7;color:#25262d!important;background:#fff!important;border:0!important;border-radius:0;min-height:80px!important;max-height:120px!important;overflow:auto;padding:8px 0!important;margin:0!important;resize:vertical;box-shadow:none!important}.film-creation-composer .film-prompt-footnote{display:flex;justify-content:space-between;padding:0!important;margin:0;color:#999;font-size:11px}.film-creation-composer .film-prompt-footnote small{font-size:11px}
.film-editor .film-creation-composer .film-video-output{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0!important;padding:6px 0 0!important;border-top:1px solid #eeeef2}.film-editor .film-creation-composer .film-video-model{flex:0 0 auto!important;width:150px!important;max-width:150px;font-size:13px;height:34px;border:1px solid #dddde5;border-radius:7px;color:#303138;background:#f5f5f7}.film-editor .film-creation-composer .film-video-output-settings{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.film-editor .film-creation-composer .film-video-output-settings label{margin:0!important}.film-editor .film-creation-composer .film-video-output-settings select{height:34px;padding:5px 8px;font-size:13px!important;min-height:34px;border:1px solid #dddde5;border-radius:7px;background:#f5f5f7;color:#303138}
.film-creation-composer .image-output-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.film-creation-composer .image-output-controls>label{font-size:0;display:block}.film-creation-composer .image-output-controls>small{display:none}.film-editor .film-creation-composer .film-video-generate{margin-left:auto;width:auto!important;min-width:68px;min-height:36px!important;font-size:13px!important;border-radius:8px}.film-creation-composer .film-inline-cost{font-size:12px;white-space:nowrap}
.film-role-portrait>label{font-size:12px;color:#b9bac5;display:grid;gap:6px;flex:none}.film-role-portrait select{width:100%;min-width:0;border:1px solid #41434f;border-radius:6px;background:#191a20;color:#eee;padding:8px;font-size:12px}.film-role-upload{cursor:pointer}.film-role-upload input{max-width:100%;font-size:12px}.film-role-video-upload{display:flex!important;align-items:center;gap:8px;padding:16px;border:1px dashed #63616f;border-radius:10px}.film-role-video-upload>span{font-size:24px}.film-role-casting-video video{width:100%;max-height:240px}
@media(max-width:700px){.film-editor .film-creation-composer .film-video-model{width:125px!important;max-width:125px}.film-editor .film-creation-composer .film-video-output-settings{flex-wrap:wrap}.film-editor .film-creation-composer .film-video-output{gap:6px}}
/* Reset former image-form spacing so both media surfaces keep one compact row. */
.film-editor .film-creation-composer .film-video-output-settings,.film-editor .film-creation-composer .image-output-controls{padding:0!important;margin:0!important;min-height:0!important;height:auto!important;flex-direction:row!important;align-self:center;line-height:1}
.film-editor .film-creation-composer .image-output-controls>label{padding:0!important;margin:0!important;height:34px;line-height:0}
.film-editor .film-creation-composer .film-video-model{height:34px!important;min-height:34px!important;padding:5px 8px!important}
.film-editor .film-creation-composer .film-professional-input{padding:0!important;border:0!important}.film-editor .film-creation-composer .film-professional-input>summary{height:30px;line-height:18px}
.film-editor [data-art-floating-composer]>.film-art-floating-heading{margin-bottom:6px!important;min-height:30px}.film-editor [data-art-floating-composer]>.film-art-floating-heading>button{width:30px!important;min-height:30px!important;height:30px!important;padding:2px!important}
body.film-art-floating-open .film-editor:is([data-stage=art],[data-stage=storyboard]):has([data-role-settings]) [data-art-floating-composer]{max-height:min(390px,calc(100dvh - 100px))!important}
.film-editor .film-creation-composer textarea.film-video-prompt{height:84px!important;min-height:80px!important;max-height:120px!important}
.film-role-upload input[type=file]{width:1px!important;height:1px!important;opacity:0;position:absolute;overflow:hidden}.film-role-upload{position:relative;display:flex!important;align-items:center;gap:8px;padding:9px 10px;border:1px dashed #555563;border-radius:7px;font-size:12px}
.academy-shell.film-immersive .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) .film-creation-composer .film-video-prompt{height:100px!important;min-height:80px!important;max-height:160px!important}
.academy-shell.film-immersive .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) .film-creation-composer .film-prompt-footnote{padding:0!important;margin:0!important;min-height:18px;line-height:18px}
.academy-shell.film-immersive .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) .film-creation-composer .film-video-output :is(select,button){height:34px!important;min-height:34px!important}
.academy-shell.film-immersive .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) .film-creation-composer .film-video-prompt{height:100px!important;min-height:100px!important;max-height:100px!important;field-sizing:fixed;flex:none}
.academy-shell.film-immersive .film-editor:is([data-stage=art],[data-stage=storyboard],[data-stage=shots]) .film-creation-composer.is-expanded .film-video-prompt{height:220px!important;min-height:220px!important;max-height:220px!important}
.film-editor .film-creation-composer .film-video-output-settings{flex:0 1 auto;width:max-content}
.academy-shell.film-immersive .film-editor .film-creation-composer{min-height:0!important;height:auto!important;flex:0 0 auto}

.film-creation-composer .film-video-reference-tile{position:relative;overflow:hidden}.film-video-reference-tile>small{position:absolute;left:0;right:0;bottom:0;background:#ffffffed;color:#24242b;font-size:10px;line-height:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.film-prompt-mention{cursor:pointer}

.film-role-voice-button{position:absolute;right:9px;bottom:10px;border-radius:50%;width:32px;height:32px;padding:0;z-index:2}.film-role-preview-info{display:grid;gap:12px;padding:18px 6px}.film-role-preview-info label,.film-role-voice-editor label{display:grid;gap:7px}.film-role-preview-info textarea,.film-role-preview-info input,.film-role-voice-editor select,.film-role-voice-editor textarea{width:100%;box-sizing:border-box}.film-role-voice-editor{display:grid;gap:16px}.film-role-voice-editor audio{width:100%}

.film-v16-art-card>button.film-role-voice-button{position:absolute!important;top:auto!important;left:auto!important;right:10px!important;bottom:42px!important;display:grid!important;place-items:center!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;transform:none!important;color:#9695a4!important;line-height:1!important;overflow:visible!important}.film-v16-art-card>button.film-role-voice-button.is-bound{color:#c4b9ed!important}.film-v16-art-card>button.film-role-voice-button:hover{background:#ffffff0b!important;color:#f2efff!important}.film-v16-art-card>button.film-role-voice-button:focus-visible{outline:2px solid #b9a8ea!important;outline-offset:2px}.film-role-voice-button svg{display:block;flex:none;pointer-events:none}

.film-role-preview-categories{border:0;padding:0}.film-role-preview-categories summary{display:flex;gap:12px;align-items:center;cursor:pointer}.film-role-preview-categories summary span{display:inline-flex;gap:6px;flex-wrap:wrap}.film-role-preview-categories [data-role-category-labels]>span{padding:3px 8px;background:#ffffff0d;border-radius:6px;font-size:12px}.film-role-preview-categories>div{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0}.film-role-preview-categories>div>label{display:inline-flex;align-items:center;gap:6px}.film-role-preview-categories input{width:auto!important}

.film-v16-art-card .film-card-category-tools{position:relative;margin:0 10px 10px;padding-right:26px;min-height:23px;display:flex;align-items:center;gap:5px;overflow-x:auto;white-space:nowrap}.film-card-category-tag{position:relative;flex:none;padding:3px 7px!important;line-height:17px!important}.film-card-category-tag:has(button){padding-right:20px!important}.film-v16-art-card .film-card-category-remove,.film-v16-art-card .film-card-category-add{display:grid!important;place-items:center!important;min-width:0!important;min-height:0!important;width:16px!important;height:18px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important;color:inherit!important;opacity:0;pointer-events:none;transition:opacity .12s}.film-v16-art-card .film-card-category-remove{position:absolute;right:2px;top:2px}.film-v16-art-card .film-card-category-add{position:sticky;right:0;flex:none;width:22px!important;height:23px!important;margin-left:auto!important;background:var(--surface,#202129)!important}.film-card-category-tag:hover .film-card-category-remove,.film-card-category-tag:focus-within .film-card-category-remove,.film-card-category-tools:hover .film-card-category-add,.film-card-category-tools:focus-within .film-card-category-add{opacity:1;pointer-events:auto}.film-v16-art-card .film-card-category-remove:focus-visible,.film-v16-art-card .film-card-category-add:focus-visible{opacity:1;pointer-events:auto;outline:2px solid #b9a8ea!important}@media(hover:none){.film-v16-art-card .film-card-category-remove,.film-v16-art-card .film-card-category-add{opacity:1;pointer-events:auto}}


.film-v16-art-card .film-card-category-summary{display:flex;flex-wrap:nowrap;overflow:hidden;padding-right:0;gap:5px;height:24px;min-height:24px}.film-card-category-summary>span{display:block;min-width:0;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto;padding:3px 7px;line-height:17px}.film-card-category-summary>.film-card-category-count{flex:none;max-width:none}

.academy-shell.film-immersive .film-v16-art-card{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}.academy-shell.film-immersive .film-v16-art-card>button[data-film-entity]{border:1px solid var(--border);border-radius:8px;background:var(--studio-surface)}.film-v16-art-card-name{padding:8px 42px 0 10px!important}.film-v16-art-card>button[data-film-entity]>.film-art-card-tags{margin:0;padding:6px 10px 10px;box-sizing:border-box}.film-v16-art-card>button.film-role-voice-button{bottom:42px!important}

/* Keep actionable replies in the existing small reply card. */
.xiaoying-guide.xiaoying-art-float .xiaoying-proposal-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.xiaoying-guide.xiaoying-art-float .xiaoying-proposal-actions button{max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:5px 8px;border-radius:7px;font-size:12px}

/* The conversation record belongs to the same floating companion. */
.xiaoying-guide.xiaoying-art-float .xiaoying-history-panel{position:absolute;bottom:calc(100% + 8px);left:0;display:flex;flex-direction:column;width:min(480px,calc(100vw - 16px));max-height:min(420px,55vh);min-width:0;box-sizing:border-box;padding:14px 16px;border:1px solid #dedee4;border-radius:16px;background:#fff;color:#24252a;box-shadow:0 12px 36px #0003;overflow:hidden}
.xiaoying-history-panel .xiaoying-history-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding-bottom:10px;font-size:14px}
.xiaoying-history-panel .xiaoying-history-heading button{width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;color:#575862;border-radius:6px;font-size:20px}
.xiaoying-history-panel .xiaoying-history-scroll{min-height:0;max-height:360px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;line-height:1.65;font-size:14px;overflow-wrap:anywhere}
.xiaoying-history-panel .mentor-message{margin:0;padding:12px 0;border:0;border-bottom:1px solid #ededf1;background:#fff;color:#24252a;min-width:0}
.xiaoying-history-panel .mentor-message:last-child{border-bottom:0}.xiaoying-history-panel .mentor-message>small{display:block;margin-bottom:5px;font-size:12px;font-weight:600;color:#71727c}
.xiaoying-history-panel .mentor-message.user>p{color:#41424b}.xiaoying-history-panel .mentor-message p{margin:0 0 6px;white-space:pre-wrap;color:#24252a}.xiaoying-history-panel .mentor-message summary{color:#575862;font-size:13px}
.xiaoying-history-panel button{background:#f4f4f6;color:#303138;border:1px solid #e0e0e6;border-radius:7px;padding:4px 8px;min-height:28px;font:inherit;font-size:12px;box-shadow:none}.xiaoying-history-panel button:hover{background:#ebebef}
.xiaoying-history-panel .mentor-copy,.xiaoying-history-panel .mentor-read{margin:2px 6px 0 0}.xiaoying-history-panel .mentor-history-action{display:block;font-size:12px;color:#71727c}.xiaoying-history-empty{margin:8px 0;color:#71727c}

.xiaoying-history-panel textarea{width:100%;box-sizing:border-box;background:#fff!important;color:#24252a!important;border:1px solid #dedee4!important;border-radius:8px;padding:10px;line-height:1.6;resize:vertical}.xiaoying-history-panel .mentor-proposal,.xiaoying-history-panel details{background:#fff;color:#24252a;border-color:#ededf1}

/* One conversation shell for the existing creative and teaching controllers.
   It owns no messages, drafts, requests or project state. */
.xiaoying-chat-window{position:fixed;z-index:180;display:grid;grid-template-columns:224px minmax(0,1fr);width:min(1320px,74vw);height:min(860px,80dvh);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:0;padding:0;box-sizing:border-box;overflow:hidden;border:1px solid #d9dbe2;border-radius:12px;background:#fff;color:#272930;box-shadow:0 24px 80px #11131c38,0 4px 16px #11131c12;text-align:left;font-family:inherit;font-size:14px;line-height:1.6;isolation:isolate}
.xiaoying-chat-window *{box-sizing:border-box}
.xiaoying-chat-sidebar{display:flex;flex-direction:column;min-width:0;padding:24px 12px;background:#f1f2f4;border-right:1px solid #e3e4e9}
.xiaoying-chat-sidebar h2{margin:0 12px 22px;font-size:13px;font-weight:600;color:#797d88;letter-spacing:0}
.xiaoying-chat-contact{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;border-radius:8px;background:#e5e2ef;color:#292534}
.xiaoying-chat-contact strong{font-size:14px;font-weight:600}
.xiaoying-chat-contact-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#f9f7ff;color:#756197}
.xiaoying-chat-contact-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.xiaoying-chat-partners{margin-top:36px;padding:0 12px}
.xiaoying-chat-partners h3{margin:0 0 12px;font-size:12px;font-weight:600;color:#797d88}
.xiaoying-chat-partners p{margin:0;font-size:12px;line-height:1.7;color:#9699a3}
.xiaoying-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#fff}
.xiaoying-chat-window-heading{display:flex;align-items:center;gap:4px;padding:0 16px 0 24px;margin:0;border:0;border-bottom:1px solid #e7e8ed;background:#fff;cursor:grab;touch-action:none;user-select:none;min-width:0}
.xiaoying-chat-window-heading:active{cursor:grabbing}
.xiaoying-chat-window-heading>div{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.xiaoying-chat-window-heading strong{font-size:16px;font-weight:600;color:#272930}
.xiaoying-chat-window-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#9396a0}
.xiaoying-chat-window :is(.xiaoying-chat-close,.xiaoying-chat-maximize){display:grid;place-items:center;flex:none;width:34px;height:34px;min-width:34px;min-height:34px;margin:0;padding:0!important;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;color:#747884!important;font-family:inherit;font-size:25px;line-height:1;cursor:pointer}
.xiaoying-chat-window :is(.xiaoying-chat-close,.xiaoying-chat-maximize):hover{background:#f0f1f4!important;color:#272930!important}
.xiaoying-chat-window .xiaoying-chat-close:disabled{opacity:.4;cursor:default}
.xiaoying-chat-maximize svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3}
.xiaoying-chat-window:not(.is-maximized) .xiaoying-chat-restore-icon,.xiaoying-chat-window.is-maximized .xiaoying-chat-maximize-icon{display:none}
.xiaoying-chat-window.is-maximized .xiaoying-chat-window-heading{cursor:default}
.xiaoying-chat-messages{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:24px 28px;background:#f7f7f8;line-height:1.75;overflow-wrap:anywhere}
.xiaoying-chat-messages :is([data-mentor-image-drop],.course-chat-transcript){display:flex;flex-direction:column;gap:18px;margin:0;padding:0;border:0;background:transparent}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message){align-self:flex-start;width:fit-content;max-width:min(88%,76ch);min-width:0;margin:0;padding:14px 18px;border:1px solid #e5e6eb;border-radius:2px 12px 12px;background:#fff;color:#272930;box-shadow:none;text-align:left;font-size:14px}
.xiaoying-chat-window :is(.mentor-message.user,.course-chat-user){align-self:flex-end;max-width:78%;border-color:#e3dcef;border-radius:12px 2px 12px 12px;background:#eee8f8;color:#33293e}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message)>small{display:block;margin:0 0 7px;font-size:11px;font-weight:500;color:#8b8e99}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message) p{margin:0 0 8px;color:inherit;white-space:pre-wrap;line-height:1.75}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message) p:last-child{margin-bottom:0}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message) details{margin-top:8px;background:transparent;border-color:#e7e8ed;color:inherit}
.xiaoying-chat-window :is(.mentor-message,.course-chat-message) summary{cursor:pointer;color:#71617f;font-size:12px}
.xiaoying-chat-window :is(.mentor-proposal,.mentor-creative-brief,.mentor-script-proposal,.course-chat-actions){min-width:0;max-width:100%;margin-top:12px;border-color:#e2deeb;background:#fcfbff;color:#272930}
.xiaoying-chat-window :is(.mentor-proposal,.mentor-creative-brief) textarea{width:100%;max-width:100%;background:#fff!important;color:#272930!important}
.xiaoying-chat-window :is(.mentor-copy,.mentor-history-more,[data-mentor="floating-history-more"]){min-height:26px;padding:4px 8px;border:1px solid #e3e4e9;border-radius:6px;background:#f7f7f9;color:#777b86;font:inherit;font-size:11px;box-shadow:none}
.xiaoying-chat-empty{margin:auto;padding:60px 20px;text-align:center;color:#7d818d}
.xiaoying-chat-empty strong{display:block;margin-bottom:8px;font-size:17px;font-weight:500;color:#5f6470}
.xiaoying-chat-empty p{margin:0;font-size:13px}
.xiaoying-chat-composer{flex:none;min-width:0;max-height:42dvh;overflow:visible;margin:0;padding:18px 24px 20px;border-top:1px solid #e4e5eb;background:#fff;color:#272930}
.xiaoying-chat-composer form{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.xiaoying-chat-composer :is(#mentor-roaming-question,#native-question){display:block;width:100%;min-height:90px;max-height:min(200px,24dvh);margin:0;padding:10px 12px;border:1px solid transparent!important;border-radius:6px!important;background:#fff!important;color:#272930!important;box-shadow:none!important;font-family:inherit;font-size:14px;line-height:1.65;resize:vertical;outline-offset:2px}
.xiaoying-chat-composer :is(#mentor-roaming-question,#native-question)::placeholder{color:#a1a4ad}
.xiaoying-chat-composer :is(#mentor-roaming-question,#native-question):focus{outline:1px solid #c9b9e5!important;background:#fdfcfe!important}
.xiaoying-chat-composer :is(.mentor-composer-toolbar,.course-question-actions){display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;min-height:36px;margin:0;padding:0}
.xiaoying-chat-composer .mentor-composer-submit{display:flex;align-items:center;flex:none;gap:10px;margin-left:auto}
.xiaoying-chat-composer :is(button[type=submit],.mentor-composer-send){min-width:72px;min-height:34px;padding:6px 18px!important;border:1px solid #d9cce9!important;border-radius:6px!important;background:#eee8f8!important;color:#604f78!important;box-shadow:none!important;font-size:13px;font-weight:500}
.xiaoying-chat-composer :is(button[type=submit],.mentor-composer-send):disabled{opacity:.45}
.xiaoying-chat-composer :is(.mentor-mode-menu>summary,.course-mentor-tools>summary){display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:#7d818e;cursor:pointer;font-size:25px;list-style:none}
.xiaoying-chat-composer :is(.mentor-mode-menu>summary,.course-mentor-tools>summary):hover{background:#f1f2f5}
.xiaoying-chat-composer :is(.mentor-mode-menu,.course-mentor-tools){position:relative;margin:0}
.xiaoying-chat-composer :is(.mentor-mode-options,.course-mentor-tools-menu){z-index:185;background:#fff!important;color:#30323b!important;border-color:#dedfe6!important;box-shadow:0 10px 35px #20212b24}
.xiaoying-chat-composer .course-question-context{display:block;color:#9699a3;font-size:11px}
.xiaoying-chat-window :is(.mentor-inline-status,.mentor-working,.native-error,[role=status]:not([data-mentor-live-reply])){max-width:100%;overflow-wrap:anywhere}
.xiaoying-chat-window .mentor-working{font-size:13px;color:#8b8e99;background:transparent;border:0;padding:4px}
.xiaoying-chat-window .mentor-working small{display:none}
.xiaoying-chat-window .xiaoying-chat-resize{position:absolute;right:1px;bottom:1px;z-index:2;display:grid;place-items:center;width:22px;height:22px;min-width:22px;min-height:22px;margin:0;padding:2px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#a4a7af;cursor:nwse-resize;touch-action:none}
.xiaoying-chat-resize svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
.xiaoying-chat-window.is-maximized .xiaoying-chat-resize{display:none}
.xiaoying-chat-window :is(button,summary,[tabindex]):focus-visible{outline:2px solid #af9acb;outline-offset:2px}
@media(max-width:900px){.xiaoying-chat-window{grid-template-columns:184px minmax(0,1fr)}.xiaoying-chat-messages{padding:20px}.xiaoying-chat-composer{padding:14px 18px}.xiaoying-chat-sidebar{padding-top:20px}}
@media(max-width:620px){.xiaoying-chat-window{grid-template-columns:132px minmax(0,1fr);border-radius:8px}.xiaoying-chat-sidebar{padding:16px 7px}.xiaoying-chat-sidebar h2{margin-left:8px}.xiaoying-chat-contact{gap:7px;padding:9px 7px}.xiaoying-chat-contact-icon{width:28px;height:28px;border-radius:7px}.xiaoying-chat-partners{padding:0 7px}.xiaoying-chat-window-heading{padding:0 10px 0 14px}.xiaoying-chat-messages{padding:16px 12px}.xiaoying-chat-composer{padding:10px 12px 14px}.xiaoying-chat-window :is(.mentor-message,.course-chat-message){max-width:96%;padding:10px 12px}.xiaoying-chat-window-status{display:none}}


/* Work remains visible in the companion, independent of reply/history panels. */
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group{min-width:0;max-width:100%;flex:0 1 auto}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>.mentor-voice-tools{flex:0 0 auto}
.xiaoying-guide.xiaoying-art-float .xiaoying-activity{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:160px;flex:0 1 auto;margin:0 4px 0 2px;color:#575862;background:transparent;font-size:12px;line-height:1.35;white-space:nowrap}
.xiaoying-activity .xiaoying-activity-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xiaoying-activity-dots{display:inline-flex;align-items:center;gap:2px;flex:none;width:13px}
.xiaoying-activity-dots>i{display:block;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.3;animation:xiaoying-activity-pulse 1.2s ease-in-out infinite}
.xiaoying-activity-dots>i:nth-child(2){animation-delay:.16s}.xiaoying-activity-dots>i:nth-child(3){animation-delay:.32s}
@keyframes xiaoying-activity-pulse{0%,70%,100%{opacity:.3}35%{opacity:.9}}
@media(prefers-reduced-motion:reduce){.xiaoying-activity-dots>i{animation:none;opacity:.6}}

.mentor-voice-tools>.mentor-activity{display:inline-flex;align-items:center;gap:5px;max-width:180px;margin-right:6px;color:#575862;font-size:12px;line-height:1.35}

/* Copy belongs to its saved assistant message, without a second footer row. */
.mentor-message.assistant{position:relative}
.mentor-message.assistant>small{padding-right:24px}
.mentor-message.assistant>.mentor-copy{position:absolute;top:7px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:26px;min-width:26px;height:26px;min-height:26px;margin:0;padding:5px;border:0;border-radius:5px;background:transparent;color:#87818e;box-shadow:none;cursor:pointer}
.mentor-message.assistant>.mentor-copy:hover{background:#f0edf4;color:#665078}
.mentor-copy>svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

[data-dictation-draft-hidden],[data-dictation-toolbar-hidden]{display:none!important}
.dictation-composer{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:112px;margin:0;padding:12px 0;box-sizing:border-box}
.dictation-composer-wave{flex:1;min-width:48px;height:46px;overflow:hidden;color:#7c668c}
.dictation-composer-wave>svg{display:block;width:100%;height:46px;overflow:hidden}
.dictation-composer-wave line{stroke:currentColor;stroke-width:3;stroke-linecap:round}
.dictation-composer .dictation-composer-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:10px;border:1px solid #ddd7e5;border-radius:50%;background:#f6f3f8;color:#716579;box-shadow:none;cursor:pointer}
.dictation-composer-control>svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.dictation-composer-control:last-child{border-color:#cdbbdf;background:#e6dbf1;color:#5e4973}
.dictation-composer-control:focus-visible{outline:2px solid #af9acb;outline-offset:3px}
@media(max-width:620px){.dictation-composer{gap:8px}.dictation-composer .dictation-composer-control{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:8px}}


.xiaoying-history-heading>strong{margin-right:auto}.xiaoying-history-panel .xiaoying-history-heading :is(.xiaoying-history-latest,.xiaoying-reply-full){width:auto;white-space:nowrap;font-size:11px;padding:3px 6px}
.xiaoying-reply-full[hidden],.xiaoying-history-latest[hidden]{display:none!important}.xiaoying-guide .xiaoying-reply-full{font-size:11px;padding:2px 5px;margin-top:4px}

.mentor-mic{position:relative}.mentor-mic>svg.mentor-mic-muted-slash{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:19px;height:19px;pointer-events:none}

/* Existing guided questions and candidate review share the floating companion. */
.xiaoying-guide .mentor-guided-float{max-height:min(62vh,580px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.xiaoying-guide .mentor-guided-float .film-guided-creation{padding:0;border:0;background:transparent;gap:12px;color:inherit}
.xiaoying-guide .mentor-guided-float .film-guided-creation>header{height:auto;min-height:28px}
.xiaoying-guide .mentor-guided-float .film-guided-creation p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;white-space:pre-wrap!important}
.xiaoying-guide.xiaoying-art-float .mentor-guided-float :is(select,textarea){box-sizing:border-box;background:#fff;color:#24252a;border-color:#dedee4}
.xiaoying-guide.xiaoying-art-float .mentor-guided-float :is(.film-guided-total,.film-guided-preview article){background:#f7f7f9;color:#24252a;border-color:#e0e0e6}
.xiaoying-guide.xiaoying-art-float .mentor-guided-float :is(.film-guided-total small,.film-guided-preview article p){color:#41424b}

/* Keep the shared header independent of legacy compact-guide rules. */
.xiaoying-guide .xiaoying-chat-window .xiaoying-chat-window-heading{height:64px;min-height:64px;padding:0 16px 0 24px;gap:4px}
.xiaoying-guide .xiaoying-chat-window .xiaoying-chat-maximize,.xiaoying-guide .xiaoying-chat-window .xiaoying-chat-close{font-size:25px;min-height:34px;min-width:34px;border-radius:6px}

/* The two conversation destinations retain the same underlying form and editor. */
.xiaoying-chat-contacts{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;border:0;background:transparent}
.xiaoying-chat-window .xiaoying-chat-contact{display:flex;align-items:center;width:100%;min-height:64px;margin:0;padding:12px;border:0;border-radius:8px;background:transparent;color:#656974;text-align:left;font:inherit;box-shadow:none;cursor:pointer}
.xiaoying-chat-window .xiaoying-chat-contact:hover{background:#e9eaf0}
.xiaoying-chat-window .xiaoying-chat-contact[aria-selected=true]{background:#e5e2ef;color:#292534}
.xiaoying-chat-conversation-pane,.xiaoying-chat-prompt-pane{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}
.xiaoying-chat-window [data-xiaoying-chat-pane-panel][hidden]{display:none!important}
.xiaoying-chat-window-heading{flex:none;height:64px;min-height:64px}
.xiaoying-chat-prompt-pane{padding:16px;background:#f7f7f8}
.xiaoying-prompt-slot{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:0;width:100%;background:#fff;border-radius:8px}
.xiaoying-prompt-empty{max-width:320px;margin:24px;color:#8c909b;font-size:14px;line-height:1.7;text-align:center}
/* The real generation editor stays in #film-notes: only its rectangle is
   projected into the slot, so original closest/owner/event checks still work. */
body [data-xiaoying-prompt-portal]{display:block!important;position:fixed!important;z-index:181!important;margin:0!important;max-width:none!important;max-height:none!important;overflow:auto;box-sizing:border-box}
body [data-xiaoying-prompt-portal][hidden]{display:none!important}
[data-xiaoying-prompt-portal] .film-art-floating-heading{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0;background:transparent;box-shadow:none}
[data-xiaoying-prompt-portal] .film-art-floating-heading [data-art-floating-close]{display:none!important}
/* Outside the window only the unchanged orb remains. */
.xiaoying-guide>.xiaoying-orb-only{width:max-content!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.xiaoying-chat-composer .mentor-composer-submit :is([data-mentor=record],[data-mentor=transcribe],[data-native=voice-batch],[data-native=voice-stop]){display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:38px;min-width:38px;height:38px;min-height:38px;margin:0;padding:7px!important;border:1px solid #cbbadd!important;border-radius:8px!important;background:#f1ebf8!important;color:#665078!important;box-shadow:none!important}
.xiaoying-chat-composer .mentor-composer-submit :is([data-mentor=record],[data-mentor=transcribe],[data-native=voice-batch],[data-native=voice-stop]) svg{width:22px;height:22px;stroke-width:1.8}
.xiaoying-chat-composer .mentor-composer-submit :is([data-mentor=record],[data-mentor=transcribe],[data-native=voice-batch],[data-native=voice-stop]):disabled{opacity:.5;cursor:default}
@media(max-width:620px){.xiaoying-chat-window .xiaoying-chat-contact{gap:7px;padding:9px 7px}.xiaoying-chat-prompt-pane{padding:10px}}

[data-xiaoying-prompt-slot][data-xiaoying-prompt-mounted=true]>.xiaoying-prompt-empty{display:none}
#app [data-xiaoying-prompt-portal]{max-height:none!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}


/* Prompt work follows the same conversation rhythm: results above, input below.
   Both slots are geometry only; the original editor still owns every node. */
.xiaoying-chat-prompt-pane{padding:0;background:#fff}
.xiaoying-prompt-results{display:flex;flex:1;min-width:0;min-height:80px;overflow:hidden;padding:24px;background:#fafafb}
.xiaoying-prompt-results-slot{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:0;width:100%;overflow:hidden}
.xiaoying-prompt-dock{display:flex;flex:0 0 clamp(210px,31dvh,270px);min-height:0;max-height:58%;padding:14px 24px 20px;border-top:1px solid #e4e5eb;background:#fff;box-sizing:border-box}
.xiaoying-prompt-dock .xiaoying-prompt-slot{min-height:0;border-radius:0;background:#fff}
.xiaoying-prompt-object-title{display:block;margin-top:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8c8994;font-size:12px;font-weight:400;line-height:1.3}
.xiaoying-prompt-object-title[hidden]{display:none}
[data-xiaoying-prompt-results-slot][data-xiaoying-prompt-mounted=true]>.xiaoying-prompt-empty{display:none}
#app [data-xiaoying-prompt-portal]{padding:0!important;overflow:visible!important;background:#fff!important}
#app [data-xiaoying-prompt-portal]>.film-art-floating-heading{display:none!important}
#app [data-xiaoying-prompt-portal] .film-creation-composer{height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:visible}
#app [data-xiaoying-prompt-portal] .film-creation-composer :is(.film-video-tools-row,.film-video-output,.film-prompt-footnote){flex:none}
#app [data-xiaoying-prompt-portal] .film-creation-composer .film-video-prompt{height:auto!important;min-height:46px!important;max-height:none!important;flex:1 1 auto!important;resize:none;overflow:auto}
@media(max-width:900px){.xiaoying-prompt-results{padding:20px}.xiaoying-prompt-dock{padding:12px 18px 16px}}
@media(max-width:620px){.xiaoying-prompt-results{padding:16px 12px}.xiaoying-prompt-dock{padding:10px 12px 14px}}

/* One real generation timeline; source data and actions remain in the editor. */
#app [data-xiaoying-prompt-results-portal]{display:block!important;position:fixed!important;z-index:181!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fafafb!important;color:#34313b!important;box-shadow:none!important;box-sizing:border-box;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
#app [data-xiaoying-prompt-results-portal][hidden]{display:none!important}
#app [data-xiaoying-prompt-results-portal] .film-generation-records{display:flex;flex-direction:column;gap:28px;width:100%;min-width:0;margin:0;padding:0 4px 12px;box-sizing:border-box}
#app [data-xiaoying-prompt-results-portal] .film-generation-record{display:flex;flex-direction:column;align-items:flex-start;flex:none;gap:12px;width:min(760px,100%);min-width:0;margin:0;padding:0 0 22px;border:0;border-bottom:1px solid #e8e6ed;border-radius:0;background:transparent;color:#34313b;box-shadow:none;box-sizing:border-box}
#app [data-xiaoying-prompt-results-portal] .film-generation-record:last-child{padding-bottom:0;border-bottom:0}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%;color:#8b8593;font-size:12px;line-height:1.5}
#app [data-xiaoying-prompt-results-portal] .film-generation-record :is(time,small){color:#8b8593!important;font-size:12px;line-height:1.5}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-prompt{width:100%;margin:0;color:#514a5b!important;font:inherit;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-item{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:none;width:100%;min-width:0;margin:0;padding:0}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-media{display:block;flex:none;width:min(640px,100%);max-width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:6px;background:#f0f0f3;overflow:hidden;box-shadow:none}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-media [data-film-preview-asset]{display:block!important;flex:none;width:min(640px,100%)!important;max-width:100%;height:auto!important;min-height:0!important;margin:0;padding:0!important;border:0;border-radius:6px;background:#f0f0f3!important;overflow:hidden;box-shadow:none}
#app [data-xiaoying-prompt-results-portal] .film-generation-record :is(img,video){display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:340px;object-fit:contain;margin:0 auto;background:#f0f0f3}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#app [data-xiaoying-prompt-results-portal] :is(.film-generation-record-actions button,.film-generation-record-item>button,.film-generation-record-more a){display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;width:auto!important;max-width:100%;min-width:0;height:auto!important;min-height:28px!important;margin:0;padding:5px 9px!important;border:1px solid #dedce5!important;border-radius:5px;background:#fff!important;color:#62566f!important;box-shadow:none!important;font:inherit;font-size:12px!important;line-height:1.4;white-space:normal;text-decoration:none;box-sizing:border-box}
#app [data-xiaoying-prompt-results-portal] .film-generation-record button:disabled{opacity:.55;cursor:default}
#app [data-xiaoying-prompt-results-portal] .film-generation-record [data-film-prompt-version][aria-pressed=true]{border-color:#c9b7de!important;background:#eee8f8!important;color:#665078!important}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-more{position:relative;margin:0;padding:0;border:0;background:transparent;color:#756b80}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-more>summary{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:28px;padding:2px 7px;border:1px solid #e3e0e8;border-radius:5px;background:transparent;cursor:pointer;list-style:none}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-more[open]>div{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 0}

/* Generation parameters stay visible beside the same original Generate action. */
#app [data-xiaoying-prompt-portal] .film-generation-settings{display:block;flex:1 1 auto;min-width:0;margin:0;padding:0;border:0;background:transparent;color:#65606e;font-size:12px}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body{position:static!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;width:auto;max-width:100%;max-height:82px;overflow:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#514b5b;box-shadow:none;box-sizing:border-box}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body label{display:flex!important;align-items:center;flex:0 0 auto!important;gap:6px;width:auto!important;min-width:0;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.4;white-space:nowrap;word-break:keep-all}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body label>span{flex-shrink:0;white-space:nowrap}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body select{flex:0 0 auto;min-width:64px}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body .film-video-output-settings{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
#app [data-xiaoying-prompt-portal] .film-add-reference,#app [data-xiaoying-prompt-portal] .film-camera-settings{position:relative;margin:0;padding:0;border:0;background:transparent}
#app [data-xiaoying-prompt-portal] .film-add-reference[open]>div,#app [data-xiaoying-prompt-portal] .film-camera-settings[open]>.film-composer-tools-expanded{position:absolute;left:0;bottom:calc(100% + 8px);z-index:185;display:flex!important;flex-wrap:wrap;gap:7px;width:max-content;max-width:min(600px,calc(100vw - 64px));margin:0;padding:9px;border:1px solid #dedfe6;border-radius:8px;background:#fff;box-shadow:0 8px 28px #22212a20}
#app [data-xiaoying-prompt-portal] .film-add-reference:not([open])>div,#app [data-xiaoying-prompt-portal] .film-camera-settings:not([open])>.film-composer-tools-expanded{display:none!important}

/* Calibrate the existing controls without changing their fields or grouping. */
#app [data-xiaoying-prompt-portal] .film-video-output{align-items:flex-end!important;gap:12px}
#app [data-xiaoying-prompt-portal] .film-generation-settings-label{display:block;margin-bottom:6px;line-height:1.4}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body{gap:12px;max-height:none;overflow:visible}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body :is(.film-video-output-settings,.image-output-controls){flex:0 1 auto;width:auto!important;min-width:0;gap:12px!important}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body label{height:34px!important;min-height:34px;gap:6px;line-height:1.4!important;box-sizing:border-box}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body select{width:auto!important;min-width:76px;max-width:150px;height:34px!important;min-height:34px!important;margin:0!important;line-height:1.3;box-sizing:border-box}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body .film-video-model{width:150px!important;max-width:150px}
#app [data-xiaoying-prompt-portal] .film-video-compact-references{gap:8px;margin-bottom:8px}
#app [data-xiaoying-prompt-portal] .film-video-compact-references:empty{margin-bottom:0}
#app [data-xiaoying-prompt-portal] .film-prompt-helper-bar{gap:8px}

/* The media fits the actual results viewport, including a resized window. */
#app [data-xiaoying-prompt-results-portal]{container-type:size}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-prompt>p{margin:4px 0 0}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-media{display:inline-block;align-self:flex-start;width:max-content;max-width:100%;background:transparent}
#app [data-xiaoying-prompt-results-portal] .film-generation-record-media [data-film-preview-asset]{width:auto!important;max-width:100%;background:transparent!important}
#app [data-xiaoying-prompt-results-portal] .film-generation-record :is(img,video){max-height:220px}
@supports(height:1cqh){#app [data-xiaoying-prompt-results-portal] .film-generation-record :is(img,video){max-height:min(calc(100cqh - 16px),clamp(136px,calc(100cqh - 144px),340px))}}

/* Account for the fixed dock's real height, rather than overflowing its footer. */
#app [data-xiaoying-prompt-portal] .film-creation-composer{gap:4px}
#app [data-xiaoying-prompt-portal] .film-creation-composer>[data-course-inline-slot]:empty{display:none}
#app [data-xiaoying-prompt-portal] .film-video-compact-references :is(.film-video-reference-tile,.film-v16-art-reference){width:52px;height:52px;flex-basis:52px}
#app [data-xiaoying-prompt-portal] .film-generation-settings-label{margin-bottom:4px;line-height:1.15}
#app [data-xiaoying-prompt-portal] .film-generation-settings-body :is(.film-video-output-settings,.image-output-controls){border:0!important;background:transparent!important;color:#514b5b!important;box-shadow:none!important}

/* Query the resized component, not the browser viewport. */
.xiaoying-chat-window{container-name:xiaoying-workspace;container-type:size}
#app [data-xiaoying-prompt-portal]{container-name:xiaoying-input;container-type:size}
#app [data-xiaoying-prompt-portal] .film-video-output{flex-wrap:nowrap!important}
#app [data-xiaoying-prompt-portal] .film-generation-settings{min-width:0;flex:1 1 0}
#app [data-xiaoying-prompt-portal] .film-video-generate{flex:0 0 auto!important}
@container xiaoying-workspace (max-width:760px){
 .xiaoying-prompt-dock{flex-basis:350px;max-height:calc(100% - 80px)}
}
@container xiaoying-input (max-height:220px){
 #app [data-xiaoying-prompt-portal] .film-creation-composer{position:static!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
 /* These popups use the fixed portal outside the scrolling composer as their
    containing block; their original actions remain reachable above the dock. */
 #app [data-xiaoying-prompt-portal] :is(.film-add-reference,.film-camera-settings){position:static}
}

/* Recording replaces the original toolbar even inside the shared chat skin. */
.xiaoying-chat-window #mentor-roaming-form .mentor-composer-toolbar[data-dictation-toolbar-hidden],.xiaoying-chat-window #mentor-roaming-question[data-dictation-draft-hidden]{display:none!important}

/* A single compact composer contains text, attachment, dictation and submit. */
.xiaoying-chat-window .xiaoying-chat-composer{padding:12px 24px 16px;border-top:0;background:#fafafb}
.xiaoying-chat-window .xiaoying-chat-composer form:is(#mentor-roaming-form,[data-native-form="question"],[data-native-form="home-question"]){gap:6px;margin:0;padding:10px 12px 8px!important;border:1px solid #dedde5;border-radius:18px;background:#fff;box-shadow:0 2px 8px #20212b04;box-sizing:border-box}
.xiaoying-chat-window .xiaoying-chat-composer form:is(#mentor-roaming-form,[data-native-form="question"],[data-native-form="home-question"]):focus-within{border-color:#bdb0d2}
.xiaoying-chat-window .xiaoying-chat-composer :is(#mentor-roaming-question,#native-question){min-height:50px!important;max-height:150px;padding:3px 2px 6px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;resize:none;outline:0!important}
.xiaoying-chat-window .xiaoying-chat-composer .mentor-composer-toolbar,.xiaoying-chat-window .xiaoying-chat-composer .course-question-actions{min-height:32px;padding:0;border:0;background:transparent}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer{gap:10px;min-height:40px;height:40px;margin:0;padding:0}
.xiaoying-chat-window .xiaoying-chat-composer form:has([data-dictation-recording]){padding:7px 10px!important}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer-wave,.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer-wave>svg{height:30px;color:#949098}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer-wave line{stroke-width:1.8;vector-effect:non-scaling-stroke}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer .dictation-composer-control{flex-basis:32px;width:32px;min-width:32px;height:32px;min-height:32px;padding:7px;border:0;background:#f4f3f5;color:#55515a}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer-control:last-child{background:#242329;color:#fff}
.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer-control>svg{width:18px;height:18px}
@media(max-width:620px){.xiaoying-chat-window .xiaoying-chat-composer{padding:8px 12px 12px}.xiaoying-chat-window .xiaoying-chat-composer .dictation-composer{gap:7px}}


/* film-character-thumbnail.css */
.film-character-thumbnail{display:block;width:100%;height:100%;pointer-events:none}
.film-v16-art-card-image img.film-character-thumbnail-full,.film-art-reference-shelf-thumb img.film-character-thumbnail-full,.film-v16-art-card-image img.film-scene-thumbnail-full,.film-art-reference-shelf-thumb img.film-scene-thumbnail-full{object-fit:contain}
.film-portrait-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:16px;align-items:start}
.film-portrait-source{position:relative;width:100%;line-height:0;overflow:hidden;background:#22242b;touch-action:none}
.film-portrait-source>img{display:block;width:100%;height:auto;max-height:none!important;pointer-events:none}
.film-portrait-selection{position:absolute;box-sizing:border-box;border:2px solid #faf6ff;box-shadow:0 0 0 9999px #08091188;cursor:move;touch-action:none}
.film-portrait-selection:focus-visible{outline:3px solid #bca9eb;outline-offset:2px}
.film-portrait-selection>[data-portrait-resize]{position:absolute;right:-5px;bottom:-5px;width:12px;height:12px;border:2px solid #fff;background:#67598f;cursor:nwse-resize}
.film-portrait-result{width:100%;aspect-ratio:4/5;background:#22242b;border-radius:8px;overflow:hidden}
.film-portrait-editor.is-scene .film-portrait-editor-layout{grid-template-columns:minmax(0,1fr) 180px}
.film-portrait-editor>label{display:flex;align-items:center;gap:12px;margin:18px 0}.film-portrait-editor input[type=range]{flex:1}
.film-portrait-actions{display:flex;gap:10px;justify-content:flex-end}
@media(max-width:600px){.film-portrait-editor-layout,.film-portrait-editor.is-scene .film-portrait-editor-layout{grid-template-columns:minmax(0,1fr) 80px;gap:10px}}


/* xiaoying-luminous-orb.css */
/* Same blue-sky cloud surface as the approved commercial mini-program. */
.xiaoying-luminous-orb{display:block;position:relative;isolation:isolate;overflow:visible;border-radius:50%;width:34px;height:34px;aspect-ratio:1;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important}
.xiaoying-luminous-orb:after{display:none}
.xiaoying-orb-surface{position:relative;display:block;width:100%;height:100%;aspect-ratio:1;pointer-events:none;transform-origin:50% 50%}
.xiaoying-luminous-orb .film-brief-orb-canvas,.xiaoying-luminous-orb .film-brief-orb-fallback{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.xiaoying-luminous-orb .film-brief-orb-canvas{opacity:0}
.xiaoying-luminous-orb [data-renderer=webgl] .film-brief-orb-canvas{opacity:1}
.xiaoying-luminous-orb [data-renderer=webgl] .film-brief-orb-fallback{visibility:hidden}
.xiaoying-luminous-orb .film-brief-xiaoying-glass{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;overflow:visible;pointer-events:none;stroke:none!important;fill:none}
.xiaoying-handle,.xiaoying-art-float [data-xiaoying-tooltip]{position:relative;overflow:visible}
.orbital-ring.orbital-nebula{display:flex;align-items:center;justify-content:center}.orbital-nebula.orbital-ring--hero .xiaoying-luminous-orb{width:170px;height:170px}.orbital-nebula:not(.orbital-ring--hero) .xiaoying-luminous-orb{width:100%;height:100%}@media(max-width:760px){.orbital-nebula.orbital-ring--hero .xiaoying-luminous-orb{width:118px;height:118px}}
.xiaoying-guide.xiaoying-art-float .xiaoying-handle,.course-art-floating .course-art-drag{display:inline-flex!important;align-items:center;justify-content:center}
.xiaoying-guide.xiaoying-art-float .xiaoying-art-input svg,.course-art-floating .course-art-compose-button svg,.course-art-floating .course-chat-input svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.xiaoying-guide.xiaoying-art-float header>.xiaoying-art-input{display:inline-flex;align-items:center;justify-content:center;color:#f1edf7}
.course-art-floating .course-art-compose-button,.course-art-floating .course-chat-input{display:inline-flex;align-items:center;justify-content:center}
/* The compose control is a distinct light circular action, as in the reference. */
.xiaoying-guide.xiaoying-art-float header>.xiaoying-art-input{background:#f6f7fa!important;border-color:#e7e8ef!important;color:#252635!important}
.xiaoying-guide.xiaoying-art-float header>.xiaoying-art-input:hover,.xiaoying-guide.xiaoying-art-float header>.xiaoying-art-input:focus-visible{background:#fff!important;outline:2px solid #b9c4ff;outline-offset:2px}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-art-compose-button,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-chat-input{background:#f6f7fa!important;border-color:#e7e8ef!important;color:#252635!important}
/* Match the floating controls to the light input button. */
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group{background:#f6f7fa!important;border-color:#e7e8ef!important;color:#252635!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:not(.xiaoying-handle){color:#252635!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:hover,.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:focus-visible{background:#e7e9f0!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group{background:#f6f7fa!important;border-color:#e7e8ef!important;color:#252635!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group button,#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-float-group summary{color:#252635!important}
#app .course-workspace-shell:has(.film-editor) .course-art-floating .course-player-play{background:#f6f7fa!important;border-color:#e7e8ef!important;color:#252635!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group .mentor-voice-tools button,.xiaoying-guide.xiaoying-art-float .xiaoying-float-group .mentor-voice-tools svg{color:#252635!important;stroke:currentColor}
/* Keep the orb bright and circular; keyboard focus remains visible. */
.xiaoying-guide.xiaoying-art-float .xiaoying-handle{border-radius:50%!important;background:transparent!important;outline:none}
.xiaoying-guide.xiaoying-art-float .xiaoying-handle:hover{background:transparent!important;outline:none!important}
.xiaoying-guide.xiaoying-art-float .xiaoying-handle:focus-visible{outline:2px solid #5266a0!important;outline-offset:2px}
.xiaoying-guide.xiaoying-art-float .xiaoying-float-group .mentor-voice-tools button:hover,.xiaoying-guide.xiaoying-art-float .xiaoying-float-group .mentor-voice-tools button:focus-visible,.xiaoying-guide.xiaoying-art-float .xiaoying-float-group>button:not(.xiaoying-handle):hover{background:#e7e9f0!important;color:#252635!important}
.xiaoying-orb-close-symbol{position:absolute;width:58%!important;height:58%!important;left:21%;top:21%;z-index:3;stroke:#425377;stroke-width:1.8;stroke-linecap:round;fill:none;pointer-events:none;opacity:0;transition:opacity .14s ease;filter:drop-shadow(0 1px 1px #fffa)}
.xiaoying-handle:has([data-voice-entry=active]):is(:hover,:focus-visible) .xiaoying-orb-close-symbol{opacity:1}
.xiaoying-voice-tooltip,.xiaoying-guide.xiaoying-art-float .mentor-voice-tools .xiaoying-voice-tooltip{position:absolute;z-index:50;bottom:calc(100% + 10px);left:50%;transform:translate(-50%,3px);padding:7px 10px;border-radius:9px;background:#fff;color:#252d3c;font-size:12px;font-weight:500;line-height:1.35;white-space:nowrap;box-shadow:0 5px 18px #25314d24;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,transform .12s ease}
.xiaoying-voice-tooltip:after{content:"";position:absolute;top:100%;left:calc(50% - 5px);border:5px solid transparent;border-top-color:#fff}
:is(.xiaoying-handle,.xiaoying-art-float [data-xiaoying-tooltip]):is(:hover,:focus-visible)>.xiaoying-voice-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}

@media(prefers-reduced-motion:reduce){.xiaoying-orb-close-symbol,.xiaoying-voice-tooltip{transition:none}}


/* web-enrollment-ui.css */
/* Course enrollment only. Home, creation, mentor and native enrollment keep their styles. */
.platform-shell:has(.enrollment-page){--bg:#15161b;--rail:#111216;--surface:#202127;--raised:#27282f;--input:#17181d;--border:#393b44;--text:#f0f0f2;--muted:#a0a2ac;--accent:#c8bdd8;--accent-ink:#17151c;--selected:#2c2d35;--academy-ink:#f0f0f2;--academy-paper:#15161b}
.platform-shell .enrollment-page{max-width:1240px;margin:0 auto;padding:18px 0 64px;color:#f0f0f2}
.enrollment-page .enrollment-heading{display:flex;align-items:baseline;gap:24px;margin-bottom:24px}
.enrollment-page .enrollment-heading h1{margin:0;font-size:28px;font-weight:600;letter-spacing:-.035em}
.enrollment-page .enrollment-heading>p{margin:0;color:#91949f;font-size:14px}
.enrollment-page>.tabs{padding:0;gap:32px;border-bottom:1px solid #34363f;margin-bottom:36px;overflow:auto}
.enrollment-page>.tabs button{flex:none;font-size:14px;font-weight:450;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:14px 0;color:#8f929e;white-space:nowrap}
.enrollment-page>.tabs button.active{border-bottom-color:#c8bdd8;color:#f0f0f2;background:transparent;font-weight:600}
.enrollment-page .enrollment-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.enrollment-page .enrollment-intro h2{font-size:23px;font-weight:550;letter-spacing:-.025em;margin:0 0 9px}
.enrollment-page .enrollment-intro p{color:#91949f;font-size:14px;line-height:1.65;margin:0}
.enrollment-page .enrollment-management{display:flex;gap:18px;flex:none;font-size:13px}
.enrollment-page .enrollment-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.enrollment-page .enrollment-product{display:flex;flex-direction:column;min-width:0;padding:30px 30px 22px;border:1px solid #363840;border-radius:14px;background:#1c1d23;box-shadow:none}
.enrollment-page .enrollment-product>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px;font-size:12px}
.enrollment-page .enrollment-delivery{color:#c4c6ce}
.enrollment-page .enrollment-availability{color:#8f929d}
.enrollment-page .enrollment-product h3{margin:0 0 13px;font-size:24px;letter-spacing:-.035em;line-height:1.4;font-weight:550;color:#f4f4f6}
.enrollment-page .enrollment-description{font-size:14px;line-height:1.85;color:#a4a6b0;margin:0;max-width:46em}
.enrollment-page .enrollment-result{padding:18px 0 20px;margin-top:22px;border-top:1px solid #32343c;border-bottom:1px solid #32343c}
.enrollment-page .enrollment-result>span{display:block;color:#8f929e;font-size:12px;margin-bottom:8px}
.enrollment-page .enrollment-result p{font-size:15px;line-height:1.75;color:#dedfe5;margin:0}
.enrollment-page .enrollment-facts{display:grid;gap:12px;margin:20px 0 28px;font-size:13px;line-height:1.7}
.enrollment-page .enrollment-facts>div{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px}
.enrollment-page .enrollment-facts dt{color:#858995}.enrollment-page .enrollment-facts dd{margin:0;color:#b3b5bf}
.enrollment-page .enrollment-product>footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:auto;padding-top:4px}
.enrollment-page .enrollment-product>footer strong{font-size:25px;font-weight:550;letter-spacing:-.03em}
.enrollment-page .enrollment-product>footer small{display:block;font-size:11px;color:#858995;margin-top:3px}
.enrollment-page .enrollment-pending{font-size:12px;color:#8d909c}
.enrollment-page .enrollment-course-link{display:inline-flex;align-items:center;gap:24px;min-height:42px;padding:10px 16px;border:1px solid #65606d;border-radius:8px;background:transparent;color:#e1dce9;font-size:13px;text-decoration:none}
.enrollment-page .enrollment-course-link:hover{background:#2b2c34;border-color:#aaa0b7}
.enrollment-page .enrollment-catalogue-footer{display:flex;justify-content:space-between;gap:24px;margin-top:24px;padding:8px 0;color:#868a96;font-size:12px;line-height:1.8}
.enrollment-page .enrollment-catalogue-footer p{margin:0}.enrollment-page .enrollment-catalogue-footer a{color:#c9c4d2;white-space:nowrap}
.enrollment-page :is(a,button):focus-visible{outline:2px solid #c8bdd8;outline-offset:4px}
/* Existing product details and checkout retain their DOM and handlers. */
.commerce.enrollment-commerce{--bg:#15161b;--rail:#111216;--surface:#202127;--raised:#27282f;--input:#17181d;--border:#393b44;--text:#f0f0f2;--muted:#a0a2ac;--accent:#c8bdd8;--accent-ink:#17151c;--selected:#2c2d35;--offer-ink:#f0f0f2;--offer-muted:#a0a2ac;--offer-accent:#c8bdd8;--offer-line:#393b44;min-height:100vh;background:#15161b;color:#f0f0f2}
.enrollment-commerce .commerce-header{background:#111216;border-color:#30323a}
.enrollment-commerce main{max-width:1240px;margin:0 auto}
.enrollment-commerce :is(.course-card,.offer-card,.detail-purchase,.detail-audience,.delivery-section,.phase-grid article,.terms-section,.card,.course-faq){background:#1c1d23;border-color:#363840;box-shadow:none}
.enrollment-commerce :is(.offer-card,.course-detail-hero){background:#1c1d23!important;background-image:none!important}
.enrollment-commerce .offer-wordmark{display:none}.enrollment-commerce .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.enrollment-commerce .offer-card{border-radius:14px}.enrollment-commerce .commerce-heading h1{font-size:32px;letter-spacing:-.035em}
.enrollment-commerce :is(.offer-label,.eyebrow){color:#91949f;letter-spacing:0}
.enrollment-commerce .course-detail-hero h1{font-size:40px;line-height:1.25}.enrollment-commerce .course-detail-hero h2{font-size:24px;line-height:1.5}
.enrollment-commerce :is(button.primary,a.primary){background:#d9d3e2;color:#1a1720;border-color:#d9d3e2;box-shadow:none}
@media(max-width:800px){.enrollment-page .enrollment-product-grid,.enrollment-commerce .offer-grid{grid-template-columns:minmax(0,1fr)}.enrollment-page .enrollment-product{padding:24px}.enrollment-page .enrollment-heading{display:block}.enrollment-page .enrollment-heading>p{margin-top:8px}.enrollment-page>.tabs{gap:26px;margin-bottom:28px}.enrollment-page .enrollment-intro{align-items:start;flex-direction:column;gap:12px}.enrollment-page .enrollment-catalogue-footer{flex-direction:column;gap:5px}.enrollment-commerce .course-detail-hero h1{font-size:31px}.enrollment-commerce .commerce-heading h1{font-size:28px}}

body:has(.enrollment-commerce){background:#15161b}

dialog:has(.enrollment-template){background:#1c1d23;color:#f0f0f2;border:1px solid #393b44;max-width:680px}
.enrollment-template{line-height:1.8}.enrollment-template dl{display:grid;gap:6px;margin:24px 0}.enrollment-template dt{font-weight:600;margin-top:10px}.enrollment-template dd{margin:0;color:#a0a2ac}.enrollment-template .muted{color:#a0a2ac;font-size:13px}.enrollment-template a.secondary{display:inline-block;background:#27282f;border-color:#65606d;color:#e1dce9}

/* Enrollment is a product flow; keep the learning/creation assistant elsewhere. */
body:has(.enrollment-page) .xiaoying-guide{display:none!important}


/* film-postproduction.css */
/* A review replaces the old display:contents multi-panel editing grid. Keep
   this override local to the new panel so old editing/other stages keep layout. */
.academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post]:has(.film-finecut) .film-studio-body{grid-template-columns:var(--film-layout-assets-size,208px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;min-height:0;overflow:hidden}
.academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post]:has(.film-finecut) .film-stage-content{display:block!important;grid-column:2!important;grid-row:1!important;height:100%;min-width:0;min-height:0;overflow:auto;padding:0}
.academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post]:has(.film-finecut) #film-notes{display:block!important;height:auto;min-height:100%;margin:0}
.academy-shell.film-immersive.film-layout-active .film-editor[data-stage=post]:has(.film-finecut) [data-film-layout-panel=assets]{grid-column:1!important;grid-row:1!important}
.film-handoff.film-finecut{padding:22px 26px 30px;max-width:1440px;margin:0 auto;min-width:0;color:var(--text,#eeedf5)}
.film-handoff.film-finecut .post-finecut-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.film-handoff.film-finecut h3{margin:0 0 5px;font-size:23px;line-height:1.35}.film-handoff.film-finecut p{line-height:1.55}.film-handoff.film-finecut small{color:var(--muted,#a09eae);line-height:1.5}.film-handoff.film-finecut .post-finecut-heading p{margin:0;font-size:13px;color:var(--muted,#a09eae)}
.film-handoff .post-version-label{font-size:12px;white-space:nowrap;border:1px solid var(--border,#30303d);padding:7px 10px;border-radius:6px;background:#1d1d27}
.film-handoff .post-film-monitor{position:relative;background:#090a0e;border:1px solid #34333f;border-radius:9px;overflow:hidden;aspect-ratio:16/9;max-height:580px;margin:auto;isolation:isolate}.film-handoff .post-film-monitor video{display:block;width:100%;height:100%;object-fit:contain;background:#07080b}.film-handoff .post-monitor-label{position:absolute;top:12px;left:12px;z-index:1;padding:5px 9px;background:#0d0e14d9;border-radius:5px;font-size:12px;pointer-events:none}.film-handoff .post-monitor-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;box-sizing:border-box;color:#aaa7ba;gap:10px}.film-handoff .post-monitor-empty strong{color:#e4e2ee;font-size:18px}.film-handoff .post-monitor-empty p{margin:0;max-width:420px;font-size:13px}.film-handoff .post-monitor-empty svg{width:40px;height:40px;opacity:.6;margin-bottom:8px}
.film-handoff .post-film-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:15px 0 21px}.film-handoff .post-film-actions>div{display:flex;gap:9px;align-items:center}.film-handoff .post-film-actions small{font-size:12px}.film-handoff .post-delivery-disabled{opacity:.55;cursor:not-allowed}.film-handoff .post-delivery-link{background:#c6b7ff;color:#181324;border-radius:7px;padding:10px 18px;text-decoration:none;font-weight:600;font-size:13px}.film-handoff .post-status-note{font-size:12px;margin:6px 0 12px;color:#c7ac82}.film-handoff .post-blocked-list{margin:6px 0 12px;padding-left:20px;font-size:12px;color:#b9b4c8}
.film-handoff .post-readonly-timeline{margin:0 0 18px;min-width:0}.film-handoff .post-readonly-timeline header{display:flex;gap:14px;align-items:center;padding:0 0 10px}.film-handoff .post-readonly-timeline h4{margin:0;font-size:15px}.film-handoff .post-readonly-timeline header span{color:#aaa6bb;font-size:11px}.film-handoff .post-readonly-timeline header small{margin-left:auto;border:1px solid var(--border,#30303d);border-radius:5px;padding:3px 7px;font-size:11px}
.film-handoff .post-ro-scroll{max-height:368px;overflow:auto;border:1px solid #2b2c37;border-radius:6px;scrollbar-color:#4c485e #15151e;scrollbar-width:thin}.film-handoff .post-ro-grid{display:grid;--post-track-label:105px;grid-template-columns:var(--post-track-label) minmax(var(--post-timeline-width,760px),1fr);width:100%;min-width:calc(var(--post-timeline-width,760px) + var(--post-track-label));position:relative}.film-handoff .post-ro-label{position:sticky;left:0;z-index:3;background:#181922;border-right:1px solid #353340;border-bottom:1px solid #2b2c37;display:flex;justify-content:center;flex-direction:column;padding:0 9px;min-height:39px;box-sizing:border-box;font-size:11px}.film-handoff .post-ro-label small{font-size:9px}.film-handoff .post-ro-corner{position:sticky;top:0;z-index:6;min-height:28px;color:#a8a3b7;font-size:10px}.film-handoff .post-ro-ruler{position:sticky;top:0;z-index:5;height:28px;background:#181922;border-bottom:1px solid #353340}.film-handoff .post-ro-ruler button{position:absolute;top:0;transform:translateX(-50%);height:28px;background:transparent!important;border:0!important;color:#aba6bc!important;font-size:10px;padding:0 3px!important;min-width:0!important}.film-handoff .post-ro-ruler button:first-child{transform:none}.film-handoff .post-ro-ruler button:last-child{transform:translateX(-100%)}
.film-handoff .post-ro-ruler button,.film-handoff .post-ro-cue{min-height:0!important}
.film-handoff .post-ro-lane{position:relative;height:40px;border-bottom:1px solid #292a34;background:#13141b;overflow:hidden}.film-handoff .post-ro-lane.post-ro-picture{height:64px}.film-handoff .post-ro-lane.post-ro-caption{height:42px}.film-handoff .post-ro-cue{position:absolute;top:6px;height:27px;padding:3px 5px!important;min-width:2px!important;display:flex;align-items:center;gap:4px;border:1px solid #5d5674!important;border-radius:3px!important;background:#373143!important;color:#eee9fd!important;overflow:hidden;white-space:nowrap;text-align:left;cursor:pointer;font-size:10px!important;box-shadow:none!important}.film-handoff .post-ro-cue span{overflow:hidden;text-overflow:ellipsis;position:relative;z-index:1}.film-handoff .post-ro-cue small{font-size:9px;color:#d6d0e5;position:relative;z-index:1;flex-shrink:0}.film-handoff .post-ro-picture .post-ro-cue{height:53px;padding-top:25px!important;align-items:flex-end;background:#2a2b35!important}.film-handoff .post-ro-picture .post-ro-cue img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7}.film-handoff .post-ro-picture .post-ro-cue span,.film-handoff .post-ro-picture .post-ro-cue small{background:#101019bd;padding:1px 2px;border-radius:2px}.film-handoff .post-ro-caption .post-ro-cue{background:#2d4444!important;border-color:#4f706d!important}.film-handoff .post-ro-ambience .post-ro-cue{background:#243b41!important;border-color:#40575d!important}.film-handoff .post-ro-sfx .post-ro-cue{background:#534335!important;border-color:#74614c!important}.film-handoff .post-ro-dialogue .post-ro-cue,.film-handoff .post-ro-narration .post-ro-cue{background:#303b4e!important;border-color:#4d5c78!important}.film-handoff .post-ro-cue.is-selected{outline:2px solid #d0bfff;outline-offset:-2px}.film-handoff .post-ro-cue.is-missing{border-style:dashed!important;opacity:.6}.film-handoff .post-ro-empty{position:absolute;left:10px;top:12px;font-size:10px;color:#777585;white-space:nowrap}.film-handoff .post-ro-cut{position:absolute;top:0;bottom:0;border-left:1px solid #4a425c33;pointer-events:none}.film-handoff .post-ro-cursor{position:absolute;top:0;bottom:0;width:1px;background:#c6a8ff;z-index:2;pointer-events:none}.film-handoff .post-ro-fade-in,.film-handoff .post-ro-fade-out{position:absolute;inset:0;pointer-events:none;opacity:.3}.film-handoff .post-ro-fade-in{background:linear-gradient(125deg,#ddd9ff,transparent 60%);width:var(--post-fade-in)}.film-handoff .post-ro-fade-out{left:auto;width:var(--post-fade-out);background:linear-gradient(-125deg,#ddd9ff,transparent 60%)}.film-handoff .post-ro-location,.film-handoff .post-ro-transitions{font-size:11px;color:#a6a0b5;margin:8px 0}.film-handoff .post-ro-transitions button{background:transparent!important;border:0!important;padding:2px 5px!important;font-size:11px;color:#cbbdff}.film-handoff .post-ro-scroll:focus-visible{outline:2px solid #c6b7ff;outline-offset:2px}
.film-handoff .post-feedback{display:grid;grid-template-columns:1fr auto;gap:13px;align-items:center;padding:15px;border:1px solid #373541;border-radius:8px;background:#22222d}.film-handoff .post-feedback label{font-size:12px;display:block;grid-column:1/-1;color:#a9a3ba}.film-handoff .post-feedback textarea{min-height:50px;resize:vertical;background:transparent;border:0;color:#eeebf5;box-shadow:none;padding:0;font-size:13px;width:100%;box-sizing:border-box}.film-handoff .post-feedback .primary{align-self:center}.film-handoff .post-feedback small{grid-column:1/-1;font-size:11px}.film-handoff .post-advanced{margin-top:20px}.film-handoff .post-advanced>summary{font-size:12px;cursor:pointer;color:#b0a9c2;padding:5px 0}.film-handoff .post-advanced details{border-top:1px solid #2e2c37;margin-top:12px;padding-top:10px}.film-handoff .post-advanced label{display:block;margin:9px 0;font-size:12px}.film-handoff .post-advanced input,.film-handoff .post-advanced select{max-width:100%}.film-handoff .post-advanced textarea{width:100%;box-sizing:border-box}.film-handoff .post-advanced audio{width:100%}.film-handoff .post-history{display:flex;flex-wrap:wrap;gap:8px}.film-handoff .post-history button{font-size:11px}.film-handoff .post-finecut-error{padding:10px 12px;background:#4a2e25;color:#f3c9b8;border-radius:6px;font-size:12px}
.film-handoff .post-readonly-timeline header small{flex-shrink:0}.film-handoff .post-ro-lane.post-ro-picture{height:94px}.film-handoff .post-ro-picture .post-ro-cue{height:82px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:2px 4px;padding:25px 5px 5px!important;align-content:end;align-items:center}.film-handoff .post-ro-picture .post-ro-cue-name{grid-column:1;grid-row:1}.film-handoff .post-ro-picture .post-ro-cue-duration{grid-column:2;grid-row:1}.film-handoff .post-ro-cue-source,.film-handoff .post-ro-cue-trim{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-handoff .post-ro-cue-source{grid-row:2}.film-handoff .post-ro-cue-trim{grid-row:3;color:#d4c6f4!important}
.film-handoff .post-ro-lane.post-ro-audio,.film-handoff .post-ro-lane.post-ro-caption{height:58px}.film-handoff .post-ro-audio .post-ro-cue,.film-handoff .post-ro-caption .post-ro-cue{height:43px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:2px 4px;align-content:center}.film-handoff .post-ro-cue-detail{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.film-handoff .post-ro-audio .post-ro-cue span,.film-handoff .post-ro-audio .post-ro-cue small{background:#131722a8;border-radius:2px}.film-handoff .post-ro-volume-envelope{position:absolute;inset:0;width:100%;height:100%;color:#ced5ee;opacity:.65;pointer-events:none}.film-handoff .post-ro-source-scope{font-size:10px;color:#9992ab;margin:6px 0 12px;line-height:1.5}
.film-handoff .post-ro-lane.post-ro-edits{height:39px;background:#1a1823;overflow:hidden}.film-handoff .post-ro-edit-mark{position:absolute;top:8px;height:23px;min-height:0!important;padding:0!important;min-width:2px!important;border:1px solid #8f7baa!important;border-radius:3px!important;background:#58456980!important;color:#e4d6fa!important;box-shadow:none!important;font-size:9px;cursor:pointer;white-space:nowrap;overflow:visible}.film-handoff .post-ro-edit-mark span{position:absolute;top:2px;left:4px;line-height:16px;pointer-events:auto;background:#221c2cdd;border-radius:2px;padding:0 3px}.film-handoff .post-ro-edit-cut{width:2px;transform:translateX(-1px);background:#cbb9e9!important;border-color:#cbb9e9!important}.film-handoff .post-ro-edit-cut:before{content:"";position:absolute;top:-5px;left:-3px;border:3px solid transparent;border-top-color:#d2c0f4}.film-handoff .post-ro-edit-dissolve{background:linear-gradient(135deg,#4a384c,#b09ac955,#4a384c)!important}.film-handoff .post-ro-edit-black{background:linear-gradient(90deg,#51405e,#08090e,#51405e)!important}.film-handoff .post-ro-edit-mark:focus-visible,.film-handoff .post-ro-audio-fade:focus-visible{outline:2px solid #d0bfff;outline-offset:2px}
.film-handoff .post-ro-audio-fade{position:absolute;top:auto;bottom:3px;height:4px;min-height:0!important;min-width:2px!important;padding:0!important;border:0!important;border-radius:1px!important;box-shadow:none!important;background:#9cafd9!important;color:#aebce0!important;cursor:pointer}.film-handoff .post-ro-audio-fade-in{background:linear-gradient(90deg,#354664,#c0cfef)!important}.film-handoff .post-ro-audio-fade-out{background:linear-gradient(90deg,#c0cfef,#354664)!important}
@media(max-width:1000px){.film-handoff.film-finecut{padding:16px}.film-handoff .post-feedback{grid-template-columns:1fr}.film-handoff .post-film-monitor{max-height:none}.film-handoff .post-ro-grid{--post-track-label:89px}}
/* Compact review: the native monitor and true saved tracks stay together. */
.film-handoff.film-finecut{padding:14px 18px 24px}.film-handoff.film-finecut .post-finecut-heading{margin-bottom:8px;gap:10px}.film-handoff.film-finecut h3{font-size:18px;margin:0}.film-handoff .post-film-monitor{width:min(100%,900px,80vh);max-height:none}.film-handoff .post-monitor-label{top:8px;left:8px;font-size:10px;padding:3px 6px}.film-handoff .post-monitor-empty{padding:18px;gap:6px}.film-handoff .post-monitor-empty strong{font-size:15px}.film-handoff .post-monitor-empty p{font-size:11px}.film-handoff .post-monitor-empty svg{width:28px;height:28px;margin:0}
.film-handoff .post-ro-compact{margin:8px 0 0}.film-handoff .post-ro-compact header{padding:0 0 5px;gap:10px}.film-handoff .post-ro-compact h4{font-size:12px}.film-handoff .post-ro-compact header small{font-size:9px;padding:1px 5px;border:0;background:transparent}.film-handoff .post-ro-current-time{font-size:10px;font-variant-numeric:tabular-nums;color:#ada7bd}.film-handoff .post-ro-compact .post-ro-scroll{max-height:clamp(140px,27vh,240px)}.film-handoff .post-ro-compact .post-ro-grid{--post-track-label:76px}.film-handoff .post-ro-compact .post-ro-label{min-height:28px;font-size:10px;padding:0 7px;overflow:hidden}.film-handoff .post-ro-compact .post-ro-label strong{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.film-handoff .post-ro-compact .post-ro-label small{font-size:8px}.film-handoff .post-ro-compact .post-ro-corner{min-height:22px}.film-handoff .post-ro-compact .post-ro-ruler{height:22px}.film-handoff .post-ro-compact .post-ro-ruler button{height:22px;font-size:9px}.film-handoff .post-ro-compact button{min-height:0!important}
.film-handoff .post-ro-compact .post-ro-lane{height:29px}.film-handoff .post-ro-compact .post-ro-cue{height:21px;top:3px;padding:1px 4px!important;display:flex;align-items:center;gap:0;font-size:9px!important}.film-handoff .post-ro-compact .post-ro-lane.post-ro-picture{height:54px}.film-handoff .post-ro-compact .post-ro-picture .post-ro-cue{height:46px;top:3px;padding:1px 4px 3px!important;display:flex;align-content:normal;align-items:flex-end;grid-template-rows:none;grid-template-columns:none}.film-handoff .post-ro-compact .post-ro-picture .post-ro-cue-name{grid-column:auto;grid-row:auto;background:#101019bb;max-width:100%;font-size:9px}.film-handoff .post-ro-compact .post-ro-lane.post-ro-audio,.film-handoff .post-ro-compact .post-ro-lane.post-ro-caption{height:29px}.film-handoff .post-ro-compact .post-ro-audio .post-ro-cue,.film-handoff .post-ro-compact .post-ro-caption .post-ro-cue{height:21px;display:flex;grid-template-rows:none;grid-template-columns:none;align-items:center}.film-handoff .post-ro-compact .post-ro-lane.post-ro-edits{height:18px}.film-handoff .post-ro-compact .post-ro-edit-mark{top:3px;height:10px}.film-handoff .post-ro-compact .post-ro-edit-cut:before{top:-3px}.film-handoff .post-ro-compact .post-ro-audio-fade{height:2px;bottom:2px}.film-handoff .post-ro-compact .post-ro-volume-envelope{opacity:.45}
.film-handoff .post-ro-details{margin-top:3px;font-size:10px;color:#aaa4b7}.film-handoff .post-ro-details>summary{font-size:10px;min-height:23px;padding:3px 0;line-height:1.4;color:#ada6bc}.film-handoff .post-ro-details p{font-size:10px;margin:5px 0 8px}.film-handoff .post-ro-details section{margin:7px 0}.film-handoff .post-ro-details h5{font-size:10px;margin:0 0 3px;font-weight:600}.film-handoff .post-ro-details ul{margin:0;padding-left:16px}.film-handoff .post-ro-details li{margin:3px 0;line-height:1.5}.film-handoff .post-ro-blank{padding:18px;border:1px solid #2b2c37;border-radius:5px;color:#9f99ad;font-size:11px;text-align:center}
.film-handoff .post-review-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:6px 0 0}.film-handoff .post-review-controls small{font-size:10px}.film-handoff .post-review-controls :is(button,a){min-height:28px!important;font-size:11px;padding:5px 10px;border-radius:5px}.film-handoff .post-review-status{margin:4px 0 0;font-size:11px}.film-handoff .post-review-status>summary{min-height:26px;padding:4px 0;font-size:11px;line-height:1.4;color:#b9b0c9}.film-handoff .post-review-status :is(p,small,li){font-size:11px}.film-handoff .post-review-status :is(button,a){min-height:28px;font-size:11px;padding:5px 9px}.film-handoff .post-review-status .post-film-actions{margin:6px 0;gap:6px}.film-handoff .post-review-status .post-film-actions>div{gap:6px;flex-wrap:wrap}.film-handoff .post-review-status .post-status-note{margin:5px 0}.film-handoff .post-review-status .post-blocked-list{margin:5px 0 8px}.film-handoff .post-advanced{margin-top:6px}.film-handoff .post-advanced>summary{font-size:11px;min-height:27px;padding:5px 0}

