/* FIX219 additive UI. No React attendance table widths/heights are altered. */
.th219-recap-panel{margin:14px 0 22px;border:1px solid #d5dfec;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 20px rgba(28,43,75,.06);min-width:0;max-width:100%}
.th219-recap-controls{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;gap:12px;background:#f7f9fd}.th219-recap-controls h3{margin:0;font-size:15px;color:#17273f;font-weight:800}.th219-recap-controls button{background:white;border:1px solid #ced9e9;color:#243a5b;border-radius:9px;min-height:35px;padding:5px 11px;font-weight:700;cursor:pointer}
.th219-summary{display:flex;gap:20px;align-items:center;flex-wrap:wrap;background:#2e4724;color:#fff;padding:9px 16px;font-size:12px}.th219-summary b{font-size:16px}.th219-table-scroll{overflow:auto;max-width:100%;scrollbar-gutter:stable;overscroll-behavior-x:contain}.th219-table{border-collapse:separate;border-spacing:0;min-width:1030px;width:100%;font-size:12px}.th219-table th,.th219-table td{border-right:1px solid #bac9b8;border-bottom:1px solid #c9d7c8;padding:10px 9px;min-width:70px;text-align:center;font-variant-numeric:tabular-nums}.th219-table thead th{background:#344b28;color:#fff;white-space:normal;line-height:1.3;font-weight:800}.th219-table th:first-child{min-width:200px;text-align:left;position:sticky;left:0;z-index:1;background:#fff}.th219-table thead th:first-child{z-index:2;background:#344b28;color:#fff}.th219-table tbody tr:nth-child(odd){background:#f2f8f0}.th219-table tbody tr:nth-child(even){background:#e5f0e2}.th219-table tbody tr:nth-child(odd) th:first-child{background:#f2f8f0}.th219-table tbody tr:nth-child(even) th:first-child{background:#e5f0e2}.th219-table .th219-h,.th219-table .th219-tm{background:#fffdb0;color:#243013}.th219-table .th219-sisa_cuti{background:#b5faff;color:#173539}.th219-table .th219-total{background:#2728dd;color:white;font-weight:800}.th219-table .th219-total_mk{font-weight:800}.th219-recap-note{font-size:11px;color:#56667b;padding:9px 16px;margin:0}.th219-error{color:#9e2738;padding:13px;background:#fff1ef}
.th219-finalization-pic,.th219-hrga-deadline{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;background:#f9fafc;border:1px solid #d4deed;border-radius:13px;padding:13px 17px;margin:10px 0;color:#1e3049}.th219-finalization-pic p,.th219-hrga-deadline p{margin:4px 0;font-size:12px}.th219-finalization-pic small,.th219-hrga-deadline small{color:#4a5d74}.th219-finalization-pic button,.th219-hrga-deadline button{padding:10px 15px;background:#324d89;color:#fff;border:0;border-radius:10px;cursor:pointer;font-weight:800}.th219-finalization-pic button:disabled{background:#677487;cursor:not-allowed}.th219-finalization-pic[data-locked="1"],.th219-hrga-deadline[data-locked="1"]{border-color:#b75a5a;background:#fff3f1}
/* FIX219 footer contrast: maintain state and keyboard focus, only change color. */
.shift-confirm-card{color:#fff!important}.shift-confirm-card .shift-confirm-card__copy,.shift-confirm-card .shift-confirm-card__copy *,.shift-confirm-card .eyebrow,.shift-confirm-card .field-hint,.shift-confirm-card .field-hint--light,.shift-confirm-card label>span{color:#fff!important;opacity:1!important;text-shadow:0 1px 2px #52242b!important}.shift-confirm-card .shift-confirm-actions button:not(:disabled){color:#fff!important}.shift-confirm-card .shift-confirm-actions button:disabled{opacity:1!important;color:#fce9e9!important;background:#97414b!important;border:1px solid #f7afb7!important}.shift-confirm-card input{color:#17243a!important;background:#fff!important;opacity:1!important}
/* FIX219 jitter fix – scroll tools must not trigger layout reflow while resizing. */
.v35zl-scroll-tools{min-height:34px;contain:layout style}.v35zl-scroll-tools[hidden]{display:flex!important;visibility:hidden!important}
/* Sanggahan – premium cards, still the same secure server command fields. */
.thad156-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;align-items:start}.thad156-card{border:1px solid #d6deeb;border-radius:15px;box-shadow:0 7px 16px rgba(25,40,70,.045);background:#fff;padding:16px;display:grid;gap:12px;min-width:0}.thad156-card-head{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.thad156-card-head b{display:block;color:#1c2e4b;font-size:15px}.thad156-card-head small{display:block;margin-top:3px;font-size:12px;color:#617087}.thad156-card-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.thad156-card-compare>div{padding:9px;background:#f2f5f9;border-radius:10px;min-width:0}.thad156-card-compare small{display:block;overflow-wrap:anywhere;color:#506379}.thad156-card-compare strong{display:block;font-size:11px;margin-bottom:5px;color:#233554}.thad156-card-label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#2b415e}.thad156-card-label input,.thad156-card-label select,.thad156-card-label textarea{width:100%;box-sizing:border-box;min-height:36px;border:1px solid #cbd7e7;border-radius:9px;background:white;padding:8px;font-size:13px;color:#14243b}.thad156-card-label textarea{min-height:48px;resize:vertical}.thad156-card-actions{display:flex;flex-wrap:wrap;gap:9px}.thad156-card-actions button{flex:1 1 125px;min-height:40px;border-radius:10px;cursor:pointer}.thad156-card-actions [data-decide="REJECTED"]{border:1px solid #d18d91;color:#9b2f37;background:#fff5f5}.thad156-card-actions [data-decide="ACCEPTED"]{background:#236e54;color:white;border:1px solid #236e54}.thad156-intro{color:#475c75}
.th219-schedule-warning{margin:14px auto;border:1px solid #dfb780;padding:14px 18px;background:#fffaf0;border-radius:12px;max-width:720px;color:#624920}.th219-schedule-warning strong{display:block;margin-bottom:6px}.th219-schedule-warning p{font-size:12px;margin:6px 0}.th219-schedule-warning button{min-height:36px;padding:7px 15px;border:1px solid #7e5260;border-radius:9px;color:#612f3c;background:#fff;cursor:pointer}
/* FIX219 card presentation on frozen sanggahan DOM. No edits to FIX156 controller. */
.thad156-correction-table{display:block!important;min-width:0!important;width:100%!important;border:0!important}
.thad156-correction-table caption{position:absolute!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important}
.thad156-correction-table thead{display:none!important}
.thad156-correction-table tbody{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr))!important;gap:14px!important;align-items:start!important}
.thad156-correction-table tbody tr[data-row]{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;background:#fff!important;border:1px solid #d6deeb!important;border-radius:15px!important;box-shadow:0 7px 16px rgba(25,40,70,.045)!important;padding:14px!important}
.thad156-correction-table tbody tr[data-row]>td{display:block!important;min-width:0!important;width:auto!important;max-width:none!important;padding:0!important;border:0!important;white-space:normal!important;box-shadow:none!important;background:transparent!important;text-align:left!important}
.thad156-correction-table tbody tr[data-row]>td:first-child>b{display:block!important;color:#193154!important;font-size:15px!important}
.thad156-correction-table tbody tr[data-row]>td:first-child>small,.thad156-correction-table tbody tr[data-row]>td:nth-child(2)>small{display:block!important;color:#53687e!important;font-size:12px!important;margin:4px 0!important;overflow-wrap:anywhere!important}
.thad156-correction-table tbody tr[data-row]>td:nth-child(2){display:grid!important;gap:5px!important;padding:10px!important;background:#eff4fa!important;border-radius:10px!important}
.thad156-correction-table tbody tr[data-row]>td:nth-child(3):before{content:'Kode koreksi';display:block;font-size:11px;font-weight:800;color:#30435b;margin-bottom:5px}
.thad156-correction-table tbody tr[data-row]>td:nth-child(4):before{content:'Terlambat (menit)';display:block;font-size:11px;font-weight:800;color:#30435b;margin-bottom:5px}
.thad156-correction-table tbody tr[data-row]>td:nth-child(5):before{content:'Catatan absensi';display:block;font-size:11px;font-weight:800;color:#30435b;margin-bottom:5px}
.thad156-correction-table tbody tr[data-row]>td:nth-child(6):before{content:'Alasan keputusan PIC (wajib)';display:block;font-size:11px;font-weight:800;color:#30435b;margin-bottom:5px}
.thad156-correction-table tbody tr[data-row] select,.thad156-correction-table tbody tr[data-row] input,.thad156-correction-table tbody tr[data-row] textarea{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;border-radius:9px!important;border:1px solid #cbd7e7!important;padding:8px!important;min-height:37px!important}
.thad156-correction-table tbody tr[data-row]>td:last-child{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}
.thad156-correction-table tbody tr[data-row]>td:last-child button{flex:1 1 140px!important;min-height:39px!important;border-radius:9px!important}
.thad156-correction-table tbody tr[data-row]>td:last-child [data-decide="REJECTED"]{background:#fff0f1!important;border:1px solid #c66f7a!important;color:#9b2837!important}
.thad156-correction-table tbody tr[data-row]>td:last-child [data-decide="ACCEPTED"]{background:#276d55!important;color:white!important;border:1px solid #276d55!important}
.thad156-table-scroll{overflow:visible!important;max-height:none!important}
.thad156-fixed-unit{font-size:12px;color:#233b59;border-radius:10px;padding:10px;background:#f0f5fb}

/* PIC lock screen: keep horizontal scroll active while disallowing visible cell edits. */
.th219-pic-locked .attendance-desktop-grid-wrap input:not([type="hidden"]),.th219-pic-locked .attendance-desktop-grid-wrap textarea,.th219-pic-locked .attendance-desktop-grid-wrap select,.th219-pic-locked .attendance-desktop-grid-wrap button:not(.v35zl-scroll-left):not(.v35zl-scroll-right){pointer-events:none!important;opacity:.55!important;cursor:not-allowed!important}
.th219-pic-locked .attendance-desktop-grid-wrap{outline:2px solid #d6b6b3;outline-offset:2px}
