@import url("tryb4host-shared-menu.css");

:root {
  --tb-bg: #030712;
  --tb-bg-elevated: #0b1120;
  --tb-panel: rgba(15, 23, 42, 0.72);
  --tb-panel-solid: #0f172a;
  --tb-panel-soft: rgba(15, 23, 42, 0.56);
  --tb-border: rgba(148, 163, 184, 0.14);
  --tb-border-strong: rgba(148, 163, 184, 0.26);
  --tb-text: #f8fafc;
  --tb-text-secondary: #cbd5e1;
  --tb-text-muted: #94a3b8;
  --tb-cyan: #22d3ee;
  --tb-blue: #38bdf8;
  --tb-violet: #8b5cf6;
  --tb-emerald: #34d399;
  --tb-amber: #f59e0b;
  --tb-rose: #fb7185;
  --tb-gradient: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 48%, #8b5cf6 100%);
  --tb-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
  --tb-radius-lg: 24px;
  --tb-radius-md: 18px;
  --tb-radius-sm: 14px;
  --tb-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.12), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.14), transparent 32%),
    linear-gradient(180deg, #020617 0%, #071120 50%, #020617 100%);
  color: var(--tb-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100%;
  overflow-x: hidden;
}

body.tb-public-page #wrapper,
body.tb-public-page #content {
  background: transparent;
}

body.tb-public-page {
  position: relative;
}

body.tb-public-page::before,
body.tb-public-page::after {
  content: '';
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

body.tb-public-page::before {
  top: 8rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.82), transparent 70%);
}

body.tb-public-page::after {
  right: -14rem;
  bottom: 10rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.82), transparent 68%);
}

body.tb-public-page .no-bottom.no-top,
body.tb-public-page .tb-shell,
body.tb-public-page .tb-public-footer {
  position: relative;
  z-index: 1;
}

body.tb-public-page #de-loader {
  display: none !important;
}

body.tb-public-page:not(.tb-public) header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.74);
  border-bottom: 1px solid rgba(103, 232, 249, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

body.tb-public-page:not(.tb-public) header.has-topbar {
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
}

body.tb-public-page:not(.tb-public) #topbar {
  background: rgba(5, 9, 20, 0.56);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

body.tb-public-page:not(.tb-public) #topbar .topbar-widget,
body.tb-public-page:not(.tb-public) #topbar .topbar-widget a {
  color: var(--tb-text-secondary);
}

body.tb-public-page:not(.tb-public) #topbar .topbar-widget a:hover {
  color: var(--tb-cyan);
}

body.tb-public-page:not(.tb-public) header .de-flex.sm-pt10 {
  align-items: center;
  min-height: 84px;
  padding: 0;
}

body.tb-public-page:not(.tb-public) #logo img.logo-main,
body.tb-public-page:not(.tb-public) #logo img.logo-mobile {
  height: 38px;
  width: auto;
}

body.tb-public-page:not(.tb-public) header #mainmenu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

body.tb-public-page:not(.tb-public) header #mainmenu > li > a {
  color: var(--tb-text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  transition: color 0.25s var(--tb-ease), background 0.25s var(--tb-ease), transform 0.25s var(--tb-ease);
}

body.tb-public-page:not(.tb-public) header #mainmenu > li > a:hover,
body.tb-public-page:not(.tb-public) header #mainmenu > li > a:focus,
body.tb-public-page:not(.tb-public) header #mainmenu > li:hover > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

body.tb-public-page:not(.tb-public) .menu_side_area {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

body.tb-public-page:not(.tb-public) .menu_side_area .btn-main {
  margin: 0;
  border-radius: 999px;
  background: var(--tb-gradient);
  color: #04111f;
  font-weight: 800;
  padding: 0.95rem 1.45rem;
  border: none;
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22);
}

body.tb-public-page:not(.tb-public) .menu_side_area .btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(14, 165, 233, 0.3);
}

body.tb-public-page:not(.tb-public) #menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.tb-shell {
  padding-top: 8.75rem;
}

.tb-page-hero {
  padding: 5.5rem 0 2.5rem;
}

.tb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.tb-hero-card,
.tb-surface,
.tb-stat-card,
.tb-server-card,
.tb-timeline-item,
.tb-legal-section,
.tb-admin-card,
.tb-note-band {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.66) 100%);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tb-hero-card {
  padding: 2.25rem;
  min-height: 100%;
  overflow: hidden;
}

.tb-hero-card--accent {
  position: relative;
}

.tb-hero-card--accent::before {
  content: '';
  position: absolute;
  inset: -30% auto auto 58%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 66%);
  pointer-events: none;
}

.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(15, 23, 42, 0.7);
  color: #67e8f9;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tb-eyebrow::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.64);
}

.tb-page-title {
  margin: 1.35rem 0 0.95rem;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.tb-page-title span {
  display: block;
  background: var(--tb-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow-wrap: anywhere;
}

.tb-page-copy,
.tb-legal-section p,
.tb-note-band p,
.tb-field-hint,
.tb-empty-state p,
.tb-public-footer-copy p {
  color: var(--tb-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.tb-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.tb-hero-metric {
  padding: 1rem 1.05rem;
  border-radius: var(--tb-radius-md);
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.tb-hero-metric strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.tb-hero-metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--tb-text-muted);
  font-size: 0.87rem;
}

.tb-action-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.tb-button,
.tb-button-secondary,
.tb-button-ghost,
.tb-button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.92rem 1.4rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--tb-ease), box-shadow 0.25s var(--tb-ease), background 0.25s var(--tb-ease), color 0.25s var(--tb-ease), border-color 0.25s var(--tb-ease);
}

.tb-button {
  background: var(--tb-gradient);
  color: #021018;
  box-shadow: 0 18px 32px rgba(14, 165, 233, 0.22);
}

.tb-button-secondary {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
  color: #fff;
}

.tb-button-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--tb-text-secondary);
}

.tb-button-danger {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.26);
  color: #fecdd3;
}

.tb-button:hover,
.tb-button-secondary:hover,
.tb-button-ghost:hover,
.tb-button-danger:hover {
  transform: translateY(-2px);
  color: inherit;
}

.tb-surface {
  padding: 1.6rem;
}

.tb-surface h2,
.tb-panel-title,
.tb-legal-section h2,
.tb-legal-section h3 {
  color: #fff;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tb-surface h2,
.tb-panel-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tb-meta-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.tb-meta-list div {
  padding: 1rem 1.05rem;
  border-radius: var(--tb-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.52);
}

.tb-meta-list strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.tb-meta-list span {
  color: var(--tb-text-muted);
  font-size: 0.9rem;
}

.tb-section {
  padding: 1.3rem 0 0;
}

.tb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.tb-section-copy {
  max-width: 42rem;
}

.tb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tb-kicker::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.tb-stat-grid,
.tb-server-grid,
.tb-legal-grid {
  display: grid;
  gap: 1rem;
}

.tb-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tb-server-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tb-stat-card,
.tb-server-card,
.tb-admin-card {
  padding: 1.4rem;
}

.tb-stat-card strong,
.tb-server-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}

.tb-stat-card span,
.tb-server-card span,
.tb-stat-card p,
.tb-server-card p {
  display: block;
  margin-top: 0.45rem;
  color: var(--tb-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tb-stat-card p,
.tb-server-card p {
  color: var(--tb-text-secondary);
}

.tb-status-pill,
.tb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: var(--tb-text-secondary);
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
}

.tb-status-pill::before,
.tb-chip::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: currentColor;
}

.is-health-stable {
  color: #6ee7b7;
}

.is-health-attention {
  color: #fbbf24;
}

.is-health-neutral {
  color: #cbd5e1;
}

.tb-server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.tb-timeline {
  display: grid;
  gap: 1rem;
}

.tb-timeline-item {
  position: relative;
  padding: 1.55rem 1.55rem 1.55rem 4.25rem;
}

.tb-timeline-item::before {
  content: '';
  position: absolute;
  top: 1.7rem;
  left: 1.45rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--tb-gradient);
  box-shadow: 0 0 0 0.45rem rgba(34, 211, 238, 0.14);
}

.tb-timeline-item::after {
  content: '';
  position: absolute;
  top: 2.7rem;
  bottom: -1.25rem;
  left: 1.93rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.46), rgba(148, 163, 184, 0));
}

.tb-timeline-item:last-child::after {
  display: none;
}

.tb-timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.tb-timeline-title {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tb-timeline-summary {
  color: var(--tb-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.tb-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tb-note-band {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1rem;
  align-items: center;
}

.tb-note-band strong {
  color: #fff;
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.tb-empty-state {
  padding: 1.7rem;
  border-radius: var(--tb-radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.42);
}

.tb-admin-shell {
  padding-bottom: 3rem;
}

.tb-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1rem;
}

.tb-admin-card.is-hidden {
  display: none;
}

.tb-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tb-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.tb-field-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.tb-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tb-field label {
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
}

.tb-field input,
.tb-field select,
.tb-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.52);
  color: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 0.2s var(--tb-ease), box-shadow 0.2s var(--tb-ease), background 0.2s var(--tb-ease);
}

.tb-field select,
.tb-field input[type='datetime-local'] {
  color-scheme: dark;
}

.tb-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.tb-field input:focus,
.tb-field select:focus,
.tb-field textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.56);
  box-shadow: 0 0 0 0.18rem rgba(34, 211, 238, 0.12);
}

.tb-field-check {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--tb-text-secondary);
  font-weight: 700;
  margin-top: 0.2rem;
}

.tb-field-check input {
  width: auto;
}

.tb-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tb-message {
  display: none;
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 700;
}

.tb-message.is-visible {
  display: block;
}

.tb-message.is-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
  color: #bbf7d0;
}

.tb-message.is-error {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.28);
  color: #fecdd3;
}

.tb-message.is-info {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.24);
  color: #bfdbfe;
}

.tb-table-wrap {
  overflow-x: auto;
}

.tb-admin-table {
  width: 100%;
  border-collapse: collapse;
}

.tb-admin-table th,
.tb-admin-table td {
  padding: 0.9rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
}

.tb-admin-table th {
  color: var(--tb-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tb-admin-table td {
  color: var(--tb-text-secondary);
  font-size: 0.92rem;
}

.tb-admin-row-title {
  display: block;
  color: #fff;
  font-weight: 700;
}

.tb-admin-row-copy {
  display: block;
  margin-top: 0.35rem;
  color: var(--tb-text-muted);
  line-height: 1.55;
}

.tb-inline-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tb-inline-button {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.tb-inline-button:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: #fff;
}

.tb-inline-button.is-danger {
  border-color: rgba(251, 113, 133, 0.24);
  color: #fecdd3;
}

.tb-anchor-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.tb-anchor-nav a {
  color: var(--tb-text-secondary);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.7rem 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tb-anchor-nav a:hover {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.32);
}

.tb-legal-section {
  padding: 1.8rem;
}

.tb-legal-section h2 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.tb-legal-section h3 {
  font-size: 1.05rem;
  margin: 1.15rem 0 0.4rem;
}

.tb-legal-section ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--tb-text-secondary);
}

.tb-legal-section li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}

.tb-legal-highlight {
  border-radius: var(--tb-radius-md);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.52);
  padding: 1rem 1.1rem;
  margin-top: 1rem;
}

.tb-public-footer {
  padding: 2rem 0 2.35rem;
}

.tb-public-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1rem;
  padding: 1.65rem;
  border-radius: var(--tb-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.58) 100%);
  box-shadow: var(--tb-shadow);
}

.tb-public-footer-copy img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.tb-public-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  align-content: start;
}

.tb-public-footer-links a {
  color: var(--tb-text-secondary);
  text-decoration: none;
  font-weight: 700;
  padding-bottom: 0.2rem;
}

.tb-public-footer-links a:hover {
  color: var(--tb-cyan);
}

.tb-public-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  color: var(--tb-text-muted);
  font-size: 0.88rem;
}

.tb-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--tb-ease), transform 0.7s var(--tb-ease);
}

.tb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .tb-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tb-server-grid,
  .tb-admin-layout,
  .tb-legal-grid,
  .tb-hero-grid,
  .tb-public-footer-grid,
  .tb-note-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  body.tb-public-page:not(.tb-public) #topbar {
    display: none;
  }

  body.tb-public-page:not(.tb-public) header .de-flex.sm-pt10 {
    min-height: 72px;
  }

  .tb-shell {
    padding-top: 7.65rem;
  }

  body.tb-public-page:not(.tb-public) header #mainmenu {
    background: rgba(3, 7, 18, 0.96);
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
  }

  body.tb-public-page:not(.tb-public) header #mainmenu > li {
    width: 100%;
  }

  body.tb-public-page:not(.tb-public) header #mainmenu > li > a {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .tb-page-hero {
    padding-top: 4.65rem;
  }

  .tb-page-title {
    font-size: 2.45rem;
  }

  .tb-hero-card,
  .tb-surface,
  .tb-stat-card,
  .tb-server-card,
  .tb-timeline-item,
  .tb-legal-section,
  .tb-admin-card,
  .tb-note-band,
  .tb-public-footer-grid {
    padding: 1.25rem;
  }

  .tb-stat-grid,
  .tb-server-grid,
  .tb-field-grid,
  .tb-hero-metrics,
  .tb-public-footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .tb-action-row > * {
    width: 100%;
  }

  .tb-timeline-item {
    padding: 1.2rem 1rem 1.2rem 3rem;
  }

  .tb-timeline-item::before {
    top: 1.35rem;
    left: 1rem;
    width: 0.85rem;
    height: 0.85rem;
  }

  .tb-timeline-item::after {
    top: 2.1rem;
    left: 1.39rem;
  }

  .tb-timeline-head,
  .tb-note-band .tb-action-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tb-section-head,
  .tb-admin-toolbar,
  .tb-public-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .tb-shell {
    padding-top: 7.1rem;
  }

  .tb-page-hero {
    padding-top: 4.1rem;
  }

  .tb-page-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .tb-eyebrow,
  .tb-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .tb-hero-card,
  .tb-surface,
  .tb-stat-card,
  .tb-server-card,
  .tb-timeline-item,
  .tb-legal-section,
  .tb-admin-card,
  .tb-note-band,
  .tb-public-footer-grid {
    padding: 1rem;
  }

  .tb-timeline-head {
    gap: 0.7rem;
  }

  .tb-timeline-item {
    padding: 1rem 0.9rem 1rem 2.7rem;
  }

  .tb-timeline-item::before {
    top: 1.15rem;
    left: 0.9rem;
    width: 0.78rem;
    height: 0.78rem;
    box-shadow: 0 0 0 0.3rem rgba(34, 211, 238, 0.14);
  }

  .tb-timeline-item::after {
    top: 1.85rem;
    left: 1.26rem;
  }

  .tb-admin-table th,
  .tb-admin-table td {
    padding: 0.75rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .tb-reveal {
    opacity: 1;
    transform: none;
  }
}
