@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@700;800;900&display=swap');

html.hub-dark-mode,
html.hub-dark-mode-pending {
  background: #151922;
}

html.hub-dark-mode-pending body {
  background: #151922 !important;
  color: #eef2f7;
}

body.hub-dark-mode,
body[data-hub-theme="dark"] {
  background: #151922;
  color: #eef2f7;
}

body.hub-dark-mode .hub-bg {
  background:
    linear-gradient(180deg, #171c25 0%, #131820 54%, #11161d 100%),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px) !important;
  background-size: auto, 90px 90px, 90px 90px !important;
}

body.hub-dark-mode .hub-card,
body.hub-dark-mode .hub-settings-card,
body.hub-dark-mode .hub-menu-card,
body.hub-dark-mode .hub-panel,
body.hub-dark-mode .modal-content,
body.hub-dark-mode .dropdown-menu {
  background: #202734 !important;
  color: #eef2f7;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

body.hub-dark-mode .form-control,
body.hub-dark-mode .form-select,
body.hub-dark-mode textarea,
body.hub-dark-mode .table > :not(caption) > * > *,
body[data-hub-theme="dark"] .form-control,
body[data-hub-theme="dark"] .form-select,
body[data-hub-theme="dark"] textarea,
body[data-hub-theme="dark"] .table > :not(caption) > * > * {
  background-color: #1a202b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .text-muted,
body.hub-dark-mode .hub-section-sub,
body.hub-dark-mode .small.text-muted,
body[data-hub-theme="dark"] .text-muted,
body[data-hub-theme="dark"] .hub-section-sub,
body[data-hub-theme="dark"] .small.text-muted {
  color: #aab4c2 !important;
}

:root {
  --color-primary: #f4b000;
  --color-primary-soft: #ffe8a3;
  --color-primary-dark: #f4b000;
  --color-accent: #111827;
  --color-accent-soft: #ffe8a3;
  --color-bg: #f4f6f8;
  --color-bg-warm: #f7f2e8;
  --color-bg-quiet: #eef1f4;
  --color-surface: #ffffff;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 42px rgba(31, 41, 51, 0.10);
  --theme-focus-ring: 0 0 0 0.22rem rgba(244, 176, 0, 0.24);
  --bs-primary: #f4b000;
  --bs-primary-rgb: 244, 176, 0;
  --bs-link-color: #111827;
  --bs-link-hover-color: #111827;
  --bs-info: #f4b000;
  --bs-info-rgb: 244, 176, 0;
  --hub-primary: #f4b000;
  --hub-primary-dark: #f4b000;
  --system-accent: #f4b000;
  --calc-blue: #f4b000;
  --calc-primary: #f4b000;
  --estacas-blue: #f4b000;
}

html {
  accent-color: var(--color-primary);
}

body {
  color: var(--color-text);
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, var(--color-bg) 0%, #f4f6f8 46%, #ffffff 100%);
  background-size: 72px 72px, auto;
}

body.hub-dark-mode,
body[data-hub-theme="dark"] {
  --color-bg: #151922;
  --color-surface: #202734;
  --color-text: #eef2f7;
  --color-muted: #aab4c2;
  --color-border: rgba(148, 163, 184, 0.24);
  --calc-ink: #eef2f7;
  --calc-muted: #aab4c2;
  --calc-border: rgba(148, 163, 184, 0.24);
  --calc-surface: #202734;
  --calc-surface-soft: #1a202b;
  --calc-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: #eef2f7 !important;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #171c25 0%, #131820 52%, #11161d 100%) !important;
  background-size: 72px 72px, auto !important;
}

body.hub-dark-mode.calc-catalogo,
body[data-hub-theme="dark"].calc-catalogo {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #171c25 0%, #131820 52%, #11161d 100%) !important;
  background-size: 72px 72px, auto !important;
}

body.hub-dark-mode .calc-hero,
body.hub-dark-mode .calc-card,
body.hub-dark-mode .calc-tool-link-horizontal,
body.hub-dark-mode .calc-my-tool-card,
body.hub-dark-mode .calc-doc-search,
body.hub-dark-mode .calc-empty-state,
body.hub-dark-mode .calc-system-hero,
body[data-hub-theme="dark"] .calc-hero,
body[data-hub-theme="dark"] .calc-card,
body[data-hub-theme="dark"] .calc-tool-link-horizontal,
body[data-hub-theme="dark"] .calc-my-tool-card,
body[data-hub-theme="dark"] .calc-doc-search,
body[data-hub-theme="dark"] .calc-empty-state,
body[data-hub-theme="dark"] .calc-system-hero {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eef2f7 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
}

body.hub-dark-mode .calc-card-visual,
body.hub-dark-mode .calc-my-tool-icon,
body[data-hub-theme="dark"] .calc-card-visual,
body[data-hub-theme="dark"] .calc-my-tool-icon {
  background: #1a202b !important;
}

body.hub-dark-mode .calc-card-visual .calc-card-image,
body.hub-dark-mode .calc-tool-link-horizontal .calc-card-image,
body.hub-dark-mode .calc-my-tool-icon .calc-card-image,
body[data-hub-theme="dark"] .calc-card-visual .calc-card-image,
body[data-hub-theme="dark"] .calc-tool-link-horizontal .calc-card-image,
body[data-hub-theme="dark"] .calc-my-tool-icon .calc-card-image {
  filter: brightness(0) invert(1) opacity(0.86);
}

body.hub-dark-mode .calc-card-visual i,
body.hub-dark-mode .calc-card-visual svg,
body.hub-dark-mode .calc-my-tool-icon i,
body.hub-dark-mode .calc-my-tool-icon svg,
body[data-hub-theme="dark"] .calc-card-visual i,
body[data-hub-theme="dark"] .calc-card-visual svg,
body[data-hub-theme="dark"] .calc-my-tool-icon i,
body[data-hub-theme="dark"] .calc-my-tool-icon svg {
  color: #e2e8f0 !important;
  stroke: currentColor !important;
}

body.hub-dark-mode .calc-doc-search input,
body[data-hub-theme="dark"] .calc-doc-search input {
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-tool-title,
body.hub-dark-mode .calc-catalog-head h2,
body.hub-dark-mode .calc-my-tool-title,
body.hub-dark-mode .calc-hero h1,
body[data-hub-theme="dark"] .calc-tool-title,
body[data-hub-theme="dark"] .calc-catalog-head h2,
body[data-hub-theme="dark"] .calc-my-tool-title,
body[data-hub-theme="dark"] .calc-hero h1 {
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-hero p,
body.hub-dark-mode .calc-my-tool-desc,
body.hub-dark-mode .calc-tool-link-horizontal .text-muted,
body.hub-dark-mode .calc-tool-meta,
body[data-hub-theme="dark"] .calc-hero p,
body[data-hub-theme="dark"] .calc-my-tool-desc,
body[data-hub-theme="dark"] .calc-tool-link-horizontal .text-muted,
body[data-hub-theme="dark"] .calc-tool-meta {
  color: #aab4c2 !important;
}

a {
  color: #111827;
}

a:hover {
  color: #f4b000;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34em;
  color: var(--color-text);
  font-family: "Mulish", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.2vw, 1.32rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark span {
  color: var(--color-primary);
  font-weight: 850;
}

.brand-wordmark strong {
  color: #111827;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.hub-brand-link .hub-topbar-logo,
.enghub-landing .brand-mark img,
.enghub-landing .footer-inner > img,
.calc-public-brand img,
.calc-hero-brand img,
.modelos-brand img,
.hub-brand > .hub-logo,
.auth-brand > img {
  display: block !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hub-brand-link .hub-topbar-logo,
.calc-public-brand img,
.enghub-landing .brand-mark img {
  height: 34px;
}

.hub-brand-link .hub-topbar-logo-dark {
  display: none !important;
}

body.hub-dark-mode .hub-brand-link .hub-topbar-logo-light,
body[data-hub-theme="dark"] .hub-brand-link .hub-topbar-logo-light {
  display: none !important;
}

body.hub-dark-mode .hub-brand-link .hub-topbar-logo-dark,
body[data-hub-theme="dark"] .hub-brand-link .hub-topbar-logo-dark {
  display: block !important;
}

.enghub-landing .footer-inner > img,
.calc-hero-brand img,
.modelos-brand img {
  height: 38px;
}

.hub-brand > .hub-logo {
  height: 44px;
}

.auth-brand > img {
  height: 48px;
}

.hub-brand-link .brand-wordmark,
.enghub-landing .brand-mark .brand-wordmark,
.enghub-landing .footer-inner .brand-wordmark,
.calc-public-brand .brand-wordmark,
.calc-hero-brand .brand-wordmark,
.modelos-brand .brand-wordmark,
.hub-brand > .brand-wordmark,
.auth-brand .brand-wordmark {
  display: none !important;
}

.hub-brand-link,
.calc-public-brand,
.calc-hero-brand,
.modelos-brand,
.enghub-landing .brand-mark,
.enghub-landing .footer-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.btn,
.auth-btn,
.hub-btn,
button.btn {
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.btn-primary,
.auth-btn-primary,
.hub-btn-primary {
  color: #1f2933;
  background: linear-gradient(180deg, #ffc42d 0%, var(--color-primary) 100%);
  border-color: var(--color-primary-dark);
  box-shadow: 0 10px 22px rgba(244, 176, 0, 0.20);
}

.btn-primary:hover,
.btn-primary:focus,
.auth-btn-primary:hover,
.auth-btn-primary:focus,
.hub-btn-primary:hover,
.hub-btn-primary:focus {
  color: #111827;
  background: linear-gradient(180deg, #ffd15a 0%, #e6a500 100%);
  border-color: #b77900;
}

.btn-secondary,
.btn-dark,
.auth-btn-secondary,
.hub-btn-secondary {
  color: #ffffff;
  background: var(--color-text);
  border-color: var(--color-text);
}

.btn-secondary:hover,
.btn-dark:hover,
.auth-btn-secondary:hover,
.hub-btn-secondary:hover {
  color: #ffffff;
  background: #111827;
  border-color: #111827;
}

.btn-outline-primary {
  color: #111827;
  border-color: var(--color-primary-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #1f2933;
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
}

.btn-outline-secondary {
  color: var(--color-text);
  border-color: #c8ced6;
  background: #ffffff;
}

.btn-link,
.auth-link {
  color: #111827;
}

.btn-link:hover,
.auth-link:hover {
  color: #f4b000;
}

.card,
.modal-content,
.dropdown-menu,
.hub-data-card,
.hub-menu-card,
.hub-settings-card {
  border-color: var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-control,
.form-select,
.auth-field input,
.auth-field select,
.auth-field textarea {
  color: var(--color-text);
  border-color: #d6dbe2;
  border-radius: var(--radius);
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus,
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: var(--color-primary-dark);
  box-shadow: var(--theme-focus-ring);
}

.form-label,
.auth-field label {
  color: var(--color-text);
  font-weight: 800;
}

.table {
  --bs-table-color: var(--color-text);
  --bs-table-border-color: var(--color-border);
  --bs-table-hover-bg: rgba(244, 176, 0, 0.08);
}

.table thead th,
table thead th {
  color: var(--color-text);
  background: #fff6db;
  border-bottom-color: #dcc37c;
  font-weight: 850;
}

.badge.text-bg-primary,
.badge.text-bg-info,
.bg-primary,
.bg-info,
.progress-bar {
  color: #1f2933 !important;
  background-color: var(--color-primary) !important;
}

.badge.text-bg-info,
.badge.bg-info,
.text-bg-info {
  color: #1f2933 !important;
  background-color: #ffe8a3 !important;
}

.text-info {
  color: #111827 !important;
}

.border-info {
  border-color: var(--color-primary-dark) !important;
}

.text-primary {
  color: #111827 !important;
}

.border-primary {
  border-color: var(--color-primary-dark) !important;
}

body.has-hub-sidebar {
  --hub-topbar-height: 58px;
  --hub-topbar-bg: rgba(255, 255, 255, 0.96);
  --hub-topbar-ink: var(--color-text);
  --hub-topbar-muted: var(--color-muted);
  --hub-topbar-primary: var(--color-primary-dark);
  --hub-topbar-primary-dark: #111827;
  --hub-topbar-border: rgba(31, 41, 51, 0.12);
  --hub-topbar-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
}

.hub-topbar {
  background: var(--hub-topbar-bg);
  border-bottom-color: var(--hub-topbar-border);
}

.hub-topbar-inner {
  min-height: var(--hub-topbar-height);
}

.hub-sidebar {
  background: linear-gradient(180deg, #1f2933 0%, #111827 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 16px 0 36px rgba(17, 24, 39, 0.18);
}

.hub-sidebar-link {
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: none;
}

.hub-sidebar-link:hover,
.hub-sidebar-link:focus-visible {
  color: #ffffff;
  background: rgba(244, 176, 0, 0.18);
  border-color: rgba(244, 176, 0, 0.42);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.hub-sidebar-link.is-active {
  color: #1f2933;
  background: linear-gradient(180deg, #ffc42d 0%, var(--color-primary) 100%);
  border-color: var(--color-primary-dark);
  box-shadow: 0 14px 26px rgba(244, 176, 0, 0.24);
}

.hub-sidebar-toggle,
.hub-home-link,
.hub-message-trigger,
.hub-weather-trigger,
.hub-user-chip {
  border-color: rgba(31, 41, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(31, 41, 51, 0.08);
}

.hub-weather-trigger-icon,
.hub-user-avatar {
  color: #1f2933;
  background: var(--color-primary);
}

.hub-menu-icon,
.module-icon {
  color: #1f2933;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.hub-user-avatar {
  color: #1f2933;
}

.hub-message-badge,
.hub-message-inline-count {
  background: var(--color-accent);
  color: #ffffff;
}

.hub-picker-chip,
.status-badge,
.recommended-badge {
  color: #111827;
  border-color: rgba(244, 176, 0, 0.34);
  background: #fff4d2;
}

.hub-tree-pill,
.hub-tree-module-count,
.hub-data-badge-info,
.hub-project-badge,
.hub-card-tag,
.calc-card-tag,
.hub-project-summary-stat,
.summary-badge,
.formula-badge,
.lev-badge {
  color: #111827;
  border-color: rgba(244, 176, 0, 0.28);
  background: #fff4d2;
}

.hub-tree-pill:hover,
.hub-tree-pill:focus-visible,
.hub-project-summary-item:hover,
.hub-project-summary-item:focus-visible,
.hub-card:hover,
.compras-work-card:hover,
.compras-work-card.is-active {
  border-color: rgba(244, 176, 0, 0.42) !important;
  box-shadow: 0 14px 30px rgba(244, 176, 0, 0.12) !important;
}

.hub-card::before {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.hub-btn-outline,
.hub-btn-ghost,
.calc-public-btn-secondary,
.calc-btn-outline {
  color: var(--color-text);
  border-color: rgba(31, 41, 51, 0.18);
  background: #ffffff;
}

.hub-btn-outline:hover,
.hub-btn-ghost:hover,
.calc-public-btn-secondary:hover,
.calc-btn-outline:hover,
.calc-btn-outline:focus {
  color: #111827;
  border-color: var(--color-primary-dark);
  background: #fff4d2;
}

.calc-catalogo,
.calc-materiais,
.calc-shell,
.drywall-shell {
  --calc-ink: var(--color-text);
  --calc-muted: var(--color-muted);
  --calc-border: #e5dfd3;
  --calc-primary: var(--color-primary);
  --calc-primary-strong: var(--color-primary-dark);
  --calc-blue: var(--color-primary-dark);
  --calc-blue-dark: var(--color-text);
  --calc-surface: var(--color-surface);
  --calc-surface-soft: var(--color-bg);
  --calc-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffaf0 0%, var(--color-bg) 54%, #ffffff 100%);
  background-size: 72px 72px, auto;
  color: var(--color-text);
}

.calc-public-header {
  border-bottom-color: #e5dfd3;
  background: rgba(255, 255, 255, 0.96);
}

.calc-public-nav a {
  color: var(--color-text);
}

.calc-public-nav a:hover,
.calc-kicker,
.calc-card-tag,
.calc-empty,
.materiais-app .text-muted,
.calc-tool-link-horizontal .calc-tool-meta,
.calc-tool-link-horizontal .calc-tool-kicker {
  color: #111827;
}

.calc-public-btn-primary,
.calc-btn-primary {
  color: #1f2933;
  background: linear-gradient(180deg, #ffc42d 0%, var(--color-primary) 100%);
  border-color: var(--color-primary-dark);
  box-shadow: 0 10px 22px rgba(244, 176, 0, 0.18);
}

.calc-public-btn-primary:hover,
.calc-public-btn-primary:focus,
.calc-btn-primary:hover,
.calc-btn-primary:focus {
  color: #111827;
  background: linear-gradient(180deg, #ffd15a 0%, #e6a500 100%);
  border-color: #b77900;
}

.calc-hero,
.calc-card,
.calc-filter-card,
.calc-empty,
.calc-tool-link-horizontal {
  border-color: #e5dfd3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calc-hero {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.035) 0 1px, transparent 1px 100%),
    var(--color-surface);
  background-size: 36px 36px, auto;
}

.calc-card:hover,
.calc-tool-link-horizontal:hover,
.calc-tool-link-horizontal:focus-visible,
.materiais-app .service-card-link:focus-visible .service-card {
  border-color: rgba(244, 176, 0, 0.42) !important;
  box-shadow: 0 16px 32px rgba(244, 176, 0, 0.12) !important;
}

.calc-card-tag,
.calc-tool-chip {
  color: var(--tool-color, #111827);
  background: var(--tool-chip-bg, #fff4d2);
  border-color: var(--tool-border, rgba(244, 176, 0, 0.30));
}

.calc-tool-link-horizontal .calc-tool-icon,
.calc-card-visual {
  color: var(--tool-color, #111827);
  background: var(--tool-bg, #f1f5f9);
  border-color: var(--tool-border, #e5e7eb);
}

.calc-card-visual svg,
.calc-tool-link-horizontal svg,
.calc-tool-link-horizontal i,
.calc-card svg {
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
}

.calc-card-visual .calc-card-image,
.calc-tool-link-horizontal .calc-card-image,
.calc-my-tool-icon .calc-card-image {
  width: 34px;
  height: 34px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--tool-image) center / contain no-repeat;
  mask: var(--tool-image) center / contain no-repeat;
}

.calc-tool-link-horizontal.tone-blue {
  --tool-color: #2563eb;
  --tool-bg: #eff6ff;
  --tool-chip-bg: #eff6ff;
  --tool-border: #bfdbfe;
}

.calc-tool-link-horizontal.tone-green {
  --tool-color: #16a34a;
  --tool-bg: #f0fdf4;
  --tool-chip-bg: #f0fdf4;
  --tool-border: #bbf7d0;
}

.calc-tool-link-horizontal.tone-gold {
  --tool-color: #111827;
  --tool-bg: #fffbeb;
  --tool-chip-bg: #fffbeb;
  --tool-border: #fde68a;
}

.calc-tool-link-horizontal.tone-cyan {
  --tool-color: #0891b2;
  --tool-bg: #ecfeff;
  --tool-chip-bg: #ecfeff;
  --tool-border: #a5f3fc;
}

.calc-tool-link-horizontal.tone-orange {
  --tool-color: #111827;
  --tool-bg: #fff4d2;
  --tool-chip-bg: #fff4d2;
  --tool-border: #f4b000;
}

.calc-tool-link-horizontal.tone-slate {
  --tool-color: #475569;
  --tool-bg: #f1f5f9;
  --tool-chip-bg: #f8fafc;
  --tool-border: #cbd5e1;
}

.calc-tool-link-horizontal.tone-teal {
  --tool-color: #0f766e;
  --tool-bg: #f0fdfa;
  --tool-chip-bg: #f0fdfa;
  --tool-border: #99f6e4;
}

.materiais-app .service-thumb {
  background: linear-gradient(135deg, #fff4d2, #fffaf0);
  border-bottom-color: #e5dfd3;
}

.hub-section-label,
.hub-kicker,
.hub-card-tag i,
.hub-meta-item i,
.hub-project-summary-item i,
.hub-data-badge-info {
  color: #111827;
}

.calc-public-header img[src*="engenharia-hub"],
.calc-header img[src*="engenharia-hub"],
.hub-system-logo[src*="engenharia-hub"] {
  filter: none;
}

.hub-picker-item:hover,
.hub-message-item.is-unread {
  border-color: rgba(244, 176, 0, 0.32);
  box-shadow: 0 14px 30px rgba(244, 176, 0, 0.10);
}

.hub-settings-tabs .nav-link.active,
.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
  color: #111827;
  background: #fff4d2;
  border-color: rgba(244, 176, 0, 0.34);
}

.hub-landing,
.hub-services {
  --hub-ink: var(--color-text);
  --hub-muted: var(--color-muted);
  --hub-primary: var(--color-primary);
  --hub-primary-dark: var(--color-primary-dark);
  --hub-accent: var(--color-accent);
  --hub-surface: var(--color-surface);
  --hub-border: rgba(31, 41, 51, 0.12);
  --hub-shadow: var(--shadow);
  background: var(--color-bg);
}

.hub-bg {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffaf0 0%, var(--color-bg) 58%, #f4f6f8 100%);
  background-size: 72px 72px, auto;
}

.auth-page {
  --auth-bg: var(--color-bg);
  --auth-surface: var(--color-surface);
  --auth-border: rgba(31, 41, 51, 0.12);
  --auth-ink: var(--color-text);
  --auth-muted: var(--color-muted);
  --auth-primary: var(--color-primary-dark);
  --auth-primary-dark: #111827;
  --auth-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffaf0 0%, var(--auth-bg) 100%);
  background-size: 72px 72px, auto;
}

.auth-showcase,
.auth-card,
.auth-highlight {
  border-radius: var(--radius);
}

.auth-showcase::before,
.auth-showcase::after {
  display: none;
}

.auth-eyebrow,
.auth-step.is-active {
  color: #111827;
  background: #fff4d2;
  border-color: rgba(244, 176, 0, 0.32);
}

body.enghub-landing {
  --color-ink: var(--color-text);
  --color-soft: #f7f2e8;
  --color-panel: var(--color-surface);
  --color-line: #e5dfd3;
  --color-blue: var(--color-primary-dark);
  --color-blue-dark: var(--color-text);
  --color-blue-soft: #fff4d2;
  background: #fffaf0;
}

.enghub-landing .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(31, 41, 51, 0.12);
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
}

.enghub-landing .main-nav a,
.enghub-landing .footer-inner a {
  color: var(--color-text);
}

.enghub-landing .main-nav a:hover,
.enghub-landing .footer-inner a:hover,
.enghub-landing .price-card li i,
.enghub-landing .step-card span {
  color: #111827;
}

.enghub-landing .eyebrow {
  color: #f4b000;
}

.enghub-landing .signal-grid i,
.enghub-landing .benefit-list i {
  color: #f4b000;
}

.enghub-landing .section-band {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fff6db 0%, #fffaf0 48%, #ffffff 100%);
  background-size: 72px 72px, auto;
}

.enghub-landing .section-muted {
  background: var(--color-bg);
  border-block-color: #e5dfd3;
}

.enghub-landing .solid-card,
.enghub-landing .module-card,
.enghub-landing .step-card,
.enghub-landing .price-card,
.enghub-landing .visual-panel,
.enghub-landing .image-feature,
.enghub-landing .landing-media {
  border-color: #e5dfd3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.enghub-landing .module-icon {
  border-color: rgba(244, 176, 0, 0.48);
}

.enghub-landing .solid-card i,
.enghub-landing .module-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(244, 176, 0, 0.50);
  border-radius: 12px !important;
  color: #111827;
  background: #fff4d2;
  box-shadow: inset 0 -2px 0 rgba(244, 176, 0, 0.28);
}

.enghub-landing .solid-card i {
  font-size: 1.35rem;
}

.enghub-landing .module-icon i {
  color: #111827;
  font-size: 1.25rem;
}

.enghub-landing .solid-card:hover i,
.enghub-landing .module-card:hover .module-icon {
  color: #111827;
  background: #f4b000;
  border-color: #f4b000;
}

.enghub-landing .solid-card:hover,
.enghub-landing .module-card:hover {
  border-color: rgba(244, 176, 0, 0.62);
}

.enghub-landing .price-card-featured {
  border-color: var(--color-primary-dark);
  box-shadow: 0 22px 46px rgba(244, 176, 0, 0.18);
}

.enghub-landing .price-card strong {
  color: var(--color-text);
}

.enghub-landing .final-cta {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #1f2933 0%, #111827 100%);
  background-size: 64px 64px, auto;
}

.enghub-landing .final-cta .btn-primary {
  color: #1f2933;
}

.enghub-landing .final-cta .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  body.has-hub-sidebar {
    padding-left: 0;
  }

  .hub-sidebar {
    background: rgba(31, 41, 51, 0.98);
  }

  .hub-weather-trigger-copy,
  .hub-user-chip-copy {
    display: none;
  }

  .hub-topbar-actions {
    gap: 6px;
  }
}

/* Neutral base reset: keep yellow as an accent, not as a page wash. */
body,
body.auth-page,
body.enghub-landing,
.hub-landing,
.hub-services,
.calc-catalogo,
.calc-materiais,
.calc-shell,
.drywall-shell {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.028) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f8 52%, #ffffff 100%) !important;
  background-size: 72px 72px, auto !important;
}

.auth-page {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.025) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #f8fafc 0%, #eef1f4 100%) !important;
}

.hub-bg,
.enghub-landing .section-band,
.enghub-landing .hero,
.enghub-landing .section,
.calc-hero {
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.03) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f8 58%, #ffffff 100%) !important;
  background-size: 72px 72px, auto !important;
}

.enghub-landing .section-muted,
.hub-services .hub-section,
.hub-section {
  background-color: transparent;
}

.auth-showcase,
.auth-card,
.auth-highlight,
.enghub-landing .solid-card,
.enghub-landing .module-card,
.enghub-landing .step-card,
.enghub-landing .price-card,
.enghub-landing .visual-panel,
.enghub-landing .image-feature,
.hub-panel,
.hub-card,
.hub-data-card,
.hub-menu-card,
.hub-settings-card,
.calc-card,
.calc-filter-card,
.calc-empty {
  background-color: #ffffff;
}

.auth-eyebrow,
.auth-step.is-active,
.hub-tree-pill,
.hub-tree-module-count,
.hub-data-badge-info,
.hub-project-badge,
.hub-card-tag,
.status-badge,
.recommended-badge,
.enghub-landing .signal-grid span,
.enghub-landing .benefit-list span {
  background: #f8fafc;
  border-color: #d6dbe2;
  color: #1f2933;
}

.enghub-landing .signal-grid span,
.enghub-landing .benefit-list span,
.enghub-landing .signal-grid span *,
.enghub-landing .benefit-list span * {
  text-shadow: none;
}

.sinapi-shell .sinapi-back-btn,
.sinapi-shell .sinapi-back-btn i,
.sinapi-shell .sinapi-back-btn span {
  color: #111827 !important;
}

.sinapi-shell .sinapi-back-btn {
  border-color: #d6dbe2 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.sinapi-shell .sinapi-back-btn:hover,
.sinapi-shell .sinapi-back-btn:focus {
  border-color: #111827 !important;
  background: #f8fafc !important;
}

.auth-step.is-active,
.price-card-featured {
  background: #fff9e8;
  border-color: rgba(244, 176, 0, 0.38);
}

.auth-showcase::before,
.auth-showcase::after,
body.auth-page::before,
body.auth-page::after {
  display: none !important;
}

/* More technical geometry: compact radii, fewer pill shapes. */
.card,
.modal-content,
.dropdown-menu,
.auth-showcase,
.auth-card,
.auth-highlight,
.enghub-landing .solid-card,
.enghub-landing .module-card,
.enghub-landing .step-card,
.enghub-landing .price-card,
.enghub-landing .visual-panel,
.enghub-landing .image-feature,
.enghub-landing .landing-media,
.hub-panel,
.hub-card,
.hub-menu-card,
.hub-data-card,
.hub-settings-card,
.hub-project-card,
.hub-tree-item,
.hub-tree-summary,
.hub-project-summary-card,
.hub-project-summary-item,
.calc-hero,
.calc-card,
.calc-filter-card,
.calc-empty,
.calc-tool-link-horizontal,
.materiais-app .service-thumb {
  border-radius: var(--radius-lg) !important;
}

.btn,
.auth-btn,
.hub-btn,
.calc-btn,
.calc-public-btn,
.form-control,
.form-select,
.auth-field input,
.auth-field select,
.auth-field textarea,
.hub-sidebar-toggle,
.hub-home-link,
.hub-message-trigger,
.hub-weather-trigger,
.hub-user-chip,
.hub-sidebar-link,
.hub-tree-pill,
.hub-tree-module-count,
.hub-data-badge,
.hub-project-badge,
.hub-card-tag,
.calc-card-tag,
.calc-tool-chip,
.status-badge,
.recommended-badge,
.auth-eyebrow,
.auth-step {
  border-radius: var(--radius) !important;
}

.hub-user-avatar,
.hub-message-badge,
.hub-weather-trigger-icon {
  border-radius: 50% !important;
}

.hub-project-tree,
.hub-project-list,
.hub-project-summary-list {
  gap: 12px;
}

/* Logged hub polish: keep project work surfaces neutral and use yellow only for action/accent. */
.hub-services .hub-panel {
  background: #ffffff !important;
  border-color: #e1e5ea !important;
  box-shadow: 0 18px 36px rgba(31, 41, 51, 0.08) !important;
}

.hub-services .hub-tree-item,
.hub-services .hub-tree-summary {
  background: #ffffff !important;
  border-color: #e1e5ea !important;
}

.hub-services .hub-tree-item {
  box-shadow: 0 10px 22px rgba(31, 41, 51, 0.06) !important;
}

.hub-services .hub-tree-item[open] > .hub-tree-summary {
  border-bottom-color: #e5e7eb !important;
}

.hub-services .hub-tree-pill,
.hub-services .hub-tree-module-count,
.hub-services .hub-project-badge,
.hub-services .hub-project-summary-stat {
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  color: #1f2933 !important;
}

.hub-services .hub-tree-pill {
  box-shadow: none !important;
}

.hub-services .hub-tree-pill:hover,
.hub-services .hub-tree-pill:focus-visible {
  background: #fff7d6 !important;
  border-color: rgba(244, 176, 0, 0.55) !important;
  color: #1f2933 !important;
  box-shadow: 0 10px 20px rgba(244, 176, 0, 0.12) !important;
}

.hub-services .hub-project-title {
  color: #111827 !important;
}

.hub-services .hub-project-meta {
  color: #64748b !important;
}

.hub-btn-new-project,
.hub-services #openNewProjectBtn {
  color: #1f2933 !important;
  background: linear-gradient(180deg, #ffc42d 0%, var(--color-primary) 100%) !important;
  border-color: var(--color-primary-dark) !important;
  box-shadow: 0 10px 22px rgba(244, 176, 0, 0.18) !important;
}

.hub-btn-new-project:hover,
.hub-btn-new-project:focus,
.hub-services #openNewProjectBtn:hover,
.hub-services #openNewProjectBtn:focus {
  color: #111827 !important;
  background: linear-gradient(180deg, #ffd15a 0%, #e6a500 100%) !important;
  border-color: #b77900 !important;
}

/* Standard card system: less rounded, no yellow wash on hover, colored technical icons. */
.hub-menu-card,
.hub-card,
.hub-panel,
.hub-project-card,
.hub-project-summary-card,
.hub-project-summary-item,
.hub-tree-item,
.hub-tree-summary,
.calc-card,
.calc-hero,
.calc-filter-card,
.calc-tool-link-horizontal,
.modal-content,
.dropdown-menu {
  border-radius: 10px !important;
}

.hub-menu-icon,
.calc-card-visual,
.calc-tool-link-horizontal .calc-tool-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 12px !important;
  background: var(--tool-bg, #f1f5f9) !important;
  border: 1px solid var(--tool-border, #e5e7eb) !important;
  color: var(--tool-color, #475569) !important;
  box-shadow: none !important;
}

.hub-menu-icon svg,
.hub-menu-icon i,
.calc-card-visual svg,
.calc-card-visual i,
.calc-tool-link-horizontal .calc-tool-icon svg,
.calc-tool-link-horizontal .calc-tool-icon i {
  width: 30px !important;
  height: 30px !important;
  color: currentColor !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.55 !important;
}

.calc-card-visual .calc-card-image,
.calc-tool-link-horizontal .calc-card-image,
.calc-my-tool-icon .calc-card-image {
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  background: currentColor !important;
  -webkit-mask: var(--tool-image) center / contain no-repeat !important;
  mask: var(--tool-image) center / contain no-repeat !important;
}

.tone-blue {
  --tool-color: #2563eb;
  --tool-bg: #eff6ff;
  --tool-chip-bg: #eff6ff;
  --tool-border: #bfdbfe;
}

.tone-green {
  --tool-color: #16a34a;
  --tool-bg: #f0fdf4;
  --tool-chip-bg: #f0fdf4;
  --tool-border: #bbf7d0;
}

.tone-gold {
  --tool-color: #111827;
  --tool-bg: #fffbeb;
  --tool-chip-bg: #fffbeb;
  --tool-border: #fde68a;
}

.tone-cyan {
  --tool-color: #0891b2;
  --tool-bg: #ecfeff;
  --tool-chip-bg: #ecfeff;
  --tool-border: #a5f3fc;
}

.tone-orange {
  --tool-color: #111827;
  --tool-bg: #fff4d2;
  --tool-chip-bg: #fff4d2;
  --tool-border: #f4b000;
}

.tone-slate {
  --tool-color: #475569;
  --tool-bg: #f1f5f9;
  --tool-chip-bg: #f8fafc;
  --tool-border: #cbd5e1;
}

.tone-teal {
  --tool-color: #0f766e;
  --tool-bg: #f0fdfa;
  --tool-chip-bg: #f0fdfa;
  --tool-border: #99f6e4;
}

.hub-card::before,
.hub-menu-card::before {
  display: none !important;
}

.hub-menu-card-link:hover,
.hub-card:hover,
.calc-card:hover,
.hub-project-summary-item:hover,
.hub-project-summary-item:focus-visible,
.hub-picker-item:hover {
  transform: translateY(-2px) !important;
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 18px 32px rgba(31, 41, 51, 0.10) !important;
}

.hub-btn-outline:hover,
.hub-btn-ghost:hover,
.calc-btn-outline:hover,
.calc-btn-outline:focus {
  color: #111827 !important;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08) !important;
}

.btn,
.auth-btn,
.hub-btn,
.calc-btn,
.calc-public-btn,
.form-control,
.form-select,
.hub-sidebar-link,
.hub-sidebar-toggle,
.hub-home-link,
.hub-message-trigger,
.hub-weather-trigger,
.hub-user-chip,
.hub-picker-item,
.hub-picker-search,
.hub-tree-pill,
.hub-tree-module-count,
.hub-data-badge,
.hub-project-badge,
.hub-card-tag,
.calc-card-tag,
.calc-tool-chip,
.status-badge,
.recommended-badge,
.auth-eyebrow,
.auth-step {
  border-radius: 8px !important;
}

body.has-hub-sidebar .calc-tools-hero {
  display: none !important;
}

body.calc-responsibility-open {
  overflow: hidden;
}

.calc-responsibility-overlay {
  position: fixed;
  inset: 0;
  z-index: 2040;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.38);
  backdrop-filter: blur(3px);
}

.calc-responsibility-card {
  width: min(560px, 100%);
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
  color: #111827;
}

.calc-responsibility-kicker {
  margin-bottom: 8px;
  color: #8a6200;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calc-responsibility-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 900;
}

.calc-responsibility-card p {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.55;
}

.calc-responsibility-card strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  text-transform: uppercase;
}

.calc-responsibility-card small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
}

.calc-responsibility-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.calc-responsibility-actions button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.calc-responsibility-back {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111827;
}

.calc-responsibility-accept {
  border: 1px solid #e0a000;
  background: linear-gradient(180deg, #ffd94a 0%, #f4b000 100%);
  color: #111827;
}

body.has-hub-sidebar .frota-page,
body.has-hub-sidebar .hub-settings-page {
  max-width: none;
  width: calc(100% - 32px);
  margin-left: 16px;
  margin-right: 16px;
}

@media (max-width: 768px) {
  body.has-hub-sidebar .frota-page,
  body.has-hub-sidebar .hub-settings-page {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Dark mode final override: fica depois dos resets neutros com !important. */
body.hub-dark-mode,
body[data-hub-theme="dark"] {
  --color-bg: #151922;
  --color-surface: #202734;
  --color-text: #eef2f7;
  --color-muted: #aab4c2;
  --color-border: rgba(148, 163, 184, 0.24);
  --calc-ink: #eef2f7;
  --calc-muted: #aab4c2;
  --calc-border: rgba(148, 163, 184, 0.24);
  --calc-surface: #202734;
  --calc-surface-soft: #1a202b;
  --calc-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: #eef2f7 !important;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #171c25 0%, #131820 52%, #11161d 100%) !important;
  background-size: 72px 72px, auto !important;
}

body.hub-dark-mode.calc-catalogo,
body.hub-dark-mode .calc-shell,
body.hub-dark-mode .calc-tools-catalog,
body.hub-dark-mode .calc-catalog-section,
body[data-hub-theme="dark"].calc-catalogo,
body[data-hub-theme="dark"] .calc-shell,
body[data-hub-theme="dark"] .calc-tools-catalog,
body[data-hub-theme="dark"] .calc-catalog-section {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #171c25 0%, #131820 52%, #11161d 100%) !important;
  background-size: 72px 72px, auto !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-hero,
body.hub-dark-mode .calc-card,
body.hub-dark-mode .calc-tool-link-horizontal,
body.hub-dark-mode .calc-my-tool-card,
body.hub-dark-mode .calc-doc-search,
body.hub-dark-mode .calc-empty-state,
body.hub-dark-mode .calc-system-hero,
body.hub-dark-mode .truss-panel,
body.hub-dark-mode .calc-filter-card,
body.hub-dark-mode .materiais-app .service-card,
body.hub-dark-mode .estacas-panel,
body.hub-dark-mode .estacas-side-card,
body.hub-dark-mode .estacas-chart-card,
body.hub-dark-mode .estacas-summary-card,
body.hub-dark-mode .estacas-check-card,
body.hub-dark-mode .estacas-method-extra-params,
body.hub-dark-mode .estacas-method-reductions,
body.hub-dark-mode .sapatas-form-section,
body[data-hub-theme="dark"] .calc-hero,
body[data-hub-theme="dark"] .calc-card,
body[data-hub-theme="dark"] .calc-tool-link-horizontal,
body[data-hub-theme="dark"] .calc-my-tool-card,
body[data-hub-theme="dark"] .calc-doc-search,
body[data-hub-theme="dark"] .calc-empty-state,
body[data-hub-theme="dark"] .calc-system-hero,
body[data-hub-theme="dark"] .truss-panel,
body[data-hub-theme="dark"] .calc-filter-card,
body[data-hub-theme="dark"] .materiais-app .service-card,
body[data-hub-theme="dark"] .estacas-panel,
body[data-hub-theme="dark"] .estacas-side-card,
body[data-hub-theme="dark"] .estacas-chart-card,
body[data-hub-theme="dark"] .estacas-summary-card,
body[data-hub-theme="dark"] .estacas-check-card,
body[data-hub-theme="dark"] .estacas-method-extra-params,
body[data-hub-theme="dark"] .estacas-method-reductions,
body[data-hub-theme="dark"] .sapatas-form-section {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eef2f7 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
}

body.hub-dark-mode .materiais-app,
body[data-hub-theme="dark"] .materiais-app,
body.hub-dark-mode .materiais-app .card-body,
body[data-hub-theme="dark"] .materiais-app .card-body,
body.hub-dark-mode .materiais-app .table,
body[data-hub-theme="dark"] .materiais-app .table {
  color: #eef2f7 !important;
}

body.hub-dark-mode .materiais-app .form-control,
body.hub-dark-mode .materiais-app .form-select,
body.hub-dark-mode .estacas-shell .form-control,
body.hub-dark-mode .estacas-shell .form-select,
body[data-hub-theme="dark"] .materiais-app .form-control,
body[data-hub-theme="dark"] .materiais-app .form-select,
body[data-hub-theme="dark"] .estacas-shell .form-control,
body[data-hub-theme="dark"] .estacas-shell .form-select {
  background-color: #1a202b !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .estacas-form-grid label,
body.hub-dark-mode .estacas-factor-grid label,
body.hub-dark-mode .estacas-reduction-grid label,
body.hub-dark-mode .estacas-method-extra-params label,
body.hub-dark-mode .sapatas-form-section legend,
body.hub-dark-mode .estacas-card-head h2,
body.hub-dark-mode .estacas-side-card h3,
body.hub-dark-mode .estacas-chart-card h3,
body[data-hub-theme="dark"] .estacas-form-grid label,
body[data-hub-theme="dark"] .estacas-factor-grid label,
body[data-hub-theme="dark"] .estacas-reduction-grid label,
body[data-hub-theme="dark"] .estacas-method-extra-params label,
body[data-hub-theme="dark"] .sapatas-form-section legend,
body[data-hub-theme="dark"] .estacas-card-head h2,
body[data-hub-theme="dark"] .estacas-side-card h3,
body[data-hub-theme="dark"] .estacas-chart-card h3 {
  color: #eef2f7 !important;
}

body.hub-dark-mode .estacas-memory,
body.hub-dark-mode .estacas-alert,
body[data-hub-theme="dark"] .estacas-memory,
body[data-hub-theme="dark"] .estacas-alert {
  background: #1a202b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #cbd5e1 !important;
}

body.hub-dark-mode .estacas-dxf-shell .estacas-armadura-layout,
body[data-hub-theme="dark"] .estacas-dxf-shell .estacas-armadura-layout {
  align-items: stretch;
}

body.hub-dark-mode .estacas-dxf-shell .estacas-side-card,
body[data-hub-theme="dark"] .estacas-dxf-shell .estacas-side-card {
  height: 100%;
}

body.hub-dark-mode .calc-doc-search input,
body[data-hub-theme="dark"] .calc-doc-search input {
  color: #eef2f7 !important;
  background: transparent !important;
}

body.hub-dark-mode .calc-btn-outline,
body.hub-dark-mode .calc-expand-btn,
body[data-hub-theme="dark"] .calc-btn-outline,
body[data-hub-theme="dark"] .calc-expand-btn {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-btn-outline:hover,
body.hub-dark-mode .calc-expand-btn:hover,
body[data-hub-theme="dark"] .calc-btn-outline:hover,
body[data-hub-theme="dark"] .calc-expand-btn:hover {
  background: #273142 !important;
  border-color: rgba(213, 162, 27, 0.72) !important;
}

body.hub-dark-mode .calc-card-visual,
body.hub-dark-mode .calc-my-tool-icon,
body[data-hub-theme="dark"] .calc-card-visual,
body[data-hub-theme="dark"] .calc-my-tool-icon {
  background: #1a202b !important;
}

body.hub-dark-mode .calc-tool-title,
body.hub-dark-mode .calc-catalog-head h2,
body.hub-dark-mode .calc-my-tool-title,
body.hub-dark-mode .calc-hero h1,
body[data-hub-theme="dark"] .calc-tool-title,
body[data-hub-theme="dark"] .calc-catalog-head h2,
body[data-hub-theme="dark"] .calc-my-tool-title,
body[data-hub-theme="dark"] .calc-hero h1 {
  color: #f8fafc !important;
}

body.hub-dark-mode .calc-hero p,
body.hub-dark-mode .calc-my-tool-desc,
body.hub-dark-mode .calc-tool-link-horizontal .text-muted,
body.hub-dark-mode .calc-tool-meta,
body.hub-dark-mode .text-muted,
body[data-hub-theme="dark"] .calc-hero p,
body[data-hub-theme="dark"] .calc-my-tool-desc,
body[data-hub-theme="dark"] .calc-tool-link-horizontal .text-muted,
body[data-hub-theme="dark"] .calc-tool-meta,
body[data-hub-theme="dark"] .text-muted {
  color: #aab4c2 !important;
}

body.hub-dark-mode .calc-kicker,
body.hub-dark-mode .calc-card-tag,
body.hub-dark-mode .calc-tool-chip,
body[data-hub-theme="dark"] .calc-kicker,
body[data-hub-theme="dark"] .calc-card-tag,
body[data-hub-theme="dark"] .calc-tool-chip {
  color: #f4b000 !important;
}

body.hub-dark-mode .hub-topbar,
body[data-hub-theme="dark"] .hub-topbar {
  background: rgba(17, 24, 39, 0.94) !important;
  border-bottom-color: rgba(148, 163, 184, 0.20) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}

body.hub-dark-mode .calc-public-header,
body[data-hub-theme="dark"] .calc-public-header {
  background: rgba(17, 24, 39, 0.96) !important;
  border-bottom-color: rgba(148, 163, 184, 0.22) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-public-brand,
body.hub-dark-mode .calc-public-nav a,
body[data-hub-theme="dark"] .calc-public-brand,
body[data-hub-theme="dark"] .calc-public-nav a {
  color: #eef2f7 !important;
}

body.hub-dark-mode .calc-public-btn-secondary,
body[data-hub-theme="dark"] .calc-public-btn-secondary {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .hub-sidebar-toggle,
body.hub-dark-mode .hub-home-link,
body.hub-dark-mode .hub-message-trigger,
body.hub-dark-mode .hub-weather-trigger,
body.hub-dark-mode .hub-user-chip,
body.hub-dark-mode .hub-plan-topbar-link,
body.hub-dark-mode .hub-theme-toggle-track,
body[data-hub-theme="dark"] .hub-sidebar-toggle,
body[data-hub-theme="dark"] .hub-home-link,
body[data-hub-theme="dark"] .hub-message-trigger,
body[data-hub-theme="dark"] .hub-weather-trigger,
body[data-hub-theme="dark"] .hub-user-chip,
body[data-hub-theme="dark"] .hub-plan-topbar-link,
body[data-hub-theme="dark"] .hub-theme-toggle-track {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eef2f7 !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
}

body.hub-dark-mode .hub-weather-trigger-copy small,
body.hub-dark-mode .hub-user-chip-copy small,
body[data-hub-theme="dark"] .hub-weather-trigger-copy small,
body[data-hub-theme="dark"] .hub-user-chip-copy small {
  color: #aab4c2 !important;
}

body.hub-dark-mode .hub-weather-trigger-copy strong,
body.hub-dark-mode .hub-user-chip-copy strong,
body.hub-dark-mode .hub-plan-topbar-link,
body[data-hub-theme="dark"] .hub-weather-trigger-copy strong,
body[data-hub-theme="dark"] .hub-user-chip-copy strong,
body[data-hub-theme="dark"] .hub-plan-topbar-link {
  color: #eef2f7 !important;
}

body.hub-dark-mode .hub-weather-trigger-icon,
body.hub-dark-mode .hub-user-avatar,
body[data-hub-theme="dark"] .hub-weather-trigger-icon,
body[data-hub-theme="dark"] .hub-user-avatar {
  background: #f4b000 !important;
  color: #111827 !important;
}

body.hub-dark-mode .hub-collab-link,
body[data-hub-theme="dark"] .hub-collab-link {
  background: #0f172a !important;
  border-color: rgba(244, 176, 0, 0.38) !important;
  color: #ffffff !important;
}

body.hub-dark-mode .calc-card-tag,
body[data-hub-theme="dark"] .calc-card-tag {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 22px !important;
  padding: 3px 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  color: #f4b000 !important;
  box-shadow: none !important;
}

body.hub-dark-mode .calc-my-tool-card .calc-card-tag,
body[data-hub-theme="dark"] .calc-my-tool-card .calc-card-tag {
  grid-column: 2;
  justify-self: start;
}

body.hub-dark-mode .hub-topbar-logo-light,
body[data-hub-theme="dark"] .hub-topbar-logo-light {
  display: none !important;
}

body.hub-dark-mode .hub-topbar-logo-dark,
body[data-hub-theme="dark"] .hub-topbar-logo-dark {
  display: block !important;
}

body.hub-dark-mode .hub-tool-access-logo-light,
body[data-hub-theme="dark"] .hub-tool-access-logo-light {
  display: none !important;
}

body.hub-dark-mode .hub-tool-access-logo-dark,
body[data-hub-theme="dark"] .hub-tool-access-logo-dark {
  display: block !important;
}

.hub-tool-access-logo-dark {
  display: none;
}

body.hub-dark-mode .hub-btn-outline,
body.hub-dark-mode .btn-outline-secondary,
body.hub-dark-mode .btn-outline-dark,
body.hub-dark-mode .calc-btn-outline,
body.hub-dark-mode .compras-global-back,
body.hub-dark-mode .mobile-ghost-btn,
body[data-hub-theme="dark"] .hub-btn-outline,
body[data-hub-theme="dark"] .btn-outline-secondary,
body[data-hub-theme="dark"] .btn-outline-dark,
body[data-hub-theme="dark"] .calc-btn-outline,
body[data-hub-theme="dark"] .compras-global-back,
body[data-hub-theme="dark"] .mobile-ghost-btn {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
  color: #f8fafc !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18) !important;
}

body.hub-dark-mode .hub-btn-outline:hover,
body.hub-dark-mode .btn-outline-secondary:hover,
body.hub-dark-mode .btn-outline-dark:hover,
body.hub-dark-mode .calc-btn-outline:hover,
body.hub-dark-mode .compras-global-back:hover,
body.hub-dark-mode .mobile-ghost-btn:hover,
body[data-hub-theme="dark"] .hub-btn-outline:hover,
body[data-hub-theme="dark"] .btn-outline-secondary:hover,
body[data-hub-theme="dark"] .btn-outline-dark:hover,
body[data-hub-theme="dark"] .calc-btn-outline:hover,
body[data-hub-theme="dark"] .compras-global-back:hover,
body[data-hub-theme="dark"] .mobile-ghost-btn:hover {
  background: #273142 !important;
  border-color: rgba(244, 176, 0, 0.62) !important;
  color: #ffffff !important;
}

body.hub-dark-mode .hub-tool-access-card,
body[data-hub-theme="dark"] .hub-tool-access-card {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #eef2f7 !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32) !important;
}

body.hub-dark-mode .hub-tool-access-card h1,
body.hub-dark-mode .hub-tool-access-logo,
body[data-hub-theme="dark"] .hub-tool-access-card h1,
body[data-hub-theme="dark"] .hub-tool-access-logo {
  color: #f8fafc !important;
}

body.hub-dark-mode .hub-tool-access-card p,
body[data-hub-theme="dark"] .hub-tool-access-card p {
  color: #aab4c2 !important;
}

body.hub-dark-mode .hub-plan-current,
body.hub-dark-mode .hub-plan-history,
body.hub-dark-mode .hub-plan-card,
body.hub-dark-mode .hub-checkout-config,
body.hub-dark-mode .hub-checkout-summary,
body.hub-dark-mode .hub-inter-note,
body.hub-dark-mode .hub-credit-detail,
body[data-hub-theme="dark"] .hub-plan-current,
body[data-hub-theme="dark"] .hub-plan-history,
body[data-hub-theme="dark"] .hub-plan-card,
body[data-hub-theme="dark"] .hub-checkout-config,
body[data-hub-theme="dark"] .hub-checkout-summary,
body[data-hub-theme="dark"] .hub-inter-note,
body[data-hub-theme="dark"] .hub-credit-detail {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #eef2f7 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
}

body.hub-dark-mode .hub-plan-card h3,
body.hub-dark-mode .hub-plan-price,
body.hub-dark-mode .hub-plan-current h2,
body.hub-dark-mode .hub-plan-history h3,
body.hub-dark-mode .hub-checkout-plan strong,
body.hub-dark-mode .hub-checkout-lines strong,
body[data-hub-theme="dark"] .hub-plan-card h3,
body[data-hub-theme="dark"] .hub-plan-price,
body[data-hub-theme="dark"] .hub-plan-current h2,
body[data-hub-theme="dark"] .hub-plan-history h3,
body[data-hub-theme="dark"] .hub-checkout-plan strong,
body[data-hub-theme="dark"] .hub-checkout-lines strong {
  color: #f8fafc !important;
}

body.hub-dark-mode .hub-plan-current p,
body.hub-dark-mode .hub-plan-history p,
body.hub-dark-mode .hub-plan-saving,
body.hub-dark-mode .hub-plan-price small,
body.hub-dark-mode .hub-plan-card-head span,
body.hub-dark-mode .hub-plan-card-head strong,
body.hub-dark-mode .hub-plan-features,
body.hub-dark-mode .hub-checkout-plan span,
body.hub-dark-mode .hub-checkout-plan small,
body.hub-dark-mode .hub-checkout-lines span,
body[data-hub-theme="dark"] .hub-plan-current p,
body[data-hub-theme="dark"] .hub-plan-history p,
body[data-hub-theme="dark"] .hub-plan-saving,
body[data-hub-theme="dark"] .hub-plan-price small,
body[data-hub-theme="dark"] .hub-plan-card-head span,
body[data-hub-theme="dark"] .hub-plan-card-head strong,
body[data-hub-theme="dark"] .hub-plan-features,
body[data-hub-theme="dark"] .hub-checkout-plan span,
body[data-hub-theme="dark"] .hub-checkout-plan small,
body[data-hub-theme="dark"] .hub-checkout-lines span {
  color: #aab4c2 !important;
}

body.hub-dark-mode .hub-period-options span,
body.hub-dark-mode .hub-plan-discounts span,
body[data-hub-theme="dark"] .hub-period-options span,
body[data-hub-theme="dark"] .hub-plan-discounts span {
  background: #1a202b !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
  color: #eef2f7 !important;
}

body.hub-dark-mode .hub-period-options input:checked + span,
body[data-hub-theme="dark"] .hub-period-options input:checked + span {
  background: rgba(244, 176, 0, 0.18) !important;
  border-color: rgba(244, 176, 0, 0.76) !important;
  color: #fff7d6 !important;
}

body.hub-dark-mode .hub-settings-tabs .nav-link.active,
body.hub-dark-mode .nav-pills .nav-link.active,
body.hub-dark-mode .nav-tabs .nav-link.active,
body[data-hub-theme="dark"] .hub-settings-tabs .nav-link.active,
body[data-hub-theme="dark"] .nav-pills .nav-link.active,
body[data-hub-theme="dark"] .nav-tabs .nav-link.active {
  background: rgba(244, 176, 0, 0.10) !important;
  border-color: rgba(244, 176, 0, 0.46) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 0 0 1px rgba(244, 176, 0, 0.08) !important;
}

body.hub-dark-mode .alert-warning,
body[data-hub-theme="dark"] .alert-warning {
  background: rgba(244, 176, 0, 0.10) !important;
  border-color: rgba(244, 176, 0, 0.44) !important;
  color: #ffe7a3 !important;
}

body.hub-dark-mode .form-text,
body[data-hub-theme="dark"] .form-text {
  color: #93a0b3 !important;
}

body.hub-dark-mode .modal-footer,
body[data-hub-theme="dark"] .modal-footer {
  background: #202734 !important;
  border-top-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.18) !important;
}

body.hub-dark-mode .modal-header,
body[data-hub-theme="dark"] .modal-header {
  border-bottom-color: rgba(148, 163, 184, 0.24) !important;
}

body.hub-dark-mode .modal-content,
body[data-hub-theme="dark"] .modal-content {
  background: #202734 !important;
  color: #eef2f7 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

body.hub-dark-mode .modal-title,
body[data-hub-theme="dark"] .modal-title {
  color: #f8fafc !important;
}

body.hub-dark-mode .btn-close,
body[data-hub-theme="dark"] .btn-close,
html.hub-dark-mode .btn-close {
  filter: invert(1) grayscale(100%) brightness(1.85);
  opacity: 0.88;
}

body.hub-dark-mode .btn-close:hover,
body[data-hub-theme="dark"] .btn-close:hover,
html.hub-dark-mode .btn-close:hover {
  opacity: 1;
}

body.hub-dark-mode .form-check-input,
body[data-hub-theme="dark"] .form-check-input {
  background-color: #151922 !important;
  border-color: rgba(148, 163, 184, 0.52) !important;
}

.form-check-input:checked {
  background-color: #f4b000 !important;
  border-color: #f4b000 !important;
}

.form-check-input:focus {
  border-color: rgba(244, 176, 0, 0.78) !important;
  box-shadow: 0 0 0 0.18rem rgba(244, 176, 0, 0.18) !important;
}

body.hub-dark-mode .form-check-input:checked,
body[data-hub-theme="dark"] .form-check-input:checked {
  background-color: #f4b000 !important;
  border-color: #f4b000 !important;
}

body.hub-dark-mode .form-check-input:focus,
body[data-hub-theme="dark"] .form-check-input:focus {
  border-color: rgba(244, 176, 0, 0.78) !important;
  box-shadow: 0 0 0 0.18rem rgba(244, 176, 0, 0.18) !important;
}

body.hub-dark-mode .hub-permissions-scroll,
body[data-hub-theme="dark"] .hub-permissions-scroll {
  border-color: rgba(148, 163, 184, 0.28) !important;
  background: #171d27 !important;
}

body.hub-dark-mode .hub-permissions-grid,
body[data-hub-theme="dark"] .hub-permissions-grid {
  --bs-table-bg: #171d27;
  --bs-table-color: #eef2f7;
  --bs-table-border-color: rgba(148, 163, 184, 0.20);
  --bs-table-striped-bg: #1b2230;
  --bs-table-hover-bg: rgba(244, 176, 0, 0.08);
}

body.hub-dark-mode .hub-permissions-grid thead th,
body[data-hub-theme="dark"] .hub-permissions-grid thead th {
  background: #151922 !important;
  color: #f8fafc !important;
  border-bottom-color: rgba(148, 163, 184, 0.24) !important;
}

body.hub-dark-mode .dropdown-menu,
body[data-hub-theme="dark"] .dropdown-menu {
  background: #202734 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #eef2f7 !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38) !important;
}

body.hub-dark-mode .dropdown-item,
body[data-hub-theme="dark"] .dropdown-item {
  color: #eef2f7 !important;
}

body.hub-dark-mode .dropdown-header,
body[data-hub-theme="dark"] .dropdown-header {
  color: #aeb8c7 !important;
}

body.hub-dark-mode .dropdown-item:hover,
body.hub-dark-mode .dropdown-item:focus,
body[data-hub-theme="dark"] .dropdown-item:hover,
body[data-hub-theme="dark"] .dropdown-item:focus {
  background: #2a3446 !important;
  color: #ffffff !important;
}

body.hub-dark-mode .dropdown-divider,
body[data-hub-theme="dark"] .dropdown-divider {
  border-top-color: rgba(148, 163, 184, 0.24) !important;
}

body.hub-dark-mode .hub-plan-timeline-marker,
body[data-hub-theme="dark"] .hub-plan-timeline-marker {
  border-color: rgba(244, 176, 0, 0.18) !important;
  box-shadow: 0 0 0 1px rgba(244, 176, 0, 0.42) !important;
}

body.hub-dark-mode .hub-plan-timeline-item strong,
body[data-hub-theme="dark"] .hub-plan-timeline-item strong {
  color: #f8fafc !important;
}

.hub-dev-comment-trigger,
.hub-bug-report-trigger {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1060;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #111827;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.hub-dev-comment-trigger {
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  background: #f4b000;
  color: #111827;
  border-color: rgba(154, 103, 0, 0.28);
}

.hub-dev-comment-modal[hidden],
.hub-bug-report-modal[hidden] {
  display: none;
}

.hub-dev-comment-modal,
.hub-bug-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hub-dev-comment-backdrop,
.hub-bug-report-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.hub-dev-comment-card,
.hub-bug-report-card {
  position: relative;
  width: min(720px, calc(100vw - 2rem));
  max-height: min(760px, calc(100vh - 2rem));
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  background: #fff;
  color: #132033;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.hub-dev-comment-head,
.hub-bug-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.hub-dev-comment-head span,
.hub-bug-report-head span {
  display: block;
  margin-bottom: 0.25rem;
  color: #9a6700;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-dev-comment-head h2,
.hub-bug-report-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.hub-dev-comment-head button,
.hub-bug-report-head button {
  border: 0;
  background: transparent;
  color: inherit;
}

.hub-dev-comment-form,
.hub-bug-report-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.35rem;
}

.hub-dev-comment-form textarea,
.hub-bug-report-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.44);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.hub-dev-comment-form button,
.hub-bug-report-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: #f4b000;
  color: #111827;
  font-weight: 900;
}

.hub-dev-comment-list,
.hub-bug-report-list {
  display: grid;
  gap: 0.65rem;
  padding: 0 1.35rem 1.35rem;
}

.hub-dev-comment-list article,
.hub-bug-report-list article {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(248, 250, 252, 0.84);
}

.hub-dev-comment-list header,
.hub-bug-report-list header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.hub-dev-comment-list time,
.hub-dev-comment-empty,
.hub-bug-report-list time,
.hub-bug-report-empty {
  color: #64748b;
  font-size: 0.84rem;
}

.hub-dev-comment-list p,
.hub-bug-report-list p {
  margin: 0;
}

.hub-bug-report-answer {
  margin-top: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff7d6;
}

body.hub-dark-mode .hub-dev-comment-card,
body[data-hub-theme="dark"] .hub-dev-comment-card,
body.hub-dark-mode .hub-bug-report-card,
body[data-hub-theme="dark"] .hub-bug-report-card {
  background: #202734;
  color: #eef2f7;
  border-color: rgba(148, 163, 184, 0.26);
}

body.hub-dark-mode .hub-dev-comment-head,
body[data-hub-theme="dark"] .hub-dev-comment-head,
body.hub-dark-mode .hub-bug-report-head,
body[data-hub-theme="dark"] .hub-bug-report-head {
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

body.hub-dark-mode .hub-dev-comment-head span,
body[data-hub-theme="dark"] .hub-dev-comment-head span,
body.hub-dark-mode .hub-bug-report-head span,
body[data-hub-theme="dark"] .hub-bug-report-head span {
  color: #ffd66f;
}

body.hub-dark-mode .hub-dev-comment-form textarea,
body[data-hub-theme="dark"] .hub-dev-comment-form textarea,
body.hub-dark-mode .hub-bug-report-form textarea,
body[data-hub-theme="dark"] .hub-bug-report-form textarea {
  background: #151922;
  color: #eef2f7;
  border-color: rgba(148, 163, 184, 0.36);
}

body.hub-dark-mode .hub-dev-comment-list article,
body[data-hub-theme="dark"] .hub-dev-comment-list article,
body.hub-dark-mode .hub-bug-report-list article,
body[data-hub-theme="dark"] .hub-bug-report-list article {
  background: #171d27;
  border-color: rgba(148, 163, 184, 0.20);
}

body.hub-dark-mode .hub-bug-report-answer,
body[data-hub-theme="dark"] .hub-bug-report-answer {
  background: rgba(244, 176, 0, 0.12);
  color: #ffe7a3;
}
