:root{--background:#090b0e;--foreground:#f5f6f8;--card:#12151b;--card-foreground:#f5f6f8;--popover:#181c23;--popover-foreground:#fff;--primary:#96f74b;--primary-foreground:#10150c;--secondary:#242832;--secondary-foreground:#eee;--muted:#222731;--muted-foreground:#929ba9;--accent:#242a33;--accent-foreground:#fff;--border:#2a303b;--input:#333a47;--ring:#96f74b;--radius:.6rem;--sidebar:#0d1015;--sidebar-foreground:#e4e8ed;--sidebar-border:#262c35;--sidebar-accent:#263720;--sidebar-accent-foreground:#96f74b;--sidebar-ring:#96f74b;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #96f74b;outline-offset:3px}.logo{width:185px;max-height:70px;margin:24px 12px 6px}.eyebrow{font-size:12px;letter-spacing:.13em;color:#96f74b;font-weight:700;margin:8px 0}.navgroup{padding:25px 20px 12px;color:#747e8d;font-size:12px;letter-spacing:.1em}.navitem{display:flex;gap:12px;align-items:center;text-align:left;padding:12px 16px;margin:2px 10px;border-radius:6px;color:#a6afbd;font-size:14px}.navitem.active{background:#23301c;color:#aff980}.navitem:hover{background:#1d232c}.workspace{flex:1;min-width:0}.topbar{height:64px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;padding:0 24px}.muted{color:#929ba9}.prototype{font-size:11px;letter-spacing:.1em;border:1px solid #414a35;color:#b9d59a;border-radius:4px;padding:4px 8px;margin-left:auto}.iconbtn{padding:8px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:6px}.workspace main{padding:32px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}h1{font-size:32px;font-weight:650;letter-spacing:-.04em;margin:5px 0 8px}h2{font-size:18px;font-weight:600;margin:0 0 12px}p{line-height:1.55}button.primary,.primary{background:#96f74b;color:#14200e;font-weight:600;padding:11px 17px;border-radius:6px;font-size:14px}.phasebar{display:flex;gap:8px;overflow-x:auto;margin-bottom:20px;padding:2px 0 8px}.phasebar button{border:1px solid #303743;border-radius:6px;padding:10px 16px;white-space:nowrap;color:#a9b1bd;font-size:14px}.phasebar small{margin-right:10px;color:#717c8d}.phasebar button.selected{border-color:#96f74b;color:#96f74b;background:#192213}.editor{display:flex;gap:20px;align-items:flex-start}.panel{background:#12161c;border:1px solid #2b323d;border-radius:9px}.timeline{flex:1;min-width:0;overflow:auto;padding:18px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.pill{padding:5px 9px;border:1px solid #3a4450;border-radius:5px;font-size:12px;white-space:nowrap}.gridhead,.timerow{display:grid;grid-template-columns:58px minmax(220px,1fr) minmax(120px,.42fr);gap:8px;min-width:440px;align-items:center}.gridhead{font-size:11px;letter-spacing:.04em;color:#8d98a8;padding:10px 0}.timerow{height:34px;border-top:1px solid #252b35;font-size:13px}.timerow time{font-variant-numeric:tabular-nums;color:#a8b0bb}.clip{border-radius:3px;color:#fff;display:flex;justify-content:space-between;padding:5px 10px;gap:10px;font-size:13px;font-weight:600}.centerclip{background:#273145;padding:5px 10px;border-radius:3px;font-size:12px;color:#bbc6da}.inspector{width:270px;padding:22px;flex-shrink:0}.inspector hr{margin:24px 0;border-color:#303744}.inspector strong{float:right}@media(max-width:1100px){.inspector{width:220px}.workspace main{padding:22px}}@media(max-width:760px){.workspace main{padding:16px}.topbar{padding:0 12px;gap:10px}.topbar>span:first-of-type{font-size:13px}.pagehead{align-items:flex-start;flex-direction:column}h1{font-size:28px}.inspector{display:none}.timeline{padding:10px}.prototype{font-size:9px}.pagehead p{font-size:14px}}
select,input:not([type=checkbox]):not([type=color]),textarea{background:#0d1117;border:1px solid #343e4c;border-radius:5px;padding:9px 11px;max-width:100%;color:#edf1f6;min-width:0}select{font-size:14px}input[type=color]{width:80px;height:38px;border:0;background:none}.clubselect{border:0;background:transparent;max-width:330px}.actions,.chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.small{font-size:13px}.hint{font-size:13px;color:#8f9bab;line-height:1.55}.notice{display:flex;align-items:flex-start;gap:12px;background:#1d2732;border:1px solid #35455b;border-radius:6px;padding:14px;margin:16px 0;font-size:14px;white-space:pre-line}.notice span{flex:1}.error{color:#ffb3ac;background:#332025;border-color:#7c4545}.success,.good{color:#a8e97d}.notice.success{background:#1c2a20;border-color:#3e5d36}.demo-note{color:#b2aa87;background:#222218;font-size:13px;padding:10px 14px;border-radius:5px;margin-bottom:22px}.sectionbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0}.sectionbar h2{margin:0}.sectionbar .phasebar{margin:0;flex:1}.spacious{padding:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stats article{padding:22px;background:#13181f;border:1px solid #2a323f;border-radius:8px;display:flex;flex-direction:column;gap:12px}.stats span{color:#a6b1c0;font-size:14px}.stats strong{font-size:38px;font-weight:500;line-height:1}.stats small{color:#738094;font-size:12px}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.pitch{width:100%;max-height:330px;display:block;margin:15px auto}.todo{display:flex;align-items:center;gap:16px;padding:20px 0;width:100%;text-align:left;border-bottom:1px solid #2a313c}.todo span:nth-child(2){flex:1}.todo strong,.todo small{display:block}.todo small{font-size:13px;color:#8d9aaa;margin-top:5px}.step{font-size:13px;color:#96f74b;background:#24321f;padding:10px;border-radius:5px}.account{display:flex;gap:12px;padding:15px 10px;font-size:13px}.account small{display:block;color:#8591a2;margin-top:3px}.avatar{display:grid;place-items:center;background:#31364a;color:#c4ccef;width:36px;height:36px;border-radius:50%;font-size:12px}.appfooter{display:flex;justify-content:space-between;font-size:12px;color:#69778c;border-top:1px solid #262e38;padding:14px 30px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}.cards h2{margin-top:14px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.toolbar select{max-width:230px}.timeline-summary{display:flex;justify-content:space-between;border-top:1px solid #343d4a;padding:14px 0;font-size:14px}.playlist-gridhead,.playlist-row{display:grid;grid-template-columns:52px 52px minmax(220px,1fr) 48px 76px;gap:9px;align-items:center;min-width:550px}.playlist-gridhead{font-size:11px;color:#8b98ac;letter-spacing:.04em;padding:10px 0}.playlist-row{height:37px;border-top:1px solid #272f3a;font-size:13px}.playlist-row time{font-variant-numeric:tabular-nums;color:#a5b0c2}.playlist-row .clip{text-align:left;overflow:hidden;min-width:0;align-items:center}.clip>span:first-child{display:flex;gap:7px;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rowactions{display:flex;gap:6px;color:#94a0b0}.rowactions button{padding:4px 0}.rows{max-height:62vh;overflow-y:auto}.drop-target{box-shadow:inset 0 3px #96f74b;background:#2a3b25}.duration{color:#b2bdcc;font-size:12px}.safety{margin-top:18px;border:1px solid #615329;background:#2b2719;color:#e7ca6b;padding:13px;font-size:13px;border-radius:5px}.detailrow{display:flex;justify-content:space-between;font-size:13px;padding:9px 0;gap:8px}.detailrow span{color:#98a4b5}.empty{text-align:center;color:#8b99ac;padding:50px 20px}.zone-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #303845;font-size:13px;flex-wrap:wrap}.zone-row strong{flex:1}.zone-dot{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;flex-shrink:0}.mapping{width:100%;border:1px solid #35414f;margin:20px 0}.search{display:flex;align-items:center;gap:8px}.search input{width:260px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}th{text-align:left;color:#91a0b4;font-size:12px;font-weight:500;padding:15px 20px;background:#181e27}td{padding:15px 20px;border-top:1px solid #293240}td small{color:#baba9b}.record{display:flex;gap:18px;align-items:center;padding:20px;margin:12px 0}.record>div{flex:1;min-width:0}.record p{font-size:14px;color:#8b9bb2;margin:5px 0}.record small{font-size:12px;color:#7d8ba0;overflow-wrap:anywhere}.record strong{overflow-wrap:anywhere}.download{display:flex;gap:7px;align-items:center;font-size:14px;color:#96f74b}.checks{margin:15px 0;display:grid;gap:12px;font-size:14px;color:#e1c692}.checks li{display:flex;gap:9px}.checks svg{flex-shrink:0;margin-top:3px}.uploadbox{margin-bottom:25px}.media-card{overflow:hidden}.media-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#070808}.filename{font-size:12px;overflow-wrap:anywhere;color:#8d9aac}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kanban>section{background:#0d1117;padding:18px;border-radius:8px;border:1px solid #242c38}.kanban h2{font-size:14px;color:#a6b3c6}.order-card{display:flex;flex-direction:column;gap:10px;width:100%;padding:17px;text-align:left;margin:12px 0}.order-card small{color:#8e9bb0;line-height:1.5;overflow-wrap:anywhere}.order-card span{font-size:13px}.logrow{display:flex;gap:14px;border-bottom:1px solid #2a3441;padding:18px 0}.logrow p,.logrow small{font-size:12px;color:#8291a7;overflow-wrap:anywhere}.setting{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #303948;font-size:14px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;min-width:0}.field>span{color:#a2b0c5;font-size:13px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.engine-dialog{max-height:90dvh;overflow-y:auto;background:#141a23!important;border-color:#394353!important}.engine-dialog.wide{max-width:min(900px,95vw)!important}.zoneform{display:grid;grid-template-columns:1.4fr 1.2fr .7fr .7fr 35px;gap:8px;align-items:end}.checklabel{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6}.checklabel input{margin-top:6px;accent-color:#96f74b}.fullvideo{width:100%;background:black;min-height:100px}.detail-sheet{padding:25px;overflow:auto}.comment{background:#202734;padding:15px;border-radius:6px;font-size:14px}.comment small{color:#8c9bad}.login{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;background:radial-gradient(ellipse at 70% 20%,#24371a55,transparent 55%),#090b0e;padding:24px}.login-card{width:100%;max-width:440px;min-width:0;padding:32px;border:1px solid #303c2a;background:#10151a;border-radius:12px}.login-card>img{display:block;width:235px;max-width:100%;height:auto;margin-bottom:24px}.login-card h1{font-size:42px;line-height:1.07;margin:18px 0 24px}.login-identity{display:flex;gap:12px;padding:20px 0;color:#c0ddb1;align-items:center}.login-identity p{font-size:13px;color:#8d9aa6;margin-top:4px}.login-card form{display:grid;gap:16px;margin-top:20px}.login-card .field{gap:8px}.login-card input{width:100%;min-height:48px;padding:12px 14px;font-size:16px}.login-card button{min-height:48px;padding:12px 16px;border-radius:6px;line-height:1.4;white-space:normal}.login-card .primary{width:100%;margin:0}.login-card>button{display:block;width:100%;margin-top:12px;border:1px solid #343e4c;background:transparent;text-align:center}.login-card .hint{margin-top:18px;font-size:14px;line-height:1.5}.login-card p{overflow-wrap:anywhere}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.stats{gap:10px}.stats article{padding:16px}.inspector{width:235px}}@media(max-width:999px){.inspector{display:none}.kanban{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.stats strong{font-size:30px}.sectionbar{flex-wrap:wrap}.spacious{padding:17px}.record{flex-wrap:wrap}.record>div{flex-basis:75%}.clubselect{max-width:190px;font-size:13px}.prototype{display:none}.topbar .iconbtn{margin-left:auto}.cards{grid-template-columns:1fr}.zoneform{grid-template-columns:1fr 1fr}.zoneform .field{min-width:0}.formgrid{grid-template-columns:1fr}.appfooter{padding:14px;gap:10px}.login{padding:24px 16px}.login-card{padding:24px}.login-card h1{font-size:30px;line-height:1.15;margin:16px 0}.pagehead{gap:12px}.rows{max-height:65vh}.toolbar select{max-width:100%;flex:1}.setting{flex-direction:column;align-items:flex-start}.tablewrap{max-width:100%}}

@media(max-width:600px){.toolbar select{flex:1 1 140px;min-width:140px}.toolbar button{flex:1 1 auto}.record{flex-wrap:wrap}.record .download{flex-basis:100%}}
.zone-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:18px 0 24px;font-size:13px;color:#bcc5cf}.zone-legend span{display:flex;align-items:center;gap:7px}.zone-legend i{width:18px;height:5px;border-radius:1px}.stats .connection-label{font-size:17px;line-height:1.4;display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;background:#77818c;display:inline-block}.stats .sync-label{font-size:14px;line-height:1.4}.sync-label.pending,.pending-text{color:#e6bb59!important}.sync-label.synced{color:#96f74b!important}.sync-label.neutral{color:#aab3be}.overview-log{margin-top:24px}.zone-scroll{max-height:68vh;overflow:auto;border:1px solid #303946;border-radius:6px;position:relative;scrollbar-gutter:stable}.zone-board{display:grid;min-width:max-content;align-items:start}.zone-column{min-width:190px;border-right:1px solid #303946}.zone-column:last-child{border:0}.zone-column-head{position:sticky;top:0;z-index:3;padding:12px 10px;background:#181e27;border-top:5px solid;display:flex;gap:7px;flex-direction:column;min-height:178px;box-shadow:0 2px 0 #303946}.zone-column-head h3{font-size:16px;font-weight:600;margin:0}.zone-column-head small{font-size:12px;color:#9cabbc}.zone-column-head .eyebrow{margin:0;font-size:12px}.zone-column-head select{font-size:12px;width:100%}.linked{font-size:12px;color:#9eafc1;display:flex;gap:5px;align-items:center}.zone-track{position:relative;background:repeating-linear-gradient(to bottom,#0e131b 0px,#0e131b 43px,#25303a 43px,#25303a 44px)}.zone-spot{position:absolute;left:4px;right:4px;min-height:24px;border-bottom:3px solid #0e131b;border-radius:3px;overflow:hidden;color:#fff}.zone-spot-title{display:flex;align-items:center;gap:4px;width:100%;text-align:left;padding:3px 4px 0;font-size:12px;line-height:16px}.zone-spot-title strong{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zone-spot-title b{font-size:11px;background:#0003;border-radius:2px;padding:0 3px}.zone-spot-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:0 5px;line-height:17px}.zone-spot-footer span{display:flex;gap:4px}.zone-spot-footer button{display:flex;padding:2px}.zone-empty{font-size:13px;color:#8a9bac;padding:24px 12px;line-height:1.7}.insertion-target{box-shadow:inset 0 4px #c4ff84}.swap-target{outline:2px solid #c4ff84;outline-offset:-2px}.zone-timeline{overflow:hidden}.zone-scroll:focus-visible{outline:2px solid #96f74b}.dashboard-grid h2{line-height:1.45}.pitch{max-height:360px}.zone-timeline .hint{font-size:13px}@media(max-width:600px){.zone-column,.zone-column-head{min-width:190px}.zone-scroll{max-height:65vh}.zone-timeline .toolbar .pill{white-space:normal}.overview-log .panelhead{align-items:flex-start;flex-direction:column}}

.zone-board{width:100%;min-width:0}.zone-column{min-width:0}.zone-column-head{min-width:0;padding:10px 7px}.zone-column-head h3{font-size:14px}.zone-column-head .linked{font-size:11px;white-space:nowrap}.zone-column-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zone-spot-title{font-size:11px}.zone-spot-footer{font-size:10px;padding:0 3px}.zone-spot-footer span{gap:1px}@media(max-width:600px){.zone-board{min-width:1120px!important}.zone-column{min-width:0}}
.zone-spot-title,.zone-spot-footer,.zone-column-head .linked{font-size:12px}.zone-spot-title b{font-size:12px}.zone-spot-title svg{flex-shrink:0}.zone-spot-footer button{padding:2px 0}.zone-spot-footer time{white-space:nowrap;font-variant-numeric:tabular-nums}

.zone-spot-head{display:flex;align-items:center}.spot-grip{display:flex;cursor:grab;padding:3px 0 0 3px;flex-shrink:0}.zone-spot-head .zone-spot-title{min-width:0;padding-left:1px}

.spot-grip{touch-action:none;user-select:none}.spot-grip:active{cursor:grabbing}
.regie-setup{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,1fr);gap:28px;padding:22px;margin-bottom:22px;align-items:center}.regie-setup-picture .pitch{height:175px;margin:8px 0}.regie-setup-info .actions{margin-top:15px}.regie-setup-info .zone-legend{margin:15px 0}.regie-setup-picture h2{margin:0;font-size:17px}.time-column{position:sticky;left:0;z-index:4;background:#111820;border-right:1px solid #3b4654}.zone-column-head{height:190px;min-height:190px;box-sizing:border-box}.time-head{z-index:5;border-top:5px solid #778695}.time-track{position:relative;background:#111820}.time-track time{position:absolute;left:8px;font-size:12px;line-height:18px;font-variant-numeric:tabular-nums;color:#adbdce}.regie-setup-info{min-width:0}@media(max-width:700px){.regie-setup{grid-template-columns:1fr;gap:8px;padding:16px}.regie-setup-picture .pitch{height:150px}.zone-board{min-width:1192px!important}}

.module-range{display:block;padding:9px 11px;color:#aee881;border:1px solid #354332;border-radius:5px;font-variant-numeric:tabular-nums}

.contract-pixels{font-variant-numeric:tabular-nums}.contract-pixels>span{display:block}.field output{padding:9px 0;min-height:39px}

.profile-zone-list{display:grid;gap:10px}.profile-zone-list>.hint{margin:0}.profile-zone-row{border:1px solid #35414f;border-radius:6px;padding:10px;background:#10161e}.profile-zone-target{border-color:#96f74b;box-shadow:0 0 0 2px #96f74b66}.profile-zone-tools{display:flex;align-items:center;gap:8px;margin-bottom:9px;font-size:13px}.profile-zone-tools button{display:grid;place-items:center;min-width:34px;min-height:34px;border-radius:4px;border:1px solid #35414f}.profile-zone-tools button:disabled{opacity:.25;cursor:default}.profile-zone-tools button:focus-visible{outline:2px solid #96f74b}.profile-zone-grip{touch-action:none;cursor:grab}.profile-zone-grip:active{cursor:grabbing}.profile-zone-position{margin-left:auto;display:flex;gap:8px;align-items:center;color:#a2b0c5}.profile-zone-position select{padding:4px 7px}.profile-zone-fields{display:grid;grid-template-columns:1.4fr 1.2fr .6fr .8fr;gap:10px}.profile-zone-fields input{width:100%}@media(max-width:600px){.profile-zone-fields{grid-template-columns:1fr 1fr}.profile-zone-tools{gap:4px}.profile-zone-tools strong{font-size:12px}.profile-zone-position{gap:4px;font-size:12px}.profile-zone-tools button{min-width:30px;min-height:34px}}

.engine-dialog.upload-success-dialog{max-width:360px;min-height:0;gap:20px}.upload-success-dialog fieldset>.primary{width:100%}

.engine-dialog.upload-rejected-dialog{max-width:480px;min-height:0;gap:16px}.upload-rejected-dialog fieldset>.primary{width:100%}.upload-reason{white-space:pre-line;overflow-wrap:anywhere}

.engine-dialog.upload-progress-dialog{max-width:420px;min-height:0}.upload-progress{text-align:center;padding:12px 0}.upload-progress-ring{height:104px;width:104px;border-radius:50%;margin:0 auto 20px;display:grid;place-items:center;background:#2a3543}.upload-progress-ring span{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:#141a23;font-size:22px;font-variant-numeric:tabular-nums;color:#a8f75d}.upload-progress-ring.indeterminate{border:3px solid #34432c;border-top-color:#a8f75d;animation:upload-pulse 1s ease-in-out infinite alternate}.upload-progress-track{height:7px;background:#2a3543;border-radius:8px;overflow:hidden;margin:18px 0}.upload-progress-track i{display:block;height:100%;background:#a8f75d;transition:width .12s}.upload-progress-track i.indeterminate{animation:upload-sweep 1.2s ease-in-out infinite alternate}.upload-progress-dialog>button{display:none}
@keyframes upload-sweep{from{transform:translateX(-100%)}to{transform:translateX(300%)}}@keyframes upload-pulse{to{opacity:.45}}
.engine-dialog.media-preview-dialog{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;min-width:0;padding:24px;gap:16px}.media-preview{min-width:0;width:100%}.media-preview-stage{display:flex;justify-content:center;align-items:center;width:100%;background:#050607}.media-preview-stage img,.media-preview-stage video{display:block;object-fit:contain;flex:none;min-height:0;max-width:100%;background:#050607}.media-preview .hint{text-align:center;margin:14px 0 0}
@media(max-width:600px){.engine-dialog.media-preview-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:16px}}
@media(prefers-reduced-motion:reduce){.upload-progress-ring.indeterminate,.upload-progress-track i.indeterminate{animation:none}}

.assignment-free{border:1px solid #a4b1c344;box-shadow:inset 0 1px 0 #ffffff18}
.assignment-dummy{border:1px dashed #ffffff70}
.assignment-badge{display:inline-block;padding:5px 9px;border:1px solid;border-radius:6px;font-size:12px}.assignment-badge.free{color:#aab4c2;background:#ffffff08}.assignment-badge.dummy{border-style:dashed;background:repeating-linear-gradient(135deg,#ffffff0b 0 8px,transparent 8px 16px)}
.creative-record{padding:16px 0;border-top:1px solid #2b3440;margin-top:12px}.creative-record .actions{flex-wrap:wrap}

.contract-card{text-align:left;width:100%;cursor:pointer;transition:border-color .15s}.contract-card:hover,.contract-card:focus-visible{border-color:#a8f75d;outline:2px solid transparent}.contract-card-link{display:block;color:#a8f75d;margin-top:16px}.contract-actions{display:flex;flex-direction:column;gap:12px;align-items:stretch}.attachment-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 0;overflow-wrap:anywhere}.attachments{display:grid;gap:8px}
[data-slot="button"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:600;line-height:1.3;max-width:100%;cursor:pointer;transition:background .15s,border-color .15s;white-space:normal}
[data-slot="button"] svg{width:18px;height:18px;flex-shrink:0}
[data-slot="button"][data-variant="default"]{background:#9df747;color:#152109;border-color:#9df747}
[data-slot="button"][data-variant="outline"],[data-slot="button"][data-variant="secondary"]{background:#171e27;color:#edf2f5;border-color:#465160}
[data-slot="button"][data-variant="ghost"]{color:#c1cbd5;background:transparent}
[data-slot="button"]:hover:not(:disabled){filter:brightness(1.13);border-color:#9df747}
[data-slot="button"]:focus-visible{outline:2px solid #9df747;outline-offset:3px}
[data-slot="button"]:disabled{opacity:.45;cursor:not-allowed}
[data-slot="button"][data-size="icon"]{width:40px;height:40px;min-width:40px;padding:0;flex-shrink:0}
.sectionbar,.panelhead{flex-wrap:wrap}.sectionbar h2{min-width:0}.sectionbar .actions{flex-wrap:wrap}
.account>div:nth-child(2){flex:1;min-width:0}.account .avatar{flex-shrink:0}.account strong{overflow-wrap:anywhere}
.sponsor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:20px;align-items:start}
.sponsor-panel{padding:24px;min-width:0}.sponsor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sponsor-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:21px;min-width:0}.sponsor-heading h2 span:last-child{overflow-wrap:anywhere}.sponsor-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;display:inline-block}.sponsor-summary{color:#9caab9;font-size:14px;margin:12px 0 20px}
.sponsor-contract{padding:18px 0;border-top:1px solid #303a46}.contract-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.contract-heading h3{margin:0;font-size:17px}.contract-number{display:inline-flex;align-items:center;gap:6px;color:#c8dcbb;font-size:13px;background:#22301e;border-radius:6px;padding:5px 8px}.contract-number svg{width:15px;height:15px}.sponsor-contract-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.sponsor-card-footer{border-top:1px solid #303a46;padding-top:18px;margin-top:6px}.legacy-areas{background:#151e27;border-radius:8px;padding:14px;margin:16px 0}.legacy-areas summary{color:#b8c4d1;cursor:pointer;font-size:14px}
.contract-documents{display:grid;gap:14px}.contract-documents label{display:grid;gap:8px}.document-upload{border:1px dashed #657752;border-radius:10px;padding:18px;background:#1c2819}.document-upload input{max-width:100%;font-size:13px}.document-list article{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #303a46}.document-list article>div{flex:1;min-width:0;overflow-wrap:anywhere}.document-list small{display:block;color:#9caab9;margin-top:4px}.contract-documents progress{width:100%;accent-color:#9df747}
@media(max-width:600px){.sponsor-panel{padding:16px}.sponsor-heading h2{font-size:19px}.sponsor-contract-actions>[data-slot="button"]{flex:1}.sectionbar{align-items:flex-start}.sectionbar>[data-slot="button"]{width:100%}}

.planner-import{padding:18px;border:1px solid #384635;background:#162017;border-radius:10px;margin-bottom:18px}.planner-import .pitch{max-height:280px;width:100%;margin:14px 0}.planner-import .hint{margin:12px 0}select{color-scheme:dark}select option{background:#141b22;color:#edf2f5}

.engine-dialog.csv-import-dialog{width:calc(100vw - 32px);max-width:1000px}.csv-import-dialog fieldset{min-width:0;display:grid;gap:18px}.csv-import-dialog h2{font-size:20px}.csv-file-drop{display:grid;gap:14px;justify-items:center;border:1px dashed #63714f;border-radius:12px;padding:32px;background:#a0f54308}.csv-file-drop input{max-width:100%}.csv-summary{display:flex;gap:18px;flex-wrap:wrap;color:#a6f456}.csv-row{padding:18px;border:1px solid #303c49;border-radius:10px;margin:12px 0;background:#0c1117}.csv-row header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.csv-row .filename{margin:10px 0;color:#9caabc;overflow-wrap:anywhere}.csv-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.csv-fields .field{min-width:0}.csv-fields input,.csv-fields select{width:100%;min-width:0}.csv-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:12px}.csv-footer button{white-space:normal;height:auto;min-height:42px}.csv-success{display:grid;gap:18px;text-align:center;justify-items:center}.csv-success svg{color:#a6f456}.csv-progress{display:flex;align-items:center;gap:10px;color:#a6f456}@media(max-width:640px){.csv-fields{grid-template-columns:1fr}.csv-footer button{width:100%}.csv-row{padding:12px}}
.contract-phase-times{display:grid;gap:10px;font-size:13px}.contract-phase-times strong{display:block}.contract-phase-times details{margin-top:6px;color:#a4b2c4}.contract-phase-times details p{line-height:1.8;white-space:normal}

.contract-schedule-cell{min-width:225px;vertical-align:top}
.contract-schedule-cell strong{display:block;white-space:nowrap;font-variant-numeric:tabular-nums}
.contract-schedule-cell small{display:block;color:#94a3b8;font-weight:400;margin:6px 0}
.contract-schedule-cell .pill{margin-top:4px;white-space:nowrap}
.schedule-difference{color:#f5c66e;border-color:#a07b3e!important;background:#60491833}
.contract-schedule-table{overflow-x:auto}
.contract-schedule-table th:first-child,.contract-schedule-table td:first-child{position:sticky;left:0;z-index:1;background:#11161d;min-width:120px}
.contract-schedule-table th:first-child{background:#192029}
.contract-schedule-table td:nth-child(5){min-width:180px;max-width:240px;white-space:normal}
.contract-schedule-table th{white-space:normal}

.contract-dialog .assignment-release button{width:100%}
.contract-dialog button:not([aria-label="Close"]):not(.dialog-close){white-space:normal}
.contract-dialog .assignment-release button,.contract-dialog fieldset>button{width:100%;min-height:44px;height:auto;padding:12px 16px;justify-content:center}
.contract-area-list{display:grid;gap:18px;min-width:0}.contract-area{border-top:5px solid var(--area-color);overflow:hidden;min-width:0}.contract-area.drag-target{outline:2px solid var(--area-color);outline-offset:3px}.contract-area-header{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#141922}.area-grip{display:grid;place-items:center;color:#8794a6;cursor:grab;min-height:36px;width:28px;flex-shrink:0}.area-grip:active{cursor:grabbing}.area-toggle{display:flex;align-items:center;gap:10px;text-align:left;flex:1;min-width:0;min-height:36px}.area-toggle h2{color:var(--area-color);font-size:18px;margin:0;overflow-wrap:anywhere}.area-toggle>span{color:#9ca8b8;font-size:12px;white-space:nowrap}.area-sort,.compact-actions{display:flex;align-items:center;gap:3px}.area-sort button,.compact-actions button{width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important}.compact-actions svg{width:17px;height:17px}.compact-contracts table{font-size:13px}.compact-contracts th,.compact-contracts td{padding:8px 12px!important;vertical-align:middle!important}.compact-contracts .contract-schedule-cell{min-width:155px}.compact-contracts .contract-schedule-cell small{margin:2px 0 0;font-size:11px}.compact-contracts .contract-schedule-cell .pill{margin:0;padding:4px 7px;font-size:12px}.compact-contracts td:nth-child(5){min-width:0;white-space:nowrap}.compact-contracts th:first-child,.compact-contracts td:first-child{min-width:100px}.target-inline{white-space:nowrap;font-variant-numeric:tabular-nums}.batch-name{display:block;color:#92a0b2;font-size:11px;max-width:170px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact-contracts .pill{padding:4px 8px}.batch-preview{border-left:3px solid #a3ff3f;background:#1b2520;padding:12px 16px;overflow-wrap:anywhere}.batch-preview p{font-size:13px;color:#bbc7c0}.area-grip:focus-visible,.area-toggle:focus-visible{outline:2px solid var(--area-color);outline-offset:2px}.contract-area .tablewrap{border:0;border-radius:0;margin:0}@media(max-width:640px){.contract-area-header{padding:8px}.area-toggle{gap:6px}.area-toggle h2{font-size:16px}.area-toggle>span{font-size:11px}.area-sort button{width:30px!important}.compact-actions button{min-height:36px!important}}

.area-grip{touch-action:none;user-select:none}.phase-target-details{min-width:180px;max-width:280px}.phase-target-details summary{white-space:nowrap}.phase-target-details>div{margin-top:4px;font-size:12px}
.compact-contracts th:last-child,.compact-contracts td:last-child{position:sticky;right:0;z-index:2;background:#11161d;min-width:86px;box-shadow:-5px 0 8px -6px #000}.compact-contracts th:last-child{background:#192029}

.area-sort .area-distribute{width:auto!important;padding:6px 10px!important;gap:6px;white-space:nowrap}.area-distribute svg{width:16px;height:16px}.area-sort{flex-wrap:wrap;justify-content:flex-end}@media(max-width:640px){.contract-area-header{flex-wrap:wrap}.contract-area-header>.area-sort{width:100%;padding-left:28px;justify-content:flex-start}.area-sort .area-distribute{flex:1;width:auto!important}.area-sort .area-distribute span{font-size:12px}}

.compact-contracts th .phase-capacity{display:flex;flex-direction:column;gap:2px;margin-top:6px;font-weight:400;font-variant-numeric:tabular-nums}.phase-capacity span:first-child{font-size:12px}.phase-capacity span:last-child{font-size:10px}.phase-capacity.capacity-free{color:#e8b647}.phase-capacity.capacity-full{color:#a3dc78}.phase-capacity.capacity-over{color:#ff9e96}

.sponsor-table-list{display:grid;gap:18px;min-width:0}.sponsor-table{border-top:5px solid var(--sponsor-color);padding:0;overflow:hidden;min-width:0}.sponsor-table .sponsor-heading{padding:12px 16px 0}.sponsor-table .sponsor-heading h2{font-size:18px}.sponsor-table .sponsor-summary{padding:0 16px;margin:4px 0 12px;font-size:12px}.sponsor-table .tablewrap{margin:0;border-radius:0;border-left:0;border-right:0}.sponsor-table .sponsor-card-footer{padding:10px 16px;margin:0;border:0}.sponsor-table .legacy-areas{margin:12px 16px}.sponsor-table table{width:100%;min-width:650px}.sponsor-table th:last-child,.sponsor-table td:last-child{width:90px}.sponsor-table .sponsor-dot{flex-shrink:0}.compact-contracts th .phase-capacity span:last-child{font-size:12px}

.sponsor-heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.sponsor-table .sponsor-heading{gap:12px;flex-wrap:wrap}.sponsor-table .sponsor-heading h2{flex:1}.sponsor-table th:last-child,.sponsor-table td:last-child{width:124px}.sponsor-table .published-play{background:#a3ff3f!important;color:#182308!important}.sponsor-table .published-play:hover{background:#bfff79!important}@media(max-width:640px){.sponsor-heading-actions{margin-left:auto}.sponsor-heading-actions>button:first-child{font-size:12px;padding:6px 10px}}

.partner-edit{cursor:pointer;border-radius:6px;text-align:left}.partner-edit:hover .assignment-badge{filter:brightness(1.2)}.partner-edit:focus-visible{outline:2px solid #a3ff3f;outline-offset:3px}

.zone-play{background:transparent!important;color:inherit!important;border-radius:3px}.zone-play:hover{background:#ffffff26!important}.phase-preview .actions{margin:12px 0}

.work-table-list{display:grid;gap:20px;min-width:0}.work-table-tools{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.work-table-tools .search{flex:1;min-width:230px}.work-table table{width:100%;min-width:650px}.work-table td small{display:block;color:#94a3b6;font-size:12px;margin-top:3px}.work-thumb{width:100px;height:42px;background:#07090c;display:flex;align-items:center;justify-content:center;border-radius:5px;overflow:hidden}.work-thumb img{width:100%;height:100%;object-fit:contain}.work-brief{max-width:320px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.work-empty{color:#94a3b6;padding:24px!important}.pending-review{color:#ffd36b;border-color:#806632;background:#302b1b}.work-table-list .area-grip{touch-action:none}.work-table-list .compact-actions{justify-content:flex-end}.work-table-list .area-toggle>span{white-space:normal}

.club-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:22px}.club-card{padding:24px;display:flex;flex-direction:column;min-width:0;border-top:4px solid #a3ff3f}.club-card h2{margin:14px 0 6px;overflow-wrap:anywhere}.club-pitch{height:230px;display:flex;align-items:center;justify-content:center;margin:12px 0 22px}.club-pitch svg{height:100%!important;width:100%!important;max-height:230px;object-fit:contain}.club-card-actions{margin-top:auto;display:grid;gap:12px}.club-card-actions>div:first-child{display:grid;grid-template-columns:1fr 1fr;gap:12px}.club-card-actions button{height:auto;min-height:42px;white-space:normal;text-align:center;line-height:1.3;padding:10px 14px}.club-archive{margin-top:24px}.club-removal{display:grid;gap:16px}.club-removal .hint{margin:0}@media(max-width:430px){.club-card{padding:18px}.club-card-actions>div:first-child{grid-template-columns:1fr}.club-pitch{height:200px}}

.film-set-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}.film-set-stage{background:#000;display:flex;justify-content:center}.film-set-stage img,.film-set-stage video{display:block;object-fit:contain}.film-set-stacked section{margin-bottom:20px}.film-set-joined{display:flex;gap:0;margin:16px 0}.film-set-joined h3,.film-set-joined .hint{padding:0 8px;overflow-wrap:anywhere}.film-set-joined h3{font-size:14px}.film-set-joined .hint{font-size:11px}.film-set-joined .film-set-stage{padding:0}
.sponsor-contract-table{border-top:4px solid #a3ff3f;margin-top:24px;overflow:hidden}.sponsor-contract-table>h2{padding:20px 24px;margin:0}.sponsor-plan-scroll{overflow:auto;max-height:70vh}.sponsor-plan-grid{display:grid;gap:12px}.sponsor-plan-grid h3{position:sticky;top:0;background:#11171f;margin:0;padding-bottom:12px}.sponsor-plan-entry{padding:10px;min-height:72px;border:1px solid #34404c;border-radius:8px;margin-bottom:6px;display:grid;grid-template-columns:1fr auto;gap:4px;background:#17202a}.sponsor-plan-entry time{grid-column:1/-1;color:#9eabbc;font-size:12px}.sponsor-plan-entry.own{border-color:#a3ff3f;background:#a3ff3f18}.sponsor-plan-entry strong{font-size:13px}.account button.avatar{flex-shrink:0;border:1px solid transparent;cursor:pointer}.account button.avatar:disabled{opacity:1;cursor:default}.account button.avatar:not(:disabled):hover{border-color:#a3ff3f}

.club-card>.pill{align-self:flex-start}.sponsor-plan-track{position:relative}.sponsor-plan-entry{min-height:0;margin-bottom:0;overflow:hidden}.sponsor-plan-entry strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.work-table table,.sponsor-contract-table table{table-layout:fixed;width:100%}.work-table table{min-width:860px}.work-table th,.work-table td,.sponsor-contract-table th,.sponsor-contract-table td{min-width:0!important;overflow-wrap:anywhere}.work-table td:nth-child(5){white-space:normal}.work-table .work-thumb{max-width:100%}.work-table .compact-actions{flex-wrap:wrap}.sponsor-contract-table th{white-space:normal}.sponsor-contract-table .tablewrap{margin:0;border:0;border-radius:0}
.sponsor-timeline-grid{display:grid;width:100%;align-items:start}.sponsor-readonly .zone-column-head{height:122px;min-height:122px;z-index:6;border-right:1px solid #303946;gap:5px;padding:10px;overflow:hidden}.sponsor-readonly .zone-column-head h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px}.sponsor-readonly .sponsor-time-head{position:sticky;left:0;top:0;z-index:8}.sponsor-time-track{position:sticky;left:0;z-index:4;border-right:1px solid #3b4654}.sponsor-readonly-track{border-right:1px solid #303946;background:#0e131b}.sponsor-readonly-spot{position:absolute;left:3px;right:3px;overflow:hidden;border:1px solid #34404c;border-radius:4px;background:#17202a;padding:3px 6px;color:#aeb8c5;box-sizing:border-box}.sponsor-readonly-spot.own{border-color:#a3ff3f;background:#23351d;color:#ecf9e6}.sponsor-readonly-spot strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:18px}.sponsor-readonly-spot>div{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:11px;line-height:16px}.sponsor-readonly-spot time{white-space:nowrap;font-variant-numeric:tabular-nums}.sponsor-readonly-spot .zone-play{padding:0;flex-shrink:0}

.sponsor-contract-table th:last-child,.sponsor-contract-table td:last-child{position:static;box-shadow:none}.sponsor-contract-table td.target-inline,.sponsor-contract-table .contract-schedule-cell{white-space:normal}

.phase-sections{display:flex;flex-direction:column;gap:24px;min-width:0}.phase-section{scroll-margin-top:20px}.phase-section>.editor>.panel,.phase-section>.panel{border:0;border-radius:0}.phase-section .area-toggle{min-width:0}.phase-section .area-toggle h2{overflow-wrap:anywhere}.phase-section .panelhead .actions{flex-wrap:wrap}.phase-section .area-sort{flex-shrink:0}

.browser-preview{min-width:0;background:#0b1016}.preview-heading,.preview-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.preview-heading{margin-bottom:12px}.preview-heading p{margin:4px 0 0}.preview-stage{position:relative;background:#000;display:flex;align-items:center;justify-content:center;min-height:120px}.preview-stage canvas{display:block;width:100%;max-height:65vh;object-fit:contain}.preview-loading{position:absolute;inset:0;display:flex;gap:10px;align-items:center;justify-content:center;background:#0009;color:#fff;padding:20px;text-align:center}.preview-time{font-variant-numeric:tabular-nums;white-space:nowrap}.browser-preview input[type=range]{width:100%;accent-color:#a2ff35;cursor:pointer}.browser-preview:fullscreen{padding:24px;overflow:auto;display:flex;flex-direction:column;justify-content:center}.browser-preview:fullscreen .preview-stage canvas{max-height:75vh}.preview-controls .actions{flex-wrap:wrap}
.phase-section .area-toggle h2{color:color-mix(in srgb,var(--area-color) 70%,white)}
.film-set-upload{display:grid;gap:12px;min-width:0}.film-set-upload .field{margin:0;min-width:0}.film-set-upload small{overflow-wrap:anywhere}.film-set-upload p{margin:0}

.file-picker{position:relative;display:flex;align-items:center;gap:16px;border:1px solid #394353;border-radius:8px;background:#0c1117;padding:12px;min-width:0;width:100%;cursor:pointer}.file-picker-button{flex:none;font-weight:600}.file-picker-name{flex:1;min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a5b0bd}.file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-picker:focus-within{outline:2px solid #a3f85a;outline-offset:2px}.file-picker:has(input:disabled){opacity:.5;cursor:default}.content-entry{width:100%;margin-bottom:12px;white-space:normal}@media(max-width:480px){.file-picker{gap:8px}.file-picker-button{font-size:13px}}

.data-check-link{display:inline;padding:0;border:0;background:transparent;color:#a3f85a;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}.data-check-link:focus-visible{outline:2px solid #a3f85a;outline-offset:3px;border-radius:2px}.data-check-dialog p{margin:0;line-height:1.65}.data-check-dialog{max-width:min(620px,95vw)!important}

.fixtures-table>.sectionbar{padding:20px 24px;margin:0;gap:16px;flex-wrap:wrap}.fixtures-table>.sectionbar h2{margin:0}.fixtures-table table{table-layout:auto;min-width:850px}.fixtures-table th,.fixtures-table td{white-space:nowrap;overflow-wrap:normal}.fixtures-table td:nth-child(4){min-width:200px!important;white-space:normal}.fixtures-table td:nth-child(4) strong{white-space:normal}

.invoice-table th,.invoice-table td{padding:12px 14px;vertical-align:top;white-space:normal!important}.invoice-detail,.invoice-filename{overflow-wrap:anywhere}.order-search{margin-bottom:24px}.order-search .tablewrap{margin-top:16px}
.marketing-inventory{margin-top:32px;display:grid;gap:20px}.inventory-stats{margin:0!important}.inventory-stats strong small{font-size:18px;color:#93a0af}.inventory-area{padding:24px}.inventory-area h3{font-size:21px;font-weight:700}.inventory-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:20px}.inventory-package{min-width:0;background:#151b24;border:1px solid #303945;border-top:4px solid var(--package-color);border-radius:10px;padding:22px}.inventory-count{font-size:26px;font-weight:750;color:var(--package-color);margin:0 0 16px}.inventory-package h4{font-size:28px;font-weight:750;margin:0}.inventory-package h4 span{display:block;font-size:13px;font-weight:400;color:#a4b0bf;margin-top:4px}.inventory-package>.muted{margin:12px 0 22px}.inventory-progress{height:8px;background:#303a46;border-radius:9px;display:flex;overflow:hidden}.inventory-progress i{background:var(--package-color)}.inventory-progress i.own{background:repeating-linear-gradient(45deg,#81909f,#81909f 3px,#495361 3px,#495361 6px)}.inventory-counts{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;margin-top:12px}.inventory-counts>span{color:#a4b0bf}.inventory-slots{border-top:1px solid #303945;margin-top:20px;padding-top:14px;font-size:13px}.inventory-slots summary{cursor:pointer;color:#b4c0ce}.inventory-slots ul{list-style:none;margin:14px 0 0;padding:0}.inventory-slots li{display:grid;grid-template-columns:60px 1fr;gap:4px 10px;padding:10px 0;border-top:1px solid #303945;overflow-wrap:anywhere}.inventory-status{grid-column:2;color:#a4b0bf;font-size:12px}.inventory-status.sold{color:var(--package-color)}.inventory-potential{border-top:1px solid #303945;margin-top:24px;padding-top:18px}.inventory-potential p{margin:6px 0 0}.inventory-potential>strong{color:#a3ff3f}.inventory-area>.panelhead{flex-wrap:wrap;gap:12px}
.profile-tabs{flex-wrap:wrap}.profile-tab{display:flex;border:1px solid #303945;border-radius:7px;overflow:hidden}.profile-tabs .profile-tab>button{border:0;border-radius:0;margin:0;background:transparent}.profile-tabs .profile-tab.selected{border-color:#a3ff3f;background:#23301c;color:#a3ff3f}.profile-tabs .profile-tab.drag-target{outline:2px solid #a3ff3f;outline-offset:3px}.profile-tabs .profile-grip{padding:10px 4px 10px 10px;cursor:grab;touch-action:none}.profile-grip:focus-visible{outline:2px solid #a3ff3f;outline-offset:-3px}.inventory-profile{border-top:5px solid var(--area-color);overflow:hidden}.inventory-profile>summary{display:flex;align-items:center;gap:16px;padding:22px 24px;cursor:pointer;list-style:none;background:#151b24}.inventory-profile>summary:before{content:'›';font-size:24px;color:var(--area-color);transform:rotate(0deg)}.inventory-profile[open]>summary:before{transform:rotate(90deg)}.inventory-profile>summary h3{font-size:21px;font-weight:700;color:var(--area-color);margin:0}.inventory-profile>summary>span{margin-left:auto;font-size:13px;color:#a4b0bf}.inventory-table{table-layout:fixed;min-width:920px;width:100%}.inventory-table th,.inventory-table td{padding:16px;vertical-align:top;overflow-wrap:anywhere}.inventory-table td>small{display:block;color:#a4b0bf;margin-top:4px}.inventory-table .inventory-progress{margin-top:8px;height:6px}.inventory-table-slots summary{cursor:pointer;color:var(--area-color)}.inventory-table-slots ul{list-style:none;padding:0;margin-top:12px}.inventory-table-slots li{display:grid;gap:4px;padding:10px 0;border-top:1px solid #303945;font-size:12px}.inventory-table-slots small{color:#a4b0bf}.inventory-profile>.inventory-potential{margin:0;padding:20px 24px}.inventory-stats article{overflow:hidden}@media(max-width:600px){.inventory-profile>summary{flex-wrap:wrap;gap:10px;padding:16px}.inventory-profile>summary>span{margin-left:26px}.inventory-profile>summary h3{font-size:18px}}
.inventory-expand{display:inline-flex;align-items:center;gap:5px;color:var(--area-color);cursor:pointer;background:none;border:0;padding:0}.inventory-expand:focus-visible{outline:2px solid var(--area-color);outline-offset:4px}.inventory-table .inventory-detail-row>td{padding:0;background:#151c25}.inventory-contract-list{padding:12px 18px 20px}.inventory-contract-list>table{width:100%;table-layout:auto;min-width:880px}.inventory-contract-list th{font-size:12px;color:#a4b0bf;background:#19232d}.inventory-contract-list td,.inventory-contract-list th{padding:12px;vertical-align:middle}.inventory-contract-list td:first-child{width:100px}.inventory-contract-list td:nth-child(2){min-width:170px}.inventory-contract-list td:last-child{width:64px;text-align:right}.inventory-contract-list td>small{display:block;color:#a4b0bf;margin-top:3px}.inventory-contract-list tbody tr:last-child td{border-bottom:0}
.film-zone-assignment{display:grid;gap:12px;padding:18px;border:1px solid #36404c;border-radius:10px}.film-zone-assignment h3{margin:0;font-weight:700}.film-zone-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:16px;align-items:center}.film-zone-row strong,.film-zone-row small{display:block}.film-zone-row small{color:#a4b0bf;margin-top:5px}.film-zone-row select{width:100%}

.contract-profile-selection{border:1px solid var(--border,#303b47);border-radius:8px;padding:12px 16px;margin:12px 0}.contract-profile-selection legend{padding:0 6px}.contract-profile-selection .checklabel{margin:8px 0}

.contract-profile-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.contract-profile-row .field{min-width:0;margin:0}.contract-profile-row>button{margin-bottom:2px}.contract-profile-add{align-self:flex-start;margin-top:-8px}
.zone-scroll{height:min(68vh,640px);max-height:640px;min-height:280px}
.phase-publication-notice{display:block;white-space:normal}
.phase-publication-notice summary{cursor:pointer;line-height:1.5}
.phase-publication-list{max-height:180px;overflow:auto;margin-top:12px;padding-right:8px}
.phase-publication-list p{margin:0 0 8px;font-size:13px;overflow-wrap:anywhere}
@media(max-width:600px){.zone-scroll{height:min(65vh,640px)}}

.zone-scroll{scroll-behavior:auto;overflow-anchor:none}
.phase-load-shell{position:relative;min-height:240px}
.phase-loading{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:240px;background:#10151c;border:1px solid #303946;border-radius:8px;color:#a4b2c4}
.phase-loading strong{color:#edf1f5}.phase-loading svg{color:#a3ff3f;animation:phase-loading-spin 1s linear infinite}
@keyframes phase-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.phase-loading svg{animation:none}}
.table-sort-button{display:inline-flex;align-items:center;gap:7px;width:100%;text-align:left;color:inherit;font:inherit;line-height:inherit;background:none;border:0;padding:0;cursor:pointer}.table-sort-button>span:last-child{display:inline-flex;flex-shrink:0;opacity:.6}.table-sort-button:hover,.table-sort-button:focus-visible{color:#a3ff3f}.table-sort-button:focus-visible{outline:2px solid #a3ff3f;outline-offset:4px;border-radius:2px}th[aria-sort=ascending] .table-sort-button>span:last-child,th[aria-sort=descending] .table-sort-button>span:last-child{opacity:1;color:#a3ff3f}

.film-review-actions{display:flex;align-items:stretch;gap:12px;width:100%}.film-review-actions .film-reject-button{width:44px;height:auto;min-height:44px;flex:0 0 44px;padding:0;border-radius:8px;background:#9f3038;color:#fff}.film-review-actions .film-reject-button:hover{background:#bd3943}
.engine-dialog.media-preview-dialog{grid-template-columns:minmax(0,1fr)}
.media-preview-dialog>*,.media-preview-dialog fieldset>*,.film-set-preview,.film-set-stacked,.film-set-stacked>section,.film-set-joined{min-width:0;max-width:100%}
.film-set-preview{width:100%}.film-set-stage{min-width:0;max-width:100%}.film-set-stage video,.film-set-stage img{min-width:0;flex-shrink:1}

.media-download-list{max-height:55vh;overflow:auto}.media-download-list a{display:flex;gap:10px;padding:12px;text-decoration:none;overflow-wrap:anywhere}.media-download-list small{display:block;opacity:.7}.media-download-list a:hover{background:#ffffff10}

.work-media-filename{white-space:normal;overflow-wrap:anywhere;font-weight:400}

.work-sponsor-heading td{background:#17202a;padding:8px 12px!important}.work-sponsor-toggle{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:none;border:0;color:inherit;cursor:pointer}.work-sponsor-toggle span{font-size:12px;font-weight:400;color:#94a3b6}.work-sponsor-toggle:focus-visible{outline:2px solid #a3ff3f;outline-offset:3px}
.booking-periods,.club-library{border:1px solid var(--border,#35414d);border-radius:12px;padding:18px;margin:14px 0}.booking-periods h3{display:flex;align-items:center;gap:8px}.booking-period-row{display:flex;align-items:end;gap:12px;margin-bottom:12px}.booking-period-row .field{flex:1;min-width:0}.booking-label{display:block;font-size:12px;font-weight:400;color:#b9c9d7;margin-top:6px;white-space:normal}.library-film{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #ffffff18}.library-film small{display:block;font-size:12px;color:#a6b4c1;margin-top:5px}.club-library h4{margin:20px 0 10px}.live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#8995a3;flex-shrink:0}.matchday-report{padding:15px 0;border-top:1px solid #ffffff20}.matchday-report summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.live-placeholder .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.live-placeholder .stats strong{font-size:18px}.live-placeholder .notice{display:flex;align-items:center;gap:10px}@media(max-width:600px){.booking-period-row{flex-wrap:wrap}.library-film{align-items:start;flex-direction:column}.matchday-report summary{align-items:start;flex-direction:column}}
.live-placeholder .notice .live-dot{flex:0 0 9px;width:9px;height:9px}.live-placeholder>.pitch{height:180px;max-height:180px}.live-placeholder .stats article{padding:16px}

.player-live-canvas{margin:0;overflow:hidden;background:#06090d}.player-live-canvas canvas{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}
.api-settings{margin-bottom:24px}.api-settings h2{display:flex;gap:10px;align-items:center}.api-create,.api-new-secret{padding:18px;border:1px solid #47536a;border-radius:8px;margin:18px 0}.api-new-secret{border-color:#91bd66;background:#1b281d}.api-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;margin:12px 0}.api-settings table{width:100%;font-size:13px}.api-settings th,.api-settings td{text-align:left;padding:12px;vertical-align:top;border-bottom:1px solid #ffffff18}.api-settings small{display:block;margin-top:5px;color:#9baabb;font-size:12px}.api-record-ids{max-width:420px;overflow-wrap:anywhere}.api-help{margin:20px 0;padding:12px;border:1px solid #ffffff20;border-radius:8px}.api-settings .field{margin:12px 0}.api-settings .tablewrap{margin:18px 0}

.marketing-owner{font-size:10px;display:inline-block;padding:1px 4px;border-radius:4px;background:#234a78;color:white;margin-right:4px}.marketing-owner.matchwinners{background:#6e2879}.marketing-capacity{padding:12px;border:1px solid #ffffff28;border-radius:8px;margin-bottom:12px}.marketing-capacity p{margin:4px 0;font-size:13px}

.central-club{border-top:1px solid #ffffff25;margin-top:24px;padding-top:16px}.central-sponsors select{max-width:230px}.central-sponsors>.library-film{flex-wrap:wrap}.central-club .library-film{margin-top:8px}

.engine-dialog.club-settings-dialog{width:calc(100vw - 40px);max-width:960px!important;max-height:90vh;gap:16px}.club-settings-tabs,.club-setup-choice{display:flex;gap:10px;flex-wrap:wrap}.club-settings-tabs{border-bottom:1px solid #dbe1e8;padding-bottom:12px}.club-settings-body{max-height:58vh;overflow:auto;padding:2px 6px 8px;display:grid;gap:14px}.club-settings-body .formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.club-settings-body .field{margin:0}.club-settings-body small{font-size:12px}.club-settings-body details{border:1px solid #dbe1e8;border-radius:10px;padding:12px}.club-settings-body summary{cursor:pointer;font-weight:600}.club-settings-body .assignment-release{margin:0;padding-top:8px}.club-settings-body .planner-import{margin:0}.club-settings-body .hint{margin:6px 0}@media(max-width:640px){.club-settings-body .formgrid{grid-template-columns:1fr}.engine-dialog.club-settings-dialog{width:calc(100vw - 20px)}.club-settings-tabs button{flex:1;padding-inline:8px}}
.club-library-table table{width:100%;min-width:900px}.club-library-table td:first-child{min-width:170px}.club-library-table td:nth-child(4) small{display:block;white-space:nowrap}.club-library-table td:last-child{width:144px}.club-library-table .compact-actions{justify-content:flex-end}.club-library-table td:nth-child(5){white-space:nowrap}
.central-tables{margin-bottom:24px}.central-tables>.tablewrap{margin:14px 0 24px}.central-tables table{width:100%;min-width:760px}.central-assignment{display:flex;gap:8px;align-items:center}.central-assignment select{min-width:150px}.central-tables>.sectionbar h2{font-size:18px}.central-tables .area-toggle h2{font-size:16px}.central-tables .contract-area-header{padding:8px 12px}.central-tables .contract-area-header>.area-toggle{min-height:32px}.central-tables>.contract-area-list{gap:10px}.central-tables .compact-actions{justify-content:flex-end}

.work-status-filters{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.work-status-filters button{white-space:nowrap}.work-status-filters button span{font-size:.8em;opacity:.75;margin-left:3px}

.animation-score-button{font:inherit;color:#b5f568;background:transparent;border:0;cursor:pointer;text-align:left;white-space:nowrap;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.animation-score-dialog{width:min(960px,calc(100vw - 32px))!important;max-width:960px!important;max-height:88vh;overflow:auto}.animation-score-dialog details{padding:10px 0;border-bottom:1px solid #303945}.animation-score-dialog textarea{width:100%;min-height:65px}.animation-score-dialog input,.animation-score-dialog select{margin:6px 8px 6px 0;max-width:100%}.score-total{font-size:28px;font-weight:bold}.score-total small{display:block;font-size:14px}
.animation-score-button{display:inline-flex;align-items:center;gap:6px;border:1px solid currentColor;border-radius:6px;padding:5px 9px;font-size:12px;line-height:1.2;font-weight:700;text-decoration:none;white-space:normal;max-width:100%;overflow-wrap:anywhere}.animation-score-button:hover{background:color-mix(in srgb,currentColor 9%,transparent)}.score-green{color:#a3ff3f}.score-pink{color:#ed12ce}.score-pending,.animation-score-pending{color:#ab91ff}.animation-score-dialog{display:flex!important;flex-direction:column;gap:20px;width:min(520px,calc(100vw - 32px))!important;max-width:520px!important;max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px!important;border:1px solid #343b47!important;border-radius:16px!important;background:#12151b!important;box-shadow:0 24px 90px #0009}.animation-score-dialog [data-slot="dialog-header"]{padding-right:28px;text-align:left;gap:6px}.animation-score-dialog [data-slot="dialog-title"]{font-size:23px;line-height:1.2;letter-spacing:-.02em}.animation-score-dialog [data-slot="dialog-description"]{margin:0;font-size:13px;line-height:1.5;color:#a5aebb}.animation-score-dialog>button[data-slot="dialog-close"]{top:18px;right:18px}.score-result{display:flex;align-items:center;gap:20px;padding:20px 0;border-top:1px solid #2a303b;border-bottom:1px solid #2a303b;min-width:0}.score-result-number{font-size:clamp(48px,12vw,76px);font-weight:800;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.score-result>div{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.score-result-unit{font-size:12px;color:#a5aebb}.score-result strong{font-size:15px;line-height:1.4}.score-explanation{margin:0!important;font-size:14px;line-height:1.65;color:#c0c7d1;overflow-wrap:anywhere}.score-improvement{border-left:3px solid #ed12ce;border-radius:0 8px 8px 0;background:#ed12ce08;padding:12px 15px;min-width:0}.score-improvement>span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#ed12ce}.score-improvement p{margin:5px 0 0!important;font-size:14px;line-height:1.6;color:#e1e5eb;overflow-wrap:anywhere}@media(max-width:420px){.animation-score-dialog{padding:22px!important;gap:16px}.score-result{gap:16px}.score-result strong{font-size:14px}}
.animation-score-dialog .score-result{flex-direction:column;justify-content:center;gap:10px;padding:24px 0;border:0;text-align:center}.animation-score-dialog .score-result-number{font-size:clamp(64px,18vw,96px)}.score-feedback{margin:0!important;padding-top:18px;border-top:1px solid #343b47;font-size:14px;line-height:1.7;color:#d6dce5;overflow-wrap:anywhere;min-width:0}

.engine-dialog.responsive-player-dialog{height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden}.responsive-player-dialog .browser-preview{flex:1;min-height:0;display:flex;flex-direction:column}.responsive-player-dialog .preview-heading,.responsive-player-dialog .preview-controls,.responsive-player-dialog input,.responsive-player-dialog p{flex-shrink:0}.responsive-player-dialog .preview-stage{flex:1;min-height:0;overflow:hidden}.responsive-player-dialog .preview-stage canvas{width:100%;height:100%;max-height:none;object-fit:contain}.browser-preview:fullscreen .preview-stage{flex:1;min-height:0}.browser-preview:fullscreen .preview-stage canvas{width:100%;height:100%;max-height:none;object-fit:contain}.responsive-player-dialog .player-live-canvas{flex:1;min-height:0}

.engine-dialog.media-preview-dialog.responsive-player-dialog{width:var(--preview-window-width,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}

.preview-stage canvas:fullscreen{display:block;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;object-fit:contain;object-position:left top;background:#000;margin:0;padding:0;border:0}

.browser-preview:fullscreen{position:relative;width:100vw;height:100dvh;padding:0!important;margin:0;overflow:hidden;display:block;background:#000}.browser-preview:fullscreen .preview-stage{position:absolute;inset:0;width:100%;height:100%;margin:0;min-height:0}.browser-preview:fullscreen .preview-stage canvas{width:100%;height:100%;max-height:none;object-fit:contain;object-position:left top}.browser-preview:fullscreen>.preview-heading,.browser-preview:fullscreen>.preview-controls,.browser-preview:fullscreen>input{position:absolute;z-index:5;left:16px;right:16px;opacity:0;transition:opacity .15s;background:#0b1016d9;border-radius:8px;padding:8px}.browser-preview:fullscreen>.preview-heading{top:12px;margin:0}.browser-preview:fullscreen>.preview-controls{bottom:36px}.browser-preview:fullscreen>input{bottom:10px;width:calc(100% - 32px)}.browser-preview:fullscreen>.preview-heading:hover,.browser-preview:fullscreen>.preview-heading:focus-within,.browser-preview:fullscreen>.preview-controls:hover,.browser-preview:fullscreen>.preview-controls:focus-within,.browser-preview:fullscreen>input:hover,.browser-preview:fullscreen>input:focus{opacity:1}.browser-preview:fullscreen>p{display:none}
.sponsor-tour-help{margin:6px 12px;width:calc(100% - 24px);font-size:13px}.sponsor-tour-layer{position:fixed;inset:0;z-index:1000;isolation:isolate}.tour-shade{position:absolute;inset:0}.tour-spotlight{position:fixed;border:2px solid #ed12ce;border-radius:9px;box-shadow:0 0 0 5px #ed12ce25;pointer-events:none;background:#ffffff12}.sponsor-tour-card{position:fixed;z-index:2;padding:24px;border-radius:14px;background:#151b25;color:#f6f7fa;border:1px solid #667085;box-shadow:0 16px 60px #0008;overflow:auto}.sponsor-tour-card h2{font-size:23px;line-height:1.2;margin:18px 0 12px}.sponsor-tour-card p{font-size:15px;line-height:1.65;color:#d2d8e2}.tour-card-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#f588e6}.tour-card-top button{font-size:25px;line-height:1;min-width:32px;min-height:32px}.tour-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.tour-actions>button:last-child{background:#ed12ce;color:#fff}.tour-secondary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:18px 0;font-size:13px;text-decoration:underline}.tour-progress{display:flex;gap:5px;margin:18px 0}.tour-progress i{height:4px;flex:1;border-radius:2px;background:#394354}.tour-progress i.reached{background:#ed12ce}.tour-no-reminder{display:flex;align-items:center;gap:8px;font-size:12px;color:#bbc4d2}.tour-no-reminder input{width:16px;height:16px;accent-color:#ed12ce}.tour-empty{border-left:2px solid #ed12ce;padding-left:10px}.tour-offer{position:fixed;bottom:24px;right:24px;z-index:80;background:#151b25;border:1px solid #ed12ce;padding:18px;border-radius:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;max-width:460px}.tour-offer strong{width:100%}.tour-offer>button{font-size:13px}@media(max-width:760px){.sponsor-tour-card{padding:18px}.sponsor-tour-card h2{font-size:20px}.tour-offer{left:16px;right:16px;bottom:16px}}
.sponsor-guidelines{margin-top:12px}.sponsor-guidelines h3{font-size:16px;margin:0 0 8px}.sponsor-guidelines p{font-size:14px;line-height:1.6;color:#b9c3d2;margin:0 0 14px}
.template-editor{display:flex;flex-direction:column;gap:24px;max-width:1400px}
.template-editor>h2,.template-editor>p{margin:0}
.template-editor label{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-weight:600;min-width:0}
.template-editor input,.template-editor select{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #394553;border-radius:9px;padding:10px 12px;background:#111820;color:#eef2f6;font:inherit;box-sizing:border-box}
.template-editor input:focus,.template-editor select:focus{outline:2px solid #a5f738;outline-offset:2px}
.template-editor>.formgrid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);gap:20px;margin:0}
.template-editor button{min-height:42px;white-space:normal;line-height:1.35}
.template-editor>.template-create-actions{display:flex;flex-wrap:wrap;gap:12px}
.template-editor>.template-list{display:grid;gap:16px}
.template-editor .template-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid #34404c;border-radius:12px;background:#111820}
.template-editor .template-card-info{display:flex;flex-direction:column;gap:7px;min-width:0}
.template-editor .template-card-info strong{font-size:18px;overflow-wrap:anywhere}
.template-editor .template-card-info span{color:#aab5c0;font-size:14px}
.template-editor .template-card-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
.template-editor .template-draft{display:flex;flex-direction:column;gap:20px;padding:24px;border:1px solid #465564;border-radius:12px;background:#10171f}
.template-editor .template-draft h3{margin:12px 0 0;font-size:19px}
.template-editor details{padding:18px;border:1px solid #34404c;border-radius:10px;background:#151e28}
.template-editor summary{cursor:pointer;font-weight:600;padding:4px 0;line-height:1.6}
.template-editor details[open]>:not(summary){margin-top:16px}
.template-editor .formgrid{gap:18px;align-items:end}
.template-editor .phase-edit-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(110px,1fr) minmax(180px,2fr);gap:14px;align-items:end;padding:18px;border:1px solid #34404c;border-radius:10px;background:#151e28}
.template-editor .phase-edit-row button{align-self:end}
.template-editor .actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:16px;border-top:1px solid #34404c}
@media(max-width:1000px){.template-editor .template-card{align-items:flex-start;flex-direction:column;gap:18px}.template-editor .phase-edit-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.template-editor>.formgrid,.template-editor .phase-edit-row{grid-template-columns:1fr}.template-editor .template-draft{padding:16px}.template-editor .template-card-actions{width:100%}.template-editor .template-card-actions button{flex:1 1 100px}.template-editor>.template-create-actions button{width:100%}}
.template-packages{display:flex;flex-direction:column;gap:20px}.package-grid,.balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.package-card{border:1px solid #3b4858;border-radius:14px;padding:22px;background:#151e28;display:flex;flex-direction:column;gap:14px;min-width:0}.package-card h4{margin:0;font-size:20px}.package-card>strong{font-size:23px;color:#a5f738}.package-card p{color:#aab5c0;margin:0;line-height:1.6}.package-counter{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}.package-counter>strong{font-size:30px}.package-counter button{min-width:46px;font-size:24px}.template-editor .coupled-phases{display:flex;flex-direction:column;gap:12px}.template-editor .coupled-phases label{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:14px}.template-editor .coupled-phases input{width:18px;min-height:18px;flex:0 0 18px}.balance-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #3b4858;border-radius:10px;background:#151e28}.balance-card.unbalanced{border-left:4px solid #efb05d}.balance-card.balanced{border-left:4px solid #a5f738}.balance-card span{color:#aab5c0}.package-card details{padding:12px}.template-packages h3{margin:0}
.template-editor .phase-drag-handle{grid-column:1/-1;justify-self:start;display:flex;align-items:center;gap:10px;cursor:grab;border:1px solid #465564;border-radius:8px;background:#10171f;color:#aab5c0;padding:8px 12px;font-size:20px}.template-editor .phase-drag-handle span{font-size:13px}.template-editor .phase-drag-handle:active{cursor:grabbing}.template-editor .phase-dragging{opacity:.5;border-style:dashed;border-color:#a5f738}
.template-editor .profile-drag-handle{display:inline-flex;padding:4px 10px;margin-right:8px;border:1px solid #465564;border-radius:6px;cursor:grab;color:#a5f738;font-size:20px;vertical-align:middle}.template-editor .profile-drag-handle:active{cursor:grabbing}
.template-packages .inventory-profile{padding:0;overflow:hidden;border-left:4px solid var(--area-color)}
.template-packages .inventory-profile>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#151e28;border-top:3px solid var(--area-color)}
.template-packages .inventory-profile>summary h3{margin:0;font-size:18px}.template-packages .inventory-profile>summary span{color:#aab5c0;font-size:14px}
.template-count-control{display:flex;align-items:center;gap:12px}.template-count-control button{min-width:36px;min-height:34px!important;padding:4px 10px;font-size:20px}.template-count-control strong{white-space:nowrap}
.template-segment-bar{display:flex;gap:3px;height:10px;margin-top:10px;min-width:120px;max-width:240px}.template-segment-bar i{flex:1;background:var(--area-color);border-radius:2px;min-width:2px}
.template-package-details{display:grid;grid-template-columns:1fr 2fr;gap:18px;padding:18px}.contract-phase-times{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.template-package-table td{vertical-align:top}.template-package-table td:nth-child(4){min-width:190px;max-width:330px;line-height:1.6}.template-package-table td:nth-child(1){min-width:120px}.template-package-details details{margin:0}
@media(max-width:900px){.template-package-details{grid-template-columns:1fr}.template-packages .inventory-profile>summary{align-items:flex-start;flex-direction:column;gap:8px}}

.template-package-table td,.template-package-table th{white-space:normal!important;overflow-wrap:anywhere}.template-package-table td:nth-child(4){padding-right:24px}.template-package-table td:last-child{position:static;min-width:120px}.template-package-table small{display:block;white-space:normal;max-width:160px}
.template-editor{gap:14px;max-width:none;font-size:14px}
.template-editor.spacious{padding:20px}
.template-editor label{gap:5px;font-size:12px}
.template-editor input,.template-editor select{min-height:34px;height:34px;padding:6px 9px;border-radius:5px;font-size:13px}
.template-editor button{min-height:32px;font-size:12px;line-height:1.25}
.template-editor>.formgrid,.template-editor .formgrid{gap:10px;margin:0}
.template-editor .template-list{gap:8px}
.template-editor .template-card{gap:12px;padding:12px 14px;border-radius:6px}
.template-editor .template-card-info{gap:3px}
.template-editor .template-card-info strong{font-size:15px}
.template-editor .template-card-info span{font-size:12px}
.template-editor .template-card-actions{gap:6px}
.template-editor .template-draft{gap:10px;padding:16px;border-radius:6px}
.template-editor .template-draft h3{font-size:15px;margin:10px 0 2px}
.template-basics{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,.6fr) minmax(120px,.8fr);gap:10px}
.template-editor details{padding:10px 12px;border-radius:6px}
.template-editor summary{padding:0;line-height:1.4;font-size:13px}
.template-editor details[open]>:not(summary){margin-top:10px}
.template-editor .template-profile{padding:0 12px}
.template-editor .template-profile>summary{padding:8px 0}
.template-editor .template-profile[open]{padding-bottom:10px}
.template-editor .profile-drag-handle,.template-editor .phase-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:30px;min-height:30px;padding:0;border:0;background:transparent;border-radius:4px;cursor:grab;color:#8d98a8;flex:0 0 26px}
.template-editor .profile-drag-handle{margin-right:5px;vertical-align:middle}
.template-editor .phase-edit-row{grid-template-columns:26px minmax(130px,1.4fr) 90px 110px minmax(140px,1.5fr) 30px 30px;gap:8px;padding:10px;border-radius:5px;align-items:end}
.template-editor .phase-drag-handle{grid-column:auto;align-self:end;justify-self:center}
.template-editor .phase-move-up,.template-editor .phase-remove{padding:0;width:30px;height:34px;display:inline-flex;align-items:center;justify-content:center}
.template-editor .actions{gap:8px;padding-top:12px}
.template-editor .template-packages{gap:10px}
.template-editor .template-packages>p{margin:0;color:#929ba9;font-size:12px}
.template-editor .template-packages .inventory-profile{padding:0;border-left:1px solid #34404c;border-radius:6px}
.template-editor .template-packages .inventory-profile>summary{padding:12px 14px;gap:12px;border-top:3px solid var(--area-color)}
.template-editor .template-packages .inventory-profile>summary h3{font-size:14px;margin:0}
.template-editor .template-packages .inventory-profile>summary span{font-size:12px}
.template-editor .template-packages details[open].inventory-profile>.tablewrap{margin-top:0}
.template-editor .template-package-table{table-layout:fixed;width:100%;font-size:12px}
.template-editor .template-package-table th,.template-editor .template-package-table td{padding:10px 12px;min-width:0!important;max-width:none;line-height:1.4}
.template-editor .template-package-table th:nth-child(1){width:18%}
.template-editor .template-package-table th:nth-child(2){width:19%}
.template-editor .template-package-table th:nth-child(3){width:23%}
.template-editor .template-package-table th:nth-child(4){width:28%}
.template-editor .template-package-table th:nth-child(5){width:12%}
.template-editor .template-package-table small{font-size:10px;line-height:1.4;margin-top:3px}
.template-editor .template-count-control{gap:6px;justify-content:flex-start}
.template-editor .template-count-control button{min-width:26px;min-height:26px!important;height:26px;padding:0 6px;font-size:16px}
.template-editor .template-segment-bar{height:6px;gap:2px;min-width:0;max-width:170px;margin-top:7px}
.template-editor .balance-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.template-editor .balance-card{gap:4px;padding:10px 12px;font-size:12px;border-left-width:1px;border-top:2px solid #a5f738;border-radius:5px}
.template-editor .balance-card.unbalanced{border-top-color:#efb05d}
.template-editor .template-package-details{padding:12px;gap:12px}
@media(max-width:1100px){.template-editor .phase-edit-row{grid-template-columns:26px minmax(130px,1fr) 90px 100px 30px 30px}.template-editor .phase-edit-row>label:last-of-type{grid-column:2/5}.template-editor .phase-move-up{grid-column:5;grid-row:2}.template-editor .phase-remove{grid-column:6;grid-row:2}}
@media(max-width:640px){.template-basics{grid-template-columns:1fr 1fr}.template-basics>label:first-child{grid-column:1/-1}.template-editor .phase-edit-row{grid-template-columns:26px 1fr 1fr 30px}.template-editor .phase-edit-row>label:first-of-type{grid-column:2/4}.template-editor .phase-edit-row>label:last-of-type{grid-column:2/4}.template-editor .phase-move-up{grid-column:4;grid-row:2}.template-editor .phase-remove{grid-column:4;grid-row:3}.template-editor .template-package-table{min-width:650px}.template-editor .template-draft{padding:10px}}

.template-editor .template-package-table{min-width:0}
.template-editor .template-package-table .inventory-expand{white-space:nowrap;font-size:12px}
.template-editor .phase-edit-columns{display:grid;grid-template-columns:26px minmax(130px,1.4fr) 90px 110px minmax(140px,1.5fr) 30px 30px;gap:8px;padding:0 10px;color:#929ba9;font-size:12px}
@media(min-width:1101px){.template-editor .phase-edit-row{padding:7px 10px}.template-editor .phase-edit-row>label{font-size:0;gap:0}.template-editor .phase-edit-row>label input,.template-editor .phase-edit-row>label select{font-size:13px}}
@media(max-width:1100px){.template-editor .phase-edit-columns{display:none}}
@media(max-width:640px){.template-editor .template-package-table{min-width:650px}}
.template-editor .balance-card.balanced,.template-editor .balance-card.unbalanced{border-left:1px solid #3b4858}

.player-management .sectionbar{margin:0 0 16px}.player-management .sectionbar h2{display:flex;align-items:center;gap:8px}.player-management .player-tabs{gap:6px;margin:10px 0 18px}.player-management .field{display:flex;flex-direction:column;gap:5px;font-size:12px}.player-management td small{display:block;color:#929ba9;margin-top:4px}.player-management .formgrid{gap:12px}.player-management .notice code{overflow-wrap:anywhere;white-space:normal}.player-management table{width:100%}.player-management table th,.player-management table td{padding:12px;vertical-align:top;font-size:13px}.player-management .player-tabs button{font-size:13px}.player-management h3{font-size:16px;margin:16px 0 8px}.player-management .empty{padding:20px 0}.player-management .actions{margin-top:8px}

.player-connection-list{display:flex;flex-direction:column;gap:6px}.stats .player-online{color:#96f74b}.player-online .status-dot{background:#96f74b;box-shadow:0 0 7px #96f74b44}.stats .player-offline{color:#e28d8d}.player-offline .status-dot{background:#db7070}.stats .player-unknown{color:#aab3be}.player-unknown .status-dot{background:#77818c}

.player-club-table th,.player-club-table td{white-space:normal!important;overflow-wrap:anywhere}.player-club-table td strong{display:block;white-space:normal;line-height:1.5}.player-club-table td small{white-space:normal}.player-club-list .area-toggle>span{white-space:normal}

.player-device-actions{flex-wrap:wrap;gap:2px;justify-content:flex-end}.player-device-actions button{position:relative;width:27px!important;height:27px!important;min-height:27px!important;padding:4px!important}.player-device-actions .player-update-pending{color:#e6bb59}.player-update-dot{position:absolute;top:1px;right:1px;width:6px;height:6px;border-radius:50%;background:#e6bb59}.player-context h3{font-size:16px}

.player-device-actions{gap:1px}.player-device-actions button{min-width:27px!important;flex-shrink:0}.player-club-table .table-sort-button{gap:3px;font-size:11px}

.player-detail-grid{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:12px 18px}.player-detail-grid dt{color:#94a3b6}.player-detail-grid dd{margin:0;overflow-wrap:anywhere}.player-device-dialog{max-width:600px!important}
.player-club-table table{min-width:1060px}.player-club-table th{overflow-wrap:normal;word-break:normal}.player-club-table .table-sort-button{white-space:normal;word-break:normal;overflow-wrap:normal}
.player-device-dialog:has(.player-diagnostics){width:min(960px,calc(100vw - 32px));max-width:960px!important;max-height:calc(100dvh - 48px);overflow-y:auto}
.player-toolbox{min-width:0}.player-toolbox>.player-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.player-diagnostics{display:grid;gap:16px;min-width:0}.diagnostic-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.diagnostic-lamp{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#171b21;border:1px solid #303640;border-radius:8px}.diagnostic-lamp div{display:grid;gap:4px;min-width:0}.diagnostic-lamp span{font-size:12px;color:#a0aab8}.diagnostic-lamp strong{font-size:14px;overflow-wrap:anywhere}.diagnostic-dot{width:9px;height:9px;border-radius:50%;background:#7b8593;flex:none}.diagnostic-lamp.good .diagnostic-dot{background:#a3ff3f}.diagnostic-lamp.warn .diagnostic-dot{background:#edb951}.diagnostic-section{padding:18px;border:1px solid #303640;border-radius:8px;min-width:0}.diagnostic-section header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:14px}.player-management .diagnostic-section h3{font-size:15px;margin:0}.diagnostic-section header>span,.diagnostic-details summary>span{font-size:12px;color:#9da7b5}.diagnostic-values{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,1.2fr);gap:0 20px;margin:0}.diagnostic-values dt,.diagnostic-values dd{padding:10px 0;border-bottom:1px solid #292f38;font-size:13px}.diagnostic-values dt{color:#aeb7c3}.diagnostic-values dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.diagnostic-metric{display:contents}.diagnostic-metric code{display:block;font-size:10px;color:#7d8999;margin-top:5px;overflow-wrap:anywhere}.diagnostic-missing{color:#7f8b9b}.diagnostic-details summary{cursor:pointer;display:list-item;list-style-position:inside;padding:2px 0}.diagnostic-details summary>span{display:block;margin:7px 0 0 20px}.diagnostic-details[open] summary{margin-bottom:14px}.diagnostic-output+.diagnostic-output{margin-top:18px}.diagnostic-output h4{font-size:13px;margin:0 0 5px;color:#dce3ed}.diagnostic-measurement-note{font-size:12px;color:#9da7b5}.toolbox-workspace>.formgrid{margin-bottom:20px}
@media(max-width:600px){.diagnostic-status-grid{grid-template-columns:1fr}.diagnostic-section{padding:14px}.diagnostic-values{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}.diagnostic-lamp{padding:12px}.player-device-dialog:has(.player-diagnostics){max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}}
.toolbox-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 22px;font-size:13px;color:#a0aab8}.toolbox-breadcrumb button{border:0;background:transparent;color:#dce3ed;padding:4px 0;text-align:left;cursor:pointer}.toolbox-breadcrumb button:hover{color:#a3ff3f}.toolbox-breadcrumb button:disabled{opacity:.5;cursor:wait}.toolbox-breadcrumb [aria-current]{color:#dce3ed;overflow-wrap:anywhere}.toolbox-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:26px}.toolbox-summary-grid>div{display:grid;grid-template-columns:20px 1fr;align-items:center;gap:8px 12px;border:1px solid #303640;border-radius:8px;background:#171b21;padding:16px}.toolbox-summary-grid svg{color:#a3ff3f}.toolbox-summary-grid strong{font-size:23px;font-variant-numeric:tabular-nums}.toolbox-summary-grid span{grid-column:1/-1;font-size:12px;line-height:1.5;color:#9da7b5}.toolbox-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}.player-management .toolbox-overview-heading h3{margin:0;font-size:17px}.toolbox-overview-heading p{font-size:12px;color:#9da7b5;margin:7px 0 0;line-height:1.5}.toolbox-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;color:#a0aab8;white-space:normal}.toolbox-status>span{width:7px;height:7px;background:#7b8593;flex:none;border-radius:50%}.toolbox-status.good>span{background:#a3ff3f}.toolbox-status.warn>span{background:#edb951}.toolbox-status.error>span{background:#fb6a77}.toolbox-status.good{color:#c0e3a2}.toolbox-status.error{color:#f5adb6}.toolbox-network-table table{min-width:830px;table-layout:auto}.toolbox-network-table td{vertical-align:middle!important}.toolbox-network-table td:first-child{min-width:185px}.toolbox-club-link{border:0;padding:0;background:transparent;color:#eef2f8;font:inherit;font-weight:600;text-align:left;cursor:pointer}.toolbox-club-link:hover{color:#a3ff3f}.toolbox-network-table small{font-size:11px;line-height:1.5}.toolbox-site-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}.toolbox-site-links>div{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:16px;border:1px solid #303640;border-radius:8px}.toolbox-site-links strong{font-size:13px}.toolbox-site-links small{color:#8591a1;font-size:11px}.player-management .toolbox-player-heading{margin:0 0 14px;font-size:16px}.toolbox-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.toolbox-device-card{border:1px solid #303640;border-radius:8px;padding:18px;display:flex;flex-direction:column;gap:16px;min-width:0}.toolbox-device-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.toolbox-role{display:block;font-size:11px;color:#a3ff3f;margin-bottom:6px}.toolbox-device-card h4{font-size:15px;margin:0;overflow-wrap:anywhere}.toolbox-device-card dl{display:grid;grid-template-columns:1fr minmax(0,1.2fr);gap:10px 14px;margin:0;font-size:12px}.toolbox-device-card dt{color:#929eae}.toolbox-device-card dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.toolbox-device-card>button{align-self:flex-start;margin-top:auto}.toolbox-site-notes{margin-top:22px}
@media(max-width:1000px){.toolbox-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.toolbox-summary-grid,.toolbox-site-links,.toolbox-device-grid{grid-template-columns:1fr}.toolbox-overview-heading{align-items:flex-start}.toolbox-summary-grid>div{grid-template-columns:20px 1fr auto}.toolbox-summary-grid span{grid-column:auto}.toolbox-breadcrumb{margin-bottom:16px}.toolbox-device-card{padding:14px}}

.stats .player-stale{color:#d8b76a}.player-stale .status-dot{background:#d8b76a}

.login-card .login-feedback{margin:0;color:#ffb3ac;background:none;border:0;padding:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.terminal-shell{--terminal-nav-width:248px;display:grid;grid-template-columns:var(--terminal-nav-width) minmax(0,1fr);width:100%;max-width:100%;min-height:100dvh;align-items:start}
.terminal-shell>.workspace{grid-column:2;min-width:0;width:100%;max-width:100%;contain:inline-size}
.terminal-sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;width:var(--terminal-nav-width);height:100dvh;min-height:0;border-right:1px solid var(--sidebar-border);background:var(--sidebar);color:var(--sidebar-foreground);overflow:hidden}
.terminal-sidebar-header{flex:none;padding:18px 12px 10px;background:var(--sidebar)}
.terminal-brand{display:flex;align-items:center;justify-content:center;min-height:44px}
.terminal-brand .logo{display:block;width:164px;max-width:100%;height:auto;margin:0}
.terminal-brand .eyebrow{display:block;margin:8px 0 0;font-size:10px}
.terminal-mark{display:none;color:var(--primary);font-weight:800;font-size:15px;letter-spacing:-.06em}
.terminal-navigation-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:8px 12px;margin-top:12px;border:1px solid var(--border);border-radius:6px;background:#171d25;color:var(--sidebar-foreground);font-size:12px;white-space:nowrap}
.terminal-navigation-toggle svg,.terminal-nav .navitem svg{flex:none}
.terminal-nav{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 0 12px}
.terminal-nav .navgroup{padding:16px 20px 10px;font-size:10px}
.terminal-nav .navitem{flex:none;width:calc(100% - 16px);min-height:44px;margin:2px 8px;padding:10px 12px;gap:12px}
.terminal-nav .navitem span{min-width:0;overflow-wrap:anywhere}
.terminal-sidebar-footer{flex:none;min-width:0;padding:8px 6px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--sidebar-border);background:var(--sidebar)}
.terminal-sidebar-footer .account{align-items:center;min-width:0;gap:8px;padding:8px 4px}
.terminal-sidebar-footer .account>div{min-width:0;flex:1}
.terminal-sidebar-footer .account strong{display:block;font-size:12px}
.terminal-sidebar-footer .account small{font-size:10px;line-height:1.4}
.terminal-sidebar-footer .account>button{flex:none}
.terminal-sidebar-footer .account .avatar{width:34px;height:34px;font-size:12px}
.terminal-sidebar-footer .content-entry{max-width:100%;width:100%;font-size:12px}
.terminal-shell .topbar{min-width:0;max-width:100%;background:var(--background)}
.terminal-shell .topbar>button{flex-shrink:0}
.terminal-shell .terminal-main{min-width:0;max-width:100%;padding:28px;overflow-x:clip}
.terminal-main>:where(section,div,article,form){min-width:0;max-width:100%}
.terminal-main :where(.panel,.formgrid,.dashboard-grid,.stats,.cards,.pagehead,.sectionbar){min-width:0;max-width:100%}
.terminal-main :where(.tablewrap,[data-slot="table-container"],.timeline,.sponsor-plan-scroll){min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.terminal-main .tablewrap{width:100%}
.terminal-main :where(h1,h2,h3,p,dd,code){overflow-wrap:anywhere}
.terminal-shell.desktop-menu-collapsed{--terminal-nav-width:68px}
.terminal-shell.desktop-menu-collapsed .terminal-brand-full,.terminal-shell.desktop-menu-collapsed .terminal-nav .navgroup,.terminal-shell.desktop-menu-collapsed .terminal-nav .navitem span,.terminal-shell.desktop-menu-collapsed .terminal-navigation-toggle span,.terminal-shell.desktop-menu-collapsed .terminal-sidebar-footer>:not(.account),.terminal-shell.desktop-menu-collapsed .account>div{display:none}
.terminal-shell.desktop-menu-collapsed .terminal-mark{display:block}
.terminal-shell.desktop-menu-collapsed .terminal-sidebar-header{padding:12px 8px 8px}
.terminal-shell.desktop-menu-collapsed .terminal-navigation-toggle,.terminal-shell.desktop-menu-collapsed .terminal-nav .navitem{justify-content:center;padding:10px}
.terminal-shell.desktop-menu-collapsed .terminal-sidebar-footer .account{flex-direction:column;gap:6px}
@media(max-width:767px){
 .terminal-shell{--terminal-nav-width:68px}
 .terminal-shell.mobile-menu-expanded{--terminal-nav-width:min(248px,calc(100vw - 64px))}
 .terminal-shell:not(.mobile-menu-expanded) .terminal-brand-full,.terminal-shell:not(.mobile-menu-expanded) .terminal-nav .navgroup,.terminal-shell:not(.mobile-menu-expanded) .terminal-nav .navitem span,.terminal-shell:not(.mobile-menu-expanded) .terminal-navigation-toggle span,.terminal-shell:not(.mobile-menu-expanded) .terminal-sidebar-footer>:not(.account),.terminal-shell:not(.mobile-menu-expanded) .account>div{display:none}
 .terminal-shell:not(.mobile-menu-expanded) .terminal-mark{display:block}
 .terminal-sidebar-header{padding:12px 8px 8px}
 .terminal-shell:not(.mobile-menu-expanded) .terminal-navigation-toggle,.terminal-shell:not(.mobile-menu-expanded) .terminal-nav .navitem{justify-content:center;padding:10px}
 .terminal-shell:not(.mobile-menu-expanded) .terminal-sidebar-footer .account{flex-direction:column;gap:6px}
 .terminal-shell.mobile-menu-expanded .terminal-mark{display:none}
 .terminal-shell.mobile-menu-expanded .terminal-brand-full,.terminal-shell.mobile-menu-expanded .terminal-navigation-toggle span,.terminal-shell.mobile-menu-expanded .terminal-nav .navgroup,.terminal-shell.mobile-menu-expanded .terminal-nav .navitem span,.terminal-shell.mobile-menu-expanded .account>div{display:block}
 .terminal-shell.mobile-menu-expanded .terminal-sidebar-footer>:not(.account){display:revert}
 .terminal-shell.mobile-menu-expanded .terminal-sidebar-footer .account{flex-direction:row}
 .terminal-shell .topbar{height:auto;min-height:60px;padding:10px 12px;gap:8px;flex-wrap:wrap}
 .terminal-shell .clubselect{min-width:0;max-width:100%;flex:1 1 110px;width:0}
 .terminal-shell .topbar-action-label{display:none}
 .terminal-shell .terminal-main{padding:18px 12px}
 .terminal-main .pagehead{align-items:flex-start;flex-direction:column;gap:12px}
 .terminal-main .pagehead h1{font-size:clamp(22px,6vw,30px);line-height:1.15}
 .terminal-main .pagehead .actions{flex-wrap:wrap;max-width:100%}
 .terminal-main .formgrid{grid-template-columns:minmax(0,1fr)}
 .terminal-main :where(.sectionbar,.toolbar,.actions){flex-wrap:wrap;min-width:0}
 .terminal-main .panel{max-width:100%;min-width:0}
 .terminal-shell .appfooter{padding:14px 12px;overflow-wrap:anywhere;min-width:0}
 .engine-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
}
.otp-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;min-width:0}
.login-card .otp-fields input{width:100%;min-width:0;padding:10px 0;text-align:center;font-size:24px;min-height:48px;box-sizing:border-box}
.passkey-settings-action{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:4px;border:0;background:transparent;color:inherit;border-radius:6px}
.passkey-settings-action svg{width:18px;height:18px}
.passkey-settings-feedback{font-size:12px;color:var(--muted-foreground,#8f9bab)}
.login-card>button.login-back{width:auto;border:0;background:transparent;text-align:left;min-height:44px;padding:8px 0;margin-top:12px;font-size:14px}
@media(max-width:480px){
 .terminal-main .search{min-width:0;width:100%;max-width:100%}
 .terminal-main .search input{flex:1 1 0;width:0;min-width:0;max-width:100%}
 .terminal-main .search>svg{flex-shrink:0}
 .terminal-main :where(.work-table-tools,.panelhead,.contract-area-header){flex-wrap:wrap;min-width:0;max-width:100%}
 .terminal-main :where(.pagehead,.sectionbar,.panelhead,.work-table-tools,.toolbar,.actions)>button{min-width:0;max-width:100%;height:auto;white-space:normal;overflow-wrap:anywhere}
 .terminal-main :where(.work-status-filters,.area-sort){min-width:0;max-width:100%;flex-wrap:wrap}
 .terminal-main .work-status-filters button{max-width:100%;height:auto;white-space:normal}
 .terminal-main .stats{grid-template-columns:minmax(0,1fr)}
 .terminal-main :where(.stats article,.panelhead>h2,.todo>span:nth-child(2)){min-width:0;overflow-wrap:anywhere}
 .terminal-main .todo>svg,.terminal-main .todo>.step{flex-shrink:0}
 .terminal-main .area-toggle{flex-wrap:wrap}
 .terminal-main .area-toggle>span{white-space:normal}
}
@media(max-width:640px){
 .club-media-heading{display:flex;flex-wrap:wrap;align-items:flex-start}
 .club-media-heading>.area-toggle{flex:0 0 100%;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start}
 .club-media-heading>.area-toggle h2{overflow-wrap:break-word;word-break:normal;min-width:0}
 .club-media-heading>.area-toggle>span{grid-column:2;white-space:normal}
 .club-media-heading>button:not(.area-toggle){flex:1 1 120px;white-space:normal;height:auto;min-height:36px}
 .sponsor-table .sponsor-heading h2{flex:0 0 100%;width:100%;overflow-wrap:break-word}
 .sponsor-heading h2 span:last-child{overflow-wrap:break-word;word-break:normal;min-width:0}
 .sponsor-heading-actions{width:100%;margin-left:0;flex-wrap:wrap}
 .sponsor-dot{flex-shrink:0}
 .terminal-main :where(input,select,textarea){font-size:16px}
}
.player-status-card{display:grid;gap:16px;padding:20px;border:1px solid var(--border,#303742);border-radius:12px;background:var(--card,#11161d);margin:16px 0;min-width:0}
.player-status-card h3{margin:0;font-size:1rem}.player-status-card .player-connection-list{display:flex;flex-wrap:wrap;gap:12px 24px}.player-status-card .connection-label{display:inline-flex;align-items:center;gap:8px;line-height:1.5}.player-status-card .status-dot{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:#9099a6}.player-status-card .player-online .status-dot{background:#9bf63b}.player-status-card .presenter-status{border-top:1px solid #303742;padding-top:12px}.review-count{font-variant-numeric:tabular-nums}.playback-report-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:16px}.playback-report-toolbar label{display:grid;gap:6px;min-width:0}.playback-reports td:first-child{white-space:nowrap;font-variant-numeric:tabular-nums}

.contract-picker{position:relative;min-width:0}.contract-picker>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px;background:#10161c;color:inherit;border:1px solid #39434e;border-radius:6px}.contract-picker-menu{position:absolute;top:100%;left:0;width:min(360px,75vw);z-index:40;border:1px solid #45515f;border-radius:8px;padding:8px;background:#141b23;box-shadow:0 12px 30px #0008}.contract-picker-menu label{display:flex;align-items:center;gap:6px}.contract-picker-menu input{min-width:0;width:100%;font-size:16px}.contract-picker-options{max-height:280px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.contract-picker-options button{display:block;width:100%;text-align:left;padding:10px 8px;color:inherit;background:transparent;border:0;border-radius:4px;white-space:normal}.contract-picker-options button:hover,.contract-picker-options button:focus-visible{background:#9bf63b25;outline:1px solid #9bf63b}

.license-key-actions{display:flex;align-items:center;gap:8px}.api-new-secret input{font-family:monospace;overflow-x:auto;min-width:0;width:100%}


.license-full-key{font-family:monospace;width:100%;min-width:0;resize:none;overflow-wrap:anywhere;padding:12px;background:#0d1218;color:inherit;border:1px solid #3b4652;border-radius:6px}
.toolbox-workspace{max-width:1440px;margin-inline:auto;min-width:0}.toolbox-workspace>.sectionbar{align-items:center;margin-bottom:24px}.toolbox-subtitle{margin:6px 0 0;color:#9da7b5;font-size:13px}.toolbox-summary-grid>div{border:0;border-top:2px solid #3b4653;border-radius:6px;background:#171c24;padding:18px 20px;gap:10px 12px}.toolbox-summary-grid strong{font-size:28px;letter-spacing:-.04em}.toolbox-summary-grid strong small{font-size:15px;color:#8d99a8;letter-spacing:0}.toolbox-summary-grid span{font-size:12px}.toolbox-result-count{font-size:12px;color:#9da7b5;font-variant-numeric:tabular-nums}.toolbox-filterbar{display:flex;gap:12px;margin-bottom:18px;align-items:center}.toolbox-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:1px solid #37404c;border-radius:7px;padding:0 14px;background:#0e131a}.toolbox-search svg{flex:none;color:#9da7b5}.toolbox-search input{width:100%;min-width:0;background:transparent;border:0;padding:12px 0;box-shadow:none}.toolbox-search:focus-within{outline:2px solid #a3ff3f;outline-offset:2px}.toolbox-filterbar>.field{margin:0;min-width:190px}.toolbox-location-list{border:1px solid #303640;border-radius:10px;overflow:hidden}.toolbox-location{display:grid;grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(100px,1fr) minmax(120px,1fr) 40px;gap:16px;align-items:center;padding:20px;border-bottom:1px solid #2b323d;background:#141922}.toolbox-location:last-child{border-bottom:0}.toolbox-location:hover{background:#19212b}.toolbox-location-name{display:flex;align-items:center;gap:14px;min-width:0}.toolbox-location-name>svg{color:#8997a8;flex:none}.toolbox-location-name>div{min-width:0}.toolbox-club-link{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.toolbox-location-name small{display:block;color:#8d99a8;font-size:11px;margin-top:6px;line-height:1.5}.toolbox-location-role{display:grid;gap:5px}.toolbox-location-role>span:first-child{color:#8491a1;font-size:11px}.toolbox-location-health{font-size:12px}.toolbox-empty{padding:40px 20px;text-align:center;color:#9da7b5}.toolbox-empty svg{margin:0 auto 16px}.toolbox-site-links{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.toolbox-device-card{background:#141922;padding:22px;border-radius:10px}.toolbox-player-identity{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;background:#171d26;border:1px solid #343e4b;border-radius:10px;margin-bottom:24px}.toolbox-eyebrow{color:#a3ff3f;font-size:11px;letter-spacing:.08em}.player-management .toolbox-player-identity h3{margin:8px 0;font-size:22px;line-height:1.3;text-wrap:balance}.toolbox-player-identity p{font-size:12px;color:#a0aab8;margin:0;overflow-wrap:anywhere}.toolbox-player-identity>.toolbox-status{display:grid;grid-template-columns:8px auto;gap:8px;font-size:14px}.toolbox-player-identity .toolbox-status small{grid-column:1/-1;font-size:11px;color:#9da7b5;max-width:220px}.toolbox-section-nav{display:flex;gap:4px;flex-wrap:wrap;padding:5px;background:#0d1219;border:1px solid #303640;border-radius:8px;margin-bottom:24px}.toolbox-section-nav button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding:12px;border:0;border-radius:5px;background:transparent;color:#a8b3c2;font:inherit;font-size:13px;cursor:pointer;transition:background .15s,color .15s}.toolbox-section-nav button:hover{background:#232d39;color:#eef2f8}.toolbox-section-nav button[aria-pressed=true]{background:#2b3825;color:#b4fa78}.toolbox-section-nav button:focus-visible{outline:2px solid #a3ff3f;outline-offset:2px}.toolbox-section-nav button:disabled{opacity:.5;cursor:wait}.toolbox-content{min-width:0}.toolbox-section-intro h3{font-size:18px;margin:0 0 8px}.toolbox-section-intro p{font-size:13px;color:#9da7b5;margin:0}.toolbox-output-select{max-width:320px}.toolbox-content .diagnostic-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.toolbox-content .diagnostic-lamp{border:0;border-left:2px solid #394453;background:#171d26;border-radius:5px}.toolbox-content .diagnostic-lamp.good{border-left-color:#88c94b}.toolbox-content .diagnostic-section{background:#141922;border-color:#303a48;border-radius:9px;padding:22px}.toolbox-content .diagnostic-values{grid-template-columns:minmax(160px,1fr) minmax(0,1fr)}.toolbox-content .diagnostic-values>div{display:contents}.toolbox-content .diagnostic-values dt,.toolbox-content .diagnostic-values dd{padding:13px 0;line-height:1.5}.toolbox-content .diagnostic-details summary{position:relative;padding:2px 8px;line-height:1.5}.toolbox-content .diagnostic-details summary>strong{font-size:14px}.toolbox-content .diagnostic-details[open]{border-color:#4b5a6a}.toolbox-content .diagnostic-details summary>span{margin-top:5px}.toolbox-content .diagnostic-measurement-note{line-height:1.6;border-left:2px solid #4b5a6a;padding:4px 12px}.toolbox-content .diagnostic-section>h3{margin-bottom:14px}.toolbox-content .formgrid{gap:18px}.toolbox-content .actions{gap:10px;flex-wrap:wrap}
@media(max-width:1100px){.toolbox-location{grid-template-columns:minmax(150px,2fr) 1fr 1fr 36px}.toolbox-location-health{display:none}.toolbox-content .diagnostic-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.toolbox-workspace.panel.spacious{padding:16px}.toolbox-workspace>.sectionbar{gap:12px}.toolbox-workspace>.sectionbar>button span{display:none}.toolbox-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:24px}.toolbox-summary-grid>div{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:14px;position:relative}.toolbox-summary-grid>div>svg{position:absolute;top:17px;right:14px;width:15px}.toolbox-summary-grid strong{font-size:24px}.toolbox-summary-grid span{line-height:1.4;max-width:130px}.toolbox-filterbar{align-items:stretch;flex-direction:column;gap:8px}.toolbox-location{grid-template-columns:1fr 1fr 32px;gap:16px 8px;padding:16px}.toolbox-location-name{grid-column:1/3}.toolbox-location>button{grid-column:3;grid-row:1/3}.toolbox-location-role{grid-row:2}.toolbox-location-role:nth-child(3){grid-column:2}.toolbox-player-identity{align-items:flex-start;flex-direction:column;padding:18px;gap:16px}.player-management .toolbox-player-identity h3{font-size:19px;overflow-wrap:anywhere}.toolbox-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.toolbox-section-nav button{justify-content:flex-start;padding:11px 9px}.toolbox-content .diagnostic-section{padding:16px}.toolbox-content .diagnostic-values{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}.toolbox-content .diagnostic-lamp{padding:12px 10px;gap:8px}.toolbox-content .diagnostic-lamp strong{font-size:12px}.toolbox-content .diagnostic-lamp span{font-size:11px}.toolbox-site-links{grid-template-columns:1fr}.toolbox-breadcrumb{font-size:12px}.toolbox-content .diagnostic-values dd{overflow-wrap:anywhere}}
.toolbox-search input:focus-visible{outline:0;box-shadow:none}
.companion-settings{display:grid;gap:18px;padding:8px 0;min-width:0}.companion-settings>header{display:flex;gap:14px;align-items:flex-start}.companion-settings h3{margin:0 0 7px;font-size:18px}.companion-settings p{font-size:13px;line-height:1.6;margin:0;color:#aab4c2}.companion-settings header>svg{color:#a3ff3f;flex:none}.companion-state{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #394350;border-radius:8px;background:#171d26;color:#aab4c2}.companion-state.enabled{color:#b8ef88;border-color:#4e693b}.companion-state div{display:grid;gap:6px}.companion-state small{font-size:11px;color:#9da7b5}.companion-settings .actions{flex-wrap:wrap;gap:10px}.companion-open{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:#c0ee9a;text-decoration:underline;padding:10px}.companion-settings p.error{color:#f5adb6}.companion-settings p.companion-success{color:#b8ef88}
.companion-setup-state{padding:14px 16px;background:#242319;border-left:2px solid #d2b35b;border-radius:4px}.companion-setup-state>strong{font-size:13px;color:#eddaa1}.companion-setup-state p{margin-top:7px}
.companion-setup-state.ready{background:#1d2b1b;border-left-color:#a3ff3f}.companion-setup-state.ready>strong{color:#c5efa1}
.toolbox-card-network{margin:18px 0;display:grid;gap:12px;border-top:1px solid #303a48;padding-top:16px}.toolbox-network-line{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:baseline;font-size:12px;line-height:1.6}.toolbox-network-line>span,.toolbox-ping>span{color:#9da7b5}.toolbox-network-line strong{font-weight:500;overflow-wrap:anywhere}.toolbox-companion-link{display:inline-block;font-size:12px;line-height:1.6;color:#a3ff3f;overflow-wrap:anywhere}.toolbox-ping{display:grid;gap:6px;font-size:12px;line-height:1.6}.toolbox-ping strong{font-weight:500;font-variant-numeric:tabular-nums}.toolbox-ping small,.toolbox-ping time{display:block;color:#9da7b5;font-size:11px}.toolbox-site-network{margin-top:24px}.toolbox-site-network>article{padding:18px 0;border-top:1px solid #303a48;display:grid;gap:10px}.toolbox-site-network h4{margin:0 0 4px}.toolbox-site-network .toolbox-role{margin-left:12px}.toolbox-content .toolbox-remote{padding:24px;display:grid;gap:18px;max-width:900px}.toolbox-remote h3,.toolbox-remote p{margin:0}.toolbox-remote-password{display:grid;gap:10px;max-width:460px}.toolbox-remote-password input{width:100%;box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid #44515f;border-radius:6px;background:#0c1118;color:#eef2f8}.toolbox-remote .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbox-measurement-summary{display:flex;flex-wrap:wrap;gap:16px 32px;padding:18px 20px;background:#171d26;border:1px solid #303a48;border-radius:8px}.toolbox-measurement-summary>span{display:grid;gap:6px;color:#9da7b5;font-size:12px}.toolbox-measurement-summary strong{font-size:14px;color:#eef2f8;font-variant-numeric:tabular-nums}.toolbox-display-inventory{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:24px}.toolbox-device-card{display:flex;flex-direction:column;min-width:0}.toolbox-device-card>button{margin-top:auto;align-self:flex-start}.toolbox-device-card dl{min-width:0}.toolbox-device-card dd{overflow-wrap:anywhere}@media(max-width:640px){.toolbox-content .toolbox-remote{padding:18px}.toolbox-remote .actions>button{width:100%}.toolbox-network-line{grid-template-columns:95px minmax(0,1fr)}}

.engine-dialog.upload-success-dialog{max-width:760px}.upload-receipt{display:grid;gap:16px;min-width:0}.upload-receipt .notice p{margin:10px 0 0}.upload-receipt-file{margin:0;border:1px solid var(--border,#303943);border-radius:10px;padding:16px;min-width:0}.upload-receipt-file figcaption{display:grid;gap:6px;margin-bottom:12px;overflow-wrap:anywhere}.upload-receipt-file video,.upload-receipt-file img{display:block;width:100%;max-height:260px;object-fit:contain;background:#000}.upload-receipt-file p{margin:10px 0 0;color:var(--muted-foreground,#a5adb9)}.engine-dialog.upload-rejected-dialog{max-width:620px}

.engine-dialog.approval-dialog{width:min(1320px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;min-width:0;padding:28px;gap:20px;grid-template-columns:minmax(0,1fr)}.approval-dialog fieldset{min-width:0}.approval-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0;color:#aab3bf}.approval-summary strong{color:#f0f3f6;font-size:18px}.approval-tabs{display:flex;gap:4px;border-bottom:1px solid #303943;padding-bottom:8px;flex-wrap:wrap}.approval-tabs button{padding:11px 18px;border-radius:7px;background:transparent;color:#aab3bf;border:1px solid transparent;font:inherit;cursor:pointer}.approval-tabs button[aria-pressed=true]{background:#24351b;border-color:#57763c;color:#afff5d}.approval-tabs button:hover{color:#fff;background:#1b242e}.approval-tabs button:focus-visible,.text-review-times a:focus-visible{outline:2px solid #a8f75d;outline-offset:3px}.approval-content{padding:24px 0;min-width:0;min-height:240px}.approval-decision[hidden]{display:none}.approval-decision{display:grid;gap:18px}.approval-dialog .film-review-actions{border-top:1px solid #303943;padding-top:20px;justify-content:flex-end}.text-review-panel,.text-review-file{display:grid;gap:18px;min-width:0}.text-review-file{border-top:1px solid #303943;padding:20px 0}.text-review-file-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.text-review-table-head,.text-review-table .text-review-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 120px;gap:20px;padding:16px 0;border-bottom:1px solid #303943}.text-review-table-head{color:#9ca6b4;font-size:13px}.text-review-row p{margin:6px 0;overflow-wrap:anywhere}.text-review-times{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.text-review-times a{color:#a8f75d;text-underline-offset:4px}.text-review-recognized summary{cursor:pointer;padding:12px 0;color:#d5dbe3}.text-review-recognized .text-review-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:20px;padding:12px 0;border-top:1px solid #303943}.text-review-empty{padding:20px;background:#17231a;border-radius:8px}.text-review-evidence video{display:block;width:100%;max-height:280px;background:#000}.text-review-evidence p{font-variant-numeric:tabular-nums}.approval-dialog .film-set-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.approval-dialog .film-set-stacked{display:grid;gap:20px}.approval-dialog .film-set-stacked section{padding:16px;background:#10151c;border-radius:8px}.approval-dialog .film-set-stage{margin:12px 0}.approval-dialog .film-set-preview>.button{margin-top:16px}@media(max-width:680px){.engine-dialog.approval-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:16px}.approval-tabs button{padding:9px 10px}.text-review-table-head{display:none}.text-review-table .text-review-row{grid-template-columns:minmax(0,1fr);gap:8px}.text-review-recognized .text-review-row{grid-template-columns:minmax(0,1fr)}.approval-dialog .film-review-actions{flex-wrap:wrap}}
.approval-dialog .approval-confirm{flex:0 1 auto;min-width:220px}.approval-dialog .approval-reject{order:-1;margin-right:auto}.approval-dialog .text-review-evidence{scroll-margin-top:24px}
.text-review-evidence-stage{overflow:auto;max-width:100%;min-width:0;background:#000;border-radius:6px}.text-review-evidence-stage:focus-visible{outline:2px solid #a8f75d;outline-offset:3px}.text-review-evidence-stage video{max-height:none}
.text-review-file>*,.text-review-evidence{min-width:0;max-width:100%}
.upload-score{padding:22px 0;border-top:1px solid #303943;border-bottom:1px solid #303943;display:grid;gap:16px;min-width:0}.upload-score-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.upload-score-heading h3{margin:0}.upload-score-heading>span{font-size:13px;color:#aab3bf;font-variant-numeric:tabular-nums}.upload-score-segments{display:grid;grid-template-columns:repeat(35,minmax(0,1fr));gap:4px;width:100%;min-width:0}.upload-score-segment{height:24px;border-radius:3px;background:#3b4551;transition:background-color .2s}.upload-score .is-pending{background:#3b4551}.upload-score .is-good{background:#a8f75d}.upload-score .is-improve{background:#eea341}.upload-score .is-bad{background:#e35967}.upload-score .is-unassessed{background:#3b4551;outline:1px dashed #aab3bf;outline-offset:-2px}.upload-score-legend{display:flex;gap:14px;flex-wrap:wrap;color:#aab3bf;font-size:12px}.upload-score-legend span{display:inline-flex;align-items:center;gap:6px}.upload-score-legend i{width:8px;height:8px;border-radius:2px}.upload-score-result{display:flex;align-items:baseline;justify-content:center;gap:12px;padding:12px 0}.upload-score-result strong{font-size:clamp(56px,10vw,88px);line-height:1;color:#a8f75d;font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-3px}.upload-score-result span{color:#aab3bf;font-size:22px}.upload-score-tips{padding:16px;background:#10151c;border-radius:8px}.upload-score-tips h4{margin:0 0 10px}.upload-score-tips ul{padding-left:20px;margin:0}.upload-score-tips li+li{margin-top:8px}@media(max-width:520px){.upload-score-segments{gap:2px}.upload-score-segment{height:20px}}
.upload-score-result.tone-improve strong{color:#eea341}.upload-score-result.tone-bad strong{color:#e35967}
.animation-score-info{border:1px solid #35414e;border-radius:8px;background:#10161e;min-width:0}.animation-score-info summary{display:flex;align-items:center;gap:10px;padding:13px 16px;color:#dce4ed;font-size:14px;font-weight:600;cursor:pointer;list-style:none}.animation-score-info summary::-webkit-details-marker{display:none}.animation-score-info summary::after{content:'+';margin-left:auto;font-size:20px;line-height:1;color:#a8f75d}.animation-score-info[open] summary::after{content:'−'}.animation-score-info summary:focus-visible{outline:2px solid #a8f75d;outline-offset:3px;border-radius:8px}.animation-score-info-icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid #718093;border-radius:50%;height:19px;width:19px;flex:0 0 19px;font-size:12px;color:#a8f75d}.animation-score-info>div{padding:0 16px 16px 45px;color:#b5bfcb;font-size:14px;line-height:1.6}.animation-score-info p{margin:0 0 10px}.animation-score-info p:last-child{margin-bottom:0}.animation-score-info strong{color:#e6edf5}@media(max-width:520px){.animation-score-info>div{padding-left:16px}}

.club-library.contract-area{padding:0;border-top:5px solid var(--area-color);margin:10px 0 24px;border-radius:8px}
.report-workspace{display:grid;gap:20px;min-width:0}.report-actions{display:flex;justify-content:flex-end}.report-actions button{display:inline-flex;align-items:center;gap:9px}
.report-filters{display:grid;grid-template-columns:minmax(340px,1.5fr) minmax(180px,1fr) minmax(160px,.7fr);align-items:end;gap:20px;padding:24px!important;margin:0!important}.report-filter{display:grid;gap:8px;min-width:0}.report-filter>label{margin:0;font-size:13px;font-weight:600;color:#aab5c4;line-height:18px}.report-filter-select,.report-period-trigger{width:100%;height:46px!important;min-height:46px;padding:0 14px!important;border:1px solid #394351!important;border-radius:9px!important;background:#0c1117!important;color:#f3f5f7!important;font-size:14px;box-shadow:none!important}.report-period-trigger{display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.report-period-trigger span{flex:1;white-space:nowrap;font-variant-numeric:tabular-nums}.report-filter-select:focus-visible,.report-period-trigger:focus-visible{outline:2px solid #a5fa3c;outline-offset:3px}.report-select-menu{z-index:80;background:#151b24!important;color:#f3f5f7!important;border-color:#394351!important}
.report-period-dialog{z-index:80;width:620px!important;max-width:calc(100vw - 32px);padding:22px!important;border:1px solid #394351!important;border-radius:14px!important;background:#151b24!important;color:#f3f5f7!important;box-shadow:0 16px 60px #0009}.report-calendar{position:relative;--rdp-accent-color:#a5fa3c}.report-calendar .rdp-months{display:flex;gap:28px}.report-calendar .rdp-month{flex:1;min-width:0}.report-calendar .rdp-month_caption{height:40px;display:flex;align-items:center;font-weight:600;font-size:15px}.report-calendar .rdp-nav{position:absolute;right:0;top:0;display:flex;gap:6px}.report-calendar .rdp-button_previous,.report-calendar .rdp-button_next{width:32px;height:32px;display:grid;place-items:center;background:#222b37;border:0;border-radius:6px;color:inherit;padding:6px}.report-calendar .rdp-chevron{fill:#a5fa3c;width:18px;height:18px}.report-calendar .rdp-month_grid{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0!important}.report-calendar th{padding:6px 0!important;font-size:11px;color:#98a4b5;text-align:center;font-weight:500;border:0!important;width:auto!important}.report-calendar td{padding:2px 0!important;border:0!important;text-align:center;width:36px;height:36px}.report-calendar .rdp-day_button{height:34px;width:100%;border:0;border-radius:6px;background:transparent;color:inherit;font-size:13px;cursor:pointer}.report-calendar .rdp-day_button:hover{background:#303c4b}.report-calendar .rdp-range_middle{background:#a5fa3c22}.report-calendar .rdp-range_start .rdp-day_button,.report-calendar .rdp-range_end .rdp-day_button{background:#a5fa3c;color:#122000;font-weight:700}.report-calendar .rdp-today:not(.rdp-selected) .rdp-day_button{box-shadow:inset 0 0 0 1px #a5fa3c}.report-calendar .rdp-outside{opacity:.3}.report-period-times{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #303947;padding-top:18px;margin-top:18px}.report-period-times label{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;color:#aab5c4}.report-period-times label span{font-variant-numeric:tabular-nums}.report-period-times input{grid-column:1/-1;width:100%;box-sizing:border-box;height:42px;padding:8px 12px;background:#0c1117;color:#f3f5f7;border:1px solid #394351;border-radius:7px;color-scheme:dark;font:inherit;font-variant-numeric:tabular-nums}.report-period-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.report-panes{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.report-panes-split{grid-template-columns:repeat(2,minmax(0,1fr))}.report-pane{min-width:0;overflow:hidden;border:1px solid #303947;border-radius:12px;background:#141922}.report-pane>header{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid #303947;border-top:3px solid #a5fa3c;color:#a5fa3c}.report-pane-backup>header{border-top-color:#ac91ff;color:#ac91ff}.report-pane h2{margin:0!important;font-size:16px!important;font-weight:650}.report-table-scroll{overflow:auto}.playback-reports .report-table{table-layout:fixed;width:100%;min-width:0;border-collapse:collapse}.playback-reports .report-table th{padding:13px 16px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#99a5b5;background:#10151c;text-align:left;border-bottom:1px solid #303947}.playback-reports .report-table td{padding:15px 16px;vertical-align:top;border-bottom:1px solid #29313c;font-size:13px;overflow-wrap:anywhere;white-space:normal}.playback-reports .report-table th:nth-child(1){width:23%}.playback-reports .report-table th:nth-child(2){width:23%}.playback-reports .report-table th:nth-child(3){width:39%}.playback-reports .report-table th:nth-child(4){width:15%;text-align:right}.report-table time{display:grid;gap:4px;font-variant-numeric:tabular-nums}.report-table time strong{font-weight:500}.report-table time span{color:#96a1b1;font-size:11px}.report-duration{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap!important}.report-clip-name{display:block;line-height:1.5}.report-playback-error{display:block;margin-top:6px;color:#ff9b93;font-size:11px}.report-more{display:flex;justify-content:center}.report-empty{padding:40px!important;text-align:center;color:#aab5c4}.report-error{padding:14px 18px;border:1px solid #a84b4b;border-radius:8px;background:#381f25;color:#ffb5af}.report-loading{display:grid;gap:12px;padding:24px;border:1px solid #303947;border-radius:12px}.report-loading div{height:38px;background:#202936;border-radius:6px}
@media(max-width:1100px){.report-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.report-filter-period{grid-column:1/-1}.report-panes-split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.report-filters{grid-template-columns:minmax(0,1fr);padding:18px!important;gap:16px}.report-period-trigger{font-size:12px}.report-calendar .rdp-months{flex-direction:column;gap:12px}.report-period-dialog{width:340px!important}.report-table th,.report-table td{padding:10px 8px!important}.report-period-times{gap:14px}.report-actions button{width:100%;justify-content:center}}

.report-period-dialog{max-height:var(--radix-popover-content-available-height);overflow-y:auto;overscroll-behavior:contain}.report-calendar .rdp-weekdays{height:28px}.report-calendar .rdp-month_grid thead{display:table-header-group}.report-calendar .rdp-month_grid th{position:static}.report-calendar .rdp-month_grid button{min-height:0}

.report-period-dialog{display:block!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 48px);overflow-y:auto}.report-period-title{margin:0 0 18px!important;font-size:18px!important;font-weight:650}.report-period-dialog .report-period-times{margin-top:18px}.report-period-dialog .report-period-actions{margin-top:20px}
.report-workspace{position:relative;min-height:240px}.report-loading-overlay{position:absolute;inset:0;z-index:15;display:grid;place-items:center;background:#090d13b8;backdrop-filter:blur(2px);border-radius:12px}.report-loading-overlay>div{display:flex;align-items:center;gap:14px;padding:22px 28px;border:1px solid #364150;border-radius:12px;background:#141b25;box-shadow:0 12px 38px #0006;font-size:14px}.interface-spinner{display:inline-block;flex:none;width:20px;height:20px;border:2px solid #364150;border-top-color:#a5fa3c;border-radius:50%;animation:interface-spin .8s linear infinite}@keyframes interface-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.interface-spinner{animation:none;border-color:#a5fa3c}}
.stats{align-items:stretch}.stats>article{min-height:174px;box-sizing:border-box}.stats .player-status-card{padding:22px;gap:12px;justify-content:flex-start}.stats .player-status-card h3{font-size:14px;color:#a6b1c0;font-weight:500}.stats .player-status-card .player-connection-list{display:grid;gap:8px}.stats .player-status-card .connection-label{font-size:14px!important;line-height:20px;display:flex;align-items:center;gap:8px;font-weight:500}.stats .player-status-card .presenter-status{font-size:12px;margin-top:auto;padding-top:9px;line-height:18px}
.event-log{border:1px solid #303947;border-radius:12px;background:#141922;overflow:hidden;min-width:0}.event-log-heading{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:3px solid #a5fa3c;border-bottom:1px solid #303947}.event-log-heading h2{display:flex;align-items:center;gap:10px;font-size:17px;margin:0}.event-log-heading button{display:flex;align-items:center;justify-content:center;gap:8px}.event-table-wrap{overflow-x:auto}.event-table{width:100%;table-layout:fixed;border-collapse:collapse}.event-table th{padding:13px 22px;background:#10151c;color:#99a5b5;font-size:11px;text-transform:uppercase;letter-spacing:.05em;text-align:left}.event-table td{padding:20px 22px;border-top:1px solid #29323f;vertical-align:top;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.event-table th:first-child{width:160px}.event-table th:nth-child(2){width:190px}.event-time strong,.event-time span{display:block;font-variant-numeric:tabular-nums}.event-time strong{font-weight:500;color:#f3f5f7}.event-time span,.event-meta{color:#96a1b1;font-size:12px}.event-meta{display:block;margin-top:5px}.event-message{font-weight:500}.event-severity{display:table;padding:2px 8px;border-radius:5px;font-size:11px;margin-top:6px;background:#293341;color:#c4cedb}.event-severity.error{color:#ffb4aa;background:#4c282c}.event-severity.warning{color:#ffcf81;background:#44351d}.event-empty,.event-loading{padding:30px 24px;color:#a9b4c3}.event-loading{display:flex;align-items:center;gap:12px}.event-log>footer{display:flex;justify-content:center;padding:20px;border-top:1px solid #303947}.event-log>footer button{display:flex;gap:8px;align-items:center}.event-details summary{cursor:pointer;display:flex;gap:10px;align-items:center}.event-details summary .event-severity{margin:0}.event-details dl,.event-mail-status{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 20px;padding:20px 0;margin:0;font-size:13px}.event-details dt,.event-mail-status dt{color:#99a5b5}.event-details dd,.event-mail-status dd{margin:0;overflow-wrap:anywhere}.event-details code{display:block;font-size:11px;overflow-wrap:anywhere;color:#aab7ca}.event-mail-status{padding:24px}.event-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.event-tabs button{display:flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid #303947;border-radius:8px;color:#acb7c6;background:#141922;font-size:13px}.event-tabs button[aria-pressed=true]{color:#b2ff60;border-color:#6b8f3a;background:#25331c}
.toolbox-overview-heading{align-items:center}.toolbox-filterbar{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(190px,260px);align-items:center!important;gap:16px}.toolbox-search{display:flex!important;align-items:center;gap:10px;padding:0 14px!important;height:46px;border:1px solid #394351;border-radius:9px;background:#0c1117}.toolbox-search input{width:100%;height:44px!important;padding:0!important;border:0!important;background:transparent!important;outline:none}.toolbox-search:focus-within{outline:2px solid #a5fa3c;outline-offset:2px}.toolbox-filterbar .field{margin:0!important}.toolbox-filterbar select{height:46px;width:100%}.toolbox-content{display:grid;gap:20px;padding-top:20px}.toolbox-content>.player-diagnostics{display:grid;gap:20px}.toolbox-content .diagnostic-section{margin:0;padding:22px;border:1px solid #303947;border-radius:12px;background:#10161e;min-width:0}.toolbox-content .diagnostic-section h3{font-size:16px;margin:0 0 18px}.toolbox-content .diagnostic-section header{align-items:center;gap:14px}.toolbox-content .diagnostic-values{gap:10px 20px}.toolbox-content .diagnostic-output{padding:16px 0;border-top:1px solid #29323f}.toolbox-content .diagnostic-output h4{margin:0 0 14px}.toolbox-player-identity{padding:22px!important;gap:20px;align-items:flex-start;background:#10161e;border:1px solid #303947;border-radius:12px}.toolbox-player-identity h3{margin:8px 0}.toolbox-player-identity p{margin-bottom:0}.toolbox-section-nav{margin-top:20px!important}.toolbox-content .formgrid{align-items:end;gap:18px}.toolbox-content .field{margin:0}.toolbox-content .actions{gap:10px;margin-top:18px}.toolbox-content .toolbox-remote-password{margin-top:20px!important;max-width:420px}.toolbox-workspace>.sectionbar{margin-top:0}.toolbox-workspace>.sectionbar h2{display:flex;gap:10px;align-items:center}
@media(max-width:720px){.event-table th:first-child{width:115px}.event-table th:nth-child(2){width:120px}.event-table th,.event-table td{padding:13px 12px}.toolbox-filterbar{grid-template-columns:minmax(0,1fr)}.toolbox-player-identity{flex-direction:column}.event-log-heading{padding:18px}.event-details dl,.event-mail-status{grid-template-columns:110px minmax(0,1fr)}}

.stats>.player-status-card{margin:0!important;align-self:stretch;height:auto!important}.toolbox-workspace{max-width:none!important;width:100%;box-sizing:border-box}.toolbox-workspace>.sectionbar{justify-content:flex-end}.toolbox-overview-heading h3{margin:0}.toolbox-filterbar .toolbox-search{margin:0!important}

.presenter-transfer{display:grid;gap:14px;min-width:0;font-size:12px;line-height:1.4}.presenter-transfer-row{display:grid;gap:6px;min-width:0}.presenter-transfer-row>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.presenter-transfer-row b{font-weight:500}.presenter-transfer-row span{text-align:right;color:#b4beca}.presenter-transfer-row.complete span{color:#96f74b}.presenter-transfer progress{display:block;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;accent-color:#96f74b;background:#303742}.presenter-transfer progress::-webkit-progress-bar{background:#303742;border-radius:4px}.presenter-transfer progress::-webkit-progress-value{background:#96f74b;border-radius:4px;transition:width .3s}.presenter-transfer small{font-variant-numeric:tabular-nums;color:#a6b1c0;font-size:11px}.transfer-error,.presenter-transfer-row.stalled span{color:#e6b853}.player-status-card .transfer-error{font-size:12px}

.terminal-main .overview-stats{grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:16px}.overview-stats>.overview-counts{display:grid;grid-template-rows:repeat(3,1fr);gap:0;padding:8px 22px}.overview-count{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;min-width:0}.overview-count+.overview-count{border-top:1px solid #2a323f}.overview-count strong{font-size:28px;font-variant-numeric:tabular-nums}.overview-stats .player-status-card .player-connection-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px 32px}.overview-stats .presenter-transfer{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;row-gap:16px}.overview-stats .presenter-transfer-row>div{gap:16px}.overview-stats .presenter-transfer>span,.overview-stats .presenter-transfer>progress,.overview-stats .presenter-transfer>small{grid-column:1/-1}.overview-stats .presenter-transfer-row span{font-size:12px}.overview-stats .presenter-status{grid-column:1/-1}@media(max-width:1000px){.terminal-main .overview-stats{grid-template-columns:minmax(0,1fr)}.overview-stats>.overview-counts{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;padding:16px 20px}.overview-count{flex-direction:column;align-items:flex-start;gap:10px;padding:0 16px}.overview-count:first-child{padding-left:0}.overview-count+.overview-count{border-top:0;border-left:1px solid #2a323f}}@media(max-width:600px){.overview-stats .presenter-transfer{grid-template-columns:minmax(0,1fr)}.overview-count{padding:0 10px;gap:10px}.overview-count span{font-size:12px}.overview-count strong{font-size:26px}.overview-stats .player-status-card .player-connection-list{gap:10px 20px}}