.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); border-radius: 0 0 clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px); box-shadow: 0 3px 16px rgb(75 20 110 / 5%); }
.navbar { height: var(--navbar-height); display: flex; align-items: center; gap: clamp(20px, 2.6vw, 48px); }
.brand { flex: 0 0 clamp(220px, 21vw, 350px); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-self: stretch; align-items: stretch; justify-content: center; gap: clamp(22px, 2.5vw, 52px); margin-left: auto; white-space: nowrap; }
.primary-nav a { position: relative; display: flex; align-items: center; color: var(--color-nav-text); font-size: clamp(17px, 1.45vw, 25px); font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--color-primary); }
.primary-nav a[aria-current] { font-weight: 900; }
.primary-nav a[aria-current]::after { content: ''; position: absolute; bottom: 16%; left: -8px; right: -8px; height: 5px; background: var(--color-primary); border-radius: 8px; }
.account-menu { position: relative; flex-shrink: 0; }
.account-menu summary { display: flex; align-items: center; gap: 14px; list-style: none; font-weight: 900; font-size: clamp(18px, 1.4vw, 25px); }
.account-menu summary::-webkit-details-marker { display: none; }
.account-avatar { width: clamp(48px, 6.8svh, 70px); height: clamp(48px, 6.8svh, 70px); object-fit: cover; border-radius: 50%; background: var(--color-peach); }
.avatar-fallback { display: grid; place-items: center; font-size: 30px; color: var(--color-primary); border: 4px solid white; box-shadow: 0 0 0 2px var(--color-lavender); }
.account-name { line-height: 1.2; }
.account-chevron { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; line-height: 0; }
.account-chevron svg { display: block; width: 22px; height: 22px; }
.account-dropdown { position: absolute; top: calc(100% + 20px); right: 0; z-index: 20; width: 260px; background: white; border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow-card); padding: 12px; }
.account-dropdown a, .account-dropdown button { display: block; width: 100%; padding: 12px 14px; border: 0; text-align: left; background: transparent; color: var(--color-ink); border-radius: 10px; font-weight: 700; }
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--color-lavender); }
.account-dropdown .account-admin-link { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--color-border); border-radius: 0 0 10px 10px; color: var(--color-primary); font-weight: 900; }
@media (max-width: 1250px) { .account-name { display: none; } .primary-nav { gap: 24px; } }
@media (max-width: 1000px) { .navbar { height: auto; flex-wrap: wrap; gap: 12px; padding-block: 14px; } .account-menu { margin-left: auto; } .primary-nav { order: 3; width: 100%; min-height: 44px; justify-content: space-between; } .primary-nav a[aria-current]::after { bottom: 0; } }
@media (max-width: 600px) { .brand { flex-basis: min(190px, 60%); } .account-avatar { width: 44px; height: 44px; } .primary-nav { gap: 10px; } .primary-nav a { font-size: clamp(12px, 3.4vw, 15px); } }
