/* POS-X R257 | HR > สรุปเวลาทำงาน. Scoped exclusively to the HR summary route. */
.r257-workspace{box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%;padding:17px 16px 22px!important;color:#1a2e28;background:#f5f8fb;font-family:inherit}
.r257-workspace *{box-sizing:border-box}.r257-workspace svg{width:19px;height:19px;flex:none;stroke-width:2.1}
.r257-heading{display:flex;gap:17px;align-items:center;margin:0 8px 15px}.r257-heading-icon{width:59px;height:59px;border-radius:15px;background:linear-gradient(150deg,#079665,#006443);color:white;box-shadow:0 5px 12px #006d4e33;display:grid;place-items:center}.r257-heading-icon svg{width:31px;height:31px}.r257-heading small{display:block;color:#087b58;font-weight:800;font-size:12px;line-height:1.3}.r257-heading h1{font-size:27px;line-height:1.3;color:#102922;font-weight:850;margin:3px 0 1px!important}.r257-heading p{margin:0;color:#445b52;font-size:12px}
.r257-panel{padding:11px 11px 0;background:#fff;border:1px solid #e0e9e5;border-radius:13px;box-shadow:0 2px 12px #123a3210;min-width:0}
.r257-controls{display:grid;grid-template-columns:285px 240px minmax(170px,1fr) auto auto;align-items:center;gap:12px;margin-bottom:12px}.r257-controls label{display:flex;align-items:center;min-width:0;font-size:12px;font-weight:800;color:#273e33;gap:9px}.r257-controls label>span{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.r257-controls label>span svg{color:#00845a;width:20px;height:20px}.r257-controls select{height:39px;min-width:0;flex:1;border:1px solid #cbd9d3;border-radius:8px;background:#fff;color:#1c342a;padding:0 11px;font-weight:650;font-size:12px}.r257-controls select:disabled{color:#334840;opacity:1;background:#f8faf8}.r257-search{border:1px solid #cbd9d3;border-radius:8px;padding:0 11px;height:39px;background:#fff;gap:8px!important}.r257-search svg{color:#69877b;width:18px;height:18px}.r257-search input{min-width:0;width:100%;border:0!important;outline:none;background:transparent!important;color:#17372a;font-size:12px;height:35px;padding:0}.r257-action{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:9px;height:40px;padding:0 18px;border-radius:8px;border:1px solid #c8d3d1;color:#182e27;background:#fff;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.r257-action.primary{background:linear-gradient(145deg,#07976b,#006847);color:#fff;border-color:#05815c}.r257-action:disabled{opacity:.49;cursor:not-allowed;background:#e8eaee;color:#69717a;border-color:#dce0e5}.r257-action svg{width:20px;height:20px}
.r257-steps{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1.05fr) 18px minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1.04fr);gap:6px;align-items:center;background:linear-gradient(95deg,#e9f6ef,#ebf6f1);padding:14px 16px;border-radius:10px;margin-bottom:13px}.r257-steps>div{display:flex;align-items:center;justify-content:center;gap:11px;min-width:0}.r257-steps>div>svg{width:31px;height:31px;color:#008558}.r257-steps span{display:flex;flex-direction:column;gap:3px;min-width:0}.r257-steps b{font-size:14px;font-weight:850;color:#172d25;white-space:nowrap}.r257-steps small{font-size:10px;line-height:1.4;white-space:normal;color:#445c53}.r257-steps .r257-chevron{color:#00865b;width:19px;height:19px}
.r257-notice{margin:0 0 10px;padding:9px 11px;background:#e7f7ed;border:1px solid #c4e9d2;border-radius:7px;color:#0b6847;font-size:12px}.r257-notice[data-kind=error]{background:#fff1ef;color:#b43227;border-color:#f8cecb}.r257-notice[hidden]{display:none!important}
.r257-scroll{min-width:0;width:100%;overflow-x:auto;border:1px solid #dbe7e1;border-radius:9px}.r257-table{width:100%;min-width:1110px;border-collapse:collapse;font-size:12px;color:#1d3028;font-variant-numeric:tabular-nums;line-height:1.25}.r257-table th{padding:7px 7px;background:#e6f5ed;font-weight:850;text-align:center;white-space:nowrap}.r257-table td{padding:5px 6px;vertical-align:middle;border-top:1px solid #e3eae7;text-align:center;white-space:nowrap}.r257-table th+th,.r257-table td+td{border-left:1px solid #edf2ef}.r257-table tbody tr:hover{background:#f4fbf6;cursor:pointer}.r257-table .r257-name{text-align:left;font-weight:700}.r257-table .r257-name-head{text-align:left}.r257-table .r257-code{font-weight:750}.r257-table .r257-shift{font-size:11px;font-weight:700}.r257-observation-date{display:block;margin-top:2px;font-size:10px;line-height:1.15;font-weight:500;color:#526b61}.r257-table .r257-choose{width:30px}.r257-workspace .r257-table input[type=checkbox]{display:block;width:16px;height:16px;min-width:16px;min-height:0;padding:0;margin:0 auto;accent-color:#008860;cursor:pointer}.r257-table .r257-attention{color:#e62d27;font-weight:800}.r257-table .r257-empty{padding:23px;color:#7a8d82}.r257-edit{border:0;background:none;color:#007a50;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;padding:4px}.r257-edit:hover{background:#e8f7ef;border-radius:6px}.r257-edit svg{width:19px;height:19px}.r257-workspace .r253-pill{font-size:11px;min-width:82px;padding:4px 9px}.r257-workspace .r253-pill.r253-early{background:#fff0ca;color:#ba5b06}.r257-workspace .r253-pill.r253-ot{background:#d8eefc;color:#146da5}
.r257-bottom{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:12px;margin-top:13px;margin-bottom:13px}.r257-month-panel,.r257-total{border:1px solid #e1e9e6;border-radius:10px;min-width:0;padding:9px;background:white}.r257-subhead{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;gap:10px}.r257-subhead h2{display:flex;align-items:center;gap:9px;margin:0!important;color:#24362d;font-size:15px;line-height:1.35;font-weight:800}.r257-subhead h2 svg{color:#008c59;width:22px;height:22px}.r257-subhead h2 span{font-size:12px;font-weight:600}.r257-export{display:inline-flex;align-items:center;border:1px solid #d9e7dd;border-radius:6px;color:#247853;background:#f8fffa;font-size:11px;padding:4px 8px;gap:4px;cursor:pointer}.r257-export svg{width:15px;height:15px}.r257-export:disabled{opacity:.45;cursor:not-allowed}.r257-month-table{font-size:11px;min-width:955px}.r257-month-table th{white-space:normal;padding:6px 5px;line-height:1.3}.r257-month-table td{padding:5px 5px}.r257-month-table .r253-pill{min-width:70px;padding:3px 5px}
.r257-total{padding:0 0 8px}.r257-total h3{background:#e8f5ef;margin:0 0 6px;padding:10px 13px;border-radius:9px 9px 0 0;font-size:15px;line-height:1.4;color:#162b23;display:flex;align-items:center;gap:9px}.r257-total h3 svg{color:#00865b;width:21px;height:21px}.r257-total-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 13px;border-bottom:1px solid #edf1ef;font-size:12px}.r257-total-line:last-child{border-bottom:0}.r257-total-line span{display:flex;align-items:center;gap:10px;white-space:nowrap}.r257-total-line svg{color:#354c44;width:17px;height:17px}.r257-total-line b{text-align:right;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
.r257-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 11px;border-top:1px solid #e7eeea}.r257-footer>span{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.45;color:#587065;min-width:0}.r257-footer>span svg{color:#00895a;width:19px;height:19px}.r257-footer>div{display:flex;align-items:center;gap:11px;flex:none}.r257-footer .r257-action{height:42px;min-width:160px}.r257-loading{padding:35px 24px;color:#516d5d}.r257-failure{color:#b53324}.r257-wide-dialog{width:min(1150px,calc(100vw - 36px))!important}.r257-wide-dialog .r257-table{min-width:880px;font-size:11px}.r257-wide-dialog .r257-table th,.r257-wide-dialog .r257-table td{padding:8px 6px}
@media(max-width:1450px){.r257-controls{grid-template-columns:220px 185px minmax(140px,1fr) auto auto;gap:8px}.r257-action{padding:0 10px}.r257-workspace{padding:12px!important}.r257-steps{padding:11px 9px;gap:3px}.r257-steps b{font-size:12px}.r257-steps small{font-size:9px}.r257-steps>div{gap:6px}.r257-steps>div>svg{width:25px;height:25px}.r257-bottom{grid-template-columns:minmax(0,1fr) 260px}.r257-main-table{min-width:1040px}}
@media(max-width:1150px){.r257-controls{grid-template-columns:1fr 1fr;gap:10px}.r257-controls .r257-search{grid-column:span 2}.r257-controls .r257-action{width:100%}.r257-steps{display:flex;overflow-x:auto;justify-content:space-between}.r257-steps>div{flex:none}.r257-steps small{white-space:nowrap}.r257-bottom{grid-template-columns:1fr}.r257-total{max-width:none}.r257-footer{flex-wrap:wrap}.r257-footer>div{margin-left:auto}}
@media(max-width:640px){.r257-workspace{padding:8px!important}.r257-heading h1{font-size:22px}.r257-heading-icon{width:48px;height:48px}.r257-controls{grid-template-columns:1fr}.r257-controls .r257-search{grid-column:auto}.r257-footer>div{width:100%}.r257-footer .r257-action{min-width:0;flex:1}.r257-subhead h2{font-size:12px}.r257-steps{gap:11px}.r257-table{font-size:11px}}
