/* Operations follow the same table and edge drawer system as candidates. */
html .workspace:is([data-view=shifts],[data-view=tasks]) #main{--bg:#eff6f5;--panel:#fff;--input:#fff;--text:#193940;--muted:#668087;--border:#c8dedf;--soft:#e8f4f3;--selection-cyan:#008b91;background:var(--bg);color:var(--text);max-width:none;width:100%;box-sizing:border-box}
html[data-theme=dark] .workspace:is([data-view=shifts],[data-view=tasks]) #main{--bg:#00191f;--panel:#05252d;--input:#03232b;--text:#e8f4f6;--muted:#9ab8c0;--border:#14525d;--soft:#09343d;--selection-cyan:#27c4c7;background:radial-gradient(ellipse at 80% 5%,#06414a55,transparent 55%),var(--bg)}
.operations-shifts>.toolbar{margin-bottom:12px}.operations-shifts #filters{padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:none;gap:12px;margin-bottom:16px;align-items:end}.operations-shifts #filters input,.operations-shifts #filters .control-trigger,.operations-shifts #filters button{height:34px;min-height:34px;font-size:11px}.operations-shifts #filters label{font-size:11px;gap:5px}.operations-shift-matrix .att-table-scroll{max-height:calc(100dvh - 275px);min-height:250px}.operations-shift-matrix .att-table-panel{padding:0}.operations-shift-matrix .att-matrix .att-position{width:120px;max-width:150px;text-align:center!important}.operations-shift-matrix .att-matrix .att-type-column{width:115px;max-width:115px}.operations-shift-matrix .att-matrix .att-person button{font-size:11px;white-space:normal;text-align:left}.operations-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:12px}.operations-legend span{display:flex;align-items:center;gap:5px}.operations-legend i{width:6px;height:6px;border-radius:50%;background:#8fa8b7}.operations-legend .work{background:#26b9a8}.operations-legend .planned{background:#e7b65c}.operations-legend .absent{background:#d58282}
.operations-task-table{padding:0;max-height:calc(100dvh - 200px);margin:0;border:1px solid var(--border);border-radius:12px;box-shadow:none;background:var(--panel)}.operations-task-table .task-table{table-layout:fixed;min-width:780px}.operations-task-table .task-table th:nth-child(1){width:50px}.operations-task-table .task-table th:nth-child(2){width:29%}.operations-task-table .task-table th:nth-child(3){width:18%}.operations-task-table .task-table th:nth-child(4){width:16%}.operations-task-table .task-table th:nth-child(5){width:11%}.operations-task-table .task-table th:nth-child(6){width:13%}.operations-task-table .task-table th:nth-child(7){width:100px}.operations-task-table .task-table td:first-child{min-width:0;max-width:50px;color:var(--muted)}.operations-task-table .task-table th{z-index:3}.operations-task-table .task-table td{font-size:11px}.operations-task-table .task-table td:nth-child(2){white-space:normal}.operations-task-table .task-table .selection-name{font-size:12px;line-height:1.45;display:inline-block;text-align:center;overflow-wrap:anywhere}.operations-task-table .task-table .operations-task-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;font-size:10px;line-height:1.5;max-width:55ch;margin:5px auto 0}.operations-task-table .task-table .operations-open{height:31px;min-height:31px;font-size:10px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;box-shadow:none}.operations-priority{display:inline-flex;padding:4px 7px;border-radius:6px;color:var(--muted);font-size:10px;background:var(--soft)}.operations-priority.high{color:#d88b8b;background:#b25e6318}.operations-priority.low{color:var(--selection-cyan)}
.operations-drawer .selection-drawer-heading{padding-right:48px}.operations-drawer .operations-subtitle{font-size:12px;color:var(--muted);margin:4px 0 8px}.operations-drawer #operations-save-status{display:block;font-size:10px;color:var(--selection-cyan);margin-top:6px;min-height:14px}.operations-drawer #operations-save-status.error{color:#df8b8b}.operations-drawer .selection-drawer-heading>label{display:block;margin:3px 0 0}.operations-drawer .selection-drawer-heading>label>span{display:none}.operations-drawer .selection-drawer-heading>label>.custom-control{width:220px;max-width:100%}.operations-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 12px}.operations-fields>label{display:grid;gap:6px;font-size:10px;color:var(--muted);min-width:0}.operations-fields>label input,.operations-fields>label .control-trigger{height:34px;min-height:34px;font-size:12px;padding:7px 9px;border-radius:7px;box-shadow:none}.operations-fields>.full{grid-column:1/-1}.operations-drawer textarea{width:100%;box-sizing:border-box;min-height:110px;resize:vertical;font-size:12px;line-height:1.6;border-radius:8px}.operations-auto{display:flex;align-items:center;gap:4px;font-size:9px;color:var(--selection-cyan)}.operations-auto svg{width:12px;height:12px}.operations-full-card{display:flex!important;align-items:center;justify-content:center;gap:6px;height:35px;min-height:35px;margin-bottom:12px;font-size:11px;border:1px solid var(--border);border-radius:8px;box-shadow:none}.operations-drawer .directory-facts-grid{margin-top:16px}.operations-shift-record{padding:12px 0;border-bottom:1px solid var(--border)}.operations-shift-record:last-child{border-bottom:0;padding-bottom:0}.operations-shift-record>header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.operations-shift-record>p{font-size:11px;color:var(--muted);line-height:1.5;margin:8px 0 12px}.operations-shift-record .status{font-size:9px}.operations-shift-record .operations-fields{margin-top:12px}.operations-shift-record textarea{min-height:65px}.operations-shift-facts{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.operations-description{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.operations-related{display:grid;gap:12px;font-size:12px}.operations-related a{color:var(--selection-cyan)}
@media(max-width:700px){.operations-shifts #filters{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-shifts #filters>button{grid-column:1/-1}.operations-fields{grid-template-columns:minmax(0,1fr)}.operations-auto{max-width:130px;text-align:right;line-height:1.5}.operations-legend{gap:10px}.operations-shift-record>header{align-items:start;flex-direction:column}}
#attendance-dashboard-root.operations-shift-matrix .att-matrix{table-layout:fixed;min-width:1280px}
#attendance-dashboard-root.operations-shift-matrix .att-matrix .att-day{width:auto;min-width:20px}
#attendance-dashboard-root.operations-shift-matrix .att-matrix tr>:nth-last-child(-n+2){width:74px}

.operations-excel-export{width:36px;height:36px;min-width:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.operations-excel-export svg{display:block;flex:none}
