/* GIRLCULT UI Governance v1.1.0 — shared, project-owned component layer.
   Token, navigation, segmented tab, and primary-action changes belong here
   or in static/common/. Do not copy those primitives into page CSS. */

:root{
  --hr-gold:var(--gc-gold);
  --hr-gold-soft:var(--gc-gold-wash);
  --hr-ink:var(--gc-ink);
  --hr-copy:var(--gc-muted);
  --hr-line:var(--gc-line);
  --hr-surface:var(--gc-surface);
  --hr-canvas:var(--gc-canvas);
  --hr-success:var(--gc-success);
}

/* Registered geometry. These classes are used by the live shell and tab groups. */
.apple-primary-nav a{min-height:36px;border-radius:999px;padding-inline:15px}
.apple-segmented{display:flex;gap:3px;border-radius:12px;background:rgba(118,118,128,.12);padding:3px}
.apple-segmented a{min-height:36px;border-radius:9px;padding-inline:17px}
.apple-segmented button{min-height:36px;border-radius:9px;padding-inline:17px}

/* Gold discipline: brand/focus/status/chart only; navigation and actions stay neutral. */
.hr-eyebrow,.hr-card-kicker{color:var(--gc-ink-soft)!important;letter-spacing:0!important;text-transform:none!important}
.hr-org-main-metric a,.hr-drawer header span,.hr-candidate-panel header p,.hr-payroll-profile-row i,.hr-payroll-people-table i{color:var(--gc-ink-soft)!important}
.hr-task-card>span,.hr-task-card b,.hr-module-card small,.hr-summary-card em,.hr-recruit-summary em,#peopleSummary em{color:var(--gc-ink-soft)!important}
.empty,.dabo-filter-hint,.page [style*="var(--t3)"]{color:var(--gc-muted)!important}
.hr-subnav{gap:3px;background:rgba(245,245,247,.86)}
.hr-subnav a{border-radius:10px}
.hr-subnav a.on{background:rgba(255,255,255,.96);color:var(--gc-ink);box-shadow:0 1px 3px rgba(41,42,46,.12),0 4px 10px rgba(41,42,46,.06)}

/* One registered page title across every route. */
main>.gc-page-title,main>h1{margin:0 0 24px;color:var(--gc-ink);font-size:clamp(32px,4vw,48px);font-weight:700;line-height:1.04;letter-spacing:-.035em;text-wrap:balance}

/* Primary actions are charcoal pills. Secondary controls remain 10–12px. */
.btn.primary,.gc-action-primary,.hr-payroll-primary,.hr-reveal-submit,.hr-sensitive-reveal,.hr-action-form button,.hr-people-form button,.hr-org-edit-form button,.hr-position-edit-form>button{min-height:44px;border-color:#292A2E;border-radius:999px;background:#292A2E;color:#FFF}
.btn.primary:hover,.gc-action-primary:hover,.hr-payroll-primary:hover,.hr-reveal-submit:hover,.hr-sensitive-reveal:hover,.hr-action-form button:hover,.hr-people-form button:hover,.hr-org-edit-form button:hover,.hr-position-edit-form>button:hover{border-color:#222327;background:#222327;color:#FFF}
.hr-row-action button,.hr-candidate-open,.hr-payroll-table-row button{color:var(--gc-ink);font-weight:600;text-decoration:none}
.hr-row-action button:hover,.hr-candidate-open:hover,.hr-payroll-table-row button:hover{color:var(--gc-charcoal)}

/* Native select remains the form-value source but never opens an unthemed browser menu. */
.gc-select{position:relative;display:block;min-width:0;width:100%}
.gc-select>.gc-native-select{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.gc-select-trigger,.gc-combobox-input{display:flex;width:100%;min-width:0;min-height:40px;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--gc-line-strong);border-radius:12px;outline:0;background:var(--gc-surface);padding:8px 12px;color:var(--gc-ink);font-size:13px;font-weight:500;line-height:1.2;text-align:left;box-shadow:none;transition:border-color .16s,box-shadow .16s,background-color .16s}
/* Form-level legacy button rules must never turn selector triggers into action buttons. */
.gc-select>.gc-select-trigger{min-height:40px!important;border:1px solid var(--gc-line-strong)!important;border-radius:12px!important;background:var(--gc-surface)!important;padding:8px 12px!important;color:var(--gc-ink)!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important}
.gc-select-trigger::after{width:7px;height:7px;flex:none;transform:rotate(45deg) translateY(-2px);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;color:var(--gc-muted);content:""}
.gc-select-trigger:hover,.gc-combobox-input:hover{border-color:rgba(52,53,55,.24)}
.gc-select-trigger:focus-visible,.gc-combobox-input:focus-visible,.gc-select.is-open>.gc-select-trigger,.gc-select.is-open>.gc-combobox-input{border-color:var(--gc-gold);outline:0;box-shadow:0 0 0 4px rgba(201,162,39,.13)}
.gc-select-trigger[disabled],.gc-combobox-input[disabled]{cursor:not-allowed;opacity:.46}
.gc-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-select-count{flex:none;border-radius:999px;background:var(--gc-surface-muted);padding:1px 7px;color:var(--gc-muted);font-size:11px;font-variant-numeric:tabular-nums}
.gc-select-popover{position:fixed;z-index:4100;max-width:min(320px,calc(100vw - 24px));max-height:320px;overflow:auto;border:1px solid rgba(255,255,255,.72);border-radius:16px;background:var(--gc-surface-glass);padding:8px;box-shadow:var(--gc-shadow-float);overscroll-behavior:contain;backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%)}
.gc-select-popover[hidden]{display:none}
.gc-select-option{display:flex;width:100%;min-height:38px;align-items:center;gap:10px;border:0;border-radius:10px;background:transparent;padding:8px 10px;color:var(--gc-ink);font-size:13px;font-weight:500;text-align:left}
.gc-select-option:hover,.gc-select-option:focus-visible,.gc-select-option.is-focused{outline:0;background:var(--gc-surface-muted)}
.gc-select-option[aria-checked="true"],.gc-select-option[aria-selected="true"]{background:var(--gc-gold-wash);color:var(--gc-ink);font-weight:650}
.gc-select-option[aria-checked="true"]::after,.gc-select-option[aria-selected="true"]::after{margin-left:auto;color:var(--gc-gold-deep);content:"✓"}
.gc-select-checkbox{display:grid;width:18px;height:18px;flex:none;place-items:center;border:1px solid var(--gc-line-strong);border-radius:5px;background:var(--gc-surface);color:#FFF;font-size:12px}
.gc-select-option[aria-selected="true"] .gc-select-checkbox{border-color:#292A2E;background:#292A2E}
.gc-select-option[aria-selected="true"] .gc-select-checkbox::before{content:"✓"}
.gc-select-search{position:sticky;top:-8px;z-index:1;margin:-8px -8px 6px;padding:8px;background:var(--gc-surface-glass)}
.gc-select-search input{width:100%;min-height:40px;border:1px solid var(--gc-line);border-radius:10px;background:var(--gc-surface);padding:8px 10px;color:var(--gc-ink);font-size:13px}
.gc-select-empty{padding:16px;color:var(--gc-muted);font-size:13px;text-align:center}

/* Free-entry datalists are rendered as themed editable comboboxes. */
.gc-datalist{position:relative;display:grid;width:100%;grid-template-columns:minmax(0,1fr) 40px}
.gc-datalist>input{width:100%;border-radius:12px 0 0 12px}
.gc-datalist-trigger{display:grid;min-height:40px;place-items:center;border:1px solid var(--gc-line-strong);border-left:0;border-radius:0 12px 12px 0;background:var(--gc-surface);color:var(--gc-muted)}
.gc-datalist-trigger::before{width:7px;height:7px;transform:rotate(45deg) translateY(-2px);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;content:""}
.gc-datalist:focus-within>input,.gc-datalist:focus-within>.gc-datalist-trigger{border-color:var(--gc-gold);box-shadow:0 0 0 4px rgba(201,162,39,.13)}

/* Dialogs and drawers keep a 12px viewport safety gutter. */
.hr-drawer,.hr-candidate-panel,.hr-people-operation,.hr-payroll-drawer{top:12px!important;right:12px!important;bottom:12px!important;height:auto!important;max-height:calc(100vh - 24px);border-radius:28px!important;overflow:auto}
.hr-reveal-dialog,.modal{max-width:calc(100vw - 24px)}

/* Hierarchy and organization tree: cool fills, stronger directional connectors. */
.hr-org-directory-row[data-depth="0"]{background:rgba(118,118,128,.10);font-weight:700}
.hr-org-directory-row[data-depth="1"]{background:rgba(118,118,128,.06);font-weight:650}
.hr-org-directory-row[data-depth]:not([data-depth="0"]):not([data-depth="1"]){background:var(--gc-surface);font-weight:500}
.hr-org-tree,.hr-org-tree ul{gap:24px}
.hr-org-tree ul::before{background:rgba(52,53,55,.24)!important}
.hr-org-tree li::before,.hr-org-tree li::after{border-color:rgba(52,53,55,.24)!important}
.hr-org-node{min-height:120px}

/* Data tables use cool hierarchy and neutral total emphasis. */
.table th,.hr-data-table th{background:rgba(118,118,128,.08);color:#6E6E73}
.table tr.dabo-total td{background:rgba(201,162,39,.05);color:var(--gc-ink);font-weight:700}

/* BI refinements and accessible visible values. */
.hr-payroll-bars{position:relative;border-bottom-color:var(--gc-chart-grid)}
.hr-payroll-bars>div{position:relative;min-width:42px}
.hr-payroll-bar-value{color:var(--gc-ink);font-size:11px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.hr-payroll-bars i{background:linear-gradient(180deg,#F3D97E 0%,#CF9F37 55%,#76512C 100%)}
.hr-org-map-equivalent{display:inline-flex;min-height:40px;align-items:center;border:1px solid var(--gc-line);border-radius:12px;background:var(--gc-surface);padding:8px 12px;color:var(--gc-ink);font-size:12px;font-weight:600}

/* Dabo uses module navigation and checkbox-listbox multi-selection. */
.dabo-subnav{border-radius:14px}
.dabo-subnav a{border-radius:10px}
.dabo-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dabo-filter-row{display:block;margin:0}
.dabo-filter-label{display:block;width:auto;margin-bottom:6px;padding:0;color:var(--gc-ink-soft);font-size:12px;font-weight:600}
.dabo-filter-hint{grid-column:1/-1}
.grid-cards,.grid-cards>.card,.dabo-scroll{min-width:0;max-width:100%}
#exName,#bdSearch{min-width:0}

@media(max-width:760px){
  .gc-select-trigger,.gc-combobox-input{min-height:44px}
  .gc-select-popover{max-width:calc(100vw - 24px)}
  .dabo-filter{grid-template-columns:1fr}
  .dabo-filter-hint{grid-column:auto}
  .grid-cards{grid-template-columns:minmax(0,1fr)!important}
  .grid-cards>.card>div[style*="display:flex"]{flex-wrap:wrap}
}
.hr-payroll-variance{display:block;margin-top:4px;color:#B42318;font-size:11px;font-weight:650;font-variant-numeric:tabular-nums}
@media(max-width:480px){
  main>.gc-page-title,main>h1{font-size:32px}
  .hr-drawer,.hr-candidate-panel,.hr-people-operation,.hr-payroll-drawer{right:12px!important;left:12px!important;width:auto!important;max-width:none!important;border-radius:24px!important}
}
@media(prefers-reduced-motion:reduce){.gc-select-trigger,.gc-combobox-input,.gc-select-popover{transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){.gc-select-popover,.gc-select-search{background:var(--gc-surface);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Roster governance: one controlled maintenance surface for employment and payroll facts. */
.hr-governance-section{display:grid;gap:16px;min-width:0;padding:20px 24px 28px;background:var(--gc-surface);color:var(--gc-ink)}
.hr-governance-header,.hr-governance-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hr-governance-header h3{margin:4px 0 5px;font-size:22px;font-weight:680;letter-spacing:-.02em}.hr-governance-header p:not(.hr-card-kicker){max-width:660px;margin:0;color:var(--gc-muted);font-size:13px;line-height:1.55}.hr-governance-revision,.hr-governance-effective{flex:none;border-radius:999px;background:var(--gc-surface-muted);padding:6px 10px;color:var(--gc-ink-soft);font-size:11px;font-variant-numeric:tabular-nums}
.hr-governance-form{display:grid;gap:12px;min-width:0}.hr-governance-card{min-width:0;border:1px solid var(--gc-line);border-radius:16px;background:rgba(255,255,255,.7);padding:16px}.hr-governance-card>header{align-items:center;margin-bottom:14px}.hr-governance-card h4{margin:0;color:var(--gc-ink);font-size:15px;font-weight:680}.hr-governance-card>header span{color:var(--gc-muted);font-size:11px}.hr-governance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hr-governance-grid label{display:grid;min-width:0;gap:6px;color:var(--gc-ink-soft);font-size:12px;font-weight:600}.hr-governance-grid input,.hr-governance-grid select{box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid var(--gc-line-strong);border-radius:12px;background:var(--gc-surface);padding:9px 11px;color:var(--gc-ink);font:500 13px var(--gc-font);font-variant-numeric:tabular-nums}.hr-governance-grid input:focus-visible,.hr-governance-grid select:focus-visible{border-color:var(--gc-gold);outline:2px solid rgba(201,162,39,.22);outline-offset:1px}.hr-governance-grid label small{color:var(--gc-muted);font-size:11px;font-weight:400;line-height:1.45}.hr-governance-rule-note{margin:14px 0 0;border-radius:12px;background:var(--gc-surface-muted);padding:10px 12px;color:var(--gc-ink-soft);font-size:12px;line-height:1.55}.hr-governance-policy{display:grid;align-content:center;gap:4px;border-radius:12px;background:rgba(201,162,39,.08);padding:10px 12px}.hr-governance-policy strong{color:var(--gc-gold-deep);font-size:12px}.hr-governance-policy span{color:var(--gc-ink-soft);font-size:11px;line-height:1.5}.hr-governance-participation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:14px}.hr-governance-participation label{display:flex;min-width:0;min-height:40px;align-items:center;gap:7px;border-radius:10px;background:var(--gc-surface-muted);padding:7px 9px;color:var(--gc-ink-soft);font-size:12px;font-weight:600}.hr-governance-participation input{width:17px;height:17px;accent-color:#292A2E}.hr-governance-completeness{display:grid;gap:4px;border-left:3px solid var(--gc-gold);border-radius:10px;background:var(--gc-surface-muted);padding:10px 12px}.hr-governance-completeness strong{color:var(--gc-ink);font-size:12px}.hr-governance-completeness span{color:var(--gc-muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.hr-governance-form>footer{display:flex;justify-content:flex-end;gap:8px}.hr-governance-state{min-height:180px;align-content:center}.hr-governance-state h3{margin:4px 0 6px;font-size:20px}.hr-governance-state p:not(.hr-card-kicker){margin:0;color:var(--gc-muted);font-size:13px;line-height:1.55}.hr-governance-state.is-permission{border-left:3px solid #FF9500}.hr-governance-state.is-error{border-left:3px solid #FF3B30}
.hr-governance-readonly-note{margin:0;border-radius:12px;background:rgba(255,149,0,.10);padding:10px 12px;color:#975B00;font-size:12px;line-height:1.5}.hr-governance-form.is-readonly{opacity:.92}
@media(max-width:760px){.hr-governance-section{padding:18px}.hr-governance-section>.hr-governance-header{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.hr-governance-section>.hr-governance-header>div{min-width:0}.hr-governance-effective{justify-self:start}.hr-governance-grid{grid-template-columns:1fr}.hr-governance-participation{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-governance-form>footer{display:grid}.hr-governance-form>footer button{width:100%}}
@media(max-width:480px){.hr-governance-section{padding:16px 12px 20px}.hr-governance-card{padding:12px}.hr-governance-participation{grid-template-columns:1fr}.hr-governance-header h3{font-size:20px}}
@media(prefers-reduced-transparency:reduce){.hr-governance-card{background:var(--gc-surface)}}

/* Payroll rule versioning: evidence, scope and effective dates stay visible together. */
.hr-rule-readiness{display:flex;align-items:center;gap:16px;margin:20px 0;padding:16px 20px;border:1px solid rgba(201,162,39,.24);border-radius:16px;background:rgba(201,162,39,.06)}
.hr-rule-readiness strong{flex:none;color:var(--gc-ink);font-size:14px}.hr-rule-readiness p{margin:0;color:var(--gc-ink-soft);font-size:13px;line-height:1.55}
.hr-rule-group{margin-top:24px}.hr-rule-group>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.hr-rule-group>header h3{margin:0;color:var(--gc-ink);font-size:18px;font-weight:680;letter-spacing:-.02em}.hr-rule-group>header span{color:var(--gc-muted);font-size:12px;font-variant-numeric:tabular-nums}
.hr-payroll-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hr-payroll-rule-grid .hr-rule-card{display:flex;min-width:0;min-height:286px;flex-direction:column;padding:20px;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card)}
.hr-rule-card.is-candidate{border-style:dashed}.hr-rule-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hr-rule-card>header>span{color:var(--gc-gold-deep);font-size:12px;font-weight:650}.hr-rule-card>header>b{border-radius:999px;background:var(--gc-surface-muted);padding:4px 9px;color:var(--gc-ink-soft);font-size:11px;font-weight:650}.hr-rule-card>header>b.is-active{background:rgba(52,199,89,.11);color:#217A39}.hr-rule-card>header>b.is-candidate{background:rgba(255,149,0,.11);color:#975B00}.hr-rule-card>header>b.is-inactive{color:var(--gc-muted)}
.hr-rule-card h3{margin:16px 0 6px;color:var(--gc-ink);font-size:20px;font-weight:680;letter-spacing:-.02em}.hr-rule-formula{min-height:44px;margin:0;color:var(--gc-ink-soft);font-size:13px;line-height:1.55}.hr-rule-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.hr-rule-card dl>div{min-width:0;border-radius:12px;background:var(--gc-surface-muted);padding:10px 12px}.hr-rule-card dt{color:var(--gc-muted);font-size:11px}.hr-rule-card dd{overflow-wrap:anywhere;margin:4px 0 0;color:var(--gc-ink);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.hr-rule-evidence{display:grid;gap:3px;margin-top:auto;border-left:3px solid var(--gc-gold);padding:4px 0 4px 12px}.hr-rule-evidence.is-warning{border-left-color:#FF9500}.hr-rule-evidence strong{color:var(--gc-ink);font-size:12px}.hr-rule-evidence span{color:var(--gc-ink-soft);font-size:12px;line-height:1.5}.hr-rule-card>footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.hr-rule-card>footer button{min-height:40px}
.hr-rule-drawer{width:min(720px,calc(100vw - 24px))}.hr-rule-drawer>form>section{padding:20px 24px;border-bottom:1px solid var(--gc-line)}.hr-rule-drawer>form>section>h3{margin:0 0 14px;color:var(--gc-ink);font-size:17px;font-weight:680;letter-spacing:-.02em}.hr-rule-form-grid,.hr-rule-param-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hr-rule-param-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-rule-form-grid label,.hr-rule-param-grid label{display:grid;min-width:0;gap:6px;color:var(--gc-ink-soft);font-size:12px;font-weight:600}.hr-rule-form-grid input,.hr-rule-param-grid input{width:100%;min-width:0;min-height:42px;box-sizing:border-box;border:1px solid var(--gc-line-strong);border-radius:12px;outline:0;background:var(--gc-surface);padding:9px 12px;color:var(--gc-ink);font:500 13px var(--gc-font);font-variant-numeric:tabular-nums}.hr-rule-form-grid input:focus,.hr-rule-param-grid input:focus{border-color:var(--gc-gold);box-shadow:0 0 0 4px rgba(201,162,39,.13)}.hr-rule-form-grid input[readonly]{background:var(--gc-surface-muted);color:var(--gc-muted)}
.hr-rule-manual-note,.hr-rule-editor-evidence{border-radius:14px;background:var(--gc-surface-muted);padding:14px 16px}.hr-rule-manual-note strong{color:var(--gc-ink);font-size:13px}.hr-rule-manual-note p,.hr-rule-editor-evidence p{margin:4px 0 0;color:var(--gc-ink-soft);font-size:12px;line-height:1.55}.hr-rule-editor-evidence small{display:block;margin-top:7px;color:var(--gc-gold-deep);font-size:11px}.hr-rule-drawer>form>.hr-payroll-form-error{min-height:20px;margin:10px 24px 0}.hr-rule-drawer>form>footer{display:flex;justify-content:flex-end;gap:8px;padding:18px 24px 24px}
@media(max-width:1040px){.hr-payroll-rule-grid{grid-template-columns:1fr}.hr-rule-param-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hr-rule-readiness{display:block}.hr-rule-readiness p{margin-top:6px}.hr-rule-drawer>form>section{padding:18px}.hr-rule-form-grid,.hr-rule-param-grid{grid-template-columns:1fr}.hr-rule-drawer>form>.hr-payroll-form-error{margin-inline:18px}.hr-rule-drawer>form>footer{padding:16px 18px 20px}}
@media(max-width:480px){.hr-rule-card dl{grid-template-columns:1fr}.hr-rule-card>footer{display:grid}.hr-rule-card>footer button{width:100%}.hr-rule-drawer>form>footer{display:grid;grid-template-columns:1fr 1fr}.hr-rule-drawer>form>footer button{width:100%}}
@media(prefers-reduced-transparency:reduce){.hr-rule-readiness{background:var(--gc-surface)}}
.hr-connection-dot.is-ready{background:#357052;box-shadow:0 0 0 4px rgba(53,112,82,.12)}

/* Payroll workspace: registered hierarchy, segmented navigation and verifiable facts. */
.hr-payroll-head h1{font-size:clamp(32px,4vw,48px)!important;font-weight:700!important;line-height:1.04!important;letter-spacing:-.035em!important}
.hr-payroll-head>div>p:last-child{max-width:680px;font-size:14px!important;line-height:1.55!important}
.hr-payroll-tabs{width:max-content;max-width:100%;margin:0 0 24px!important;overflow-x:auto;border:0!important;border-radius:12px!important;background:rgba(118,118,128,.12)!important;padding:3px!important;gap:3px!important;scrollbar-width:thin}
.hr-payroll-tabs button{position:relative;min-height:36px!important;border:0!important;border-radius:9px!important;background:transparent!important;padding:8px 17px!important;color:var(--gc-ink-soft)!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;box-shadow:none!important;white-space:nowrap}
.hr-payroll-tabs button::after{display:none!important}
.hr-payroll-tabs button.is-active,.hr-payroll-tabs button[aria-selected="true"]{background:var(--gc-surface)!important;color:var(--gc-ink)!important;box-shadow:0 1px 3px rgba(41,42,46,.12),0 3px 9px rgba(41,42,46,.05)!important}
.hr-payroll-tabs button:focus-visible{outline:2px solid var(--gc-gold)!important;outline-offset:1px!important}
.hr-payroll-section-head{margin-top:0}.hr-facts-heading{align-items:center}
.hr-fact-status{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;margin:0 0 16px;border-radius:16px;background:var(--gc-surface-muted);padding:14px 16px;color:var(--gc-ink)}
.hr-fact-status>span{border-radius:999px;padding:4px 9px;background:rgba(118,118,128,.12);font-size:11px;font-weight:650}.hr-fact-status>strong{font-size:14px;font-variant-numeric:tabular-nums}.hr-fact-status>p{margin:0;color:var(--gc-ink-soft);font-size:12px;line-height:1.5}
.hr-fact-status.is-success{background:rgba(52,199,89,.08)}.hr-fact-status.is-success>span{background:rgba(52,199,89,.13);color:#217A39}.hr-fact-status.is-warning{background:rgba(255,149,0,.08)}.hr-fact-status.is-warning>span{background:rgba(255,149,0,.13);color:#8A5200}.hr-fact-status.is-error{background:rgba(255,59,48,.07)}.hr-fact-status.is-error>span{background:rgba(255,59,48,.12);color:#B42318}
.hr-payroll-connection{min-width:0;border-color:var(--gc-line)!important;border-radius:20px!important;background:var(--gc-surface)!important;box-shadow:var(--gc-shadow-card)}.hr-payroll-connection>div{min-width:0;flex:1}.hr-payroll-connection .hr-payroll-badge{flex:none;background:var(--gc-surface-muted);color:var(--gc-ink-soft);font-size:11px;font-weight:650}
.hr-fact-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.hr-fact-metrics article{min-height:126px;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);padding:20px;box-shadow:var(--gc-shadow-card)}.hr-fact-metrics span{display:block;color:var(--gc-ink-soft);font-size:12px;font-weight:600}.hr-fact-metrics strong{display:inline-block;margin-top:18px;color:var(--gc-ink);font-size:34px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.035em}.hr-fact-metrics small{margin-left:5px;color:var(--gc-muted);font-size:11px}
.hr-fact-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hr-fact-table-card{min-width:0;overflow:hidden;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card)}.hr-fact-table-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 14px}.hr-fact-table-card h3{margin:0;color:var(--gc-ink);font-size:18px;font-weight:680;line-height:1.2;letter-spacing:-.02em}.hr-fact-table-card header p{margin:5px 0 0;color:var(--gc-ink-soft);font-size:12px}.hr-fact-table-card header>span{flex:none;color:var(--gc-muted);font-size:11px;font-variant-numeric:tabular-nums}
.hr-fact-table-scroll{overflow-x:auto}.hr-fact-table-card table{width:100%;border-collapse:collapse;font-size:12px}.hr-fact-table-card th,.hr-fact-table-card td{padding:11px 14px;border-top:1px solid var(--gc-line);color:var(--gc-ink-soft);text-align:left;vertical-align:top}.hr-fact-table-card thead th{background:rgba(118,118,128,.08);color:var(--gc-muted);font-size:11px;font-weight:600;white-space:nowrap}.hr-fact-table-card tbody th{background:var(--gc-surface);color:var(--gc-ink);font-weight:500;white-space:nowrap}.hr-fact-table-card tbody th strong,.hr-fact-table-card tbody th small{display:block}.hr-fact-table-card tbody th small{margin-top:3px;color:var(--gc-muted);font-size:10px;font-weight:400;font-variant-numeric:tabular-nums}.hr-fact-table-card code{display:block;max-width:160px;overflow:hidden;color:var(--gc-ink-soft);font:500 10px ui-monospace,SFMono-Regular,Menlo,monospace;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1040px){.hr-fact-evidence-grid{grid-template-columns:1fr}}
@media(max-width:760px){.hr-payroll-tabs{width:100%;margin-bottom:20px!important}.hr-fact-status{grid-template-columns:auto 1fr}.hr-fact-status>p{grid-column:1/-1}.hr-fact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-facts-heading{align-items:flex-start}.hr-facts-heading .hr-payroll-primary{width:100%}}
@media(max-width:480px){.hr-payroll-head h1{font-size:32px!important}.hr-payroll-tabs button{padding-inline:14px!important}.hr-fact-metrics{grid-template-columns:1fr 1fr;gap:8px}.hr-fact-metrics article{min-height:112px;padding:16px}.hr-fact-metrics strong{font-size:29px}.hr-fact-table-card{border-radius:18px}}
@media(prefers-reduced-transparency:reduce){.hr-payroll-tabs,.hr-payroll-connection,.hr-fact-table-card,.hr-fact-metrics article{background:var(--gc-surface)!important}}

/* Payroll IA: four stable destinations and one sequential monthly workflow. */
.hr-payroll-workspace{max-width:1240px}.hr-payroll-workspace #payrollContent{min-width:0}.hr-payroll-section-head{display:flex;max-height:88px;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}.hr-payroll-section-head>div{min-width:0}.hr-payroll-section-head h2{margin:0;color:var(--gc-ink);font-size:22px;font-weight:680;line-height:1.2;letter-spacing:-.02em}.hr-payroll-section-head p:last-child{max-width:720px;margin:4px 0 0;color:var(--gc-ink-soft);font-size:13px;line-height:1.55}.hr-payroll-section-head .hr-card-kicker{margin:0 0 4px;color:var(--gc-gold-deep);font-size:11px;font-weight:650;letter-spacing:.06em}.hr-payroll-partial{display:flex;align-items:center;gap:12px;margin-bottom:12px;border-radius:14px;background:rgba(255,149,0,.09);padding:12px 16px}.hr-payroll-partial strong{color:#8A5200;font-size:13px}.hr-payroll-partial span{color:var(--gc-ink-soft);font-size:12px}.hr-payroll-period{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-left:3px solid var(--gc-gold);border-radius:0 14px 14px 0;background:rgba(255,255,255,.72);padding:14px 16px}.hr-payroll-period span{color:var(--gc-muted);font-size:11px;font-weight:600}.hr-payroll-period strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:14px;font-weight:680;font-variant-numeric:tabular-nums}.hr-payroll-period b,.hr-workflow-status{border-radius:999px;background:rgba(118,118,128,.12);padding:4px 9px;color:var(--gc-ink-soft);font-size:11px;font-weight:650;white-space:nowrap}.hr-payroll-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 24px}.hr-payroll-summary article{min-width:0;min-height:126px;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);padding:20px;box-shadow:var(--gc-shadow-card)}.hr-payroll-summary span,.hr-payroll-summary small{display:block;color:var(--gc-ink-soft);font-size:12px}.hr-payroll-summary strong{display:block;overflow-wrap:anywhere;margin:17px 0 5px;color:var(--gc-ink);font-size:31px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.hr-payroll-workflow{display:grid;gap:16px;margin:0;padding:0;list-style:none;counter-reset:payroll-step}.hr-payroll-workflow>li{position:relative;min-width:0}.hr-payroll-workflow>li:not(:last-child)::after{position:absolute;z-index:0;top:48px;bottom:-28px;left:35px;width:1px;background:rgba(201,162,39,.3);content:""}.hr-payroll-workflow-step{position:relative;z-index:1;min-width:0;border:1px solid var(--gc-line);border-radius:22px;background:var(--gc-surface);padding:24px;box-shadow:var(--gc-shadow-card)}.hr-payroll-workflow-step>header{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:12px}.hr-workflow-index{display:grid;width:40px;height:40px;border-radius:14px;background:#292A2E;color:#FFF;font-size:14px;font-weight:700;place-items:center;font-variant-numeric:tabular-nums}.hr-payroll-workflow-step h2{margin:1px 0 4px;color:var(--gc-ink);font-size:21px;font-weight:680;line-height:1.2;letter-spacing:-.02em}.hr-payroll-workflow-step>header p{margin:0;color:var(--gc-ink-soft);font-size:13px;line-height:1.55}.hr-workflow-status.is-done{background:rgba(52,199,89,.11);color:#217A39}.hr-workflow-status.is-partial{background:rgba(255,149,0,.11);color:#8A5200}.hr-payroll-workflow-step>footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px;padding-left:60px}.hr-payroll-workflow-step>footer>span{color:var(--gc-muted);font-size:11px}.hr-payroll-primary:disabled,.hr-payroll-secondary:disabled{cursor:not-allowed;opacity:.48}.hr-workflow-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0;padding-left:60px}.hr-workflow-source-grid section{min-width:0;border-radius:16px;background:var(--gc-surface-muted);padding:14px}.hr-workflow-source-grid h3{margin:0;color:var(--gc-ink-soft);font-size:12px;font-weight:600}.hr-workflow-source-grid strong{display:block;margin:10px 0 4px;color:var(--gc-ink);font-size:18px;font-weight:680;font-variant-numeric:tabular-nums}.hr-workflow-source-grid p{margin:0;color:var(--gc-muted);font-size:11px;line-height:1.5}.hr-review-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0;padding:0 0 0 60px;list-style:none}.hr-review-list li{display:grid;gap:5px;border-radius:16px;background:var(--gc-surface-muted);padding:14px}.hr-review-list span,.hr-review-list small{color:var(--gc-ink-soft);font-size:11px}.hr-review-list strong{color:var(--gc-ink);font-size:15px;font-weight:680;font-variant-numeric:tabular-nums}.hr-workflow-table-scroll{min-width:0;overflow-x:auto}.hr-payroll-workflow-step>.hr-workflow-table-scroll{margin:18px 0 0 60px}.hr-workflow-table,.hr-ledger-table,.hr-policy-table{width:100%;border-collapse:collapse;color:var(--gc-ink);font-size:12px}.hr-workflow-table th,.hr-workflow-table td,.hr-ledger-table th,.hr-ledger-table td,.hr-policy-table th,.hr-policy-table td{padding:12px 14px;border-top:1px solid var(--gc-line);text-align:left;vertical-align:top}.hr-workflow-table thead th,.hr-ledger-table thead th,.hr-policy-table thead th{border-top:0;background:rgba(118,118,128,.08);color:var(--gc-muted);font-size:11px;font-weight:600;white-space:nowrap}.hr-workflow-table tbody th{min-width:140px;background:var(--gc-surface);font-weight:500}.hr-workflow-table tbody th small{display:block;margin-top:3px;color:var(--gc-muted);font-size:10px}.hr-payroll-person-link{border:0;background:transparent;padding:0;color:var(--gc-ink);font:650 12px var(--gc-font);text-align:left;cursor:pointer}.hr-payroll-person-link:disabled{cursor:default}.hr-payroll-person-link:not(:disabled):hover{color:var(--gc-charcoal)}.hr-payroll-person-link:focus-visible{border-radius:4px;outline:2px solid var(--gc-gold);outline-offset:3px}.hr-reconciliation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 0;padding-left:60px}.hr-reconciliation-grid>div{min-width:0;border-radius:16px;background:var(--gc-surface-muted);padding:14px}.hr-reconciliation-grid dt,.hr-reconciliation-grid small{color:var(--gc-ink-soft);font-size:11px}.hr-reconciliation-grid dd{overflow-wrap:anywhere;margin:9px 0 5px;color:var(--gc-ink);font-size:18px;font-weight:680;font-variant-numeric:tabular-nums}.hr-reconciliation-grid .is-unavailable,.hr-reconciliation-grid .is-partial{border:1px dashed rgba(118,118,128,.32)}.hr-lock-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 0;padding-left:60px}.hr-lock-summary span{border-radius:16px;background:var(--gc-surface-muted);padding:14px;color:var(--gc-ink-soft);font-size:11px}.hr-lock-summary strong{display:block;margin-top:8px;color:var(--gc-ink);font-size:15px;font-weight:680}
.hr-ledger-table{min-width:720px;border:1px solid var(--gc-line);background:var(--gc-surface)}.hr-ledger-table tbody tr.is-selected{background:rgba(201,162,39,.05)}.hr-ledger-table tbody th{font-weight:650}.hr-ledger-table td,.hr-ledger-table th{font-variant-numeric:tabular-nums}.hr-ledger-table .hr-payroll-secondary{min-height:36px;padding:6px 12px}.hr-ledger-detail{margin-top:20px;border:1px solid var(--gc-line);border-radius:22px;background:var(--gc-surface);padding:24px;box-shadow:var(--gc-shadow-card)}.hr-ledger-detail>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hr-ledger-detail>header h2{margin:0;color:var(--gc-ink);font-size:20px;font-weight:680;letter-spacing:-.02em}.hr-ledger-detail>header p{margin:5px 0 16px;color:var(--gc-ink-soft);font-size:12px}.hr-ledger-documents{margin-top:24px}.hr-ledger-documents>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.hr-ledger-documents h3{margin:0;color:var(--gc-ink);font-size:18px;font-weight:680;letter-spacing:-.02em}.hr-ledger-documents header>span{color:var(--gc-muted);font-size:11px}.hr-ledger-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hr-ledger-document{display:grid;min-width:0;min-height:142px;align-content:start;gap:7px;border:1px solid var(--gc-line);border-radius:16px;background:var(--gc-surface-muted);padding:16px;color:var(--gc-ink);font:inherit;text-align:left;cursor:pointer}.hr-ledger-document>span{color:var(--gc-gold-deep);font-size:11px;font-weight:650}.hr-ledger-document>strong{font-size:15px}.hr-ledger-document>small{color:var(--gc-ink-soft);font-size:11px;line-height:1.5}.hr-ledger-document>b{margin-top:auto;color:var(--gc-ink);font-size:11px}.hr-ledger-document:hover{border-color:rgba(201,162,39,.5)}.hr-ledger-document:focus-visible{outline:2px solid var(--gc-gold);outline-offset:2px}
.hr-profile-toolbar,.hr-rule-page-selector{display:flex;align-items:end;gap:12px;margin-bottom:16px}.hr-profile-toolbar label,.hr-rule-page-selector label{display:grid;min-width:180px;gap:6px;color:var(--gc-ink-soft);font-size:11px;font-weight:600}.hr-profile-toolbar .hr-payroll-search{flex:1}.hr-profile-toolbar .hr-payroll-search input{width:100%;min-height:42px;box-sizing:border-box;border:1px solid var(--gc-line-strong);border-radius:12px;background:var(--gc-surface);padding:9px 12px;color:var(--gc-ink);font:500 13px var(--gc-font)}.hr-profile-toolbar .hr-payroll-search input:focus{border-color:var(--gc-gold);outline:0;box-shadow:0 0 0 4px rgba(201,162,39,.13)}.hr-profile-toolbar>span{margin-left:auto;padding-bottom:12px;color:var(--gc-muted);font-size:11px;font-variant-numeric:tabular-nums}.hr-payroll-profile-list{gap:10px}.hr-payroll-profile-row{grid-template-columns:40px minmax(0,1fr) minmax(150px,auto) auto!important;border-radius:16px!important;padding:14px 16px!important;box-shadow:none}.hr-payroll-profile-row.is-hourly{border-left:3px solid rgba(201,162,39,.5)!important}.hr-payroll-profile-row .hr-profile-rate{text-align:right}.hr-payroll-profile-row .hr-profile-rate strong,.hr-payroll-profile-row .hr-profile-rate small{display:block}.hr-payroll-profile-row .hr-profile-rate strong{color:var(--gc-ink);font-size:14px;font-variant-numeric:tabular-nums}.hr-payroll-profile-row .hr-profile-rate small{margin-top:4px;color:var(--gc-muted);font-size:10px}.hr-payroll-profile-row>.hr-payroll-secondary{min-height:36px;padding:6px 12px}
.hr-policy-version-note{display:flex;align-items:center;gap:12px;margin-bottom:16px;border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.05);padding:12px 16px}.hr-policy-version-note strong{flex:none;color:var(--gc-ink);font-size:13px}.hr-policy-version-note p{margin:0;color:var(--gc-ink-soft);font-size:12px}.hr-policy-list{display:grid;gap:16px}.hr-policy-card{min-width:0;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);padding:20px;box-shadow:var(--gc-shadow-card)}.hr-policy-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hr-policy-card>header span{color:var(--gc-gold-deep);font-size:11px;font-weight:650}.hr-policy-card h3{margin:4px 0 0;color:var(--gc-ink);font-size:20px;font-weight:680;letter-spacing:-.02em}.hr-policy-card>header>b{border-radius:999px;background:rgba(52,199,89,.1);padding:4px 9px;color:#217A39;font-size:11px}.hr-policy-card>dl{display:grid;grid-template-columns:1fr 1fr 2fr;gap:10px;margin:16px 0}.hr-policy-card>dl>div{min-width:0;border-radius:14px;background:var(--gc-surface-muted);padding:12px}.hr-policy-card dt{color:var(--gc-muted);font-size:10px}.hr-policy-card dd{overflow-wrap:anywhere;margin:5px 0 0;color:var(--gc-ink);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.hr-policy-table{min-width:640px}.hr-policy-card>footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.hr-payroll-production{margin:16px 0;border:1px solid var(--gc-line);border-radius:22px;background:var(--gc-surface);padding:20px;box-shadow:var(--gc-shadow-card)}.hr-payroll-production>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.hr-payroll-production h2,.hr-payroll-sheet h2{margin:0;color:var(--gc-ink);font-size:22px;font-weight:680;line-height:1.2;letter-spacing:-.02em}.hr-payroll-production>header p:last-child,.hr-payroll-sheet>header p{margin:4px 0 0;color:var(--gc-ink-soft);font-size:13px}.hr-payroll-production>header>strong{color:var(--gc-ink);font-size:14px;font-weight:680;font-variant-numeric:tabular-nums;white-space:nowrap}.hr-payroll-production-steps{display:grid;grid-template-columns:repeat(7,minmax(132px,1fr));gap:8px;margin:0;padding:0;list-style:none;overflow-x:auto}.hr-payroll-production-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;min-width:132px;border-radius:14px;background:var(--gc-surface-muted);padding:10px}.hr-payroll-production-steps li>span{display:grid;width:28px;height:28px;border-radius:10px;background:rgba(118,118,128,.16);color:var(--gc-ink-soft);font-size:11px;font-weight:700;place-items:center}.hr-payroll-production-steps li.is-done>span{background:rgba(52,199,89,.13);color:#217A39}.hr-payroll-production-steps strong,.hr-payroll-production-steps small{display:block}.hr-payroll-production-steps strong{color:var(--gc-ink);font-size:12px;font-weight:650}.hr-payroll-production-steps small{margin-top:2px;color:var(--gc-muted);font-size:10px}.hr-payroll-production-steps button{grid-column:1/-1;min-height:36px;border:0;border-radius:10px;background:#292A2E;padding:7px 9px;color:#fff;font:600 11px var(--gc-font);cursor:pointer}.hr-payroll-production-steps li.is-done button{background:#fff;color:var(--gc-ink);box-shadow:inset 0 0 0 1px var(--gc-line)}.hr-payroll-production-steps button:disabled{cursor:not-allowed;opacity:.45}.hr-payroll-production-steps button:focus-visible{outline:2px solid var(--gc-gold);outline-offset:2px}
.hr-payroll-sheet{min-width:0;border:1px solid var(--gc-line);border-radius:22px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card);overflow:hidden}.hr-payroll-sheet>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px}.hr-payroll-sheet-tools{display:flex;align-items:flex-end;gap:8px}.hr-payroll-sheet-tools label{display:grid;gap:4px;min-width:150px;color:var(--gc-muted);font-size:11px}.hr-payroll-sheet-tools input,.hr-payroll-sheet-tools select{height:40px;border:1px solid var(--gc-line-strong);border-radius:11px;background:#fff;padding:0 11px;color:var(--gc-ink);font:500 13px var(--gc-font)}.hr-payroll-sheet-tools input:focus-visible,.hr-payroll-sheet-tools select:focus-visible,.hr-payroll-money-input:focus-visible{border-color:var(--gc-gold);outline:2px solid rgba(201,162,39,.24);outline-offset:1px}.hr-payroll-sheet-scroll{max-height:68vh;overflow:auto;border-top:1px solid var(--gc-line)}.hr-payroll-production-table{min-width:1460px;width:100%;border-collapse:separate;border-spacing:0;color:var(--gc-ink);font-size:12px}.hr-payroll-production-table th,.hr-payroll-production-table td{height:58px;border-bottom:1px solid var(--gc-line);background:#fff;padding:9px 10px;text-align:left;vertical-align:middle}.hr-payroll-production-table thead th{position:sticky;z-index:3;top:0;height:48px;background:#F2F2F4;color:var(--gc-ink-soft);font-size:11px;font-weight:650;white-space:nowrap}.hr-payroll-production-table thead th small{color:var(--gc-gold-deep);font-size:9px}.hr-payroll-production-table th:first-child{position:sticky;z-index:2;left:0;min-width:156px;box-shadow:8px 0 12px -14px rgba(0,0,0,.65)}.hr-payroll-production-table thead th:first-child{z-index:4;background:#F2F2F4}.hr-payroll-production-table tbody th small{display:block;max-width:150px;margin-top:3px;overflow:hidden;color:var(--gc-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.hr-payroll-production-table .is-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.hr-payroll-production-table .is-deduction{color:#9A4D49}.hr-payroll-production-table .is-strong{font-weight:680}.hr-payroll-production-table .is-net{color:var(--gc-ink);font-size:13px;font-weight:700}.hr-payroll-money-input{width:88px;height:36px;border:1px solid rgba(140,109,31,.25);border-radius:9px;background:rgba(232,199,102,.09);padding:0 8px;color:var(--gc-ink);font:600 12px var(--gc-font);font-variant-numeric:tabular-nums;text-align:right}.hr-payroll-row-save,.hr-payroll-row-detail{display:block;width:92px;min-height:30px;border:0;border-radius:9px;font:600 10px var(--gc-font);cursor:pointer}.hr-payroll-row-save{margin-bottom:4px;background:#292A2E;color:#fff}.hr-payroll-row-save:disabled{background:rgba(118,118,128,.1);color:var(--gc-muted);cursor:default}.hr-payroll-row-detail{background:transparent;color:var(--gc-ink-soft);text-align:left}.hr-payroll-row-detail:hover{color:var(--gc-ink)}.hr-payroll-row-save:focus-visible,.hr-payroll-row-detail:focus-visible{outline:2px solid var(--gc-gold);outline-offset:2px}.hr-payroll-sheet-total{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#F2F2F4;padding:14px 20px}.hr-payroll-sheet-total>span{color:var(--gc-ink);font-size:13px;font-weight:700}.hr-payroll-sheet-total dl{display:flex;align-items:center;gap:24px;margin:0}.hr-payroll-sheet-total dl>div{display:grid;gap:2px;text-align:right}.hr-payroll-sheet-total dt{color:var(--gc-muted);font-size:10px}.hr-payroll-sheet-total dd{margin:0;color:var(--gc-ink);font-size:13px;font-weight:680;font-variant-numeric:tabular-nums}.hr-payroll-sheet-total dl>div:last-child dd{font-size:17px}.hr-payroll-finish{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;border-radius:18px;background:#292A2E;padding:18px 20px;color:#fff}.hr-payroll-finish strong{font-size:15px}.hr-payroll-finish p{margin:4px 0 0;color:rgba(255,255,255,.7);font-size:11px}.hr-payroll-finish .hr-payroll-primary{background:#fff;color:#292A2E}.hr-payroll-entry-drawer details{margin:4px 24px 24px;border-radius:14px;background:var(--gc-surface-muted);padding:14px}.hr-payroll-entry-drawer summary{color:var(--gc-ink);font-size:13px;font-weight:650;cursor:pointer}.hr-entry-formula{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0}.hr-entry-formula>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--gc-line);padding:10px 4px}.hr-entry-formula dt{color:var(--gc-ink-soft);font-size:12px}.hr-entry-formula dd{margin:0;color:var(--gc-ink);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.hr-entry-formula .is-subtotal,.hr-entry-formula .is-total{grid-column:1/-1;border-radius:10px;background:rgba(118,118,128,.08);padding:12px}.hr-entry-formula .is-total{margin-top:6px;background:#292A2E}.hr-entry-formula .is-total dt,.hr-entry-formula .is-total dd{color:#fff}.hr-entry-formula .is-total dd{font-size:18px}.hr-entry-blockers{display:grid;gap:8px;margin:0;padding:0;list-style:none}.hr-entry-blockers li{border-radius:12px;background:rgba(255,149,0,.08);padding:10px 12px}.hr-entry-blockers strong,.hr-entry-blockers small{display:block}.hr-entry-blockers strong{color:#7A4A00;font-size:12px}.hr-entry-blockers small{margin-top:3px;color:var(--gc-muted);font-size:9px}.hr-entry-evidence{display:grid;gap:8px;margin-top:12px}.hr-entry-evidence article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px}.hr-entry-evidence article strong{font-size:11px;font-weight:550}.hr-entry-evidence article span{font-size:11px;font-weight:680;font-variant-numeric:tabular-nums}.hr-entry-evidence article small{grid-column:1/-1;color:var(--gc-muted);font-size:9px}.hr-entry-evidence>p{margin:6px 0 0;color:var(--gc-ink-soft);font-size:11px}
.hr-payroll-filter-empty{position:sticky;left:0;display:grid;min-height:180px;width:min(100vw,1240px);align-content:center;justify-items:center;background:#fff;color:var(--gc-ink);text-align:center}.hr-payroll-filter-empty[hidden]{display:none}.hr-payroll-filter-empty strong{font-size:14px}.hr-payroll-filter-empty p{margin:5px 0 0;color:var(--gc-muted);font-size:12px}.hr-payroll-review-drawer{width:min(820px,calc(100vw - 24px))}.hr-payroll-review-drawer>header p{max-width:620px;margin:5px 0 0;color:var(--gc-muted);font-size:12px;line-height:1.5}.hr-payroll-review-drawer .hr-fact-table-scroll table{min-width:720px}.hr-payroll-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hr-payroll-review-summary>div{display:grid;gap:5px;border-radius:14px;background:var(--gc-surface-muted);padding:12px}.hr-payroll-review-summary span{color:var(--gc-muted);font-size:10px}.hr-payroll-review-summary strong{color:var(--gc-ink);font-size:15px;font-weight:680;font-variant-numeric:tabular-nums}.hr-payroll-review-note,.hr-payroll-review-source p{margin:4px 0 12px;color:var(--gc-ink-soft);font-size:12px;line-height:1.55}.hr-payroll-review-source{border-radius:14px;background:rgba(201,162,39,.08);padding:14px}.hr-payroll-review-source h3{margin:0 0 4px}.hr-payroll-review-source p{margin-bottom:8px}.hr-payroll-review-source a{color:var(--gc-gold-deep);font-size:12px;font-weight:650}.hr-payroll-review-actions{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--gc-line);background:rgba(255,255,255,.96);padding:16px 24px}.hr-payroll-review-actions>span{margin-right:auto;color:var(--gc-muted);font-size:11px}.hr-payroll-review-consent{display:flex;align-items:flex-start;gap:8px;margin-right:auto;color:var(--gc-ink);font-size:12px;line-height:1.45}.hr-payroll-review-consent input{width:18px;height:18px;margin:0;accent-color:var(--gc-gold-deep)}.hr-payroll-review-actions button{min-height:40px}.hr-payroll-review-actions button:focus-visible,.hr-payroll-review-consent input:focus-visible{outline:2px solid var(--gc-gold);outline-offset:2px}
@media(max-width:1040px){.hr-payroll-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-workflow-source-grid,.hr-review-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-reconciliation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-payroll-production-steps{grid-template-columns:repeat(7,132px)}.hr-payroll-sheet-total{align-items:flex-start}.hr-payroll-sheet-total dl{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:10px 16px}}
@media(max-width:760px){.hr-payroll-section-head{align-items:flex-start}.hr-payroll-period{grid-template-columns:1fr auto}.hr-payroll-period>span{grid-column:1/-1}.hr-payroll-workflow-step{padding:20px}.hr-payroll-workflow-step>header{grid-template-columns:40px minmax(0,1fr)}.hr-workflow-status{grid-column:2}.hr-payroll-workflow>li:not(:last-child)::after{left:31px}.hr-workflow-source-grid,.hr-review-list,.hr-reconciliation-grid,.hr-lock-summary,.hr-payroll-workflow-step>footer,.hr-payroll-workflow-step>.hr-workflow-table-scroll{margin-left:0;padding-left:0}.hr-lock-summary{grid-template-columns:1fr 1fr}.hr-ledger-detail{padding:20px}.hr-ledger-document-grid{grid-template-columns:1fr}.hr-profile-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.45fr)}.hr-profile-toolbar>span{grid-column:1/-1;margin-left:0;padding:0}.hr-payroll-profile-row{grid-template-columns:40px minmax(0,1fr) auto!important}.hr-payroll-profile-row .hr-profile-rate{grid-column:2;text-align:left}.hr-payroll-profile-row>.hr-payroll-secondary{grid-row:1/3;grid-column:3}.hr-policy-card>dl{grid-template-columns:1fr 1fr}.hr-policy-card>dl>div:last-child{grid-column:1/-1}}
@media(max-width:480px){.hr-payroll-period{grid-template-columns:1fr}.hr-payroll-period>span,.hr-payroll-period>b{grid-column:auto;justify-self:start}.hr-payroll-summary{grid-template-columns:1fr 1fr;gap:8px}.hr-payroll-summary article{min-height:112px;padding:16px}.hr-payroll-summary strong{font-size:26px}.hr-workflow-source-grid,.hr-review-list,.hr-reconciliation-grid,.hr-lock-summary{grid-template-columns:1fr}.hr-payroll-workflow-step{padding:16px}.hr-payroll-workflow-step>header{grid-template-columns:36px minmax(0,1fr);gap:10px}.hr-workflow-index{width:34px;height:34px;border-radius:11px}.hr-payroll-workflow>li:not(:last-child)::after{left:25px}.hr-payroll-workflow-step h2{font-size:19px}.hr-payroll-workflow-step>footer{display:grid;grid-template-columns:1fr}.hr-payroll-workflow-step>footer button{width:100%}.hr-ledger-detail>header{display:grid}.hr-profile-toolbar{grid-template-columns:1fr}.hr-profile-toolbar label{min-width:0}.hr-payroll-profile-row{grid-template-columns:36px minmax(0,1fr)!important}.hr-payroll-profile-row .hr-profile-rate{grid-column:2}.hr-payroll-profile-row>.hr-payroll-secondary{grid-row:auto;grid-column:1/-1;width:100%}.hr-rule-page-selector{display:grid;grid-template-columns:1fr}.hr-rule-page-selector label{min-width:0}.hr-policy-version-note{display:block}.hr-policy-version-note p{margin-top:5px}.hr-policy-card{padding:16px}.hr-policy-card>dl{grid-template-columns:1fr}.hr-policy-card>dl>div:last-child{grid-column:auto}.hr-policy-card>footer{display:grid}.hr-policy-card>footer button{width:100%}}
@media(max-width:340px){.hr-payroll-summary{grid-template-columns:1fr}.hr-payroll-summary article{min-height:108px}.hr-payroll-partial{display:block}.hr-payroll-partial span{display:block;margin-top:4px}}
@media(max-width:340px){.hr-payroll-tabs{display:grid!important;width:100%!important;box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible!important}.hr-payroll-tabs button{width:100%!important;min-width:0!important;padding-inline:3px!important;font-size:11px!important;white-space:normal!important}}
@media(max-width:760px){.hr-payroll-production{padding:16px}.hr-payroll-production>header,.hr-payroll-sheet>header{align-items:flex-start;display:grid}.hr-payroll-production>header>strong{white-space:normal}.hr-payroll-production-steps{grid-template-columns:repeat(7,140px)}.hr-payroll-sheet-tools{display:grid;grid-template-columns:minmax(0,1fr) 150px}.hr-payroll-sheet-tools label{min-width:0}.hr-payroll-sheet-scroll{max-height:64vh}.hr-payroll-sheet-total{display:grid}.hr-payroll-sheet-total dl{grid-template-columns:repeat(2,minmax(110px,1fr));width:100%}.hr-payroll-finish{align-items:flex-start;display:grid}.hr-payroll-finish button{width:100%}.hr-entry-formula{grid-template-columns:1fr}}
@media(max-width:480px){.hr-payroll-production{border-radius:18px;padding:14px}.hr-payroll-production h2,.hr-payroll-sheet h2{font-size:19px}.hr-payroll-production-steps{grid-template-columns:repeat(7,132px)}.hr-payroll-sheet>header{padding:16px}.hr-payroll-sheet-tools{grid-template-columns:1fr}.hr-payroll-sheet-total{padding:14px 16px}.hr-payroll-sheet-total dl{grid-template-columns:1fr 1fr}.hr-payroll-finish{border-radius:16px;padding:16px}.hr-payroll-entry-drawer details{margin:4px 16px 16px}}
@media(prefers-reduced-transparency:reduce){.hr-payroll-period,.hr-payroll-summary article,.hr-payroll-workflow-step,.hr-ledger-detail,.hr-policy-card{background:var(--gc-surface)}}
.hr-payroll-section-head{max-height:none}
.hr-payroll-production-steps button{background:#fff;color:var(--gc-ink);box-shadow:inset 0 0 0 1px var(--gc-line)}
.hr-payroll-production-steps li.is-current button{background:#292A2E;color:#fff;box-shadow:none}

/* The monthly workspace is keyed by the actual salary month; history uses the same workflow. */
.hr-payroll-period{grid-template-columns:minmax(232px,280px) minmax(0,1fr) auto;gap:16px}
.hr-payroll-month-picker,.hr-payroll-period-chain{display:grid;min-width:0;gap:5px}
.hr-payroll-month-picker>.gc-select{width:100%}
.hr-payroll-month-picker>.gc-select>.gc-select-trigger{min-height:42px!important}
.hr-payroll-period-chain{padding-left:16px;border-left:1px solid var(--gc-line)}
.hr-payroll-production-steps{grid-template-columns:repeat(7,minmax(168px,1fr))}
.hr-payroll-production-steps li{min-width:168px}
.hr-payroll-production-steps li.has-data>span{background:rgba(201,162,39,.15);color:var(--gc-gold-deep)}
.hr-payroll-production-steps li.is-missing>span{background:rgba(255,149,0,.12);color:#8A5200}
.hr-payroll-production-steps em{display:block;min-height:32px;margin-top:5px;color:var(--gc-ink-soft);font-size:10px;font-style:normal;line-height:1.45;font-variant-numeric:tabular-nums}
@media(max-width:760px){.hr-payroll-period{grid-template-columns:minmax(220px,.65fr) minmax(0,1fr)}.hr-payroll-period>b{grid-column:2;justify-self:start}.hr-payroll-production-steps{grid-template-columns:repeat(7,168px)}}
@media(max-width:480px){.hr-payroll-period{grid-template-columns:1fr}.hr-payroll-period-chain{padding-top:10px;padding-left:0;border-top:1px solid var(--gc-line);border-left:0}.hr-payroll-period>b{grid-column:auto}.hr-payroll-production-steps{grid-template-columns:repeat(7,168px)}}

/* Actual salary month controls every payroll workspace destination. */
.hr-payroll-nav-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:10px}.hr-payroll-nav-row .hr-payroll-tabs{flex:none;margin:0!important}.hr-payroll-global-month{display:grid;width:min(280px,100%);gap:5px;color:var(--gc-muted);font-size:11px;font-weight:600}.hr-payroll-global-month>.gc-select{width:100%}.hr-payroll-global-month .gc-select-trigger,.hr-payroll-global-month .gc-combobox-input{min-height:42px!important}.hr-payroll-global-period{display:flex;min-height:46px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;border-left:3px solid var(--gc-gold);background:rgba(255,255,255,.72);padding:10px 14px}.hr-payroll-global-period strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:13px;font-weight:680;font-variant-numeric:tabular-nums}.hr-payroll-global-period b{flex:none;border-radius:999px;background:rgba(118,118,128,.12);padding:4px 9px;color:var(--gc-ink-soft);font-size:11px;font-weight:650;white-space:nowrap}

/* Payroll usage guidance: make the HR action sequence visible before dense data. */
.hr-payroll-use-guide,.hr-payroll-dashboard-howto{margin:0 0 16px;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);padding:18px 20px;box-shadow:var(--gc-shadow-card)}
.hr-payroll-use-guide>header,.hr-payroll-dashboard-howto>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.hr-payroll-use-guide h2,.hr-payroll-dashboard-howto h2{margin:0;color:var(--gc-ink);font-size:20px;font-weight:680;line-height:1.2;letter-spacing:-.02em}
.hr-payroll-use-guide header p:last-child,.hr-payroll-dashboard-howto header p:last-child{max-width:720px;margin:4px 0 0;color:var(--gc-ink-soft);font-size:12px;line-height:1.55}
.hr-payroll-use-guide .hr-card-kicker,.hr-payroll-dashboard-howto .hr-card-kicker{margin:0 0 4px;color:var(--gc-gold-deep);font-size:11px;font-weight:650;letter-spacing:.06em}
.hr-payroll-use-guide>header>a,.hr-payroll-dashboard-howto>header>a{flex:none;text-decoration:none}
.hr-payroll-use-guide>ol,.hr-payroll-dashboard-howto>ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.hr-payroll-use-guide>ol>li,.hr-payroll-dashboard-howto>ol>li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;min-width:0;border-radius:14px;background:var(--gc-surface-muted);padding:12px}
.hr-payroll-use-guide>ol>li>span,.hr-payroll-dashboard-howto>ol>li>span{display:grid;width:28px;height:28px;border-radius:9px;background:#292A2E;color:#fff;font-size:10px;font-weight:700;place-items:center}
.hr-payroll-use-guide>ol>li.is-current{background:rgba(201,162,39,.10);box-shadow:inset 0 0 0 1px rgba(201,162,39,.3)}
.hr-payroll-use-guide strong,.hr-payroll-dashboard-howto strong{display:block;color:var(--gc-ink);font-size:12px;font-weight:680;line-height:1.4}
.hr-payroll-use-guide small,.hr-payroll-dashboard-howto small{display:block;margin-top:4px;color:var(--gc-ink-soft);font-size:11px;line-height:1.5}
.hr-payroll-person-workbench-link{color:var(--gc-gold-deep);font-size:10px;font-weight:650;text-decoration:none;white-space:nowrap}
.hr-payroll-person-workbench-link:hover{text-decoration:underline}
.hr-payroll-person-workbench-link:focus-visible{border-radius:4px;outline:2px solid var(--gc-gold);outline-offset:2px}
.hr-payroll-person-unlinked{color:#8A5200;font-size:10px;white-space:nowrap}
.hr-payroll-entry-actions{display:flex;align-items:center;gap:8px}
.hr-payroll-entry-actions>a{display:inline-flex;min-height:36px;align-items:center;padding:0 11px;text-decoration:none}
.hr-payroll-entry-actions .hr-drawer-close{flex:none}
.hr-payroll-dashboard-drawer .hr-payroll-person-workbench-link{display:inline-block;color:var(--gc-ink);font-size:12px;font-weight:680}
.hr-payroll-dashboard-drawer .hr-payroll-person-workbench-link:hover{color:var(--gc-gold-deep)}

/* Payroll ledger: preserve the imported wage-sheet column order and source-row order. */
.hr-ledger-wage-sheet{min-width:0;overflow:hidden;border:1px solid var(--gc-line);border-radius:22px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card)}.hr-ledger-total-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid var(--gc-line);background:#F2F2F4}.hr-ledger-total-strip>div{display:grid;min-width:0;gap:5px;padding:14px 16px}.hr-ledger-total-strip>div+div{border-left:1px solid var(--gc-line)}.hr-ledger-total-strip span{color:var(--gc-muted);font-size:10px}.hr-ledger-total-strip strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:15px;font-weight:680;font-variant-numeric:tabular-nums}.hr-ledger-total-strip .is-net{background:rgba(255,255,255,.62)}.hr-ledger-total-strip .is-net strong{font-size:18px;font-weight:700}.hr-ledger-table-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:var(--gc-ink-soft);font-size:11px}.hr-ledger-table-note span{font-variant-numeric:tabular-nums}.hr-ledger-table-note b{border-radius:999px;background:rgba(118,118,128,.1);padding:4px 8px;color:var(--gc-ink-soft);font-size:10px}.hr-ledger-wide-scroll{max-height:70vh;overflow:auto;border-top:1px solid var(--gc-line);outline:none}.hr-ledger-wide-scroll:focus-visible{outline:2px solid var(--gc-gold);outline-offset:-2px}.hr-ledger-wage-table{width:100%;min-width:4220px;border-collapse:separate;border-spacing:0;color:var(--gc-ink);font-size:11px}.hr-ledger-wage-table th,.hr-ledger-wage-table td{height:40px;box-sizing:border-box;border-right:1px solid rgba(0,0,0,.035);border-bottom:1px solid var(--gc-line);background:#fff;padding:7px 9px;text-align:left;white-space:nowrap}.hr-ledger-wage-table thead th{position:sticky;z-index:4;top:31px;height:42px;background:#F2F2F4;color:var(--gc-ink-soft);font-size:10px;font-weight:650}.hr-ledger-wage-table thead .hr-ledger-column-groups th{top:0;height:31px;border-bottom:1px solid rgba(0,0,0,.08);background:#EAEAED;color:var(--gc-ink);font-size:10px;font-weight:700;text-align:center}.hr-ledger-wage-table td.is-number{text-align:right;font-variant-numeric:tabular-nums}.hr-ledger-wage-table td.is-gross{font-weight:680}.hr-ledger-wage-table td.is-net{font-size:12px;font-weight:700}.hr-ledger-wage-table .is-person button{border:0;background:transparent;padding:0;color:var(--gc-ink);font:650 11px var(--gc-font);cursor:pointer}.hr-ledger-wage-table .is-person button:hover{color:var(--gc-charcoal)}.hr-ledger-wage-table .is-person button:focus-visible{border-radius:4px;outline:2px solid var(--gc-gold);outline-offset:2px}.hr-ledger-wage-table tbody tr:not(.hr-ledger-department-row):hover td{background:#FAFAFB}.hr-ledger-department-row th{height:44px!important;background:rgba(118,118,128,.1)!important;padding:0 8px!important}.hr-ledger-department-row button{display:flex;width:100%;min-height:40px;align-items:center;gap:9px;border:0;background:transparent;padding:0 4px;color:var(--gc-ink);font:inherit;text-align:left;cursor:pointer}.hr-ledger-department-row button>span{display:grid;width:24px;height:24px;border-radius:8px;background:#fff;color:var(--gc-ink-soft);font-size:14px;place-items:center}.hr-ledger-department-row button>strong{font-size:12px;font-weight:700}.hr-ledger-department-row button>small{color:var(--gc-muted);font-size:10px;font-variant-numeric:tabular-nums}.hr-ledger-department-row button:focus-visible{border-radius:8px;outline:2px solid var(--gc-gold);outline-offset:-1px}.hr-ledger-documents{max-width:1240px;margin-top:20px}
.hr-ledger-department-row button{display:inline-flex;width:auto;min-width:360px}
@media(max-width:760px){.hr-payroll-nav-row{display:grid;gap:12px}.hr-payroll-nav-row .hr-payroll-tabs{width:100%}.hr-payroll-global-month{width:100%}.hr-payroll-global-period{align-items:flex-start}.hr-ledger-total-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-ledger-total-strip>div:nth-child(4){border-left:0}.hr-ledger-total-strip>div:nth-child(n+4){border-top:1px solid var(--gc-line)}}
@media(max-width:480px){.hr-payroll-global-period{display:grid;gap:7px}.hr-payroll-global-period b{justify-self:start}.hr-ledger-total-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-ledger-total-strip>div:nth-child(odd){border-left:0}.hr-ledger-total-strip>div:nth-child(n+3){border-top:1px solid var(--gc-line)}.hr-ledger-table-note{align-items:flex-start;display:grid}.hr-payroll-section-head>#ledgerCollapseAll{width:100%}}
@media(prefers-reduced-transparency:reduce){.hr-payroll-global-period{background:var(--gc-surface)}}

@media(max-width:760px){.hr-payroll-use-guide>header,.hr-payroll-dashboard-howto>header{display:grid}.hr-payroll-use-guide>header>a,.hr-payroll-dashboard-howto>header>a{width:max-content}.hr-payroll-use-guide>ol,.hr-payroll-dashboard-howto>ol{grid-template-columns:1fr}.hr-payroll-entry-actions{align-items:flex-end;flex-direction:column}.hr-payroll-entry-actions>a{width:max-content}}
@media(max-width:480px){.hr-payroll-use-guide,.hr-payroll-dashboard-howto{border-radius:18px;padding:16px}.hr-payroll-use-guide h2,.hr-payroll-dashboard-howto h2{font-size:18px}.hr-payroll-entry-actions{align-items:stretch}.hr-payroll-entry-actions>a{width:auto;justify-content:center}}

/* People workspace: local lifecycle facts are a workflow status, not another tab. */
.hr-people{max-width:1240px}
.hr-people-source-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 12px;border:0;background:transparent;padding:0}
.hr-people-source-head>div{min-width:0}
.hr-people-source-head .hr-card-kicker{margin:0 0 4px;color:var(--gc-gold-deep);font-size:11px;font-weight:650;letter-spacing:.06em}
.hr-people-source-head h2{margin:0;color:var(--gc-ink);font-size:22px;font-weight:680;line-height:1.2;letter-spacing:-.02em}
.hr-people-source-head p:last-child{max-width:720px;margin:4px 0 0;color:var(--gc-ink-soft);font-size:13px;line-height:1.55}
.hr-lifecycle-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 12px;overflow:hidden;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card)}
.hr-lifecycle-band>span{display:grid;min-width:0;min-height:92px;align-content:center;gap:8px;padding:18px 20px}
.hr-lifecycle-band>span+span{border-left:1px solid var(--gc-line)}
.hr-lifecycle-band>button{display:grid;min-width:0;min-height:92px;align-content:center;gap:8px;border:0;border-right:1px solid var(--gc-line);background:transparent;padding:18px 20px;color:var(--gc-ink);font:inherit;text-align:left;cursor:pointer}
.hr-lifecycle-band>button+span{border-left:1px solid var(--gc-line)}
.hr-lifecycle-band>button:hover,.hr-lifecycle-band>button:focus-visible{background:var(--gc-surface-muted);outline:0}
.hr-lifecycle-band>button:focus-visible{box-shadow:inset 0 0 0 2px var(--gc-gold)}
.hr-lifecycle-band>button em{color:var(--gc-gold-deep);font-size:10px;font-style:normal;font-weight:650}
.hr-lifecycle-band small{color:var(--gc-muted);font-size:11px;font-weight:600}
.hr-lifecycle-band strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:16px;font-weight:680;line-height:1.3;font-variant-numeric:tabular-nums}
.hr-lifecycle-drawer{width:min(620px,94vw)}
.hr-lifecycle-drawer>section{padding-top:14px}
.hr-lifecycle-drawer-summary{display:flex;gap:8px;margin-bottom:12px}
.hr-lifecycle-drawer-summary span{display:grid;gap:3px;min-width:120px;border-radius:12px;background:var(--gc-surface-muted);padding:10px 12px;color:var(--gc-muted);font-size:10px}
.hr-lifecycle-drawer-summary strong{color:var(--gc-ink);font-size:14px}
.hr-lifecycle-fact-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.hr-lifecycle-fact-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--gc-line);padding:10px 0}
.hr-lifecycle-fact-list li:last-child{border-bottom:0}
.hr-lifecycle-fact-list li>div{min-width:0}
.hr-lifecycle-fact-list strong,.hr-lifecycle-fact-list small{display:block;overflow-wrap:anywhere}
.hr-lifecycle-fact-list strong{color:var(--gc-ink);font-size:13px}
.hr-lifecycle-fact-list small{margin-top:3px;color:var(--gc-muted);font-size:10px}
.hr-lifecycle-fact-list button{flex:none;min-height:34px;padding:7px 10px;white-space:nowrap}
.hr-lifecycle-unmatched-label{flex:none;color:#9a5d00;font-size:11px;font-weight:650}
.hr-lifecycle-empty{display:grid!important;gap:4px;justify-content:start!important;align-items:start!important;padding:24px 0!important}
.hr-section-actions a.hr-payroll-secondary{display:inline-flex;box-sizing:border-box;min-height:40px;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:760px){.hr-people-source-head{align-items:flex-start}.hr-lifecycle-band{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-lifecycle-band>span:nth-child(3){border-left:0;border-top:1px solid var(--gc-line)}.hr-lifecycle-band>span:nth-child(4){border-top:1px solid var(--gc-line)}.hr-section-actions a.hr-payroll-secondary{flex:1 1 180px}}
@media(max-width:760px){.hr-lifecycle-band>button:nth-child(2){border-right:0}.hr-lifecycle-band>button:nth-child(n+3),.hr-lifecycle-band>span:nth-child(4){border-top:1px solid var(--gc-line)}}
@media(max-width:480px){.hr-people-source-head{display:grid}.hr-people-source-head .hr-payroll-primary{width:100%}.hr-lifecycle-band{grid-template-columns:1fr}.hr-lifecycle-band>span,.hr-lifecycle-band>button{min-height:72px;padding:14px 16px}.hr-lifecycle-band>span+span,.hr-lifecycle-band>span:nth-child(3),.hr-lifecycle-band>button,.hr-lifecycle-band>button+span{border-top:1px solid var(--gc-line);border-left:0}.hr-lifecycle-band>button{border-right:0}.hr-section-actions a.hr-payroll-secondary{width:100%}}
@media(max-width:760px){.hr-payroll-review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-payroll-review-actions{align-items:stretch;display:grid;padding:14px 16px}.hr-payroll-review-actions>span,.hr-payroll-review-consent{margin-right:0}.hr-payroll-review-actions button{width:100%}}
@media(max-width:480px){.hr-payroll-review-drawer{width:100vw}.hr-payroll-review-summary{grid-template-columns:1fr 1fr}.hr-payroll-review-summary>div{padding:10px}.hr-payroll-review-actions{padding-bottom:calc(14px + env(safe-area-inset-bottom))}}
.hr-payroll-review-table{width:100%;min-width:760px;border:1px solid var(--gc-line);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;background:#fff;color:var(--gc-ink);font-size:12px}.hr-payroll-review-table th,.hr-payroll-review-table td{border-bottom:1px solid var(--gc-line);padding:11px 12px;text-align:left;vertical-align:middle}.hr-payroll-review-table thead th{background:#F2F2F4;color:var(--gc-ink-soft);font-size:11px;font-weight:680;white-space:nowrap}.hr-payroll-review-table tbody tr:last-child>*{border-bottom:0}.hr-payroll-review-table tbody tr:hover>*{background:rgba(201,162,39,.045)}.hr-payroll-review-table thead button{display:flex;width:100%;min-height:32px;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer}.hr-payroll-review-table thead button span{color:var(--gc-gold-deep);font-size:12px}.hr-payroll-review-table button[data-deduction-entry]{border:0;background:transparent;padding:0;color:var(--gc-ink);font:650 12px var(--gc-font);cursor:pointer;text-align:left}.hr-payroll-review-table button[data-deduction-entry].is-money{font-variant-numeric:tabular-nums}.hr-payroll-review-table button[data-deduction-entry]:hover{color:var(--gc-gold-deep);text-decoration:underline;text-underline-offset:3px}.hr-payroll-review-table .is-number,.hr-payroll-review-table .is-total{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.hr-payroll-review-table .is-total{font-weight:700}.hr-payroll-review-table .hr-payroll-secondary{min-height:34px;padding:6px 10px;white-space:nowrap}.hr-payroll-review-status{display:inline-flex;min-height:26px;align-items:center;border-radius:999px;background:rgba(118,118,128,.1);padding:0 9px;color:var(--gc-ink-soft);font-size:10px;font-weight:650;white-space:nowrap}.hr-payroll-review-status.is-edited{background:rgba(201,162,39,.13);color:var(--gc-gold-deep)}.hr-policy-version-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.hr-policy-version-actions strong{margin-right:auto;color:var(--gc-ink);font-size:12px}.hr-drawer-layer-nested{z-index:1300}.hr-attendance-entry-drawer{width:min(760px,calc(100vw - 24px))}.hr-attendance-entry-drawer>header p{margin:5px 0 0;color:var(--gc-muted);font-size:12px}.hr-deduction-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hr-deduction-result-grid article{display:grid;gap:5px;border-radius:14px;background:var(--gc-surface-muted);padding:14px}.hr-deduction-result-grid article.is-current{background:#292A2E}.hr-deduction-result-grid span,.hr-deduction-result-grid small{color:var(--gc-muted);font-size:10px}.hr-deduction-result-grid strong{color:var(--gc-ink);font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.hr-deduction-result-grid .is-current span,.hr-deduction-result-grid .is-current small{color:rgba(255,255,255,.68)}.hr-deduction-result-grid .is-current strong{color:#fff}.hr-deduction-explain-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hr-deduction-explain-grid>article{border:1px solid var(--gc-line);border-radius:14px;background:#fff;padding:14px}.hr-deduction-explain-grid h4{margin:0 0 10px;color:var(--gc-ink);font-size:14px}.hr-deduction-explain-grid p{margin:10px 0 0;color:var(--gc-ink-soft);font-size:11px;line-height:1.55}.hr-payroll-review-table.is-compact{min-width:0}.hr-payroll-review-table.is-compact th,.hr-payroll-review-table.is-compact td{padding:7px 9px}.hr-deduction-facts{padding:0!important}.hr-deduction-facts>div{grid-template-columns:1fr auto!important;gap:8px!important;padding:8px 0!important}.hr-deduction-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hr-deduction-edit-grid label{display:grid;gap:5px;color:var(--gc-ink-soft);font-size:11px}.hr-deduction-edit-grid label.is-wide{grid-column:1/-1}.hr-deduction-edit-grid input,.hr-deduction-edit-grid textarea{box-sizing:border-box;width:100%;border:1px solid var(--gc-line-strong);border-radius:11px;background:#fff;padding:10px 11px;color:var(--gc-ink);font:500 13px var(--gc-font)}.hr-deduction-edit-grid input:focus-visible,.hr-deduction-edit-grid textarea:focus-visible{border-color:var(--gc-gold);outline:2px solid rgba(201,162,39,.24);outline-offset:1px}.hr-attendance-entry-drawer form>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.hr-attendance-entry-drawer form>footer button{min-height:40px}
@media(max-width:760px){.hr-attendance-entry-drawer{width:100vw}.hr-deduction-result-grid{grid-template-columns:1fr 1fr}.hr-deduction-result-grid .is-current{grid-column:1/-1}.hr-deduction-explain-grid{grid-template-columns:1fr}.hr-policy-version-actions{display:grid}.hr-policy-version-actions strong{margin-right:0}}
@media(max-width:480px){.hr-deduction-edit-grid{grid-template-columns:1fr}.hr-deduction-edit-grid label.is-wide{grid-column:auto}.hr-attendance-entry-drawer form>footer{display:grid}.hr-attendance-entry-drawer form>footer button{width:100%}}

/* The month is the payroll workbench's global controller, aligned with its title. */
.hr-payroll-head{align-items:flex-end!important}
.hr-payroll-head>.hr-payroll-global-month{flex:none;width:min(280px,100%);margin:0}
@media(max-width:760px){.hr-payroll-head{display:grid!important;align-items:start!important;gap:14px!important}.hr-payroll-head>.hr-payroll-global-month{width:100%}}

/* A document drawer is an HR work queue, not a technical payload preview. */
.hr-document-drawer{width:min(860px,calc(100vw - 24px))}.hr-document-drawer>header{padding-bottom:18px}.hr-document-drawer>header p.hr-document-subtitle{max-width:660px;margin:7px 0 0;color:var(--gc-muted);font-size:12px;line-height:1.55}.hr-document-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hr-document-summary>div{display:grid;gap:5px;min-width:0;border-radius:14px;background:var(--gc-surface-muted);padding:13px}.hr-document-summary span{color:var(--gc-muted);font-size:10px}.hr-document-summary strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}.hr-document-summary>div.is-warning{background:rgba(255,149,0,.1)}.hr-document-issues{border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.08);padding:14px 16px}.hr-document-issues.is-ready{border-left-color:#4f8a68;background:rgba(79,138,104,.08)}.hr-document-issues h3{margin:0;color:var(--gc-ink);font-size:15px}.hr-document-issues>p{margin:5px 0 11px;color:var(--gc-ink-soft);font-size:12px;line-height:1.55}.hr-document-issues ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.hr-document-issues li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(0,0,0,.07);padding-top:8px}.hr-document-issues li>div{display:grid;gap:3px;min-width:0}.hr-document-issues li strong{color:var(--gc-ink);font-size:12px}.hr-document-issues li small,.hr-document-issue-more{color:var(--gc-muted);font-size:10px}.hr-document-issues li button{flex:none;min-height:34px;padding:6px 10px;font-size:11px}.hr-document-issue-more{display:block;margin-top:10px}.hr-document-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.hr-document-section-head h3{margin:0;color:var(--gc-ink);font-size:15px}.hr-document-section-head p{margin:4px 0 0;color:var(--gc-muted);font-size:11px;line-height:1.5}.hr-document-filter{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--gc-muted);font-size:11px}.hr-document-filter select{min-height:34px;border:1px solid var(--gc-line-strong);border-radius:9px;background:#fff;padding:5px 9px;color:var(--gc-ink);font:500 11px var(--gc-font)}.hr-document-line-scroll{max-height:390px;border:1px solid var(--gc-line);border-radius:12px}.hr-document-line-table{min-width:650px!important}.hr-document-line-table th,.hr-document-line-table td{padding:9px 10px}.hr-document-line-table tbody th strong,.hr-document-line-table tbody th small,.hr-document-line-more{display:block}.hr-document-line-table tbody th small{margin-top:3px;color:var(--gc-muted);font-size:10px;font-weight:400;font-variant-numeric:tabular-nums}.hr-document-line-status{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:rgba(79,138,104,.1);padding:0 8px;color:#3e7457;font-size:10px;font-weight:650;white-space:nowrap}.hr-document-line-status.is-warning{background:rgba(255,149,0,.12);color:#8a5200}.hr-document-line-more{margin-top:3px;color:var(--gc-muted);font-size:10px}.hr-document-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--gc-line);padding-top:14px}.hr-document-actions button{min-height:40px}.hr-document-technical{border-top:1px solid var(--gc-line);padding-top:12px}.hr-document-technical summary{color:var(--gc-muted);font-size:11px;cursor:pointer}.hr-document-technical dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}.hr-document-technical dl>div{display:grid;gap:3px;background:var(--gc-surface-muted);padding:8px 10px}.hr-document-technical dt{color:var(--gc-muted);font-size:10px}.hr-document-technical dd{margin:0;overflow-wrap:anywhere;color:var(--gc-ink-soft);font-size:11px}.hr-document-technical>a{color:var(--gc-gold-deep);font-size:11px;font-weight:650}.hr-document-drawer .hr-payroll-review-table tbody tr[hidden]{display:none!important}
@media(max-width:760px){.hr-document-drawer{width:100vw}.hr-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-document-issues li{align-items:flex-start}.hr-document-actions{display:grid}.hr-document-actions button{width:100%}}
@media(max-width:480px){.hr-document-drawer>header{padding-inline:16px}.hr-document-drawer>section{padding-inline:16px}.hr-document-summary{grid-template-columns:1fr 1fr}.hr-document-technical dl{grid-template-columns:1fr}.hr-document-filter{display:grid;align-items:start}.hr-document-filter select{width:100%}}
.hr-profile-focus-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;border-left:3px solid var(--gc-gold);border-radius:0 14px 14px 0;background:rgba(201,162,39,.08);padding:13px 14px}.hr-profile-focus-banner>div{display:grid;gap:4px;min-width:0}.hr-profile-focus-banner strong{color:var(--gc-ink);font-size:13px}.hr-profile-focus-banner p{margin:0;color:var(--gc-ink-soft);font-size:11px;line-height:1.5}.hr-profile-focus-banner button{flex:none;min-height:34px;padding:6px 10px;font-size:11px}@media(max-width:480px){.hr-profile-focus-banner{align-items:stretch;display:grid}.hr-profile-focus-banner button{width:100%}}
.hr-payroll-auto-status{margin:16px 0;border:1px solid var(--gc-line);border-radius:20px;background:var(--gc-surface);box-shadow:var(--gc-shadow-card);padding:18px 20px}.hr-payroll-auto-status>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--gc-line);padding-bottom:13px}.hr-payroll-auto-status h2{margin:3px 0;color:var(--gc-ink);font-size:20px;font-weight:700;letter-spacing:-.02em}.hr-payroll-auto-status>header p:not(.hr-card-kicker){max-width:760px;margin:4px 0 0;color:var(--gc-muted);font-size:12px;line-height:1.55}.hr-payroll-auto-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px}.hr-payroll-auto-grid>div{display:grid;min-width:0;gap:4px;border-radius:14px;background:var(--gc-surface-muted);padding:12px}.hr-payroll-auto-grid span,.hr-payroll-auto-grid small{color:var(--gc-muted);font-size:10px;line-height:1.4}.hr-payroll-auto-grid strong{overflow:hidden;color:var(--gc-ink);font-size:16px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.hr-payroll-auto-grid>div.is-ready{background:rgba(79,138,104,.08)}.hr-payroll-auto-grid>div.is-ready strong{color:#3e7457}.hr-payroll-auto-grid>div.is-warning{background:rgba(255,149,0,.10)}.hr-payroll-auto-grid>div.is-warning strong{color:#8a5200}@media(max-width:760px){.hr-payroll-auto-status>header{display:grid}.hr-payroll-auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.hr-payroll-auto-status{padding:16px}.hr-payroll-auto-grid{grid-template-columns:1fr}}
/* Resolved scope notes remain visible without entering the action queue. */
.hr-document-line-status.is-neutral{background:rgba(118,118,128,.12);color:var(--gc-muted)}
/* Long payroll evidence stays scrollable without hiding the row's identity and amounts. */
.hr-review-evidence-body{max-height:240px;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;text-align:left;padding-right:8px}
.hr-grid-full-row{grid-column:1 / -1;min-width:0}
.hr-payroll-review-table tr:has(.hr-review-evidence-body)>th,.hr-payroll-review-table tr:has(.hr-review-evidence-body)>td{vertical-align:top}
/* Numeric amounts stay on one line; their source/audit evidence must not. */
.hr-payroll-review-table .hr-creation-base-source,.hr-payroll-review-table .hr-creation-base-gap,.hr-payroll-review-table .hr-creation-source-alert{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.5}
.hr-payroll-review-table td>small.hr-creation-source-alert,.hr-payroll-review-table td>small.hr-creation-base-source,.hr-payroll-review-table td>small.hr-creation-base-gap{display:block;box-sizing:border-box;margin-top:4px;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.hr-payroll-creation-dialog .hr-creation-source-detail-trigger{min-height:24px;margin:2px 0 0;padding:2px 6px;border:1px solid var(--gc-line);border-radius:7px;background:var(--gc-surface-muted);font-size:11px;text-decoration:none}
@media(max-width:760px){.hr-payroll-creation-dialog .hr-creation-source-detail-trigger{min-height:40px}}
.hr-payroll-review-table td{min-width:0;overflow-wrap:anywhere}
/* Creation now has separate Feishu and roster identifiers: twelve columns. */
.hr-payroll-creation-dialog .hr-weekly-review-table{width:1428px;min-width:1428px!important;table-layout:fixed;border-inline:0}
.hr-payroll-creation-dialog .hr-weekly-review-table th,.hr-payroll-creation-dialog .hr-weekly-review-table td{box-sizing:border-box;width:auto;min-width:0;max-width:none;vertical-align:top}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(1){width:148px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(2){width:130px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(3){width:130px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(4){width:164px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(5){width:224px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(6){width:72px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(7){width:72px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(8){width:88px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(9){width:72px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(10){width:104px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(11){width:112px}
.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(12){width:112px}
.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>:nth-child(4){white-space:normal;overflow-wrap:anywhere;text-align:left}
.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>:nth-child(5),.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>:nth-child(10),.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>:nth-child(11){text-align:right}
.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>td{overflow:hidden}
.hr-payroll-creation-dialog .hr-weekly-review-table tr:not(.hr-creation-department-row)>td>small{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.45}
.hr-payroll-creation-dialog .hr-weekly-review-table .hr-creation-detail-button{min-height:40px}
.hr-creation-finance-detail-dialog{width:min(1060px,calc(100vw - 24px))}
.hr-finance-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.hr-finance-detail-summary article{display:grid;min-width:0;gap:5px;border-radius:14px;background:var(--gc-surface-muted);padding:12px}
.hr-finance-detail-summary span,.hr-finance-detail-summary small{color:var(--gc-muted);font-size:10px;line-height:1.4}
.hr-finance-detail-summary strong{color:var(--gc-ink);font-size:17px;font-variant-numeric:tabular-nums}
.hr-hourly-creation>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hr-hourly-creation>header p:not(.hr-card-kicker){max-width:760px;margin:5px 0 0;color:var(--gc-muted);font-size:12px;line-height:1.55}.hr-hourly-flow-status{flex:none;border-radius:999px;background:rgba(201,162,39,.12);padding:7px 10px;color:var(--gc-gold-deep);font-size:11px;font-weight:650}.hr-hourly-creation-table{min-width:840px}.hr-hourly-creation-table input{box-sizing:border-box;width:100%;min-width:92px;border:1px solid var(--gc-line-strong);border-radius:9px;background:#fff;padding:8px;color:var(--gc-ink);font:500 12px var(--gc-font)}.hr-hourly-creation-table td small{display:block;margin-top:4px;color:var(--gc-muted);font-size:10px}.hr-hourly-creation-table td:last-child{display:grid;gap:6px;min-width:132px}.hr-hourly-empty{display:grid;gap:5px;border-radius:14px;background:var(--gc-surface-muted);padding:22px}.hr-hourly-empty strong{color:var(--gc-ink);font-size:14px}.hr-hourly-empty p{margin:0;color:var(--gc-muted);font-size:12px;line-height:1.5}.hr-hourly-creation>footer{border-top:1px solid var(--gc-line);margin-top:14px;padding-top:12px;color:var(--gc-muted);font-size:11px;line-height:1.5}
@media(max-width:760px){.hr-hourly-creation>header{display:grid}.hr-hourly-flow-status{justify-self:start}}
.hr-finance-tax-preview-form{display:flex;align-items:flex-end;gap:10px;border-radius:14px;background:var(--gc-surface-muted);padding:12px;margin-bottom:14px}.hr-finance-tax-preview-form label{display:grid;min-width:0;flex:1;gap:5px;color:var(--gc-ink-soft);font-size:11px}.hr-finance-tax-preview-form input[type=file]{box-sizing:border-box;width:100%;min-height:40px;border:1px solid var(--gc-line-strong);border-radius:9px;background:#fff;padding:9px;color:var(--gc-ink);font:500 12px var(--gc-font)}.hr-finance-tax-preview-form button{flex:none;min-height:40px}.hr-finance-tax-preview-form .hr-payroll-form-error{margin:0;color:#a23b32;font-size:11px}.hr-finance-tax-preview-result{display:grid;gap:4px;border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.08);padding:12px 14px;margin-top:14px}.hr-finance-tax-preview-result strong{color:var(--gc-ink);font-size:13px}.hr-finance-tax-preview-result span,.hr-finance-tax-preview-result small{color:var(--gc-ink-soft);font-size:11px;line-height:1.5}
.hr-finance-tax-preview-form .hr-finance-correction-control{display:flex;align-items:center;gap:6px;flex:none;min-height:40px;white-space:nowrap}.hr-finance-tax-preview-form .hr-finance-correction-control input{width:17px;height:17px;accent-color:var(--gc-gold-deep)}.hr-finance-tax-preview-form .hr-finance-correction-reason{flex:1.2}.hr-finance-tax-preview-form textarea{box-sizing:border-box;width:100%;border:1px solid var(--gc-line-strong);border-radius:9px;padding:8px;color:var(--gc-ink);font:500 12px var(--gc-font);resize:vertical}
@media(max-width:760px){.hr-finance-tax-preview-form{display:grid;align-items:stretch}.hr-finance-tax-preview-form button{width:100%}}
@media(max-width:760px){.hr-creation-finance-detail-dialog{width:100vw}.hr-finance-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hr-finance-detail-summary{grid-template-columns:1fr 1fr}}
.hr-payroll-creation-dialog .hr-fact-table-scroll:focus-visible{outline:2px solid var(--gc-gold);outline-offset:2px}
@media(max-width:760px){.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(2){left:auto;z-index:5;box-shadow:none}.hr-payroll-creation-dialog .hr-weekly-review-table tbody tr:not(.hr-creation-department-row)>td:nth-child(2){position:static;box-shadow:none}}
.hr-hourly-creation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;padding:0;list-style:none}.hr-hourly-creation-steps li{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid var(--gc-line);border-radius:11px;padding:9px 11px}.hr-hourly-creation-steps li.is-current{border-color:var(--gc-gold);background:rgba(201,162,39,.07)}.hr-hourly-creation-steps li.is-done{background:var(--gc-surface-muted)}.hr-hourly-creation-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--gc-line);color:var(--gc-ink);font-size:11px}.hr-hourly-creation-steps li.is-current b{background:var(--gc-gold-deep);color:#fff}.hr-hourly-creation-steps strong,.hr-hourly-creation-steps small{display:block;overflow-wrap:anywhere}.hr-hourly-creation-steps strong{font-size:12px}.hr-hourly-creation-steps small{margin-top:2px;color:var(--gc-muted);font-size:10px}.hr-hourly-creation-table td:last-child{display:table-cell;min-width:76px}.hr-hourly-finance-pending{display:grid;gap:5px;margin-top:14px;border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.08);padding:12px 14px}.hr-hourly-finance-pending strong{font-size:13px}.hr-hourly-finance-pending p{margin:0;color:var(--gc-muted);font-size:11px;line-height:1.5}.hr-hourly-finance-pending a,.hr-hourly-finance-pending button{width:max-content}.hr-hourly-creation>footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--gc-line);margin-top:14px;padding-top:12px;color:var(--gc-muted);font-size:11px;line-height:1.5}.hr-hourly-creation>footer>span{flex:1;min-width:240px}.hr-finance-base-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--gc-line)}.hr-finance-base-actions button{width:max-content}.hr-finance-tax-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.hr-finance-tax-actions a,.hr-finance-tax-actions button{width:max-content;text-decoration:none}.hr-finance-line-action{display:grid;grid-template-columns:minmax(130px,1fr) minmax(110px,1fr) auto auto;gap:5px;min-width:500px}.hr-finance-line-action input,.hr-finance-line-action select,.hr-finance-adopt-form input,.hr-finance-adopt-form select,.hr-finance-adopt-form textarea{box-sizing:border-box;min-height:34px;border:1px solid var(--gc-line-strong);border-radius:8px;background:#fff;padding:6px 8px;color:var(--gc-ink);font:500 11px var(--gc-font)}.hr-finance-line-action button{border:1px solid var(--gc-line-strong);border-radius:8px;background:#fff;padding:6px 9px;color:var(--gc-ink);font:650 11px var(--gc-font);cursor:pointer}.hr-finance-adopt-form{display:grid;gap:8px;margin-top:14px;border:1px solid var(--gc-line);border-radius:12px;padding:12px}.hr-finance-adopt-form label{display:grid;gap:5px;color:var(--gc-ink-soft);font-size:11px}.hr-finance-adopt-form .hr-finance-correction-control{display:flex;align-items:center;gap:7px}.hr-finance-adopt-form .hr-finance-correction-control input{width:16px;min-height:16px}.hr-finance-adopt-form button{width:max-content}.hr-finance-adopt-form .hr-payroll-form-error{margin:0;color:#a23b32;font-size:11px}
@media(max-width:760px){.hr-finance-base-actions button{width:100%}.hr-hourly-creation-steps{grid-template-columns:1fr}.hr-hourly-creation>footer{display:grid}.hr-hourly-creation>footer>span{min-width:0}.hr-finance-line-action{grid-template-columns:1fr;min-width:220px}.hr-finance-tax-actions a,.hr-finance-tax-actions button{width:100%}}
@media(max-width:480px){.hr-payroll-creation-dialog .hr-weekly-review-table thead th:nth-child(1){left:auto;z-index:5;box-shadow:none}.hr-payroll-creation-dialog .hr-weekly-review-table tbody tr:not(.hr-creation-department-row)>th:nth-child(1){position:static}}
.hr-cloud-settlement{display:grid;gap:12px;margin:14px 0;border:1px solid var(--gc-line);border-radius:16px;background:var(--gc-surface);padding:14px}.hr-cloud-settlement>header,.hr-cloud-settlement-progress>header,.hr-cloud-settlement-create>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.hr-cloud-settlement h3,.hr-cloud-settlement h4{margin:2px 0;color:var(--gc-ink);font-size:15px}.hr-cloud-settlement p{margin:4px 0;color:var(--gc-muted);font-size:11px;line-height:1.55}.hr-cloud-status-badge{flex:none;border-radius:999px;background:rgba(201,162,39,.12);padding:7px 10px;color:var(--gc-gold-deep);font-size:11px;font-weight:650;white-space:nowrap}.hr-cloud-settlement-progress>ol{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:10px 0 0;padding:0;list-style:none}.hr-cloud-settlement-progress>ol li{display:grid;gap:4px;min-width:0;border-top:2px solid var(--gc-line);padding-top:6px;color:var(--gc-muted);font-size:10px}.hr-cloud-settlement-progress>ol li b{font-size:11px}.hr-cloud-settlement-progress>ol li.is-done{border-color:#4f8a68;color:#3e7457}.hr-cloud-settlement-progress>ol li.is-current{border-color:var(--gc-gold);color:var(--gc-gold-deep)}.hr-cloud-estimates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}.hr-cloud-estimates article{display:grid;gap:4px;min-width:0;border-radius:11px;background:var(--gc-surface-muted);padding:9px}.hr-cloud-estimates span,.hr-cloud-estimates small{color:var(--gc-muted);font-size:10px}.hr-cloud-estimates strong{color:var(--gc-ink);font-size:14px;font-variant-numeric:tabular-nums}.hr-cloud-settlement-form,.hr-cloud-action-form{display:grid;gap:9px;margin-top:10px;border-radius:12px;background:var(--gc-surface-muted);padding:12px}.hr-cloud-settlement-form fieldset,.hr-cloud-action-form fieldset{display:grid;gap:9px;border:0;margin:0;padding:0}.hr-cloud-settlement-form legend,.hr-cloud-action-form legend{color:var(--gc-ink);font-size:12px;font-weight:680}.hr-cloud-settlement-form label,.hr-cloud-action-form label{display:grid;gap:5px;color:var(--gc-ink-soft);font-size:11px}.hr-cloud-settlement-form input:not([type=checkbox]),.hr-cloud-settlement-form select,.hr-cloud-action-form input:not([type=checkbox]),.hr-cloud-action-form select,.hr-cloud-action-form textarea{box-sizing:border-box;width:100%;min-height:36px;border:1px solid var(--gc-line-strong);border-radius:9px;background:#fff;padding:7px 9px;color:var(--gc-ink);font:500 12px var(--gc-font)}.hr-cloud-settlement-form button,.hr-cloud-action-form button{width:max-content;min-height:40px}.hr-cloud-confirm{display:flex!important;grid-template-columns:none;align-items:flex-start;gap:7px}.hr-cloud-confirm input{flex:none;width:17px;height:17px;margin:0;accent-color:var(--gc-gold-deep)}.hr-cloud-policy-note{border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.08);padding:9px 10px;color:var(--gc-ink-soft);font-size:11px;line-height:1.5}.hr-cloud-oa-route{display:grid;gap:4px;border-left:3px solid var(--gc-gold);background:rgba(201,162,39,.08);padding:9px 10px;color:var(--gc-ink-soft);font-size:11px;line-height:1.5}.hr-cloud-oa-route strong{color:var(--gc-ink);font-size:11px}.hr-cloud-oa-route span,.hr-cloud-oa-route small{display:block;min-width:0;overflow-wrap:anywhere}.hr-cloud-oa-route small{color:var(--gc-muted);font-size:10px}.hr-cloud-settlement-form [data-cloud-targets]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hr-cloud-template-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.hr-cloud-template-actions small{color:var(--gc-muted);font-size:10px}.hr-cloud-results-table{overflow:auto;border:1px solid var(--gc-line);border-radius:10px}.hr-cloud-results-table table{min-width:760px}.hr-cloud-settled-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.hr-cloud-topup-row{display:grid;grid-template-columns:minmax(110px,1fr) 90px repeat(3,minmax(110px,1fr));align-items:center;gap:7px;border-top:1px solid var(--gc-line);padding:8px 0}.hr-cloud-topup-row:first-of-type{border-top:0}.hr-cloud-topup-row strong{font-size:11px}.hr-cloud-topup-row span{color:var(--gc-gold-deep);font-size:11px;font-variant-numeric:tabular-nums}.hr-cloud-topup-row input{min-width:0}.hr-cloud-settlement .hr-payroll-form-error{margin:0;color:#a23b32;font-size:11px}.hr-cloud-settlement .hr-payroll-form-hint{color:var(--gc-muted);font-size:10px;line-height:1.5}
.hr-cloud-quote-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hr-cloud-quote-grid .hr-cloud-quote-reason{grid-column:1/-1}.hr-cloud-evidence{border-top:1px solid var(--gc-line);padding-top:9px}.hr-cloud-evidence summary{cursor:pointer;color:var(--gc-ink-soft);font-size:11px}.hr-cloud-evidence>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.hr-cloud-evidence p{display:grid;gap:3px;border-radius:9px;background:var(--gc-surface-muted);padding:8px}.hr-cloud-evidence p strong{overflow-wrap:anywhere;color:var(--gc-ink);font-size:11px}.hr-cloud-evidence ol{display:grid;gap:5px;margin:9px 0 0;padding:0;list-style:none}.hr-cloud-evidence li{display:flex;gap:8px;color:var(--gc-muted);font-size:10px}.hr-cloud-evidence time{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:760px){.hr-cloud-settlement-progress>ol{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:9px}.hr-cloud-estimates,.hr-cloud-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-cloud-settlement-form [data-cloud-targets],.hr-cloud-evidence>div{grid-template-columns:1fr}.hr-cloud-topup-row{grid-template-columns:1fr 1fr}.hr-cloud-topup-row strong{grid-column:1/-1}.hr-cloud-topup-row input{width:100%}.hr-cloud-settlement-form button,.hr-cloud-action-form button,.hr-cloud-template-actions button{width:100%}}
@media(max-width:480px){.hr-cloud-settlement{margin-inline:-4px;padding:12px}.hr-cloud-settlement>header,.hr-cloud-settlement-progress>header,.hr-cloud-settlement-create>header{display:grid}.hr-cloud-status-badge{justify-self:start}.hr-cloud-estimates{grid-template-columns:1fr 1fr}.hr-cloud-settlement-form,.hr-cloud-action-form{padding:10px}.hr-cloud-topup-row{grid-template-columns:1fr}.hr-cloud-topup-row strong{grid-column:auto}}
/* At large zoom/short heights, scroll the dialog instead of crushing its table. */
/* Keep the hourly workbench inside the viewport while preserving table scrolling. */
@media(max-width:760px){.hr-payroll-create-page,.hr-payroll-create-workflow.hr-hourly-creation{box-sizing:border-box;min-width:0;max-width:100%}.hr-hourly-creation .hr-fact-table-scroll{box-sizing:border-box;min-width:0;width:100%;max-width:100%;overflow-x:auto}.hr-hourly-creation .hr-hourly-creation-table{min-width:840px}}
@media(max-height:640px){.hr-payroll-creation-dialog:has(.hr-weekly-review-table){overflow:auto}.hr-payroll-creation-dialog:has(.hr-weekly-review-table)>header,.hr-payroll-creation-dialog:has(.hr-weekly-review-table)>footer{flex-shrink:0}.hr-payroll-creation-dialog:has(.hr-weekly-review-table)>section{box-sizing:border-box;flex:0 0 320px;min-height:320px}}
.hr-cloud-policy-repair{display:grid;gap:8px;margin-top:10px;border:1px solid rgba(201,162,39,.45);border-radius:12px;background:rgba(201,162,39,.07);padding:11px}.hr-cloud-policy-repair h4{margin:0;color:var(--gc-ink);font-size:13px}.hr-cloud-policy-repair p{margin:0}.hr-cloud-repair-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hr-cloud-repair-list label{display:flex;align-items:center;gap:7px;color:var(--gc-ink-soft);font-size:11px}.hr-cloud-repair-list input{flex:none;width:17px;height:17px;accent-color:var(--gc-gold-deep)}.hr-cloud-batch-switcher{display:flex;flex-wrap:wrap;gap:6px}.hr-cloud-batch-switcher button[aria-current=true]{border-color:var(--gc-gold-deep);background:rgba(201,162,39,.12)}.hr-cloud-void-form{border:1px dashed var(--gc-line-strong);background:transparent}.hr-cloud-void-form textarea{resize:vertical}@media(max-width:760px){.hr-cloud-repair-list{grid-template-columns:1fr}.hr-cloud-policy-repair button,.hr-cloud-void-form button{min-height:40px}}
