:root {
  --hub-bg: #0a0a0c;
  --hub-panel: #15161b;
  --hub-panel-2: #20222a;
  --hub-line: #30323a;
  --hub-text: #f7f4e8;
  --hub-muted: #a8a9b2;
  --hub-gold: #c9982a;
  --hub-financeiro: #3ddc84;
  --hub-energia: #f5c518;
  --hub-tributario: #7c3aed;
  --hub-musica: #8b5cf6;
  --hub-radius: 8px;
  --hub-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  --hub-font-display: Archivo, Inter, Segoe UI, Arial, sans-serif;
  --hub-font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.hub-btn,
button.hub-btn,
a.hub-btn {
  min-height: 40px;
  border: 0;
  border-radius: var(--hub-radius);
  background: var(--hub-gold);
  color: #111;
  font-family: var(--hub-font-display);
  font-weight: 900;
  text-decoration: none;
  padding: 10px 14px;
  cursor: pointer;
}

.hub-btn:focus-visible,
.hub-help-button:focus-visible,
.hub-accordion summary:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--hub-gold);
  outline-offset: 3px;
}

.hub-card {
  background: var(--hub-panel);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  padding: 16px;
}

.hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hub-line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--hub-muted);
  background: var(--hub-panel-2);
  font-size: 12px;
  font-weight: 800;
}

.hub-tag[data-vertical="financeiro"] { color: var(--hub-financeiro); }
.hub-tag[data-vertical="energia"] { color: var(--hub-energia); }
.hub-tag[data-vertical="tributario"] { color: var(--hub-tributario); }
.hub-tag[data-vertical="musica"] { color: var(--hub-musica); }

.hub-accordion {
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  overflow: hidden;
}

.hub-accordion summary {
  cursor: pointer;
  padding: 12px;
  background: var(--hub-panel-2);
  font-weight: 900;
}

.hub-accordion > div {
  padding: 12px;
}

.hub-help-button {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border: 1px solid var(--hub-line);
  border-radius: 999px;
  background: var(--hub-panel-2);
  color: var(--hub-gold);
  font-weight: 900;
  cursor: pointer;
  vertical-align: middle;
}

.hub-help-popover {
  position: fixed;
  z-index: 9999;
  width: min(340px, calc(100vw - 28px));
  background: var(--hub-panel);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-shadow);
  color: var(--hub-text);
  padding: 14px;
}

.hub-help-popover strong {
  display: block;
  color: var(--hub-gold);
  margin-bottom: 8px;
}

.hub-help-popover p {
  margin: 8px 0 0;
  color: var(--hub-muted);
  line-height: 1.45;
}
