.crm-header {background:#fff; border-bottom:1px solid #ded9e7; color:#45434a;}
.crm-header .crm-header-inner {max-width:1440px; margin:0 auto; box-sizing:border-box; padding:8px 24px; display:flex; align-items:center; gap:16px; min-height:62px;}
.crm-header .brand {display:inline-flex; align-items:center; gap:8px; flex:none; min-height:44px; white-space:nowrap; font:800 23px/1.15 system-ui,sans-serif; letter-spacing:-.045em; color:inherit; text-decoration:none;}
.crm-header .brand-mark {display:block; width:32px; height:32px;}
.crm-header .brand .brand-wordmark {padding:0; background:none;}
.crm-header .brand-wordmark span {padding:0 3px; border-radius:6px; background:#eee9fa;}
.crm-header .crm-nav {display:flex; flex:1 1 auto; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:2px; min-width:0; font:500 14px/1.25 system-ui,sans-serif;}
.crm-header .crm-nav a,.crm-header summary {box-sizing:border-box; display:inline-flex; align-items:center; gap:3px; min-height:44px; padding:8px; color:inherit; background:transparent; border:0; border-radius:6px; text-decoration:none; white-space:nowrap;}
.crm-header .crm-nav a:hover,.crm-header summary:hover {background:#f7f4fb;}
.crm-header .crm-nav [aria-current],.crm-header [data-current] summary {background:#f0ebfb;}
.crm-header :is(a,summary):focus-visible {outline:2px solid #65597e; outline-offset:1px;}
.crm-header .version {display:inline-flex; flex:none; align-items:center; margin-left:auto; padding:4px 8px; color:#575261; background:#f4efff; border:1px solid #d9ceec; border-radius:999px; font:600 12px/1.2 system-ui,sans-serif;}
.crm-header .crm-nav {position:relative;}
.crm-more {position:static;}
.crm-header summary {cursor:pointer; list-style:none;}
.crm-header summary::-webkit-details-marker {display:none;}
.crm-header summary::after {content:""; width:6px; height:6px; margin:0 2px 3px 4px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg);}
.crm-header details[open] summary::after {transform:rotate(225deg); margin-top:5px;}
.crm-more-links {position:absolute; top:100%; right:0; z-index:5; min-width:160px; padding:4px; background:#fff; border:1px solid #ded9e7; border-radius:8px; box-shadow:0 6px 18px #29213218;}
.crm-header .crm-more-links a {display:flex;}
@media (max-width:1100px) {
  .crm-header .crm-header-inner {flex-wrap:wrap; gap:2px 12px;}
  .crm-header .crm-nav {order:3; flex:1 0 100%;}
}
@media (max-width:650px) {
  .crm-header .crm-header-inner {padding:5px 10px;}
  .crm-header .crm-nav a,.crm-header summary {padding:6px; font-size:14px;}
  .crm-more[open] {flex:1 1 100%;}
  .crm-more-links {position:static; display:flex; flex-wrap:wrap; box-shadow:none; min-width:0;}
}
@media print {.crm-header {display:none;}}
