:root{--paper:#f7f2ea;--row:#fffdf9;--alternate:#f3ece2;--ink:#33271e;--muted:#796b5d;--line:#d6c8b6;--brown:#795633;--darkbrown:#624223;--amber:#d4a14d;--selection:#fff0ce}*{box-sizing:border-box}html,body{background:var(--paper);color:var(--ink);margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:13px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;white-space:nowrap;background:#faf6ef;border:1px solid #c0af9b;border-radius:3px;padding:9px 14px}button:hover:not(:disabled){background:#eee2d1}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--brown);color:#fff9f0;border-color:var(--brown)}button.primary:hover:not(:disabled){background:var(--darkbrown)}button.quiet{background:0 0;border-color:#0000;padding:6px 8px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #bd862e}input,select{background:var(--row);border:1px solid var(--line);border-radius:3px;padding:8px 10px}h1,h2,p{margin:0}h2{font:22px Georgia,serif}small{color:var(--muted);font-size:11px}.app{flex-direction:column;min-height:100vh;display:flex}.masthead{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#f7f1e7,#f4ede4);justify-content:space-between;align-items:center;gap:20px;padding:9px 20px 10px;display:flex}.brand{white-space:nowrap;align-items:center;gap:20px;display:flex}.brand>span{letter-spacing:-1px;color:#634323;font:italic 700 34px Georgia,serif}.brand i{border-left:1px solid #c6b7a5;height:25px;display:block}.brand h1{letter-spacing:.4px;font:19px Georgia,serif}.header-actions{align-items:center;gap:9px;display:flex}.identity{margin-right:10px;font-size:12px}.tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;padding-left:20px;display:flex}.tabs button{border:0;border-right:1px solid var(--line);text-transform:uppercase;background:0 0;border-radius:0;padding:12px 22px;font:12px Georgia,serif}.tabs button:first-child{border-left:1px solid var(--line)}.tabs button.active{background:var(--brown);color:#fff8ed}.filterbar{justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.filters,.filter-actions{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.filters label{white-space:nowrap;align-items:center;gap:8px;font-size:12px;display:flex}.filters select{min-width:95px;padding:7px 9px}.filters label:nth-child(3) select{min-width:150px}.filters .search{width:185px;font-size:12px}.availability{color:#725130;white-space:nowrap;font-size:12px}.sheet-note{border-top:1px solid var(--line);color:#66523f;background:#f0e7d9;padding:9px 20px;font-size:12px}.sheet-note strong{font-weight:600}.selectionbar{color:#857361;border-top:1px solid var(--line);justify-content:flex-start;align-items:center;gap:12px;padding:7px 20px;font-size:11px;display:flex}.selectionbar>span:last-child{margin-left:auto}.selectionbar button{padding:3px 7px;font-size:11px}.sheet-scroll{background:var(--row);flex:1;width:100%;min-height:350px;max-height:calc(100vh - 253px);overflow:auto}.rundown{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.rundown th{z-index:3;background:var(--brown);color:#fff8ed;text-transform:uppercase;text-align:left;vertical-align:middle;border-bottom:1px solid #b9a18a;border-right:1px solid #ad9377;padding:13px 9px;font:11px Georgia,serif;position:sticky;top:0}.rundown td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:top;background:var(--row);padding:0}.rundown tr:nth-child(2n) td{background:var(--alternate)}.rundown td:focus-within{outline-offset:-2px;z-index:2;background:var(--selection);outline:2px solid #d69a2e;position:relative}.rundown .check-col{vertical-align:middle;text-align:center}.check-col input{accent-color:var(--brown);cursor:pointer;width:13px;height:13px;padding:0}.rundown textarea{resize:vertical;width:100%;min-height:45px;color:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:8px 10px;font-size:12px;line-height:1.45;display:block;overflow:auto}.rundown textarea:read-only{resize:none;cursor:default}.rundown textarea:focus{background:#fff3d9;outline:none}.rundown select{background:0 0;border:0;border-radius:0;width:100%;min-height:42px;padding:10px 7px;font-size:12px}.rundown select:disabled{opacity:1;color:inherit;appearance:none;-webkit-text-fill-color:var(--ink)}.rundown td.changed{box-shadow:inset 0 0 0 1px #dfb265;background:var(--selection)!important}.rundown .row-number{text-align:center;color:#887968;background:#f0e8db;padding:11px 4px;font-size:11px}.readonly{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 9px;font-size:12px;line-height:1.5}.scene-id .readonly{color:#674829;font-weight:600}.edited .readonly{color:#7c6955;font-size:11px}.rundown .script-cell{min-height:180px;padding:16px 20px;font:13px/1.65 Georgia,serif}.script-td{background:#fffcf7!important}.print-value{display:none}.pendingbar{color:#6d4c14;background:#ffedc6;border-top:1px solid #ddbd7b;justify-content:space-between;gap:10px;padding:8px 20px;font-size:12px;display:flex}.error{color:#852e19;background:#f6dfd4;border-bottom:1px solid #e5bbaa;padding:12px 20px;line-height:1.5}.success{color:#4a5f31;background:#e9ecdf;border-bottom:1px solid #d4dcc1;padding:10px 20px}.recent{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#eee5d8;align-items:baseline;gap:22px;margin-top:auto;padding:11px 20px;display:flex}.recent strong{color:#704d2e;white-space:nowrap;font:12px Georgia,serif}.recent span{border-left:1px solid #bfa990;padding-left:20px;font-size:12px}footer{color:#7c6853;justify-content:space-between;gap:14px;padding:8px 20px;font-size:11px;display:flex}footer i{border-left:1px solid #bca991;height:10px;margin:0 10px;display:inline-block}.empty{text-align:center;color:var(--muted);padding:55px 25px}.history-sheet{flex:1;max-height:calc(100vh - 230px);padding:0 20px 20px;overflow:auto}.history-heading{justify-content:space-between;align-items:center;padding:15px 0;display:flex}.history-heading span{color:var(--muted);font-size:12px}.history-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1050px}.history-table th{text-align:left;background:var(--brown);color:#fff;padding:10px;font-weight:400;position:sticky;top:0}.history-table th:nth-child(5),.history-table th:nth-child(6){width:22%}.history-table td{vertical-align:top;border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 10px;font-size:12px}.history-table tr:nth-child(2n){background:var(--alternate)}.history-table small{margin-top:5px;display:block}.history-table .history-value{max-width:300px;max-height:220px}.history-table button{padding:7px;font-size:11px}.access-sheet{flex:1;max-width:1100px;padding:26px 30px}.access-sheet>p{color:var(--muted);margin:12px 0 22px;line-height:1.7}.access-sheet table{border-collapse:collapse;width:100%;margin:18px 0}.access-sheet th{background:var(--brown);color:#fff7ee;text-align:left;padding:12px;font-weight:400}.access-sheet td{border:1px solid var(--line);padding:12px}.access-sheet td input{width:100%}.access-sheet .sheet-note{margin:0 0 12px}.login{background:radial-gradient(at 30% 80%,#e9d9be,#0000 60%),#f5eee3;place-items:center;min-height:100vh;padding:35px 20px;display:grid;position:relative}.login-sheet{background:#fffaf1;border:1px solid #d6c7b2;width:420px;max-width:100%;padding:45px;box-shadow:0 18px 60px #72513210}.login-sheet h1{color:#6e4c2b;letter-spacing:-1px;margin:4px 0 10px;font:italic 700 50px Georgia,serif}.eyebrow{letter-spacing:2px;color:#887056;font:10px Georgia,serif}.login-sub{color:#7e6c59;font:15px Georgia,serif}.login-rule{border-top:1px solid var(--line);margin:28px 0}.login-sheet label{color:#78634f;font-size:12px;display:block}.login-sheet input{background:#fffcf7;width:100%;margin:8px 0 14px;padding:13px;display:block}.login-sheet button{width:100%;padding:12px}.login-foot{color:#99836b;text-align:center;margin-top:24px;font-size:11px;line-height:1.8}.login-tag{color:#9e835e;font:italic 20px Georgia,serif;position:absolute;bottom:22px;left:28px}.login .error{margin:15px 0 0;padding:12px;font-size:12px}.modal-backdrop{z-index:20;background:#2c1d1359;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--row);border:1px solid #b49c7f;width:520px;max-width:100%;max-height:90vh;padding:28px;overflow:auto;box-shadow:0 20px 80px #2b1d1335}.modal h2{margin:0 0 14px}.modal p{color:var(--muted);margin-bottom:18px;line-height:1.6}.modal label{font-size:12px;display:block}.modal textarea{border:1px solid var(--line);resize:vertical;background:#fffaf0;width:100%;min-height:100px;margin:8px 0 20px;padding:12px;display:block}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.conflict{z-index:30}.conflict-modal{width:950px}.conflict-modal table{border-collapse:collapse;width:100%;font-size:12px}.conflict-modal th,.conflict-modal td{vertical-align:top;border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;padding:10px}.conflict-modal td{max-width:300px}@media (width<=1100px){.masthead{flex-wrap:wrap;gap:8px}.brand>span{font-size:30px}.brand h1{font-size:16px}.tabs button{padding:11px 14px}.filterbar{flex-wrap:wrap}.filters{gap:10px}.sheet-scroll{max-height:70vh}.header-actions{margin-left:auto}.filter-actions{gap:10px}}@media (width<=600px){.masthead{padding:12px}.brand{gap:12px}.brand>span{font-size:29px}.brand h1{font-size:12px}.header-actions{flex-wrap:wrap;gap:6px;width:100%;margin:4px 0 0}.header-actions .identity{margin-right:auto}.header-actions button{padding:8px;font-size:11px}.tabs{padding-left:0}.tabs button{padding:11px 10px;font-size:10px}.filterbar{padding:12px}.filters{gap:8px}.filters label{font-size:11px}.filters select,.filters label:nth-child(3) select{min-width:70px;max-width:140px}.filters .search{width:100%}.availability{font-size:11px}.selectionbar{padding:8px 12px}.pendingbar{flex-wrap:wrap;padding:8px 12px}.recent{gap:10px;padding:10px 12px}.recent span{padding-left:10px;font-size:11px}.recent strong{font-size:10px}footer{flex-wrap:wrap;padding:8px 12px}.login-sheet{padding:30px}.access-sheet{padding:20px 12px}.history-sheet{padding:0 12px}.history-heading{flex-wrap:wrap;align-items:start;gap:8px}.sheet-scroll{max-height:65vh}}@media print{@page{size:A3 landscape;margin:10mm}body{background:#fff;font-size:9px}.masthead{background:#fff;padding:0 0 10px}.brand>span{font-size:25px}.brand h1{font-size:15px}.header-actions button,.tabs,.filterbar,.selectionbar,.pendingbar,.modal-backdrop,.error,.success,.recent,.check-col,.login-tag{display:none!important}.header-actions .identity{display:block}.sheet-scroll,.history-sheet{min-height:0;max-height:none;overflow:visible}.rundown{table-layout:auto;width:100%;min-width:0}.rundown th{color:#33271e;background:#e6d5bd;padding:6px 4px;font-size:8px;position:static}.rundown textarea,.rundown select{display:none}.print-value{white-space:pre-wrap;overflow-wrap:anywhere;padding:6px;font:9px/1.4 Arial,sans-serif;display:block}.readonly{padding:6px;font-size:9px}.rundown td{border-color:#d1c6b7;background:#fff!important}.rundown .row-number{padding:6px 3px;font-size:8px}.rundown col{width:auto!important}.rundown .edited .readonly{font-size:8px}.rundown tr{break-inside:avoid}.script-sheet tr{break-inside:auto}.script-sheet .print-value{font:10px/1.6 Georgia,serif}.script-sheet col:nth-child(5){width:65%!important}.history-table{table-layout:auto;min-width:0;font-size:8px}.history-table td,.history-table th{font-size:8px;position:static}.history-table button{display:none}.sheet-note{padding:6px;font-size:9px}footer{padding:10px 0}.app{min-height:0}input{background:0 0;border:none}.access-sheet{padding:0}.history-value{max-height:none}}.rundown .full-script-button{color:#795633;background:#f3e9da;border:1px solid #d1bda1;border-radius:3px;margin:0 9px 7px;padding:3px 7px;font-size:10px;line-height:1.5;display:block}.rundown .full-script-button:hover{background:#e9dac5}.script-preview-dialog{color:#33271e;background:#fffaf2;border:1px solid #baa184;border-radius:5px;width:min(820px,100vw - 32px);max-height:88vh;padding:0;box-shadow:0 20px 70px #2c1d1345}.script-preview-dialog::backdrop{background:#2c1d1370}.script-preview-header{background:#eee2d1;border-bottom:1px solid #d6c8b6;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;display:flex}.script-preview-header p{letter-spacing:1.1px;color:#795633;margin-bottom:6px;font-size:10px}.script-preview-header h2{font-size:24px}.script-preview-header button{font-size:12px}.script-preview-meta{border-bottom:1px solid #ded2c2;gap:7px;padding:15px 24px;font-size:12px;display:grid}.script-preview-meta span{color:#796b5d}.script-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#fffdf8;max-height:54vh;padding:24px 32px;font:16px/1.8 Georgia,serif;overflow-y:auto}.script-preview-footer{border-top:1px solid #d6c8b6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:15px 24px;display:flex}.script-preview-footer span{color:#796b5d;font-size:11px}@media (width<=600px){.script-preview-header,.script-preview-meta,.script-preview-footer{padding:14px 16px}.script-preview-header h2{font-size:20px}.script-preview-body{padding:18px;font-size:15px}.script-preview-header button{padding:8px}.script-preview-footer button{width:100%}}@media print{.full-script-button,.script-preview-dialog{display:none!important}}.script-editor-dialog{max-height:94vh}.popup-script-edit{padding:14px 24px 8px}.popup-script-edit>label{color:var(--muted);justify-content:space-between;gap:12px;margin-bottom:8px;font-size:11px;display:flex}.popup-script-edit>label span{color:var(--brown)}.popup-script-edit textarea{resize:vertical;border:1px solid var(--line);background:#fffdf8;border-radius:2px;width:100%;height:36vh;min-height:160px;max-height:50vh;padding:15px 18px;font:15px/1.7 Georgia,serif;display:block}.popup-script-save{padding:6px 24px 12px}.popup-script-save label{color:var(--muted);font-size:11px;display:block}.popup-script-save input{width:100%;margin:6px 0;padding:9px 11px;display:block}.popup-script-save small{font-size:10px;line-height:1.5;display:block}.popup-script-actions{flex-wrap:wrap;gap:8px;display:flex}.script-editor-dialog .error,.script-editor-dialog .success{margin:0;padding:10px 24px;font-size:12px}.popup-script-conflict{border-top:1px solid var(--line);background:#f2e4d4;padding:14px 24px}.popup-script-conflict h3{margin:0 0 8px;font-size:12px}.popup-script-conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#fffbf3;max-height:180px;padding:12px;font:13px/1.6 Georgia,serif;overflow:auto}.popup-script-conflict>div{flex-wrap:wrap;gap:8px;display:flex}.script-editor-dialog .script-preview-footer{padding-top:12px;padding-bottom:12px}.script-editor-dialog .script-preview-footer>span{max-width:280px;line-height:1.5}@media (width<=600px){.popup-script-edit{padding:12px 16px 8px}.popup-script-edit textarea{height:32vh;font-size:16px}.popup-script-save{padding:6px 16px 12px}.popup-script-actions{width:100%}.popup-script-actions button{flex:1;width:auto}.popup-script-conflict{padding:12px 16px}.script-editor-dialog .script-preview-header h2{font-size:18px}.script-editor-dialog .script-preview-meta{padding-top:10px;padding-bottom:10px}}.rundown .schedule-arrange-col{vertical-align:middle;text-align:center;width:76px}.schedule-handles{justify-content:center;align-items:center;gap:3px;padding:6px 3px;display:flex}.schedule-handles button{background:#f4eadb;border:1px solid #d6c5ad;border-radius:2px;min-width:23px;padding:2px 4px;font-size:11px;line-height:1.4}.schedule-handles .schedule-drag{letter-spacing:-4px;cursor:grab;touch-action:pan-y;min-width:28px;height:34px;padding-right:7px;font-size:18px}.schedule-handles .schedule-drag:active{cursor:grabbing}.schedule-handles>div{flex-direction:column;gap:2px;display:flex}.schedule-handles button:disabled{cursor:default;opacity:.35}.rundown tr.schedule-drop-before td{box-shadow:inset 0 3px #b7833b}.rundown tr.schedule-drop-after td{box-shadow:inset 0 -3px #b7833b}@media (pointer:coarse){.schedule-handles{flex-wrap:wrap}.schedule-handles>div{flex-direction:row}.schedule-handles button{min-width:28px;min-height:36px}}@media print{.schedule-arrange-col{display:none!important}}.day-print-layout{display:none}@media print{.app{display:block}.sheet-scroll.has-day-print{display:none!important}.day-print-layout{display:block}.print-day{break-before:page;page-break-before:always;--day-fill:#fbf3df;--day-band:#ead8ad;--day-border:#98702e}.print-day:first-child{break-before:auto;page-break-before:auto}.print-day-2{--day-fill:#edf3e9;--day-band:#cfdcc5;--day-border:#627652}.print-day-3{--day-fill:#edf2f7;--day-band:#cddbe7;--day-border:#536e87}.day-print-table{border-collapse:collapse;table-layout:fixed;color:#29241e;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:100%;font:9px/1.45 Arial,sans-serif}.day-print-table thead{display:table-header-group}.day-print-table tbody{display:table-row-group}.day-print-table tr{break-inside:avoid;page-break-inside:avoid}.day-print-table th,.day-print-table td{text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #c5beb3;padding:8px 7px}.day-print-table td{background:var(--day-fill)!important}.day-print-table .print-day-title th{border-left:5px solid var(--day-border);white-space:normal;padding:12px 14px 10px;background:var(--day-band)!important}.print-day-title span{letter-spacing:1.5px;font:10px Georgia,serif}.print-day-title h2{margin:5px 0;font:700 20px Georgia,serif}.print-day-title small{color:#3b382f;font:9px Arial,sans-serif}.day-print-table .print-day-columns th{border-top:2px solid var(--day-border);font-size:9px;font-weight:700;background:var(--day-band)!important}.day-print-layout~footer{margin-top:12px}}.export-print-layout{display:none}.export-dialog{color:#352a21;background:#faf6ee;border:1px solid #ad9477;width:min(560px,100vw - 40px);max-height:90vh;padding:28px;overflow:auto}.export-dialog::backdrop{background:#30261d88}.export-dialog h2{margin:0 0 12px;font:700 26px Georgia,serif}.export-dialog p{line-height:1.5}.export-tools{gap:8px;margin:16px 0 10px;display:flex}.export-options{border:1px solid #d6c6b3}.export-options label{cursor:pointer;background:#fffdf8;border-bottom:1px solid #d6c6b3;align-items:center;gap:12px;padding:12px 14px;display:flex}.export-options label:nth-child(2n){background:#f1eadf}.export-options label:last-child{border:0}.export-options input{accent-color:#795630;width:18px;height:18px}.export-options small{color:#786853;margin-left:auto}.export-help{color:#6b5947;font-size:13px}@media print{.export-dialog{display:none!important}.export-print-layout{display:block}:is(.app:has(.export-section) .sheet-scroll,.app:has(.export-section)>.history-sheet,.app:has(.export-section)>.access-sheet){display:none!important}.app:has(.export-section)>.sheet-note{display:none!important}.app:has(.export-section)>footer{display:none!important}.export-section+.export-section{break-before:page;page-break-before:always}.print-day-0{--day-fill:#fffdf8;--day-band:#e9dfd0;--day-border:#795630}.export-script-table{font-size:11px;line-height:1.6}.export-script-table tr{break-inside:auto;page-break-inside:auto}.export-script-table thead tr{break-inside:avoid;page-break-inside:avoid}}.export-talent-label{flex-direction:column;gap:7px;margin:18px 0 10px;font-weight:600;display:flex}.export-talent-label select{color:#352a21;font:inherit;background:#fffdf8;border:1px solid #bba78e;width:100%;padding:10px}
