:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#111317;color:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden}button,input,textarea{font:inherit}button{border:0}.app-shell{min-height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#111317}.review-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(280px,23vw,420px);gap:1px;height:100%;min-height:0;background:#282d34}.video-column,.notes-panel{min-width:0;background:#15181d}.video-column{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.top-bar,.notes-header,.player-controls{display:flex;align-items:center;gap:16px;padding:14px 18px;background:#181c22}.top-bar{justify-content:space-between;min-height:76px}.app-title-group{min-width:0}.subtitle,.filename-line{margin:0}.eyebrow{margin:0 0 4px;color:#8d98a8;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.subtitle{margin-top:2px;color:#8d98a8;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.filename-line{max-width:64vw;margin-top:6px;overflow:hidden;color:#d5dbe4;font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}h1,h2{margin:0;font-weight:700;letter-spacing:0}h1{color:#f8fafc;font-size:1.12rem}h2{font-size:1.05rem}.primary-action,.secondary-action,.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:6px;cursor:pointer;transition:background-color .12s ease,color .12s ease,opacity .12s ease}.primary-action{gap:8px;padding:0 14px;background:#e8eef6;color:#111317;font-weight:700}.secondary-action{padding:0 14px;background:#2a3038;color:#f4f6f8;font-weight:700}.icon-button{width:42px;height:42px;background:#232932;color:#f4f6f8}.primary-action:hover,.secondary-action:hover,.icon-button:hover{opacity:.86}.icon-button:disabled,.primary-action:disabled{cursor:not-allowed;opacity:.45}.video-stage{display:flex;align-items:center;justify-content:center;min-height:0;background:#000;outline:none}.video-stage video{width:100%;height:100%;object-fit:contain;background:#000}.empty-video{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:min(420px,80%);color:#98a3b3;text-align:center}.is-dragging .video-stage{box-shadow:inset 0 0 0 2px #e8eef6}.player-controls{min-height:70px}.time-readout{width:74px;color:#d5dbe4;font-variant-numeric:tabular-nums;text-align:center}.progress-slider{flex:1;min-width:90px;accent-color:#e8eef6}.notes-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.brand-footer{display:flex;align-items:center;justify-content:flex-end;min-height:28px;padding:0 18px;border-top:1px solid #282d34;background:#111317;color:#8d98a8;font-size:.72rem;font-weight:700;letter-spacing:.08em}.notes-header{justify-content:space-between;min-height:76px;border-left:1px solid #282d34}.notes-actions{display:flex;gap:8px}textarea{width:100%;height:100%;min-height:0;padding:18px;resize:none;border:0;border-top:1px solid #282d34;outline:none;background:#13161b;color:#f4f6f8;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:.95rem;line-height:1.65}textarea::placeholder{color:#687484}.dialog-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#000000ad;z-index:10}.dialog{width:min(360px,100%);padding:22px;border:1px solid #343b46;border-radius:8px;background:#181c22;box-shadow:0 24px 80px #00000073}.dialog h2{margin-bottom:18px}.dialog-actions{display:flex;gap:10px}.dialog-actions>button{flex:1}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(orientation:portrait){body{overflow:hidden}.review-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.video-column{grid-template-rows:auto minmax(180px,32dvh) auto;min-height:0}.notes-panel{min-height:0}.top-bar,.notes-header,.player-controls{padding:10px 12px}.top-bar{min-height:64px}h1{max-width:52vw}}@media(orientation:landscape)and (max-width:760px){.app-shell:before{content:"Rotate to portrait to use Delta.R on mobile.";position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#111317;color:#f4f6f8;text-align:center;z-index:20}}@media(max-width:640px){.primary-action{min-width:42px;padding:0 10px}.top-bar .primary-action{font-size:0;gap:0}.top-bar .primary-action svg{margin:0}.filename-line{max-width:52vw}.player-controls{gap:8px}.time-readout{width:64px;font-size:.85rem}textarea{padding:14px;font-size:.92rem}}
