/* Scoped navigation for static articles and legal pages. Local content styles stay independent. */
#tlc-static-navigation { box-sizing: border-box; position: sticky; top: 12px; z-index: 100; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; width: calc(100% - 24px); max-width: 1440px; margin: 12px auto; padding: 14px 18px; border: 1px solid #ddd8f6; border-radius: 22px; background: #faf9ff; color: #10162b; box-shadow: 0 12px 36px #251e6014; font: 700 14px/1.4 Inter, system-ui, sans-serif; text-align: left; }
#tlc-static-navigation * { box-sizing: border-box; }
#tlc-static-navigation a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 999px; color: #35405b; background: transparent; text-decoration: none; font: inherit; white-space: normal; }
#tlc-static-navigation a:hover { background: #efecff; color: #4937e8; }
#tlc-static-navigation a:focus-visible, #tlc-static-navigation summary:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
/* Match the shared portal wordmark; keep legacy page styles scoped out. */
#tlc-static-navigation .tlc-static-brand { flex-shrink: 0; min-width: 0; padding: 0; gap: .7rem; color: #10162b; letter-spacing: normal; }
#tlc-static-navigation .tlc-static-brand b { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.35rem; height: 2.35rem; border: 1px solid #7969ff; border-radius: 16px; background: linear-gradient(145deg, #10162b 0%, #17113d 64%, #222160 100%); color: white; font-size: .64rem; font-weight: 950; letter-spacing: normal; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 8px 20px rgba(86,71,255,.2); }
#tlc-static-navigation .tlc-static-brand-copy { display: grid; gap: .1rem; min-width: 0; }
#tlc-static-navigation .tlc-static-brand strong { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.35rem; font-weight: 900; line-height: 1; white-space: nowrap; }
#tlc-static-navigation .tlc-static-brand em { font-style: normal; background: linear-gradient(90deg, #6d5df6 0%, #5b6ff5 45%, #38bdf8 100%); background-clip: text; color: transparent; }
#tlc-static-navigation .tlc-static-brand small { overflow: hidden; background: linear-gradient(135deg, #6d5df6 0%, #4d39e9 70%, #2e72f5 100%); background-clip: text; color: transparent; font-size: .62rem; font-weight: 900; line-height: 1.2; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { #tlc-static-navigation .tlc-static-brand strong { font-size: 1.12rem; } #tlc-static-navigation .tlc-static-brand small { display: none; } #tlc-static-navigation .tlc-static-brand b { width: 2.1rem; height: 2.1rem; } }
#tlc-static-navigation details { flex: 1; min-width: 0; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; }
#tlc-static-navigation summary { display: none; width: fit-content; padding: 10px 16px; margin-left: auto; border: 1px solid #ddd8f6; border-radius: 14px; color: #4937e8; cursor: pointer; list-style: none; }
#tlc-static-navigation summary::-webkit-details-marker { display: none; }
#tlc-static-navigation nav { position: static; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; width: auto; border: 0; background: none; }
#tlc-static-navigation .tlc-static-contact, #tlc-static-navigation .tlc-static-account { background: linear-gradient(135deg, #6d5df6, #4937e8); color: white; }
#tlc-static-navigation .tlc-static-contact:hover, #tlc-static-navigation .tlc-static-account:hover { background: linear-gradient(135deg, #7667ff, #5542f0); color: white; }
@media (max-width: 1320px) {
  #tlc-static-navigation { align-items: flex-start; gap: 8px; }
  #tlc-static-navigation details { flex: 1 1 72px; }
  #tlc-static-navigation summary { display: block; }
  #tlc-static-navigation details[open] { flex-basis: 100%; }
  #tlc-static-navigation nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 10px; }
  #tlc-static-navigation nav a { justify-content: flex-start; }
}
@media print { #tlc-static-navigation { display: none; } }
/* Legacy body overflow rules otherwise create a non-scrolling sticky ancestor. */
body:has(> #tlc-static-navigation) { overflow-x: clip; overflow-y: visible; }

@media (max-width: 360px) { #tlc-static-navigation .tlc-static-brand strong { font-size: .95rem; } #tlc-static-navigation .tlc-static-brand { gap: .35rem; } }
