/* Shared navigation: semantic SVG parts, one finite interaction, no JS clock.
   No persistent will-change layers; only transforms and opacity are animated. */
.nav-motion-icon{display:block;flex:0 0 19px;width:19px;height:19px;color:inherit;--nav-motion-enabled:1;transform-box:fill-box;transform-origin:center;overflow:visible}
.nav-motion-icon [data-nav-part]{transform-box:fill-box;transform-origin:center}
.nav-icon[data-inline-svg]{background:none;mask:none;-webkit-mask:none;display:grid;place-items:center}
.client-console .sidebar .nav-icon[data-inline-svg]{background:none;mask:none;-webkit-mask:none;color:var(--icon-tint,inherit);opacity:1;filter:none;transition:color .2s ease}
/* Increase the painted SVG by 4px; the host reserves the same space even in
   compact legacy menus. Keep non-navigation icons at their existing size. */
.client-console .sidebar .nav-icon[data-inline-svg]{width:23px!important;height:23px!important;flex:0 0 23px!important}
.client-console .sidebar .nav-icon[data-inline-svg]>.nav-motion-icon{width:23px;height:23px;flex:0 0 23px}
.central-app .appearance-chevron.nav-motion-icon{width:18px;height:18px;flex:none}

/* Each functional symbol has its own movement; stationary outlines stay still. */
[data-nav-icon="dashboard"] [data-nav-part="tile"]{--nav-part-motion:nav-dashboard-tile}
[data-nav-icon="dashboard"] :nth-child(2){--nav-part-delay:40ms}
[data-nav-icon="dashboard"] :nth-child(3){--nav-part-delay:80ms}
[data-nav-icon="dashboard"] :nth-child(4){--nav-part-delay:120ms}
[data-nav-icon="user"] [data-nav-part="head"]{--nav-part-motion:nav-user-head;transform-origin:50% 100%}
[data-nav-icon="pilot"] [data-nav-part="head"]{--nav-part-motion:nav-pilot-head}
[data-nav-icon="server"] [data-nav-part="indicator"]{--nav-part-motion:nav-server-led}
[data-nav-icon="server"] [data-nav-part="indicator"]:last-child{--nav-part-delay:120ms}
[data-nav-icon="subscription"] [data-nav-part="stripe"]{--nav-part-motion:nav-subscription-stripe}
[data-nav-icon="subscription"] [data-nav-part="chip"]{--nav-part-motion:nav-subscription-chip}
[data-nav-icon="receipt"] [data-nav-part="line"]{--nav-part-motion:nav-receipt-line;transform-origin:left center}
[data-nav-icon="receipt"] :nth-child(3){--nav-part-delay:60ms}
[data-nav-icon="receipt"] :nth-child(4){--nav-part-delay:120ms}
[data-nav-icon="calendar"] [data-nav-part="page"]{--nav-part-motion:nav-calendar-page;transform-origin:50% 0}
[data-nav-icon="documents"] [data-nav-part="fold"]{--nav-part-motion:nav-documents-fold;transform-origin:left top}
[data-nav-icon="documents"] [data-nav-part="line"]{--nav-part-motion:nav-documents-line}
[data-nav-icon="lock"] [data-nav-part="shackle"]{--nav-part-motion:nav-lock-shackle}
[data-nav-icon="invite"] [data-nav-part="plus"]{--nav-part-motion:nav-invite-plus}
[data-nav-icon="mail"] [data-nav-part="flap"]{--nav-part-motion:nav-mail-flap;transform-origin:50% 0}
[data-nav-icon="notification"] [data-nav-part="bell"]{--nav-part-motion:nav-notification-bell;transform-origin:50% 0}
[data-nav-icon="notification"] [data-nav-part="clapper"]{--nav-part-motion:nav-notification-clapper}
[data-nav-icon="bell"] [data-nav-part="bell"]{--nav-part-motion:nav-bell-swing;transform-origin:50% 0}
[data-nav-icon="bell"] [data-nav-part="clapper"]{--nav-part-motion:nav-bell-clapper}
[data-nav-icon="settings"] [data-nav-part="gear"]{--nav-part-motion:nav-settings-gear}
[data-nav-icon="palette"] [data-nav-part="palette"]{--nav-part-motion:nav-palette-turn}
[data-nav-icon="palette"] [data-nav-part="paint"]{--nav-part-motion:nav-palette-paint}
[data-nav-icon="light"] [data-nav-part="rays"]{--nav-part-motion:nav-light-rays}
[data-nav-icon="night"] [data-nav-part="moon"]{--nav-part-motion:nav-night-moon}
[data-nav-icon="night"] [data-nav-part="star"]{--nav-part-motion:nav-night-star}
[data-nav-icon="clock"] [data-nav-part="hand"]{--nav-part-motion:nav-clock-hand;transform-box:view-box;transform-origin:12px 12px}
[data-nav-icon="stopwatch"] [data-nav-part="hand"]{--nav-part-motion:nav-stopwatch-hand;transform-box:view-box;transform-origin:12px 13px}
[data-nav-icon="stopwatch"] [data-nav-part="button"]{--nav-part-motion:nav-stopwatch-button}
[data-nav-icon="reglament"] [data-nav-part="left-page"]{--nav-part-motion:nav-reglament-left;transform-origin:right center}
[data-nav-icon="reglament"] [data-nav-part="right-page"]{--nav-part-motion:nav-reglament-right;transform-origin:left center}
[data-nav-icon="stats"] [data-nav-part="bar"]{--nav-part-motion:nav-stats-bar;transform-origin:center bottom}
[data-nav-icon="stats"] :nth-child(2){--nav-part-delay:70ms}
[data-nav-icon="stats"] :nth-child(3){--nav-part-delay:140ms}
[data-nav-icon="logs"] [data-nav-part="line"]{--nav-part-motion:nav-logs-line;transform-origin:left center}
[data-nav-icon="logs"] :nth-child(3){--nav-part-delay:70ms}
[data-nav-icon="logs"] :nth-child(4){--nav-part-delay:140ms}
[data-nav-icon="flag-race"] [data-nav-part="flag"],[data-nav-icon="flag-race"] [data-nav-part="checks"]{--nav-part-motion:nav-flag-wave;transform-box:view-box;transform-origin:5px 9px}
[data-nav-icon="trophy"] [data-nav-part="cup"],[data-nav-icon="trophy"] [data-nav-part="handles"]{--nav-part-motion:nav-trophy-cup;transform-box:view-box;transform-origin:12px 15px}
[data-nav-icon="target"] [data-nav-part="centre"]{--nav-part-motion:nav-target-centre}
[data-nav-icon="search"] [data-nav-part="lens"]{--nav-part-motion:nav-search-lens}
[data-nav-icon="location"] [data-nav-part="pin"]{--nav-part-motion:nav-location-pin;transform-origin:center bottom}
[data-nav-icon="shield"] [data-nav-part="check"]{--nav-part-motion:nav-shield-check}
[data-nav-icon="techcontrol"] [data-nav-part="tool"]{--nav-part-motion:nav-techcontrol-tool;transform-box:view-box;transform-origin:10px 17px}
[data-nav-icon="prism"] [data-nav-part="facets"]{--nav-part-motion:nav-prism-facets}

[data-nav-icon="bolt"]{--nav-icon-motion:nav-bolt}
[data-nav-icon="score"]{--nav-icon-motion:nav-score}
[data-nav-icon="users"]{--nav-icon-motion:nav-users}
[data-nav-icon="military"]{--nav-icon-motion:nav-military}
[data-nav-icon="military2"]{--nav-icon-motion:nav-military-cap}
[data-nav-icon="check"]{--nav-icon-motion:nav-check}
[data-nav-icon="accept"]{--nav-icon-motion:nav-accept}
[data-nav-icon="edit"]{--nav-icon-motion:nav-edit;transform-origin:left bottom}
[data-nav-icon="appeal"]{--nav-icon-motion:nav-appeal}
[data-nav-icon="coach-heats"]{--nav-icon-motion:nav-coach}
[data-nav-icon="plus"]{--nav-icon-motion:nav-plus}
[data-nav-icon="arrow"]{--nav-icon-motion:nav-arrow}
[data-nav-icon="chevron"]{--nav-icon-motion:nav-chevron}
[data-nav-icon="balance"]{--nav-icon-motion:nav-balance;transform-origin:center top}
[data-nav-icon="brand"]{--nav-icon-motion:nav-brand}
[data-nav-icon="database"]{--nav-icon-motion:nav-database}
[data-nav-icon="delete"]{--nav-icon-motion:nav-delete;transform-origin:center bottom}
[data-nav-icon="download"]{--nav-icon-motion:nav-download}
[data-nav-icon="drag-handle"]{--nav-icon-motion:nav-drag}
[data-nav-icon="expand"]{--nav-icon-motion:nav-expand}
[data-nav-icon="eye"]{--nav-icon-motion:nav-eye}
[data-nav-icon="eye-off"]{--nav-icon-motion:nav-eye-off}
[data-nav-icon="female"]{--nav-icon-motion:nav-female}
[data-nav-icon="male"]{--nav-icon-motion:nav-male}
[data-nav-icon="globe"]{--nav-icon-motion:nav-globe}
[data-nav-icon="graph"]{--nav-icon-motion:nav-graph;transform-origin:left bottom}
[data-nav-icon="inbox"]{--nav-icon-motion:nav-inbox}
[data-nav-icon="info"]{--nav-icon-motion:nav-info}
[data-nav-icon="key"]{--nav-icon-motion:nav-key}
[data-nav-icon="leaf"]{--nav-icon-motion:nav-leaf;transform-origin:right bottom}
[data-nav-icon="link"]{--nav-icon-motion:nav-link}
[data-nav-icon="logout"]{--nav-icon-motion:nav-logout}
[data-nav-icon="menu"]{--nav-icon-motion:nav-menu}
[data-nav-icon="phone"]{--nav-icon-motion:nav-phone}
[data-nav-icon="play"]{--nav-icon-motion:nav-play}
[data-nav-icon="rating"]{--nav-icon-motion:nav-rating}
[data-nav-icon="refresh"]{--nav-icon-motion:nav-refresh}
[data-nav-icon="send"]{--nav-icon-motion:nav-send}
[data-nav-icon="stop"]{--nav-icon-motion:nav-stop}
[data-nav-icon="table"]{--nav-icon-motion:nav-table}
[data-nav-icon="unlock"]{--nav-icon-motion:nav-unlock}
[data-nav-icon="wrench"]{--nav-icon-motion:nav-wrench;transform-origin:25% 80%}
[data-nav-icon="cross"]{--nav-icon-motion:nav-cross}
[data-nav-icon="apple"]{--nav-icon-motion:nav-apple}

/* The delegated input handler sets this only on the interacted SVG. Pointer
   exit does not cut the motion short; animationend releases its transient state. */
.nav-motion-icon[data-nav-active]{animation:var(--nav-icon-motion,none) .85s cubic-bezier(.37,0,.2,1) 1 both}
.nav-motion-icon[data-nav-active] [data-nav-part]{animation:var(--nav-part-motion,none) .85s cubic-bezier(.37,0,.2,1) var(--nav-part-delay,0ms) 1 both}

@keyframes nav-dashboard-tile{0%,100%{transform:scale(1)}45%{transform:scale(.78)}}
@keyframes nav-user-head{0%,100%{transform:rotate(0)}45%{transform:rotate(-15deg)}}
@keyframes nav-pilot-head{0%,100%{transform:translateX(0)}45%{transform:translateX(2px)}}
@keyframes nav-server-led{0%,100%{opacity:1;transform:scale(1)}45%{opacity:.35;transform:scale(1.25)}}
@keyframes nav-subscription-stripe{0%,100%{transform:translateY(0)}45%{transform:translateY(2px)}}
@keyframes nav-subscription-chip{0%,100%{opacity:1}45%{opacity:.4}}
@keyframes nav-receipt-line{0%,100%{transform:scaleX(1)}45%{transform:scaleX(.7)}}
@keyframes nav-calendar-page{0%,100%{transform:translateY(0) scaleY(1);opacity:1}45%{transform:translateY(-2px) scaleY(.55);opacity:.6}}
@keyframes nav-documents-fold{0%,100%{transform:skewY(0)}45%{transform:skewY(18deg)}}
@keyframes nav-documents-line{0%,100%{transform:translateX(0)}45%{transform:translateX(1.8px)}}
@keyframes nav-lock-shackle{0%,100%{transform:translateY(0)}45%{transform:translateY(-2.5px)}}
@keyframes nav-invite-plus{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(90deg) scale(.9)}}
@keyframes nav-mail-flap{0%,100%{transform:scaleY(1)}45%{transform:scaleY(-.35)}}
@keyframes nav-notification-bell{0%,100%{transform:rotate(0)}30%{transform:rotate(14deg)}65%{transform:rotate(-7deg)}}
@keyframes nav-notification-clapper{0%,100%{transform:translateX(0)}30%{transform:translateX(-1px)}65%{transform:translateX(.5px)}}
@keyframes nav-bell-swing{0%,100%{transform:rotate(0)}35%{transform:rotate(-8deg)}70%{transform:rotate(4deg)}}
@keyframes nav-bell-clapper{0%,100%{transform:translateX(0)}35%{transform:translateX(.8px)}70%{transform:translateX(-.4px)}}
@keyframes nav-settings-gear{0%,100%{transform:rotate(0)}50%{transform:rotate(60deg)}}
@keyframes nav-palette-turn{0%,100%{transform:rotate(0)}45%{transform:rotate(-9deg)}}
@keyframes nav-palette-paint{0%,100%{opacity:1}45%{opacity:.4}}
@keyframes nav-light-rays{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(45deg) scale(.92)}}
@keyframes nav-night-moon{0%,100%{transform:rotate(0)}45%{transform:rotate(-9deg)}}
@keyframes nav-night-star{0%,100%{transform:scale(1);opacity:1}45%{transform:scale(.65);opacity:.5}}
@keyframes nav-clock-hand{0%,100%{transform:rotate(0)}50%{transform:rotate(35deg)}}
@keyframes nav-stopwatch-hand{0%,100%{transform:rotate(0)}50%{transform:rotate(65deg)}}
@keyframes nav-stopwatch-button{0%,100%{transform:translateY(0)}35%{transform:translateY(.8px)}}
@keyframes nav-reglament-left{0%,100%{transform:scaleX(1)}45%{transform:scaleX(.88)}}
@keyframes nav-reglament-right{0%,100%{transform:scaleX(1)}45%{transform:scaleX(.7)}}
@keyframes nav-stats-bar{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.45)}}
@keyframes nav-logs-line{0%,100%{transform:scaleX(1);opacity:1}45%{transform:scaleX(.78);opacity:.55}}
@keyframes nav-flag-wave{0%,100%{transform:skewY(0) scaleX(1)}45%{transform:skewY(-4deg) scaleX(.88)}}
@keyframes nav-trophy-cup{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-.8px) rotate(5deg)}}
@keyframes nav-target-centre{0%,100%{transform:scale(1)}45%{transform:scale(.65)}}
@keyframes nav-search-lens{0%,100%{transform:scale(1)}45%{transform:scale(.88)}}
@keyframes nav-location-pin{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.9)}}
@keyframes nav-shield-check{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-.5px) scale(.86)}}
@keyframes nav-techcontrol-tool{0%,100%{transform:rotate(0)}45%{transform:rotate(-16deg)}}
@keyframes nav-prism-facets{0%,100%{transform:scaleX(1);opacity:1}45%{transform:scaleX(.65);opacity:.5}}
@keyframes nav-bolt{0%,100%{transform:translate(0,0) rotate(0)}45%{transform:translate(.8px,-1.1px) rotate(5deg)}}
@keyframes nav-score{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.88)}}
@keyframes nav-users{0%,100%{transform:scaleX(1)}45%{transform:scaleX(.91)}}
@keyframes nav-military{0%,100%{transform:rotate(0)}45%{transform:rotate(-7deg)}}
@keyframes nav-military-cap{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-.7px) rotate(4deg)}}
@keyframes nav-check{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(-6deg) scale(.9)}}
@keyframes nav-accept{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-.8px) scale(1.04)}}
@keyframes nav-edit{0%,100%{transform:rotate(0)}45%{transform:rotate(-8deg)}}
@keyframes nav-appeal{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-.5px) rotate(-3deg)}}
@keyframes nav-coach{0%,100%{transform:rotate(0) translateX(0)}45%{transform:rotate(-5deg) translateX(.7px)}}
@keyframes nav-plus{0%,100%{transform:rotate(0)}45%{transform:rotate(90deg)}}
@keyframes nav-arrow{0%,100%{transform:translateX(0)}45%{transform:translateX(1.8px)}}
@keyframes nav-chevron{0%,100%{transform:translateX(0) scaleX(1)}45%{transform:translateX(1px) scaleX(.9)}}
@keyframes nav-balance{0%,100%{transform:rotate(0)}35%{transform:rotate(-5deg)}70%{transform:rotate(3deg)}}
@keyframes nav-brand{0%,100%{transform:scale(1) rotate(0)}45%{transform:scale(.94) rotate(6deg)}}
@keyframes nav-database{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.92)}}
@keyframes nav-delete{0%,100%{transform:rotate(0)}45%{transform:rotate(6deg)}}
@keyframes nav-download{0%,100%{transform:translateY(0)}45%{transform:translateY(1.3px)}}
@keyframes nav-drag{0%,100%{transform:translateY(0) scaleX(1)}45%{transform:translateY(-.8px) scaleX(.9)}}
@keyframes nav-expand{0%,100%{transform:scale(1)}45%{transform:scale(1.07)}}
@keyframes nav-eye{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.72)}}
@keyframes nav-eye-off{0%,100%{transform:rotate(0) scaleY(1)}45%{transform:rotate(-3deg) scaleY(.9)}}
@keyframes nav-female{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-.6px) rotate(4deg)}}
@keyframes nav-male{0%,100%{transform:translate(.0px,.0px)}45%{transform:translate(.7px,-.7px)}}
@keyframes nav-globe{0%,100%{transform:rotate(0) scaleX(1)}45%{transform:rotate(5deg) scaleX(.94)}}
@keyframes nav-graph{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.86)}}
@keyframes nav-inbox{0%,100%{transform:translateY(0) scaleY(1)}45%{transform:translateY(.6px) scaleY(.92)}}
@keyframes nav-info{0%,100%{transform:scale(1) rotate(0)}45%{transform:scale(1.04) rotate(-4deg)}}
@keyframes nav-key{0%,100%{transform:rotate(0)}45%{transform:rotate(12deg)}}
@keyframes nav-leaf{0%,100%{transform:rotate(0)}45%{transform:rotate(-11deg)}}
@keyframes nav-link{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(-6deg) scale(.95)}}
@keyframes nav-logout{0%,100%{transform:translateX(0) scaleX(1)}45%{transform:translateX(1.2px) scaleX(.95)}}
@keyframes nav-menu{0%,100%{transform:scaleX(1)}45%{transform:scaleX(.82)}}
@keyframes nav-phone{0%,100%{transform:rotate(0)}30%{transform:rotate(7deg)}65%{transform:rotate(-4deg)}}
@keyframes nav-play{0%,100%{transform:translateX(0) scale(1)}45%{transform:translateX(.7px) scale(1.05)}}
@keyframes nav-rating{0%,100%{transform:translateY(0) scaleY(1)}45%{transform:translateY(-.9px) scaleY(.95)}}
@keyframes nav-refresh{0%,100%{transform:rotate(0)}50%{transform:rotate(65deg)}}
@keyframes nav-send{0%,100%{transform:translate(0,0)}45%{transform:translate(1.1px,-1.1px)}}
@keyframes nav-stop{0%,100%{transform:scale(1)}45%{transform:scale(.88)}}
@keyframes nav-table{0%,100%{transform:scaleX(1) scaleY(1)}45%{transform:scaleX(.96) scaleY(.9)}}
@keyframes nav-unlock{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-.6px) rotate(5deg)}}
@keyframes nav-wrench{0%,100%{transform:rotate(0)}45%{transform:rotate(11deg)}}
@keyframes nav-cross{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(12deg) scale(.94)}}
@keyframes nav-apple{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(-4deg) scale(.96)}}

/* Preferences are evaluated by CSS immediately, even during an animation. */
@media(prefers-reduced-motion:reduce){.nav-motion-icon,.nav-motion-icon [data-nav-part]{--nav-motion-enabled:0;animation:none!important}}
html:is([data-motion="off"],[data-effects="off"],[data-animations="off"]) :is(.nav-motion-icon,.nav-motion-icon [data-nav-part]),
:is(.server-effects-off,.client-user-effects-off,.central-no-motion) :is(.nav-motion-icon,.nav-motion-icon [data-nav-part]){--nav-motion-enabled:0;animation:none!important}
