/* GROW V23 — shared workspace surfaces and controls. Brand, navigation and business states retained. */
:root{--gux-ink:#173f57;--gux-muted:#617989;--gux-line:#dce7ed;--gux-soft:#f5f8fa;--gux-teal:#078b92;--gux-radius:14px}
.gux-workspace{min-width:0;color:var(--gux-ink)}
.gux-workspace :is(.panel,.pa-card,.gp-card,.gm-card,.ga-card,.employee-form-card,.hp-card,.pc-card,.gdl-card){border:1px solid var(--gux-line);border-radius:var(--gux-radius);background:#fff;box-shadow:0 3px 14px #173f5704}
.gux-workspace :is(.panel-title,.cardhead,.toolbar,.gp-list-heading,.pc-section-title,.gm-section-heading){gap:12px;align-items:center;flex-wrap:wrap}
.gux-workspace :is(.panel-title,.cardhead,.pc-section-title) h2{font-size:17px;line-height:1.4;letter-spacing:-.25px}
.gux-workspace :is(.ge-page-header,.pc-heading){border-radius:16px}
.grow-interface .gux-workspace .pc-heading{padding:22px 24px;margin-bottom:16px;min-height:0}
.grow-interface .gux-workspace .pc-heading h1{font-size:clamp(23px,2vw,30px);letter-spacing:-.7px;line-height:1.25;margin:4px 0 8px}
.grow-interface .gux-workspace .pc-heading .pc-eyebrow{font-size:10px!important;letter-spacing:1.4px;margin-bottom:8px}
.grow-interface .gux-workspace .pc-heading p:not(.pc-eyebrow){font-size:12px;line-height:1.6}
.grow-interface .gux-workspace .pc-heading .pc-button{color:#fff!important;border-color:#ffffff55;background:#ffffff12}
.grow-interface .gux-workspace .pc-heading .pc-button.selected{color:var(--gux-ink)!important;background:#fff}
.gux-workspace .gux-field{min-width:0;text-align:left;line-height:1.5;font-size:12px;font-weight:600;color:#506b7d}
.grow-interface .gux-workspace .gux-control{width:100%;max-width:100%;min-width:0;box-sizing:border-box;height:42px;min-height:42px;margin-top:6px;padding:10px 12px;border:1px solid #cfdee7;border-radius:9px;background:#fff;color:var(--gux-ink);font-family:inherit;font-size:14px;font-weight:400;line-height:1.45;box-shadow:none;letter-spacing:normal}
.grow-interface .gux-workspace textarea.gux-control{height:auto;min-height:104px;resize:vertical;line-height:1.65}
.grow-interface .gux-workspace .gux-control::placeholder{font-weight:400;color:#889eac;opacity:1}
.grow-interface .gux-workspace .gux-control:focus-visible,.gux-select-trigger:focus-visible{outline:3px solid #078b9222;outline-offset:2px;border-color:#078b92}
.grow-interface .gux-workspace .gux-control:disabled{color:#788b96;background:#f1f5f7;cursor:not-allowed}
.grow-interface .gux-workspace .gux-control[readonly]{background:#f7fafb}
.grow-interface .gux-workspace .gux-control[aria-invalid=true],.gux-select-trigger[aria-invalid=true]{border-color:#b83e51!important;background:#fff9fa}
.grow-interface .gux-workspace .gux-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-height:40px;height:auto;max-width:100%;width:auto;padding:9px 14px;border-radius:9px;font-size:13px!important;font-weight:650;line-height:1.35;text-decoration:none;white-space:normal;vertical-align:middle;cursor:pointer;box-shadow:none}
.gux-workspace .gux-button:disabled{opacity:.5;cursor:not-allowed}
.gux-workspace .gux-button:focus-visible{outline:3px solid #078b9238;outline-offset:3px}
.gux-workspace .gux-button:not(.primary):not(.danger):not(.reject):not(.approve):not(.selected){border:1px solid #d4e2e9}
.grow-interface .gux-workspace :is(.hp-form-footer,.form-actions,.employee-form-actions,.pa-form-actions,.gm-form-actions,.gp-form-actions,.ga-form-actions){display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid var(--gux-line);padding-top:18px;margin-top:20px}
.gux-workspace :is(.form-grid,.pa-form-grid,.employee-form-grid,.gp-form-grid,.gm-form-grid,.ga-form-grid){gap:18px 20px}
.gux-workspace .gux-form :is(h3,h4,legend){line-height:1.45}
.gux-workspace .gux-form :is(.help,.field-help,.form-help,.hp-note){font-size:12px;line-height:1.65;color:var(--gux-muted)}
.gux-workspace form.gux-filter:not(.gux-filter-panel){display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px;background:#fff;border:1px solid var(--gux-line);border-radius:12px;margin-bottom:16px}
.gux-workspace form.gux-filter:not(.gux-filter-panel)>:is(label,.gux-field){flex:1 1 180px;margin:0}
.gux-workspace form.gux-filter:not(.gux-filter-panel)>.gux-control{flex:1 1 180px;margin-top:0;width:auto}
.gux-workspace form.gux-filter:not(.gux-filter-panel)>.gux-button{flex:0 0 auto;align-self:flex-end}
.gux-workspace .gux-table-wrap{width:100%;max-width:100%;min-width:0;overflow:auto;overscroll-behavior-inline:contain;border:1px solid var(--gux-line);border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}
.gux-workspace table.gux-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;margin:0;font-size:13px;line-height:1.55}
.gux-workspace .gux-table th{padding:13px 15px;background:#f3f7f9;color:#526c7d;font-size:11px;font-weight:700;letter-spacing:.025em;text-align:left;border:0;border-bottom:1px solid var(--gux-line);white-space:nowrap;vertical-align:middle}
.gux-workspace .gux-table td{padding:14px 15px;border:0;border-bottom:1px solid #e9eff3;color:#294c62;vertical-align:middle;font-size:13px;line-height:1.55}
.gux-workspace .gux-table tbody tr:last-child td{border-bottom:0}
.gux-workspace .gux-table tbody tr:nth-child(even){background:#fbfcfd}
.gux-workspace .gux-table tbody tr:hover{background:#f1f8f8}
.gux-workspace .gux-table td small{font-size:11px;color:#738a99;line-height:1.5}
.gux-workspace .gux-table :is(.row-actions,.table-actions){display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.gux-workspace .gux-table :is(.status-badge,.badge,.hp-badge,.pc-badge){display:inline-flex;align-items:center;gap:5px;padding:5px 9px;line-height:1.4;font-size:11px;border-radius:7px;white-space:nowrap}
.gux-workspace .gux-table td[colspan]{padding:26px 18px;color:var(--gux-muted)}
.gux-workspace .gux-table td .gux-control{min-width:100px}
.gux-workspace :is(.hp-table,.pc-table).gux-table-wrap{border-radius:12px}
/* Deliberate filter hierarchy: primary fields, optional scope, then one action row. */
.grow-interface .gux-workspace .gux-filter-panel{display:block;padding:0;background:#fff;border:1px solid var(--gux-line);border-radius:14px;margin:0 0 16px;overflow:visible;box-shadow:0 3px 14px #173f5703}
.gux-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #e8eef2}
.gux-filter-head>div{display:flex;align-items:center;gap:10px;min-width:0}
.gux-filter-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#eaf5f5;color:#087c87;border-radius:9px}
.gux-filter-icon svg{width:17px;height:17px}
.gux-filter-head h2{font-size:14px!important;letter-spacing:0!important;line-height:1.4;margin:0!important}
.gux-filter-head small{font-size:11px;color:var(--gux-muted);font-weight:400}
.gux-filter-body{padding:18px 20px}
.gux-filter-primary{display:grid;grid-template-columns:minmax(160px,1fr) minmax(140px,1fr) minmax(200px,1.8fr);gap:16px;align-items:start}
.gux-record-primary{grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(130px,.7fr)}
.gux-filter-primary>label,.gux-scope-grid>label{margin:0!important;display:block}
.gux-more-filters{margin-top:18px;border-top:1px solid #e6edf2;padding-top:14px}
.gux-more-filters>summary{list-style:none;display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;cursor:pointer;color:#315a70;font-size:12px;font-weight:650;min-height:30px;line-height:1.5}
.gux-more-filters>summary::-webkit-details-marker{display:none}
.gux-more-filters>summary:before{content:'›';display:inline-block;font:20px/1 system-ui;transition:transform .15s}
.gux-more-filters[open]>summary:before{transform:rotate(90deg)}
.gux-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:6px;font-size:10px;background:#e5f4f2;color:#087a7e}
.gux-scope-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:16px}
.gux-scope-grid.gux-record-more{grid-template-columns:repeat(3,minmax(0,1fr))}
.gux-filter-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 20px;background:#f9fbfc;border-top:1px solid #e7eef2;border-radius:0 0 14px 14px}
.gux-filter-footer>p{margin:0!important;font-size:11px!important;line-height:1.6;color:var(--gux-muted);flex:1 1 240px}
.gux-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gux-filter-footer .gux-button{margin:0!important;min-width:90px}
.gux-applied-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 0!important}
.gux-filter-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:5px 9px;border:1px solid #cde5e4;border-radius:7px;background:#f0f9f8;font-size:11px;text-decoration:none!important;color:#21636c!important;overflow-wrap:anywhere}
.gux-filter-chip:hover{background:#e3f4f1}.gux-filter-chip b{font-weight:500}
/* One visible control; search lives in an anchored, keyboard-operable chooser. */
.gux-select{position:relative;display:block;min-width:0;max-width:100%;margin-top:6px!important}
.grow-interface .gux-workspace select.gux-native-select{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;padding:0!important;margin:0!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none}
.gux-select-trigger{box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;gap:10px;width:100%!important;max-width:100%;height:42px;min-height:42px;padding:10px 12px!important;border:1px solid #cfdee7;border-radius:9px;background:white;color:var(--gux-ink);font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;text-align:left;cursor:pointer;margin:0!important;box-shadow:none}
.gux-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.gux-select-trigger svg{flex:0 0 14px;width:14px;height:14px;color:#71909f}
.gux-select-trigger:disabled{background:#f1f5f7;color:#788b96;cursor:not-allowed}
.gux-select-popover{position:fixed;z-index:9000;box-sizing:border-box;border:1px solid #cedfe7;border-radius:12px;background:#fff;box-shadow:0 14px 44px #183e5928;padding:8px;color:var(--gux-ink);font:14px/1.5 system-ui;text-align:left;max-width:calc(100vw - 20px)}
.gux-select-popover[hidden]{display:none!important}
.gux-select-popover input{display:block;box-sizing:border-box;width:100%;min-width:0;height:42px;border:1px solid #cbdce5;border-radius:8px;background:#f7fafc;color:#173f57;font:400 14px/1.4 system-ui;padding:10px 12px;margin:0 0 6px;outline-offset:1px}
.gux-select-options{max-height:220px;overflow:auto;overscroll-behavior:contain}
.gux-select-option{display:block;width:100%;box-sizing:border-box;background:#fff;color:#234b60;border:0;border-radius:7px;padding:10px 12px;font:400 13px/1.5 system-ui;min-height:40px;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.gux-select-option[aria-selected=true]{background:#e9f6f3;color:#087985;font-weight:650}
.gux-select-option.is-active{outline:2px solid #40aaa7;outline-offset:-2px;background:#f0f8f7}
.gux-select-option:disabled{color:#97a8b1;cursor:not-allowed;background:#f7f9fa}
.gux-select-empty,.gux-select-hint{font-size:11px;color:#718996;padding:7px 10px;margin:0}.gux-select-empty{padding:20px 12px;font-size:13px}
.gux-select-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1400px){.gux-filter-primary{grid-template-columns:minmax(180px,1fr) minmax(160px,1fr) minmax(260px,2fr)}.gux-record-primary{grid-template-columns:minmax(260px,2fr) minmax(160px,1fr) minmax(140px,.7fr)}}
@media(max-width:1000px){.gux-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gux-filter-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.gux-filter-primary>label:last-child{grid-column:1/-1}.gux-scope-grid.gux-record-more{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
 .grow-interface .gux-workspace .gux-control,.gux-select-trigger{font-size:16px!important;min-height:44px;height:44px;font-weight:400}
 .grow-interface .gux-workspace .gux-button{min-height:44px}
 .gux-select-popover input{font-size:16px}.gux-select-option{font-size:14px;min-height:44px}
 .grow-interface .gux-workspace .pc-heading{padding:18px;border-radius:14px}.gux-workspace .pc-heading-actions{gap:8px}
 .gux-workspace .gux-table th,.gux-workspace .gux-table td{padding:12px}
 .gux-workspace .gux-table-wrap{border-radius:10px}
 body.hrd-mobile-app .grow-content #grow-payroll-size-fix .btn.gux-button{min-height:44px!important;height:auto!important;max-height:none!important}
}
@media(max-width:600px){
 .gux-filter-head{padding:14px 16px;align-items:flex-start}.gux-filter-head small{display:none}
 .gux-filter-body{padding:16px}.gux-filter-primary,.gux-scope-grid,.gux-scope-grid.gux-record-more{grid-template-columns:minmax(0,1fr);gap:14px}
 .gux-filter-primary>label:last-child{grid-column:auto}.gux-filter-footer{padding:13px 16px;gap:10px}.gux-filter-footer>p{flex-basis:100%}
 .gux-filter-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.gux-filter-actions .gux-button{width:100%}
 .gux-workspace form.gux-filter:not(.gux-filter-panel)>:is(label,.gux-field){flex-basis:100%}
 .gux-workspace :is(.form-grid,.pa-form-grid,.employee-form-grid,.gp-form-grid,.gm-form-grid,.ga-form-grid){grid-template-columns:minmax(0,1fr)!important;gap:16px}
 .gux-workspace .pc-heading{align-items:flex-start;flex-wrap:wrap}.gux-workspace .pc-heading-actions{width:100%}
 .gux-workspace :is(.hp-form-footer,.form-actions,.employee-form-actions,.pa-form-actions)>.gux-button{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){.gux-more-filters>summary:before{transition:none}}
@media print{.gux-select-popover,.gux-select-trigger{display:none!important}.gux-workspace select.gux-native-select{position:static!important;clip-path:none!important;opacity:1!important;width:100%!important;height:auto!important}}

/* Compact navigation and page summaries keep the table closer to its context. */
.gux-workspace .pc-nav{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;border-radius:12px}
.gux-workspace .pc-nav>a{font-size:12px;min-height:44px;padding:11px 13px;gap:8px}
.gux-workspace .ge-header-main{padding:18px 20px}.gux-workspace .ge-header-footer{padding:10px 20px;background:#f9fbfc}
.gux-workspace .ge-heading-icon{width:40px;height:40px;border-radius:11px}
.gux-workspace .ge-heading h2{font-size:25px;line-height:1.3}.gux-workspace .ge-heading p{margin-top:4px}
.gux-workspace .gw-table-tools{gap:10px;align-items:center;padding:14px 16px;background:#f9fbfc;border-bottom:1px solid var(--gux-line)}
@media(max-width:900px){.gux-workspace .pc-nav{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.gux-workspace .pc-nav>a{flex:0 0 auto;max-width:240px;min-width:170px;min-height:48px;border-bottom:0;scroll-snap-align:start}.gux-workspace .pc-nav>a.active{box-shadow:inset 0 -3px #078b92}.gux-workspace .ge-header-main{padding:16px}.gux-workspace .ge-header-footer{padding:10px 16px}.gux-workspace .ge-heading h2{font-size:22px}}

/* V24: captions and required marks share one line box, including flex labels. */
.grow-interface .gux-workspace label.gui-caption-label{display:block!important;min-width:0;line-height:1.5}
.grow-interface .gux-workspace .gui-caption-label>.gui-label-text{display:block!important;box-sizing:border-box;min-height:var(--gux-caption-height,0px);margin:0!important;padding:0;line-height:1.5;float:none}
.grow-interface .gux-workspace .gui-label-text>.gui-required{display:inline!important;float:none!important;margin:0!important;padding:0!important;white-space:nowrap;font-size:inherit;line-height:inherit;vertical-align:baseline}
.grow-interface .gux-workspace label.gui-caption-label>.gux-control{display:block;margin-top:6px!important}
.grow-interface .gux-workspace label.gui-caption-label>.gux-select{display:block;margin-top:6px!important}
.grow-interface .gux-workspace .gui-caption-label>.gui-label-text+input[type=hidden]{display:none!important}
