/* AspenLance header menus: anchored panels, not modal sidebars. */
.hm-toolbar{display:flex;align-items:center;gap:8px;flex-shrink:0;color:#202020;font:14px/1.5 Inter,system-ui,sans-serif}.hm-anchor{display:flex;align-items:center}.hm-trigger{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:9px;border:1px solid #dedede!important;border-radius:13px;background:#fff!important;color:#404040!important;cursor:pointer;box-shadow:none!important}.hm-trigger:hover,.hm-trigger[aria-expanded=true]{background:#ededed!important;border-color:#bcbcbc!important}.hm-trigger .ux-icon{width:21px;height:21px;color:#404040!important}.hm-language-code{font-size:12px;font-weight:650}.hm-flag{width:24px;height:17px;object-fit:cover;border-radius:3px;border:1px solid #d7d7d7;filter:none}.hm-count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border:2px solid #fff;padding:0 3px;border-radius:12px;background:#343434;color:#fff;font-size:10px;font-weight:700;line-height:14px;text-align:center}.hm-panel[hidden]{display:none!important}.hm-panel{position:fixed;z-index:300;display:flex;flex-direction:column;width:380px;max-width:calc(100vw - 24px);max-height:620px;border:1px solid #dedede;border-radius:18px;box-shadow:0 16px 54px #00000021,0 3px 12px #0000000d;background:#fff;color:#202020;overflow:hidden;text-align:start;isolation:isolate;font-size:14px;line-height:1.5}.hm-panel *{box-sizing:border-box}.hm-panel h2{font:750 20px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.03em;margin:0;color:#202020}.hm-panel p{margin:0}.hm-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 16px;border-bottom:1px solid #ededed;flex-shrink:0}.hm-panel-heading p{font-size:13px;color:#666;margin-top:5px}.hm-panel-heading>button{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;min-height:36px;border:0;border-radius:50%;padding:8px;background:#f5f5f5;color:#444;cursor:pointer}.hm-panel-heading .ux-icon{width:18px;height:18px}.hm-panel-body{padding:12px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.hm-panel a{text-decoration:none;color:#292929}.hm-panel button{font-family:inherit;cursor:pointer}.hm-panel a:focus-visible,.hm-panel button:focus-visible,.hm-trigger:focus-visible,.hm-panel input:focus-visible,.hm-panel summary:focus-visible{outline:2px solid #555;outline-offset:2px}.hm-group-label{font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#686868;margin:12px 8px 9px!important}.hm-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hm-shortcut-grid a{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px;border-radius:10px;background:#f7f7f7;font-size:13px;font-weight:600}.hm-shortcut-grid .ux-icon,.hm-link-list .ux-icon,.hm-text-row .ux-icon{width:21px;height:21px;flex-shrink:0;color:#555!important}.hm-shortcut-grid a:hover,.hm-link-list a:hover,.hm-text-row:hover{background:#ededed}.hm-link-list{display:grid;gap:3px}.hm-link-list a,.hm-text-row{display:flex!important;align-items:center;gap:11px;min-height:44px;padding:9px 10px;border-radius:9px;font-size:14px;font-weight:550}.hm-text-row span{flex:1}.hm-panel-footer{padding:11px 18px;border-top:1px solid #ededed;flex-shrink:0}.hm-panel-footer a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;font-weight:650}.hm-panel-footer .ux-icon{width:18px;height:18px}.hm-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#eee;flex-shrink:0}.hm-conversation{display:flex;align-items:center;gap:12px;min-height:88px;padding:12px 9px;border-radius:12px}.hm-conversation:hover{background:#f5f5f5}.hm-conversation.is-unread{background:#f3f3f3}.hm-conversation-copy{display:grid;gap:3px;min-width:0;flex:1}.hm-conversation-copy strong{font-weight:650;overflow-wrap:anywhere}.hm-conversation-copy>span{color:#626262;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.hm-panel time{font-size:12px;color:#696969;line-height:1.5}.hm-message-count{min-width:20px;height:20px;border-radius:12px;background:#444;color:#fff;text-align:center;font-size:11px;line-height:20px}.hm-empty{display:grid;justify-items:center;text-align:center;padding:26px 18px;gap:10px}.hm-empty>.ux-icon{width:34px;height:34px;color:#777}.hm-empty h3{font-size:15px;margin:0}.hm-empty p{color:#666;font-size:13px}.hm-notification-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:10px;border-bottom:1px solid #ededed;flex-shrink:0}.hm-filter-group{display:flex;gap:4px}.hm-filter-group button{border:0;background:transparent;color:#656565;padding:8px 11px;min-height:40px;border-radius:20px;font-size:13px}.hm-filter-group button[aria-pressed=true]{background:#eaeaea;color:#202020;font-weight:650}.hm-mark-all{background:transparent;border:0;padding:8px 0;min-height:44px;color:#343434;font-size:12px;font-weight:650}.hm-mark-all:disabled{color:#777;cursor:default;opacity:.75}.hm-notification{display:flex;gap:11px;padding:14px 9px;border-radius:12px;margin:3px 0}.hm-notification.is-unread{background:#f3f3f3}.hm-notification>div{min-width:0;flex:1}.hm-notification p{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.hm-notification-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ddd;border-radius:50%;flex-shrink:0;background:#fff}.hm-notification-icon .ux-icon{width:18px;height:18px;color:#555}.hm-notification-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px}.hm-unread-label{font-size:10px;font-weight:700;color:#444;padding:2px 6px;border:1px solid #c9c9c9;border-radius:12px}.hm-notification-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.hm-notification-actions a,.hm-notification-actions button{display:inline-flex;align-items:center;gap:5px;font-size:12px;min-height:36px;padding:5px 0;color:#333;font-weight:600;background:none;border:0;text-decoration:underline;text-underline-offset:3px}.hm-notification-actions .ux-icon{width:14px;height:14px}.hm-load-more{width:100%;min-height:44px;border:0;border-radius:8px;background:#f5f5f5;color:#333;font-weight:600}.hm-profile-balance{display:grid;gap:12px;padding:17px;border-radius:12px;background:#f3f3f3}.hm-profile-balance>span{display:flex;align-items:center;gap:9px;font-size:12px;color:#565656}.hm-profile-balance>span:last-child{justify-content:space-between;font-weight:650;color:#333}.hm-profile-balance strong{font-size:29px;font-weight:750;letter-spacing:-.04em;line-height:1.3;color:#202020}.hm-profile-balance small{font-size:13px;letter-spacing:0;color:#656565}.hm-profile-balance .ux-icon{width:18px;height:18px}.hm-balance-note{font-size:11px;color:#666;line-height:1.55;margin:10px 5px 15px!important}.hm-language-panel{width:300px}.hm-language-option{width:100%;display:flex;align-items:center;gap:12px;min-height:50px;background:#fff;border:0;border-radius:9px;padding:10px;color:#333;font-size:14px;text-align:start}.hm-language-option[aria-pressed=true]{background:#ededed}.hm-language-option>.ux-icon{margin-inline-start:auto;width:18px;height:18px}.hm-signin{font-weight:650;color:#333;min-height:44px;display:flex;align-items:center;padding:8px}.hm-navigation-panel input{display:block;width:100%;min-height:44px;border:1px solid #d4d4d4;background:#fafafa;border-radius:9px;padding:10px;font:inherit;margin-bottom:12px}.hm-admin-links{color:#333}.hm-admin-links>nav>a,.hm-admin-links details a{display:flex;min-height:44px;align-items:center;padding:9px;border-radius:8px;color:#333!important;font-size:13px;text-decoration:none}.hm-admin-links details{border-top:1px solid #eee;margin-top:8px}.hm-admin-links summary{cursor:pointer;min-height:44px;padding:12px 9px;color:#555;font-size:13px;font-weight:650}.hm-admin-links a:hover,.hm-admin-links a[aria-current=page]{background:#eee!important;color:#202020!important}.hm-admin-links .ux-nav-footer{border-top:1px solid #eee;margin-top:10px}.hm-panel [hidden]{display:none!important}.hm-panel .ux-icon{color:inherit;filter:grayscale(1)}
/* Retire the old sidebar layouts on every workspace. */
.ux-customer-layout,.ux-studio-layout,.center{display:block!important;grid-template-columns:none!important}.ux-customer-sidebar,.ux-studio-nav,.ux-control-nav,.ux-nav-backdrop,.ux-money-sidebar{display:none!important}.al-admin-canvas,.al-admin-shell{margin-inline-start:0!important;padding-inline-start:0!important}.al-admin-topbar{margin-inline-start:0!important;padding-inline-start:0!important;width:100%!important}.ux-customer-layout{max-width:1360px}.ux-studio-content{min-width:0}.hm-page-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#202020;font-weight:700}.hm-page-brand img{width:150px;height:auto}.hm-page-brand span{font-size:13px;color:#666;border-inline-start:1px solid #ddd;padding-inline-start:12px}.al-admin-topbar,.ux-studio-topbar{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px!important;position:relative;z-index:55;background:#fff;border-bottom:1px solid #e5e5e5;height:auto!important;min-height:76px}.ux-market-header{z-index:55}.ux-market-bar{justify-content:space-between}.ux-market-bar .hm-toolbar{margin-inline-start:auto}.ux-icon{width:21px;height:21px;flex-shrink:0;filter:grayscale(1)}
@media(max-width:900px){.ux-market-links{display:none!important}.hm-language-code{display:none}.hm-page-brand span{display:none}}
@media(max-width:600px){.hm-toolbar{gap:6px}.hm-trigger{width:44px;height:44px;padding:9px;border-radius:12px}.ux-market-bar{gap:12px;padding:12px!important;flex-wrap:nowrap!important}.ux-market-bar .ux-logo{width:36px!important;max-width:36px!important}.ux-market-bar .ux-logo img{width:36px;height:36px}.hm-page-brand img{width:36px;height:36px;object-fit:cover;object-position:left}.hm-page-brand{width:36px;overflow:hidden;flex-shrink:0}.al-admin-topbar,.ux-studio-topbar{padding:12px!important;gap:12px}.hm-panel-heading{padding:16px}.hm-panel h2{font-size:18px}.hm-notification-toolbar{padding:8px 12px}.hm-profile-balance strong{font-size:27px}.hm-count{right:-2px}.hm-panel-heading>button{min-width:40px;min-height:40px}.hm-panel .hm-language-option,.hm-panel .hm-notification-actions a,.hm-panel .hm-notification-actions button{min-height:44px}}

.al-admin-shell{display:block!important;grid-template-columns:none!important}.al-admin-canvas{max-width:1520px;margin-inline:auto!important;width:100%}.hm-finance-header{padding:16px 24px;gap:18px}.hm-finance-header .hm-toolbar{margin-inline-start:auto}.hm-finance-header .hm-testnet-badge{margin-inline-start:auto}.hm-page-brand picture{display:block}.hm-page-brand picture img{object-fit:contain}.hm-panel button:disabled{cursor:default}.hm-panel .hm-profile-balance{color:#202020}.hm-panel .hm-shortcut-grid{display:grid!important}.hm-panel .hm-link-list{display:grid!important}.hm-panel .hm-mark-all{background:none;color:#333;border:0;border-radius:0}.hm-panel .hm-filter-group button{border:0}.hm-panel .hm-filter-group{display:flex}.hm-panel .hm-profile-balance strong{font-size:29px}.hm-panel .hm-link-list a{justify-content:flex-start}.hm-panel .hm-panel-footer a{justify-content:center}.hm-finance-header .ux-icon{width:21px;height:21px}.hm-finance-header .hm-panel-heading button{padding:8px;min-height:36px}.hm-finance-header .hm-panel button{font-weight:600}.hm-panel input[type=search]{font-size:14px}.hm-panel{font-weight:400}.hm-panel nav a{white-space:normal}.hm-panel .hm-shortcut-grid a{justify-content:flex-start}
@media(max-width:600px){.hm-finance-header{padding:12px;flex-wrap:wrap}.hm-finance-header .hm-page-brand{order:0}.hm-finance-header .hm-toolbar{order:1}.hm-finance-header .hm-testnet-badge{order:2;margin:auto}.hm-finance-header .hm-panel-heading>button{min-height:40px}.hm-finance-header .hm-panel .hm-notification-actions button{min-height:44px}}
/* Keep legacy header container rules from padding the new toolbar. */
.al-admin-topbar>.hm-toolbar,.ux-studio-topbar>.hm-toolbar,.ux-market-bar>.hm-toolbar{padding:0!important;margin-block:0!important;gap:8px!important}
@media(max-width:600px){.al-admin-topbar>.hm-toolbar,.ux-studio-topbar>.hm-toolbar,.ux-market-bar>.hm-toolbar{gap:6px!important}}
.al-glyph{filter:grayscale(1);color:inherit}.hm-trigger .al-glyph{color:#404040}a.ux-button:not(.secondary) .al-glyph,button.bg-primary-600 .al-glyph,.ux-button:not(.secondary) .al-glyph{color:inherit}

svg[data-aspen-identity]{filter:grayscale(1)!important}.al-glyph[class*="text-green-"],.al-glyph[class*="text-red-"],.al-glyph[class*="text-blue-"],.al-glyph[class*="text-yellow-"],.al-glyph[class*="text-amber-"],.al-glyph[class*="text-orange-"]{color:#555!important}
.fileuploader-icon-remove:before,.fileuploader-icon-download:before{content:""!important;display:inline-block;width:20px;height:20px;background-color:currentColor;mask:center/contain no-repeat url('../img/aspen-ui/close.svg')}.fileuploader-icon-download:before{mask-image:url('../img/aspen-ui/download.svg')}

.hm-extra-nav{border-top:1px solid #eee;margin-top:12px}.hm-extra-nav summary{cursor:pointer;min-height:44px;padding:12px 9px;color:#555;font-size:13px;font-weight:650}
