/* Accessible, spreadsheet-style salary register. Inputs remain high-contrast during hover/focus. */
.sheet-topline,.sheet-heading,.sheet-board-head,.sheet-board-foot,.sheet-status-strip{display:flex;justify-content:space-between;align-items:center;gap:18px}
.sheet-topline{margin-bottom:16px;flex-wrap:wrap}
.sheet-top-actions{display:flex;gap:8px;flex-wrap:wrap}
.sheet-top-actions .btn{padding:10px 14px}
.sheet-heading{margin-bottom:25px}
.sheet-heading h1{font-size:clamp(29px,3.4vw,43px);margin:0 0 8px;letter-spacing:-1.75px;line-height:1.2}
.sheet-heading p{font-size:12px;color:#6b758a;line-height:1.65;margin:0;max-width:710px}
.sheet-period-dot{color:#595bd6}
.sheet-month-label{font-size:10px;letter-spacing:1.2px;color:#647085;font-weight:800;display:flex;flex-direction:column;gap:9px;min-width:170px}
.sheet-month-label input{border:1px solid #dce2f0;border-radius:11px;height:45px;padding:0 12px;background:#fff;color:#26344a;font-size:14px;font-weight:760}
.sheet-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.sheet-metric{background:white;border:1px solid #e3e8f3;border-radius:15px;min-height:120px;padding:19px 20px;display:flex;flex-direction:column;gap:7px;box-shadow:0 2px 14px #24385b04}
.sheet-metric span{font-size:11px;color:#65728a;font-weight:700}
.sheet-metric strong{font-size:clamp(20px,2.2vw,28px);font-variant-numeric:tabular-nums;letter-spacing:-.7px;color:#1d2d47;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-metric small{font-size:10px;color:#8993a7}
.sheet-status-strip{background:#f0f2fc;border:1px solid #e1e5f7;border-radius:12px;padding:12px 15px;margin-bottom:17px;font-size:11px;color:#525d7a;flex-wrap:wrap}
.sheet-status-strip .status{flex-shrink:0}
.sheet-publish-link{border:0;background:#242f58;color:white;padding:10px 15px;border-radius:9px;font-size:11px;font-weight:800}
.sheet-publish-link:hover{background:#3f488b;color:white}
.sheet-publish-link:disabled{opacity:.4;cursor:not-allowed}
.sheet-board{background:white;border:1px solid #e2e6f0;border-radius:17px;overflow:hidden;box-shadow:0 5px 28px #27385a08}
.sheet-board-head{padding:20px 21px}
.sheet-board-head strong{display:block;font-size:15px;color:#24324a}
.sheet-board-head small{display:block;font-size:11px;line-height:1.6;color:#8190a5;margin-top:5px}
.sheet-board-tools{display:flex;align-items:center;gap:11px}
.sheet-board-tools label{font-size:10px;font-weight:700;color:#7d899d;white-space:nowrap}
.sheet-board-tools input{border:1px solid #dce3ee;border-radius:9px;padding:10px 12px;width:190px;max-width:100%;font-size:12px;color:#24324a;background:#fff}
.sheet-scroller{width:100%;max-height:calc(100vh - 370px);min-height:230px;overflow:auto;overscroll-behavior-x:contain;position:relative;scrollbar-color:#c7cee2 #f3f6fa}
.sheet-table{border-collapse:separate;border-spacing:0;min-width:1690px;width:100%;table-layout:fixed;font-size:11px;font-variant-numeric:tabular-nums}
.sheet-table th{position:sticky;top:0;z-index:3;background:#f0f3fa;border-bottom:1px solid #dde3ee;color:#66748d;padding:14px 9px;text-transform:uppercase;letter-spacing:.5px;font-size:9px;font-weight:840;text-align:right;white-space:nowrap}
.sheet-table th:first-child{left:0;z-index:5;text-align:left;width:190px;border-right:1px solid #e4e9f3;padding-left:17px}
.sheet-table th:nth-child(n+2):nth-child(-n+5){width:108px}
.sheet-table th:nth-child(n+6):nth-child(-n+11){width:110px}
.sheet-table th:nth-child(12){width:120px}
.sheet-table th:nth-child(13){width:110px}
.sheet-table th:nth-child(14){width:100px}
.sheet-table td{border-bottom:1px solid #eff2f7;white-space:nowrap;padding:6px 9px;text-align:right;background:#fff}
.sheet-table tbody tr:hover td{background:#f8faff}
.sheet-table tbody tr:hover td.sheet-identity{background:#f4f6ff}
.sheet-table td.sheet-identity{position:sticky;left:0;z-index:2;border-right:1px solid #e7ecf3;text-align:left;padding:10px 11px 10px 17px;background:#fff}
.sheet-name{display:block;color:#22324a;font-size:11px;font-weight:780;overflow:hidden;text-overflow:ellipsis}
.sheet-identity small{display:block;font-size:10px;color:#92a0b2;margin-top:4px}
.sheet-edit-cell input{border:1px solid transparent;background:#f5f7fc;color:#22334a;font:inherit;text-align:right;font-weight:650;border-radius:7px;padding:10px 8px;width:100%;min-width:76px;outline:none;transition:border-color .15s,background .15s;min-height:34px}
.sheet-edit-cell input:hover:not([readonly]){border-color:#b5bee9;background:#fff;color:#17243a}
.sheet-edit-cell input:focus:not([readonly]){background:#fff;color:#17243a;border-color:#615ed7;box-shadow:0 0 0 2px #6166d718}
.sheet-edit-cell input[readonly]{background:#f7f9fb;color:#657288;cursor:default}
.sheet-edit-cell input::-webkit-outer-spin-button,.sheet-edit-cell input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sheet-edit-cell input[type=number]{appearance:textfield;-moz-appearance:textfield}
.sheet-derived{color:#6e7a8e;font-weight:760;background:#fafbfe!important}
.sheet-net{background:#eff8f4!important;color:#147c59;font-weight:830}
.sheet-row-state{font-size:10px;color:#818da0;font-weight:720}
.sheet-board-foot{background:#fbfcff;border-top:1px solid #e9edf5;padding:13px 20px;font-size:10px;color:#8390a2}
.sheet-tip{padding:14px 16px;color:#657187;background:#f5f8fe;border:1px solid #e8edf8;border-radius:11px;font-size:11px;line-height:1.8;margin-top:16px}
.sheet-tip strong{color:#435273}
.sheet-table tr[hidden]{display:none!important}
@media(max-width:1100px){.sheet-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-scroller{max-height:calc(100vh - 320px)}}
@media(max-width:780px){.sheet-heading{flex-wrap:wrap;align-items:flex-start}.sheet-top-actions{width:100%}.sheet-board-head{flex-wrap:wrap}.sheet-board-tools{width:100%;justify-content:space-between}.sheet-board-tools input{width:min(280px,65vw)}.sheet-scroller{max-height:65vh}.sheet-table th:first-child{width:155px}.sheet-table td.sheet-identity{padding-left:10px}.sheet-metrics{gap:9px}}
@media(max-width:540px){.sheet-top-actions .btn{flex:1;padding:10px 8px}.sheet-metric{padding:13px;min-height:110px}.sheet-metric strong{font-size:19px}.sheet-heading h1{font-size:30px}.sheet-status-strip{align-items:flex-start}.sheet-board-foot{flex-direction:column;align-items:flex-start;gap:6px}}
