/* Tactical commentary workspace. Console shell and mini-program tactics visual conventions. */
:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#183a2b;background:#f3f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d7e5dd;border-radius:7px;background:#fff;color:#315b45;padding:8px 11px;font-size:12px;white-space:nowrap}button:hover{background:#edf7f1;border-color:#a9c9b6}button:disabled{opacity:.45;cursor:not-allowed}input,select{border:1px solid #d7e5dd;border-radius:7px;padding:8px 10px;color:#315b45;background:#fff;min-width:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #73b59a;outline-offset:2px}[hidden]{display:none!important}.primary{background:#087f5b;color:#fff;border-color:#087f5b}.primary:hover{background:#096e50;color:#fff}.text-button{border-color:transparent;background:transparent;padding:6px;color:#547561}.text-button:hover{border-color:transparent}.prototype-bar{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:12px;color:#526d5e;background:#e5eee9;border-bottom:1px solid #d1e0d7;gap:12px}.prototype-bar label{display:flex;align-items:center;gap:8px}.prototype-bar select{padding:4px 8px;font-size:12px}.app{display:flex;min-height:calc(100vh - 42px)}.sidebar{width:202px;flex:none;background:#102c23;color:#e9f5eb;padding:25px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;margin:0 5px 31px}.brand-icon{width:38px;height:38px;border-radius:10px;background:#dcf8db;color:#075a3b;font-size:25px;font-weight:800;display:grid;place-items:center;position:relative}.brand-icon span{position:absolute;right:7px;bottom:4px;color:#e59f35}.brand strong{font-size:15px;display:block}.brand small{font-size:12px;display:block;color:#8db6a0;margin-top:5px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{background:transparent;border:1px solid transparent;color:#bed4c7;text-align:left;padding:12px 10px;display:flex;gap:12px;align-items:center;font-size:13px;min-height:44px}.sidebar nav button span{font-size:18px;width:20px;text-align:center}.sidebar nav button.active{background:#24553d;color:#fff;border-color:#376b4e}.sidebar nav button:hover{background:#1c4533}.nav-caption{font-size:11px;color:#729884;margin:21px 10px 5px}.sidebar-bottom{margin-top:auto;padding:22px 5px 0;display:flex;align-items:center;gap:10px}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#37674f;border-radius:50%;font-size:13px}.sidebar-bottom strong{font-size:12px;font-weight:500}.sidebar-bottom strong span{font-size:10px;color:#91b19e}.sidebar-bottom small{display:block;font-size:11px;color:#91b19e;margin-top:5px}.main{min-width:0;flex:1}.topbar{display:flex;align-items:center;justify-content:space-between;height:57px;padding:0 19px;background:#fff;border-bottom:1px solid #deebe3;gap:8px}.leading,.top-actions{display:flex;align-items:center;gap:12px;min-width:0}.leading{font-size:12px;color:#7a9284}.leading strong{color:#365944;font-weight:500}.top-actions #saveState{font-size:11px;color:#668675;white-space:nowrap}.top-actions button{padding:7px 11px}.editor-view{padding:14px 18px 18px}.project-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.project-heading h1{font-size:19px;margin:0 0 6px;font-weight:700;color:#173f33}.project-heading h1 span{font-weight:400;font-size:15px;color:#52715f}.project-heading p{font-size:11px;color:#7e9588;margin:0}.separator{padding:0 8px;color:#b3c2b9}.record-actions{display:flex;gap:8px;align-items:center}.record-button{background:#087f5b;border-color:#087f5b;color:#fff;font-weight:600;padding:9px 14px}.record-button:hover{background:#096e50;color:#fff}.record-button span{color:#d3f5e4;margin-right:3px}.record-button.recording{background:#b9443c;border-color:#b9443c}.board-workspace{display:grid;grid-template-columns:minmax(0,1fr) 248px;border:1px solid #dbe7df;border-radius:9px;overflow:hidden;background:#fff;box-shadow:0 2px 9px #163c2606}.workbench-main{min-width:0}.board-toolbar{height:42px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #e6eee8}.board-toolbar>div{display:flex;gap:4px}.preview-tabs button{border:0;background:transparent;color:#83998c;padding:7px 10px;font-weight:600}.preview-tabs button.active{color:#087f5b;background:#eaf6ef}.pitch-area{position:relative;background:#eaf1ed;padding:16px 20px;display:flex;align-items:center;justify-content:center;min-height:240px}.pitch-area canvas{display:block;width:100%;max-height:418px;aspect-ratio:5/3;touch-action:none;user-select:none}.pitch-area canvas g.player{cursor:grab}.pitch-area canvas g.player:active{cursor:grabbing}.field-hint{position:absolute;bottom:26px;left:35px;background:#184532dc;color:#e6f0e9;border-radius:4px;padding:5px 8px;font-size:10px;pointer-events:none}.board-status{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#859a8d;font-size:11px}.inspector{border-left:1px solid #e0ebe3;padding:0 14px 12px;background:#fff;min-width:0}.inspector-tabs{display:flex;border-bottom:1px solid #e1eae4;margin:0 -14px 15px;padding:0 14px}.inspector-tabs button{flex:1;padding:12px 4px 10px;border:0;border-radius:0;color:#829688;border-bottom:2px solid transparent}.inspector-tabs button.active{color:#087f5b;border-bottom-color:#087f5b;font-weight:600}.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.mode{display:grid;justify-items:center;gap:5px;border-color:transparent;padding:9px 3px;font-size:11px;color:#698173;background:#f7faf8}.mode span{font-size:20px;height:24px}.mode.active{background:#eaf8f3;color:#087f5b}.tool-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.tool-options button{padding:9px 3px;color:#51725e}.tool-options button.active{color:#087f5b;background:#edf8f2;border-color:#b3d8c5}.tool-section{border-top:1px solid #e6eee8;margin-top:15px;padding-top:11px}.tool-section h3,.props-panel h3{font-size:12px;margin:0 0 9px;color:#567360;font-weight:500}.wide-option{display:flex;justify-content:space-between;width:100%;border:0;border-radius:0;padding:9px 0;text-align:left;background:none;font-size:12px;color:#53715f}.wide-option span{color:#a2b4a8}.color-picker{display:flex;gap:9px;flex-wrap:wrap;padding:2px 0}.color-picker button{width:24px;height:24px;padding:0;background:var(--swatch);border:2px solid #fff;border-radius:50%;outline:1px solid #d6e2da}.color-picker button.selected{outline:2px solid #087f5b}.inspector-note{font-size:11px;line-height:1.7;color:#94a69b;margin:16px 0 0}.props-panel{font-size:12px}.props-panel label{display:grid;gap:6px;margin:14px 0;color:#728b7a}.props-panel input{width:100%}.props-panel p{font-size:11px;line-height:1.7;color:#85998c}.props-panel .text-button{margin-bottom:16px}.property-actions{display:flex;gap:8px}.danger-text{color:#b44e44}.keyframe-strip{grid-column:1/-1;display:flex;align-items:center;gap:12px;border-top:1px solid #e2ece5;min-height:78px;padding:10px 13px;background:#fcfdfc}.keyframe-title{min-width:72px;display:grid;gap:5px}.keyframe-title strong{font-size:12px;font-weight:500}.keyframe-title small{font-size:10px;color:#94a699}.frame-buttons{display:flex;gap:7px;min-width:0;flex-wrap:wrap}.frame{display:grid;gap:5px;text-align:left;font-size:11px;padding:8px 10px;min-width:104px;border-radius:6px;color:#6c8573}.frame small{font-size:10px;color:#94a699}.frame.active{border-color:#9ac8b0;background:#ebf7ef;color:#087f5b}.add-frame{border-style:dashed;color:#7c9987;background:transparent;align-self:stretch;font-size:11px}.animation-controls{display:flex;margin-left:auto;align-items:center;gap:3px}.animation-controls button{font-size:11px}.timeline{background:#fff;border:1px solid #dce7df;border-radius:8px;margin-top:12px;overflow:hidden}.timeline-toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;padding:8px 11px;border-bottom:1px solid #e0eae3}.timeline-toolbar>div{display:flex;align-items:center;gap:5px}.timeline-toolbar button{font-size:11px;padding:5px 7px;background:#fff;border-color:transparent}.timeline-toolbar button:hover{background:#edf7f1}.timeline-toolbar button.active{background:#eaf6ee;color:#087f5b}.timeline-toolbar strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;margin-right:7px}.timeline-label{font-size:10px;color:#8aa090;margin-right:4px}#zoomLabel{font-size:10px;color:#8aa090}.timeline-grid{display:grid;grid-template-columns:115px minmax(0,1fr)}.lane-label{font-size:11px;padding:8px 12px;border-right:1px solid #e3ece6;border-bottom:1px solid #edf2ef;display:grid;align-content:center;gap:4px;background:#fafcfb}.lane-label strong{font-size:11px;font-weight:500}.lane-label small{font-size:10px;color:#98a99d}.ruler-label{font-size:10px;color:#8ea192;padding:5px 12px}.ruler{display:flex;justify-content:space-between;padding:7px 13px 7px 8px;font-size:10px;color:#97a99d;border-bottom:1px solid #e3ece6;background:#fbfcfb}.lane{position:relative;min-height:46px;border-bottom:1px solid #edf2ef;background:repeating-linear-gradient(90deg,transparent,transparent calc(16.666% - 1px),#f0f4f1 calc(16.666% - 1px),#f0f4f1 16.666%);padding:6px 8px;display:flex;gap:4px;align-items:stretch;overflow:hidden}.lane-empty{font-size:11px;color:#a2b4a7;display:flex;align-items:center}.board-lane{min-height:34px;padding:6px 8px}.source-clip{width:97%;border:1px solid #d0dfd6;background:#f1f6f3;border-radius:4px;padding:4px 9px;font-size:10px;color:#7b9585;display:flex;align-items:center;justify-content:space-between}.source-clip span{font-size:9px;color:#a1b3a6}.take-clip{border:1px solid #8ebba4;background:#dfeee4;border-radius:4px;text-align:left;font-size:10px;color:#386248;padding:5px 9px;flex:1;min-width:0;overflow:hidden;white-space:nowrap}.take-clip.voice{background:#e5eaf6;border-color:#becbe4;color:#65799f}.take-clip.selected{outline:2px solid #087f5b;outline-offset:-2px}.take-clip.live{border-style:dashed;background:#fff1e8;border-color:#d69b73;color:#ad6b41;max-width:48%}.waveform{height:12px;display:block;margin-top:3px;background:repeating-linear-gradient(90deg,transparent,transparent 2px,#91a6ca 2px,#91a6ca 3px,transparent 3px,transparent 5px);clip-path:polygon(0 42%,5% 20%,10% 45%,15% 5%,20% 38%,25% 13%,30% 40%,35% 25%,40% 43%,45% 14%,50% 36%,55% 6%,60% 39%,65% 22%,70% 45%,75% 10%,80% 39%,85% 23%,90% 44%,95% 20%,100% 45%,100% 65%,95% 85%,90% 62%,85% 88%,80% 65%,75% 95%,70% 61%,65% 83%,60% 64%,55% 98%,50% 63%,45% 89%,40% 62%,35% 80%,30% 63%,25% 92%,20% 65%,15% 96%,10% 61%,5% 85%,0 63%)}.timeline-bottom{padding:7px 11px;font-size:10px;color:#97a99c;display:flex;justify-content:space-between;gap:12px}.recording-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff3ed;border:1px solid #e7b7a2;border-radius:7px;color:#a14b34;padding:9px 12px;margin-bottom:10px;font-size:12px}.recording-bar>div{display:flex;gap:12px;align-items:center}.recording-bar button{font-size:11px;padding:5px 9px}.recording-bar strong{font-weight:600}.record-scope{color:#b58d7b;font-size:11px}.red-dot{background:#c55541;width:7px;height:7px;border-radius:50%}.recording-bar.paused{background:#fff9e9;border-color:#e4cf99;color:#a18b46}.completion-banner{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 12px;border:1px solid #bcdac8;background:#eaf7ef;margin-bottom:10px;border-radius:7px;font-size:12px;color:#437456}.completion-banner button{padding:4px 8px;border:0;background:transparent;color:#087f5b}.take-preview{position:absolute;inset:0;background:#eaf1ed;padding:24px;display:grid;place-items:center}.preview-frame{display:grid;justify-items:center;gap:15px;width:min(550px,95%);font-size:12px}.preview-frame strong{font-weight:500;color:#658070}.preview-frame small{font-size:11px;color:#90a395;text-align:center}.preview-mini{width:100%;aspect-ratio:1.9;background:#fff;border:1px solid #cbded0;display:grid;grid-template-columns:4fr 1fr;grid-template-rows:1fr 50px;padding:10px;gap:6px;border-radius:6px}.preview-mini span{display:grid;place-items:center;background:#eaf4ee;color:#68937b;font-size:11px}.preview-mini span:first-child{background:repeating-linear-gradient(90deg,#4c9a75 0,#4c9a75 14%,#448d6c 14%,#448d6c 28%);color:#fff}.preview-mini span:last-child{grid-column:1/-1;font-size:10px;color:#94a69a}.list-view{padding:28px 30px;max-width:1440px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.page-heading h1{font-size:24px;margin:0 0 9px}.page-heading p{font-size:12px;color:#7b9483;margin:0}.filters{display:flex;gap:9px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.filters input{flex:1;min-width:180px;font-size:12px}.filters select{font-size:12px}.filters span{font-size:11px;color:#91a497}.project-row{display:flex;align-items:center;gap:18px;background:#fff;padding:15px;width:100%;margin-bottom:10px;border:1px solid #deeadf;border-radius:9px;text-align:left;white-space:normal}.cover{width:106px;height:68px;border-radius:6px;background:#438e6a;padding:7px;display:grid;place-items:center;flex:none}.tiny-field{border:1px solid #ffffffa0;width:100%;height:100%;display:grid;place-items:center;color:#eaf5ee;font-size:13px;position:relative}.tiny-field:after{content:"";position:absolute;left:50%;height:100%;border-left:1px solid #ffffff60}.cover.alternate{background:#6c9a7d}.project-copy{flex:1;display:grid;gap:9px;min-width:0}.project-copy strong{font-size:14px;font-weight:600}.project-copy span{font-size:11px;color:#91a294}.state-chip{background:#fff3dc;color:#93681d;font-size:10px;border-radius:20px;padding:5px 9px;white-space:nowrap}.state-chip.saved{background:#eaf7ee;color:#568368}.row-action{font-size:11px;color:#478064;white-space:nowrap}.local-note{font-size:11px;color:#91a497;margin-top:20px}.empty-list{padding:35px 15px;text-align:center;border:1px dashed #cadfd1;border-radius:8px;background:#fff}.empty-list h2{font-size:16px}.empty-list p{font-size:12px;color:#81998a}dialog{border:1px solid #d1e1d6;border-radius:12px;color:#183a2b;background:#fff;padding:0;box-shadow:0 20px 80px #153f2c35;max-height:90vh;overflow:auto}dialog::backdrop{background:#0d261d68}.record-dialog{width:min(850px,94vw)}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:21px 23px 17px;border-bottom:1px solid #e3ece6}.dialog-heading h2{font-size:18px;margin:0 0 8px}.dialog-heading p{font-size:12px;color:#81988a;margin:0;line-height:1.7}.close-button{padding:0 5px;font-size:23px;border-color:transparent;background:none;color:#9aad9f}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;padding:23px}.settings-preview{display:flex;align-items:center;flex-direction:column;gap:12px;background:#f7faf8;border:1px solid #e0eae3;border-radius:7px;padding:16px 12px}.scope-preview{position:relative;background:#fff;border:2px solid #087f5b;overflow:hidden;border-radius:4px;width:100%;font-size:10px;color:#8ba393;user-select:none;touch-action:none}.mini-topbar{padding:8px;background:#f6f9f7;border-bottom:1px solid #d9e5dc;color:#5b7c67}.mini-workspace{display:grid;grid-template-columns:4fr 1fr;height:135px;padding:9px;gap:7px}.mini-pitch{background:repeating-linear-gradient(90deg,#4c9a75 0,#4c9a75 16%,#448d6c 16%,#448d6c 32%);color:#fff;position:relative;display:grid;place-items:center}.mini-pitch i{position:absolute;inset:7px;border:1px solid #fff9}.mini-tools{font-size:9px;line-height:2.5;background:#f1f6f3;padding:7px}.mini-frames{padding:7px;border-top:1px solid #e7eee9;border-bottom:1px solid #e7eee9}.mini-tracks{padding:8px;line-height:2;background:#f8fbf9}.scope-summary{font-size:11px;color:#5f806b;line-height:1.7;text-align:center}.settings-preview p{font-size:11px;margin:0;color:#93a699}.settings-fields{font-size:12px;display:grid;gap:11px;align-content:start}.settings-fields>label:not(.check-row){display:grid;gap:6px;color:#6a8875}.settings-fields select{width:100%;font-size:12px}.check-row{display:flex;gap:8px;align-items:center;color:#365e46}.check-row input{accent-color:#087f5b;width:15px;height:15px}.level-meter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#92a697;margin:0 0 4px}.level-meter i{display:block;width:94px;height:7px;background:linear-gradient(90deg,#7bc39a 68%,#e4eee7 68%);border-radius:3px}.level-meter small{font-size:10px}.field-help{font-size:11px;color:#98a99e;line-height:1.6;margin:-5px 0 3px}.dialog-footer{border-top:1px solid #e2ece5;padding:16px 23px;display:flex;gap:8px;justify-content:flex-end;align-items:center}.dialog-footer>span{font-size:11px;color:#8fa395;margin-right:auto;max-width:65%;line-height:1.6}.crop-rect{position:absolute;inset:16% 13%;border:2px solid #ffe36a;background:#ffe36a0d;box-shadow:0 0 0 1000px #122e2255;pointer-events:none;display:grid;place-items:center}.crop-rect span{color:#fff;font-size:11px;background:#214633b5;padding:4px}.region-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px}.region-controls label{display:flex;gap:6px;align-items:center}.region-controls select{width:100px;padding:5px}.region-controls button{font-size:10px;padding:5px}.region-controls span{color:#819a88}.warning-box{padding:10px;background:#fff6e2;border:1px solid #efddb2;border-radius:6px;color:#a4863d;line-height:1.7;font-size:11px}.warning-box button{display:block;border:0;padding:6px 0 0;background:transparent;color:#936d24;font-size:11px}.small-dialog{width:min(510px,94vw)}.source-choices,.export-choices{display:grid;gap:9px;padding:20px 23px}.source-choices button,.export-choices button{text-align:left;padding:14px;display:grid;gap:7px;white-space:normal}.source-choices strong,.export-choices strong{font-size:13px;font-weight:500}.source-choices span,.export-choices span{font-size:11px;color:#91a497;line-height:1.6}.export-choices small{float:right;color:#7e9a88;font-size:11px;font-weight:400}.dialog-note{font-size:11px;color:#8fa395;margin:0 23px 22px;line-height:1.7}.version-comparison{display:grid;gap:10px;padding:22px 23px}.version-comparison>div{display:grid;gap:8px;padding:12px;border:1px solid #dce8df;border-radius:7px}.version-comparison strong{font-size:13px;font-weight:500}.version-comparison span{font-size:11px;color:#94a69a}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:100;background:#173f33;color:#fff;padding:12px 20px;border-radius:8px;font-size:12px;max-width:calc(100vw - 35px);line-height:1.7;box-shadow:0 5px 20px #173f3326}.countdown-overlay{position:fixed;inset:0;z-index:80;background:#102c2375;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#fff}.countdown-overlay strong{font-size:95px;font-weight:500;line-height:1}.countdown-overlay span{font-size:14px}.capture-active .board-workspace,.capture-active .timeline{border-color:#c77860}.capture-active #recordTime{font-variant-numeric:tabular-nums;font-weight:600;min-width:42px}.capture-active .field-hint{display:none}
@media(min-width:1550px){.pitch-area canvas{max-height:490px}}@media(max-width:1150px){.sidebar{width:168px;padding:23px 10px}.sidebar nav button{font-size:12px;gap:8px}.brand{gap:7px}.brand strong{font-size:13px}.board-workspace{grid-template-columns:minmax(0,1fr) 220px}.project-heading h1 span{font-size:13px}.keyframe-strip{gap:8px}.frame{min-width:83px;padding:8px}.animation-controls{flex-wrap:wrap;justify-content:flex-end;max-width:125px}.timeline-toolbar{justify-content:flex-start}.project-heading p{max-width:400px}.leading #crumb{display:none}.pitch-area{padding:16px 12px}.record-scope{display:none}.timeline-bottom{font-size:10px}.field-hint{left:26px}}@media(max-width:900px){.sidebar{width:64px;padding:20px 8px}.brand{margin:0 4px 26px}.brand>div:last-child,.nav-caption,.sidebar-bottom,.sidebar nav button{font-size:0}.sidebar nav button{display:grid;place-items:center;padding:10px}.sidebar nav button span{font-size:19px}.brand-icon{width:35px;height:35px}.board-workspace{grid-template-columns:minmax(0,1fr) 200px}.editor-view{padding:12px}.keyframe-title{min-width:58px}.keyframe-strip{flex-wrap:wrap}.animation-controls{max-width:none;margin-left:auto}.project-heading h1{font-size:17px}.project-heading h1 span{display:none}.list-view{padding:24px 20px}.row-action{display:none}.timeline-bottom>span:last-child{display:none}.topbar{padding:0 12px}}@media(max-width:680px){.prototype-bar{height:auto;min-height:42px;flex-wrap:wrap;padding:8px 12px;font-size:11px}.prototype-bar select{max-width:170px}.app{min-height:calc(100vh - 58px)}.sidebar{display:none}.topbar{height:53px}.top-actions{gap:5px}.top-actions #saveState{font-size:10px}.top-actions button{font-size:11px;padding:6px 8px}.project-heading{flex-wrap:wrap}.project-heading h1{font-size:17px}.record-actions{margin-left:auto}.record-actions button{font-size:11px;padding:7px 9px}.board-workspace{display:flex;flex-direction:column}.inspector{border-left:0;border-top:1px solid #dce7df;padding-bottom:10px}.inspector-tabs{margin-bottom:8px}.inspector-tabs button{padding:9px 0}.mode-grid{grid-template-columns:repeat(4,1fr)}.mode{display:flex;align-items:center;justify-content:center;font-size:11px;padding:7px}.mode span{font-size:17px;height:auto}.tool-options{display:flex;flex-wrap:wrap;margin-top:7px}.tool-options button{flex:1;font-size:11px;padding:7px}.tool-section,.inspector-note{display:none}.keyframe-strip{padding:9px 10px;min-height:70px}.keyframe-title{display:none}.frame{min-width:69px;font-size:10px;padding:7px}.frame small{font-size:9px}.add-frame{font-size:10px;padding:6px}.animation-controls button{font-size:10px}.board-toolbar{padding:0 7px}.board-toolbar button{font-size:11px;padding:6px}.pitch-area{padding:12px;min-height:190px}.field-hint{left:21px;bottom:20px;font-size:9px}.board-status{font-size:10px;gap:10px}.board-status #toolHint{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.board-status #frameCount{flex:none}.timeline-toolbar{padding:7px 6px}.timeline-toolbar>div{flex-wrap:wrap}.timeline-label{display:none}.timeline-grid{grid-template-columns:72px minmax(0,1fr)}.lane-label{padding:7px}.lane-label small{font-size:9px}.lane-empty{font-size:10px;line-height:1.5}.ruler{padding:7px 4px;font-size:9px}.ruler span:nth-child(even){display:none}.timeline-bottom{line-height:1.6}.recording-bar{flex-wrap:wrap;font-size:11px}.recording-bar>div{gap:8px}.recording-bar #micLevel{font-size:10px}.completion-banner{font-size:11px;line-height:1.6}.completion-banner button{font-size:11px;flex:none}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:22px}.page-heading p{line-height:1.7}.project-row{gap:10px;padding:12px}.cover{width:64px;height:53px}.project-copy strong{font-size:12px}.project-copy span{font-size:10px;line-height:1.7}.state-chip{font-size:9px;padding:5px 7px}.settings-grid{grid-template-columns:1fr;padding:16px;gap:16px}.settings-preview{padding:10px}.scope-preview{max-width:320px}.mini-workspace{height:98px}.mini-tracks{font-size:9px;line-height:1.6}.dialog-heading{padding:17px}.dialog-heading h2{font-size:16px}.dialog-footer{padding:13px;flex-wrap:wrap}.dialog-footer>span{max-width:100%;flex-basis:100%;margin-bottom:3px}.record-dialog{max-height:91vh}.source-choices,.export-choices{padding:15px}.toast{font-size:11px}.preview-mini{grid-template-rows:1fr 35px}.take-preview{padding:14px}.preview-frame{gap:10px}.preview-frame small{font-size:10px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

body .app{min-height:100vh}body .sidebar{width:224px}body .main{min-width:0;flex:1}body .topbar{height:56px}.sidebar nav a{color:#bed4c7;text-decoration:none}.sidebar nav a.active{background:#24553d;color:#fff}.pitch-area canvas{object-fit:contain;max-width:100%;touch-action:none;cursor:crosshair}#projectTitle{background:transparent;border:0;padding:0;width:min(500px,100%);font-size:19px;font-weight:700;color:#173f33}.record-actions{flex-shrink:0}.project-heading>div:first-child{min-width:0}.take-preview{display:flex;flex-direction:column;justify-content:center}.take-preview video{width:100%;height:100%;min-height:100px;max-height:420px;object-fit:contain;background:#102c23}.take-preview p{font-size:11px;margin:5px;color:#688473}#scopePreview{min-height:180px}#sourcePreview{width:100%;display:block;max-height:290px;background:#142f24}#cropRect{inset:auto;box-shadow:0 0 0 1000px #102c2360}.crop-rect span{font-size:10px}.frame-duration{font-size:11px;color:#82978a;display:flex;align-items:center;gap:4px}.frame-duration input{width:65px;padding:5px}.keyframe-strip{flex-wrap:wrap}.frame-buttons{flex:1}.timeline-grid .lane{display:block;position:relative;min-height:50px}.lane .take-clip{position:absolute;top:7px;height:35px;min-width:2px;padding:5px 7px;white-space:nowrap;overflow:hidden}.lane .take-clip.voice{height:35px}.lane .take-clip.live{left:8px;width:48%}.timeline-grid .audio-lane{min-height:52px}.timeline-grid .audio-lane.multi-audio{min-height:95px}.timeline-grid .audio-lane.multi-audio .take-clip.system{top:51px;background:#fff1dd;color:#9e8551;border-color:#dfc997}.ruler{cursor:crosshair}.clip-editor{padding:9px 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #e2ece5;font-size:11px}.clip-editor input[type=number]{width:75px;padding:5px}.clip-editor input[type=range]{width:70px;vertical-align:middle}.clip-editor label{display:flex;gap:5px;align-items:center}.export-settings{padding:14px 23px 0;display:grid;gap:10px;font-size:12px}.export-settings label{display:flex;gap:10px;align-items:center}#exportProgress,#exportStatus,#cancelExport,#exportDownload{margin:8px 23px;max-width:calc(100% - 46px)}#exportProgress{width:calc(100% - 46px)}#exportStatus{font-size:12px;line-height:1.7}.utility-body{padding:20px;display:grid;gap:13px;max-height:65vh;overflow:auto}.utility-body label{display:grid;gap:7px;font-size:12px}.utility-body textarea{min-height:130px;padding:10px;border:1px solid #d7e5dd;border-radius:7px;font:inherit}.utility-body select{width:100%}.utility-body .check-row{display:flex}.cloud-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border:1px solid #dce8e0;border-radius:7px}.cloud-row strong{font-size:13px}.cloud-row small{display:block;margin-top:6px;font-size:11px;color:#829a8a}.project-row .delete-project{margin-left:auto}.recording-bar #micLevel{font-variant-numeric:tabular-nums}.recording-bar .red-dot{flex:none}.canvas-stage-portrait .pitch-area canvas{max-height:450px;width:auto;max-width:100%}body:not(.tc-ready) .app{visibility:hidden}@media(max-width:680px){#projectTitle{font-size:16px}.recording-bar{line-height:1.6}.frame-duration{display:none}.top-actions #saveState{max-width:94px;overflow:hidden;text-overflow:ellipsis}.recording-bar>div{flex-wrap:wrap}.timeline-toolbar{height:auto}.sidebar{display:none}.project-row{flex-wrap:wrap}.export-settings{padding:12px 15px 0}.keyframe-strip{gap:7px}.animation-controls{margin-left:0}.clip-editor{gap:8px}.pitch-area canvas{max-height:350px}.source-clip{height:24px}.dialog-footer>span{max-width:100%}}

.board-workspace>.inspector{min-height:0}.record-actions{margin-top:0;justify-content:flex-start}.record-actions button{font-size:12px;font-weight:500;border:1px solid #d7e5dd;background:#fff;color:#315b45}.record-actions button.record-button{background:#087f5b;border-color:#087f5b;color:#fff}.record-actions button.record-button.recording{background:#b9443c;border-color:#b9443c}.tool-section{padding:11px 0 0;border-bottom:0}.pitch-area canvas{max-height:none!important;aspect-ratio:auto}.sidebar nav button>.nav-label{font-size:13px;width:auto;text-align:left}.sidebar nav button>.console-nav-icon{width:22px;font-size:18px}.sidebar nav button{justify-content:flex-start}.workbench-main{align-self:start}
/* Keep the entire recording desk, including every primary lane, in the desktop viewport. */
@media(min-width:901px){body.tc-ready{height:100vh;overflow:hidden}.app{height:100vh;min-height:0!important}.main{height:100vh}.editor-view{height:calc(100vh - 56px);display:flex;flex-direction:column;min-height:0;overflow:hidden}.project-heading,.recording-bar,.completion-banner{flex:none}.board-workspace{flex:1;min-height:160px;grid-template-rows:minmax(0,1fr) auto}.workbench-main{height:100%;display:flex;flex-direction:column;min-height:0;align-self:stretch}.board-toolbar,.board-status{flex:none}.pitch-area{flex:1;min-height:100px;overflow:hidden;padding:12px}.board-workspace>.inspector{min-height:0;overflow:auto;overscroll-behavior:contain}.timeline{flex:none;max-height:36vh;overflow:auto}.list-view{height:calc(100vh - 56px);overflow:auto}.keyframe-strip{min-height:70px;padding:7px 12px}.frame{padding:6px 9px}.sidebar{min-height:0!important;height:100vh}.sidebar-bottom{padding-bottom:8px}}
.waveform.actual-waveform{clip-path:none;background:none;height:14px}.actual-waveform svg{display:block;width:100%;height:14px}.actual-waveform path{stroke:#8ca1c6;fill:none;stroke-width:1}.take-clip.video-thumbnails{background-repeat:repeat-x;background-size:auto 100%;text-shadow:0 1px 3px #fff,0 0 3px #fff}.take-clip.video-thumbnails>span{background:#e5f1e8d9;padding:2px 4px;border-radius:3px}
.props-panel .check-row{display:flex;gap:8px;align-items:center}.props-panel .check-row input{width:15px;height:15px}.props-panel label{margin:10px 0}.props-panel .check-row{margin:10px 0}.props-panel input[type=range]{accent-color:#087f5b}.frame-buttons{flex-wrap:nowrap;overflow:auto;max-width:100%;flex-basis:190px}.frame-buttons .frame{flex:none}@media(max-width:680px){#frameBack,#frameForward{font-size:10px;padding:5px}.frame-buttons{flex-basis:100%}}
.clip-handle{position:absolute;top:0;bottom:0;width:8px;opacity:.45;z-index:2;cursor:ew-resize}.clip-handle.left{left:0;border-left:3px solid #588d70}.clip-handle.right{right:0;border-right:3px solid #588d70}.take-clip.selected .clip-handle,.take-clip:hover .clip-handle{opacity:1}.take-clip{touch-action:none;cursor:grab}.take-clip:active{cursor:grabbing}.props-panel select{width:100%}
/* Match the existing video commentary desk: compact white panels, dark preview, green actions. */
.tc-ready .topbar{padding:0 30px;background:#fff;border-bottom:1px solid #e3ebe3}.tc-ready .topbar .leading{display:flex;align-items:center;gap:15px}.tc-ready #crumb{font-size:11px;color:#8c9f91}.tc-ready #crumb strong{color:#365f43}.tc-ready .project-heading{padding:12px 20px;gap:12px;background:#fff;border:1px solid #e0e8df;border-radius:10px;margin-bottom:12px}.tc-ready .project-heading h1{margin:0}.tc-ready .project-heading input{font-size:19px;letter-spacing:0}.tc-ready .project-heading p{font-size:11px;margin:5px 0 0;color:#91a196}.tc-ready .record-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}.tc-ready .record-actions button,.tc-ready .topbar button{height:34px;border-radius:7px;padding:0 12px;font-size:11px;font-weight:700}.tc-ready #saveState{font-size:10px;white-space:nowrap;color:#7c9984}.tc-ready .board-workspace{border:1px solid #e0e9e0;border-radius:10px;box-shadow:0 5px 20px #163c2609;background:#fff;gap:0;overflow:hidden}.tc-ready .workbench-main{border:0;border-right:1px solid #e3ece3;border-radius:0}.tc-ready .board-toolbar{height:42px;padding:0 15px;border-bottom:1px solid #e8eee7;background:white;font-size:11px}.tc-ready .pitch-area{background:#102d22}.tc-ready .board-status{font-size:10px;padding:8px 15px;background:white;color:#87a18d}.tc-ready .inspector{background:#fff;border:0;border-radius:0;box-shadow:none}.tc-ready .inspector-tabs{height:42px}.tc-ready .inspector-tabs button{font-size:11px}.tc-ready .mode-grid{padding:12px;gap:5px}.tc-ready .mode{border:1px solid #dfebe0;border-radius:6px;background:#fff;color:#456950;font-size:10px}.tc-ready .mode.active{background:#eaf7ec;color:#168450;border-color:#4bab73}.tc-ready .tool-options{padding:0 12px 12px;gap:5px}.tc-ready .tool-options button{font-size:10px;border-radius:5px}.tc-ready .tool-section{padding:12px;border-top:1px solid #edf1eb}.tc-ready .tool-section h3{font-size:11px;color:#46654e;margin:0 0 10px}.tc-ready .timeline{margin-top:12px;border:1px solid #e0e9e0;border-radius:10px;box-shadow:0 5px 20px #163c2609}.tc-ready .timeline-toolbar{min-height:40px;padding:7px 13px;background:#fafcf9;font-size:10px}.tc-ready .timeline-toolbar button{font-size:10px;padding:6px 7px}.tc-ready .lane-label{font-size:10px;background:#f8faf8}.tc-ready .lane-label small{font-size:9px}.tc-ready .page-heading h1{font-size:26px;letter-spacing:-.04em}.tc-ready .page-heading p{font-size:12px;color:#91a196}.tc-ready .project-row{display:flex;gap:14px;align-items:center;padding:0 16px 0 0;cursor:default;border:1px solid #e0e9e0;border-radius:10px;background:#fff}.tc-ready .project-open{flex:1;min-width:0;display:flex;align-items:center;gap:15px;padding:17px;background:none;border:0;text-align:left;border-radius:10px;color:#244d37}.tc-ready .project-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.tc-ready .project-copy strong{font-size:15px}.tc-ready .project-copy>span{font-size:11px;color:#8aa18f}.tc-ready .project-export{flex:none;padding:8px 13px;font-size:12px;border-radius:7px;border:1px solid #c8dbcc;background:white;color:#315b42}.tc-ready .project-open:focus-visible,.tc-ready .project-export:focus-visible{outline:3px solid #94c29b;outline-offset:2px}@media(max-width:1100px){.tc-ready .project-heading{align-items:flex-start}.tc-ready .record-actions{max-width:390px}.tc-ready #saveState{width:100%;text-align:right}.tc-ready .project-row .row-action{display:none}}@media(max-width:680px){.tc-ready .project-row{gap:5px;padding-right:10px}.tc-ready .project-open{gap:8px;padding:12px}.tc-ready .project-row .state-chip{display:none}.tc-ready .project-row .cover{display:none}.tc-ready .project-heading{display:block}.tc-ready .record-actions{margin-top:10px;max-width:none;justify-content:flex-start}.tc-ready #saveState{width:auto}.tc-ready .topbar{padding:0 14px}}
/* Use the same track palette as editor.css in the video commentary workspace. */
.tc-ready #editorView .timeline{border-color:#293c47;background:#182630;color:#d4e2e9}.tc-ready #editorView .timeline-toolbar{background:#24343e;border-color:#354955;color:#afc2cb}.tc-ready #editorView .timeline-toolbar button{background:transparent;color:#cedce3;border-color:transparent}.tc-ready #editorView .timeline-toolbar button:hover,.tc-ready #editorView .timeline-toolbar button.active{background:#365747;border-color:#4b7860;color:#d6ffe5}.tc-ready #editorView .timeline-toolbar #audioOnly{color:#f9aba5}.tc-ready #editorView .timeline-toolbar #timecode{color:#e5f7ed}.tc-ready #editorView .timeline-grid{border-color:#354955}.tc-ready #editorView .lane-label{background:#20303a;border-color:#354955;color:#e3edf0}.tc-ready #editorView .lane-label small{color:#819ca9}.tc-ready #editorView .ruler,.tc-ready #editorView .ruler-label{background:#1a2933;color:#b3c6cf;border-color:#354955}.tc-ready #editorView .lane{border-color:#30434e;background-color:#182630;background-image:linear-gradient(to right,#b0c5d00d 1px,transparent 1px);background-size:var(--timeline-grid-step,100px) 100%}.tc-ready #editorView .lane-empty{color:#7e97a3}.tc-ready #editorView .timeline-bottom{background:#24343e;color:#819ca9;border-color:#354955}.tc-ready #editorView .source-clip{background:#29483d;color:#a4cfb5;border-color:#48715d}.tc-ready #editorView .take-clip{color:#224f38}.tc-ready #editorView .clip-editor{background:#24343e;color:#b9d3d8;border-color:#354955}.tc-ready #editorView .clip-editor input{background:#182630;color:#d6e5ed;border-color:#4b6571}

/* Stable readouts avoid shifting the workbench while recording. */
#sourceState{overflow-wrap:anywhere;line-height:1.6;min-height:3.2em}#micLevel{display:inline-block;min-width:160px;text-align:right}.record-scope{max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-preview{touch-action:none}
