/* Main navigation only. Routes and role-specific labels stay unchanged. */
html body aside nav[aria-label="Main navigation"]{gap:6px}
html body aside nav[aria-label="Main navigation"] button{position:relative;min-height:48px;gap:12px;border:1px solid transparent;border-radius:12px;font-weight:500;line-height:1.3;transition:background-color .16s,color .16s,border-color .16s}
html body aside nav[aria-label="Main navigation"] button svg{width:22px;height:22px;flex-shrink:0;stroke-width:1.8}
html body aside nav[aria-label="Main navigation"] button[aria-current="page"]{font-weight:700}
html body aside nav[aria-label="Main navigation"] button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-3px}
@media(min-width:761px){
 html body aside nav[aria-label="Main navigation"]{display:grid;width:100%}
 html body aside nav[aria-label="Main navigation"] button{padding:13px 16px;color:#b8bcc7;background:transparent}
 html body aside nav[aria-label="Main navigation"] button[aria-current="page"]{background:#392325;color:#ffaaa3;border-color:#59302f}
 html body aside nav[aria-label="Main navigation"] button[aria-current="page"]:before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#ff9189}
 html body aside>.settingslink{min-height:48px;padding:13px 16px;margin-top:18px;border:1px solid transparent;border-radius:12px;color:#b8bcc7;font-size:13px}
 html body aside>.settingslink[aria-current="page"]{background:#392325;color:#ffaaa3;border-color:#59302f}
 html body aside>.settingslink:focus-visible{outline:2px solid #ffaaa3;outline-offset:-3px}
}
@media(max-width:760px){
 html body aside nav[aria-label="Main navigation"]{gap:4px;padding:6px max(12px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:var(--nav);border-top:1px solid var(--line);box-shadow:0 -3px 14px #00000006;backdrop-filter:none;-webkit-backdrop-filter:none}
 html body aside nav[aria-label="Main navigation"] button{min-height:56px;flex-direction:column;justify-content:center;padding:7px 3px;gap:5px;color:var(--muted);background:transparent;font-size:11px;letter-spacing:.1px}
 html body aside nav[aria-label="Main navigation"] button[aria-current="page"]{color:var(--accent-ink);background:var(--soft);border-color:transparent}
 html body aside nav[aria-label="Main navigation"] button[aria-current="page"] svg{stroke-width:2.2}
 html body aside nav[aria-label="Main navigation"] button[data-page="record"] svg{width:22px;height:22px;padding:0;background:transparent;color:inherit;border-radius:0}
 html body #headerprofile[aria-current="page"]{background:var(--soft);border-color:var(--accent-ink);color:var(--accent-ink)}
 html body #headerprofile[aria-current="page"] .personavatar{background:var(--soft);color:var(--accent-ink)}
}
@media(hover:hover) and (min-width:761px){html body aside nav[aria-label="Main navigation"] button:not([aria-current="page"]):hover,html body aside>.settingslink:not([aria-current="page"]):hover{background:#25262d;color:#fff}}
@media(hover:hover) and (max-width:760px){html body aside nav[aria-label="Main navigation"] button:not([aria-current="page"]):hover{background:var(--field);color:var(--ink)}}
@media(prefers-reduced-motion:reduce){html body aside nav[aria-label="Main navigation"] button{transition:none}}
@media(min-width:761px){
 html body aside nav button.phoneprofile{display:none}
 html body aside nav button[data-page="record"]{order:1}
}
@media(max-width:760px){
 html body aside nav[aria-label="Main navigation"]{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding-inline:max(3px,env(safe-area-inset-left)) max(3px,env(safe-area-inset-right))}
 html body aside nav[aria-label="Main navigation"] button{min-width:0;padding-inline:0;font-size:clamp(9px,2.75vw,11px)}
 html body aside nav[aria-label="Main navigation"] button[aria-current="page"]{background:transparent;color:var(--accent-ink)}
}
