*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0f0f0f;--card-bg:#1a1a1a;--border:#2a2a2a;--text-primary:#fff;--text-secondary:#888;--color-roughcut:#ffc107;--color-finecut:#4caf50;--color-deleted:#424242;--color-missing:#ff9800}body{background:var(--bg);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.5}#root{text-align:left;border:none;width:100%;max-width:100%;min-height:100vh}button{cursor:pointer;font-family:inherit;font-size:14px}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{font-family:inherit;font-size:14px}a{color:inherit;text-decoration:none}.print-only,.print-watermark{display:none}@media print{@page{margin:1.5cm 1.8cm 1.5cm 1.5cm;size:A4;@bottom-center{content:counter(page) " / " counter(pages);font-size:9px;color:#666;font-family:system-ui,-apple-system,Helvetica Neue,Arial,sans-serif}}:root{--bg:transparent!important}html{zoom:.95}html,body{font-size:10.5px;color:#000!important;background:#fff!important}#root{color:#000!important;background:0 0!important}.print-watermark{opacity:.05;z-index:9999;pointer-events:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:400px;height:auto;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:block!important}.no-print{display:none!important}.print-only{display:revert!important}.print-header{border-bottom:1.5px solid #000;margin-bottom:14px;padding-bottom:8px;color:#000!important;display:block!important}.print-header-row1{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex!important}.print-header .print-studio{color:#666!important;font-size:9px!important}.print-header .print-meta{color:#000!important;font-size:10px!important}.print-header .print-title{text-align:center;line-height:1.3;color:#000!important;margin:0!important;font-size:18px!important;font-weight:700!important}.print-summary{border-collapse:collapse;width:calc(100% - 2pt);margin-bottom:14px;margin-right:2pt;font-size:10.5px}.print-summary th,.print-summary td{text-align:left;white-space:nowrap;color:#000!important;background:0 0!important;border:1px solid #000!important;padding:4px 8px!important}.print-summary th{-webkit-print-color-adjust:exact;print-color-adjust:exact;font-weight:600;background:#e8e8e8!important}table.data-table{page-break-inside:auto;margin-right:2pt;table-layout:fixed!important;border-collapse:collapse!important;width:calc(100% - 2pt)!important;font-size:10px!important}table.data-table th.pdf-col-sceneNum,table.data-table td.pdf-col-sceneNum{width:6%!important}table.data-table th.pdf-col-roughcutLength,table.data-table td.pdf-col-roughcutLength{width:10%!important}table.data-table th.pdf-col-pages,table.data-table td.pdf-col-pages{width:7%!important}table.data-table th.pdf-col-date,table.data-table td.pdf-col-date{width:13%!important}table.data-table th.pdf-col-status,table.data-table td.pdf-col-status{width:12%!important}table.data-table th.pdf-col-missingShots,table.data-table td.pdf-col-missingShots{text-align:center;width:6%!important}table.data-table th.pdf-col-notes,table.data-table td.pdf-col-notes{word-break:break-word;white-space:normal!important;width:46%!important}table.data-table th.pdf-col-episode,table.data-table td.pdf-col-episode{width:10%!important}table.data-table th.pdf-col-roughPct,table.data-table td.pdf-col-roughPct,table.data-table th.pdf-col-finePct,table.data-table td.pdf-col-finePct{text-align:center;width:9%!important}table.data-table th.pdf-col-roughSecs,table.data-table td.pdf-col-roughSecs,table.data-table th.pdf-col-fineSecs,table.data-table td.pdf-col-fineSecs{text-align:center;width:12%!important}table.data-table th.pdf-col-roughScenes,table.data-table td.pdf-col-roughScenes,table.data-table th.pdf-col-fineScenes,table.data-table td.pdf-col-fineScenes,table.data-table th.pdf-col-totalScenes,table.data-table td.pdf-col-totalScenes{text-align:center;width:8%!important}table.data-table th.pdf-col-roughPages,table.data-table td.pdf-col-roughPages{text-align:center;width:10%!important}table.data-table th.pdf-col-avgPage,table.data-table td.pdf-col-avgPage{text-align:center;width:14%!important}table.data-table thead{display:table-header-group}table.data-table tfoot{display:table-footer-group}table.data-table tr{page-break-after:auto;page-break-inside:avoid!important;background:0 0!important}table.data-table th,table.data-table td{color:#000!important;white-space:normal!important;text-overflow:clip!important;background:0 0!important;border:1px solid #000!important;max-width:none!important;padding:4px 6px!important;overflow:visible!important}table.data-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e8e8e8!important;font-weight:600!important}table.data-table td:not(.pdf-col-status),table.data-table td:not(.pdf-col-status) *,.print-summary td,.print-summary td *,table.data-table td.pdf-col-status,table.data-table td.pdf-col-status span{color:#000!important}table.data-table td.pdf-col-status .print-status-finecut{color:#1b5e20!important}table.data-table td.pdf-col-status .print-status-roughcut{color:#8b6508!important}table.data-table td.pdf-col-status .print-status-missing{color:#c62828!important}table.data-table td.pdf-col-status .print-status-deleted{color:#424242!important}main{background:0 0!important;max-width:100%!important;padding:0!important}main>div{overflow:visible!important}.stat-grid-screen{display:none!important}.pdf-allscenes-wrap section{margin-bottom:18px}.pdf-allscenes-ep-head{border-bottom:1px solid #000;justify-content:space-between;align-items:baseline;margin:0 0 6px;padding-bottom:4px;display:flex}.pdf-allscenes-ep-title{color:#000!important;font-size:13px!important;font-weight:700!important}.pdf-allscenes-ep-meta{color:#333!important;font-size:9.5px!important}.pdf-allscenes-empty{color:#666;margin:4px 0 0;font-size:10px}}@media screen and (width<=768px){.stat-grid-screen{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}.rt-main{padding:16px 12px!important}.rt-quick-banner-wrap{padding:12px 12px 0!important}.rt-nav-inner{padding:10px 14px!important}.rt-nav-title{font-size:13px!important}.rt-nav-sub{font-size:10px!important}.rt-tabbar{padding:6px 12px!important}.rt-toolbar{-webkit-overflow-scrolling:touch;flex-wrap:nowrap!important;overflow-x:auto!important}.rt-toolbar::-webkit-scrollbar{display:none}.hide-on-mobile{display:none!important}.rt-admin-wrap{padding:20px 14px 100px!important}.rt-admin-header{flex-wrap:wrap!important;gap:12px!important;margin-bottom:16px!important;padding-bottom:14px!important}.rt-admin-title{font-size:20px!important}.rt-admin-section-header{flex-wrap:wrap!important;gap:10px!important}.rt-admin-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.rt-admin-row-title{flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important}.rt-admin-actions{grid-template-columns:1.4fr 1fr 1fr!important;gap:6px!important;display:grid!important}.rt-admin-actions>button{white-space:nowrap;width:100%;padding:10px 6px!important;font-size:12px!important}.rt-admin-form-grid{grid-template-columns:1fr!important}}@media screen and (width>=769px){.only-mobile{display:none!important}}@media screen and (width<=480px){.stat-grid-screen{grid-template-columns:1fr!important}}.mobile-scene-list,.mobile-episode-list{flex-direction:column;gap:8px;display:flex}.mobile-card{background:var(--card-bg);border:1px solid var(--border);cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:8px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.mobile-card:active{background:#1e1e1e}.mobile-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-card-title{color:var(--text-primary);font-size:16px;font-weight:600}.mobile-card-status{color:var(--text-secondary);align-items:center;gap:6px;font-size:12px;display:inline-flex}.mobile-card-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.mobile-card-meta{color:var(--text-secondary);flex-wrap:wrap;gap:10px;font-size:12px;display:flex}.mobile-card-meta>span{align-items:center;gap:4px;display:inline-flex}.mobile-card-notes{color:var(--text-secondary);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.mobile-card-flags{gap:6px;display:flex}.mobile-flag{border-radius:10px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;line-height:1.4;display:inline-flex}.mobile-flag-missing{color:#ffb74d;background:#ff980026}.mobile-flag-notes{color:#60a5fa;background:#60a5fa26}.mobile-card-select{accent-color:#fff;cursor:pointer;flex-shrink:0;width:18px;height:18px}.mobile-card-progress{color:var(--text-secondary);flex-direction:column;gap:4px;font-size:11px;display:flex}.mobile-card-progress-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-card-progress-bar{background:#2a2a2a;border-radius:2px;flex:1;height:3px;overflow:hidden}.mobile-card-progress-fill{border-radius:2px;height:100%;transition:width .3s}.bottom-sheet-backdrop{z-index:100;background:#0000008c;justify-content:center;align-items:flex-end;animation:.2s fade-in;display:flex;position:fixed;inset:0}.bottom-sheet{border:1px solid var(--border);background:#111;border-radius:16px 16px 0 0;flex-direction:column;width:100%;max-width:640px;max-height:92vh;animation:.25s cubic-bezier(.2,.9,.3,1) slide-up;display:flex}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.bottom-sheet-handle{background:#444;border-radius:4px;flex-shrink:0;width:40px;height:4px;margin:8px auto 0}.bottom-sheet-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:10px 20px 12px;display:flex}.bottom-sheet-title{color:var(--text-primary);font-size:15px;font-weight:600}.bottom-sheet-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:20px}.bottom-sheet-body{flex-direction:column;flex:1;gap:14px;padding:16px 20px;display:flex;overflow-y:auto}.bottom-sheet-footer{padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);flex-shrink:0;gap:10px;display:flex}.bottom-sheet-footer button{cursor:pointer;border-radius:8px;flex:1;padding:12px;font-size:14px;font-weight:600}.bottom-sheet-save{background:var(--text-primary);color:var(--bg);border:none}.bottom-sheet-save:disabled{color:#666;cursor:not-allowed;background:#333}.bottom-sheet-cancel{color:var(--text-secondary);border:1px solid var(--border);background:0 0}.bottom-sheet-delete{color:#f87171;cursor:pointer;background:0 0;border:1px solid #7f1d1d;border-radius:8px;flex:none;padding:12px 16px;font-size:14px}.form-field{flex-direction:column;gap:6px;display:flex}.form-field-label{color:var(--text-secondary);letter-spacing:.04em;font-size:12px}.form-field-input,.form-field-select{border:1px solid var(--border);color:var(--text-primary);box-sizing:border-box;background:#0b0b0b;border-radius:8px;outline:none;width:100%;padding:12px 14px;font-size:16px}.form-field-input:focus,.form-field-select:focus{border-color:#555}.form-field-check{color:var(--text-primary);align-items:center;gap:10px;padding:10px 0;font-size:14px;display:flex}.form-field-check input{accent-color:#ff9800;width:20px;height:20px}.fab{right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));background:var(--text-primary);width:56px;height:56px;color:var(--bg);cursor:pointer;z-index:40;border:none;border-radius:28px;justify-content:center;align-items:center;font-size:28px;line-height:1;display:flex;position:fixed;box-shadow:0 6px 16px #0006}.fab:disabled{color:#888;cursor:not-allowed;background:#444}.mobile-batch-bar{z-index:20;color:#e0ecff;background:#1e3a5f;border-radius:8px;align-items:center;gap:10px;margin-bottom:8px;padding:10px 14px;font-size:13px;display:flex;position:sticky;top:0}.mobile-batch-bar button{color:#cfe1ff;cursor:pointer;background:0 0;border:1px solid #60a5fa;border-radius:6px;padding:6px 10px;font-size:12px}.mobile-batch-bar .mobile-batch-spacer{flex:1}
