/* Shared navigation skin. Existing server-generated links, permissions and route state remain authoritative. */
body.amr-nav-ready{--amr-nav-width:282px}
body.amr-sidebar-compact{--amr-nav-width:84px}
body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar{
 --nav-accent:#77b4e6;--nav-rgb:119,180,230;--nav-ink:#edf4f8;--nav-muted:#9bafbd;
 display:flex!important;flex-direction:column!important;gap:0!important;isolation:isolate;position:sticky!important;top:var(--amr-sidebar-top,74px)!important;
 width:var(--amr-nav-width,282px)!important;flex:0 0 var(--amr-nav-width,282px)!important;min-width:0;min-height:0!important;height:calc(100dvh - var(--amr-sidebar-top,74px))!important;
 padding:0!important;overflow:visible!important;align-self:flex-start;color:var(--nav-ink)!important;
 background:radial-gradient(ellipse at 0 4%,rgba(var(--nav-rgb),.14),transparent 52%),radial-gradient(ellipse at 110% 80%,#516e8c1c,transparent 55%),linear-gradient(155deg,#13252d 0%,#101d25 42%,#0b151c 100%)!important;
 border:0!important;border-right:1px solid #b6d5e51c!important;box-shadow:8px 0 30px #07131a10,inset -1px 0 0 #ffffff04!important;
 font-family:'Plus Jakarta Sans','Outfit',system-ui,sans-serif;z-index:80!important;
}
body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar[data-software-gate=clubes],body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar[data-active-software=clubes]{--nav-accent:#85cfb5;--nav-rgb:133,207,181;background:radial-gradient(ellipse at 0 0,#408e7440,transparent 50%),radial-gradient(ellipse at 120% 70%,#294d5630,transparent 52%),linear-gradient(160deg,#152c2b,#102422 45%,#0c191b)!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.26;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E")}
body.amr-nav-ready .amr-sidebar.amr-sidebar [hidden],body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-original-brand{display:none!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar :is(.client-company-nav,.admin-clubs-navigation){display:block!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-sidebar-scroll>nav{display:block!important;overflow:visible!important;padding:0!important;white-space:normal!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:24px 16px 20px;min-height:94px;flex-shrink:0;border-bottom:1px solid #ffffff0b}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-identity{display:flex;gap:10px;align-items:center;min-width:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-emblem{display:grid;place-items:center;width:34px;height:38px;flex-shrink:0;color:var(--nav-accent);border:1px solid #ffffff16;border-radius:10px;background:#ffffff04}
body.amr-nav-ready .amr-sidebar.amr-sidebar .club-sport-sections{margin:2px 0 7px!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .club-sport-sections>.amr-nav-summary{font-size:12px!important;color:#deebe6!important;letter-spacing:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .club-sport-sections>.amr-nav-items{margin-left:17px;padding-left:8px!important;border-left:1px solid #ffffff13}
body.amr-nav-ready .amr-sidebar.amr-sidebar .club-sport-sections .amr-nav-link.amr-nav-link{min-height:38px;padding:7px 8px!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-wordmark{min-width:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-wordmark strong{display:block;font-size:17px;letter-spacing:-.6px;line-height:1.4;font-weight:750;color:#f4f8f7!important;white-space:nowrap}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-wordmark small{display:block;color:#b0c6c3!important;font-size:9px;letter-spacing:.065em;margin-top:3px;line-height:1.5;max-width:146px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-toggle{display:grid;place-items:center;min-width:32px;width:32px;height:36px;padding:6px;border:1px solid #ffffff12;border-radius:9px;background:#ffffff05;color:#b6cbc9;cursor:pointer;flex-shrink:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-toggle:hover{background:#ffffff0e;color:#fff;border-color:#ffffff30}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-tools{padding:16px 16px 8px;flex-shrink:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-search{display:flex;align-items:center;gap:9px;border:1px solid #ffffff15;border-radius:10px;padding:0 10px;height:42px;background:linear-gradient(135deg,#ffffff08,#ffffff03);box-shadow:inset 0 1px 0 #ffffff04;color:#a4bdbb}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-search:focus-within{border-color:var(--nav-accent);box-shadow:0 0 0 2px rgba(var(--nav-rgb),.12)}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-search svg{width:17px;height:17px;flex-shrink:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-query{width:100%;min-width:0;background:transparent!important;border:0!important;outline:0!important;color:#edf5f3!important;font:inherit;font-size:11px;padding:0!important;box-shadow:none!important;height:38px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-query::placeholder{color:#a9bdbb;opacity:1}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-shortcut{font:10px system-ui;border:1px solid #ffffff1c;padding:0 5px;border-radius:4px;color:#a6b9b7}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-sidebar-scroll{flex:1 1 auto!important;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px 12px 24px;scrollbar-width:thin;scrollbar-color:#708d855c transparent;overscroll-behavior:contain}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-sidebar-scroll::-webkit-scrollbar{width:4px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-sidebar-scroll::-webkit-scrollbar-thumb{background:#708d855c;border-radius:8px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-group{margin:6px 0 14px!important;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-summary{display:flex!important;align-items:center;gap:8px;min-height:42px;margin:0!important;padding:9px 9px!important;border:0!important;border-radius:8px;color:#abc1bb!important;cursor:pointer;list-style:none;text-transform:none!important;font-family:inherit;font-size:10px!important;font-weight:650;letter-spacing:.045em;line-height:1.5;user-select:none;background:transparent!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-summary::-webkit-details-marker{display:none}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-summary::after{display:none!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-summary:hover{color:#e8f4ef!important;background:#ffffff05!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-group-icon{display:grid;place-items:center;color:#8daea4;flex:0 0 18px;width:18px;height:20px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-group-icon svg{width:15px;height:15px;stroke-width:1.7}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-group-label{flex:1;min-width:0}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-chevron{display:grid;place-items:center;color:#8da69e;transition:transform .16s ease}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-chevron svg{width:13px;height:13px}
body.amr-nav-ready .amr-sidebar.amr-sidebar details[open]>.amr-nav-summary .amr-nav-chevron{transform:rotate(90deg)}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-items{padding:3px 0 0!important;display:grid;gap:3px;animation:amr-nav-reveal .16s ease}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link.amr-nav-link{position:relative;display:flex!important;align-items:center;gap:10px!important;width:100%;min-width:0;min-height:48px;padding:10px 11px!important;margin:2px 0!important;order:0!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#d8e6e1!important;text-decoration:none!important;box-shadow:none!important;transform:none!important;transition:background-color .16s ease,border-color .16s ease!important;line-height:1.4}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link:hover{background:#ffffff06!important;border-color:#ffffff0d!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-label{display:block;min-width:0;flex:1;white-space:normal;overflow-wrap:anywhere;text-align:left!important;font-size:12px;font-weight:550}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-label>div{display:block!important;min-width:0;width:auto!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-label :is(b,strong){display:block;color:#e3eeea!important;font-size:11.5px!important;line-height:1.55;font-weight:550;letter-spacing:0;white-space:normal}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-label small{display:block;color:#a3b9b1!important;font-size:9px!important;line-height:1.5;font-weight:400;margin:2px 0 0;white-space:normal!important;overflow-wrap:anywhere}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-icon.amr-nav-icon{display:grid!important;place-items:center;flex:0 0 26px!important;width:26px!important;height:28px!important;margin:0!important;padding:0!important;color:#9ebdb2!important;border:0!important;border-radius:8px;background:transparent!important;box-shadow:none!important;font-size:18px!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-icon svg,body.amr-nav-ready .amr-sidebar.amr-sidebar svg.amr-nav-icon{width:19px!important;height:19px!important;stroke-width:1.7}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link:is(.active,.is-active,[aria-current=page]){background:linear-gradient(110deg,rgba(var(--nav-rgb),.14),rgba(var(--nav-rgb),.045))!important;border-color:rgba(var(--nav-rgb),.2)!important;box-shadow:inset 0 1px 0 #ffffff05,0 4px 12px #0000000a!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link:is(.active,.is-active,[aria-current=page])::before{content:'';position:absolute;left:-1px;top:13px;bottom:13px;width:2px;border-radius:2px;background:var(--nav-accent);box-shadow:0 0 8px rgba(var(--nav-rgb),.3)}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link:is(.active,.is-active,[aria-current=page]) :is(.amr-nav-icon,b,svg){color:#c0efdc!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-empty{color:#b3c6bf;font-size:12px;line-height:1.65;padding:14px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-label :is(b,strong){font-size:12px!important}
.amr-nav-sr{position:absolute!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar :is(a,button,summary):focus-visible{outline:2px solid var(--nav-accent)!important;outline-offset:2px!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar :is(.gc-account,.client-company-sidebar-footer){margin-top:20px;border-top:1px solid #ffffff12!important;padding:16px 8px!important;color:#b0c4ba;background:transparent!important;font-size:11px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .client-company-sidebar-footer p{color:#a3b9b1;font-size:10px}
body.amr-nav-ready .amr-sidebar.amr-sidebar .gc-account{position:static;display:flex;align-items:center;gap:8px;font-size:10px;flex-wrap:wrap}
body.amr-nav-ready .amr-sidebar.amr-sidebar .gc-account small{font-size:9px;color:#a3b9b1}
.amr-nav-mobile-trigger,.amr-nav-overlay{display:none}
.amr-nav-tooltip{position:fixed;z-index:10100;max-width:220px;padding:10px 14px;border:1px solid #ffffff20;border-radius:9px;background:linear-gradient(135deg,#1d3733,#172b2b);color:#f0f7f4;box-shadow:0 8px 24px #0003;font:500 12px/1.5 system-ui;pointer-events:none}
.amr-nav-tooltip[hidden]{display:none}
body.amr-nav-ready .amr-sidebar.amr-sidebar :is(.amr-nav-link,.amr-nav-group)[hidden]{display:none!important}
body.amr-nav-ready .gc-workspace .gc-link{white-space:normal;overflow-wrap:anywhere;max-width:100%}
@media(min-width:1101px){
 body.amr-nav-ready .app-shell:has(>.amr-sidebar){display:grid!important;grid-template-columns:var(--amr-nav-width) minmax(0,1fr)!important;align-items:start}
 body .gc-sidebar.amr-sidebar{position:fixed!important;left:0;top:0!important;height:100dvh!important}
 body.amr-nav-ready:has(.gc-sidebar) .gc-workspace{margin-left:var(--amr-nav-width)!important;width:calc(100% - var(--amr-nav-width))!important;min-width:0}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-head{flex-direction:column;padding:20px 8px 12px;gap:12px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-wordmark,body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-tools,body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-summary,body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact :is(.gc-account,.client-company-sidebar-footer){display:none!important}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-label{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-sidebar-scroll{padding:8px 10px 20px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-link{justify-content:center;padding:10px!important;min-height:46px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-compact .amr-nav-group{border-bottom:1px solid #ffffff0b!important;padding-bottom:10px!important;margin-bottom:10px!important}
}
@media(max-width:1100px){
 body.amr-nav-ready .app-shell:has(>.amr-sidebar){display:block!important}
 body.amr-nav-ready .club-mobile-nav,body.amr-nav-ready .club-menu-backdrop{display:none!important}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;display:flex!important;width:min(300px,calc(100vw - 42px))!important;max-width:100vw;height:100dvh!important;min-height:0!important;z-index:10060!important;visibility:hidden!important;transform:translateX(-105%);transition:transform .2s ease,visibility .2s ease!important;box-shadow:16px 0 60px #0005!important}
 body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-nav-open{visibility:visible!important;transform:translateX(0)}
 .amr-nav-mobile-trigger{position:fixed;left:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:10040;display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 16px;border:1px solid #9bcab64a;border-radius:14px;background:linear-gradient(135deg,#1d4540,#102c2a);box-shadow:0 8px 28px #072c3438;color:#effaf4;font:600 12px system-ui;cursor:pointer}
 .amr-nav-overlay:not([hidden]){display:block;position:fixed;inset:0;z-index:10050;border:0;border-radius:0;background:#04151980;backdrop-filter:blur(3px);cursor:pointer}
 body.amr-nav-drawer-open{overflow:hidden!important}
 body.amr-nav-ready:has(.gc-sidebar) .gc-workspace{margin-left:0!important;width:100%!important}
 body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-head{padding-top:24px;padding-bottom:18px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-toggle{min-width:40px;min-height:40px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-link{min-height:50px}
 body.amr-nav-ready .amr-sidebar.amr-sidebar .amr-nav-summary{min-height:46px}
}
@keyframes amr-nav-reveal{from{opacity:.3;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
/* The sidebar switches to a drawer at tablet widths; use the existing header menu at the same breakpoint. */
@media(min-width:981px) and (max-width:1100px){
 body.amr-nav-ready .topbar.amr-global-header{height:auto!important;min-height:74px;flex-wrap:wrap}
 body.amr-nav-ready .topbar.amr-global-header .menu-button{display:flex!important}
 body.amr-nav-ready .topbar.amr-global-header .amr-authenticated-menu{display:none!important;order:20;flex:0 0 100%;margin:0!important;padding:12px 0}
 body.amr-nav-ready .topbar.amr-global-header.is-open .amr-authenticated-menu{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:12px}
 body.amr-nav-ready .topbar.amr-global-header.is-open .amr-unified-topnav{flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){body.amr-nav-ready .amr-sidebar.amr-sidebar *,body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body.amr-nav-ready .amr-sidebar.amr-sidebar.amr-sidebar,.amr-nav-mobile-trigger,.amr-nav-overlay,.amr-nav-tooltip{display:none!important}body.amr-nav-ready .app-shell:has(>.amr-sidebar){display:block!important}body.amr-nav-ready .gc-workspace{margin-left:0!important;width:100%!important}}

/* Suppress the legacy presentation while the enhanced navigation is built.
   The head loader restores the server navigation if loading fails. */
html.amr-nav-pending body:not(.amr-nav-ready) :is(aside.sidebar,aside.client-company-sidebar,aside.gc-sidebar){visibility:hidden!important}
body.amr-nav-ready .amr-sidebar.amr-sidebar::before{opacity:1;background:linear-gradient(180deg,#071a2440,#071a2460),url('../img/amr-sidebar-elegant.webp') center/cover no-repeat}
