/* Match the CRM's existing 11.5–12 px text and 20 px financial totals. */
html[data-brand="emf-service"] .salary-workspace{font-size:12px;gap:14px}
html[data-brand="emf-service"] .salary-workspace-heading h1{font-size:27.5px;margin:7px 0 3px;line-height:1.3}
html[data-brand="emf-service"] .salary-workspace :is(.salary-workspace-heading>p,.aur-page>header p,.finance-heading p){font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace .eyebrow{font-size:9.5px}
html[data-brand="emf-service"] .salary-workspace .salary-workspace-tabs{padding:4px}
html[data-brand="emf-service"] .salary-workspace .salary-workspace-tabs button{font-size:11.5px;min-height:36px;padding:8px 14px}
html[data-brand="emf-service"] .salary-workspace :is(.aur-actions button,.aur-switch button){font-size:11.5px;padding:8px 12px}
html[data-brand="emf-service"] .salary-workspace #salary-aur>.aur-page{gap:10px}
html[data-brand="emf-service"] .salary-workspace .aur-page>.aur-note{font-size:11px;padding:8px 12px;border-radius:9px}
html[data-brand="emf-service"] .salary-workspace .finance-metrics{gap:12px}
html[data-brand="emf-service"] .salary-workspace .finance-metrics article{padding:11px 14px}
html[data-brand="emf-service"] .salary-workspace .finance-metrics article strong{font-size:20px!important;margin:5px 0;line-height:1.25}
html[data-brand="emf-service"] .salary-workspace .finance-metrics article>span{font-size:10.5px}
html[data-brand="emf-service"] .salary-workspace .finance-metrics article small{font-size:9.5px}
html[data-brand="emf-service"] .salary-workspace .aur-toolbar{padding:10px 12px;gap:10px}
html[data-brand="emf-service"] .salary-workspace .aur-toolbar :is(label,input,button){font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace .aur-toolbar input{min-height:36px;padding:8px 10px}
html[data-brand="emf-service"] .salary-workspace .aur-toolbar input[type=checkbox]{min-height:0;width:15px;height:15px;padding:0}
html[data-brand="emf-service"] .salary-workspace .aur-toolbar .aur-check{min-height:36px;gap:8px}
html[data-brand="emf-service"] .salary-workspace .aur-table-head{font-size:9.5px;padding:8px 12px}
html[data-brand="emf-service"] .salary-workspace .aur-month-group>.aur-table-row{font-size:11.5px;padding:7px 12px;line-height:1.4;min-height:0}
html[data-brand="emf-service"] .salary-workspace .aur-table small{font-size:9.5px;line-height:1.4;margin-top:2px}
html[data-brand="emf-service"] .salary-workspace .aur-status{font-size:9.5px;padding:3px 7px}
html[data-brand="emf-service"] .salary-workspace .aur-month-parts{padding:8px 10px;gap:7px}
/* Employee totals are already in the summary; avoid repeating them below. */
html[data-brand="emf-service"] .salary-workspace :is(.aur-parts-caption,.aur-month-total){display:none}
html[data-brand="emf-service"] .salary-workspace .aur-salary-part{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(315px,1.5fr) auto;align-items:center;border-radius:9px;font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace .aur-part-head{display:contents}
html[data-brand="emf-service"] .salary-workspace .aur-part-head>div:first-child{grid-column:1;grid-row:1;padding:8px 10px;line-height:1.4}
html[data-brand="emf-service"] .salary-workspace .aur-part-head>div:first-child>strong{display:block;font-size:11.5px;font-weight:650}
html[data-brand="emf-service"] .salary-workspace .aur-part-head>div:first-child>small{display:inline;font-size:9.5px}
html[data-brand="emf-service"] .salary-workspace .aur-part-head>div:first-child>small+small:before{content:' · '}
html[data-brand="emf-service"] .salary-workspace .aur-part-head>.aur-row-actions{grid-column:3;grid-row:1;padding:8px 10px 8px 0;gap:5px;flex-wrap:nowrap}
html[data-brand="emf-service"] .salary-workspace .aur-row-actions button{font-size:10.5px;padding:6px 8px;gap:4px;border-radius:7px;min-height:28px}
html[data-brand="emf-service"] .salary-workspace .aur-part-totals{grid-column:2;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr)) auto;padding:8px 12px;gap:10px;font-size:11.5px;font-variant-numeric:tabular-nums}
html[data-brand="emf-service"] .salary-workspace .aur-part-totals small{font-size:9.5px;margin:0 0 2px}
html[data-brand="emf-service"] .salary-workspace .aur-part-totals strong{white-space:nowrap;font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace .aur-part-history{grid-column:1/-1}
html[data-brand="emf-service"] .salary-workspace .aur-part-history>summary{font-size:10.5px;padding:6px 10px;line-height:1.3}
html[data-brand="emf-service"] .salary-workspace .aur-history{font-size:11px;padding:8px 10px;gap:7px}
html[data-brand="emf-service"] .salary-workspace .aur-history article{padding-bottom:6px;gap:10px}
html[data-brand="emf-service"] .salary-workspace .aur-directory-list>article{padding:10px 14px}
html[data-brand="emf-service"] .salary-workspace .aur-person-info{font-size:12px}
html[data-brand="emf-service"] .salary-workspace .aur-directory-list small{font-size:10px;margin-top:3px}
html[data-brand="emf-service"] .salary-workspace .salary-report-table td,html[data-brand="emf-service"] .salary-workspace .salary-report-table td strong,html[data-brand="emf-service"] .salary-workspace .salary-executor-link span{font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace .salary-report-table td{padding:8px 12px}
html[data-brand="emf-service"] .salary-workspace :is(.salary-report-table th,.salary-executor-link small,.salary-client-list span){font-size:10px}
html[data-brand="emf-service"] .salary-workspace .panel-head h2{font-size:14px}
html[data-brand="emf-service"] .salary-workspace .panel-head p{font-size:11px}
html[data-brand="emf-service"] .salary-workspace .executor-payout-list article{padding:8px 10px}
html[data-brand="emf-service"] .salary-workspace :is(.executor-payout-list strong,.executor-payout-order span,.executor-payment-source-head strong,.executor-payment-source-options span strong,.executor-payment-source>footer button){font-size:11.5px}
html[data-brand="emf-service"] .salary-workspace :is(.executor-payout-list small,.executor-payout-order em,.executor-payment-source-head small,.executor-payment-source-options span small){font-size:10px}
@media(max-width:1100px){
 html[data-brand="emf-service"] .salary-workspace .aur-salary-part{grid-template-columns:minmax(0,1fr) auto}
 html[data-brand="emf-service"] .salary-workspace .aur-part-head>.aur-row-actions{grid-column:2}
 html[data-brand="emf-service"] .salary-workspace .aur-part-totals{grid-column:1/-1;grid-row:2;padding:2px 10px 7px}
}
@media(max-width:760px){
 html[data-brand="emf-service"] .salary-workspace .salary-workspace-tabs button{padding:8px 9px}
 html[data-brand="emf-service"] .salary-workspace .aur-month-group>.aur-table-row{padding:9px 10px;gap:7px}
 html[data-brand="emf-service"] .salary-workspace .aur-month-group>.aur-table-row>div[data-label]{font-size:11.5px}
 html[data-brand="emf-service"] .salary-workspace .aur-salary-part{grid-template-columns:minmax(0,1fr)}
 html[data-brand="emf-service"] .salary-workspace .aur-part-head>div:first-child{grid-column:1;grid-row:1;padding-bottom:4px}
 html[data-brand="emf-service"] .salary-workspace .aur-part-totals{grid-column:1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 10px}
 html[data-brand="emf-service"] .salary-workspace .aur-part-totals>.aur-status{grid-column:1/-1}
 html[data-brand="emf-service"] .salary-workspace .aur-part-head>.aur-row-actions{grid-column:1;grid-row:3;justify-content:flex-start;padding:4px 10px 7px;flex-wrap:wrap}
 html[data-brand="emf-service"] .salary-workspace .aur-row-actions button{min-height:32px}
}
