/* Alleen de interne The Agent-shell. Bestaande thema-, kaart- en tabeltokens blijven behouden. */
.ta-shell .ta-brand { gap: 10px; }
.ta-shell .ta-brand-copy { display: grid; gap: 1px; min-width: 0; }
.ta-shell .ta-brand-name { font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.ta-shell .ta-brand-subtitle { color: var(--muted); font-size: .74rem; font-weight: 500; letter-spacing: .01em; }
.ta-shell .ta-nav-label { color: var(--muted); font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; padding: 0 12px 5px; }
.ta-shell .ta-nav-group { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.ta-shell .ta-nav-group > summary { cursor: pointer; padding: 9px 12px; font-weight: 650; border-radius: 10px; }
.ta-shell .ta-nav-group > summary:hover { background: var(--bg); }
.ta-shell .ta-nav-group > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ta-shell .ta-nav-module { font-size: .65rem; font-weight: 500; color: var(--muted); margin-left: 3px; }
.ta-shell .ta-nav-children { display: grid; gap: 2px; padding-left: 11px; margin-top: 4px; border-left: 1px solid var(--line); }
.ta-shell .ta-nav-children a { font-size: .9rem; padding: 8px 12px; }
.ta-shell .ta-preview-note { font-size: .78rem; margin: auto 0 0; line-height: 1.6; }
.ta-shell .sidebar { overflow-y: auto; }
.ta-shell .ta-module-note { max-width: 760px; }
@media (max-width: 900px) {
  .ta-shell .sidebar { overflow-y: visible; }
  .ta-shell #nav { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .ta-shell .ta-nav-label { display: none; }
  .ta-shell .ta-nav-group { margin-top: 6px; padding-top: 6px; }
  .ta-shell .ta-nav-children { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .ta-shell .ta-preview-note { margin: 0; }
}
