/* Etapp B3: navigation-only pilot; app content & established views untouched. */
.top .tabs.tv-original-nav-hidden{display:none!important}
#tvPrimaryNav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-left:8px}
#tvPrimaryNav .tv-primary-link{border:0;border-radius:9px;padding:9px 11px;background:transparent;color:#526779;font-size:13px;font-weight:650;white-space:nowrap}
#tvPrimaryNav .tv-primary-link.active{background:#e9f2fc;color:#174f87}
#tvPrimaryNav button:focus-visible,#tvLegacyViews summary:focus-visible{outline:3px solid #4687c3;outline-offset:2px}
#tvLegacyViews{position:relative;font-size:12px;color:#526779}
#tvLegacyViews summary{cursor:pointer;padding:9px 10px;white-space:nowrap;border-radius:9px}
#tvLegacyViews[open] summary{background:#edf3f9}
#tvLegacyViews .tv-legacy-list{position:absolute;right:0;top:100%;min-width:220px;max-height:70vh;overflow:auto;background:white;border:1px solid #dce5ee;border-radius:11px;box-shadow:0 12px 28px #17304a25;padding:7px;z-index:85}
#tvLegacyViews .tv-legacy-list button{display:block;text-align:left;width:100%;border:0;border-radius:7px;background:white;padding:10px;color:#314b63}
#tvLegacyViews .tv-legacy-list button:hover{background:#eef4fa}
@media(max-width:1000px){#tvPrimaryNav{order:3;width:100%;margin-left:0}.top{flex-wrap:wrap}}

#tvLegacyViews.active summary{background:#e9f2fc;color:#174f87;font-weight:700}
#tvLegacyViews .tv-legacy-list button.active{background:#e9f2fc;color:#174f87;font-weight:700}
