/* Public navigation uses one-level, click-operated disclosure panels. */
.topbar { background:#fff; color:#24495e; border-bottom:1px solid #e3ebef; box-shadow:0 3px 18px #173c5208; }
.topbar .topbar__wrap { display:flex; justify-content:space-between; align-items:center; gap:28px; height:76px; max-width:1440px; padding-inline:clamp(20px,3vw,48px); position:relative; }
.topbar__brand { gap:10px; flex-shrink:0; font-size:18px; }
.topbar__brand img { width:34px; }
.topbar__brand .topbar__wordmark { color:#014f77; line-height:1.15; font-weight:700; letter-spacing:.3px; }
.topbar__wordmark b { color:#3487b6; font-weight:500; }
.topbar__wordmark small { display:block; font:500 8px/1.4 var(--en); letter-spacing:1.9px; color:#688393; margin-top:5px; }
.topbar__nav,.topbar__actions { display:flex; align-items:center; gap:4px; }
.topbar__nav { margin-inline:auto; gap:2px; }
.topbar__actions { gap:10px; flex-shrink:0; }
.topbar .lang-switch { border-color:#dfe8ee; background:#f5f8fa; padding:3px; font-size:11px; }
.topbar .lang-switch a { color:#708593; padding:7px 8px; }
.topbar .lang-switch a:hover { color:#014f77; }
.topbar .lang-switch a.is-active { background:#fff; color:#014f77; box-shadow:0 1px 4px #173c5214; }
.topbar__link { position:relative; display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:10px 12px; color:#536c7a; font:500 14px var(--th); border:0; background:none; border-radius:8px; cursor:pointer; white-space:nowrap; transition:background .15s,color .15s; }
.topbar__link:hover,.topbar__link[aria-expanded=true] { color:#014f77; background:#f0f6fa; }
.topbar__link.is-active { color:#014f77; font-weight:600; }
.topbar__link.is-active::after { content:""; position:absolute; height:2px; bottom:3px; left:12px; right:12px; background:#3487b6; border-radius:2px; }
.topbar__link svg { width:13px; height:13px; flex:none; transition:transform .15s ease; }
.topbar__link[aria-expanded=true]>svg { transform:rotate(180deg); }
.topbar__workspace { font-size:12px; border:1px solid #dce7ee; min-height:36px; padding:8px 12px; margin-left:6px; border-radius:999px; color:#014f77; }
.topbar__group { position:relative; }
.topbar__panel { position:absolute; top:calc(100% + 16px); left:0; z-index:45; color:#24495e; background:#fff; border:1px solid #dce9f1; border-radius:18px; box-shadow:0 18px 60px #173c521c; padding:14px; max-height:calc(100dvh - 110px); overflow:auto; overscroll-behavior:contain; }
.topbar [hidden] { display:none!important; }
.topbar__panel a { text-decoration:none; }
.topbar__panel a:hover { background:#eef7fc; color:#014f77; }
.topbar__panel a:focus-visible,.topbar button:focus-visible,.topbar a:focus-visible { outline:3px solid #82d5ff; outline-offset:2px; }
.topbar__explore { width:440px; }
.topbar__explore .topbar__all-events { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; color:#014f77; background:#edf6fb; border-radius:12px; }
.topbar__all-events b,.topbar__all-events small { display:block; }
.topbar__all-events b { font-size:16px; line-height:1.6; font-weight:600; }
.topbar__all-events small { font-size:12px; line-height:1.6; color:#648294; margin-top:2px; }
.topbar__all-events>span:last-child { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#014f77; color:#fff; font-size:20px; flex:none; }
.topbar__explore .topbar__all-events:hover { background:#dceef8; color:#014f77; }
.topbar__caption { font-size:11px; color:#708995; margin:18px 10px 7px; }
.topbar__types { display:grid; grid-template-columns:1fr 1fr; gap:6px 8px; }
.topbar__types a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:46px; padding:10px; border-radius:8px; border:1px solid #edf1f4; font-size:14px; font-weight:500; line-height:1.5; }
.topbar__types a>span:last-child,.topbar__explore-footer a>span { color:#8ca8b7; font-size:14px; flex:none; }
.topbar__explore-footer { display:flex; flex-wrap:wrap; gap:2px 6px; border-top:1px solid #e7eef2; margin-top:12px; padding-top:8px; }
.topbar__explore-footer a { display:flex; align-items:center; gap:8px; padding:10px; min-height:44px; font-size:12px; border-radius:8px; }
.topbar__help { width:340px; left:auto; right:0; }
.topbar__help-head { padding:9px 12px 14px; border-bottom:1px solid #e7eef2; margin-bottom:6px; }
.topbar__help-head>b { font-size:17px; line-height:1.6; }
.topbar__help .topbar__help-item { display:flex; align-items:center; gap:12px; padding:12px; min-height:68px; border-radius:10px; }
.topbar__help-item>span:nth-child(2) { flex:1; min-width:0; }
.topbar__help b,.topbar__help small { display:block; }
.topbar__help small { font-size:12px; line-height:1.6; color:#637d8c; margin-top:3px; overflow-wrap:anywhere; }
.topbar__help-item b { font-size:14px; line-height:1.6; font-weight:600; }
.topbar__help-symbol { display:grid; place-items:center; flex:none; width:34px; height:34px; background:#eef6fb; border-radius:50%; font:600 17px var(--en); color:#014f77; }
.topbar__help-symbol svg { width:17px; height:17px; }
.topbar__help-arrow { flex:none; color:#8ca8b7; font-size:16px; }
.topbar__help-tools { margin-top:8px; padding:12px 0 0; border-top:1px solid #e7eef2; }
.topbar__help-tools>p { font-size:11px; color:#708692; margin:0 12px 4px; }
.topbar__help-tools>a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; min-height:44px; font-size:13px; border-radius:8px; line-height:1.6; }
.topbar__icon { position:relative; display:grid; place-items:center; flex:none; width:40px; height:40px; border:1px solid #e0e9ee; border-radius:50%; color:#014f77; background:#fff; cursor:pointer; }
.topbar__icon:hover { background:#eef6fb; border-color:#bfd9e8; }
.topbar__icon svg { width:19px; height:19px; }
.topbar__notifications>span { position:absolute; right:-3px; top:-5px; padding:2px 4px; min-width:16px; border-radius:8px; background:#a9e5ff; color:#014f77; font:600 9px var(--en); text-align:center; }
.topbar__search { left:auto; right:0; width:360px; padding:18px; }
.topbar__search label { font-size:14px; font-weight:600; display:block; margin-bottom:10px; }
.topbar__search form>div { display:flex; border:1px solid #c7dfec; border-radius:10px; overflow:hidden; background:#f7fbfd; }
.topbar__search input { min-width:0; width:100%; background:none; border:0; padding:13px; font:400 14px var(--th); outline:none; color:#20465b; }
.topbar__search input:focus { box-shadow:inset 0 0 0 2px #2c9bd1; }
.topbar__search form button { width:44px; background:#014f77; color:#fff; border:0; cursor:pointer; flex:none; }
.topbar__search svg { width:20px; height:20px; }
.topbar__search>a { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; font-size:13px; color:#1784b5; }
.topbar__auth { display:flex; align-items:center; gap:8px; flex:none; }
.topbar__signup { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:9px 16px; border:1px solid #cbdde7; border-radius:999px; color:#014f77; background:#fff; font-size:13px; font-weight:600; white-space:nowrap; }
.topbar__signup:hover { background:#edf6fb; border-color:#a4c8dc; color:#014f77; }
.topbar__login { display:flex; align-items:center; gap:7px; min-height:40px; background:#014f77; color:#fff; border-radius:999px; padding:10px 18px; font-size:13px; font-weight:600; white-space:nowrap; }
.topbar__login:hover { background:#013b5a; color:#fff; }
.topbar__login svg { width:17px; height:17px; }
.topbar__account { display:flex; align-items:center; gap:8px; max-width:180px; min-height:40px; border:1px solid #dfe8ee; border-radius:999px; padding:4px 9px 4px 4px; background:#f5f8fa; color:#014f77; cursor:pointer; font:500 12px var(--th); }
.topbar__account .avatar { width:30px; height:30px; flex:none; }
.topbar__account>span { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; max-width:100px; }
.topbar__account>svg { width:13px; height:13px; flex:none; }
.topbar__account-panel { left:auto; right:0; width:280px; }
.topbar__identity { padding:8px 12px 14px; border-bottom:1px solid #e7eef2; margin-bottom:6px; overflow-wrap:anywhere; }
.topbar__identity b,.topbar__identity small { display:block; }
.topbar__identity b { font-size:15px; }
.topbar__identity small { font-size:12px; color:#7790a0; margin-top:4px; }
.topbar__account-panel>a { display:flex; align-items:center; justify-content:space-between; min-height:46px; padding:11px 12px; border-radius:8px; font-size:14px; line-height:1.6; }
.topbar__account-panel form { border-top:1px solid #e7eef2; margin-top:8px; padding-top:8px; }
.topbar__account-panel form button { border:0; border-radius:8px; background:none; color:#9a5252; font:500 14px var(--th); padding:12px; min-height:46px; width:100%; text-align:left; cursor:pointer; }
.topbar__account-panel form button:hover { background:#fff2f2; }
.topbar__burger,.topbar__mobile-lang { display:none; }
.topbar .topbar__burger { border:1px solid #e0e9ee; border-radius:50%; background:#f5f8fa; align-items:center; justify-content:center; }
.topbar .topbar__burger span,.topbar .topbar__burger span::before,.topbar .topbar__burger span::after { background:#014f77; width:18px; }
.topbar.is-open .topbar__burger span { background:transparent; }
@media(max-width:1250px) {
 .topbar .topbar__wrap { gap:16px; }
 .topbar__link { padding:10px; font-size:13px; }
 .topbar__workspace { display:none; }
 .topbar__account>span:not(.avatar) { display:none; }
 .topbar__actions { gap:8px; }
}
@media(max-width:1100px) {
 .topbar .topbar__wrap { height:68px; gap:12px; }
 .topbar__nav { display:none; }
 .topbar__burger { display:flex; width:40px; height:40px; }
 .topbar__brand { font-size:17px; }
 .topbar__brand img { width:30px; }
 .topbar__wordmark small { font-size:7px; letter-spacing:1.4px; }
 .topbar.is-open .topbar__nav { display:flex; position:absolute; top:100%; left:16px; right:16px; margin:8px 0 0; flex-direction:column; align-items:stretch; gap:4px; padding:12px; background:#fff; border:1px solid #d9e8f0; border-radius:16px; box-shadow:0 16px 40px #173c5224; max-height:calc(100dvh - 92px); overflow:auto; overscroll-behavior:contain; }
 .topbar__nav .topbar__link { color:#254b60; width:100%; min-height:48px; justify-content:space-between; padding:12px; font-size:15px; }
 .topbar__nav .topbar__link.is-active,.topbar__nav .topbar__link:hover,.topbar__nav .topbar__link[aria-expanded=true] { background:#e8f4fb; color:#014f77; }
 .topbar__nav .topbar__link.is-active::after { display:none; }
 .topbar__nav .topbar__panel { position:static; width:100%; max-height:none; overflow:visible; box-shadow:none; padding:10px; margin:6px 0; border-radius:12px; }
 .topbar__workspace { display:flex!important; border:1px solid #d5e7f1; margin:6px 0 0; }
 .topbar__actions>.topbar__group { position:static; }
 .topbar__actions .topbar__panel { top:calc(100% + 8px); right:20px; left:auto; max-width:calc(100% - 40px); }
 .topbar__mobile-lang { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #d9e8f0; margin-top:8px; padding:14px 12px; color:#42677b; font-size:13px; }
 .topbar .topbar__mobile-lang .lang-switch { display:inline-flex; border-color:#c6dfec; }
 .topbar__mobile-lang .lang-switch a { color:#5d7f92; }
 .topbar__mobile-lang .lang-switch a.is-active { background:#014f77; color:#fff; }
}
@media(max-width:600px) {
 .topbar__brand .topbar__wordmark { display:none; }
 .topbar__auth { gap:6px; }
 .topbar__signup { padding:9px 12px; font-size:12px; }
 .topbar__actions { gap:5px; }
 .topbar .lang-switch { display:none; }
 .topbar__login { width:40px; height:40px; padding:0; justify-content:center; }
 .topbar__login span { display:none; }
 .topbar__account { padding:3px; border:0; }
 .topbar__account>svg { display:none; }
 .topbar__brand { font-size:15px; gap:7px; }
 .topbar__brand img { width:32px; }
 .topbar__wordmark small { font-size:6px; letter-spacing:1px; }
 .topbar__types { grid-template-columns:1fr 1fr; gap:2px; }
 .topbar__types a { font-size:13px; padding:10px 8px; }
 .topbar__explore-footer { gap:0; }
}
@media(max-width:380px) {
 .topbar .topbar__wrap { gap:6px; }
 .topbar__brand { font-size:13px; gap:5px; }
 .topbar__brand img { width:28px; }
 .topbar__actions { gap:3px; }
 .topbar__account .avatar { width:26px; height:26px; }
 .topbar__wordmark small { letter-spacing:.6px; }
}
@media(prefers-reduced-motion:reduce) { .topbar * { transition:none!important; } }
