/* The only active application shell and shared component policy. Domain forms keep their own geometry. */
body.crm-ui{font-family:var(--crm-font);color:var(--crm-text-primary);background:var(--crm-bg-app);--ink:var(--crm-text-primary);--muted:var(--crm-text-muted);--line:var(--crm-border);--paper:var(--crm-bg-surface);--canvas:var(--crm-bg-app);--green:var(--crm-success);--green2:var(--crm-success-bg);--red:var(--crm-danger);--blue:var(--crm-primary);--gold:var(--crm-warning);--shadow:var(--crm-shadow-sm)}
body.crm-ui :is(button,input,select,textarea,table){font-family:var(--crm-font)}
body.crm-ui .app-shell[hidden],body.crm-ui [hidden]{display:none!important}
.crm-icon{width:20px;height:20px;flex:none;vertical-align:middle}
.crm-update-notice{position:fixed;bottom:24px;left:88px;right:24px;z-index:120;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:var(--crm-bg-surface);border:1px solid var(--crm-primary-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-sm);font-size:13px}
.crm-inline-icon{display:inline-flex;vertical-align:middle;margin-right:var(--crm-space-2)}.crm-inline-icon .crm-icon{width:16px;height:16px}
body.crm-ui a{color:var(--crm-primary)}
body.crm-ui :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--crm-primary);outline-offset:3px}
body.crm-ui .app-shell>main{margin-left:var(--crm-sidebar-width)!important;padding-top:var(--crm-topbar-height);min-height:100vh;background:var(--crm-bg-app);width:calc(100% - var(--crm-sidebar-width));max-width:none}
body.crm-ui .crm-topbar{position:fixed;inset:0 0 auto;height:var(--crm-topbar-height);z-index:40;display:flex;align-items:center;gap:var(--crm-space-4);padding:0 var(--crm-space-6);background:var(--crm-bg-surface);border-bottom:1px solid var(--crm-border);box-shadow:none}
body.crm-ui .crm-brand{display:flex;gap:var(--crm-space-2);align-items:center;white-space:nowrap;font-size:20px;font-weight:750;color:var(--crm-text-primary);text-decoration:none}
.crm-brand img{width:36px;height:40px;object-fit:contain}
.crm-top-navigation{display:flex;align-items:center;gap:var(--crm-space-1);min-width:0;flex:1;height:100%}
.crm-nav-group{height:100%;position:relative;display:flex;align-items:center}
.crm-nav-group>summary,.crm-top-navigation>button{list-style:none;background:none;border:0;padding:var(--crm-space-2);display:flex;align-items:center;gap:var(--crm-space-2);font-size:12px;color:var(--crm-text-secondary);font-weight:550;border-radius:var(--crm-radius-sm);cursor:pointer;white-space:nowrap}
.crm-nav-group>summary::-webkit-details-marker,.crm-actions>summary::-webkit-details-marker,.crm-user-menu>summary::-webkit-details-marker{display:none}
.crm-nav-group>summary .crm-icon{width:16px;height:16px}
.crm-nav-group[open]>summary,.crm-nav-group.is-current>summary,.crm-top-navigation>button.active{color:var(--crm-primary);background:var(--crm-primary-soft)}
.crm-nav-dropdown{position:absolute;top:56px;left:0;min-width:220px;max-height:70vh;overflow:auto;padding:var(--crm-space-2);background:var(--crm-bg-surface);border:1px solid var(--crm-border);box-shadow:var(--crm-shadow-sm);border-radius:var(--crm-radius-md)}
.crm-nav-dropdown button{display:flex;align-items:center;gap:var(--crm-space-3);border:0;background:none;padding:var(--crm-space-3);width:100%;text-align:left;cursor:pointer;border-radius:var(--crm-radius-sm);font-size:13px}
.crm-nav-dropdown button:hover,.crm-nav-dropdown button.active{background:var(--crm-primary-soft);color:var(--crm-primary)}
.crm-top-actions{display:flex;gap:var(--crm-space-3);align-items:center;flex:none}
body.crm-ui .crm-topbar .search{width:240px;height:36px;border:1px solid var(--crm-border);background:var(--crm-bg-subtle);border-radius:var(--crm-radius-sm);padding:0 var(--crm-space-3);gap:var(--crm-space-2)}
body.crm-ui .crm-topbar .search input{font-size:12px;min-width:0}
.crm-notifications{position:relative;border:0;background:transparent;min-width:40px;min-height:40px;color:var(--crm-text-secondary);cursor:pointer}
.crm-notifications [data-notification-badge]{position:absolute;right:0;top:0;background:var(--crm-danger);color:var(--crm-bg-surface);border-radius:999px;font-size:10px;padding:2px 4px}
.crm-user-menu{position:relative}.crm-user-menu>summary{display:flex;gap:var(--crm-space-2);align-items:center;list-style:none;cursor:pointer;font-size:12px}
.crm-user-menu b,.crm-user-menu small{display:block;max-width:164px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-user-menu small{color:var(--crm-text-muted);font-size:11px;margin-top:var(--crm-space-1)}
.crm-user-menu .crm-nav-dropdown{right:0;left:auto;top:48px}
body.crm-ui .avatar{background:var(--crm-text-primary);color:var(--crm-bg-surface);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:12px}
body.crm-ui .sidebar{position:fixed!important;top:var(--crm-topbar-height)!important;bottom:0;left:0;width:var(--crm-sidebar-width)!important;padding:var(--crm-space-3) var(--crm-space-2)!important;background:var(--crm-bg-surface)!important;border-right:1px solid var(--crm-border);box-shadow:none!important;z-index:30;overflow:visible;transform:none}
body.crm-ui .sidebar:after{display:none}
body.crm-ui #side-nav{display:flex;flex-direction:column;gap:var(--crm-space-2);overflow-y:auto;overflow-x:hidden;max-height:100%;padding:0}
body.crm-ui #side-nav>button{height:44px;min-height:44px;width:48px;padding:var(--crm-space-3);display:grid;place-items:center;border:0;border-radius:var(--crm-radius-md);background:transparent;color:var(--crm-text-muted);cursor:pointer;position:relative}
body.crm-ui #side-nav>button:hover,body.crm-ui #side-nav>button.active{color:var(--crm-primary);background:var(--crm-primary-soft);box-shadow:none}
body.crm-ui #side-nav>button.active:after{content:'';position:absolute;left:0;top:12px;bottom:12px;width:2px;background:var(--crm-primary);border-radius:2px}
body.crm-ui #side-nav .crm-icon{width:22px;height:22px}
body.crm-ui #bottom-nav,body.crm-ui .topbar,body.crm-ui .mobile-nav-backdrop{display:none!important}
body.crm-ui .content{width:100%;max-width:none!important;margin:0!important;padding:var(--crm-space-6)!important}
body.crm-ui .content:before{display:none}
.crm-workspace-block{width:100%;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.crm-ui :is(.ref-page,.record360-page,.suppliers-page,.hvac-page,.project-workspace,.module-workspace-main){max-width:none!important;width:100%;min-width:0}
body.crm-ui .module-workspace{display:block!important;max-width:none;width:100%}
body.crm-ui .module-context-panel{display:none}
body.crm-ui :is(.crm-page-header,.page-heading,.ref-heading,.record360-header){display:flex;align-items:center;justify-content:space-between;gap:var(--crm-space-4);margin:0 0 var(--crm-space-5);padding:0;border:0;background:none}
body.crm-ui :is(.crm-page-header h1,.page-heading h2,.ref-heading h2){font-size:26px;line-height:1.25;font-weight:700;margin:var(--crm-space-1) 0 var(--crm-space-2);color:var(--crm-text-primary)}
body.crm-ui :is(.crm-page-header p,.page-heading p,.ref-heading p){font-size:13px;color:var(--crm-text-muted);margin:0;line-height:1.5}
.crm-eyebrow{font-size:11px!important;font-weight:600;text-transform:uppercase;margin-bottom:var(--crm-space-2)!important}
.crm-page-actions{display:flex;align-items:center;gap:var(--crm-space-2)}
body.crm-ui :is(.panel,.ref-panel,.record360-panel,.supplier-panel,.crm-context-card,.crm-kpi,.hvac-section){background:var(--crm-bg-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-xs);min-width:0}
body.crm-ui .panel{overflow:visible;max-width:none;width:100%;margin-left:0;margin-right:0}body.crm-ui .panel+.panel{margin-top:var(--crm-space-4)}
.crm-numeric{display:block;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.crm-ui .crm-topbar .search:before{content:none}
.crm-top-navigation{overflow:visible}.crm-top-navigation>.crm-nav-group{flex-shrink:0}
body.crm-ui a.btn{text-decoration:none;display:inline-flex;align-items:center}
[data-crm-table=projects] th:first-child{width:32%}
[data-crm-table=suppliers] th:first-child{width:28%}
[data-crm-table=inventory] th:nth-child(1){width:32%}
[data-crm-table=inventory] th:nth-child(2){width:11%}
[data-crm-table=inventory] th:nth-child(3){width:7%}
[data-crm-table=inventory] th:nth-child(4){width:7%}
[data-crm-table=inventory] th:nth-child(5){width:10%}
[data-crm-table=inventory] th:nth-child(6){width:14%}
[data-crm-table=inventory] th:nth-child(7){width:10%}
[data-crm-table=inventory] th:nth-child(8){width:8%}
[data-crm-table=inventory] th:last-child{width:44px}
.crm-toolbar.supplier-filters{display:flex;flex-wrap:wrap}.crm-toolbar.supplier-filters>.field:first-child{flex:1;min-width:280px}.crm-toolbar.supplier-filters>.field{flex:0 1 220px}
body.crm-ui .supplier-filters label:first-child>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.crm-ui .supplier-filters label:first-child{flex:2;min-width:280px}body.crm-ui .supplier-filters label{flex:1;min-width:180px}
body.crm-ui .supplier-filters label input,body.crm-ui .supplier-filters label select{width:100%;min-width:0}
body.crm-ui .supplier-filters label>span{white-space:nowrap}
.crm-entity .crm-icon{flex-shrink:0}body.crm-ui td a .crm-icon{width:14px;height:14px;margin-right:4px}
body.crm-ui :is(.panel-header,.ref-panel>header,.record360-panel>header){padding:var(--crm-space-4);border-bottom:1px solid var(--crm-divider);background:none}
body.crm-ui :is(.panel-header h2,.ref-panel h3,.record360-panel h3){font-size:18px;font-weight:650}
body.crm-ui .btn{height:38px;min-height:38px;padding:var(--crm-space-2) var(--crm-space-4);border-radius:var(--crm-radius-sm);font-size:13px;font-weight:600;border:1px solid var(--crm-border);background:var(--crm-bg-surface);color:var(--crm-text-secondary);box-shadow:none;cursor:pointer}
body.crm-ui .btn.primary{background:var(--crm-primary);border-color:var(--crm-primary);color:var(--crm-bg-surface)}body.crm-ui .btn.primary:hover{background:var(--crm-primary-hover)}
body.crm-ui .btn.danger{background:var(--crm-danger-bg);border-color:var(--crm-danger-border);color:var(--crm-danger)}
body.crm-ui .btn.ghost{background:transparent;border-color:transparent}
body.crm-ui :is(.text-btn,.crm-entity-name){border:0;background:none;color:var(--crm-primary);font-size:13px;font-weight:600;cursor:pointer;padding:0;text-align:left}
body.crm-ui .text-btn.danger{color:var(--crm-danger)}
.crm-context-card{display:flex;align-items:center;gap:var(--crm-space-6);padding:var(--crm-space-5);margin-bottom:var(--crm-space-4);width:100%}
.crm-context-identity{display:flex;align-items:center;gap:var(--crm-space-4);flex:0 1 32%;min-width:240px}
.crm-context-identity>div{min-width:0}.crm-context-identity small{font-size:11px;color:var(--crm-text-muted);font-weight:600}
.crm-context-identity h2{font-size:18px;font-weight:650;line-height:1.35;margin:var(--crm-space-1) 0;overflow-wrap:anywhere}
.crm-context-identity p{font-size:12px;color:var(--crm-text-muted);margin:var(--crm-space-2) 0}
.crm-context-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--crm-space-5);flex:1;min-width:0;margin:0}
.crm-context-fields dt{font-size:12px;color:var(--crm-text-muted);margin-bottom:var(--crm-space-2)}.crm-context-fields dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.crm-context-fields dd small{display:block;font-size:11px;font-weight:400;color:var(--crm-text-muted);margin-top:var(--crm-space-1)}
.crm-context-fields dd a{display:block;font-weight:400;font-size:12px;margin-bottom:var(--crm-space-1);text-decoration:none}
.crm-context-fields dd .crm-icon{width:14px;height:14px;margin-right:var(--crm-space-1)}
.crm-thumbnail{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none;background:var(--crm-primary-soft);color:var(--crm-primary);border-radius:var(--crm-radius-md);font-size:12px;font-weight:650;width:36px;height:36px}
.crm-thumbnail>span{display:flex;align-items:center;justify-content:center}.crm-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.crm-thumbnail-xs{width:32px;height:32px}.crm-thumbnail-md{width:48px;height:48px}.crm-thumbnail-lg{width:88px;height:88px}.crm-thumbnail-lg .crm-icon{width:32px;height:32px}
.crm-entity{display:flex;align-items:center;gap:var(--crm-space-3);min-width:0}.crm-entity>span{min-width:0}.crm-entity strong,.crm-entity-name{color:var(--crm-text-primary)!important;font-weight:600}.crm-entity small{display:block;margin-top:var(--crm-space-1);color:var(--crm-text-muted)}
body.crm-ui :is(.crm-toolbar,.supplier-filters,.filters,.ref-filterbar,.hvac-filters){display:flex;align-items:center;gap:var(--crm-space-3);padding:var(--crm-space-4);flex-wrap:wrap;margin:0;border-bottom:1px solid var(--crm-divider);background:var(--crm-bg-surface)}
body.crm-ui .supplier-panel{padding:0}.crm-toolbar label{display:flex;align-items:center;gap:var(--crm-space-2);color:var(--crm-text-muted);font-size:12px}
.crm-toolbar .crm-search{flex:1;min-width:240px;max-width:440px}.crm-search input{width:100%}
body.crm-ui :is(.crm-toolbar,.supplier-filters,.filters,.ref-filterbar) :is(input,select){height:38px;min-height:38px;padding:var(--crm-space-2) var(--crm-space-3);border:1px solid var(--crm-border);border-radius:var(--crm-radius-sm);background:var(--crm-bg-surface);font-size:12px;min-width:0;max-width:100%}
body.crm-ui .supplier-filters .field{min-width:140px;flex:1;margin:0;gap:var(--crm-space-1)}body.crm-ui .supplier-filters .field:first-child{flex:2}
body.crm-ui .supplier-filters .field>span{font-size:11px;color:var(--crm-text-muted)}
.crm-toolbar-spacer{flex:1}.crm-table-count{font-size:12px;color:var(--crm-text-muted)}
body.crm-ui .table-wrap{max-width:100%;overflow:auto;border-radius:0}
body.crm-ui #content table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums;min-width:800px;background:var(--crm-bg-surface)}
body.crm-ui #content th{height:42px;background:var(--crm-bg-subtle);border-bottom:1px solid var(--crm-divider);color:var(--crm-text-secondary);font-size:12px;font-weight:600;letter-spacing:0;text-align:left;padding:var(--crm-space-2) var(--crm-space-3)}
body.crm-ui #content td{height:52px;padding:var(--crm-space-2) var(--crm-space-3);border-bottom:1px solid var(--crm-divider);border-top:0;color:var(--crm-text-primary);font-size:13px;vertical-align:middle;background:var(--crm-bg-surface)}
body.crm-ui #content td :is(strong,b){font-size:13px}body.crm-ui #content td small{display:block;font-size:11px;color:var(--crm-text-muted);font-weight:400;line-height:1.5}
body.crm-ui #content tbody tr:hover>td{background:var(--crm-bg-hover)}body.crm-ui #content tr.crm-selected>td{background:var(--crm-bg-selected)}body.crm-ui #content tr.crm-selected>td:first-child{box-shadow:inset 3px 0 var(--crm-primary)}
body.crm-ui #content .crm-number{text-align:right;white-space:nowrap}.crm-result[data-tone=danger]{color:var(--crm-danger)!important}.crm-result[data-tone=success]{color:var(--crm-success)!important}
.crm-sort{background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0;display:inline-flex;gap:var(--crm-space-2);align-items:center}.crm-sort .crm-icon{width:12px;height:12px}
.crm-badge,body.crm-ui .status{display:inline-flex;align-items:center;gap:var(--crm-space-1);border-radius:999px;padding:4px 10px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;font-style:normal;background:var(--crm-neutral-bg);color:var(--crm-neutral)}
[data-tone=success],body.crm-ui .status.green{background:var(--crm-success-bg);color:var(--crm-success)}[data-tone=warning],body.crm-ui .status.gold{background:var(--crm-warning-bg);color:var(--crm-warning)}[data-tone=danger],body.crm-ui .status.red{background:var(--crm-danger-bg);color:var(--crm-danger)}[data-tone=info]{background:var(--crm-info-bg);color:var(--crm-info)}[data-tone=neutral]{background:var(--crm-neutral-bg);color:var(--crm-neutral)}
.crm-result{background:none!important}
body.crm-ui .crm-badge[data-tone=success]{background:var(--crm-success-bg);color:var(--crm-success)}
body.crm-ui .crm-badge[data-tone=warning]{background:var(--crm-warning-bg);color:var(--crm-warning)}
body.crm-ui .crm-badge[data-tone=danger]{background:var(--crm-danger-bg);color:var(--crm-danger)}
body.crm-ui .crm-badge[data-tone=info]{background:var(--crm-info-bg);color:var(--crm-info)}
body.crm-ui .crm-badge[data-tone=neutral]{background:var(--crm-neutral-bg);color:var(--crm-neutral)}
body.crm-ui .crm-empty:before,body.crm-ui .crm-empty:after{content:none!important;display:none!important}
.crm-actions{position:relative;display:inline-block}.crm-actions>summary{list-style:none;display:grid;place-items:center;width:32px;height:32px;color:var(--crm-text-muted);cursor:pointer;border-radius:var(--crm-radius-sm)}.crm-actions>summary:hover{background:var(--crm-primary-soft)}
.crm-actions>div{position:absolute;right:0;top:32px;z-index:20;min-width:180px;background:var(--crm-bg-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-sm);padding:var(--crm-space-2)}
.crm-actions[open]>div{position:fixed;right:var(--crm-space-6);top:auto;max-height:300px;overflow:auto}
.crm-actions>div :is(button,a){display:block;width:100%;text-align:left;padding:var(--crm-space-2)!important;height:auto!important;white-space:nowrap;margin:0!important;border:0!important;background:none!important;font-size:12px}
.crm-expand{float:left;display:grid;place-items:center;width:28px;height:36px;border:0;background:none;color:var(--crm-primary);cursor:pointer;margin-right:var(--crm-space-2)}.crm-expand .crm-icon{width:16px;height:16px}.crm-expand[aria-expanded=true] .crm-icon{transform:rotate(90deg)}
body.crm-ui #content .crm-expanded>td{padding:var(--crm-space-4) var(--crm-space-6);background:var(--crm-bg-subtle)}.crm-expanded h3{font-size:14px;margin:0 0 var(--crm-space-3)}
.crm-preview-trigger{background:none;border:0;border-bottom:1px dotted var(--crm-text-muted);font:inherit;color:var(--crm-primary);cursor:help;padding:0}
.crm-popover{position:fixed;z-index:60;max-width:calc(100vw - 32px);width:520px;max-height:50vh;overflow:auto;background:var(--crm-bg-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-sm);padding:var(--crm-space-4)}.crm-popover header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--crm-space-3)}.crm-popover table{min-width:0!important;font-size:12px}.crm-popover td{padding:var(--crm-space-2)}
.crm-pagination{display:flex;justify-content:space-between;align-items:center;gap:var(--crm-space-4);padding:var(--crm-space-4);color:var(--crm-text-muted);font-size:12px;border-top:1px solid var(--crm-divider)}.crm-pagination>div{display:flex;align-items:center;gap:var(--crm-space-2)}.crm-pagination select{border:1px solid var(--crm-border);background:var(--crm-bg-surface);padding:var(--crm-space-2);border-radius:var(--crm-radius-sm)}.crm-pagination button{min-width:32px;min-height:32px;border:1px solid var(--crm-border);border-radius:var(--crm-radius-sm);background:var(--crm-bg-surface);cursor:pointer}.crm-pagination button:disabled{opacity:.45;cursor:default}
.crm-empty{text-align:center;padding:var(--crm-space-8);color:var(--crm-text-muted);font-size:13px}.crm-skeleton{padding:var(--crm-space-4)}.crm-skeleton>div{display:flex;gap:var(--crm-space-6);height:52px;align-items:center;border-bottom:1px solid var(--crm-divider)}.crm-skeleton i{display:block;height:12px;flex:1;background:var(--crm-neutral-bg);border-radius:var(--crm-radius-sm)}
.crm-tabs{display:flex;gap:var(--crm-space-1);margin-bottom:var(--crm-space-4);padding:var(--crm-space-1);width:fit-content;border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-bg-surface)}.crm-tabs button{display:flex;align-items:center;gap:var(--crm-space-2);border:0;background:none;padding:var(--crm-space-3) var(--crm-space-4);font-size:13px;border-radius:var(--crm-radius-sm);cursor:pointer}.crm-tabs button[aria-current=page]{color:var(--crm-primary);background:var(--crm-primary-soft)}
.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--crm-space-3);margin-bottom:var(--crm-space-4)}.crm-kpi{display:flex;align-items:center;gap:var(--crm-space-4);padding:var(--crm-space-4)}.crm-kpi>span{padding:var(--crm-space-3);border-radius:50%;background:var(--crm-primary-soft);color:var(--crm-primary)}.crm-kpi small{display:block;color:var(--crm-text-muted);font-size:12px}.crm-kpi strong{display:block;font-size:20px;margin:var(--crm-space-1) 0}.crm-kpi em{font-size:11px;color:var(--crm-text-muted);font-style:normal}
body.crm-ui .vip-tooltip-banner{display:none}
body.crm-ui .record360-metrics article,body.crm-ui .ref-metric,body.crm-ui .metric{background:var(--crm-bg-surface);color:var(--crm-text-primary);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:none}
body.crm-ui .ref-metric:before,body.crm-ui .metric:before{display:none}
body.crm-ui .positive{color:var(--crm-success)}body.crm-ui .negative,body.crm-ui .form-error{color:var(--crm-danger)}
body.crm-ui .crm-module-title-fallback{font-size:24px;margin:0 0 var(--crm-space-5)}
@media(min-width:2000px){body.crm-ui .content{padding:var(--crm-space-6) var(--crm-space-8)!important}.crm-topbar .search{width:320px}}
@media(max-width:1450px){.crm-top-navigation{gap:0}.crm-nav-group>summary{padding:var(--crm-space-2) var(--crm-space-1);font-size:11px;gap:var(--crm-space-1)}.crm-nav-group>summary>.crm-icon:first-child{display:none}body.crm-ui .crm-topbar{gap:var(--crm-space-3);padding:0 var(--crm-space-4)}body.crm-ui .crm-topbar .search{width:180px}.crm-user-menu b{max-width:100px}.crm-context-fields{grid-template-columns:repeat(3,minmax(110px,1fr))}}
@media(max-width:1100px){.crm-user-menu>summary>span:nth-child(2){display:none}.crm-top-navigation{overflow-x:auto}.crm-nav-group{position:static}.crm-nav-dropdown{top:64px;left:auto}.crm-topbar .search{display:none}.crm-context-card{flex-wrap:wrap}.crm-context-identity{flex-basis:100%}.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.crm-ui{--crm-sidebar-width:56px}body.crm-ui .crm-topbar{height:64px;padding:0 var(--crm-space-2);gap:var(--crm-space-2)}.crm-brand{font-size:0!important}.crm-brand img{width:32px}.crm-top-navigation{flex:1}.crm-top-actions{gap:0}.crm-notifications{min-width:32px}.crm-user-menu .avatar{width:28px;height:28px}.crm-user-menu>summary>.crm-icon{display:none}body.crm-ui .sidebar{padding:var(--crm-space-2) var(--crm-space-1)!important}body.crm-ui .content{padding:var(--crm-space-4) var(--crm-space-3)!important}.crm-context-fields{grid-template-columns:repeat(2,minmax(90px,1fr))}.crm-context-identity{min-width:0}.crm-context-card{padding:var(--crm-space-3);gap:var(--crm-space-4)}.crm-thumbnail-lg{width:64px;height:64px}.crm-page-header{flex-wrap:wrap}.crm-page-header h1{font-size:24px!important}.crm-kpis{grid-template-columns:1fr}.crm-tabs{max-width:100%;overflow:auto}.crm-toolbar .crm-search{min-width:0;max-width:none}.crm-pagination{flex-wrap:wrap}.crm-context-fields dd{font-size:13px}.crm-toolbar{align-items:stretch}.crm-toolbar label{flex-wrap:wrap}.crm-context-card{max-width:100%}}
@media(pointer:coarse){.crm-actions>summary,.crm-expand,.crm-pagination button{min-width:44px;min-height:44px}}
@media(max-width:1100px){.crm-nav-group>.crm-nav-dropdown{position:fixed;top:var(--crm-topbar-height);left:var(--crm-sidebar-width);right:var(--crm-space-3);min-width:0;max-width:360px}}
