/* header: couples first, venues on the side */
.auth{display:flex;align-items:center;gap:14px;margin-left:auto}
header nav + .auth{margin-left:0}
.dd{position:relative}
.dd summary{list-style:none;cursor:pointer;font-size:14px;color:var(--muted);white-space:nowrap;user-select:none}
.dd summary::-webkit-details-marker{display:none}
.dd summary:hover{color:var(--ink)}
.dd summary.btn{color:#fff}
.dd .menu{position:absolute;right:0;top:calc(100% + 10px);z-index:40;width:280px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 40px -24px rgba(60,40,30,.45);padding:8px;display:grid;gap:2px}
.dd .menu a{display:grid;gap:2px;padding:11px 13px;border-radius:12px;text-decoration:none;color:var(--ink)}
.dd .menu a:hover,.dd .menu a:focus{background:var(--bg)}
.dd .menu b{font-weight:600;font-size:15px}
.dd .menu span{font-size:13px;color:var(--muted)}
.dd .menu a.pri{background:#FBEFEA}
.dd .menu a.pri:hover{background:#f7e4dc}
.dd .menu hr{border:0;border-top:1px solid var(--line);margin:4px 6px}
.cpl{margin:18px 0 0;font-size:15px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cpl a{color:#8a5f4a;font-weight:600}
@media (max-width:560px){.auth{gap:10px}.dd .menu{width:min(280px,calc(100vw - 24px));right:-8px}.dd summary.btn{padding:8px 12px;font-size:13px}}
/* mobile fit */
@media (max-width:560px){header.top .wrap{gap:8px}header.top .brand{flex:0 1 auto;min-width:0;overflow:hidden}header.top .brand img{max-width:100%!important;height:auto!important;max-height:26px!important}.auth{flex-shrink:0}.cpl{display:block;line-height:1.6}.cpl svg{vertical-align:-3px;margin-right:4px}}
/* menu fixed on phones */
@media (max-width:560px){.dd .menu{position:fixed;left:12px;right:12px;top:66px;width:auto}}

/* The header menu is finished by nav.js. Until it has run, the page's own copy stays out of sight, so the links do not jump or swap. If the script never runs, the menu shows after 1.5 seconds. */
header.top:has(.auth) nav[aria-label=Main],header.top .auth{visibility:hidden;animation:navr 0s 1.5s forwards}
html.navr header.top:has(.auth) nav[aria-label=Main],html.navr header.top .auth{visibility:visible;animation:none}
@keyframes navr{to{visibility:visible}}
