/* Compact floating navigation actions. */
#root .header-services .header-services__panel{width:174px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;padding:5px 0!important}
#root .header-services .header-services__items{gap:7px!important;padding:0!important}
#root .header-services button.header-services__item{width:100%!important;min-height:40px!important;height:40px!important;border-radius:12px!important;border:1px solid #ffffff18!important;background:#191c24!important;padding:6px 11px!important;gap:10px!important;color:#e0e4ec!important;font-size:12px!important;font-weight:550!important;box-shadow:0 4px 10px #0003!important;overflow:hidden!important}
#root .header-services .header-services__icon{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:8px!important;background:#ffffff07!important;color:#c0cadc!important;border:0!important;flex-shrink:0!important}
#root .header-services button.header-services__item:hover,#root .header-services button.header-services__item:focus-visible{background:#342d1d!important;border-color:#e7c46270!important;color:#ffe5a0!important}
#root .header-services button.header-services__item:hover .header-services__icon{background:#e7c46215!important;color:#f8d97e!important}
#root .header-services .header-services__arrow{font-size:14px!important}

/* Frosted glass container behind the service buttons. */
#root .header-services .header-services__panel{width:192px!important;padding:9px!important;background:rgba(18,22,31,.62)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:17px!important;backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important;box-shadow:0 16px 38px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)!important}
#root .header-services button.header-services__item{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.065)!important;box-shadow:none!important}

/* A single frosted surface spans the trigger and expanded services. */
#root .header-services:has(.header-services__panel){isolation:isolate}
#root .header-services:has(.header-services__panel)::before{content:"";position:absolute;z-index:-1;top:0;left:0;width:max(100%,192px);height:calc(100% + 301px);border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(15,19,27,.96);backdrop-filter:blur(24px) saturate(120%);-webkit-backdrop-filter:blur(24px) saturate(120%);box-shadow:0 16px 40px #0007;pointer-events:none}
#root .header-services:has(.header-services__panel)>.header-services__trigger{position:relative;width:100%;border-color:transparent!important;background:transparent!important;border-radius:13px 13px 0 0!important}
#root .header-services .header-services__panel{background:transparent!important;border:0!important;border-radius:0 0 13px 13px!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;padding:4px 8px 10px!important}
#root .header-services .header-services__items{gap:5px!important;padding-top:6px!important;border-top:1px solid #ffffff14}
#root .header-services button.header-services__item{background:transparent!important;border-color:transparent!important}

#root .header-services:has(.header-services__panel)::before{display:none}
#root .header-services>div:has(>.header-services__panel){isolation:isolate;min-width:100%;width:192px}
#root .header-services>div:has(>.header-services__panel)::before{content:"";position:absolute;inset:-38px 0 0;z-index:-1;border:1px solid #ffffff33;border-radius:13px;background:rgba(15,19,27,.96);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 16px 40px #0007;pointer-events:none}
#root .header-services:has(.header-services__panel)>.header-services__trigger{z-index:201}
#root .header-services .header-services__panel{width:100%!important}

/* Keep the entire expanded control above adjacent navigation entries. */
#root .header-services:has(.header-services__panel){z-index:500!important;isolation:isolate!important}
#root .header-services>div:has(>.header-services__panel){z-index:200!important}
#root .header-services>div:has(>.header-services__panel)::before{z-index:0!important;background:#11151d!important;opacity:1!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#root .header-services .header-services__panel{position:relative!important;z-index:1!important}
#root .header-services:has(.header-services__panel)>.header-services__trigger{z-index:201!important}

/* Closed services stop catching the pointer while their short fade completes. */
#root .header-services:has(>.header-services__trigger[aria-expanded="false"]) .header-services__panel{pointer-events:none!important}
