.ufvm { position: relative; --ufvm-width: 980px; --ufvm-sidebar: 265px; --ufvm-accent: #1a52a2; }
.ufvm [hidden] { display: none !important; }
.ufvm ul { margin: 0; padding: 0; list-style: none; }
.ufvm button, .ufvm a { font: inherit; }
.ufvm button { cursor: pointer; }
.ufvm button:focus-visible, .ufvm a:focus-visible { outline: 2px solid var(--ufvm-accent); outline-offset: -2px; }
.ufvm .ufvm-toggle, .ufvm .ufvm-toggle:hover, .ufvm .ufvm-toggle:focus, .ufvm .ufvm-toggle:active { display: inline-flex; align-items: center; gap: 10px; background: var(--ufvm-accent); color: white; border: 0; border-radius: 6px; padding: 12px 18px; }
.ufvm-toggle svg { width: 1em; height: 1em; fill: currentColor; }
.ufvm-panel { position: absolute; z-index: 100; top: calc(100% + 6px); inset-inline-start: 0; width: min(var(--ufvm-width), calc(100vw - 32px)); color: #182432; background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; box-shadow: 0 12px 32px #16243529; overflow: hidden; }
.ufvm-mobile-bar { display: none; }
.ufvm-root { width: var(--ufvm-sidebar); max-width: 40%; min-height: 340px; max-height: min(65vh, 36rem); overflow: auto; background: #f4f6f8; }
.ufvm-row { display: flex; align-items: stretch; }
.ufvm .ufvm-row > *, .ufvm .ufvm-all { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 10px 14px; background: transparent; color: inherit; border: 0; border-radius: 0; text-align: start; text-decoration: none; }
.ufvm-row > .ufvm-branch[aria-label] { flex: 0 0 44px; justify-content: center; }
.ufvm .ufvm-row > :is(:hover, :focus-visible, :active, [aria-expanded="true"]), .ufvm .ufvm-all:is(:hover, :focus-visible, :active) { background: #e9f1fb; color: var(--ufvm-accent); }
.ufvm-root > li > .ufvm-sub { position: absolute; inset: 0 0 0 min(var(--ufvm-sidebar), 40%); overflow: auto; padding: 14px; background: #fff; }
.ufvm-root > li > .ufvm-sub > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); align-items: start; gap: 6px 12px; }
.ufvm .ufvm-all { color: var(--ufvm-accent); font-weight: 600; }
.ufvm-sub .ufvm-sub { padding-inline-start: 10px; border-inline-start: 1px solid #e1e5eb; }
@media (max-width: 767px) {
	.ufvm-panel { position: fixed; inset: 0; z-index: 1000; width: auto; overflow: auto; border: 0; border-radius: 0; }
	.ufvm-mobile-bar { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid #e1e5eb; }
	.ufvm .ufvm-mobile-bar button, .ufvm .ufvm-mobile-bar button:is(:hover, :focus, :active) { color: inherit; border: 0; background: transparent; padding: 10px; }
	.ufvm-close { margin-inline-start: auto; }
	.ufvm-root { width: auto; max-width: none; min-height: 0; max-height: none; background: #fff; }
	.ufvm-root > li > .ufvm-sub { position: static; padding: 0; overflow: visible; }
	.ufvm-root > li > .ufvm-sub > ul { display: block; }
	.ufvm-sub .ufvm-sub { padding: 0; border: 0; }
	.ufvm li.ufvm-current > .ufvm-row,
	.ufvm ul:has(> .ufvm-current) > li:not(.ufvm-current),
	.ufvm-sub:has(> ul > .ufvm-current) > .ufvm-all { display: none; }
}
