/* Shared navigation rules use semantic destinations, never URL fragments. */
.header{display:flex;align-items:center;flex-wrap:nowrap;min-width:0}
.header nav{min-width:0;flex:1}
.header nav a[data-i=analysis]:before{content:'✦';margin-right:7px;font-size:13px;color:#ffdb57}
.header nav a[data-i=watch]:before{content:'';width:6px;height:6px;background:var(--yellow);border-radius:50%;margin-right:8px;box-shadow:0 0 0 3px #ffd43b12;flex-shrink:0}
.header .header-save{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;line-height:1.4;text-decoration:none;font-family:inherit}
.header .languages{flex-shrink:0}.header .logo{flex-shrink:0}
@media(min-width:761px) and (max-width:1100px){.header{gap:18px}.header nav{gap:3px}.header nav a{padding-left:11px;padding-right:11px;font-size:12px}.header nav a.active:after{left:11px;right:11px}.header .header-save{width:38px;padding:6px;font-size:18px}.header .header-save span{display:none}}
@media(max-width:760px){.header{flex-wrap:wrap;gap:0}.header nav{order:3;flex-basis:100%;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;height:auto;overflow:visible;margin:13px 0 11px}.header nav a{height:40px;min-height:40px;padding:0 4px;justify-content:center;font-size:10px;white-space:nowrap}.header .header-save{width:36px;height:36px;min-height:36px;padding:4px;font-size:18px}.header .header-save span{display:none}.header .languages{margin-left:auto;margin-right:10px}.header nav a[data-i=analysis]:before{margin-right:4px;font-size:12px}.header nav a[data-i=watch]:before{width:5px;height:5px;margin-right:6px}.header nav a.active:after{left:22%;right:22%}}
@media(max-width:370px){.header nav a{font-size:9px}.header nav a[data-i=analysis]:before{font-size:10px;margin-right:3px}.header .languages{margin-right:7px}}
/* Five primary destinations, consistent across all pages. */
@media(min-width:1001px){.header{gap:26px}.header nav{gap:3px}.header nav a{padding-left:14px;padding-right:14px}.header nav a.active:after{left:14px;right:14px}}
@media(max-width:1000px){.header{flex-wrap:wrap;gap:0;padding-top:14px}.header .languages{margin-left:auto;margin-right:10px}.header .header-save{width:36px;height:36px;min-height:36px;padding:4px;font-size:18px}.header .header-save span{display:none}.header nav{order:3;flex-basis:100%;width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;height:auto;overflow:visible;margin:13px 0 11px}.header nav a{height:40px;min-height:40px;justify-content:center;font-size:11px;padding:0 3px}.header nav a.active:after{left:22%;right:22%}}
@media(max-width:400px){.header nav a{font-size:9px}.header nav a[data-i=analysis]:before{font-size:10px;margin-right:3px}}
/* Audit: compact navigation and resilient narrow-width previews. */
@media(max-width:1000px){.header nav a{min-width:0;overflow:hidden;max-width:100%;font-size:11px}.header nav a[data-i=analysis]:before{margin-right:4px}}
@media(max-width:400px){.header nav a{font-size:9px}.header nav a[data-i=analysis]:before{font-size:10px}}
@media(max-width:340px){.header nav a[data-i=analysis]:before,.header nav a[data-i=watch]:before{display:none}.header .languages{margin-right:6px}.header .logo{font-size:26px}}
