/* Phone menu for the site header. Shown only on narrow screens. */
.site-header { position: -webkit-sticky; position: sticky; top: 0; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--green); padding: 10px 16px; border: 2px solid var(--green); border-radius: 999px; min-height: 44px; display: flex; align-items: center; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav div { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.mnav div a { display: block; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.mnav div a.go { color: var(--green); font-weight: 800; }
@media (max-width: 720px) { .mnav { display: block; } .nav .btn { display: none; } .site-header .wrap { gap: 8px; } }

/* Get-authority guide link in the desktop header, drawn as an outline button. */
.nav a.auth { color: var(--green); border: 2px solid var(--green); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.nav a.auth:hover { background: var(--green); color: #fff; }
/* Between phone and full desktop the header is too narrow for every link, so use the Menu there too. */
@media (max-width: 1000px) { .nav a:not(.btn) { display: none; } .mnav { display: block; } .nav .btn { display: none; } .site-header .wrap { gap: 8px; } }
