/* Native payroll entry: readable controls, bounded pages and mobile row cards. */
.mode-switch{grid-template-columns:repeat(4,minmax(0,1fr))}.novelty-sheet{margin-top:20px;min-width:0;border:1px solid #c7deda;border-radius:12px;background:#f5faf9;padding:20px}.sheet-heading{display:flex;justify-content:space-between;gap:18px}.sheet-heading p{margin:6px 0;color:#526f79}.sheet-eyebrow{font-size:10px;font-weight:850;letter-spacing:.1em;color:#097568!important}.sheet-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 12px}.sheet-toolbar .button{border-radius:8px;min-height:44px}.sheet-note{font-size:12px;line-height:1.6;color:#536a75;max-width:950px}.sheet-state{padding:12px 14px;background:#e6f3ee;border-left:3px solid #148572;color:#174e43;font-size:12px;line-height:1.6;border-radius:4px;min-height:42px}.sheet-table table{min-width:0;table-layout:fixed}.sheet-table th:nth-child(1){width:6%}.sheet-table th:nth-child(2),.sheet-table th:nth-child(3){width:16%}.sheet-table th:nth-child(4){width:16%}.sheet-table th:nth-child(5){width:21%}.sheet-table th:nth-child(6){width:25%}.sheet-table th,.sheet-table td{padding:10px 8px}.sheet-table td{vertical-align:middle}.sheet-table input:not([type=checkbox]),.sheet-table textarea,.sheet-dialog input,.sheet-dialog textarea,.sheet-pager select{display:block;width:100%;min-height:44px;border:1px solid #abc5be;border-radius:6px;padding:8px;background:white;color:#153c4b;font:inherit;font-variant-numeric:tabular-nums}.sheet-table input:focus-visible,.sheet-table textarea:focus-visible,.sheet-dialog input:focus-visible,.sheet-dialog textarea:focus-visible{outline:3px solid #168f83;outline-offset:1px}.sheet-table .button{min-height:40px;font-size:12px;border-radius:6px;margin:2px}.sheet-amount{font-size:12px;color:#526f79;overflow-wrap:anywhere}.sheet-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:15px;background:#edf5f4;border-radius:8px}.sheet-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#244b5a;font-weight:700}.sheet-fields .sheet-wide{grid-column:span 2}.sheet-fields .sheet-forced{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:10px;background:#fff5dd;padding:12px;border-radius:6px}.sheet-forced input{width:20px;height:20px;accent-color:#127d70;flex:0 0 20px}.sheet-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.sheet-pager label{display:flex;align-items:center;gap:8px;font-size:12px}.sheet-pager select{width:74px}.sheet-pager span{font-size:12px;color:#526f79;flex:1}.sheet-empty{background:#fff;padding:28px;border:1px dashed #aac9c0;color:#526b74;border-radius:8px;line-height:1.65}.sheet-dialog{width:min(550px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #accbc1;border-radius:16px;color:#183d4c;box-shadow:0 24px 60px #0b283d40}.sheet-dialog::backdrop{background:#102e40a0}.sheet-dialog form{display:grid;gap:16px}.sheet-dialog p{font-size:12px;line-height:1.65;margin:6px 0;color:#526c77}.sheet-dialog label{display:grid;gap:6px;font-weight:750;font-size:12px}.sheet-dialog textarea{resize:vertical}.sheet-dialog footer{display:flex;justify-content:flex-end;gap:10px}.sheet-group-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}#sheetGroupError{background:#fff0ec;padding:12px;color:#8e332a;border-left:3px solid #af4c3c;border-radius:5px}.sheet-details-row:not([hidden]){animation:sheet-reveal .15s ease-out}@keyframes sheet-reveal{from{opacity:.5;transform:translateY(-3px)}to{opacity:1;transform:none}}@media(max-width:1150px){.mode-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.novelty-sheet{padding:12px}.sheet-table thead{display:none}.sheet-table table,.sheet-table tbody{display:block}.sheet-table tr[data-sheet-row]{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border-bottom:2px solid #cce0da}.sheet-table td{display:block;border:0;padding:0;min-width:0}.sheet-table tr[data-sheet-row]>td:before{content:attr(data-label);display:block;font-size:11px;font-weight:750;color:#395d68;margin-bottom:5px}.sheet-table tr[data-sheet-row]>td:first-child{grid-column:1/-1;display:flex;gap:8px;align-items:center;font-weight:800}.sheet-table tr[data-sheet-row]>td:first-child:before{margin:0}.sheet-table tr[data-sheet-row]>td:last-child{grid-column:1/-1}.sheet-table .sheet-details-row{display:block}.sheet-fields{grid-template-columns:1fr}.sheet-fields .sheet-wide{grid-column:auto}.sheet-toolbar .button{flex:1 1 140px}.sheet-pager{justify-content:space-between}.sheet-pager label,.sheet-pager span{flex:1 1 100%}.sheet-pager select{width:80px}.sheet-dialog{padding:18px}.sheet-dialog footer .button{flex:1}.sheet-group-fields{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.sheet-details-row{animation:none!important}}@media print{.novelty-sheet{display:none}}
