/* Workspace chrome only: leave data tables, dialogs and printed documents alone. */
html #portal-workspace{padding:12px 18px}
html #portal-workspace .portal-page h1{font-size:22px;line-height:1.2;letter-spacing:.01em;margin:0 0 8px}
html #portal-workspace :is(.portal-compact-heading,.directory-header:not(.has-gifts),.incoming-heading){display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0 0 8px;flex-shrink:0;min-width:0}
html #portal-workspace :is(.portal-compact-heading,.directory-header:not(.has-gifts),.incoming-heading)>h1{flex:0 1 auto;margin:0}
html #portal-workspace .portal-compact-heading>.ea-top{display:block;flex:0 1 auto;margin:0}
html #portal-workspace .portal-compact-heading>.ea-top p{margin:2px 0;font-size:12px}
html #portal-workspace :is(.portal-compact-heading,.directory-header:not(.has-gifts),.incoming-heading)>:is(.ea-tabs,.directory-tabs,.incoming-tabs,.portal-goods-tabs,[role=tablist]){flex:0 1 auto;min-width:0;max-width:100%;margin:0;flex-wrap:wrap;gap:4px;padding:3px}
html #portal-workspace :is(.portal-compact-heading,.directory-header:not(.has-gifts),.incoming-heading) :is(.ea-tabs,.directory-tabs,.incoming-tabs,.portal-goods-tabs,[role=tablist]) button{font-size:13px;line-height:1.25;padding:7px 10px;min-height:32px}
html #portal-workspace .incoming-heading>.incoming-toolbar,html #portal-workspace .directory-header:not(.has-gifts)>.gift-top{flex-basis:100%;margin:4px 0}
html #portal-workspace :is(.stock-page-heading,.logistics-header,.spv-heading,.ea-top){margin-bottom:8px;gap:10px}
html #portal-workspace .logistics-brand{gap:14px}
html #portal-workspace .logistics-brand img{max-width:120px;max-height:44px;object-fit:contain}
html #portal-workspace .spv-tabs{min-height:34px;padding-top:0}
html #portal-workspace .spv-tabs button.portal-action{padding:7px 23px 7px 10px;font-size:13px}
html #portal-workspace :is(.kp-page,.kp-body,.kp-results){gap:8px}
html #portal-workspace .stock-dashboard{gap:8px;margin-top:6px}
html #portal-workspace .stock-dashboard>div{padding:6px 10px;font-size:13px;line-height:1.3;border-radius:9px}
html #portal-workspace .virtual-coverage{gap:8px;margin-top:6px;padding-bottom:0}
html #portal-workspace .virtual-coverage-card{padding:6px 10px;gap:2px;font-size:12px}
html #portal-workspace .virtual-coverage-card strong{font-size:13px}
html #portal-workspace :is(.logistics-summary,.bank-summary-card){padding:6px 10px;font-size:13px;line-height:1.3}
html #portal-workspace :is(.logistics-pagination,.portal-orders-pagination){margin:4px 0;font-size:13px}
@media(max-width:700px){
 html #portal-workspace{padding:8px}
 html #portal-workspace .portal-page h1{font-size:19px}
 html #portal-workspace :is(.portal-compact-heading,.directory-header:not(.has-gifts),.incoming-heading){gap:6px 10px}
 html #portal-workspace .portal-compact-heading>h1{flex-basis:100%}
}

html #portal-workspace .portal-compact-heading{padding:0;border:0;background:transparent}
