/**
 * Shell styles that work before Tailwind CDN finishes loading.
 * Prevents sidebar icon ligature names flashing as visible text.
 */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

html:not(.techdoc-fonts-ready) .material-symbols-outlined {
  overflow: hidden;
  width: 1.25rem;
  height: 1.25rem;
  color: transparent;
  user-select: none;
  vertical-align: middle;
}

[data-techdoc-nav-main] a,
[data-techdoc-nav-config] a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #c2c6d6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}

[data-techdoc-nav-main] a:hover,
[data-techdoc-nav-config] a:hover {
  color: #e1e2ec;
  background: rgba(50, 53, 60, 0.85);
}

[data-techdoc-nav-main] a.techdoc-nav-active,
[data-techdoc-nav-config] a.techdoc-nav-active {
  background: #3131c0;
  color: #e1e0ff;
  font-weight: 700;
}

[data-techdoc-nav-main]:empty::before,
[data-techdoc-nav-config]:empty::before {
  content: '';
  display: block;
  min-height: 2rem;
}
