/* FIX240 isolated UI; no layout changes to native attendance or schedule grids. */
#th203-management-root.f240-management-root{position:fixed;inset:0;z-index:2147482990;font:13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;color:#1f2937}
.th203-management-open{overflow:hidden}
.f240-management-root *,.f240-clearance-root *{box-sizing:border-box}.f240-backdrop{position:absolute;inset:0;background:#14213d80;display:flex;align-items:center;justify-content:center;padding:12px}.f240-panel{background:#f6f8fb;width:min(1800px,100%);height:min(940px,calc(100dvh - 24px));border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 55px #0f172a40}.f240-head{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#243859;color:white;padding:13px 18px}.f240-head h2{font-size:20px;margin:3px 0;color:white}.f240-head small{font-size:10px;letter-spacing:.08em}.f240-head p{font-size:12px;margin:0;color:#e1e8f4}.f240-head button{font-size:24px;border:0;background:#ffffff24;color:#fff;border-radius:9px;min-width:38px;height:38px}.f240-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;background:white;border-bottom:1px solid #dce4ee}.f240-controls button,.f240-foot button,.f240-date input,.f240-clearance-root button,.f240-clearance-root input,.f240-clearance-root select,.f240-clearance-root textarea{font:inherit}.f240-controls button,.f240-foot button,.f240-clearance-root button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#243859;padding:7px 11px;cursor:pointer}.f240-tabs,.f240-date{display:flex;gap:4px;align-items:center}.f240-tabs{padding:3px;background:#e9eef5;border-radius:9px}.f240-tabs button{border:0;background:transparent;font-weight:650}.f240-tabs button[aria-pressed=true]{background:#243859;color:#fff}.f240-date input{min-width:0;width:132px;padding:7px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#1f2937}.f240-content{overflow:auto;flex:1;min-height:0;padding:10px;overscroll-behavior:contain}.f240-section{margin:0 0 12px;overflow:hidden;background:#fff;border:1px solid #dce4ee;border-radius:10px}.f240-section h3{background:#243859;color:#fff;margin:0;padding:7px 10px;font-size:13px;font-weight:650;display:flex;justify-content:space-between}.f240-section h3 small{font-weight:500;opacity:.8}.f240-table-scroll{overflow-x:auto;max-width:100%;}.f240-section table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.f240-section th,.f240-section td{border-bottom:1px solid #e5eaf0;border-right:1px solid #e5eaf0;padding:6px 7px;text-align:left;vertical-align:middle}.f240-section thead th{background:#314b70;color:white;white-space:nowrap}.f240-section tbody tr:nth-child(even){background:#f3f6fa}.f240-matrix{min-width:max-content}.f240-matrix td{min-width:65px;text-align:center}.f240-matrix td:first-child,.f240-matrix th:first-child{position:sticky;left:0;min-width:36px;width:36px;z-index:1;background:#eff3f8;color:#334155}.f240-matrix tbody th{position:sticky;left:36px;background:#f4f6fa;z-index:1;min-width:104px}.f240-matrix thead th:nth-child(2){position:sticky;left:36px;z-index:2}.f240-person{display:block;line-height:1.25;font-weight:600;white-space:normal;overflow-wrap:anywhere;max-width:132px;padding:2px 0}.f240-person sup{font-size:10px;color:#ad6500;margin-left:1px}.f240-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;align-items:start}.f240-units td small{display:block;font-size:10px;color:#64748b}.f240-units td:first-child{width:34px;text-align:center}.f240-units td:last-child{text-align:center;white-space:nowrap}.f240-units .f240-person{max-width:none}.f240-management-root .off{color:#b91c1c}.f240-management-root .leave{color:#7e22ce}.f240-management-root .warn{color:#b45309}.f240-management-root .muted{color:#94a3b8}.f240-empty{padding:12px;color:#64748b;margin:0}.f240-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 12px;background:white;border-top:1px solid #dce4ee;font-size:11px;color:#475569}.th203-home-button,.th203-more-button,.th203-sidebar-button{font:inherit;cursor:pointer}.f240-clearance-root{position:fixed;inset:0;z-index:2147483001;font:13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;color:#1f2937}.f240-clearance-root .f240-panel{width:min(840px,100%);height:min(920px,calc(100dvh - 24px))}.f240-clearance-root .f240-content{padding:14px}.f240-clearance-root label{display:block;font-weight:600;margin:8px 0}.f240-clearance-root input:not([type=checkbox]),.f240-clearance-root select,.f240-clearance-root textarea{display:block;width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1f2937;padding:8px;margin-top:4px}.f240-clearance-root input[type=checkbox]{width:17px;height:17px;vertical-align:middle;margin-right:5px}.f240-clearance-root .f240-check{font-weight:500}.f240-clearance-root .f240-primary{background:#243859;color:#fff;border-color:#243859}.f240-clearance-root button:disabled{opacity:.45;cursor:not-allowed}.f240-clearance-root .f240-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.f240-clearance-root .f240-table-scroll{max-height:340px;overflow:auto}.f240-clearance-root table{width:100%;border-collapse:collapse;background:white;font-size:12px}.f240-clearance-root th,.f240-clearance-root td{padding:7px;border-bottom:1px solid #e2e8f0;text-align:left}.f240-clearance-root thead th{background:#243859;color:white;position:sticky;top:0;z-index:1}.f240-clearance-root .f240-sub{background:#fff;border:1px solid #dce4ee;border-radius:10px;padding:12px;margin-bottom:12px}.f240-clearance-root .f240-sub h3{font-size:14px;margin:0 0 8px}.f240-clearance-root .f240-warn{color:#9a3412}.f240-clearance-root .f240-ok{color:#166534}.f240-clearance-root .f240-alias-input{min-width:80px}.f240-clearance-root .f240-err{color:#b91c1c;white-space:pre-wrap}.f240-clearance-root .f240-metrics{display:flex;gap:14px;flex-wrap:wrap;font-weight:600}.f240-pending-caption{display:block;color:#a16207;font:600 10px/1.15 system-ui;white-space:normal;margin-top:2px}
@media(max-width:600px){.f240-backdrop{padding:0}.f240-panel,.f240-clearance-root .f240-panel{width:100%;height:100dvh;border-radius:0}.f240-head{padding:10px 12px}.f240-head h2{font-size:17px}.f240-controls{padding:8px;gap:7px}.f240-controls strong{font-size:12px;width:100%}.f240-content{padding:7px}.f240-foot{font-size:10px;gap:5px}.f240-clearance-root .f240-fields{grid-template-columns:1fr}.f240-clearance-root .f240-content{padding:9px}.f240-matrix tbody th,.f240-matrix thead th:nth-child(2){min-width:88px}.f240-section th,.f240-section td{padding:6px}.f240-unit-grid{grid-template-columns:1fr}}

.th203-sidebar-button,.th203-home-button,.th203-more-button{cursor:pointer;font:700 13px/1.35 system-ui,sans-serif;border:1px solid #d5e0eb;background:#f7fafe;color:#253e66;border-radius:12px;padding:12px 14px;text-align:left}
.th203-home-button{margin:8px 0 14px;width:100%}.th203-sidebar-button{width:100%;margin:6px 0}.th203-more-button{min-height:64px}
