/* People, Finance, and Settings: the same quiet grouped surfaces as Overview. */
.hr-workspace,.f-workspace,.s-workspace{font:13px/1.55 var(--body);min-width:0;color:var(--ink)}
.hr-workspace :is(h2,h3,h4),.f-workspace :is(h2,h3,h4),.s-workspace :is(h2,h3,h4){font-family:var(--display);color:var(--ink)}
.hr-workspace .card,.f-workspace .card,.s-workspace .card{border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.hr-kicker,.f-kicker,.s-kicker{font:600 11px/1.45 var(--body);letter-spacing:.35px;color:var(--muted)}
.hr-workspace .module-topbar{align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.hr-tabs{gap:3px!important;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--surface-subtle);overflow-x:auto;scrollbar-width:none}
.hr-tabs::-webkit-scrollbar{display:none}
.hr-tabs .tab{min-height:42px;padding:8px 16px;border:0;border-radius:999px;font-size:13px;white-space:nowrap;color:var(--muted)}
.hr-tabs .tab.active{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px 5px #0000000d}
.hr-directory-intro,.hr-payroll-intro{padding:22px 24px;margin:0 0 22px;gap:22px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}
.hr-directory-intro h2,.hr-payroll-intro h2,.hr-punch-title h2,.hr-payslip-intro h2{font:650 20px/1.35 var(--display);letter-spacing:-.45px;margin:5px 0 6px;color:var(--ink)}
.hr-directory-intro p,.hr-payroll-intro p,.hr-punch-title p,.hr-payslip-intro p{font-size:13px;line-height:1.6;color:var(--muted)}
.hr-directory-count{gap:12px}
.hr-directory-count>strong{font:700 36px/1.1 var(--display);letter-spacing:-1.1px;color:var(--ink);font-variant-numeric:tabular-nums}
.hr-directory-count>span{font-size:13px;line-height:1.4;color:var(--ink)}
.hr-directory-count small{font-size:11px;line-height:1.5;margin-top:4px;color:var(--muted)}
.hr-directory-count>svg{display:none}
.hr-toolbar{gap:12px;margin:20px 0}
.hr-search{min-height:44px;border-radius:14px;padding:2px 7px 2px 14px;background:var(--surface);border-color:var(--line)}
.hr-search input{font:13px/1.5 var(--body);color:var(--ink);padding:9px 0;min-height:38px}
.hr-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.hr-search input:focus{box-shadow:none!important}
.hr-filter-switch{gap:3px;padding:4px;border-radius:999px;background:var(--surface-subtle);border-color:var(--line);max-width:100%;overflow:auto}
.hr-filter-button{min-height:36px;padding:7px 14px;border-radius:999px;font:500 12px/1.4 var(--body)}
.hr-filter-button.active{color:var(--ink);font-weight:600;background:var(--surface);box-shadow:0 1px 4px #0000000c}
.hr-filter-label{gap:8px;font-size:12px;color:var(--muted)}
.hr-filter-label :is(input,select){min-height:42px;border-radius:12px;padding:8px 12px;font:13px var(--body);color:var(--ink)}
.hr-result-line,.hr-toolbar-note{font-size:12px;line-height:1.5;color:var(--muted)}
.hr-result-line{margin:20px 0 14px;gap:14px}
.hr-directory-grid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.hr-person-card{padding:23px;min-width:0}
.hr-person-card h3{font:650 17px/1.4 var(--display);letter-spacing:-.25px;margin:17px 0 4px;color:var(--ink)}
.hr-person-job{font-size:13px;line-height:1.5;margin-bottom:20px;color:var(--muted)}
.hr-person-info{gap:12px;font-size:12px;line-height:1.5;color:var(--muted)}
.hr-person-meta{margin-top:22px;gap:8px;font-size:11px;line-height:1.5;align-items:center;flex-wrap:wrap}
.hr-person-meta>span:first-child{padding:4px 9px;border-radius:999px;background:var(--surface-subtle);color:var(--muted)}
.hr-person-meta>span:last-child{padding-top:0}
.hr-person-footer{padding-top:14px;margin-top:17px;font-size:11px;line-height:1.5;color:var(--muted)}
.hr-person-footer .btn{min-height:36px;padding:4px 0;font-size:12px}
.hr-empty{padding:40px 24px;border-radius:24px}
.hr-empty h3{font-size:18px;color:var(--ink)}
.hr-empty p{font-size:13px;line-height:1.65;max-width:440px;margin:0 auto 18px}
.hr-profile{font:13px/1.65 var(--body);color:var(--ink)}
.hr-profile .detail-hero h3,.hr-payslip-employee h3{font:650 20px/1.35 var(--display);letter-spacing:-.3px;color:var(--ink)}
.hr-profile-facts{gap:12px}
.hr-profile-facts>div{border-radius:16px;background:var(--surface-subtle);padding:14px 16px}
.hr-profile-facts span,.hr-profile-facts small{font-size:11px;line-height:1.5;color:var(--muted)}
.hr-profile-facts strong{font-size:13px;font-weight:600;line-height:1.6;color:var(--ink);margin-top:5px}
.hr-profile-section{margin-top:26px}
.hr-profile-section h4{font:650 15px/1.4 var(--display);color:var(--ink);margin-bottom:12px}
.hr-profile-section h4 small{font-size:11px;line-height:1.5;letter-spacing:0;color:var(--muted)}
.hr-profile-section p{font-size:13px;line-height:1.65}
.hr-form-divider{margin-top:9px;padding-top:20px;font-size:13px;font-weight:600;color:var(--ink)}
.hr-metric-grid{gap:16px;margin:22px 0}
.hr-metric{padding:21px 23px}
.hr-metric>span{font-size:12px;font-weight:500;color:var(--muted)}
.hr-metric>strong{font:700 34px/1.15 var(--display);color:var(--ink);letter-spacing:-1.1px;margin:17px 0 8px;font-variant-numeric:tabular-nums}
.hr-metric em{font:400 12px var(--body);margin-left:7px;color:var(--muted)}
.hr-metric>small{font-size:11px;line-height:1.6;color:var(--muted)}
.hr-leave-banner{padding:20px 23px;gap:15px;border-radius:22px;background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
.hr-leave-banner>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--surface-subtle);color:var(--accent)}
.hr-leave-banner h3{font:650 16px/1.4 var(--display);color:var(--ink);margin-bottom:4px}
.hr-leave-banner p{font-size:12px;line-height:1.6}
.hr-leave-banner>strong{font:700 30px/1.2 var(--display);letter-spacing:-.8px;color:var(--ink);min-width:68px}
.hr-leave-banner small{font:400 11px/1.5 var(--body);letter-spacing:0;color:var(--muted)}
.hr-table-wrap{border-radius:24px;overscroll-behavior-x:contain}
.hr-table-wrap .data-table{font-size:13px}
.hr-table-wrap .data-table th{font-size:11px;letter-spacing:0;font-weight:600;padding:14px 19px;background:var(--surface-subtle)}
.hr-table-wrap .data-table td{font-size:13px;padding:18px 19px;color:var(--ink)}
.hr-table-wrap .data-table td .cell-sub{font-size:11px;line-height:1.55;margin-top:4px}
.hr-table-wrap .inline-person{font-size:13px;gap:10px}
.hr-review-audit{padding:15px 17px;border-radius:16px;gap:11px}
.hr-review-audit strong{font-size:13px;line-height:1.5}
.hr-review-audit small{font-size:11px;line-height:1.6}
.hr-punch-widget{padding:24px;border-radius:24px;background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
.hr-punch-symbol{width:48px;height:48px;border:0;border-radius:16px;background:var(--accent-soft);color:var(--accent)}
.hr-punch-title{gap:15px}
.hr-punch-title .hr-kicker{margin-bottom:4px}
.hr-punch-times{margin:23px 0 0 63px;padding-top:21px;gap:22px}
.hr-punch-times span{font-size:12px;color:var(--muted)}
.hr-punch-times strong{font:650 27px/1.25 var(--display);color:var(--ink);letter-spacing:-.6px;margin-top:7px;font-variant-numeric:tabular-nums}
.hr-punch-times small{font-size:11px;color:var(--success);top:1px;right:0;gap:7px}
.hr-punch-times i{width:6px;height:6px;background:var(--success);box-shadow:none}
.hr-toolbar-title{font:650 17px/1.4 var(--display);color:var(--ink);letter-spacing:-.3px}
.hr-active-shift{font-size:12px}
.hr-footnote{font-size:11px;line-height:1.65;margin:16px 2px 5px}
.hr-run-stages{gap:9px;font-size:12px}
.hr-run-stages>span{padding:9px 12px;border-radius:999px;background:var(--surface-subtle);border-color:var(--line);color:var(--muted);font-size:12px}
.hr-detail-stages>span.active{color:var(--accent);background:var(--accent-soft)}
.hr-table-heading{padding:23px 24px}
.hr-table-heading h3{font:650 18px/1.4 var(--display);color:var(--ink);letter-spacing:-.35px}
.hr-table-heading p{font-size:12px;line-height:1.6}
.hr-payroll-note{padding:18px 20px;gap:12px;border-radius:18px;background:var(--surface);border-color:var(--line);color:var(--muted)}
.hr-payroll-note strong{font-size:13px;font-weight:600;color:var(--ink)}
.hr-payroll-note p{font-size:12px;line-height:1.65;margin-top:5px}
.hr-modal-note{margin-top:22px}
.hr-run-detail-summary{padding:20px 22px;border-radius:18px;background:var(--surface-subtle)}
.hr-run-detail-summary span,.hr-run-detail-summary small{font-size:12px;color:var(--muted)}
.hr-run-detail-summary strong{font:700 32px/1.2 var(--display);color:var(--ink);letter-spacing:-.8px;margin:8px 0;font-variant-numeric:tabular-nums}
.hr-slip-list{border-radius:18px;padding:0 17px;background:var(--surface);overflow:hidden}
.hr-slip-row{padding:17px 0;gap:12px}
.hr-slip-row strong{font-size:13px;font-weight:600;line-height:1.5;color:var(--ink)}
.hr-slip-row small{font-size:11px;line-height:1.5;color:var(--muted)}
.hr-slip-net{min-width:105px}
.hr-adjust-base{border-radius:16px;padding:17px;gap:14px;font-size:12px;color:var(--muted);background:var(--surface-subtle)}
.hr-adjust-base strong{font-size:17px;color:var(--ink);font-variant-numeric:tabular-nums}
.hr-payslip-intro{padding:23px 24px;border-radius:24px;background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
.hr-payslip-intro>svg{color:var(--accent)}
.hr-payslip{font:13px/1.55 var(--body);color:var(--ink)}
.hr-payslip-header small{font-size:11px;letter-spacing:.8px}
.hr-payslip-employee{padding:23px 0}
.hr-payslip-employee h3{font-size:18px}
.hr-payslip-employee p,.hr-payslip-employee strong{font-size:13px;line-height:1.5;color:var(--ink)}
.hr-payslip-employee small,.hr-payslip-employee span{font-size:11px;line-height:1.6;color:var(--muted)}
.hr-payslip-breakdown>div{font-size:13px;line-height:1.55;padding:12px 0;color:var(--muted)}
.hr-payslip-breakdown strong{font-size:13px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.hr-payslip-breakdown small{font-size:11px;line-height:1.6}
.hr-payslip-breakdown>div.hr-pay-subtotal{font-weight:600;color:var(--ink);padding:15px 0}
.hr-payslip-net{font-size:14px;padding:21px;border-radius:18px;background:var(--surface-subtle);color:var(--ink)}
.hr-payslip-net strong{font:700 30px/1.2 var(--display);letter-spacing:-.8px;color:var(--ink);font-variant-numeric:tabular-nums}
.hr-company-brand strong{font:650 20px/1.25 var(--display);color:var(--ink);letter-spacing:-.35px}
.hr-company-brand small{font:500 11px/1.5 var(--body);letter-spacing:.5px;color:var(--muted)}
.hr-company-mark{font-family:var(--display);border-radius:13px;background:var(--surface-subtle);color:var(--ink)}

/* Financial information has a steady numerical hierarchy, without a second hero. */
.f-heading{align-items:center;gap:20px;margin:0 0 21px}
.f-heading h2{font:650 19px/1.4 var(--display);letter-spacing:-.35px;margin:5px 0;color:var(--ink)}
.f-heading p{font-size:13px;line-height:1.6;color:var(--muted)}
.f-navigation{gap:16px;margin-bottom:23px;padding-bottom:0;border:0;align-items:center}
.f-tabs.tabs{gap:3px;padding:4px;border-radius:999px;background:var(--surface-subtle);border-color:var(--line);scrollbar-width:none}
.f-tabs.tabs::-webkit-scrollbar{display:none}
.f-tabs .tab{font:500 13px/1.4 var(--body);min-height:42px;padding:8px 15px;border-radius:999px;color:var(--muted)}
.f-tabs .tab.active{color:var(--ink);background:var(--surface);font-weight:600;box-shadow:0 1px 5px #0000000d}
.f-tabs .tab:hover{color:var(--ink);background:var(--surface)}
.f-period{gap:10px;align-items:flex-end}
.f-period label{font-size:11px;gap:5px;color:var(--muted)}
.f-period :is(input,select),.f-inline-label select{font:13px var(--body);min-height:42px;padding:8px 12px;border-radius:12px;background:var(--surface);border-color:var(--line);color:var(--ink)}
.f-period input{width:157px}
.f-period>.btn{min-height:42px}
.f-metric-grid{gap:16px;margin-bottom:22px}
.f-metric{padding:21px 22px 19px;min-width:0}
.f-metric>div{font-size:12px;line-height:1.5;font-weight:500}
.f-metric>strong{font:700 clamp(28px,2.35vw,36px)/1.2 var(--display);letter-spacing:-1.1px;margin:18px 0 8px;color:var(--ink);font-variant-numeric:tabular-nums}
.f-metric>small{font-size:11px;line-height:1.55;color:var(--muted)}
.f-main-grid{gap:22px}
.f-side-stack{gap:20px}
.f-section-head{gap:16px;margin-bottom:20px}
.f-section-head h3,.f-engagement h3{font:650 18px/1.4 var(--display);letter-spacing:-.35px;color:var(--ink)}
.f-section-head p{font-size:12px;line-height:1.6;margin-top:5px}
.f-target,.f-count{font-size:12px;line-height:1.5}
.f-target{background:var(--surface-subtle);color:var(--muted);padding:5px 10px;border-radius:999px;font-weight:500}
.f-alert{border-radius:16px;padding:14px 15px;border-color:var(--warning-line);background:var(--warning-soft)}
.f-alert strong{font-size:13px;line-height:1.5}
.f-alert span{font-size:12px;line-height:1.6;margin-top:4px}
.f-positive{font-size:13px;line-height:1.55;padding:13px 15px;border-radius:14px}
.f-margin-row{gap:14px;padding:17px 0}
.f-margin-row strong{font-size:14px;font-weight:600;line-height:1.5}
.f-margin-row span{font-size:12px;line-height:1.5;margin-top:3px}
.f-margin-value strong{font:700 21px/1.3 var(--display);letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.f-margin-row .icon-button{width:38px;height:38px;border-radius:50%;border:0;background:var(--surface-subtle);color:var(--muted)}
.f-capacity,.f-escrow,.f-payroll-card,.f-reserve{background:var(--surface)!important;border-color:var(--line)}
.f-capacity-number{font:700 38px/1.2 var(--display);letter-spacing:-1.2px;color:var(--ink);font-variant-numeric:tabular-nums}
.f-capacity-number>span{font:400 12px/1.6 var(--body);margin-top:7px;color:var(--muted)}
.f-capacity-track,.f-reserve-track{height:7px;border-radius:999px;background:var(--surface-raised);margin:19px 0}
.f-capacity p,.f-payroll-card p,.f-plan-card>p{font-size:13px;line-height:1.65;color:var(--muted)}
.f-mini-row{font-size:12px;line-height:1.6;margin:12px 0;gap:14px}
.f-payroll-card>strong{font:700 32px/1.25 var(--display);letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.f-workspace .f-table-wrap,.f-invoice-detail .f-table-wrap{border-radius:24px;overscroll-behavior-x:contain}
.f-workspace .data-table,.f-invoice-detail .data-table{font-size:13px}
.f-workspace .data-table th,.f-invoice-detail .data-table th{font-size:11px;font-weight:600;line-height:1.5;padding:14px 19px;background:var(--surface-subtle);color:var(--muted)}
.f-workspace .data-table td,.f-invoice-detail .data-table td{font-size:13px;line-height:1.5;padding:17px 19px;color:var(--ink)}
.f-workspace .cell-main{font-size:13px;font-weight:600}
.f-workspace .cell-sub{font-size:11px;line-height:1.55;margin-top:4px}
.f-workspace .badge{font-size:11px;line-height:1.4}
.f-workspace .badge.blue{color:var(--info);background:var(--info-soft)}
.f-workspace .badge.purple{color:var(--review);background:var(--review-soft)}
.f-workspace .badge.red{color:var(--danger);background:var(--danger-soft)}
.f-link{font:600 13px/1.5 var(--body);color:var(--accent);text-decoration:none}
.f-link:hover{text-decoration:underline;text-underline-offset:4px}
.f-toolbar{gap:12px;margin-bottom:18px}
.f-search{min-height:44px;max-width:400px;padding:9px 13px;border-radius:14px}
.f-search input{font:13px/1.5 var(--body);min-height:24px;background:transparent}
.f-inline-label{font-size:12px;gap:9px}
.f-engagement-grid,.f-account-grid,.f-reserve-grid{gap:18px}
.f-engagement>p{font-size:13px;line-height:1.55}
.f-engagement-price{font:700 32px/1.25 var(--display);letter-spacing:-1px;margin:22px 0 20px;font-variant-numeric:tabular-nums}
.f-engagement-price span{font:400 12px var(--body);letter-spacing:0;margin-left:5px}
.f-engagement dl{gap:15px;padding:17px 0}
.f-engagement dt{font-size:11px;line-height:1.5}
.f-engagement dd{font-size:13px;line-height:1.5;margin-top:5px}
.f-engagement .f-engagement-terms{font-size:12px;line-height:1.65;margin:16px 0;min-height:40px}
.f-card-actions{gap:8px;padding-top:17px;margin-top:19px}
.f-reserve .f-section-head{align-items:center}
.f-reserve .f-section-head h3{font-size:16px}
.f-reserve .f-section-head>span{font-size:11px;line-height:1.5}
.f-reserve>strong,.f-account>strong{font:700 30px/1.25 var(--display);letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.f-reserve>p,.f-account>span{font-size:12px;line-height:1.55}
.f-account h3{font:600 15px/1.4 var(--display);margin:19px 0 9px}
.f-escrow{margin-top:22px}
.f-escrow>div:first-child{gap:13px}
.f-escrow h3{font:650 17px/1.4 var(--display);margin:0 0 5px;color:var(--ink)}
.f-escrow p{font-size:13px;line-height:1.65;color:var(--muted)}
.f-escrow-clients{gap:9px;margin-top:19px}
.f-escrow-clients>span{font-size:13px}
.f-plan-grid{gap:22px}
.f-plan-total{font:700 34px/1.2 var(--display);letter-spacing:-1px;margin:23px 0;font-variant-numeric:tabular-nums}
.f-plan-total span{font:400 12px/1.6 var(--body);letter-spacing:0;margin-top:8px}
.f-plan-card .f-section-head h3{font-size:17px}
.f-note{padding:15px 17px;border-radius:16px;background:var(--surface-subtle);font:13px/1.65 var(--body);color:var(--muted)}
.f-forecast{padding:24px}
.f-forecast-legend{gap:20px;font-size:12px;margin-bottom:22px}
.f-forecast-row{grid-template-columns:115px minmax(70px,1fr) 180px;gap:18px;margin:23px 0}
.f-forecast-row>strong{font-size:13px;font-weight:600}
.f-forecast-row>div:last-child>strong{font-size:14px;font-variant-numeric:tabular-nums}
.f-forecast-row small{font-size:11px;line-height:1.5;margin-top:4px}
.f-forecast-bar{gap:3px}
.f-forecast-bar span{border-radius:8px}
.f-empty{padding:40px 24px;font-size:13px}
.f-empty h3{font:650 18px/1.4 var(--display)}
.f-empty p{font-size:13px;line-height:1.65;max-width:410px}
.f-report-loading{font-size:13px}
.f-footnote{font-size:11px;line-height:1.65;gap:8px;margin-top:22px}
.f-line-row{gap:11px;padding:15px;border-radius:16px;background:var(--surface-subtle)}
.f-line-row label{font:500 12px/1.5 var(--body);color:var(--muted)}
.f-line-row input{font:13px/1.5 var(--body);min-height:42px;padding:9px 10px;border-radius:11px}
.f-line-row .icon-button{min-height:42px}
.f-invoice-total{font-size:13px;line-height:1.55;gap:12px}
.f-invoice-total>span:last-child{font-size:17px;padding-top:14px}
.f-payment-summary{padding:21px;border-radius:18px}
.f-payment-summary>span,.f-payment-summary p{font-size:13px;line-height:1.6}
.f-payment-summary>strong{font:700 34px/1.2 var(--display);letter-spacing:-1px}
.f-detail-totals{font-size:13px;line-height:1.6;gap:12px}
.f-detail-totals>div:last-child{font-size:17px;padding-top:15px}
.f-invoice-detail>.f-section-head p{font-size:13px;line-height:1.6}
.f-invoice-branding{padding:21px 23px;border-radius:22px;background:var(--surface);box-shadow:var(--shadow);gap:20px}
.f-invoice-branding h3{font:650 17px/1.4 var(--display);letter-spacing:-.25px}
.f-invoice-branding strong{font-size:13px}
.f-invoice-branding p{font-size:13px;line-height:1.6}

/* Settings reads like a native grouped preferences panel. */
.s-heading{padding:0 0 21px;gap:20px}
.s-heading h2{font:650 19px/1.4 var(--display);letter-spacing:-.35px;margin:5px 0;color:var(--ink)}
.s-heading p,.s-section-head p{font-size:13px;line-height:1.6;color:var(--muted)}
.s-access-pill{font:500 12px/1.5 var(--body);padding:8px 12px;border-radius:999px;background:var(--surface);border-color:var(--line);color:var(--muted)}
.s-navigation{gap:3px;border:1px solid var(--line);margin-bottom:24px;padding:4px;border-radius:999px;background:var(--surface-subtle);width:max-content;max-width:100%;scrollbar-width:none}
.s-navigation::-webkit-scrollbar{display:none}
.s-tab{min-height:42px;padding:8px 16px;font:500 13px/1.4 var(--body);border:0;border-radius:999px;color:var(--muted)}
.s-tab.active{color:var(--ink);background:var(--surface);font-weight:600;border:0;box-shadow:0 1px 5px #0000000d}
.s-tab:hover{color:var(--ink);background:var(--surface)}
.s-profile-grid,.s-category-grid{gap:22px}
.s-profile-form{padding:25px!important}
.s-section-head{gap:18px;margin-bottom:22px}
.s-section-head h3{font:650 18px/1.4 var(--display);letter-spacing:-.35px;color:var(--ink)}
.s-section-head>.icon{color:var(--muted)}
.s-profile-identity{gap:15px;padding:2px 0 24px}
.s-profile-identity strong{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.2px}
.s-profile-identity span:not(.avatar){font-size:13px;line-height:1.5;margin-top:4px}
.s-workspace .form-field>span{font-size:13px;font-weight:500;line-height:1.5}
.s-workspace .form-field :is(input,select){font:13px/1.5 var(--body);min-height:44px;border-radius:12px}
.s-field-help{font-size:11px!important;line-height:1.6;gap:7px;margin-top:-5px}
.s-form-actions{gap:18px;margin-top:24px;padding-top:20px}
.s-form-actions>span{font-size:12px;line-height:1.5}
.s-profile-aside{gap:20px}
.s-access-card{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:24px;padding:24px 24px 0;box-shadow:var(--shadow)}
.s-access-card:after{display:none}
.s-access-mark{width:44px;height:44px;border-radius:14px;border:0;background:var(--surface-subtle);color:var(--accent)}
.s-access-card .s-kicker{font:600 11px/1.45 var(--body);letter-spacing:.35px;color:var(--muted);margin-top:18px}
.s-access-card h3{font:650 20px/1.4 var(--display);letter-spacing:-.4px;margin:7px 0 15px;color:var(--ink);max-width:none}
.s-role-badges{gap:7px}
.s-role-badges span{font:500 11px/1.5 var(--body);letter-spacing:0;border:0;padding:5px 10px;border-radius:999px;background:var(--surface-subtle);color:var(--ink)}
.s-access-card>p{font-size:13px;line-height:1.65;color:var(--muted);margin:18px 0 23px}
.s-access-footer{font-size:11px;line-height:1.6;gap:7px;margin:0 -24px;padding:15px 24px;border-color:var(--line);background:var(--surface);color:var(--muted);flex-wrap:wrap}
.s-access-footer>span:last-child{font-size:11px;line-height:1.5;letter-spacing:0;color:var(--muted)}
.s-status-dot{width:6px;height:6px}
.s-profile-note{padding:23px!important}
.s-profile-note h4{font:650 16px/1.4 var(--display);margin:12px 0 7px}
.s-profile-note p{font-size:13px;line-height:1.65;color:var(--muted)}
.s-count{font-size:12px;line-height:1.5;padding-top:4px}
.s-category-list{border-radius:24px}
.s-list-heading{padding:14px 23px;font:500 11px/1.5 var(--body);background:var(--surface-subtle);color:var(--muted)}
.s-category-row{padding:17px 23px;gap:13px}
.s-category-swatch{width:34px;height:34px;border:0;border-radius:11px}
.s-category-row strong,.s-category-fallback strong{font-size:13px;line-height:1.5;font-weight:600}
.s-category-row small,.s-category-fallback small{font-size:11px;line-height:1.6;margin-top:4px}
.s-category-order{font:12px/1.5 var(--body);margin-right:10px}
.s-category-fallback{padding:20px 23px;background:var(--surface-subtle)}
.s-category-create{padding:24px!important}
.s-category-create h3{font:650 18px/1.4 var(--display);letter-spacing:-.35px;margin:6px 0 21px}
.s-category-create form{gap:17px}
.s-category-create form>p{font-size:12px;line-height:1.6}
.s-color-input{padding:7px;border-radius:12px;gap:8px;min-height:44px!important}
.s-color-input input[type=text]{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}
.s-users-toolbar{gap:12px;margin-bottom:18px;flex-wrap:wrap}
.s-search{height:44px;border-radius:14px;padding:0 14px;gap:10px;max-width:410px}
.s-search input{font:13px/1.5 var(--body);min-height:38px}
.s-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.s-users-toolbar>select{height:44px;font:13px var(--body);padding:0 29px 0 12px;border-radius:12px;color:var(--ink);max-width:200px}
.s-users-table{border-radius:24px;overscroll-behavior-x:contain}
.s-users-table .data-table th{font-size:11px;padding:15px 20px;line-height:1.5}
.s-users-table .data-table td{padding:18px 20px;font-size:13px;line-height:1.5}
.s-user-identity{gap:12px}
.s-user-identity strong{font-size:13px;font-weight:600;line-height:1.5}
.s-user-identity small{font-size:11px;line-height:1.6;margin-top:3px}
.s-table-roles{gap:5px;max-width:235px}
.s-table-roles .badge,.s-you{font-size:11px;line-height:1.4}
.s-client-scope,.s-muted{font-size:12px;line-height:1.5}
.s-self-guard{width:40px;height:40px}
.s-footnote{gap:8px;font-size:11px;line-height:1.65;margin-top:18px}
.s-loading,.s-empty{font-size:13px;line-height:1.65;padding:38px 24px!important}
.s-empty h4{font:650 18px/1.4 var(--display);margin-bottom:9px}
.s-empty p{font-size:13px;line-height:1.65}
.s-error{font-size:13px;line-height:1.6;border-radius:16px;background:var(--danger-soft);border-color:var(--danger-line);color:var(--danger);padding:14px 17px}
.s-audit-intro{padding:19px 22px;gap:13px;border-radius:22px;background:var(--surface);border-color:var(--line);margin-bottom:24px}
.s-audit-intro strong{font-size:13px;font-weight:600;line-height:1.5}
.s-audit-intro span:not(.s-utc-label){font-size:12px;line-height:1.6;margin-top:4px}
.s-utc-label{font-size:11px;letter-spacing:.2px}
.s-audit-entry{padding:22px 24px!important}
.s-audit-marker{top:24px;background:var(--surface-subtle);color:var(--muted);border-color:var(--paper)}
.s-audit-entry-head .s-kicker{font-size:11px;letter-spacing:.3px}
.s-audit-entry-head h4{font:650 16px/1.45 var(--display);letter-spacing:-.2px;margin:7px 0 4px}
.s-audit-entry-head p{font-size:12px;line-height:1.55}
.s-audit-entry-head time{font-size:11px;line-height:1.5;white-space:normal}
.s-audit-actor{font-size:11px;line-height:1.6;gap:7px 12px;margin-top:17px;overflow-wrap:anywhere}
.s-audit-actor .s-integrity{font-size:11px;line-height:1.5;padding:4px 8px;border-radius:999px;gap:5px}
.s-integrity.is-invalid{background:var(--danger-soft)!important;color:var(--danger)!important}
.s-audit-diff{padding-top:15px;margin-top:17px}
.s-audit-diff summary{font-size:12px;line-height:1.5;min-height:34px}
.s-diff-scroll{border-radius:12px}
.s-audit-diff th,.s-audit-diff td{font-size:11px;line-height:1.6;padding:12px}
.s-audit-diff tbody th,.s-audit-diff code{font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.s-audit-hashes{gap:11px;margin-top:16px}
.s-audit-hashes span{font-size:11px;line-height:1.5;grid-template-columns:95px minmax(0,1fr);gap:10px}
.s-audit-hashes code{font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.s-connection{margin-top:25px;border-radius:24px}
.s-connection>summary{padding:21px 24px;gap:14px}
.s-connection>summary>span{font-size:13px;font-weight:600;line-height:1.5}
.s-connection summary small{font-size:11px;line-height:1.5;margin-left:7px}
.s-connection-content{padding:0 24px}
.s-connection-content .settings-row{gap:18px}
.s-connection-content .settings-row strong{font-size:13px;line-height:1.5}
.s-connection-content .settings-row small{font-size:12px;line-height:1.65;margin-top:4px}
.s-connection-content .settings-row select{font:13px var(--body);min-height:44px;padding:9px 12px;border-radius:12px;max-width:100%}
.s-connection-form{padding:23px 0}
.s-connection-form h4{font:650 16px/1.4 var(--display);margin-bottom:18px}
.s-connection-form p{font-size:12px;line-height:1.65;margin:14px 0 18px}
.s-account-signout{gap:18px;margin-top:24px;padding-top:18px}
.s-account-signout>span{font-size:12px;line-height:1.55}
.s-account-form-intro p,.s-delete-intro p{font-size:13px;line-height:1.65}
.s-current-roles>span:first-child{font-size:12px}
.s-delete-intro h3{font:650 20px/1.4 var(--display);letter-spacing:-.35px}
.s-delete-category{border-radius:12px}
.s-reimbursement{padding:24px!important;margin-top:22px}
.s-reimbursement h3{font:650 17px/1.4 var(--display);letter-spacing:-.25px}
.s-reimbursement p{font-size:12px;line-height:1.6;margin-top:5px}
.s-reimbursement-row{padding:15px 0;gap:14px}
.s-reimbursement-row strong{font-size:13px;line-height:1.5;font-weight:600}
.s-reimbursement-row small{font-size:11px;line-height:1.5;margin-top:4px}
.s-reimbursement-row>span{font-size:13px;font-variant-numeric:tabular-nums}
.s-reimbursement-row .badge{font-size:11px}

/* Appearance stays personal; theme previews use the same neutral windows. */
.a-appearance-card{padding:25px!important;border-radius:24px;margin-bottom:22px;background:var(--surface);box-shadow:var(--shadow)}
.a-section-head{gap:18px;margin-bottom:23px}
.a-section-head h3{font:650 18px/1.4 var(--display);letter-spacing:-.35px}
.a-section-head p{font-size:13px;line-height:1.6;margin-top:5px}
.a-section-head>.icon{color:var(--muted)}
.a-personal-label{font-size:11px;line-height:1.5;padding:5px 10px;border-radius:999px;background:var(--surface-subtle)}
.a-controls{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}
.a-mode-options{gap:12px}
.a-mode{padding:12px;gap:12px;border-radius:18px;border-color:var(--line);background:var(--surface);color:var(--ink)}
.a-mode[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--surface)}
.a-mode-label,.a-mode>span:last-child{font:600 12px/1.5 var(--body);gap:7px}
.a-mode-preview{height:96px;border-radius:10px;background:#f5f5f7;border-color:#e5e5ea;padding-top:18px;gap:7px}
.a-mode-preview:before{background:#fff;border-color:#e5e5ea}
.a-mode-preview:after{box-shadow:0 13px 0 #d1d1d6,0 22px 0 #d1d1d6,0 31px 0 #d1d1d6}
.a-mode-preview>i{background:#fff;border-color:#e5e5ea}
.a-mode-preview>span>b{background:#c7c7cc;height:5px}
.a-mode-preview>span>em{height:37px;border-radius:7px;border-color:#e5e5ea;background:#fff}
.a-mode-preview>span>em:before{background:#d1d1d6;box-shadow:0 7px 0 #e5e5ea}
.a-mode[data-mode=dark] .a-mode-preview{background:#101012;border-color:#38383a}
.a-mode[data-mode=dark] .a-mode-preview:before,.a-mode[data-mode=dark] .a-mode-preview>i,.a-mode[data-mode=dark] .a-mode-preview>span>em{background:#1c1c1e;border-color:#38383a}
.a-mode[data-mode=dark] .a-mode-preview:after{box-shadow:0 13px 0 #48484a,0 22px 0 #48484a,0 31px 0 #48484a}
.a-mode[data-mode=dark] .a-mode-preview>span>b{background:#8e8e93}
.a-mode[data-mode=dark] .a-mode-preview>span>em:before{background:#636366;box-shadow:0 7px 0 #38383a}
.a-mode[data-mode=system] .a-mode-preview{background:linear-gradient(110deg,#f5f5f7 49.5%,#101012 50%)}
.a-mode[data-mode=system] .a-mode-preview>i{background:linear-gradient(110deg,#fff 49%,#1c1c1e 50%)}
.a-mode[data-mode=system] .a-mode-preview>span>em:last-child{background:#1c1c1e;border-color:#38383a}
.a-mode[data-mode=system] .a-mode-preview>span>em:last-child:before{background:#636366;box-shadow:0 7px 0 #38383a}
.a-accent-label,.a-appearance-card h4{font:600 13px/1.5 var(--body);margin-bottom:13px}
.a-accent-options{gap:9px}
.a-accent{min-height:85px;padding:14px 7px 12px;gap:10px;border-radius:16px;font:500 11px/1.4 var(--body);background:var(--surface)}
.a-accent[aria-pressed=true]{background:var(--surface-subtle);border-color:var(--accent);color:var(--ink)}
.a-swatch{width:27px;height:27px}
.a-field-help,.a-preference-note{font-size:11px;line-height:1.65}
.a-preference-note{padding-top:18px;margin-top:22px;gap:8px}
.a-quick-toggle{min-width:38px;min-height:38px;padding:0 11px;border-radius:999px;font-size:12px;background:var(--surface);color:var(--muted)}
.a-quick-settings{border-radius:999px}
.a-preview{gap:16px}

@media(max-width:1280px){
 .hr-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .f-navigation{align-items:flex-start}.f-period{width:100%;justify-content:flex-end}
 .f-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .a-controls{grid-template-columns:1fr;gap:25px}
}
@media(max-width:1000px){
 .hr-directory-intro,.hr-payroll-intro{align-items:flex-start}.hr-payroll-intro{flex-direction:column;gap:19px}
 .f-main-grid{grid-template-columns:1fr}.f-side-stack{grid-template-columns:1fr 1fr}
 .f-engagement-grid,.f-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .f-plan-grid{grid-template-columns:1fr}.f-plan-card .f-section-head{flex-wrap:wrap}
 .s-profile-grid,.s-category-grid{grid-template-columns:1fr}.s-profile-aside{grid-template-columns:1fr 1fr}
 .s-access-card h3{font-size:19px}.s-access-footer>span:last-child{margin-left:0}
}
@media(max-width:760px){
 .hr-workspace,.f-workspace,.s-workspace{font-size:13px}
 .hr-workspace .card,.f-workspace .card,.s-workspace .card{border-radius:22px}
 .hr-workspace .module-topbar{gap:14px;margin-bottom:20px;align-items:stretch}
 .hr-tabs{width:100%;gap:3px!important;padding:4px}.hr-tabs .tab{font-size:12px;padding:8px 14px;min-height:42px}
 .hr-workspace .module-topbar>.btn{margin-left:auto}
 .hr-directory-intro,.hr-payroll-intro{padding:21px;gap:19px;flex-direction:column;border-radius:22px;margin-bottom:20px}
 .hr-directory-intro h2,.hr-payroll-intro h2,.hr-punch-title h2,.hr-payslip-intro h2{font-size:19px}
 .hr-directory-count{width:100%;border-top:1px solid var(--line);padding-top:17px;gap:12px}
 .hr-directory-count>strong{font-size:32px}.hr-directory-count>span{font-size:12px}.hr-directory-count small{font-size:11px}
 .hr-toolbar{gap:11px;margin:18px 0}.hr-search{min-width:100%;min-height:44px}.hr-search input{font-size:13px}
 .hr-filter-label{font-size:12px;max-width:100%;flex-wrap:wrap}.hr-filter-label :is(input,select){font-size:13px;min-width:105px;max-width:100%}
 .hr-filter-switch{max-width:100%}.hr-filter-button{font-size:12px;padding:7px 12px;min-height:36px}
 .hr-directory-grid{grid-template-columns:1fr;gap:16px}.hr-person-card{padding:22px}.hr-person-card h3{font-size:17px}
 .hr-person-job{font-size:13px}.hr-person-info{font-size:12px}.hr-person-meta,.hr-person-footer{font-size:11px}
 .hr-result-line{font-size:12px;align-items:flex-start;gap:12px}.hr-result-line>span:last-child{font-size:11px;line-height:1.5;max-width:145px}
 .hr-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0}
 .hr-metric{padding:18px 17px}.hr-metric:last-child:nth-child(odd){grid-column:1/-1}
 .hr-metric>span{font-size:12px;min-height:35px;align-items:flex-start}.hr-metric>span svg{width:16px;flex-shrink:0}
 .hr-metric>strong{font-size:30px;margin:12px 0 7px}.hr-metric>small{font-size:11px}.hr-metric em{font-size:11px;margin-left:5px}
 .hr-leave-banner{padding:19px;gap:12px;border-radius:22px;align-items:flex-start}.hr-leave-banner>span{width:34px;height:34px;border-radius:11px}
 .hr-leave-banner h3{font-size:15px}.hr-leave-banner p{font-size:12px;line-height:1.6}.hr-leave-banner>strong{font-size:28px;min-width:50px}.hr-leave-banner small{font-size:11px;max-width:70px}
 .hr-table-wrap .data-table th{font-size:11px;padding:14px 16px}.hr-table-wrap .data-table td{font-size:13px;padding:17px 16px}
 .hr-table-wrap .inline-person{font-size:13px}.hr-table-wrap .data-table td .cell-sub{font-size:11px}
 .hr-punch-widget{padding:21px;border-radius:22px}.hr-punch-title{gap:13px;flex-wrap:wrap}.hr-punch-title>div{flex-basis:calc(100% - 61px)}
 .hr-punch-title .hr-kicker{font-size:11px;letter-spacing:.2px}.hr-punch-title p{font-size:12px}.hr-punch-symbol{width:46px;height:46px}
 .hr-punch-title>.btn,.hr-punch-title>.badge{margin-left:0}.hr-punch-title>.btn{width:100%;justify-content:center}
 .hr-punch-times{margin-left:0;margin-top:21px;padding-top:19px;gap:10px}.hr-punch-times>div+div{padding-left:12px}
 .hr-punch-times span{font-size:11px}.hr-punch-times strong{font-size:22px;letter-spacing:-.5px}.hr-punch-times small{position:static;margin-top:7px;font-size:11px}
 .hr-toolbar-title{font-size:17px}.hr-toolbar-note{font-size:11px;margin-left:0}.hr-footnote{font-size:11px;line-height:1.65}
 .hr-run-stages{gap:6px;font-size:11px;max-width:100%}.hr-run-stages>span{font-size:11px;gap:5px;padding:8px 10px}.hr-run-stages>svg{width:10px;flex-shrink:0}
 .hr-table-heading{padding:21px}.hr-table-heading h3{font-size:17px}.hr-table-heading p{font-size:12px}
 .hr-payroll-note{padding:17px 18px;gap:10px}.hr-payroll-note p{font-size:12px}.hr-payroll-note strong{font-size:13px}
 .hr-run-detail-summary{padding:18px}.hr-run-detail-summary strong{font-size:29px}.hr-run-detail-summary span,.hr-run-detail-summary small{font-size:11px}
 .hr-profile-facts{gap:10px}.hr-profile-facts>div{padding:13px 12px;border-radius:14px}.hr-profile-facts strong{font-size:13px}.hr-profile-facts span,.hr-profile-facts small{font-size:11px}
 .hr-profile .detail-hero h3{font-size:18px}.hr-profile-section h4 small{font-size:11px;max-width:120px;text-align:right}
 .hr-slip-row{gap:11px}.hr-slip-row>.inline-person{min-width:calc(100% - 115px)}.hr-slip-row strong{font-size:13px}.hr-slip-row small{font-size:11px}
 .hr-slip-row>span:last-child{gap:8px}.hr-slip-row>span:last-child>.btn{flex:1;justify-content:center}.hr-slip-net{min-width:100px}
 .hr-payslip-intro{padding:21px;border-radius:22px;gap:13px}.hr-payslip-intro p{font-size:13px}.hr-payslip-intro>svg{display:none}
 .hr-payslip-employee{flex-direction:column;gap:16px}.hr-payslip-employee>div:last-child{text-align:left}.hr-payslip-employee h3{font-size:18px}
 .hr-payslip-net{padding:19px;gap:12px}.hr-payslip-net strong{font-size:27px}.hr-adjust-base strong{font-size:16px}
 .hr-company-brand{gap:10px}.hr-company-brand strong{font-size:18px}.hr-company-brand small{font-size:11px;letter-spacing:.2px}
 .f-heading{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:21px}.f-heading h2{font-size:19px;letter-spacing:-.35px}.f-heading p{font-size:13px;line-height:1.6}
 .f-heading>.btn{margin-top:0;width:auto;margin-left:auto;min-height:44px}
 .f-navigation{gap:15px;margin-bottom:20px}.f-tabs.tabs{width:100%;border-radius:999px;scrollbar-width:none}.f-tabs .tab{font-size:12px;padding:8px 14px;min-height:42px}
 .f-period{justify-content:flex-start;gap:11px}.f-period label{font-size:11px}.f-period label:first-child{flex:1;min-width:145px}.f-period input{width:100%}
 .f-period :is(input,select){font-size:13px;min-height:44px}.f-period>.btn{min-height:44px}
 .f-metric-grid,.f-metric-grid.f-three{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .f-metric-grid.f-three .f-metric:last-child{grid-column:1/-1}.f-metric{padding:18px 17px}.f-metric>div{font-size:12px;min-height:36px;align-items:flex-start}
 .f-metric>div .icon{display:none}.f-metric>strong{font-size:28px;letter-spacing:-.8px;margin:11px 0 7px}.f-metric>small{font-size:11px}
 .f-main-grid,.f-plan-grid{gap:18px}.f-side-stack{grid-template-columns:1fr;gap:18px}
 .f-margin-panel{padding:21px}.f-margin-panel .f-section-head h3{font-size:17px;line-height:1.4}.f-target{font-size:11px;padding:5px 9px}
 .f-margin-row{gap:11px;padding:17px 0}.f-margin-row strong{font-size:13px}.f-margin-row span{font-size:11px;line-height:1.55;max-width:195px}.f-margin-value strong{font-size:20px}.f-margin-value span{max-width:none}.f-margin-row .icon-button{width:36px;height:36px}
 .f-section-head{gap:12px;flex-wrap:wrap}.f-section-head h3{font-size:17px}.f-section-head p{font-size:12px}.f-section-head>.f-actions{width:100%}
 .f-engagement-grid,.f-account-grid,.f-reserve-grid{grid-template-columns:1fr;gap:16px}.f-engagement h3{font-size:17px}.f-engagement-price{font-size:31px}
 .f-reserve .f-section-head{flex-direction:row;align-items:center}.f-reserve .f-section-head h3{font-size:16px}.f-reserve .f-section-head>span{font-size:11px}
 .f-reserve>strong,.f-account>strong{font-size:30px}.f-search{max-width:none;flex-basis:100%;font-size:13px}.f-inline-label{font-size:12px}
 .f-plan-card .f-section-head{flex-wrap:wrap}.f-plan-card .f-section-head h3{font-size:17px}.f-plan-total{font-size:32px}
 .f-forecast{padding:21px}.f-forecast-row{grid-template-columns:1fr auto;gap:10px;margin:23px 0}.f-forecast-row>strong{font-size:13px}.f-forecast-row>div:last-child{grid-column:2;grid-row:1}.f-forecast-bar{grid-row:2;grid-column:1/-1;min-height:24px}.f-forecast-bar span{min-height:24px}.f-forecast-legend{font-size:11px;gap:17px}
 .f-escrow{padding:21px}.f-escrow h3{font-size:17px}.f-escrow p{font-size:13px}.f-escrow-clients{margin-left:0}.f-escrow-clients .btn{width:100%;justify-content:space-between}
 .f-card-actions{gap:9px}.f-card-actions .btn:last-child{margin-left:0}.f-card-actions .btn{flex:1;justify-content:center}
 .f-footnote{font-size:11px}.f-line-row{grid-template-columns:64px minmax(0,1fr) 34px;gap:10px;padding:13px}.f-line-row>label:first-child{grid-column:1/-1}.f-line-row>label:nth-child(2){grid-column:1}.f-line-row>label:nth-child(3){grid-column:2}.f-line-row>.icon-button{grid-column:3;grid-row:2}.f-line-row label{font-size:12px}.f-line-row input{font-size:13px}
 .f-invoice-total>span{min-width:200px}.f-detail-totals{font-size:13px}.f-invoice-branding{padding:21px;align-items:flex-start;flex-direction:column;gap:17px;border-radius:22px}.f-invoice-branding>.btn{width:100%;justify-content:center}
 .s-heading{align-items:flex-start;gap:14px;padding-bottom:20px}.s-heading h2{font-size:19px}.s-heading p{font-size:13px;line-height:1.6;max-width:none}
 .s-access-pill{font-size:0;width:38px;height:38px;padding:9px;border-radius:50%;margin-top:3px;flex-shrink:0}.s-access-pill .icon{width:17px;height:17px}
 .s-navigation{width:100%;gap:3px;margin-bottom:22px}.s-tab{font-size:12px;min-height:42px;padding:8px 14px}.s-tab .icon{display:inline-flex;width:14px;height:14px}
 .s-profile-grid,.s-category-grid{gap:18px}.s-profile-form{padding:21px!important}.s-profile-aside{grid-template-columns:1fr;gap:18px}
 .s-section-head{gap:12px;flex-wrap:wrap;margin-bottom:20px}.s-section-head h3{font-size:17px}.s-section-head p{font-size:13px}.s-head-actions{gap:8px;max-width:100%}
 .s-head-actions>.btn:first-child{font-size:12px;width:auto;padding:8px 12px}.s-head-actions>.btn:first-child .icon{width:14px;height:14px}.s-head-actions .btn.primary{font-size:13px;padding:8px 13px}
 .s-profile-identity{padding-bottom:22px}.s-profile-form .form-grid{gap:17px}.s-workspace .form-field>span{font-size:13px}.s-workspace .form-field :is(input,select){font-size:13px}
 .s-form-actions{justify-content:flex-end}.s-form-actions>span{display:none}.s-access-card{padding:22px 22px 0;border-radius:22px}.s-access-card h3{font-size:20px}.s-access-card>p{font-size:13px;margin-bottom:21px}
 .s-access-card .s-kicker{font-size:11px;margin-top:17px}.s-access-footer{margin:0 -22px;padding:15px 22px;font-size:11px}.s-access-footer>span:last-child{font-size:11px;margin-left:auto}
 .s-profile-note{display:block;padding:22px!important}.s-profile-note h4{font-size:16px}.s-profile-note p{font-size:13px}
 .s-users-toolbar{gap:10px;flex-wrap:wrap}.s-search{flex-basis:100%;max-width:none}.s-users-toolbar>select{font-size:13px;flex:1;max-width:none;min-width:0}
 .s-category-create{padding:22px!important}.s-category-create form{grid-template-columns:1fr;gap:17px}.s-category-row{padding:17px 19px}.s-category-fallback{padding:20px 19px}.s-list-heading{padding:14px 19px}.s-category-row strong,.s-category-fallback strong{font-size:13px}.s-category-row small,.s-category-fallback small{font-size:11px}
 .s-audit-timeline{margin-left:3px;padding-left:18px;gap:17px}.s-audit-entry{padding:20px!important}.s-audit-marker{left:-31px;top:22px;width:22px;height:22px;border-width:3px}
 .s-audit-intro{padding:19px;align-items:flex-start;gap:11px}.s-audit-entry-head{flex-direction:column;gap:10px}.s-audit-entry-head p{font-size:12px;overflow-wrap:anywhere}.s-audit-entry-head time{font-size:11px}.s-audit-entry-head .s-kicker{font-size:11px}
 .s-audit-actor{font-size:11px;gap:7px}.s-audit-actor>span:nth-child(2){flex-basis:100%}.s-audit-actor .s-integrity{font-size:11px;margin:4px 0 0}
 .s-audit-hashes span{grid-template-columns:1fr;font-size:11px;gap:4px}.s-audit-hashes code{font-size:11px}.s-audit-diff summary{font-size:12px}
 .s-connection>summary{padding:20px}.s-connection>summary>span{font-size:13px}.s-connection-content{padding:0 20px}.s-connection-content .settings-row{align-items:flex-start;flex-direction:column;gap:12px}.s-connection-content .settings-row select{font-size:13px;width:100%;max-width:none}
 .s-reimbursement{padding:21px!important}.s-reimbursement h3{font-size:17px}.s-reimbursement p{font-size:12px}.s-reimbursement-row{gap:10px;flex-wrap:wrap}.s-reimbursement-row>div{min-width:145px}.s-reimbursement-row>span{font-size:13px}.s-reimbursement-row small{font-size:11px}
 .s-footnote{font-size:11px}.s-error{font-size:13px;flex-wrap:wrap}.s-error .btn{margin-left:0}
 .a-appearance-card{padding:22px!important;border-radius:22px}.a-section-head{gap:12px;flex-wrap:wrap;margin-bottom:21px}.a-section-head h3{font-size:17px}.a-section-head p{font-size:13px}
 .a-controls{grid-template-columns:1fr;gap:24px}.a-mode-options{gap:9px}.a-mode{padding:10px 8px;border-radius:16px;gap:11px}.a-mode-label,.a-mode>span:last-child{font-size:11px;gap:5px}
 .a-mode-preview{height:85px;padding:17px 5px 5px 27px;border-radius:9px}.a-mode-preview:before{width:20px}.a-mode-preview:after{left:4px;width:12px}.a-mode-preview>i{left:20px}.a-mode-preview>span{gap:4px}.a-mode-preview>span>em{height:32px}
 .a-accent-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.a-accent{flex-direction:row;min-height:48px;padding:11px 8px;font-size:11px;gap:9px;border-radius:14px}.a-swatch{width:24px;height:24px}
 .a-quick-toggle{width:38px;min-width:38px;min-height:38px;padding:0}.a-quick-toggle>span:not(.icon){display:none}.a-quick-settings{width:36px;height:38px}
 .a-field-help,.a-preference-note{font-size:11px;line-height:1.65}.a-personal-label{display:none}
}
@media(max-width:420px){
 .hr-punch-times strong{font-size:20px}.hr-punch-times>div+div{padding-left:10px}.hr-run-stages>span{padding:8px 9px}
 .f-metric>strong{font-size:26px}.f-metric{padding:17px 15px}.f-margin-row .icon-button{display:none}.f-margin-row span{max-width:182px}
 .s-tab{padding-left:13px;padding-right:13px}.s-tab .icon{display:none}.s-profile-form .form-grid{grid-template-columns:1fr}.s-profile-form .form-grid>.full{grid-column:auto}
 .a-mode-label>svg{width:13px;height:13px}.a-option-check>svg{width:12px;height:12px}.a-mode-label{gap:4px}.a-mode{padding:9px 7px}
}
@media(prefers-reduced-motion:reduce){.hr-workspace *,.f-workspace *,.s-workspace *,.a-appearance-card *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(prefers-contrast:more){.hr-person-card,.hr-metric,.hr-punch-widget,.f-metric,.f-engagement,.s-access-card,.a-mode{border-color:var(--ink)}}

/* Shared page headings already identify these modules. Keep their local
   navigation focused on the current section, reporting period, and action. */
.f-navigation>.btn{flex:0 0 auto;min-height:44px;max-width:100%;margin-left:auto;align-self:center;justify-content:center}
.s-heading>div:first-child{display:none}
.s-heading{justify-content:flex-end;padding:0;margin:0 0 16px;min-height:38px}
.s-heading .s-access-pill{margin-top:0}
@media(max-width:760px){
 .f-navigation>.btn{min-height:44px;margin-top:0;margin-bottom:0}
 .f-navigation>.f-period{justify-content:flex-start}
 .s-heading{min-height:0;margin-bottom:14px}
 .s-heading .s-access-pill{font:500 11px/1.45 var(--body);width:auto;height:auto;min-height:34px;padding:7px 11px;border-radius:999px;gap:7px}
 .s-heading .s-access-pill .icon{width:14px;height:14px}
}

/* Monetary totals need the full card width on a phone. Keep the currency and
   decimals together; exceptionally long amounts remain horizontally readable. */
@media(max-width:480px){
 .f-metric-grid,.f-metric-grid.f-three{grid-template-columns:minmax(0,1fr);gap:12px}
 .f-metric-grid.f-three .f-metric:last-child{grid-column:auto}
 .f-metric{padding:21px 22px}
 .f-metric>div{min-height:0}
 .f-metric>strong{font-size:32px;line-height:1.25;letter-spacing:-.8px;margin-top:14px;max-width:100%;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
 .hr-workspace:has(.hr-payroll-intro) .hr-metric-grid{grid-template-columns:minmax(0,1fr)}
 .hr-workspace:has(.hr-payroll-intro) .hr-metric:last-child:nth-child(odd){grid-column:auto}
 .hr-workspace:has(.hr-payroll-intro) .hr-metric{padding:21px 22px}
 .hr-workspace:has(.hr-payroll-intro) .hr-metric>span{min-height:0}
 .hr-workspace:has(.hr-payroll-intro) .hr-metric>strong{font-size:32px;line-height:1.25;letter-spacing:-.8px;margin-top:14px;max-width:100%;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
}
