/* ATHRTY X-202 | Shared public mobile navigation refinement.
   Targets only ATHRTY-owned public chrome. Never touches client site
   previews, proposal content, private Studio canvases, or admin shells. */
@media (max-width:1020px) {
 :is(.v59-header.v17-enterprise-header,.v62-shell .nav-wrap,.v64-network-header){
   --x202-ink:var(--athrty-ink,var(--text,#eff6f3));
   --x202-subtle:var(--athrty-subtle,var(--muted,#b8c8c3));
   --x202-base:var(--athrty-bg,var(--bg,#172220));
   --x202-accent:var(--athrty-accent,var(--accent,#a8e8cf));
   --x202-gutter:clamp(18px,5vw,28px);
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open{
   box-sizing:border-box;--v61-menu-gutter:var(--x202-gutter);
   padding:12px var(--x202-gutter) max(28px,calc(20px + env(safe-area-inset-bottom)))!important;
   background:var(--x202-base)!important;color:var(--x202-ink);
   row-gap:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;
   overscroll-behavior:contain;
 }
 /* Content hierarchy: search > destinations > accent > appearance > actions. */
 html[data-athrty-theme] .v59-header .v60-menu-heading{
   padding:4px 0 8px;margin:0!important;min-height:0;
 }
 html[data-athrty-theme] .v59-header .v60-menu-heading .v64-search-launch{
   box-sizing:border-box;min-height:48px;width:100%;padding:10px 14px;
   border-radius:12px;background:color-mix(in srgb,var(--x202-accent) 6%,var(--athrty-surface,#24322f));
   border:1px solid color-mix(in srgb,var(--x202-accent) 16%,var(--athrty-edge,#3e4c48));
   box-shadow:none;color:var(--x202-ink);
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open .v59-nav-destinations{
   display:block;flex:none;margin-block:6px 0!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open
 :is(.v59-nav-destinations>a.v61-nav-item,.v59-solutions-trigger.v61-nav-item){
   min-height:68px!important;padding-block:9px!important;
   grid-template-columns:40px minmax(0,1fr) 20px!important;column-gap:12px!important;
   transition:background-color .16s ease!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v61-nav-glyph{
   width:40px;height:40px;min-width:40px;border-radius:12px;
   background:color-mix(in srgb,var(--x202-accent) 10%,var(--athrty-surface,#283631));
   color:var(--x202-accent);border:0;box-shadow:none;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v61-nav-glyph svg{
   width:23px;height:23px;stroke-width:1.8;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v61-nav-copy{gap:3px;overflow:hidden}
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v61-nav-title{
   font-size:clamp(20px,5.25vw,25px);font-weight:700;letter-spacing:-.047em;
   color:var(--x202-ink);line-height:1.16;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v61-nav-desc{
   font-size:13px!important;line-height:1.4;
   color:var(--x202-subtle);white-space:nowrap!important;
   text-overflow:ellipsis!important;overflow:hidden!important;
 }
 /* Only a disclosure needs a chevron. Destination arrows add no information. */
 html[data-athrty-theme] .v59-header.v17-enterprise-header
 .v59-nav-destinations>a.v61-nav-item .v61-nav-marker{display:none!important}
 html[data-athrty-theme] .v59-header.v17-enterprise-header
 .v59-nav-destinations>a.v61-nav-item{
   grid-template-columns:40px minmax(0,1fr) 0px!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .v59-solutions-trigger .v61-nav-marker{
   display:inline-flex!important;justify-self:end;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open
 :is(.v59-nav-destinations>a.v61-nav-item[aria-current="page"],.v59-solutions-trigger.v61-nav-item[aria-current="page"])
 :is(.v61-nav-title,.v61-nav-desc){
   opacity:.65!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open
 .v59-solutions-trigger.v61-nav-item[aria-expanded="true"]:not([aria-current="page"])
 :is(.v61-nav-title,.v61-nav-desc){opacity:.86!important}
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open
 :is(.v59-nav-destinations>a.v61-nav-item[aria-current="page"],.v59-solutions-trigger.v61-nav-item[aria-current="page"]){
   background:color-mix(in srgb,var(--x202-accent) 10%,var(--x202-base))!important;
 }
 /* First-party mobile color palette, after navigation in document order. */
 html[data-athrty-theme] .v59-header .athrt-mobile-accent-group{
   box-sizing:border-box;flex:0 0 auto;min-width:0;
   margin:16px 0 2px!important;padding:13px 12px!important;
   background:color-mix(in srgb,var(--x202-accent) 6%,var(--athrty-surface,#263531))!important;
   border:1px solid color-mix(in srgb,var(--x202-accent) 16%,var(--athrty-edge,#40524b))!important;
   border-radius:14px!important;box-shadow:none!important;
 }
 html[data-athrty-theme] .v59-header .athrt-mobile-accent-heading{
   margin:0 0 10px!important;font-size:11px!important;font-weight:700;
   line-height:1.35;letter-spacing:.06em;color:var(--x202-subtle);
 }
 html[data-athrty-theme] .v59-header .athrt-mobile-accent-option{
   min-width:0;min-height:44px!important;max-width:none;
   border-radius:10px!important;
   -webkit-tap-highlight-color:transparent;
 }
 html[data-athrty-theme] .v59-header .athrt-mobile-accent-option .athrt-accent-swatch{
   width:26px;height:26px;border-radius:50%;
 }
 html[data-athrty-theme] .v59-header .v60-mobile-theme{
   margin-top:8px!important;padding-top:13px!important;padding-bottom:8px!important;
 }
 html[data-athrty-theme] .v59-header .v60-mobile-theme-options button{
   border-radius:11px;min-height:44px;box-shadow:none;
 }
 /* Solutions, Network, Contact share the same visual geometry. */
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-public-drawer{
   box-sizing:border-box;width:100vw;max-width:100vw;overflow-x:hidden;
   background:var(--x202-base)!important;color:var(--x202-ink);
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-drawer-scroll{
   --v64-mobile-gutter:var(--x202-gutter);
   padding:12px var(--x202-gutter) max(28px,calc(20px + env(safe-area-inset-bottom)))!important;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) input.v64-nav-search{
   min-height:48px;padding-left:42px;border-radius:12px;
   background:color-mix(in srgb,var(--x202-accent) 6%,var(--panel,#263531));
   border-color:color-mix(in srgb,var(--x202-accent) 16%,var(--border,#46534c));
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) a.v64-drawer-link{
   min-height:68px;padding-block:9px!important;grid-template-columns:40px minmax(0,1fr)!important;
   column-gap:12px!important;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-nav-glyph{
   width:40px;height:40px;min-width:40px;border-radius:12px;
   background:color-mix(in srgb,var(--x202-accent) 10%,var(--panel,#283631));
   color:var(--x202-accent);
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-nav-glyph svg{width:23px;height:23px}
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-nav-copy{gap:3px}
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-nav-copy strong{
   font-size:clamp(20px,5.25vw,25px);font-weight:700;line-height:1.16;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-nav-copy small{
   font-size:13px!important;line-height:1.4;
   white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-drawer-appearance{
   margin-top:10px;padding-top:12px!important;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .x192-drawer-accents{
   margin-top:12px;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .x192-accent-choice{
   min-height:44px;border-radius:10px;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-account-actions{
   margin-top:12px;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-appearance-modes button{
   min-height:44px;border-radius:11px;box-shadow:none;
 }
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-public-drawer :is(a,button,input):focus-visible{
   outline:2px solid var(--x202-accent)!important;outline-offset:2px;
 }
}
@media(max-width:359px){
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open
 :is(.v59-nav-destinations>a.v61-nav-item,.v59-solutions-trigger.v61-nav-item){
   grid-template-columns:36px minmax(0,1fr) 18px!important;column-gap:10px!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header
 .v59-nav-destinations>a.v61-nav-item{grid-template-columns:36px minmax(0,1fr) 0!important}
 :is(.v62-shell .nav-wrap,.v64-network-header) a.v64-drawer-link{
   grid-template-columns:36px minmax(0,1fr)!important;column-gap:10px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-athrty-theme] .v59-header .factory-public-nav.v17-open *,
 :is(.v62-shell .nav-wrap,.v64-network-header) .v64-public-drawer *{
   transition-duration:0s!important;animation-duration:0s!important;
 }
}
@media(forced-colors:active){
 html[data-athrty-theme] .v59-header .athrt-mobile-accent-group{border:1px solid CanvasText!important;background:Canvas!important}
}
/* X-202.1: iOS full-height drawer and stable active rows. */
@media(max-width:1020px){
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open{
  position:fixed!important;inset:var(--athrty-menu-top, 100px) 0 0!important;
  width:100vw!important;max-width:100vw!important;height:auto!important;
  max-height:calc(100dvh - var(--athrty-menu-top, 100px))!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;
  z-index:9999!important;isolation:isolate;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open .v59-nav-destinations{
  display:grid!important;gap:4px!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open :is(.v59-nav-destinations>a.v61-nav-item,.v59-solutions-trigger.v61-nav-item){
  box-sizing:border-box!important;width:100%!important;min-height:68px!important;
  margin:0!important;border:1px solid transparent!important;border-radius:13px!important;
  box-shadow:none!important;outline:none!important;transform:none!important;
  align-items:center!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open :is(.v59-nav-destinations>a.v61-nav-item[aria-current="page"],.v59-solutions-trigger.v61-nav-item[aria-current="page"]){
  border-color:color-mix(in srgb,var(--x202-accent) 25%,transparent)!important;
  box-shadow:none!important;background:color-mix(in srgb,var(--x202-accent) 8%,var(--x202-base))!important;
 }
 html[data-athrty-theme] .v59-header.v17-enterprise-header .factory-public-nav.v17-open :is(a,button):focus-visible{
  outline:2px solid var(--x202-accent)!important;outline-offset:-3px!important;
 }
}