.antd-nav { font: inherit; color: var(--antd-color, inherit); background: var(--antd-background, transparent); position: relative; isolation: isolate; z-index: 10; }
.antd-nav ul { list-style: none; padding: 0; margin: 0; }
.antd-nav .antd-root { display: flex; flex-flow: row nowrap; gap: var(--antd-gap, 8px); align-items: flex-start; max-width: 100%; overflow: auto; }
.antd-nav .antd-root > .antd-entry { flex-shrink: 0; }
.antd-nav .antd-entry { margin: 0; padding: 0; position: relative; }
.antd-nav .antd-row { display: flex; align-items: stretch; color: var(--antd-row-color, inherit); background: var(--antd-row-background, transparent); border: var(--antd-border-width, 0px) solid var(--antd-border-color, currentColor); border-radius: var(--antd-radius, 0px); }
.antd-nav .antd-label, .antd-nav .antd-toggle { font: inherit; text-decoration: none; border: 0; border-radius: inherit; cursor: pointer; margin: 0; box-shadow: none; line-height: 1.5; }
.antd-nav button.antd-label, .antd-nav .antd-toggle { color: inherit; background: transparent; }
.antd-nav .antd-label { padding: var(--antd-padding-y, 8px) var(--antd-padding-x, 12px); display: block; }
.antd-nav span.antd-label { cursor: default; }
.antd-nav .antd-toggle { padding: var(--antd-padding-y, 8px) 8px; min-width: 32px; }
.antd-nav .antd-label:focus-visible, .antd-nav .antd-toggle:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.antd-nav .antd-submenu { min-width: min(12rem, calc(100vw - 16px)); background: var(--antd-submenu-background, var(--antd-background, var(--antd-theme-background, inherit))); color: inherit; border: var(--antd-border-width, 0px) solid var(--antd-border-color, currentColor); box-sizing: border-box; }
.antd-nav .antd-submenu > .antd-entry + .antd-entry { margin-top: var(--antd-submenu-gap, 0px); }
.antd-nav .antd-entry + .antd-entry::before { content: ''; position: absolute; pointer-events: none; border-color: var(--antd-separator-color, currentColor); border-style: var(--antd-separator-style, none); border-width: 0; }
.antd-nav .antd-root > .antd-entry + .antd-entry::before { top: 0; bottom: 0; left: calc((var(--antd-gap, 8px) + var(--antd-separator-width, 1px)) / -2); border-left-width: var(--antd-separator-width, 1px); }
.antd-nav .antd-submenu > .antd-entry + .antd-entry::before { left: 0; right: 0; top: calc((var(--antd-submenu-gap, 0px) + var(--antd-separator-width, 1px)) / -2); border-top-width: var(--antd-separator-width, 1px); }
.antd-nav.antd-enhanced .antd-submenu { position: absolute; top: 100%; left: 0; z-index: 20; }
.antd-nav.antd-enhanced .antd-submenu .antd-submenu { position: static; min-width: 0; margin-left: var(--antd-padding-x, 12px); border-left: 1px solid var(--antd-border-color, currentColor); }
.antd-nav.antd-enhanced .antd-root > .antd-entry > .antd-submenu,
.antd-nav.antd-enhanced.antd-horizontal .antd-submenu .antd-submenu { position: fixed; top: 0; left: 0; min-width: min(12rem, calc(100vw - 16px)); width: max-content; max-width: calc(100vw - 16px); margin-left: 0; overflow: auto; overscroll-behavior: contain; }
.antd-nav .antd-submenu .antd-label { overflow-wrap: anywhere; }
.antd-nav.antd-horizontal .antd-submenu .antd-toggle > span { display: inline-block; transform: rotate(-90deg); }
.antd-nav.antd-horizontal .antd-submenu .antd-toggle[aria-expanded="true"] > span { transform: rotate(90deg); }
.antd-nav.antd-enhanced .antd-submenu[hidden] { display: none !important; }
.antd-nav .antd-submenu .antd-row { justify-content: space-between; }
.antd-nav .antd-current > .antd-row { --antd-row-color: var(--antd-current-color, inherit); --antd-row-background: var(--antd-current-background, transparent); font-weight: 700; box-shadow: inset 0 -3px 0 currentColor; }
.antd-nav .antd-ancestor > .antd-row { --antd-row-color: var(--antd-ancestor-color, inherit); --antd-row-background: var(--antd-ancestor-background, transparent); text-decoration: underline; text-underline-offset: 4px; }
.antd-nav .antd-row:hover, .antd-nav .antd-row:focus-within { color: var(--antd-hover-color, var(--antd-row-color, inherit)); background: var(--antd-hover-background, var(--antd-row-background, transparent)); }
/* Only explicit settings override theme link colours and interaction states. */
.antd-nav.antd-custom-color .antd-label { color: var(--antd-color); }
.antd-nav.antd-custom-current-color .antd-current > .antd-row > .antd-label { color: var(--antd-current-color); }
.antd-nav.antd-custom-ancestor-color .antd-ancestor > .antd-row > .antd-label { color: var(--antd-ancestor-color); }
.antd-nav.antd-custom-hover-color .antd-row:hover > .antd-label,
.antd-nav.antd-custom-hover-color .antd-row:focus-within > .antd-label { color: var(--antd-hover-color); }
.antd-nav.antd-custom-background .antd-label,
.antd-nav.antd-custom-current-background .antd-current > .antd-row > .antd-label,
.antd-nav.antd-custom-ancestor-background .antd-ancestor > .antd-row > .antd-label,
.antd-nav.antd-custom-hover-background .antd-row:hover > .antd-label,
.antd-nav.antd-custom-hover-background .antd-row:focus-within > .antd-label { background: transparent; }
.antd-nav .antd-toggle[aria-expanded="true"] > span { display: inline-block; transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) { .antd-nav .antd-toggle > span { transition: transform .12s ease; } }
/* Without JavaScript, nested lists remain in flow and scroll with the root list. */
.antd-nav:not(.antd-enhanced) .antd-toggle, .antd-nav:not(.antd-enhanced) .antd-toggle-label { cursor: default; }
.antd-nav:not(.antd-enhanced) .antd-toggle { display: none; }
.antd-nav .antd-label:disabled { opacity: 1; }
