/* The main navigation has a consistent dark surface in both application themes. */
#app>.app-header{--nav-gold:#e0bc6c;min-height:86px;padding:13px clamp(20px,2vw,40px);gap:24px;background:linear-gradient(180deg,#24272a 0%,#111315 48%,#090a0b 100%);border-bottom:1px solid #c3a25c;box-shadow:0 3px 16px #0003;isolation:isolate}
#app>.app-header::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:linear-gradient(90deg,#92733840,#efd28c 20%,#b7955040 48%,#f4daa1 78%,#92733840);pointer-events:none}
#app>.app-header .brand{padding:0 24px 0 0;min-width:0;border-right:1px solid #ffffff24}
#app>.app-header .brand-logo{width:230px;height:56px;object-fit:contain;object-position:left center}
#tabs.top-nav{overflow-x:auto;gap:4px;scroll-padding-inline:10px;scrollbar-width:thin;scrollbar-color:#a98a4944 transparent}
#tabs.top-nav button{height:46px;padding:0 10px;border:1px solid transparent;border-radius:10px;color:#dddeda;font-size:12px;font-weight:600;letter-spacing:0;gap:8px;line-height:1;transition:color .15s,background .15s,border-color .15s,box-shadow .15s}
#tabs.top-nav button svg.av-nav-icon{width:20px;height:20px;flex:none;opacity:.95}
#tabs.top-nav button:hover{color:#f8e5b4;background:#ffffff0a;border-color:#e0bc6c3b}
#tabs.top-nav button.active{color:#211b0d;background:linear-gradient(180deg,#f4db98 0%,#dfba65 70%,#cfa750 100%);border-color:#e5c57d;box-shadow:inset 0 1px 0 #fff7,0 3px 12px #0005;font-weight:750}
#tabs.top-nav button.active:hover{background:linear-gradient(180deg,#ffe6aa,#e6c171);color:#211b0d}
#tabs.top-nav button:focus-visible,#app>.app-header a:focus-visible,.account-menu>summary:focus-visible{outline:2px solid #f3cf7f;outline-offset:3px}
#app>.app-header .account-menu{padding-left:20px;border-left:1px solid #ffffff24;grid-column:3;grid-row:1}
#app>.app-header .account-menu>summary{display:flex;align-items:center;gap:10px;border-radius:24px;color:#dddedb;outline-offset:5px}
#app>.app-header .account-menu .avatar{width:44px;height:44px;margin:0;border:1px solid #d9b96b;background:linear-gradient(145deg,#303336,#101213);color:#f7edce;font-size:17px;font-weight:650;box-shadow:inset 0 1px 1px #ffffff24}
#app>.app-header .account-menu[open] .avatar,#app>.app-header .account-menu>summary:hover .avatar{box-shadow:0 0 0 3px #dfba651c;border-color:#f3d990}
.av-account-chevron{width:15px;height:15px;transition:transform .18s}.account-menu[open] .av-account-chevron{transform:rotate(180deg)}
#app>.app-header .account-menu-popover{top:calc(100% + 19px);width:246px;background:#171a1d;color:#eee;border:1px solid #a88a454a;box-shadow:0 18px 45px #0005;border-radius:14px;padding:10px}
#app>.app-header .account-menu-title{color:#c8ac72;padding:5px 3px 9px;border-bottom:1px solid #ffffff12;margin-bottom:6px;letter-spacing:.12em}
#app>.app-header .account-menu-item{min-height:43px;padding:11px 10px;gap:12px;font-size:13px;color:#e0e1de}
#app>.app-header .account-menu-item>.av-nav-icon{width:19px;height:19px;flex:none;color:#c3ad7b}
#app>.app-header .account-menu-item:hover{color:#f4dda3;background:#dfba6512}
#app>.app-header .account-menu-item:focus-visible{outline:2px solid #dfba65;outline-offset:-2px}
#app>.app-header #logout{margin-top:6px;border-top:1px solid #ffffff12;border-radius:0 0 8px 8px}
@media(min-width:1551px){#app>.app-header{grid-template-columns:auto minmax(0,1fr) auto}#app>.app-header .top-nav{grid-column:2;grid-row:1}}
@media(max-width:1550px){#app>.app-header{grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;padding-top:12px;padding-bottom:10px}#app>.app-header .brand{border:0;padding:0}#app>.app-header .brand-logo{height:48px;width:205px}#app>.app-header .account-menu{grid-column:2;grid-row:1}#app>.app-header .top-nav{grid-column:1/-1;grid-row:2;padding-top:10px;border-top:1px solid #ffffff10;gap:5px}#tabs.top-nav button{height:43px;padding:0 9px}}
@media(max-width:650px){#app>.app-header{padding:10px 16px 8px;gap:9px}#app>.app-header .brand-logo{width:163px;height:41px}#app>.app-header .account-menu{padding-left:14px}#app>.app-header .account-menu .avatar{width:38px;height:38px;font-size:15px}#app>.app-header .top-nav{margin:0;width:100%;padding:9px 0 2px}#tabs.top-nav button{font-size:12px;height:42px;padding:0 11px}#tabs.top-nav button svg.av-nav-icon{width:18px;height:18px}#app>.app-header .account-menu-popover{top:calc(100% + 14px)}}
@media(prefers-reduced-motion:reduce){#tabs.top-nav button,.av-account-chevron{transition:none}}
