:root{--forest:#194f3e;--deep:#153f33;--green:#36755a;--lime:#d7edb6;--ink:#243831;--muted:#6e7c74;--line:#e1e7df;--bg:#f7f9f5;--white:#fff;--amber:#896126;--softamber:#faf0db;--rose:#a34c43;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #8bb85b;outline-offset:4px}a{color:inherit}svg{vertical-align:middle}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.demo-bar{position:fixed;z-index:15;top:0;left:0;right:0;min-height:35px;display:flex;justify-content:center;align-items:center;gap:12px;background:#eef3e8;color:#58684d;border-bottom:1px solid #dce6d3;font-size:11px;padding:7px 12px}.demo-label{font-weight:700;white-space:nowrap}.sidebar{position:fixed;top:35px;left:0;bottom:0;width:234px;padding:32px 20px 20px;background:#fff;border-right:1px solid var(--line);z-index:10;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;padding:0 5px}.brand b{font-size:14px;letter-spacing:1.3px}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:2px}.sidebar-caption{font-size:9px;font-weight:700;letter-spacing:2px;color:#9ba69b;margin:45px 14px 16px}.nav-button{display:flex;width:100%;align-items:center;gap:13px;background:none;border:0;text-align:left;padding:13px 15px;margin:4px 0;border-radius:10px;color:#78867a;font-weight:500}.nav-button:hover{background:#f4f7f0;color:var(--forest)}.nav-button.active{background:#edf4e7;color:var(--forest);font-weight:700}.nav-count{background:#e2eadb;font-size:10px;min-width:21px;height:21px;display:grid;place-items:center;border-radius:6px;margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0;font-size:12px}.workspace-note{display:flex;gap:8px;align-items:center;margin-bottom:12px}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#759a58}.text-button{border:0;background:none;padding:0;color:var(--muted);font-size:12px;display:inline-flex;align-items:center;gap:8px;text-decoration:none}.text-button:hover{color:var(--forest)}.page-shell{margin-left:234px;padding-top:35px}.topbar{height:84px;display:flex;justify-content:space-between;align-items:center;padding:0 40px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.65)}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:16px}.breadcrumb b{font-weight:500;color:var(--ink)}.breadcrumb span{color:#c6cdc2}.topbar-right{display:flex;align-items:center;gap:15px}.role-label{font-size:10px;color:var(--muted)}.role-switch{display:flex;background:#edf1ea;border:1px solid var(--line);padding:3px;border-radius:8px;gap:3px}.role-switch button{border:0;background:none;color:var(--muted);font-size:11px;padding:5px 13px;border-radius:5px}.role-switch button[aria-pressed=true]{background:white;color:var(--forest);box-shadow:0 1px 4px #2339210e;font-weight:700}.avatar{border:1px solid #d6dfcc;border-radius:50%;height:34px;width:34px;background:#e8efdf;color:#637a48;font-size:12px}.mobile-brand{display:none}main{max-width:1250px;margin:0 auto;padding:32px 40px 28px;min-height:calc(100vh - 190px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--muted);margin:0 0 8px;text-transform:uppercase}.page-heading h1{font-size:26px;letter-spacing:1px;margin:0 0 5px;font-weight:650;line-height:1.5}.page-heading p{font-size:12px;color:var(--muted);margin:0}.date-tag{font-size:11px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px;white-space:nowrap;display:flex;gap:9px;align-items:center}.grid-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:22px}.stack{display:flex;flex-direction:column;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.card-head h2{font-size:15px;font-weight:650;margin:0;display:flex;align-items:center;gap:9px}.card-head .icon{width:19px;height:19px}.card-title{font-size:15px;margin:0 0 16px}.pill{font-size:10px;line-height:1.4;border-radius:5px;display:inline-block;padding:5px 8px;background:#edf4e7;color:#3d7250;white-space:nowrap}.pill.amber{background:var(--softamber);color:var(--amber)}.pill.neutral{background:#f0f2ee;color:#6e7c74}.pill.red{background:#faeee8;color:#9d544b}.attendance-card{background:var(--deep);border:0;color:#fff;position:relative;overflow:hidden;min-height:304px;padding:25px 28px}.attendance-card:before,.attendance-card:after{content:"";position:absolute;border:1px solid #ffffff09;width:280px;height:280px;border-radius:50%;right:-130px;top:-120px;pointer-events:none}.attendance-card:after{width:370px;height:370px;right:-160px;top:-160px}.attendance-card .card-head{position:relative;margin-bottom:15px}.attendance-card .card-head h2{font-size:13px;font-weight:500;color:#e2ece3}.attendance-card .pill{background:#ffffff13;color:#dae9d5}.clock-row{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.clock{font-size:55px;font-weight:400;letter-spacing:1px;line-height:1.15;font-variant-numeric:tabular-nums}.clock small{font-size:19px;color:#a5c5b3;margin-left:3px}.clock-label{font-size:10px;color:#9fbdad;margin:7px 0 0;letter-spacing:.3px}.shift-small{text-align:right;font-size:12px;color:#e1e9df}.shift-small small{display:block;font-size:10px;color:#98b8a4;margin-top:2px}.punch-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.punch-button{border:0;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;background:var(--lime);color:#254b2b;font-weight:700;font-size:14px;min-height:51px}.punch-button.secondary{background:#ffffff0c;border:1px solid #66806f;color:#e5ece6}.punch-button:not(:disabled):hover{filter:brightness(1.08)}.punch-foot{display:flex;justify-content:space-between;gap:10px;margin-top:18px;border-top:1px solid #ffffff16;padding-top:12px;color:#b2cabb;font-size:10px}.punch-foot button{color:#d2e7c4;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat-card{padding:18px 17px;border-radius:12px;background:white;border:1px solid var(--line)}.stat-label{font-size:10px;color:var(--muted);margin-bottom:8px;display:flex;align-items:center;gap:5px}.stat-label .icon{height:15px;width:15px}.stat-number{font-size:25px;line-height:1.4;color:#2f503d;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.stat-number small{font-size:10px;margin-left:5px;letter-spacing:0}.stat-note{font-size:9px;color:#8b9586;margin-top:4px}.section-heading{margin:0 0 16px;font-size:14px;font-weight:650;display:flex;justify-content:space-between;align-items:center}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-link{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 10px;display:flex;align-items:center;flex-direction:column;gap:9px;color:var(--ink);font-size:11px;min-height:100px}.quick-link:hover{border-color:#8caa78;transform:translateY(-1px)}.quick-link .icon{width:22px;height:22px;color:#5c7853}.notice-item{display:block;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:17px 0;text-align:left;color:var(--ink)}.notice-item:first-child{padding-top:0}.notice-item:last-child{border-bottom:0;padding-bottom:0}.notice-meta{display:flex;align-items:center;gap:8px;font-size:9px;color:#8c9689;margin-bottom:8px}.notice-item h3{font-size:12px;line-height:1.7;margin:0;font-weight:550;display:flex;align-items:center;gap:7px}.unread-dot{display:inline-block;width:5px;height:5px;background:#729a4c;border-radius:50%;flex-shrink:0}.notice-item p{font-size:10px;color:#8b9585;margin:6px 0 0}.notice-item:hover h3{color:#508242}.line-card{background:#eef4e7;border:1px solid #dce6d1}.line-card h2{font-size:14px;margin:0 0 9px;display:flex;align-items:center;gap:9px}.line-mark{display:inline-flex;align-items:center;justify-content:center;font-size:9px;letter-spacing:-.5px;color:white;font-weight:800;width:29px;height:29px;background:#42a568;border-radius:9px}.line-card p{font-size:11px;color:#708066;margin:0 0 16px;line-height:1.8}.button{border:1px solid #dce3d6;background:white;color:var(--forest);padding:10px 16px;border-radius:8px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:40px}.button:hover{background:#f3f6ee}.button.primary{background:var(--forest);border-color:var(--forest);color:white}.button.primary:hover{background:#28624c}.button.subtle{background:#eef4e7;border-color:#dce6d1}.button.danger{color:#a14b3d;border-color:#e8ccc5}.button.small{font-size:10px;min-height:32px;padding:7px 12px}.button.full{width:100%}.button .icon{width:16px;height:16px}.helper{font-size:11px;color:var(--muted);line-height:1.85;margin:12px 0 0}.info-box{background:#f0f4eb;border:1px solid #e0e8d9;border-radius:10px;color:#65765a;font-size:11px;padding:13px 16px;line-height:1.9}.info-box.amber{background:#faf5e9;border-color:#ece1c9;color:#8b6b3e}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}.form-inline{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}label{display:block;color:#526452;font-size:11px;font-weight:600}input,select,textarea{display:block;width:100%;border:1px solid #d8e1d2;background:white;border-radius:8px;padding:10px 12px;color:#314731;margin-top:6px;font-size:13px;min-height:42px}textarea{resize:vertical;min-height:100px}input:focus,select:focus,textarea:focus{outline:2px solid #bbd5a4;outline-offset:1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span-all{grid-column:1/-1}.form-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}.table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.data-table th{text-align:left;font-weight:500;color:#7b8774;font-size:10px;padding:12px;background:#f4f7f0;border-bottom:1px solid var(--line)}.data-table td{padding:15px 12px;border-bottom:1px solid #edf0e8;color:#425b42}.data-table td:first-child{font-weight:600}.data-table tr:last-child td{border-bottom:0}.data-table .accent{color:#9a703b}.tabular{font-variant-numeric:tabular-nums}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:20px}.summary-strip>div{padding:18px 22px;border-right:1px solid var(--line)}.summary-strip>div:last-child{border-right:0}.summary-strip small{display:block;color:var(--muted);font-size:10px}.summary-strip strong{font-size:23px;font-weight:500;color:#31553a}.summary-strip strong span{font-size:11px;margin-left:4px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.filter{font-size:11px;border:1px solid var(--line);padding:7px 15px;background:#fff;color:#73816c;border-radius:7px}.filter.active{background:#e6efdd;border-color:#cbdcb8;color:#395e30;font-weight:700}.search-box{position:relative;max-width:360px;width:100%}.search-box input{margin:0;padding-left:36px}.search-box>.icon{position:absolute;left:11px;top:12px;width:17px;height:17px;color:#91a085}.doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.doc-card{display:flex;flex-direction:column;min-height:235px}.doc-cover{width:45px;height:51px;border-radius:9px;background:#edf3e6;display:grid;place-items:center;color:#759456;margin-bottom:17px}.doc-cover .icon{width:24px;height:24px}.doc-card h2{font-size:14px;margin:0 0 5px}.doc-card p{font-size:11px;color:var(--muted);margin:0 0 18px}.doc-card .button{margin-top:auto}.doc-status{margin:0 0 18px;font-size:10px;color:#719151}.empty{text-align:center;padding:35px 20px;color:var(--muted);font-size:12px}.pay-feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.pay-feature-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.pay-feature h2{font-size:15px;margin:0}.pay-amount-label{color:var(--muted);font-size:11px;margin:28px 0 0}.pay-amount{font-size:38px;font-weight:450;color:#254e35;letter-spacing:1px;line-height:1.7;font-variant-numeric:tabular-nums}.pay-amount span{font-size:16px;margin-left:7px}.pay-meta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:12px 0 22px;gap:15px}.pay-meta div{font-size:10px;color:var(--muted)}.pay-meta b{display:block;color:#455f46;font-size:15px;font-weight:500;margin-top:3px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.list-row:last-child{border:0}.list-row small{color:var(--muted);display:block;font-size:10px}.timeline{list-style:none;padding:0;margin:0}.timeline li{display:grid;grid-template-columns:30px 1fr;gap:12px;margin:0 0 22px;font-size:12px}.step-number{width:27px;height:27px;background:#edf3e5;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#65844a}.timeline h3{margin:0 0 4px;font-size:12px}.timeline p{margin:0;color:var(--muted);font-size:11px}.phone-preview{max-width:310px;margin:8px auto;border:7px solid #2e493a;border-radius:28px;background:#e5ebe4;overflow:hidden;box-shadow:0 15px 30px #1b382615}.phone-top{padding:18px 15px 13px;text-align:center;background:#fff;font-size:12px;font-weight:700}.phone-chat{padding:24px 15px 18px;min-height:230px}.chat-bubble{border:1px solid #d9e1d4;border-radius:14px;background:#fff;padding:17px;font-size:11px;color:#4d6351;line-height:1.9}.chat-bubble b{font-size:12px;color:#284d37;display:block;margin-bottom:10px}.chat-time{text-align:right;color:#8a9886;font-size:9px;margin-top:6px}.rich-menu{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#d5e0ce;border-top:1px solid #d5e0ce}.rich-menu button{border:0;background:#f5f8ef;padding:15px 7px;color:#47603d;font-size:10px;display:flex;gap:5px;flex-direction:column;align-items:center}.rich-menu .icon{height:19px}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:13px 0;font-size:12px}.switch-row input{width:17px;min-height:17px;margin:0;accent-color:var(--forest)}.page-footer{max-width:1250px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 40px 30px;font-size:9px;color:#8b9784}.page-footer button{font-size:9px}.mobile-nav{display:none}dialog{border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 30px 100px #18362135;max-width:min(620px,calc(100vw - 32px));width:620px;max-height:calc(100dvh - 60px);padding:0;color:var(--ink)}dialog::backdrop{background:#15291f66;backdrop-filter:blur(3px)}.modal-header{padding:22px 26px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-header h2{font-size:17px;margin:0}.icon-button{border:0;background:#f0f4eb;color:#69805a;border-radius:7px;width:32px;height:32px;display:grid;place-items:center}.modal-body{padding:23px 26px 26px}.modal-body h3{font-size:14px;margin:22px 0 10px}.modal-body p{font-size:12px;line-height:1.95}.content-pre{white-space:pre-wrap;font-size:12px;line-height:2}.detail-list{margin:15px 0;display:grid;gap:0}.detail-list>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-list>div.total{font-weight:700;color:var(--forest);font-size:14px;border-bottom:2px solid #a7bea0}.print-header{text-align:center;padding:10px 0 20px;border-bottom:2px solid var(--forest)}.print-header h2{font-size:22px}.print-sample{font-size:11px;color:#9c624b;margin-top:10px}.error-message{color:#a74d40;font-size:11px;margin:12px 0 0;min-height:18px}.inline-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:400}.inline-check input{width:17px;min-height:17px;margin-top:4px;flex-shrink:0}.audit-entry{font-size:10px;color:#76876c;padding:13px 0;border-bottom:1px solid var(--line)}#toast{position:fixed;bottom:30px;left:calc(50% + 117px);transform:translateX(-50%);padding:12px 23px;background:#214c36;color:white;border-radius:10px;box-shadow:0 10px 30px #223a2325;font-size:12px;opacity:0;pointer-events:none;transition:opacity .15s;max-width:90vw;z-index:100}#toast.visible{opacity:1}#print-area{display:none}.skip-link{position:fixed;top:-100px;left:20px;background:#fff;padding:12px;z-index:200}.skip-link:focus{top:45px}.subheading{font-size:12px;color:var(--muted);margin:0 0 20px}.top-space{margin-top:20px}.admin-metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.admin-metric{padding:20px 23px}.admin-metric small{color:var(--muted);font-size:11px;display:block}.admin-metric strong{font-size:30px;font-weight:500;line-height:1.8}.admin-metric strong span{font-size:11px;margin-left:6px}.admin-menu{display:flex;gap:8px;flex-wrap:wrap}.muted{color:var(--muted)}
@media(min-width:1500px){main{padding-top:45px}.grid-main{gap:28px}.attendance-card{min-height:325px;padding:28px 32px}.clock{font-size:63px}.punch-actions{margin-top:28px}.card{padding:27px}}
@media(max-width:1100px){.sidebar{width:200px;padding-left:13px;padding-right:13px}.page-shell{margin-left:200px}.topbar{padding:0 26px}main{padding:28px 26px}.page-footer{padding-left:26px;padding-right:26px}.grid-main{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:17px}.card{padding:20px}.attendance-card{padding:23px}.clock{font-size:46px}.shift-small{font-size:10px}.stat-card{padding:16px 12px}.stat-number{font-size:23px}.doc-grid{grid-template-columns:repeat(2,1fr)}#toast{left:calc(50% + 100px)}}
@media(max-width:860px){.sidebar{width:180px}.page-shell{margin-left:180px}.brand{gap:7px}.brand b{font-size:11px}.brand small{font-size:10px}.brand img{width:31px;height:31px}.nav-button{font-size:12px;padding:13px 10px;gap:9px}.grid-main{grid-template-columns:1fr}.grid-main>.stack:last-child{display:grid;grid-template-columns:1.3fr 1fr;align-items:start}.two-col{grid-template-columns:1fr}.clock{font-size:54px}.attendance-card{min-height:290px}.desktop-only{display:none}.summary-strip>div{padding:15px}.summary-strip strong{font-size:20px}.page-heading h1{font-size:23px}#toast{left:calc(50% + 90px)}}
@media(max-width:640px){body{font-size:14px}.demo-bar{position:relative;min-height:47px;gap:8px;font-size:9px;line-height:1.5;padding:8px 14px;text-align:left}.demo-label{max-width:74px;white-space:normal;flex-shrink:0;font-size:9px}.sidebar{display:none}.page-shell{margin-left:0;padding-top:0}.topbar{height:69px;padding:0 18px;background:#fff;gap:7px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand b{font-size:10px;letter-spacing:1px}.topbar-right{gap:9px}.role-switch button{font-size:10px;padding:4px 9px}.avatar{height:29px;width:29px;font-size:10px}main{padding:25px 18px 22px;min-height:calc(100vh - 250px)}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:21px;letter-spacing:0}.page-heading p{font-size:11px}.eyebrow{font-size:8px;margin-bottom:6px;letter-spacing:1.2px}.date-tag{font-size:9px;padding:5px 7px;margin-top:8px}.date-tag .icon{display:none}.card{padding:21px}.attendance-card{padding:22px;min-height:282px;border-radius:15px}.clock{font-size:50px}.clock small{font-size:18px}.clock-label{font-size:9px}.shift-small{font-size:11px}.shift-small small{font-size:9px}.punch-actions{margin-top:23px;gap:11px}.punch-button{padding:11px;font-size:13px;min-height:49px}.punch-foot{font-size:9px;margin-top:17px;padding-top:13px}.punch-foot button{font-size:9px}.grid-main{gap:20px}.stack{gap:17px}.grid-main>.stack:last-child{display:flex}.stats-grid{gap:9px}.stat-card{padding:15px 12px}.stat-label{font-size:9px;gap:5px}.stat-label .icon{width:13px;height:13px}.stat-number{font-size:23px}.stat-number small{font-size:8px}.stat-note{font-size:8px}.quick-grid{gap:10px}.quick-link{padding:16px 7px;font-size:10px;min-height:90px}.section-heading{font-size:13px}.card-head h2{font-size:14px}.notice-item h3{font-size:12px}.notice-item p{font-size:10px}.mobile-nav{display:grid;grid-template-columns:repeat(6,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dce5d6;padding:9px 5px max(9px,env(safe-area-inset-bottom));z-index:20;box-shadow:0 -5px 25px #1e3d1b05}.mobile-nav .nav-button{flex-direction:column;gap:4px;margin:0;padding:4px 0;border-radius:6px;font-size:9px;text-align:center;justify-content:center}.mobile-nav .icon{height:21px;width:21px}.mobile-nav .nav-count{display:none}.mobile-nav .nav-button.active{background:transparent;color:#2b643c}.page-footer{padding:8px 18px 100px;font-size:8px;flex-direction:column;align-items:flex-start;gap:6px}.page-footer button{font-size:8px}.toolbar{gap:12px}.form-inline{gap:9px}.form-inline label{max-width:180px}.summary-strip{grid-template-columns:repeat(2,1fr)}.summary-strip>div:nth-child(2){border-right:0}.summary-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.summary-strip>div{padding:13px 16px}.summary-strip strong{font-size:22px}.form-grid{gap:13px}.form-grid label{font-size:10px}input,select,textarea{font-size:16px;padding:9px 10px}.doc-grid{grid-template-columns:1fr}.doc-card{min-height:210px}.doc-cover{margin-bottom:12px}.doc-card p{margin-bottom:13px}.modal-header{padding:19px 19px 15px}.modal-body{padding:20px}.modal-header h2{font-size:15px}.admin-metric-grid{gap:9px}.admin-metric{padding:16px 12px}.admin-metric small{font-size:9px}.admin-metric strong{font-size:25px}.admin-metric strong span{font-size:8px}.pay-feature{padding:23px}.pay-amount{font-size:35px}.info-box{font-size:10px;padding:12px 14px}.button{font-size:11px}.page-heading>.button{white-space:nowrap;padding:8px 10px}.page-heading>.button .icon{display:none}.data-table{font-size:10px}.data-table th,.data-table td{padding:12px 9px}#toast{bottom:95px;left:50%;font-size:11px;width:max-content;max-width:90vw}.phone-preview{max-width:290px}.print-header h2{font-size:19px}.helper{font-size:10px}.notice-meta{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;color:#111;font-size:12px}body>*{display:none!important}#print-area{display:block!important;padding:20px;max-width:800px;margin:auto}.detail-list>div{font-size:12px;padding:8px 0}.info-box{border:1px solid #ccc}.print-sample{color:#333}.print-header{border-color:#444}.two-col{display:grid;grid-template-columns:1fr 1fr}.card{border:1px solid #ccc;box-shadow:none}h2,h3{break-after:avoid}.print-header h2{font-size:22px}@page{size:A4;margin:14mm}}

/* TKC CSV import and payslip review */
.payroll-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}.payroll-flow>div{background:#eaf1e4;border:1px solid #dce6d1;padding:18px 20px;border-radius:12px}.payroll-flow span{display:block;font-size:10px;letter-spacing:1px;color:#7e946f;margin-bottom:4px}.payroll-flow b{font-size:13px;display:block}.payroll-flow small{font-size:10px;color:var(--muted)}.payroll-stage{padding-top:24px;margin-top:24px;border-top:1px solid var(--line)}.payroll-stage-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.payroll-stage-heading>span:first-child{border-radius:50%;width:26px;height:26px;background:#e8f0df;display:grid;place-items:center;font-size:12px;color:var(--forest)}.payroll-stage-heading h3{font-size:14px;margin:0}.payroll-stage-heading>.pill{margin-left:auto}.payroll-file-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:15px}.payroll-file-info{display:flex;align-items:center;gap:12px;background:#f4f7f0;padding:13px 15px;border-radius:9px;margin-top:17px;overflow-wrap:anywhere}.payroll-file-info b{font-size:12px}.payroll-file-info small{display:block;font-size:10px;color:var(--muted)}.payroll-detail-settings{margin-top:22px;border:1px solid var(--line);border-radius:10px;padding:15px}.payroll-detail-settings summary{cursor:pointer;font-size:12px;font-weight:600}.payroll-detail-settings summary span{font-size:10px;margin-left:8px;font-weight:400}.payroll-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.payroll-column-grid label{min-width:0}.payroll-column-grid label>span{display:block;overflow-wrap:anywhere}.payroll-column-grid select{font-size:11px;min-height:38px;padding:8px}.payroll-errors{border:1px solid #e8c7bf;border-radius:10px;padding:16px 18px;background:#fff5f0;font-size:12px;color:#934b3e;margin-top:22px}.payroll-errors ul{margin:8px 0 0;padding-left:18px}.payroll-errors li+li{margin-top:6px}.payroll-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.payroll-totals>div{background:#f2f6ed;padding:13px 14px;border-radius:9px;min-width:0}.payroll-totals small{display:block;font-size:10px;color:var(--muted)}.payroll-totals strong{font-size:18px;font-variant-numeric:tabular-nums;display:block;overflow-wrap:anywhere}.payroll-totals strong span{font-size:10px;margin-left:3px;font-weight:400}.payroll-table td small{display:block;font-size:10px;color:var(--muted);font-weight:400}.payroll-batch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.payroll-batch:last-of-type{border:0}.payroll-batch b{font-size:13px}.payroll-batch small{font-size:10px;color:var(--muted);display:block;margin:4px 0 9px;overflow-wrap:anywhere}.payroll-batch-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;flex-shrink:0;max-width:50%}.payroll-import input[type=file]{font-size:12px;background:#fbfcf8;max-width:100%}.payroll-import input[type=file]::file-selector-button{border:1px solid #cedbc4;color:var(--forest);background:#edf4e7;border-radius:5px;padding:6px 11px;margin-right:12px;font:inherit;cursor:pointer}.payroll-import .form-grid label{min-width:0}.payroll-import select{max-width:100%}
@media(max-width:860px){.payroll-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-flow{gap:9px}.payroll-flow>div{padding:14px}.payroll-flow b{font-size:11px}}
@media(max-width:640px){.payroll-flow{grid-template-columns:1fr;gap:8px}.payroll-flow>div{display:grid;grid-template-columns:22px 1fr;column-gap:11px;padding:12px 15px}.payroll-flow span{grid-row:1/3;margin:1px 0 0}.payroll-flow b{font-size:12px}.payroll-flow small{grid-column:2}.payroll-import{padding:20px 17px}.payroll-import>.card-head{align-items:flex-start;flex-direction:column}.payroll-import .form-grid{grid-template-columns:1fr}.payroll-import .form-grid .span-all{grid-column:auto}.payroll-stage-heading h3{font-size:12px}.payroll-stage-heading{gap:8px}.payroll-column-grid{grid-template-columns:1fr}.payroll-column-grid label{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:10px}.payroll-column-grid select{margin:0;font-size:13px}.payroll-totals{gap:9px}.payroll-totals strong{font-size:19px}.payroll-batch{align-items:flex-start;flex-direction:column;gap:11px}.payroll-batch-actions{justify-content:flex-start;max-width:100%;flex-shrink:1}.payroll-detail-settings{padding:13px}.payroll-import input[type=file]{font-size:11px}.payroll-stage .inline-check{font-size:11px}}

/* Expanded portal navigation */
.sidebar .brand,.sidebar-caption,.sidebar-bottom{flex-shrink:0}
.sidebar-caption{margin-top:25px;margin-bottom:10px}
#desktop-nav{min-height:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:12px}
#desktop-nav .nav-button{padding-top:10px;padding-bottom:10px;min-height:44px}
.sidebar-bottom{padding-top:16px}
.portal-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 24px}
.portal-shortcuts>button{display:flex;align-items:center;gap:13px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 18px;color:var(--ink);min-width:0}
.portal-shortcuts>button:hover{border-color:#98af86;background:#fbfdf8}
.portal-shortcut-icon{display:grid;place-items:center;flex-shrink:0;width:39px;height:42px;border-radius:10px;background:#edf3e6;color:var(--forest)}
.portal-shortcuts b{display:block;font-size:12px;line-height:1.65}
.portal-shortcuts small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.portal-shortcuts>button>.icon{margin-left:auto;width:16px;height:16px;color:#9aa68e}
@media(max-width:1100px){.portal-shortcuts{gap:9px}.portal-shortcuts>button{padding:14px 12px;gap:9px}.portal-shortcuts small{font-size:9px}.portal-shortcuts>button>.icon{display:none}.portal-shortcut-icon{width:32px;height:37px}}
@media(max-width:640px){.portal-shortcuts{gap:8px;margin-bottom:19px}.portal-shortcuts>button{flex-direction:column;text-align:center;gap:8px;padding:13px 5px}.portal-shortcuts b{font-size:10px;line-height:1.6}.portal-shortcuts small{display:none}.portal-shortcut-icon{width:32px;height:32px;background:transparent}}

/* Local shops entry */
.local-home-card{background:#fffaf0;border-color:#e8dfcb}.local-home-eyebrow{display:block;font-size:10px;font-weight:650;color:#9b855c;letter-spacing:1px;margin-bottom:12px}.local-home-card h2{font-size:14px;margin:0 0 10px;display:flex;align-items:center;gap:8px}.local-home-card h2 .icon{width:20px;height:20px;color:#927746}.local-home-card p{font-size:11px;color:#897c63;margin:0 0 18px;line-height:1.9}.local-home-card .button{color:#746035;border-color:#dcd1b9;background:#fff}.local-home-card>small{display:block;text-align:center;font-size:9px;color:#a1977f;margin-top:12px}
/* Safety hub navigation */
.safety-home-card{background:#eef4e8;border-color:#d8e4cb}.safety-home-card .card-head{margin-bottom:13px}.safety-home-card h2{font-size:14px}.safety-home-card p{font-size:12px;color:#64765b;margin:0}.safety-home-tags{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0 20px}.safety-home-tags span{background:#fff9;border:1px solid #dce6d3;border-radius:5px;padding:4px 7px;font-size:9px;color:#687f58}.safety-home-card>small{display:block;text-align:center;margin-top:12px;font-size:9px;color:#76896b}.safety-doc-link{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
@media(max-width:640px){.mobile-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.mobile-nav .nav-button{min-width:0;font-size:9px}.mobile-nav .nav-button span{white-space:nowrap}.safety-doc-link{align-items:flex-start;flex-direction:column}.safety-home-card h2{font-size:13px}}

/* Safety documents, heat planning and private sample forms */
.safety-shell{min-width:0}
.safety-start-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;background:var(--deep);border-radius:14px;color:#edf4e8;margin-bottom:22px}
.safety-start-guide b{font-size:13px;font-weight:600}
.safety-start-guide p{font-size:11px;color:#b6cab8;margin:5px 0 0}
.safety-start-guide .button{flex-shrink:0;border-color:#68816d;background:#ffffff0b;color:#e8f1e2;font-size:11px}
.safety-start-guide .button:hover{background:#ffffff18}
.safety-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:6px;border:1px solid var(--line);background:#edf1e9;border-radius:12px;margin-bottom:23px}
.safety-tab{border:0;border-radius:8px;background:transparent;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px;color:#75826d;font-size:12px;white-space:nowrap}
.safety-tab .icon{width:18px;height:18px}
.safety-tab:hover{color:var(--forest);background:#ffffff70}
.safety-tab.active{background:#fff;color:var(--forest);font-weight:700;box-shadow:0 2px 5px #213a2010}
.safety-panel{min-width:0}
.safety-sample-notice{display:flex;gap:12px;align-items:flex-start;padding:17px 19px;border:1px solid #e6ddc6;border-radius:12px;background:#fcf8ee;color:#80683c;margin-bottom:20px}
.safety-sample-notice>.icon{width:19px;height:19px;margin-top:2px}
.safety-sample-notice b{font-size:12px}
.safety-sample-notice p{font-size:11px;line-height:1.9;margin:3px 0 0;color:#8a795a}
.safety-contact-guide{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;border-top:1px solid var(--line);padding:18px 2px 2px;font-size:11px;color:var(--muted)}
.safety-contact-guide .text-button{flex-shrink:0;font-size:11px;color:var(--forest)}
.safety-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:20px}
.safety-doc-card{display:flex;flex-direction:column;padding:22px}
.safety-doc-card .card-head{margin-bottom:19px}
.safety-doc-icon{display:grid;place-items:center;border-radius:10px;background:#edf3e6;width:42px;height:47px;color:#6e8b54}
.safety-doc-icon .icon{width:22px;height:22px}
.safety-doc-card h2{font-size:14px;line-height:1.8;margin:0 0 14px;min-height:50px}
.safety-document-meta{margin:0 0 23px;font-size:10px}
.safety-document-meta>div{display:flex;gap:10px;padding:6px 0;border-bottom:1px solid #edf0e9}
.safety-document-meta dt{color:#899580;min-width:47px}
.safety-document-meta dd{margin:0;color:#5d7157;overflow-wrap:anywhere}
.safety-doc-card .button{margin-top:auto;font-size:11px}
.safety-document-body{margin-top:24px}
.safety-document-body section+section{margin-top:22px}
.safety-document-body h3{margin:0 0 8px}
.safety-document-body p{margin:0;color:#63765e}
.safety-location-card{padding:19px 22px;margin-bottom:20px}
.safety-location-card .form-grid{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);align-items:center;gap:32px}
.safety-location-summary{font-size:11px;display:flex;flex-direction:column;gap:3px;color:var(--muted);border-left:1px solid var(--line);padding-left:27px}
.safety-location-summary b{font-size:12px;color:#476140;margin-bottom:2px}
.safety-weather-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.safety-weather-card{padding:20px 22px;background:#fff}
.safety-weather-card .card-head{margin-bottom:22px}
.safety-weather-card h2{font-size:13px}
.safety-weather-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.safety-weather-values>div+div{border-left:1px solid var(--line);padding-left:14px}
.safety-weather-values span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
.safety-weather-values strong{display:block;font-size:30px;line-height:1.45;letter-spacing:-.5px;font-weight:500;font-variant-numeric:tabular-nums;color:#31523d}
.safety-weather-values strong small{font-size:12px;margin-left:3px;color:#8c9786}
.safety-weather-values>div+div strong{color:#926f3e}
.safety-weather-card .helper{font-size:9px;border-top:1px solid #edf0e8;padding-top:13px;margin-top:17px}
.safety-form{margin-top:22px}
.safety-form .form-grid>label{min-width:0}
.safety-form select{max-width:100%}
.safety-form .form-actions{margin-top:15px}
.safety-form .error-message:empty{display:none}
.safety-measurement-result{margin-top:25px;padding:20px 22px;border:1px solid #dbe6d2;border-radius:12px;background:#f7faf3}
.safety-measurement-result h3{font-size:13px;margin:0}
.safety-result-list{margin:15px 0 0;font-size:12px}
.safety-result-list>div{display:grid;grid-template-columns:minmax(90px,.75fr) minmax(0,1.75fr);gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}
.safety-result-list>div:last-child{border-bottom:0}
.safety-result-list dt{font-size:11px;color:var(--muted)}
.safety-result-list dd{margin:0;color:#45633f;overflow-wrap:anywhere}
.health-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:27px 0 15px}
.health-preview-heading h2{font-size:14px;margin:0}
.health-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.health-preview-grid h3{font-size:13px;margin:0;display:flex;gap:8px;align-items:center}
.health-preview-grid h3 .icon{width:18px;height:18px}
.health-preview-grid p{font-size:11px;color:var(--muted);line-height:1.9}
.health-private-card{background:#fbfcf9}
.health-company-card{border-color:#d4e1c9;background:#eef5e7}
.health-minimal-share{border:1px solid #d5e2c8;border-radius:9px;padding:17px;background:#fff;color:#3f6334;font-size:13px;font-weight:600;margin-top:22px}
.health-admin-notice{text-align:center;padding:40px 30px}
.health-admin-notice>.icon{width:34px;height:34px;color:#7e9a69;margin-bottom:12px}
.health-admin-notice h2{font-size:16px;margin:0 0 14px}
.health-admin-notice p{font-size:12px;max-width:560px;margin:12px auto 0;color:var(--muted);line-height:1.9}
.wellbeing-intro>p,.wellbeing-result>p,.safety-panel>section.top-space>p{font-size:12px;color:var(--muted);line-height:1.9}
.wellbeing-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wellbeing-questions label{min-width:0;background:#f5f8f0;border:1px solid #e4ebdd;border-radius:10px;padding:17px 16px}
.wellbeing-question-number{display:block;font-size:12px;color:#96a588;font-weight:400;letter-spacing:2px;margin-bottom:11px}
.wellbeing-questions select{font-size:12px;margin-top:12px}
.wellbeing-intro .card-head{flex-wrap:wrap}
.wellbeing-result{border-color:#d5e3c9;background:#f6faf1}
.safety-panel>section.top-space>h3{font-size:14px;margin:0 0 12px}
.safety-panel>section.top-space>.text-button{margin-top:15px}
.safety-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:20px}
.safety-contact-card .card-head{margin-bottom:13px}
.safety-contact-card p{font-size:11px;color:var(--muted);margin:0;line-height:1.9}
.safety-emergency-card{border-color:#e4d6c4;background:#fcf9f3}
.safety-emergency-card p{font-size:12px;color:#85785f}
.safety-emergency-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.safety-emergency-actions .button{border-color:#e0cfb8;color:#7a5b32;background:#fff}
.safety-check-list{font-size:12px;line-height:1.9;margin:24px 0 0;padding-left:23px}
.safety-check-list li{padding:7px 0}
@media(max-width:1100px){.safety-doc-grid,.safety-weather-grid{gap:12px}.safety-doc-card,.safety-weather-card{padding:18px}.safety-doc-card h2{font-size:13px}.safety-weather-values strong{font-size:26px}.safety-weather-card .pill{font-size:8px}.wellbeing-questions{grid-template-columns:1fr}.wellbeing-questions label{display:grid;grid-template-columns:25px minmax(0,1fr) minmax(130px,1.1fr);align-items:center;gap:12px}.wellbeing-question-number,.wellbeing-questions select{margin:0}.wellbeing-questions select{font-size:13px}}
@media(max-width:860px){.safety-doc-grid{grid-template-columns:1fr}.safety-doc-card h2{min-height:0}.safety-start-guide{align-items:flex-start;flex-direction:column;gap:14px}.safety-tab{gap:7px;font-size:11px;padding:9px 5px}.safety-tab .icon{width:16px;height:16px}.safety-weather-card .card-head{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:15px}.safety-weather-values{gap:8px}.safety-weather-values>div+div{padding-left:8px}.safety-weather-values strong{font-size:23px}.safety-weather-values span{font-size:8px}.health-preview-grid{grid-template-columns:1fr}.safety-contact-grid{grid-template-columns:1fr}.safety-location-card .form-grid{gap:17px}.safety-location-summary{padding-left:16px}}
@media(max-width:640px){.safety-start-guide{padding:18px;gap:14px}.safety-start-guide b{font-size:12px}.safety-start-guide p{font-size:10px}.safety-start-guide .button{font-size:10px;min-height:36px}.safety-tabs{padding:5px;gap:3px;margin-bottom:19px}.safety-tab{flex-direction:column;gap:5px;padding:9px 2px;font-size:10px;min-height:59px}.safety-tab .icon{width:18px;height:18px}.safety-sample-notice{padding:14px;gap:9px}.safety-sample-notice b{font-size:11px}.safety-sample-notice p{font-size:10px}.safety-contact-guide{align-items:flex-start;flex-direction:column;gap:10px;font-size:10px}.safety-contact-guide .text-button{font-size:11px}.safety-doc-grid{gap:13px}.safety-doc-card{padding:21px}.safety-doc-card h2{font-size:14px}.safety-doc-card .card-head{margin-bottom:15px}.safety-location-card{padding:19px}.safety-location-card .form-grid{grid-template-columns:1fr;gap:17px}.safety-location-summary{border-left:0;border-top:1px solid var(--line);padding:15px 0 0;font-size:10px}.safety-weather-grid{grid-template-columns:1fr;gap:13px}.safety-weather-card{padding:18px 21px}.safety-weather-card .card-head{flex-direction:row;align-items:center;margin-bottom:15px}.safety-weather-card .pill{font-size:9px}.safety-weather-values{gap:18px}.safety-weather-values>div+div{padding-left:21px}.safety-weather-values span{font-size:10px}.safety-weather-values strong{font-size:32px}.safety-weather-card .helper{font-size:9px;margin-top:13px;padding-top:10px}.safety-form .form-grid{grid-template-columns:1fr;gap:17px}.safety-form .form-grid label{font-size:11px}.safety-form .form-grid .span-all{grid-column:auto}.safety-form .form-actions{gap:9px}.safety-form .form-actions>.button{flex:1;min-width:120px}.safety-measurement-result{padding:17px}.safety-result-list>div{grid-template-columns:minmax(68px,.7fr) minmax(0,1.6fr);gap:12px;font-size:11px}.safety-result-list dt{font-size:10px}.health-preview-heading{align-items:flex-start;flex-direction:column;gap:8px}.health-preview-grid h3{font-size:12px}.health-preview-grid p{font-size:11px}.health-admin-notice{padding:29px 20px}.health-admin-notice h2{font-size:14px}.health-admin-notice p{font-size:11px}.wellbeing-intro .card-head{gap:12px}.wellbeing-intro .card-head .pill{white-space:normal;font-size:9px}.wellbeing-questions label{display:block;font-size:11px;padding:16px}.wellbeing-question-number{margin-bottom:8px}.wellbeing-questions select{margin-top:10px;font-size:16px}.safety-panel>section.top-space>.button{line-height:1.7;text-align:center}.safety-emergency-actions{flex-direction:column;gap:10px}.safety-emergency-actions .button{justify-content:flex-start}.safety-emergency-card p{font-size:11px}}

/* Keep payroll controls readable at smartphone widths. */
@media(max-width:640px){.payroll-import input:not([type=checkbox]),.payroll-import select{font-size:16px;min-width:0;max-width:100%}.payroll-column-grid label{grid-template-columns:minmax(0,1fr) 148px}}

/* Independent payslip names retain a visible link to each source column. */
.payroll-label-scope{margin-top:22px;padding:18px;background:#f3f7ef;border:1px solid #dfe8d6;border-radius:10px}
.payroll-label-scope>label{display:block;max-width:470px;font-size:12px;font-weight:600}
.payroll-label-scope select{display:block;width:100%;margin-top:8px;min-height:43px;font-size:14px;background:#fff}
.payroll-label-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:15px 18px;background:#fafcf8;border:1px solid var(--line);border-radius:10px}
.payroll-label-summary>div{min-width:0}
.payroll-label-summary b{font-size:12px}
.payroll-label-summary p{margin:4px 0 0}
.payroll-label-summary .button{flex-shrink:0}
.payroll-label-fields{margin-top:15px;border-top:1px solid var(--line)}
.payroll-label-row{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(140px,.75fr) minmax(180px,1.4fr);gap:16px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.payroll-label-row:last-child{border-bottom:0;padding-bottom:0}
.payroll-label-row>*{min-width:0}
.payroll-label-row label{display:block;font-size:11px;color:var(--muted)}
.payroll-label-source{padding-top:2px;overflow-wrap:anywhere}
.payroll-label-source small{display:block;font-size:10px;color:var(--muted)}
.payroll-label-source strong{display:block;font-size:12px;font-weight:600;color:var(--ink);margin-top:9px}
.payroll-label-row input,.payroll-label-row select{display:block;width:100%;min-height:42px;font-size:13px;margin-top:6px;background:#fff}
.payroll-label-row input::placeholder{color:#7e8a80;font-size:12px}
.payroll-label-row input:focus-visible{outline:2px solid #8bb85b;outline-offset:2px}
.payroll-label-meta{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}
.payroll-payslip-lines>div>span:first-child{min-width:0;overflow-wrap:anywhere}
.payroll-payslip-lines>div>span:last-child{flex-shrink:0;white-space:nowrap}
@media(max-width:860px){.payroll-label-row{grid-template-columns:minmax(110px,.85fr) minmax(120px,.75fr) minmax(140px,1.4fr);gap:12px}.payroll-label-summary{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:640px){.payroll-label-scope{padding:14px}.payroll-label-scope>label{font-size:12px}.payroll-label-scope select{font-size:16px}.payroll-label-summary{padding:14px}.payroll-label-summary .button{width:100%}.payroll-label-row{grid-template-columns:1fr;gap:12px;padding:17px 0}.payroll-label-source{display:flex;align-items:baseline;gap:12px;justify-content:space-between}.payroll-label-source strong{margin:0;text-align:right}.payroll-label-source small{flex-shrink:0}.payroll-label-import{display:grid!important;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:12px}.payroll-label-import select{margin:0}.payroll-label-row input,.payroll-label-row select{font-size:16px;min-height:44px}.payroll-label-meta{font-size:11px}.payroll-label-row input::placeholder{font-size:14px}}
