/* GROW V25 — a shared spacing scale, with compact forms and readable sections. */
.grow-interface .gux-workspace{
 --gux-space-1:4px;--gux-space-2:8px;--gux-space-3:12px;
 --gux-space-4:16px;--gux-space-6:24px;--gux-space-8:32px;
 --gux-section-space:24px;--gux-card-space:24px;
}
/* Keep the existing shell and fixed/mobile navigation geometry. */
.grow-interface .gux-workspace :is(.hp,.pc){min-width:0}
.grow-interface .gux-workspace :is(.hp-heading,.gp-list-heading){gap:16px;margin-bottom:24px}
.grow-interface .gux-workspace :is(.hp-card,.pc-card){padding:var(--gux-card-space);border-radius:16px}
.grow-interface .gux-workspace :is(form.pa-card,form.employee-form-card){padding:var(--gux-card-space)}
.grow-interface .gux-workspace form.pa-card>.pa-section-title{margin:24px 0 16px;line-height:1.5}
.grow-interface .gux-workspace form.pa-card>.pa-section-title:first-of-type{margin-top:0}
.grow-interface .gux-workspace form.pa-card>.pa-save{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding-top:20px;margin-top:24px;border-top:1px solid var(--gux-line)}
.grow-interface .gux-workspace .hp>.hp-card{margin:0 0 var(--gux-section-space)}
.grow-interface .gux-workspace :is(.hp-grid,.pv-grid,.pc-two,.pc-three){gap:var(--gux-section-space)}
.grow-interface .gux-workspace :is(.hp-grid,.pv-grid,.pc-two,.pc-three)>.hp-card,
.grow-interface .gux-workspace :is(.pc-two,.pc-three)>.pc-card{margin:0}
.grow-interface .gux-workspace .hp>.hp-grid,
.grow-interface .gux-workspace .hp>.pv-grid{margin-bottom:var(--gux-section-space)}
.grow-interface .gux-workspace :is(.hp-card,.pc-card)>:is(h2,h3){font-size:18px;line-height:1.4;letter-spacing:-.25px;margin:0 0 16px}
.grow-interface .gux-workspace :is(.hp-card,.pc-card)>p:last-child{margin-bottom:0!important}
.grow-interface .gux-workspace :is(.hp-card,.pc-card)>:is(.hp-table,.pc-table):last-child{margin-bottom:0}
.grow-interface .gux-workspace .hp>.hp-buttons{margin:0 0 var(--gux-section-space);gap:12px}
.grow-interface .gux-workspace .hp-card>.hp-buttons{margin-top:16px;gap:12px}
.grow-interface .gux-workspace .hp-card>.hp-buttons>form{margin:0}
/* Hero content has a readable measure rather than a large fixed height. */
.grow-interface .gux-workspace .hp-hero{padding:32px;border-radius:20px;margin:0 0 24px}
.grow-interface .gux-workspace .hp-hero .hp-eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.8px;margin:0 0 16px}
.grow-interface .gux-workspace .hp-hero h3{font-size:clamp(26px,2.4vw,34px);line-height:1.2;letter-spacing:-.85px;max-width:760px;margin:0 0 16px}
.grow-interface .gux-workspace .hp-hero p{font-size:14px;line-height:1.7;max-width:76ch;margin:0}
/* Card form spacing: labels, grids and footers each own their gap once. */
.grow-interface .gux-workspace .hp .gux-form>.gui-caption-label{margin:0 0 16px}
.grow-interface .gux-workspace .hp .gux-form>.hp-grid{gap:16px 24px;margin:0 0 16px}
.grow-interface .gux-workspace .hp .gux-form>.hp-grid>.gui-caption-label{margin:0}
.grow-interface .gux-workspace .hp .gux-form>:is(h3,h4){margin-bottom:16px}
.grow-interface .gux-workspace :is(.hp-editor,.hp-command){padding:20px;margin:20px 0}
.grow-interface .gux-workspace :is(.hp-form-footer,.form-actions,.employee-form-actions,.pa-form-actions,.gp-form-actions,.gm-form-actions,.ga-form-actions){padding-top:20px;margin-top:24px;gap:12px}
.grow-interface .gux-workspace :is(.form-grid,.pa-form-grid,.employee-form-grid,.gp-form-grid,.gm-form-grid,.ga-form-grid){gap:20px 24px}
/* A simple filter inside a card does not need a second bordered card. */
.grow-interface .gux-workspace :is(.hp-card,.pc-card,.panel,.pa-card,.employee-form-card)>form.gux-filter:not(.gux-filter-panel){padding:0 0 20px;margin:0 0 20px;border:0;border-bottom:1px solid var(--gux-line);border-radius:0;background:transparent;gap:12px 16px;box-shadow:none}
.grow-interface .gux-workspace form.gux-filter:not(.gux-filter-panel)>label:has(>input:is([type=month],[type=date],[type=number])){flex:0 1 240px}
.grow-interface .gux-workspace form.gux-filter:not(.gux-filter-panel)>:is(input[type=month],input[type=date],input[type=number]){flex:0 1 240px}
.grow-interface .gux-workspace .gux-results-heading{padding:0;margin:0 0 20px}
.grow-interface .gux-workspace .gux-results-heading h3{font-size:18px;line-height:1.4;letter-spacing:-.25px;margin:0 0 8px}
.grow-interface .gux-workspace .gux-results-heading .hp-note{margin:0!important;max-width:100ch;line-height:1.65}
.grow-interface .gux-workspace .hp-card>form.gux-inline-filter.gux-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0;padding:0;border:0}
.grow-interface .gux-workspace .hp-card>form.gux-inline-filter>label{flex:0 1 260px;margin:0}
.grow-interface .gux-workspace .hp-card>form.gux-inline-filter>.gux-button{min-height:42px;margin:0}
.grow-interface .gux-workspace .gux-period-help{font-size:12px;color:var(--gux-muted);line-height:1.65;margin:8px 0 20px}
.grow-interface .gux-workspace .gux-results-card>.hp-table{margin-top:20px}
.grow-interface .gux-workspace .gux-filter-head{padding:16px 24px}
.grow-interface .gux-workspace .gux-filter-body{padding:24px}
.grow-interface .gux-workspace .gux-filter-footer{padding:16px 24px}
.grow-interface .gux-workspace .gux-filter-primary,
.grow-interface .gux-workspace .gux-scope-grid{gap:16px 24px}
.grow-interface .gux-workspace .gux-filter-panel{margin-bottom:24px}
@media(max-width:1000px){
 .grow-interface .gux-workspace{--gux-section-space:20px;--gux-card-space:20px}
 .grow-interface .gux-workspace .hp-hero{padding:24px}
}
@media(max-width:600px){
 .grow-interface .gux-workspace{--gux-section-space:16px;--gux-card-space:16px}
 .grow-interface .gux-workspace :is(.hp-heading,.gp-list-heading){margin-bottom:20px;gap:12px}
 .grow-interface .gux-workspace :is(.hp-card,.pc-card){border-radius:14px}
 .grow-interface .gux-workspace .hp-hero{padding:24px 20px;border-radius:16px;margin-bottom:20px}
 .grow-interface .gux-workspace .hp-hero h3{font-size:26px;line-height:1.25;letter-spacing:-.6px;margin-bottom:12px;overflow-wrap:break-word}
 .grow-interface .gux-workspace .hp-hero p{font-size:13px;line-height:1.7}
 .grow-interface .gux-workspace .hp-hero .hp-eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:12px}
 .grow-interface .gux-workspace .hp>.hp-buttons{gap:8px}
 .grow-interface .gux-workspace .hp>.hp-buttons>.gux-button{flex:1 1 220px}
 .grow-interface .gux-workspace .hp .gux-form>.hp-grid{gap:16px}
 .grow-interface .gux-workspace :is(.hp-editor,.hp-command){padding:16px;margin:16px 0}
 .grow-interface .gux-workspace :is(.form-grid,.pa-form-grid,.employee-form-grid,.gp-form-grid,.gm-form-grid,.ga-form-grid){gap:16px}
 .grow-interface .gux-workspace form.gux-filter:not(.gux-filter-panel)>label:has(>input:is([type=month],[type=date],[type=number])),
 .grow-interface .gux-workspace form.gux-filter:not(.gux-filter-panel)>:is(input[type=month],input[type=date],input[type=number]),
 .grow-interface .gux-workspace .hp-card>form.gux-inline-filter>label{flex:1 1 100%}
 .grow-interface .gux-workspace .hp-card>form.gux-inline-filter>.gux-button{min-height:44px;width:100%!important}
 .grow-interface .gux-workspace .gux-period-help{margin-bottom:16px}
 .grow-interface .gux-workspace .gux-filter-head,
 .grow-interface .gux-workspace .gux-filter-footer{padding:16px}
 .grow-interface .gux-workspace .gux-filter-body{padding:16px}
 .grow-interface .gux-workspace .gux-filter-primary,
 .grow-interface .gux-workspace .gux-scope-grid{gap:16px}
}
@media print{.grow-interface .gux-workspace .hp-hero{padding:16px}.grow-interface .gux-workspace :is(.hp-card,.pc-card){box-shadow:none}}
