/* noviera Orbit navigation (boards 8 and 9). Only active once orbit-nav.js has built the wheel (body.orbit-nav). */
body.orbit-nav nav.nav2-sidebar,
body.orbit-nav .nav2-topbar__toggle,
body.orbit-nav nav.nav2-tabbar { display: none !important; }
@media (min-width: 641px) {
  html body.orbit-nav.nav-v2 .app-main { margin-inline-end: 0 !important; margin-inline-start: 268px !important; transition: margin-inline-start .25s ease; }
  html body.orbit-nav.nav-v2.onv-folded .app-main { margin-inline-start: 92px !important; }
}
@media (min-width: 641px) and (max-height: 560px) { html body.orbit-nav.nav-v2 .app-main { margin-inline-end: 0 !important; margin-inline-start: 218px !important; } }
@media (min-width: 641px) and (max-height: 440px) { html body.orbit-nav.nav-v2 .app-main { margin-inline-end: 0 !important; margin-inline-start: 176px !important; } }
@media (max-width: 640px) {
  html body.orbit-nav.nav-v2 .app-main { margin-inline-end: 0 !important; margin-inline-start: 0 !important; padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important; }
}

.onv { position: fixed; z-index: 60; width: var(--onv-w); height: var(--onv-h); font-family: inherit; -webkit-tap-highlight-color: transparent; }
.onv-svg { display: block; overflow: visible; }
.onv-seg { fill: url(#onvSeg); stroke: rgba(255,255,255,.07); stroke-width: 1.2; transition: filter .15s; }
.onv-sec, .onv-page { cursor: pointer; outline: none; }
.onv text { fill: #E2E8F0; font-weight: 600; dominant-baseline: middle; pointer-events: none; }
.onv text.is-mid { text-anchor: middle; }
.onv-ic { color: #CBD5E1; pointer-events: none; overflow: visible; }
.onv-sec:hover .onv-seg, .onv-sec:focus-visible .onv-seg { filter: brightness(1.35); }
.onv-sec:focus-visible .onv-seg, .onv-page:focus-visible .onv-band { stroke: #fff; stroke-width: 2; }
.onv-sec.is-on .onv-seg { fill: url(#onvAct); stroke: #4ADE80; stroke-width: 1.5; }
.onv-lab { pointer-events: none; }
.onv-lab.is-on .onv-ic { color: #fff; }
.onv-lab.is-on text { fill: #fff; font-weight: 700; }
.onv-lab.is-cur:not(.is-on) .onv-ic { color: #4ADE80; }
.onv-rim { fill: none; stroke: #22C55E; stroke-opacity: .75; stroke-width: 2.5; pointer-events: none; }
.onv-hub { cursor: pointer; outline: none; }
.onv--edge.is-folded .onv-mark { left: 10px; }
.onv--edge.is-folded .onv-hub circle { transition: stroke-opacity .2s; }
.onv--edge.is-folded .onv-hub:hover circle { stroke-opacity: 1; }
@media (prefers-reduced-motion: reduce) { html body.orbit-nav.nav-v2 .app-main { transition: none; } }
.onv-hub:focus-visible circle { stroke: #fff; stroke-width: 2; }
.onv-mark { position: absolute; width: 34px; height: 40px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.onv-mark svg { width: 30px; height: 30px; }

/* computer and tablet: the Edge Wheel, centred on the left edge; a section's pages as the outer arc */
.onv--edge { left: 0; top: 50%; transform: translateY(-50%); transform-origin: left center; }
.onv--edge .onv-mark { left: 10px; }
@media (max-height: 560px) and (min-width: 641px) { .onv--edge { transform: translateY(-50%) scale(.8); } }
@media (max-height: 440px) and (min-width: 641px) { .onv--edge { transform: translateY(-50%) scale(.64); } }
.onv-band { fill: url(#onvBand); stroke: rgba(255,255,255,.08); stroke-width: 1; transition: filter .15s; }
.onv-page text { fill: #CBD5E1; }
.onv-page:hover .onv-band { filter: brightness(1.45); }
.onv-page.is-on .onv-band { fill: #0E4A33; stroke: #4ADE80; }
.onv-page.is-on text { fill: #fff; }
.onv-page.is-all text { fill: #86EFAC; }
.onv--edge.is-open .onv-page { animation: onvIn .2s ease-out both; }
@keyframes onvIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .onv--edge.is-open .onv-page { animation: none; } }

/* phone: the Thumb Wheel, bottom centre */
.onv--thumb { left: 50%; bottom: env(safe-area-inset-bottom); transform: translateX(-50%); }
.onv--thumb::before { content: ""; position: absolute; left: 50%; bottom: calc(-1 * env(safe-area-inset-bottom)); width: 100vw; height: 64px; transform: translateX(-50%);
  background: linear-gradient(to top, rgba(10,17,30,.92), rgba(10,17,30,0)); pointer-events: none; z-index: -1; }

/* the floating card for a section's pages */
.onv-card { position: fixed; z-index: 61; left: 284px; top: 50%; transform: translateY(-50%); width: 320px; max-height: min(72vh, 580px); display: flex; flex-direction: column;
  background: linear-gradient(180deg,#1C283D,#0F1726); border: 1.5px solid rgba(34,197,94,.75); border-radius: 26px; box-shadow: 0 24px 60px rgba(2,6,23,.6); color: #E2E8F0; overflow: hidden; }
.onv-card[hidden] { display: none; }
.onv-card.is-phone { left: 12px; right: 12px; width: auto; top: auto; transform: none; bottom: calc(108px + env(safe-area-inset-bottom)); max-height: calc(100vh - 190px); }
.onv-card__h { display: flex; align-items: center; gap: 12px; padding: 14px 12px 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.onv-card__h b { flex: 1; font-size: 16px; font-weight: 700; color: #fff; }
.onv-card__ic { width: 36px; height: 36px; border-radius: 50%; background: #0E4A33; display: grid; place-items: center; color: #fff; flex: none; }
.onv-card__ic svg { width: 18px; height: 18px; display: block; }
.onv-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: #18233A; color: #CBD5E1; display: grid; place-items: center; cursor: pointer; padding: 0; }
.onv-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.onv-x:hover, .onv-x:focus-visible { border-color: #22C55E; color: #fff; outline: none; }
.onv-card ul { list-style: none; margin: 0; padding: 6px 8px 10px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.onv-card li a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 14px; color: #E2E8F0 !important; text-decoration: none !important; font-size: 14px; }
.onv-card li a svg { margin-left: auto; width: 16px; height: 16px; fill: none; stroke: #64748B; stroke-width: 2; flex: none; }
.onv-card li a:hover, .onv-card li a:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.onv-card li a.is-on { background: #0E4A33; color: #fff !important; box-shadow: inset 0 0 0 1px #4ADE80; }
.onv-card li a.is-on svg { stroke: #fff; }
.onv-card__sec { padding: 12px 12px 4px; font-size: 12px; font-weight: 600; color: #A9B4C6; }

/* the site's own sheets (account, notifications) sit above the wheel */
body.orbit-nav:has(details[data-nav2-panel][open]) .onv,
body.orbit-nav:has(details[data-nav2-panel][open]) .onv-card { visibility: hidden; }

/* ORB12c: only the painted wheel takes taps; its empty corners let them through to the page */
.onv, .onv-svg { pointer-events: none; }
.onv a, .onv .onv-hub, .onv .onv-back { pointer-events: auto; }
.onv .onv-lab, .onv text, .onv .onv-ic, .onv .onv-rim { pointer-events: none; }
/* the scrim behind an open phone wheel or a card: the tap that closes them never reaches the page */
.onv-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(5,10,20,.35); -webkit-tap-highlight-color: transparent; }
.onv-scrim[hidden] { display: none; }
/* steps aside, like the old tab bar: for the site's sheets and menus, and on the phone while typing */
body.orbit-nav.nav2-panel-open .onv, body.orbit-nav:has(.nav2-menu[open]) .onv,
body.orbit-nav.nav2-panel-open .onv-scrim, body.orbit-nav:has(details[data-nav2-panel][open]) .onv-scrim { visibility: hidden; }
@media (max-width: 640px) {
  body.orbit-nav:has(:is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]), textarea, select, [contenteditable="true"]):focus) .onv--thumb { visibility: hidden; }
  /* a save bar that sticks to the bottom of a form sits above the wheel */
  html body.orbit-nav[data-interface-theme] .standard-form-actions[style*="sticky"], html body.orbit-nav[data-interface-theme="freddy"] .standard-form-actions { bottom: calc(var(--onv-space, 200px) + env(safe-area-inset-bottom)) !important; }
}

/* ORB14: closed, the phone wheel is one round button at the bottom centre */
.onv--thumb:not(.is-open)::before { display: none; }
.onv--thumb:not(.is-open) { bottom: calc(8px + env(safe-area-inset-bottom)); }

/* ORB15: the noviera icon in the centre; curved names */
.onv-mark svg { width: 32px; height: 32px; }
.onv--thumb:not(.is-open) .onv-mark svg { width: 30px; height: 30px; }
.onv text textPath { dominant-baseline: middle; }

/* ORB16: Lab Next opens the same menu from its top-right button */
.onv--demand { display: none; }
body.onv-demand .onv--thumb { z-index: 80; }
body.onv-demand .onv-scrim { z-index: 79; }
body.onv-demand .onv-card { z-index: 81; }
.onv-source { display: none !important; }
.onv-card__ic--me { font-weight: 700; font-size: 13px; }
.onv-card__body { padding: 6px 10px 12px; overflow-y: auto; }
.onv-card__body .nav2-row { color: #E2E8F0; }

/* ORB16b: the Account card in every page (Lab Next has no admin styles for these rows) */
.onv-card { font-family: var(--font-family, system-ui, -apple-system, 'Segoe UI', sans-serif); }
.onv-card .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.onv-card__body .nav2-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 12px; min-height: 50px; padding: 8px 10px; border-radius: 14px; color: #E2E8F0 !important; text-decoration: none !important; font-size: 14.5px; }
.onv-card__body a.nav2-row:hover, .onv-card__body a.nav2-row:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.onv-card__body .nav2-row small, .onv-card__body .nav2-row p { flex-basis: 100%; margin: 0; font-size: 12.5px; color: #94A3B8; }
.onv-card__body .nav2-row svg { width: 16px; height: 16px; fill: none; stroke: #64748B; stroke-width: 2; }
.onv-card__body .app-language__icon { display: none; }
.onv-card__body select { height: 36px; padding: 0 30px 0 12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); background: #16213A; color: #FFFFFF; font: inherit; font-size: 14px; }
.onv-card__body [data-nav2-appearance] { flex: 1; min-height: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); background: #16213A; color: #E2E8F0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.onv-card__body [data-nav2-appearance][aria-pressed="true"] { background: #0E4A33; border-color: #4ADE80; color: #FFFFFF; }
.onv-card__body [data-te-switch] { -webkit-appearance: none; appearance: none; width: 48px; height: 28px; border-radius: 14px; background: #334155; position: relative; cursor: pointer; margin: 0; flex: none; }
.onv-card__body [data-te-switch]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: left .15s; }
.onv-card__body [data-te-switch]:checked { background: #22C55E; }
.onv-card__body [data-te-switch]:checked::after { left: 23px; }
.onv-card__body .nav2-signout { color: #FCA5A5 !important; }
/* DASH4 (owner 2026-10-10): a section with something that needs you carries a small dot on its slice (amber: look soon, red: now);
   the folded round button on the phone shows the same dot */
.onv .onv-need{fill:#F59E0B;stroke:#0A111E;stroke-width:2;pointer-events:none}
.onv .onv-need.tone-bad{fill:#F87171}
.onv--thumb.has-need::after{content:"";position:absolute;right:14px;top:10px;width:12px;height:12px;border-radius:50%;background:#F59E0B;box-shadow:0 0 0 2px #0A111E;pointer-events:none}
.onv--thumb.has-bad::after{background:#F87171}
@media (prefers-reduced-motion:no-preference){.onv .onv-need{animation:onv-need 2.4s ease-in-out infinite}@keyframes onv-need{50%{opacity:.45}}}

/* F13: right-to-left pages: the Edge Wheel stands on the right edge, mirrored */
html[dir="rtl"] .onv--edge { left: auto; right: 0; transform-origin: right center; }
html[dir="rtl"] .onv--edge .onv-mark { left: auto; right: 10px; }
html[dir="rtl"] .onv-card:not(.is-phone) { left: auto; right: 284px; }
html[dir="rtl"] .onv-card li a svg { margin-left: 0; margin-right: auto; transform: scaleX(-1); }
/* ORB19 (owner 2026-10-25): folded on a tall screen, the brand capsule with the vertical official wordmark */
.onv--edge.is-folded .onv-hub rect { transition: stroke-opacity .2s; cursor: pointer; }
.onv--edge.is-folded .onv-hub:hover rect, .onv--edge.is-folded .onv-hub:focus-visible rect { stroke-opacity: 1; }
.onv--edge.is-word .onv-hub { cursor: pointer; }
