/* Shared desktop density: consistent spacing, no font shrinking. */
html body #content#content#content#content#content{padding:0 22px 24px!important;color:#263445}
html body .layout-hidden,html body #content .layout-hidden{display:none!important}
html body .top-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
html body .top-actions .notice-local-toolbar{margin:0!important;padding:0!important;min-height:0!important;display:contents!important}
html body main .topbar{padding:20px 22px 16px!important;min-height:0!important;gap:12px}
html body #content#content#content#content#content :is(.business-toolbar,.toolbar,.qc-topline,.funds-toolbar,.pf-toolbar){gap:10px!important;margin:0 0 16px!important;min-height:0;flex-wrap:wrap;align-items:center}
html body #content#content#content#content#content :is(.business-toolbar,.toolbar,.funds-toolbar) input{max-width:100%;min-width:0}
html body #content#content#content#content#content .btn{min-height:36px;padding:7px 12px;line-height:1.4;font-size:14px;font-weight:400}
html body #content#content#content#content#content :is(.panel,.business-card,.setting-card){margin-bottom:16px;box-shadow:none!important}
html body #content#content#content#content#content .panel-head{padding:12px 16px!important;min-height:0!important}
html body #content#content#content#content#content :is(.metric-card,.sb-metric){min-height:90px!important;padding:14px 16px!important}
html body #content#content#content#content#content :is(.metric-card,.sb-metric) .value{font-size:24px!important;line-height:1.3!important;margin:6px 0!important}
html body #content#content#content#content#content :is(.business-summary,.metric-grid,.qc-dashboard-kpis){gap:12px!important;margin-bottom:16px!important}
html body #content#content#content#content#content .qc-dashboard-kpis>button{padding:16px!important;min-height:100px!important}
html body #content#content#content#content#content .qc-dashboard-kpis b{font-size:26px!important}
html body #content#content#content#content#content table th{text-align:center!important;padding:12px 10px!important;line-height:1.5!important}
html body #content#content#content#content#content table td{padding:12px 10px!important;line-height:1.55!important;border-bottom:1px solid #e6ebf1!important;font-weight:400}
html body #content#content#content#content#content table.layout-empty-table{min-width:0!important;width:100%!important}
html body #content#content#content#content#content table.layout-empty-table col{width:auto!important}
html body .layout-help{margin:16px 0;color:#596779;font-size:13px}
html body .layout-help>summary{cursor:pointer;padding:8px 0;display:list-item}
html body .layout-help .audit-banner{margin-top:8px!important}
html body .layout-permissions summary{cursor:pointer;color:#334155;white-space:nowrap}
html body .layout-permissions>div{padding-top:8px;display:flex;flex-wrap:wrap;gap:5px}
html body .layout-secondary{margin-left:auto}
html body[data-page=account-center] #content#content#content#content#content table{min-width:1000px!important;table-layout:fixed!important}
html body[data-page=account-center] #content#content#content#content#content table td{height:auto!important;min-height:0!important}
html body[data-page=import-center] #content#content#content#content#content table{min-width:720px!important;width:100%!important;table-layout:fixed!important}
html body[data-page=import-center] #content#content#content#content#content table th:first-child{width:32%}
html body[data-page=import-center] #content#content#content#content#content td:first-child{overflow-wrap:anywhere}
html body .workspace-tabs{scrollbar-width:thin}
html body #content#content#content#content#content .funds-toolbar{display:flex;flex-wrap:wrap}
html body #content#content#content#content#content .funds-toolbar input{flex:1 1 160px}
html body #content#content#content#content#content .funds-toolbar input[type=date]{flex:0 1 150px}
@media(max-width:1400px){html body #content#content#content#content#content{padding-left:16px!important;padding-right:16px!important}html body #content#content#content#content#content :is(.business-summary,.metric-grid){gap:10px!important}}

html body main .topbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;background:transparent!important;margin:0!important}
html body main .topbar>div:first-child{display:block!important}
html body #content#content#content#content#content .pw:has([data-product-master-search]){padding:0!important;margin:0 0 14px!important;min-height:0!important}
html body #content#content#content#content#content .pw:has([data-product-master-search]) .pw-toolbar{padding:0!important;margin:0!important;min-height:0!important;background:transparent!important;justify-content:flex-start!important}

html body[data-page=import-center] #content#content#content#content#content table th:nth-child(2){width:14%}
html body[data-page=import-center] #content#content#content#content#content table th:nth-child(3){width:10%}
html body[data-page=import-center] #content#content#content#content#content table th:nth-child(4){width:18%}
html body[data-page=account-center] #content#content#content#content#content .r4-cell{max-height:none!important;-webkit-line-clamp:unset!important}
html body #content#content#content#content#content .pf-tabs{gap:10px!important;margin:0 0 16px!important}
html body #content#content#content#content#content .pf-tabs .metric-card{min-height:64px!important;padding:10px 14px!important;flex:1 1 120px!important}
html body #content#content#content#content#content .pf-tabs .metric-card small{display:none!important}
