/* Forum adapter for the shared brix_console_design. Loaded for SPA and SSR. */
html[data-brix-console-site] {
  --gb-bg: #e8ebe3; --gb-bg1: #fffef8; --gb-bg2: #8f9b94;
  --gb-bg3: #c8d2c9; --gb-fg: #101815; --gb-fg4: #4f5d57;
  --gb-gray: #4f5d57; --gb-red: #b42318; --gb-green: #21734b;
  --gb-yellow: #006f65; --gb-blue: #006f65; --gb-purple: #6941a5;
  --gb-aqua: #006f65; --gb-orange: #a83e12;
}
html[data-brix-console-site] body {
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
html[data-brix-console-site] :is(.gb-tabline, .gb-statusbar) { height: auto; min-height: 48px; }
html[data-brix-console-site] .gb-tabline { flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
html[data-brix-console-site] :is(.gb-tabline-left, .gb-tabline-right, .gb-header-nav) { min-width: 0; flex-wrap: wrap; height: auto; }
html[data-brix-console-site] :is(.gb-header-link, .gb-header-auth a, .gb-tab) { min-height: 44px; display: inline-flex; align-items: center; }
html[data-brix-console-site] :is(.gb-sidebar, .gb-main) { scrollbar-gutter: stable; }
html[data-brix-console-site] :is(.gb-btn, .gb-btn-primary, button[type="submit"]) { background: #006f65; color: #fff; border: 1px solid #006f65; box-shadow: none; }
html[data-brix-console-site] :is(.gb-btn, .gb-btn-primary, button[type="submit"]):hover { background: #00594f; color: #fff; }
html[data-brix-console-site] :is(input, textarea, select) { font-family: inherit; }
html[data-brix-console-site] :is(h1,h2,h3,p,td,th,a) { overflow-wrap: anywhere; }
html[data-brix-console-site] :is(.gb-table-wrap, .gb-table-scroll) { max-width: 100%; overflow-x: auto; }
html[data-brix-console-site] .gb-header-user { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  html[data-brix-console-site] .gb-tabline { padding: 8px; }
  html[data-brix-console-site] .gb-tabline-left { width: 100%; }
  html[data-brix-console-site] .gb-header-nav { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  html[data-brix-console-site] .gb-tabline-right { width: 100%; justify-content: space-between; }
  html[data-brix-console-site] .gb-statusbar { flex-wrap: wrap; padding: 8px; }
}
html[data-brix-console-site] .gb-toolbar { height: auto; min-height: 60px; overflow: visible; }
html[data-brix-console-site] .gb-toolbar-actions { align-items: center; }
html[data-brix-console-site] .gb-btn { min-height: 44px; }
html[data-brix-console-site] .gb-language { height: auto; min-height: 44px; }
html[data-brix-console-site] .gb-language-select { height: 44px; width: 160px; }
html[data-brix-console-site] .gb-language-prefix { line-height: 44px; }
html[data-brix-console-site] .gb-btn-danger { color: #b42318; background: #fffef8; border-color: #b42318; }
html[data-brix-console-site] .gb-btn-danger:hover { color: #fff; background: #b42318; }
/* Shared link selector includes an ID branch; keep action text legible. */
html[data-brix-console-site] a.gb-btn { color: #fff !important; }
html[data-brix-console-site] a.gb-btn-danger { color: #b42318 !important; }

/* Keep shared console headings compact inside the forum's fixed table columns. */
html[data-brix-console-site] .gb-table th {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .015em;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
html[data-brix-console-site] .gb-topic-table :is(th, td):nth-child(5) { width: 112px; }
@media (max-width: 520px) {
  html[data-brix-console-site] .gb-members-table :is(th, td):nth-child(4) { width: 76px; }
}
