/* Calendar / Production ownership split */
.production-owned-calendar-staffing{display:none!important}
.production-calendar-shell-notice{border:1px solid #5a451c;background:#18140c;border-radius:12px;padding:14px 16px;margin:14px 0;display:grid;gap:5px}
.production-calendar-shell-notice b{color:#f7b11b}.production-calendar-shell-notice span{color:#c9c3b6;line-height:1.45}
.production-event-staffing-list{display:grid;gap:14px}.production-event-staffing-card{padding:18px}
.production-event-staffing-card>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.production-event-staffing-card h3{margin:8px 0 4px}.production-event-staffing-card p,.production-event-staffing-card small{margin:0;color:#b8b8bf}
.production-event-staffing-count{min-width:82px;text-align:center;border:1px solid #33343a;border-radius:12px;padding:10px}.production-event-staffing-count b{display:block;font-size:24px}.production-event-staffing-count span{font-size:12px;color:#aaa}
.production-event-staffing-members{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.production-event-staffing-members>span{border:1px solid #33343a;border-radius:10px;padding:8px 10px;display:grid;gap:2px;min-width:190px}.production-event-staffing-card>footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #292a2f;padding-top:14px}.production-event-staffing-card>footer>span{margin-right:auto;color:#aaa}
.production-staff-editor{display:grid;gap:10px;max-height:min(58vh,650px);overflow:auto;padding-right:4px}.production-staff-person{border:1px solid #34353c;border-radius:12px;padding:12px;background:#111216}.production-staff-person.inactive .production-staff-fields{opacity:.35;pointer-events:none}.production-staff-toggle{display:flex!important;align-items:center;gap:10px}.production-staff-toggle>span{display:grid}.production-staff-toggle small{color:#aaa}.production-staff-fields{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:9px;margin-top:12px}.production-staff-fields label{font-size:12px}.production-staff-fields .wide{grid-column:1/-1}
.production-calendar-staffing-summary{border:1px solid #34353c;border-radius:12px;padding:14px;margin:14px 0}.production-calendar-staffing-summary p{color:#aaa}
@media(max-width:800px){.production-staff-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.production-event-staffing-card>header{flex-direction:column}.production-event-staffing-count{width:100%;text-align:left}.production-event-staffing-card>footer .button{width:100%}}
@media(max-width:520px){.production-staff-fields{grid-template-columns:1fr}}

/* Event Staffing workflow v2 */
#productionEventStaffForm{width:min(1120px,94vw)}
.production-staff-editor-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:12px}.production-staff-editor-head>*{min-width:0}.production-staff-ownership{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.production-staff-ownership span{border:1px solid #34353c;border-radius:999px;padding:7px 10px;font-size:12px;color:#c7c7cc;background:#111216}
.production-staff-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:14px;align-items:end;margin:10px 0 14px;padding:12px}.production-staff-copy>div:first-child{display:grid;gap:4px}.production-staff-copy small{color:#aaa}.production-staff-copy-controls{display:flex;gap:8px;min-width:0}.production-staff-copy-controls select{min-width:0;flex:1}
.production-staff-toolbar{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(240px,1fr) auto;gap:10px;align-items:end;margin-bottom:12px}.production-staff-toolbar-actions{display:flex;gap:6px;flex-wrap:wrap}
.production-staff-person{min-width:0}.production-staff-person-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.production-staff-person-head>*{min-width:0}.production-staff-person-state{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.badge.muted{background:#25262b;color:#b8b8bd;border-color:#3a3b42}
.production-staff-person.inactive{opacity:.78}.production-staff-person.inactive .production-staff-fields{display:none}.production-staff-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.production-staff-field-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px;border:1px solid #2f3036;border-radius:10px;min-width:0}.production-staff-field-group>p{grid-column:1/-1;margin:0 0 2px;display:grid;gap:2px}.production-staff-field-group>p small{color:#999;font-weight:400}.production-staff-field-group.shared{border-color:#42533f}.production-staff-field-group.internal{border-color:#4a4032}.production-staff-field-group label{min-width:0}.production-staff-field-group input,.production-staff-field-group select{min-width:0;width:100%}.production-staff-field-group .wide{grid-column:1/-1}
@media(max-width:900px){.production-staff-editor-head{flex-direction:column}.production-staff-ownership{justify-content:flex-start}.production-staff-copy{grid-template-columns:1fr}.production-staff-toolbar{grid-template-columns:1fr 1fr}.production-staff-toolbar-actions{grid-column:1/-1}.production-staff-fields{grid-template-columns:1fr}}
@media(max-width:620px){#productionEventStaffForm{width:100%}.production-staff-copy-controls{flex-direction:column}.production-staff-toolbar{grid-template-columns:1fr}.production-staff-toolbar-actions{grid-column:auto}.production-staff-person-head{align-items:flex-start;flex-direction:column}.production-staff-person-state{justify-content:flex-start}.production-staff-field-group{grid-template-columns:1fr}.production-staff-field-group .wide{grid-column:auto}}


/* Native compact Event Staffing cards - authoritative v2 */
.production-event-staffing-details{padding:0!important;overflow:hidden}
.production-event-staffing-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;min-width:0}
.production-event-staffing-details>summary::-webkit-details-marker{display:none}
.production-event-staffing-summary-main{min-width:0;flex:1}
.production-event-staffing-summary-main h3{margin:7px 0 3px}
.production-event-summary-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.production-event-summary-chips span{border:1px solid #34353c;border-radius:999px;padding:4px 8px;font-size:11px;color:#c8c8ce}
.production-event-staffing-details .production-event-staffing-count em{display:block;margin-top:6px;font-style:normal;font-size:11px;color:#f7b11b;white-space:nowrap}
.production-event-staffing-details[open] .production-event-staffing-count em{font-size:0}
.production-event-staffing-details[open] .production-event-staffing-count em:after{content:'Hide Staffing';font-size:11px}
.production-event-staffing-expanded{border-top:1px solid #292a2f;padding:0 18px 16px}
.production-event-staffing-expanded>footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #292a2f;padding-top:14px}
.production-event-staffing-expanded>footer>span{margin-right:auto;color:#aaa}
@media(max-width:800px){.production-event-staffing-details>summary{flex-direction:column}.production-event-staffing-details .production-event-staffing-count{width:100%;text-align:left}.production-event-staffing-expanded>footer .button{width:100%}}

/* RSVP -> Event Staffing handoff */
.production-rsvp-handoff{display:grid;grid-template-columns:minmax(0,1.2fr) auto;gap:12px 18px;align-items:center;margin:10px 0 14px;padding:13px}
.production-rsvp-handoff>div:first-child{display:grid;gap:3px;min-width:0}.production-rsvp-handoff small{color:#aaa;line-height:1.4}
.production-rsvp-handoff-metrics{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.production-rsvp-handoff-metrics span{display:grid;min-width:72px;border:1px solid #34353c;border-radius:10px;padding:7px 9px;font-size:11px;color:#aaa}.production-rsvp-handoff-metrics b{font-size:16px;color:#eee}
.production-rsvp-handoff-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.production-staff-person-state .badge.red{background:#3a161a;color:#ffb7bd;border-color:#74323a}
.rsvp-event-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:800px){.production-rsvp-handoff{grid-template-columns:1fr}.production-rsvp-handoff-metrics{justify-content:flex-start}.production-rsvp-handoff-actions{grid-column:auto}.production-rsvp-handoff-actions .button{flex:1 1 180px}}

/* Repeat-event staffing workflow */
.production-staff-copy{align-items:center}.production-staff-copy-controls{align-items:stretch;justify-content:flex-end;flex-wrap:wrap}.production-staff-copy-controls>[data-staff-copy-previous]{min-width:210px;display:grid;gap:2px;align-content:center}.production-staff-copy-controls>[data-staff-copy-previous] small{font-size:10px;font-weight:500;color:inherit;opacity:.82}.production-staff-copy-picker{display:flex;gap:8px;min-width:min(100%,360px);flex:1}.production-staff-copy-picker select{min-width:0;flex:1}.production-staff-copy-review{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-2px 0 14px;padding:11px 12px;border-color:#7b5b16;background:linear-gradient(90deg,rgba(122,83,10,.16),rgba(17,18,22,.92))}.production-staff-copy-review>div{display:grid;gap:3px;min-width:0}.production-staff-copy-review small{color:#b9b6ae}.production-staff-copy-review[hidden]{display:none}.production-staff-person.copy-changed{border-color:#8a651b;box-shadow:0 0 0 1px rgba(255,177,31,.12) inset}.production-staff-person.copy-changed .production-staff-person-head{background:linear-gradient(90deg,rgba(255,177,31,.07),transparent);margin:-6px -6px 0;padding:6px;border-radius:8px}.production-staff-person-state [data-staff-copy-state]{white-space:nowrap}
@media(max-width:720px){.production-staff-copy-controls{flex-direction:column}.production-staff-copy-controls>[data-staff-copy-previous]{width:100%}.production-staff-copy-picker{width:100%;min-width:0;flex-direction:column}.production-staff-copy-review{align-items:flex-start;flex-direction:column}.production-staff-copy-review .button{width:100%}}

/* Member work schedule / client billing / internal operations */
.production-staff-field-group.work{border-color:#355d55}.production-staff-field-group.billing{border-color:#6c5720;background:linear-gradient(180deg,rgba(255,184,0,.045),rgba(255,184,0,.015))}.production-staff-field-group.internal{grid-column:1/-1}.production-staff-bill-toggle{display:flex!important;align-items:flex-start;gap:10px;padding:8px;border:1px solid #4b4225;border-radius:8px;background:#15130d}.production-staff-bill-toggle>input{width:auto!important;min-width:auto!important;margin-top:2px}.production-staff-bill-toggle>span{display:grid;gap:2px}.production-staff-bill-toggle small{color:#aaa}.production-staff-billing-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.production-staff-billing-actions small{color:#d7b85a}.production-staff-field-group.billing input:disabled{opacity:.45}.production-staff-field-group.billing button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:900px){.production-staff-field-group.internal{grid-column:auto}}

/* Completed staffing history: archived-style view toggle. */
.production-event-staffing>.section-head{align-items:flex-end;gap:16px;flex-wrap:wrap}
.production-event-staffing-view-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:auto}
.production-event-staffing-view-actions .button span{display:inline-flex;min-width:22px;height:22px;padding:0 7px;align-items:center;justify-content:center;margin-left:5px;border-radius:999px;background:rgba(255,255,255,.08);font-size:11px}
@media(max-width:700px){.production-event-staffing-view-actions{width:100%;margin-left:0}.production-event-staffing-view-actions .button{flex:1}}
