/* ================================================================
   TAC Documentation Portal — Thales Brand Theme
   Exact match to SDD-3.0/tac-doc-home-page-sample-1.png
   ================================================================ */

/* ----------------------------------------------------------------
   Brand tokens
   ---------------------------------------------------------------- */
:root {
  /* ── CCI-matching primary colour ── */
  --tac-primary:         #192acc;
  --tac-primary-dark:    #1320a0;
  --tac-primary-light:   #4c5dff;   /* CCI drawer-header divider */

  /* ── Quantum (@qtm) palette used by tac-cci-frontend ── */
  --tac-brand:           #041295;   /* blue-500 / primary-default */
  --tac-brand-hover:     #030f77;   /* blue-600 */
  --tac-brand-50:        #e6e7f4;   /* primary-50 */
  --tac-text:            #131319;   /* bluegrey-900 */
  --tac-text-muted:      #5d607e;   /* bluegrey-500 */
  --tac-text-subtle:     #797d9c;   /* bluegrey-400 */
  --tac-border:          #dedee6;   /* bluegrey-100 */
  --tac-border-strong:   #bcbece;   /* bluegrey-200 */
  --tac-hover-bg:        #eeeff3;   /* bluegrey-50 */
  --tac-radius-sm:       2px;       /* border-radius-medium (buttons, inputs) */
  --tac-radius:          4px;       /* border-radius-large (cards, panels) */
  --tac-shadow-s: 0 2px 4px 0 hsla(235,96%,10%,.04), 0 4px 5px 0 hsla(235,96%,10%,.04),
                  0 1px 10px 0 hsla(235,96%,10%,.08);   /* shadow-s-light */
  --tac-shadow-m: 0 8px 10px 0 hsla(235,96%,10%,.04), 0 3px 14px 0 hsla(235,96%,10%,.04),
                  0 4px 5px 0 hsla(235,96%,10%,.08);    /* shadow-m-light */

  /* ── Sidebar (CCI SideNav: white-90 text, white-20 active, 4px white bar) ── */
  --tac-sidebar-bg:      #192acc;
  --tac-sidebar-active:  rgba(255,255,255,.2);
  --tac-sidebar-hover:   rgba(255,255,255,.1);
  --tac-sidebar-text:    rgba(255,255,255,.9);
  --tac-sidebar-muted:   rgba(255,255,255,.6);
  --tac-sidebar-divider: rgba(255,255,255,.15);
  --tac-sidebar-w:       220px;
  --tac-sidebar-collapsed-w: 60px;

  /* ── Header ── */
  --tac-header-h:        64px;   /* CCI header as rendered: Quantum medium header = spacing-5xl (64px) */
  --tac-header-border:   #dedee6;
  --tac-header-bg:       #ffffff;

  /* ── General ── */
  --tac-blue:            #041295;
  --tac-blue-dark:       #030f77;
  --tac-blue-btn:        #041295;
  --tac-blue-btn-hover:  #030f77;
  --tac-logo-color:      #ffffff;
  --tac-title-color:     #5d607e;
  --tac-body-bg:         #f7f7f9;   /* CCI background colour (bluegrey-25) */
  --tac-card-icon-bg:    #e6e7f4;
  --tac-card-icon-color: #041295;
  --tac-card-title:      #041295;
  --tac-card-desc:       #5d607e;
  --tac-card-border:     #dedee6;
  --tac-white:           #ffffff;
}

/* ----------------------------------------------------------------
   Reset Antora defaults — CCI-style fixed layout
   ---------------------------------------------------------------- */
.navbar { display: none !important; }
.header {
  display: block !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
}

/* Single page scroller: the window (html) scrolls, body never does.
   The old `html, body { height:100%; overflow:auto }` made BOTH scroll — two scrollbars, a blank
   band below the footer, and site.js (window.scrollY / window.scrollTo) TOC and anchor logic
   scrolling the wrong element. */
html {
  overflow-y: auto;
  scroll-padding-top: calc(var(--tac-header-h) + 60px);
  font-size: 16px !important;   /* Quantum 16px root (site.css used 17–18px) */
}

/* ----------------------------------------------------------------
   Typography — identical to tac-cci-frontend (Quantum / @qtm):
   Roboto, 16px root (site.css used 17–18px), line-height 1.5, bluegrey-900 text,
   weights 400 / 500 / 700. Quantum scale used below:
     scale-4 24/36 · scale-5 20/32 · scale-6 16/24 · scale-7 14/20 · scale-8 12/16
   ---------------------------------------------------------------- */
/* site.css registers the Roboto *500* files as weight 600, so `font-weight:500` fell back to the
   400 file (CSS font matching prefers lighter faces for 400–500). Register them as 500, like CCI. */
@font-face {
  font-family: Roboto; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../font/roboto-latin-500-normal.woff2) format("woff2"), url(../font/roboto-latin-500-normal.woff) format("woff");
}
@font-face {
  font-family: Roboto; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../font/roboto-latin-500-italic.woff2) format("woff2"), url(../font/roboto-latin-500-italic.woff) format("woff");
}
@font-face {
  font-family: Roboto; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../font/roboto-latin-700-normal.woff2) format("woff2");
}
@font-face {
  font-family: Roboto; font-style: italic; font-weight: 700; font-display: swap;
  src: url(../font/roboto-latin-700-italic.woff2) format("woff2");
}
/* Body: no Antora navbar offset, CCI canvas colour, Quantum typography, never its own scroller */
body {
  padding-top: 0 !important;
  background: var(--tac-body-bg) !important;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--tac-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: auto !important;
  min-height: 100%;
  overflow: visible !important;
}

/* ── Desktop layout ── */
@media screen and (min-width: 1024px) {

  /* The sticky .tac-header already occupies its 60px in flow — no extra offset
     (the old padding-top doubled it and left an empty band under the header) */
  .body {
    padding-top: 0 !important;
    min-height: calc(100vh - var(--tac-header-h)) !important;
  }

  /* Sidebar: fixed drawer below the header (CCI SideNav: 220px / 60px collapsed).
     position:fixed takes it out of the .body flex row, so main only needs a margin. */
  .nav-container {
    position: fixed !important;
    top: var(--tac-header-h) !important;
    left: 0 !important;
    width: var(--tac-sidebar-w) !important;
    min-width: 0 !important;
    height: calc(100vh - var(--tac-header-h)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transition: width .3s ease !important;
    z-index: 50 !important;
  }

  /* Sidebar content grows with its items; the container scrolls */
  .nav {
    position: static !important;
    top: 0 !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    width: 100% !important;
  }

  /* Main: CCI <main> — margin = sidebar width, p-4 on a bluegrey-25 background */
  main {
    margin-left: var(--tac-sidebar-w) !important;
    padding: 16px !important;
    min-height: calc(100vh - var(--tac-header-h)) !important;
    transition: margin-left .3s ease !important;
  }

  .tac-footer {
    margin-left: var(--tac-sidebar-w);
    transition: margin-left .3s ease;
  }

  /* ── Collapsed sidebar: icon rail like the CCI collapsed drawer ── */
  .body.nav-closed .nav-container {
    width: var(--tac-sidebar-collapsed-w) !important;
  }
  .body.nav-closed main {
    margin-left: var(--tac-sidebar-collapsed-w) !important;
  }
  body:has(.body.nav-closed) .tac-footer {
    margin-left: var(--tac-sidebar-collapsed-w);
  }
  body:has(.body.nav-closed) .tac-logo-col {
    width: var(--tac-sidebar-collapsed-w);
    padding: 0;
    justify-content: center;
  }
  body:has(.body.nav-closed) .tac-logo { display: none; }
  body:has(.body.nav-closed) .tac-nav-toggle-btn svg { transform: scaleX(-1); }
  .body.nav-closed .tac-nav-section-label,
  .body.nav-closed .tac-portal-nav > .nav-list {
    display: none !important;
  }
  .body.nav-closed .tac-nav-divider { margin: 8px 12px; }
  .body.nav-closed .tac-nav-divider:has(+ .nav-list) { display: none; }
  .body.nav-closed .tac-nav-item {
    justify-content: center;
    padding: 1rem 0;
    font-size: 0;             /* hides the text label, keeps the icon */
  }
  .body.nav-closed .nav-panel-menu > .nav-menu { display: none !important; }
}

/* ----------------------------------------------------------------
   TAC Header — single row: THALES | Title | Search | Controls
   ---------------------------------------------------------------- */
.tac-header {
  background: var(--tac-header-bg);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--tac-shadow-s);   /* Quantum header: white + shadow-s-light */
  transition: background .25s, border-color .25s;
}

.tac-header-row1 {
  display: flex;
  align-items: center;
  height: var(--tac-header-h);
}

/* THALES logo column — reads as the top of the blue drawer (CCI DrawerHeader) */
.tac-logo-col {
  width: var(--tac-sidebar-w);
  flex-shrink: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
  background: var(--tac-sidebar-bg);
  border-bottom: 1px solid var(--tac-primary-light);
  transition: width .3s ease, padding .3s ease, background .25s;
}

.tac-logo {
  display: flex;
  align-items: center;
  color: var(--tac-logo-color) !important;
  text-decoration: none !important;
}

/* Same white THALES wordmark asset as tac-cci-frontend (src/assets/Thales.png) */
.tac-logo-img {
  display: block;
  height: 15px;      /* native size of the CCI asset (118×15) */
  width: auto;
}

/* Portal title — CCI HeaderBrand: body-1, bluegrey-500, then a HeaderDivider */
/* CCI Header: padding-left spacing-s (12px), HeaderBrand margin-right spacing-3xl (48px),
   HeaderDivider 1px × spacing-xxl (40px) bluegrey-100 */
.tac-title-col {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.tac-title-col::after {
  content: "";
  flex-shrink: 0;
  width: 1px;
  height: 40px;
  background: var(--tac-border);
}

.tac-portal-title {
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tac-title-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search bar — Quantum text-field look: 2px radius, bluegrey borders */
.tac-search-inline {
  position: relative; /* keeps Lunr results dropdown anchored */
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 280px;
  margin-right: 24px;
  border: 1px solid var(--tac-border-strong);
  border-radius: var(--tac-radius-sm);
  background: var(--tac-white);
  transition: border-color .15s, box-shadow .15s, background .25s;
}

.tac-search-inline:hover { border-color: var(--tac-text-subtle); }

.tac-search-inline svg {
  flex-shrink: 0;
  margin-left: 12px;
  width: 16px;
  height: 16px;
  color: var(--tac-text-muted);
  pointer-events: none;
}

/* Antora site.css (#search-input: 1px #dbdbdb border, 150px width) and the lunr search.css also
   style the input by id; the wrapper .tac-search-inline owns the border, so neutralise them here.
   The stray border-left drew a vertical line between the search icon and the text. */
#search-input.tac-search-input {
  border: none;
  border-radius: 0;
  width: auto;
  box-shadow: none;
  font-family: inherit;
  line-height: 20px;
  padding: 0 12px 0 8px;
}

.tac-search-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px 0 8px;
  border: none;
  border-radius: var(--tac-radius-sm);
  font-size: 14px;
  background: transparent;
  color: var(--tac-text);
  outline: none;
}

.tac-search-input::placeholder { color: var(--tac-text-subtle); }
.tac-search-inline:focus-within {
  border-color: var(--tac-brand);
  box-shadow: 0 0 0 1px var(--tac-brand);
  background: white;
}

/* Controls: CCI HeaderMenuRight (gap-l), preceded by a HeaderDivider */
.tac-controls-col {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px 0 0;
  flex-shrink: 0;
  height: 100%;
}

/* ---- Theme toggle ---- */
.tac-theme-toggle {
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  user-select: none;
}

.tac-sun-icon,
.tac-moon-icon {
  color: var(--tac-text-muted);
  transition: color .25s;
}

.tac-toggle-track {
  width: 36px;
  height: 20px;
  background: var(--tac-border-strong);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background .25s;
}

.tac-toggle-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  right: 2px;
  left: auto;
  transition: left .25s, right .25s;
}

/* Dark mode active state: thumb slides left, track turns blue */
body.dark-mode .tac-toggle-track { background: var(--tac-blue); }
body.dark-mode .tac-toggle-thumb { right: auto; left: 2px; }
body.dark-mode .tac-sun-icon  { color: #94a3b8; }
body.dark-mode .tac-moon-icon { color: #e2e8f0; }

.tac-help-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: none;
  cursor: pointer;
  color: #6b7280;
  font-weight: 600;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, color .25s;
}

.tac-user-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--tac-brand); }
.tac-lang-icon { flex-shrink: 0; width: 20px; height: 20px; }
/* CCI user trigger is icon + name only; the JS-filled initials avatar and caret stay in the DOM */
.tac-user-menu .tac-avatar,
.tac-user-menu .tac-caret { display: none; }
body.dark-mode .tac-user-icon { color: #e2e8f0; }

.tac-user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 4px;
  border-radius: var(--tac-radius-sm);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.tac-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tac-brand);
  color: white;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CCI user/lang triggers: Typography body-2 font-medium, bluegrey-900 */
.tac-user-name {
  font-size: 14px;
  color: var(--tac-brand);
  font-weight: 500;
  transition: color .25s;
}

.tac-caret { color: var(--tac-brand); font-size: .6rem; }

/* ================================================================
   DARK MODE
   All content areas invert to dark slate when body.dark-mode is set.
   ================================================================ */

/* Header */
body.dark-mode .tac-header {
  background: #1e2a3a !important;
  border-color: #2d3748 !important;
}
body.dark-mode .tac-logo-col {
  border-color: var(--tac-sidebar-divider) !important;
}
body.dark-mode .tac-title-col::after { background: #2d3748; }
body.dark-mode .tac-portal-title { color: #cbd5e1 !important; }
body.dark-mode .tac-user-name   { color: #e2e8f0 !important; }
body.dark-mode .tac-caret       { color: #94a3b8; }
body.dark-mode .tac-help-btn    { border-color: #4a5568; color: #9ca3af; }
body.dark-mode .tac-search-inline {
  background: #2d3748 !important;
  border-color: #4a5568 !important;
}
body.dark-mode .tac-search-inline:focus-within { background: #1e2d4a !important; }
body.dark-mode .tac-search-input {
  color: #e2e8f0 !important;
  background: transparent !important;
}
body.dark-mode .tac-search-input::placeholder { color: #6b7280 !important; }
body.dark-mode .tac-search-inline svg { color: #6b7280 !important; }

/* Sidebar — re-token the CSS variables so every sidebar selector updates automatically */
body.dark-mode {
  --tac-sidebar-bg:      #0d1f3c;
  --tac-sidebar-active:  #1e3a8f;
  --tac-sidebar-hover:   rgba(255,255,255,.07);
  --tac-sidebar-text:    rgba(255,255,255,.78);
  --tac-sidebar-muted:   rgba(255,255,255,.38);
  --tac-sidebar-divider: rgba(255,255,255,.10);
}

/* Body background */
body.dark-mode .body   { background: #0f1729 !important; }

/* Toolbar / breadcrumbs */
body.dark-mode .toolbar {
  background: #1e2a3a !important;
  border-color: #2d3748 !important;
}
body.dark-mode .breadcrumbs a  { color: #60a5fa !important; }
body.dark-mode .breadcrumbs    { color: #9ca3af !important; }

/* Article content */
body.dark-mode .article { background: #111827 !important; }
body.dark-mode main.article { background: transparent !important; }
body.dark-mode main.article > .content { background: #111827; border-color: #2d3748; }
body.dark-mode .doc h1.page { color: #93c5fd !important; }
body.dark-mode .guide-card:hover { border-color: #4a5568 !important; }
body.dark-mode .tac-search-inline:hover { border-color: #718096 !important; }
body.dark-mode .doc     { color: #d1d5db !important; }
body.dark-mode .doc h1, body.dark-mode .doc h2,
body.dark-mode .doc h3, body.dark-mode .doc h4 { color: #e2e8f0 !important; }
body.dark-mode .doc a   { color: #60a5fa !important; }
body.dark-mode .doc a:hover { color: #93c5fd !important; }

/* Tables */
body.dark-mode .doc table   { background: #1e2a3a !important; color: #d1d5db !important; }
body.dark-mode .doc thead tr { background: #2d3748 !important; }
body.dark-mode .doc td,
body.dark-mode .doc th      { border-color: #374151 !important; }

/* Code blocks */
body.dark-mode .doc pre,
body.dark-mode .doc .listingblock pre {
  background: #1e2a3a !important;
  border-color: #374151 !important;
}
body.dark-mode .doc code { color: #93c5fd !important; }

/* Admonitions */
body.dark-mode .doc .admonitionblock { background: #1e2a3a !important; border-color: #374151 !important; }
body.dark-mode .doc .admonitionblock td { color: #d1d5db !important; }

/* TOC */
body.dark-mode .toc-menu a  { color: #9ca3af !important; }
body.dark-mode .toc         { background: #111827 !important; }

/* Home page cards */
body.dark-mode .home-main   { background: #0f1729 !important; }
body.dark-mode .home-welcome { color: #e2e8f0 !important; }
body.dark-mode .guide-card  {
  background: #1e2a3a !important;
  border-color: #374151 !important;
}
body.dark-mode .guide-card-title { color: #93c5fd !important; }
body.dark-mode .guide-card-desc  { color: #9ca3af !important; }
body.dark-mode .guide-card-icon-wrap { background: #1e3a8f44 !important; }

/* Downloads page */
body.dark-mode .downloads-grid table a { background: #1d4ed8 !important; }

/* ----------------------------------------------------------------
   Body — flex-start so position:sticky works on the sidebar
   ---------------------------------------------------------------- */
.body {
  align-items: flex-start !important;
  background: var(--tac-body-bg) !important;
}

/* ----------------------------------------------------------------
   Sidebar — CCI drawer blue with its own independent scroll
   (position/size live in the desktop layout block above)
   ---------------------------------------------------------------- */
.nav-container {
  background: var(--tac-sidebar-bg) !important;
  will-change: width;
  /* Thin, unobtrusive scrollbar inside the sidebar (CCI hides it entirely) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent !important;
}

/* Below desktop: Antora's site.js shows/hides the drawer; keep it CCI-styled */
@media screen and (max-width: 1023.5px) {
  .nav-container {
    top: var(--tac-header-h) !important;
    width: var(--tac-sidebar-w) !important;
    height: calc(100vh - var(--tac-header-h)) !important;
    overflow-y: auto !important;
  }
  .nav { position: static !important; height: auto !important; min-height: 100%; }
  .body { padding-top: 0 !important; }
}

.nav-container::-webkit-scrollbar { width: 4px; }
.nav-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 2px;
}
.nav-container::-webkit-scrollbar-track { background: transparent; }

/* ----------------------------------------------------------------
   Nav toggle button — shown in the header logo area
   ---------------------------------------------------------------- */
.tac-nav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tac-sidebar-text);   /* CCI drawer toggle: text-white-90 ghost button */
  border-radius: var(--tac-radius-sm);
  flex-shrink: 0;
  transition: background .15s, color .15s;
  padding: 0;
}

.tac-nav-toggle-btn:hover {
  background: var(--tac-sidebar-hover);
  color: white;
}

/* The SVG icon lines */
.tac-nav-toggle-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}

.nav,
.nav .panels,
.nav-panel-menu,
.nav-panel-explore {
  background: var(--tac-sidebar-bg) !important;
}

/* ----------------------------------------------------------------
   Portal navigation inside sidebar
   ---------------------------------------------------------------- */
.tac-portal-nav {
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  min-height: 100%;
  box-sizing: border-box;
}

/* Nav item base — CCI SideNav row: py-4 px-2 + ml-1.5, gap-3, text-sm font-medium */
.tac-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 16px 16px 16px 16px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--tac-sidebar-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.tac-nav-item:hover {
  background: var(--tac-sidebar-hover);
  color: white !important;
}

/* Active row: bg-white-20 + 4px white left bar (CCI .sidenav-item--active::before) */
.tac-nav-item.is-current,
.tac-nav-item.is-current:hover {
  background: var(--tac-sidebar-active);
  color: white !important;
}

.tac-nav-item.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  border-radius: 0 2px 2px 0;
}

/* Disabled row — CCI SideNav disabled item: opacity-40, cursor-not-allowed, no hover/click */
.tac-nav-item.is-disabled,
.tac-nav-item.is-disabled:hover {
  opacity: .4;
  cursor: not-allowed;
  background: none;
  color: var(--tac-sidebar-text) !important;
}

.tac-nav-item:focus-visible {
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: -2px;
}

/* Nav icons — CCI uses outlined Material icons at text-base */
.tac-nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Section label */
.tac-nav-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tac-sidebar-muted);
  padding: 16px 16px 8px 16px;
}

/* Divider — CCI .sidenav-footer border */
.tac-nav-divider {
  height: 1px;
  background: var(--tac-sidebar-divider);
  margin: 8px 0;
}

/* ----------------------------------------------------------------
   nav-tree chapter/page tree — rendered inside .tac-portal-nav
   ----------------------------------------------------------------
   IMPORTANT: The default site.css has `.nav-list { display:none }` and
   only shows `.nav-list:first-child`. All nested chapter lists are hidden
   by default and revealed by JavaScript (current-path tracking).
   We override this entirely so chapters are ALWAYS visible inside
   .tac-portal-nav — no JS required.
   ---------------------------------------------------------------- */

/* Override site.css's display:none for nested nav-lists */
.tac-portal-nav .nav-list,
.tac-portal-nav .nav-list .nav-list {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each tree item: block, not flex (avoids flex side-effects on nesting); no site.css top margin
   so rows sit flush like CCI submenu rows */
.tac-portal-nav .nav-item {
  display: block !important;
  margin-top: 0 !important;
}

/* Hide the expand/collapse toggle button — items are always expanded */
.tac-portal-nav .nav-item-toggle {
  display: none !important;
}

/* Section heading (e.g. "User Guide" — has no link, just nav-text) */
.tac-portal-nav .nav-text {
  display: block;
  padding: 16px 16px 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tac-sidebar-muted) !important;
  text-decoration: none !important;
}

/* Chapter / page links — CCI submenu row: text-sm font-medium, indented under the icon column */
.tac-portal-nav .nav-link {
  position: relative;
  display: block;
  padding: 16px 16px 16px 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tac-sidebar-text) !important;
  text-decoration: none !important;
  line-height: 1.35;
  transition: background .15s, color .15s;
}

.tac-portal-nav .nav-link:hover {
  background: var(--tac-sidebar-hover);
  color: white !important;
}

/* Current / active page — bg-white-20 + 4px white bar */
.tac-portal-nav .nav-item.is-current-page > .nav-link {
  color: white !important;
  background: var(--tac-sidebar-active);
  font-weight: 500;
}

.tac-portal-nav .nav-item.is-current-page > .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  border-radius: 0 2px 2px 0;
}

/* Nested sub-chapter links — extra indent */
.tac-portal-nav .nav-item[data-depth="2"] > .nav-link,
.tac-portal-nav .nav-item[data-depth="3"] > .nav-link {
  padding-left: 60px;
  font-size: 14px;
}

.tac-portal-nav .nav-item[data-depth="3"] > .nav-link {
  padding-left: 72px;
}

/* Legacy class support — used by default Antora nav-panel-menu */
.nav-panel-menu a,
.nav-panel-menu .context,
.nav-panel-menu .title {
  color: var(--tac-sidebar-text) !important;
}

.nav-panel-menu a:hover {
  background: var(--tac-sidebar-hover) !important;
  color: white !important;
}

.nav-panel-menu a.is-current-page {
  color: white !important;
  background: var(--tac-sidebar-active) !important;
}

/* ----------------------------------------------------------------
   Body & main content
   ---------------------------------------------------------------- */
/* Article pages: content sits on a white surface card inside the bluegrey-25 canvas
   (CCI pages: bg-bluegrey-25 main, white panels with bluegrey-100 border, 4px radius) */
main.article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent !important;
}

.toolbar {
  /* Sticky under the header: site.js offsets anchor jumps by the toolbar's bottom edge */
  position: sticky !important;
  top: var(--tac-header-h) !important;
  z-index: 20 !important;
  height: 44px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  color: var(--tac-text-muted) !important;
  background: white !important;
  border: none !important;
  border-radius: var(--tac-radius-sm) !important;
  box-shadow: none !important;
}

.toolbar .home-link { margin-left: 0 !important; }
.toolbar .edit-this-page { margin-left: auto; padding-right: 0; }

.toolbar .breadcrumbs a { color: var(--tac-brand) !important; }
.toolbar .breadcrumbs li:last-of-type { color: var(--tac-text); font-weight: 500; }

main.article > .content {
  background: white;
  border: 1px solid var(--tac-hover-bg);
  border-radius: var(--tac-radius-sm);
  padding: 16px 24px 32px;
}

/* Typography — bluegrey-900 body text, blue-500 links, medium-weight headings */
.doc { color: var(--tac-text); font-size: 14px; line-height: 1.5; }   /* body-2 / text-scale-7 */
.doc p, .doc li, .doc dd, .doc td { font-size: 14px; line-height: 1.5; }
/* site.css caps .doc at 46rem; with the 16px root that is only 736px — widen to fill the panel */
@media screen and (min-width: 1024px) {
  .doc { max-width: 1000px; margin: 0 24px; }
  aside.toc.sidebar { flex: 0 0 240px; }
}
.doc strong, .doc b { font-weight: 700; }
.doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 { color: var(--tac-text); font-weight: 500; letter-spacing: 0; }
/* Page title — scale-4 bold (CCI page headings: text-scale-4 / font-bold) */
.doc h1.page, .doc > h1.page:first-child { color: var(--tac-text); font-size: 24px; line-height: 36px; font-weight: 700; margin: 8px 0 16px; }
.doc h1.sect0 { font-size: 24px; line-height: 36px; font-weight: 700; background: var(--tac-body-bg); }
/* Section headings — subtitle-2 (scale-5, medium) → scale-6 → scale-7 */
.doc h2 { font-size: 20px; line-height: 32px; }
.doc h2:not(.discrete) { border-bottom-color: var(--tac-border); }
.doc h3 { font-size: 16px !important; line-height: 24px; }   /* !important beats site.css h3:not(.discrete) */
.doc h3:not(.discrete), .doc h4:not(.discrete) { font-weight: 500; }
.doc h4, .doc h5, .doc h6 { font-size: 14px; line-height: 20px; }
.doc pre, .doc code { font-size: 13px; }
.doc .admonitionblock p, .doc .admonitionblock td.content, .doc .colist { font-size: 14px; }
.doc .imageblock .title, .doc .listingblock .title, .doc table.tableblock caption,
.doc .exampleblock .title, .doc .openblock .title { font-size: 12px; font-weight: 500; color: var(--tac-text-muted); }

/* Tables — CCI DataGrid: white, header cells font-medium bluegrey-900, horizontal gray-200 rules */
.doc table.tableblock {
  font-size: 14px;
  background: white;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}
.doc table.tableblock > * > tr > * {
  border-color: var(--tac-border) !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}
.doc table.tableblock td, .doc table.tableblock th { padding: 12px 16px; }
.doc table.tableblock > thead > tr > th { font-weight: 500; color: var(--tac-text); background: white; border-bottom-width: 2px !important; }

/* Admonitions — Quantum alert look */
.doc .admonitionblock > table { border-radius: var(--tac-radius-sm); }

/* Prev / Next pagination */
nav.pagination { border-top-color: var(--tac-border); font-size: 14px; }
nav.pagination a { color: var(--tac-brand); font-weight: 500; }
.doc a { color: var(--tac-brand); }
.doc a:hover { color: var(--tac-brand-hover); }
.doc table.tableblock, .doc th.tableblock, .doc td.tableblock { border-color: var(--tac-border); }
.doc pre, .doc .listingblock pre:not(.highlight) { border-radius: var(--tac-radius); }

.toc .toc-menu h3 { color: var(--tac-text); font-size: 14px; font-weight: 500; }
.toc .toc-menu ul { font-size: 14px !important; line-height: 20px !important; }
/* Keep the Contents panel below header (60) + sticky toolbar (44) + 16px gap */
.toc.sidebar .toc-menu { top: calc(var(--tac-header-h) + 60px) !important; }
.toc .toc-menu a { color: var(--tac-text-muted); }
.toc .toc-menu a.is-active { color: var(--tac-brand); font-weight: 500; box-shadow: inset 2px 0 0 var(--tac-brand); }

/* ----------------------------------------------------------------
   HOME PAGE
   ---------------------------------------------------------------- */
.home-main {
  flex: 1;
  background: transparent;
}

.home-container {
  max-width: 1200px;
  padding: 0;
}

.home-welcome {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--tac-text);
  margin: 0 0 1.5rem;
}

/* 2-column card grid */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Individual card — Quantum card: white, bluegrey-100 border, 4px radius */
.guide-card {
  background: white;
  border: 1px solid var(--tac-card-border);
  border-radius: var(--tac-radius);
  padding: 24px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow .2s, border-color .2s;
}

.guide-card:hover {
  border-color: var(--tac-border-strong);
  box-shadow: var(--tac-shadow-s);
}

/* Icon circle */
.guide-card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--tac-card-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-card-icon-wrap svg {
  width: 40px;
  height: 40px;
  color: var(--tac-card-icon-color);
}

/* Card body */
.guide-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: .25rem;
}

.guide-card-title {
  font-size: 20px;          /* subtitle-2: scale-5 medium */
  font-weight: 500;
  color: var(--tac-card-title) !important;
  margin: 0 0 8px;
  line-height: 1.35;
  text-decoration: none !important;
}

.guide-card-desc {
  font-size: 14px;
  color: var(--tac-card-desc);
  margin: 0 0 24px;
  line-height: 1.5;
  flex: 1;
}

/* Quantum filled medium button: 40px high, 2px radius, font-medium */
.guide-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  box-sizing: border-box;
  background: var(--tac-blue-btn);
  color: white !important;
  border-radius: var(--tac-radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  width: fit-content;
  transition: background .15s;
}

.guide-card-btn:hover {
  background: var(--tac-blue-btn-hover) !important;
}

/* ----------------------------------------------------------------
   Edit this Page — appears in the TOC sidebar, above Contents
   ---------------------------------------------------------------- */
.tac-edit-link {
  padding: .6rem .75rem .5rem;
  border-bottom: 1px solid var(--tac-border);
  margin-bottom: .5rem;
}

.tac-edit-link a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--tac-blue) !important;
  text-decoration: none !important;
  transition: color .15s;
}

.tac-edit-link a:hover { color: var(--tac-blue-dark) !important; text-decoration: underline !important; }

.tac-edit-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Dark mode */
body.dark-mode .tac-edit-link { border-color: #374151; }
body.dark-mode .tac-edit-link a { color: #60a5fa !important; }

/* ----------------------------------------------------------------
   Downloads page — make the table download links stand out
   ---------------------------------------------------------------- */
.doc .downloads-grid table a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  background: var(--tac-blue-btn);
  color: white !important;
  border-radius: var(--tac-radius-sm);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
}

.doc .downloads-grid table a:hover {
  background: var(--tac-blue-btn-hover) !important;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tac-portal-title { display: none; }
  .tac-search-col { display: none; }
  .home-container { padding: 1.5rem 1rem; }
}

/* ----------------------------------------------------------------
   Lunr search results — dark mode overrides
   (extension's search.css has no dark theme; override it here)
   ---------------------------------------------------------------- */
body.dark-mode .search-result-dropdown-menu { color: #e2e8f0; }
body.dark-mode .search-result-dataset {
  background: #1e2d4a !important;
  border-color: #4a5568 !important;
}
body.dark-mode .search-result-component-header {
  color: #93c5fd !important;
  border-color: #4a5568 !important;
}
body.dark-mode .search-result-document-title {
  color: #93c5fd !important;
  border-color: #4a5568 !important;
}
body.dark-mode .search-result-title { color: #e2e8f0 !important; }
body.dark-mode .search-result-highlight { background: rgba(30,58,143,.35) !important; }

/* ----------------------------------------------------------------
   Header version selector
   ---------------------------------------------------------------- */
.tac-version-select {
  position: relative;
}

.tac-version-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  height: 28px;
  padding: 0 .65rem;
  border: 1px solid var(--tac-border-strong);
  border-radius: var(--tac-radius-sm);
  background: none;
  cursor: pointer;
  color: var(--tac-brand);
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}

.tac-version-btn:hover {
  border-color: var(--tac-brand);
  background: var(--tac-hover-bg);
}

.tac-version-caret {
  opacity: .6;
  transition: transform .2s;
}

.tac-version-select.is-open .tac-version-caret {
  transform: rotate(180deg);
}

.tac-version-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 120px;
  background: white;
  border: 1px solid var(--tac-border);
  border-radius: var(--tac-radius);
  box-shadow: var(--tac-shadow-m);
  z-index: 300;
  padding: .3rem 0;
  flex-direction: column;
}

.tac-version-select.is-open .tac-version-menu {
  display: flex;
}

.tac-version-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .9rem;
  font-size: 14px;
  color: #374151 !important;
  text-decoration: none !important;
  transition: background .1s;
  white-space: nowrap;
  gap: .5rem;
}

.tac-version-item:hover {
  background: var(--tac-hover-bg);
  color: var(--tac-blue) !important;
}

.tac-version-item.is-current {
  color: var(--tac-blue) !important;
  font-weight: 600;
}

.tac-version-item.is-missing {
  opacity: .5;
  font-style: italic;
}

.tac-version-check {
  color: var(--tac-blue);
  font-size: 14px;
  flex-shrink: 0;
}

/* Dark mode — version selector */
body.dark-mode .tac-version-btn {
  border-color: #4a5568;
  color: #93c5fd;
}
body.dark-mode .tac-version-btn:hover {
  border-color: #93c5fd;
  background: rgba(147,197,253,.08);
}
body.dark-mode .tac-version-menu {
  background: #1e2a3a;
  border-color: #2d3748;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
body.dark-mode .tac-version-item { color: #e2e8f0 !important; }
body.dark-mode .tac-version-item:hover {
  background: #2d3748;
  color: #93c5fd !important;
}
body.dark-mode .tac-version-item.is-current { color: #93c5fd !important; }
body.dark-mode .tac-version-check { color: #93c5fd; }

/* ----------------------------------------------------------------
   Swagger UI page
   ---------------------------------------------------------------- */
main.swagger-page .content.swagger-content { max-width: none; }
main.swagger-page .doc { max-width: none; padding: 1rem 1.5rem; }

/* Hide Swagger's own top bar — TAC header replaces it */
.swagger-ui .topbar { display: none !important; }

/* Dark mode — basic legibility */
body.dark-mode #swagger-ui { background: #0f1729; }
body.dark-mode .swagger-ui .info .title,
body.dark-mode .swagger-ui .info p,
body.dark-mode .swagger-ui label,
body.dark-mode .swagger-ui table thead tr th { color: #e2e8f0; }
body.dark-mode .swagger-ui .opblock-summary-description { color: #94a3b8; }

/* ----------------------------------------------------------------
   Notification button
   ---------------------------------------------------------------- */
.tac-notif-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  border-radius: var(--tac-radius-sm);
  cursor: pointer;
  color: var(--tac-brand);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.tac-notif-btn:hover {
  background: var(--tac-hover-bg);
  color: var(--tac-brand);
}

body.dark-mode .tac-notif-btn { color: #e2e8f0; }
body.dark-mode .tac-notif-btn:hover { background: #2d3748; color: #93c5fd; }

/* ----------------------------------------------------------------
   Language selector
   ---------------------------------------------------------------- */
.tac-lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 4px;
  border-radius: var(--tac-radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--tac-brand);
  background: none;
  border: 1px solid transparent;
  transition: border-color .15s, color .15s, background .15s;
  position: relative;
  user-select: none;
  flex-shrink: 0;
}

.tac-lang-selector:hover {
  background: var(--tac-hover-bg);
  color: var(--tac-brand);
}

.tac-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--tac-border);
  border-radius: var(--tac-radius);
  box-shadow: var(--tac-shadow-m);
  z-index: 1000;
  overflow: hidden;
}

.tac-lang-dropdown.is-open { display: block; }

.tac-lang-option {
  display: block;
  width: 100%;
  padding: .55rem 1rem;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--tac-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .12s;
}

.tac-lang-option:hover { background: var(--tac-hover-bg); color: var(--tac-brand); }
.tac-lang-option.is-active { color: var(--tac-brand); background: var(--tac-brand-50); font-weight: 500; }

body.dark-mode .tac-lang-selector { color: #e2e8f0; }
body.dark-mode .tac-lang-selector:hover { background: #2d3748; color: #93c5fd; }
body.dark-mode .tac-lang-dropdown { background: #1e2a3a; border-color: #2d3748; }
body.dark-mode .tac-lang-option { color: #e2e8f0; }
body.dark-mode .tac-lang-option:hover { background: #2d3748; color: #93c5fd; }

/* ----------------------------------------------------------------
   User menu dropdown
   ---------------------------------------------------------------- */

.tac-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--tac-border);
  border-radius: var(--tac-radius);
  box-shadow: var(--tac-shadow-m);
  z-index: 1000;
  overflow: hidden;
}

.tac-user-dropdown.is-open {
  display: block;
}

.tac-user-dropdown-header {
  padding: .75rem 1.25rem;
}

.tac-user-dropdown-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--tac-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tac-user-dropdown-account {
  font-size: .75rem;
  color: var(--tac-text-muted);
  margin-top: .15rem;
}

.tac-user-dropdown-divider {
  height: 1px;
  background: var(--tac-border);
  margin: 0;
}

/* Roles section — CCI-style */
.tac-user-roles-section {
  padding: .5rem 1.25rem;
}

.tac-user-roles-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tac-text-muted);
  margin-bottom: .3rem;
}

.tac-user-roles-list {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.tac-user-role-tag {
  font-size: .875rem;
  color: var(--tac-text);
  padding: .125rem 0;
}

.tac-user-role-loading {
  font-size: 14px;
  color: #9ca3af;
}

/* Actions row */
.tac-user-dropdown-actions {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.tac-user-dropdown-logout {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 2.5rem;
  box-sizing: border-box;
  padding: 0 .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--tac-brand);
  text-decoration: none;
  border-radius: var(--tac-radius-sm);
  border: 2px solid var(--tac-brand);
  transition: background .12s, color .12s, border-color .12s;
}

.tac-user-dropdown-logout:hover {
  background: var(--tac-brand-50);
  color: var(--tac-brand-hover);
  border-color: var(--tac-brand-hover);
  text-decoration: none;
}

/* Dark mode */
body.dark-mode .tac-user-dropdown {
  background: #1e2a3a;
  border-color: #2d3748;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

body.dark-mode .tac-user-dropdown-name { color: #93c5fd; }
body.dark-mode .tac-user-dropdown-divider { background: #2d3748; }
body.dark-mode .tac-user-dropdown-item { color: #e2e8f0; }
body.dark-mode .tac-user-dropdown-item:hover {
  background: #2d3748;
  color: #93c5fd;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer.tac-footer {
  background: var(--tac-body-bg);
  border-top: 1px solid var(--tac-border);
  padding: 12px 16px !important;
  text-align: center;
}

.tac-footer-copy {
  font-size: 12px;
  color: var(--tac-text-muted);
}

body.dark-mode .tac-footer {
  background: #0f1729;
  border-top-color: #1e2a3a;
}

body.dark-mode .tac-footer-copy { color: #4a5568; }

/* ----------------------------------------------------------------
   Role-based visibility
   Elements with data-requires-role="admin" are hidden until
   tac-portal.js fetches /docs/userinfo and confirms admin role.
   ---------------------------------------------------------------- */
[data-requires-role="admin"] {
  display: none !important;
}

[data-requires-role="admin"].role-visible {
  display: revert !important;
}

/* `revert` drops role-gated elements back to their UA display (an <a> becomes inline), which broke the
   flex layout of the Admin Guide sidebar row. Restore the component's own display. */
.tac-nav-item[data-requires-role="admin"].role-visible { display: flex !important; }
.guide-card[data-requires-role="admin"].role-visible { display: flex !important; }

/* Edit this page button — admin only, shown inline after page title */
.edit-this-page {
  margin-top: 0;
}

/* Quantum outline button, size small: 32px, 2px brand border, 2px radius, 14px/500 */
.edit-this-page a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  box-sizing: border-box;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--tac-brand) !important;
  background: white;
  text-decoration: none;
  border: 2px solid var(--tac-brand);
  border-radius: var(--tac-radius-sm);
  transition: background .15s, color .15s, border-color .15s;
}

.edit-this-page a::before {
  content: "✎";
  font-size: 14px;
}

.edit-this-page a:hover {
  background: var(--tac-brand-50);
  border-color: var(--tac-brand-hover);
  color: var(--tac-brand-hover) !important;
}

body.dark-mode .edit-this-page a {
  color: #93c5fd !important;
  background: transparent;
  border-color: #93c5fd;
}

body.dark-mode .edit-this-page a:hover {
  background: #93c5fd;
  color: #0f1729 !important;
}

/* CCI body-2 triggers / menu rows: 14px / 20px line-height */
.tac-lang-current, .tac-user-name, .tac-portal-nav .nav-link { line-height: 20px; }
