/* Shared authenticated-workspace density. Public pages and the dedicated In-Car
   surface do not use app-shell and retain their own sizing and safety controls.
   Load after the existing visual layers, before the focused chat mobile layer. */
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car){
 --cs-nav-width:220px;--cs-nav-collapsed:64px;--cs-topbar:50px;
 --compact-card:18px;--compact-gap:14px;--compact-control:38px;--compact-title:27px;
 font-size:14px;line-height:1.55;
}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.app-area,.workspace-main,.panel,.form,.field,.page-heading>div){min-width:0}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car):not(.route-agent) .workspace-main{padding:18px 22px 96px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar{height:var(--cs-topbar)!important;min-height:var(--cs-topbar)!important;padding:4px 12px!important;gap:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.topbar-left,.topbar-actions){gap:5px!important;min-width:0}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar{padding:10px 8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar-brand{min-height:50px!important;padding-block:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .nav-item{min-height:36px!important;padding:7px 9px!important;font-size:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar :is(.nav,.nav-group){gap:3px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading{gap:10px!important;margin:0 0 16px!important;min-height:0!important;height:auto!important;justify-content:flex-start!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading h1{font-size:var(--compact-title)!important;line-height:1.25!important;margin:2px 0 6px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading p{font-size:13px!important;line-height:1.55!important;margin:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading .eyebrow{margin-bottom:3px!important;line-height:1.35!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.panel,.list-card,.entity-card,.summary-card,.purchase-card,.subscription-plan,.value-card,.download-card,.connection-card,.global-card,.crm-card){padding:var(--compact-card)!important;border-radius:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .panel-head{margin-bottom:12px!important;gap:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.panel-head h2,.global-card h2,.crm-head h2){font-size:18px!important;line-height:1.35!important;margin:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.panel-head p,.panel>p,.global-card>p){font-size:13px!important;line-height:1.55!important;margin-block:6px 10px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.form,.form-grid,.crm-form-grid,.global-form-grid,.two-col,.stats,.crm-kpis,.crm-minikpis,.ops-control-grid,.ops-workday-grid){gap:var(--compact-gap)!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .field{gap:4px!important;margin-bottom:0}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .field label{font-size:13px!important;line-height:1.4!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .field small{font-size:12px!important;line-height:1.5!important}
/* Text-entry controls keep 16px text to avoid focus zoom on iPhone. */
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.field,.form,.crm-toolbar,.global-form-grid) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){font-size:16px!important;line-height:1.4!important;min-height:40px!important;padding:8px 10px!important;min-width:0;max-width:100%;border-radius:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .btn{min-height:var(--compact-control)!important;padding:7px 11px!important;font-size:13px!important;line-height:1.35!important;gap:6px!important;border-radius:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .btn:is(.primary,[type=submit]){min-height:44px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .btn.icon{width:var(--compact-control)!important;min-width:var(--compact-control)!important;height:var(--compact-control)!important;padding:7px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.form-actions,.actions,.crm-toolbar,.crm-toolbar-l,.crm-toolbar-r,.crm-card-foot){gap:8px!important;flex-wrap:wrap}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .form-actions{padding-top:12px!important;margin-top:4px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.notice,.empty-state,.empty){padding:12px!important;margin-block:10px!important;line-height:1.55!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.empty-state,.empty) h3{font-size:17px!important;margin-block:10px 6px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.empty-state,.empty) p{font-size:13px!important;line-height:1.55!important;margin-block:6px 12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.stat,.crm-kpi,.crm-mini){padding:12px!important;gap:5px!important;min-width:0}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.stat,.crm-kpi,.crm-mini) strong{font-size:24px!important;line-height:1.2!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.table-scroll,.table-wrap,.crm-table){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(th,td){padding:10px 12px!important;font-size:13px!important;line-height:1.5!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) th{font-size:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.badge,.chip,.crm-card-tags span){padding:3px 7px!important;line-height:1.35!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.product-rail,.unified-product-rail){min-height:40px!important;padding:3px 14px!important;gap:5px!important;overflow-x:auto;overscroll-behavior-inline:contain}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.product-rail,.unified-product-rail) :is(a,button){min-height:36px!important;padding:6px 10px!important;font-size:12px!important;white-space:nowrap}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .context-bar{min-height:36px!important;padding:3px 14px!important;gap:6px!important;font-size:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .workspace-footer{padding:10px 20px!important}

/* Profile: identity is a compact summary above the actual editor. */
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-layout{gap:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary{padding:14px 16px 0!important;column-gap:14px!important;row-gap:6px!important;min-height:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main{grid-template-columns:52px minmax(0,1fr) auto!important;gap:10px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main>.code-avatar{width:52px!important;height:52px!important;font-size:19px!important;grid-row:auto!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main h2{font-size:21px!important;line-height:1.3!important;margin:0 0 2px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main p{font-size:12px!important;line-height:1.4!important;margin:2px 0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-status{padding:3px 5px!important;grid-column:auto!important;font-size:12px!important;line-height:1.3!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context{margin-top:4px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context>summary{min-height:36px!important;padding:5px 0!important;font-size:12px!important;gap:5px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context>div{padding-bottom:10px!important;gap:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-edit{padding:0 16px 14px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .identity-tabs{margin-bottom:12px!important;gap:12px!important;overflow-x:auto}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .identity-tabs button{min-height:40px!important;padding:8px 4px!important;font-size:13px!important;white-space:nowrap}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .identity-fields{gap:0 14px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-edit .field{margin-bottom:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-edit textarea{min-height:88px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row{gap:8px!important;padding-bottom:10px!important;margin-bottom:12px!important;flex-wrap:nowrap!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row .code-avatar{width:36px!important;height:36px!important;font-size:15px!important;flex:none}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row>div:not(.code-avatar){flex:1 1 auto!important;min-width:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row>.btn{flex:0 0 auto!important;width:auto!important;margin-inline-start:0!important;min-height:36px!important;font-size:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row p{font-size:12px!important;line-height:1.35!important;margin-top:2px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile :is(.profile-project-editor,.profile-link-editor,.profile-publish){padding:10px!important;margin-block:10px!important}

@media(max-width:980px){
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car){--cs-topbar:46px;--compact-card:14px;--compact-gap:10px;--compact-control:36px;--compact-title:23px}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading>div{flex:1 1 auto!important;min-height:0!important;height:auto!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car):not(.route-agent) .workspace-main{padding:12px 14px calc(76px + env(safe-area-inset-bottom))!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading{gap:8px!important;margin-bottom:12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar{padding-inline:8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar :is(.btn.icon,.cs-top-profile,.mobile-menu){min-height:36px!important;height:36px!important;min-width:36px!important;padding:6px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.cs-top-avatar,.cs-mobile-brand img){width:26px!important;height:26px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .mobile-workspace-nav{height:calc(54px + env(safe-area-inset-bottom))!important;padding:3px 6px calc(3px + env(safe-area-inset-bottom))!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .mobile-workspace-nav :is(a,button){min-height:44px!important;height:44px!important;min-width:44px!important;padding:4px 8px!important;gap:2px!important;font-size:11px!important;border-radius:8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .mobile-workspace-nav svg{width:18px!important;height:18px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .cs-command-dock{bottom:calc(58px + env(safe-area-inset-bottom))!important;min-height:44px!important;height:44px!important;padding:3px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .cs-command-dock-main{min-height:36px!important;height:36px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .page-heading h1{font-size:21px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary{grid-template-columns:minmax(0,1fr) auto!important;padding:10px 12px 0!important;gap:4px 8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main{grid-column:1/-1;grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main>.code-avatar{width:44px!important;height:44px!important;font-size:17px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-main h2{font-size:18px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-status{max-width:76px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-tools{grid-column:1;grid-row:2;flex-direction:row!important;gap:4px!important;flex-wrap:wrap;min-width:0;max-width:none!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-tools .btn{min-height:36px!important;padding:5px 7px!important;font-size:12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary-tools>a{min-height:36px!important;font-size:12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context{grid-column:2;grid-row:2;margin-top:0!important;border-top:0!important;align-self:start}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context[open]{grid-column:1/-1;grid-row:3;border-top:1px solid var(--account-soft)!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-context>summary{white-space:nowrap}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .profile-edit{padding:0 12px 12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .identity-tabs{gap:10px!important;margin-bottom:10px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .identity-tabs button{min-height:36px!important;font-size:12px!important;padding:6px 3px!important}
}

/* The drawer uses the same short rows as the rest of the workspace. */
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand{height:56px!important;min-height:56px!important;padding:4px 5px!important;margin-bottom:4px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand .brand{height:48px!important;min-height:48px!important;padding:0!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand .brand img{width:34px!important;height:38px!important;object-fit:contain}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand .brand>span{width:auto!important;max-width:130px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand .brand strong{font-size:15px!important;line-height:1.2!important;white-space:nowrap!important;letter-spacing:.025em!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-brand .brand small{position:static!important;font-size:9px!important;line-height:1.3!important;letter-spacing:0!important;display:block!important;text-align:start!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .sidebar-context{padding:3px 0!important;margin:0 3px 5px!important;gap:3px!important;min-height:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .glass-context{padding:5px 7px!important;min-height:40px!important;gap:7px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .r23-workspace-identity{min-height:44px!important;padding:5px 7px!important;gap:7px!important;margin-block:3px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .r23-workspace-identity :is(img,.r23-workspace-monogram){width:30px!important;height:30px!important;min-width:30px!important;font-size:14px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar .r23-workspace-identity strong{font-size:12px!important;line-height:1.35!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar :is(.org-switch,.sidebar-search){height:36px!important;min-height:36px!important;padding:5px 8px!important;font-size:12px!important;margin-block:3px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar :is(.ui5-priority-nav,.nav-group-content){gap:2px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar :is(.nav-group,.ui5-nav-group){margin-block:5px!important;padding-block:2px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .sidebar :is(.nav-group-title,.ui5-nav-group-title,summary){min-height:32px!important;padding-block:5px!important;font-size:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-identity .page-heading{padding:0!important;min-height:0!important;height:auto!important;align-content:start!important;justify-content:flex-start!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-identity-banner{padding:12px!important;margin-bottom:12px!important;gap:12px!important;grid-template-columns:44px minmax(0,1fr)!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-identity-banner .customer-monogram{height:44px!important;width:44px!important;min-width:44px!important;font-size:18px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-identity-banner h2{font-size:20px!important;line-height:1.3!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-identity-banner p{font-size:13px!important;line-height:1.5!important;margin-block:4px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-info-list>div{padding-block:7px!important;gap:8px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home{gap:12px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home :is(.stage1-r19-data-deck,.stage1-r4-overview,.stage1-r4-activity){min-height:0!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-kpi{min-height:68px!important;padding:8px!important;gap:5px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .r20-queue-row{min-height:44px!important;padding-block:5px!important}
html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .r20-activity-instrument{min-height:140px!important;gap:12px!important}

/* Dialogs are React siblings of the shell, so the authenticated-shell presence
   scopes these shared dialog rules without affecting public or In-Car screens. */
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal{padding:18px!important;border-radius:14px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal-head{gap:8px!important;margin-bottom:12px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal-head h2{font-size:19px!important;line-height:1.3!important;margin:0!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal .btn{min-height:36px!important;padding:6px 10px!important;font-size:13px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal .btn:is(.primary,[type=submit]){min-height:44px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){font-size:16px!important;min-height:40px!important;padding:7px 10px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-types{gap:4px!important;margin-block:8px!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-inline:contain}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-types .btn{flex:0 0 auto;white-space:nowrap;min-height:36px!important;padding:5px 9px!important;font-size:12px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-results{gap:3px!important;margin-top:8px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-results h3{font-size:12px!important;margin:8px 7px 4px!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-result{min-height:44px!important;padding:7px!important;gap:8px!important;font-size:13px!important;line-height:1.4!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-result small{font-size:12px!important;line-height:1.4!important}
html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-hint{font-size:12px!important;line-height:1.4!important;margin:8px 0 0!important}
@media(max-width:980px){
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home{gap:9px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-hero{height:auto!important;min-height:0!important;padding:14px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-hero .stage1-r2-hero-copy{position:relative!important;inset:auto!important;width:auto!important;max-width:100%!important;text-align:start!important;margin:0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r2-hero-brand{display:none!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-hero h1{font-size:25px!important;line-height:1.25!important;margin:7px 0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .r20-hero-lead{font-size:15px!important;line-height:1.45!important;margin:4px 0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .r20-hero-description{font-size:12px!important;line-height:1.5!important;margin:4px 0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-screen-deck{padding:6px!important;margin-top:-9px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-system-theater{gap:5px!important;min-height:0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-system-theater .stage1-r19-system-screen{height:84px!important;min-height:84px!important;padding:6px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-system-overlay{inset-block-end:8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-system-overlay strong{font-size:13px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .stage1-r19-system-overlay small{font-size:11px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-home .r20-activity-instrument{min-height:120px!important;gap:8px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .topbar-left{flex:1 1 auto!important;width:auto!important;justify-content:flex-start!important;gap:6px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .topbar-left>button.mobile-only{position:static!important;transform:none!important;flex:none!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .topbar-left>.cs-mobile-brand{position:static!important;transform:none!important;margin:0!important;gap:5px!important;flex:0 1 auto!important;min-width:0}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .cs-mobile-brand strong{display:block!important;font-size:11px!important;letter-spacing:0!important;overflow:hidden;text-overflow:ellipsis}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .topbar-actions{display:flex!important;flex:0 0 auto!important;position:static!important;gap:3px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .topbar-actions .command-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;height:36px!important;min-width:36px!important;width:36px!important;padding:6px!important;visibility:visible!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .cs-top-profile-copy{display:none!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .topbar .cs-top-profile{gap:0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r21-identity .page-heading>.btn{align-self:flex-start!important;width:auto!important;margin:0!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .ops-identity-banner h2{font-size:18px!important}
 html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal{padding:12px!important;width:calc(100vw - 20px)!important;max-width:620px!important;max-height:calc(100dvh - 20px)!important}
 html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal-head{margin-bottom:8px!important}
 html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .modal-head h2{font-size:17px!important}
 html[data-ui="5"] body:has(.app-shell.ui5-shell:not(.route-in-car)) .universal-command .command-results{max-height:55dvh!important}
}

@media(max-width:640px){
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car){--cs-topbar:44px;--compact-card:12px;--compact-gap:9px;--compact-title:21px;font-size:13px}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car):not(.route-agent) .workspace-main{padding:10px 10px calc(70px + env(safe-area-inset-bottom))!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading{margin-bottom:10px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .page-heading p{font-size:12px!important;line-height:1.5!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.panel-head h2,.global-card h2,.crm-head h2){font-size:16px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(th,td){padding:8px 9px!important;font-size:12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.stat,.crm-kpi,.crm-mini){padding:10px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.stat,.crm-kpi,.crm-mini) strong{font-size:21px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) :is(.product-rail,.unified-product-rail){padding-inline:8px!important;min-height:38px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .page-heading h1{font-size:20px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .r22-profile-summary{padding-inline:10px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row strong{font-size:12px!important}
 html[data-ui="5"] .app-shell.ui5-shell:not(.route-in-car) .stage1-r22-profile .avatar-editor-row>.btn{padding-inline:7px!important}
}
