.ops-workspace{padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--bg2,var(--card));margin:20px 0;color:var(--text);font-family:inherit}.ops-workspace p{font-size:14px;line-height:1.6}.ops-workspace label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px}.ops-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.ops-controls>label{flex:1;min-width:140px}.ops-workspace input,.ops-workspace select{width:100%;min-width:0;box-sizing:border-box;background:var(--bg3,var(--card));color:var(--text);font:inherit;font-size:16px;padding:12px;border:1px solid var(--border);border-radius:10px}.ops-workspace button{font:inherit;font-size:14px;padding:12px 16px;min-height:44px;white-space:normal;background:var(--orange);color:var(--btn-fg,#fff);border:1px solid var(--border);border-radius:10px;cursor:pointer}.ops-workspace button:disabled{opacity:.5}.ops-person{border:1px solid var(--border);border-radius:16px;padding:16px;margin:16px 0}.ops-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ops-day{padding:12px;background:var(--bg3,var(--card));border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;gap:12px}.ops-day b{font-size:13px}.ops-day .ops-controls{margin:0}.ops-workspace summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:600}.ops-workspace small{display:block;font-size:12px;line-height:1.5}.ops-scroll{overflow-x:auto;margin:16px 0}.ops-scroll table{border-collapse:collapse;min-width:1100px;font-size:13px}.ops-scroll th,.ops-scroll td{padding:10px;border:1px solid var(--border);text-align:left;min-width:100px}.ops-scroll th{background:var(--bg3,var(--card))}@media(max-width:600px){.ops-workspace{padding:16px}.ops-days{grid-template-columns:1fr}.ops-controls>label{min-width:0;flex-basis:100%}.ops-person{padding:12px}.ops-day .ops-controls>label{flex-basis:100%}}
/* Week coverage stays a table even under Command Center mobile grid/table rules. */
.ops-week-grid{max-height:65vh;overflow:auto;position:relative;border:1px solid var(--border);border-radius:12px;overscroll-behavior:contain}
.ops-week-grid table,#main .ops-week-grid table{display:table!important;border-collapse:separate;border-spacing:0;overflow:visible!important;min-width:1100px;width:max-content}
.ops-week-grid thead th{position:sticky;top:0;z-index:3;background:var(--bg3,var(--card,#fff));box-shadow:0 1px 0 var(--border)}
.ops-week-grid tr>th:first-child{position:sticky;left:0;z-index:2;min-width:140px;max-width:140px;background:var(--bg3,var(--card,#fff));box-shadow:1px 0 0 var(--border)}
.ops-week-grid thead th:first-child{z-index:4}.ops-week-grid th,.ops-week-grid td{vertical-align:top;min-width:110px;padding:8px}
.ops-week-grid input,.ops-week-grid select{font-size:13px;padding:8px}.ops-week-grid tbody th label{margin-bottom:8px}.ops-workspace .ops-grid-remove{padding:6px 10px;min-height:32px;font-size:12px;background:transparent;color:var(--text)}
.ops-workspace .ops-shift-cell{display:block;min-height:74px;width:100%;font-size:13px;line-height:1.45;text-align:left;background:var(--card,var(--bg2,#fff));color:var(--text);border:1px solid var(--border);padding:10px}
.ops-workspace .ops-shift-cell.work{border-left:4px solid var(--orange)}.ops-workspace .ops-shift-cell.requested{border-left:4px solid #bd8824}.ops-workspace .ops-shift-cell.empty{border-style:dashed}
.ops-grid-total td,.ops-grid-total th{font-weight:700;background:var(--bg3,var(--card,#fff))}.ops-grid-help{font-size:12px!important}.ops-workspace [data-view][aria-pressed=false]{background:transparent;color:var(--text)}
.ops-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ops-shift-dialog{width:min(420px,calc(100% - 40px));box-sizing:border-box;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--card,var(--bg2,#fff));color:var(--text)}.ops-shift-dialog::backdrop{background:#0009}.ops-shift-dialog label{margin:16px 0}.ops-shift-dialog input,.ops-shift-dialog select{font-size:16px}.ops-shift-dialog [data-times][hidden]{display:none}
@media(max-width:600px){.ops-week-grid tr>th:first-child{min-width:120px;max-width:120px}.ops-week-grid table{min-width:1040px}.ops-week-grid th,.ops-week-grid td{padding:6px}}
.ops-shift-dialog{font-family:inherit;max-height:calc(100dvh - 40px);overflow:auto}.ops-shift-dialog label{display:flex;flex-direction:column;gap:8px;font-size:14px}.ops-shift-dialog input,.ops-shift-dialog select{width:100%;min-width:0;box-sizing:border-box;background:var(--bg3,var(--card,#fff));color:var(--text);padding:12px;border:1px solid var(--border);border-radius:10px;font-family:inherit}.ops-shift-dialog button{min-height:44px;font:inherit;padding:12px 16px;background:var(--orange);color:var(--btn-fg,#fff);border:1px solid var(--border);border-radius:10px}.ops-shift-dialog p{font-size:14px;line-height:1.6}
