/* =========================================================
   Volvet Hub — estilos base
   Paleta, tipografia e componentes compartilhados.
   ========================================================= */

:root {
  /* Identidade Volvet (mesma paleta do portal volvet.com.br) */
  --vh-green: #2B6E52;
  --vh-green-dark: #1F5540;
  --vh-gold: #C9922E;
  --vh-plum: #8B3A4B;

  --vh-bg: #FAF6EE;
  --vh-surface: #ffffff;
  --vh-surface-2: #FCFAF6;
  --vh-surface-3: #F3EEE6;
  --vh-text: #2B2620;
  --vh-text-2: #3D362E;
  --vh-muted: #756D64;
  --vh-icon: #5A5148;
  --vh-line: #E9E1D5;
  --vh-line-soft: #F1ECE3;
  --vh-line-strong: #D5CBBB;

  --vh-accent: var(--vh-green);
  --vh-accent-hover: var(--vh-green-dark);
  --vh-accent-soft: #E4EFE6;
  --vh-accent-ink: var(--vh-green-dark);

  --vh-success: var(--vh-green-dark);
  --vh-success-ink: var(--vh-green-dark);
  --vh-success-soft: #E4EFE6;
  --vh-success-dot: var(--vh-green);

  --vh-warning: #7A5512;
  --vh-warning-ink: #6B4A0F;
  --vh-warning-soft: #F6E8CE;
  --vh-warning-dot: var(--vh-gold);

  --vh-offer: var(--vh-plum);
  --vh-offer-soft: #F3E1E4;
  --vh-offer-ink: #6E2D3B;

  --vh-danger: #b42318;
  --vh-danger-soft: #fdecea;

  --vh-radius-sm: 10px;
  --vh-radius: 14px;
  --vh-radius-lg: 18px;
  --vh-radius-pill: 999px;
  --vh-shadow-modal: 0 24px 60px rgba(43, 38, 32, 0.22);

  --vh-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --vh-font-display: "Quicksand", var(--vh-font);
}

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

html, body { margin: 0; }
/* Reserva o espaço da barra de rolagem: o cabeçalho não se desloca entre telas longas e curtas. */
html { scrollbar-gutter: stable; }

body {
  min-height: 100vh;
  background: var(--vh-bg);
  color: var(--vh-text);
  font-family: var(--vh-font);
  font-size: 14px;
  line-height: 1.4;
}

h1, h2, h3, p { margin: 0; }
h1 { font-family: var(--vh-font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-family: var(--vh-font-display); font-size: 17px; font-weight: 700; }
strong { font-weight: 600; }

a { color: var(--vh-accent); text-decoration: none; font-weight: 500; }
a:hover { color: var(--vh-accent-hover); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--vh-gold); outline-offset: 2px; }

.vh-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.vh-muted { color: var(--vh-muted); }
.vh-small { font-size: 12px; }

/* ---------- Ícones ---------- */
.vh-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.vh-ico-sm { width: 16px; height: 16px; }
.vh-ico-lg { width: 24px; height: 24px; }

.vh-ico-box {
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 12px; background: var(--vh-surface-3); color: var(--vh-icon);
}
.vh-ico-box--accent { background: var(--vh-accent-soft); color: var(--vh-accent); }
.vh-ico-box--lg { width: 48px; height: 48px; }

/* ---------- Botões ---------- */
.vh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: var(--vh-radius-pill);
  border: 1px solid var(--vh-line); background: var(--vh-surface); color: var(--vh-text);
  font-weight: 600; text-decoration: none;
}
.vh-btn:hover { border-color: var(--vh-line-strong); color: var(--vh-text); }
.vh-btn--primary { border-color: transparent; background: var(--vh-accent); color: #ffffff; box-shadow: 0 8px 20px rgba(43, 110, 82, 0.18); }
.vh-btn--primary:hover { background: var(--vh-accent-hover); color: #ffffff; }
.vh-btn--soft { border-color: transparent; background: var(--vh-accent-soft); color: var(--vh-accent-ink); }
.vh-btn--soft:hover { background: #D6E7DA; color: var(--vh-accent-ink); }
.vh-btn--ghost { border-color: transparent; background: transparent; padding: 0 4px; min-height: 44px; }
.vh-btn--ghost.vh-muted { color: var(--vh-muted); font-weight: 500; }
.vh-btn--lg { min-height: 48px; border-radius: var(--vh-radius-pill); font-size: 15px; }
.vh-btn--block { width: 100%; }
.vh-btn--icon { width: 40px; padding: 0; }

/* ---------- Superfícies ---------- */
.vh-card {
  padding: 22px; border-radius: var(--vh-radius-lg);
  background: var(--vh-surface); border: 1px solid var(--vh-line);
}
.vh-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

.vh-pill {
  display: inline-flex; width: fit-content; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.vh-pill--success { background: var(--vh-success-soft); color: var(--vh-success); }
.vh-pill--warning { background: var(--vh-warning-soft); color: var(--vh-warning); }
.vh-pill--neutral { background: var(--vh-surface-3); color: var(--vh-muted); }
.vh-pill--danger { background: var(--vh-danger-soft); color: var(--vh-danger); }
.vh-pill--info { background: var(--vh-offer-soft); color: var(--vh-offer-ink); }
.vh-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.vh-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.vh-dot--sm { width: 8px; height: 8px; }
.vh-dot--lembrete { background: var(--vh-plum); }
.vh-dot--pagar { background: var(--vh-warning-dot); }
.vh-dot--receber { background: var(--vh-success-dot); }

/* =========================================================
   Barra superior
   ========================================================= */
.vh-topbar { background: var(--vh-surface); border-bottom: 1px solid var(--vh-line); }
.vh-topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; min-height: 64px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
}
.vh-brand { display: flex; align-items: center; gap: 10px; color: var(--vh-text); }
.vh-brand:hover { color: var(--vh-text); }
.vh-logo { width: 34px; height: 34px; display: block; flex: 0 0 auto; }
.vh-brand-name { font-family: var(--vh-font-display); font-size: 17px; font-weight: 700; }

.vh-nav { flex: 1 1 480px; display: flex; flex-wrap: wrap; gap: 4px; }
.vh-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: var(--vh-radius-pill); color: var(--vh-icon);
}
.vh-nav a:hover { background: var(--vh-surface-2); color: var(--vh-text); }
.vh-nav a.is-active { background: var(--vh-accent-soft); color: var(--vh-accent-ink); font-weight: 600; }

.vh-top-actions { display: flex; align-items: center; gap: 10px; }
.vh-avatar {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--vh-accent-soft); color: var(--vh-accent-ink); font-weight: 600; font-size: 13px;
}
.vh-inline-form { margin: 0; display: inline; }
.vh-company-context { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--vh-muted); font-size: 12px; }

/* =========================================================
   Início (dashboard)
   ========================================================= */
.vh-page {
  max-width: 1280px; margin: 0 auto; padding: 28px 24px 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.vh-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vh-page-head h1 { margin-top: 4px; }

.vh-grid-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }

/* Saldo */
.vh-balance { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.vh-balance-main { flex: 1 1 220px; display: flex; flex-direction: column; gap: 14px; }
.vh-balance-value { font-family: var(--vh-font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.vh-balance-split { display: flex; gap: 24px; }
.vh-balance-split > div { display: flex; flex-direction: column; gap: 2px; }
.vh-balance-split strong { font-size: 16px; }
.vh-legend { display: flex; align-items: center; gap: 6px; }
.vh-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.vh-swatch--in { background: var(--vh-accent); }
.vh-swatch--out { background: var(--vh-line-strong); }

.vh-chart { flex: 1 1 240px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.vh-chart-bars {
  height: 120px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px;
  align-items: end; border-bottom: 1px solid var(--vh-line);
}
.vh-chart-col { height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.vh-bar { width: 18px; border-radius: 4px 4px 0 0; }
.vh-bar--in { background: var(--vh-accent); }
.vh-bar--out { background: var(--vh-line-strong); }
.vh-chart-labels {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px;
  text-align: center; color: var(--vh-muted); font-size: 12px;
}

/* Próximos 7 dias */
.vh-next { display: flex; flex-direction: column; gap: 14px; }
.vh-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vh-next-box { padding: 14px; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.vh-next-box strong { font-size: 22px; font-weight: 700; }
.vh-next-box span { font-size: 12px; }
.vh-next-box--pagar { background: var(--vh-warning-soft); color: var(--vh-warning-ink); }
.vh-next-box--receber { background: var(--vh-success-soft); color: var(--vh-success-ink); }
.vh-next-forecast { padding: 12px 14px; border-radius: 12px; background: var(--vh-bg); color: var(--vh-text-2); }

/* Meu dia + módulos */
.vh-row { display: flex; flex-wrap: wrap; gap: 16px; }
.vh-col-day { flex: 3 1 520px; min-width: 0; }
.vh-col-mods { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.vh-legends { display: flex; flex-wrap: wrap; gap: 12px; color: var(--vh-muted); font-size: 12px; }
.vh-day-empty { margin: 20px 0 4px; }

.vh-timeline { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.vh-timeline li {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 0;
  border-top: 1px solid var(--vh-line-soft);
}
.vh-timeline li.is-done .vh-tl-title { text-decoration: line-through; color: var(--vh-muted); }
.vh-timeline li.is-done .vh-check { background: var(--vh-success-soft); color: var(--vh-success); border-color: transparent; }
.vh-tl-time { width: 52px; flex: 0 0 auto; color: var(--vh-muted); font-size: 13px; font-weight: 600; }
.vh-tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vh-tl-title { font-weight: 500; }
.vh-tl-value { white-space: nowrap; }
.vh-check {
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px solid var(--vh-line); border-radius: var(--vh-radius-sm);
  background: var(--vh-surface); color: var(--vh-muted);
}

.vh-launcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vh-launcher a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px;
  border-radius: var(--vh-radius); background: var(--vh-surface-2); border: 1px solid var(--vh-line-soft);
  color: var(--vh-text); font-size: 12px; text-align: center;
}
.vh-launcher a:hover { border-color: var(--vh-accent); color: var(--vh-text); }
.vh-launcher a.vh-launcher-add {
  justify-content: center; background: transparent; border: 1px dashed var(--vh-line-strong);
  color: var(--vh-icon); font-weight: 600;
}

/* Explorar */
.vh-explore { display: flex; flex-direction: column; gap: 14px; }
.vh-explore h2 { font-size: 18px; }
.vh-explore-head p { margin-top: 6px; }
.vh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600;
  border: 1px solid var(--vh-line); background: var(--vh-surface); color: var(--vh-icon);
}
.vh-chip[aria-pressed="true"] { border-color: var(--vh-accent); background: var(--vh-accent); color: #ffffff; }

.vh-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vh-mod {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  border-radius: var(--vh-radius); border: 1px solid var(--vh-line);
}
.vh-mod[hidden] { display: none; }
.vh-mod-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vh-mod-name { font-size: 15px; }
.vh-mod-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.vh-price small { color: var(--vh-muted); font-weight: 400; font-size: 14px; }

/* Modal */
.vh-modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(43, 38, 32, 0.5);
}
.vh-modal-backdrop[hidden] { display: none; }
.vh-modal {
  width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; padding: 24px;
  border-radius: var(--vh-radius-lg); background: var(--vh-surface); box-shadow: var(--vh-shadow-modal);
  display: flex; flex-direction: column; gap: 18px;
}
.vh-modal-head { display: flex; align-items: flex-start; gap: 14px; }
.vh-modal-head > div { flex: 1; min-width: 0; }
.vh-modal-head h2 { margin-top: 2px; font-size: 20px; }
.vh-modal-close { border: 0; background: var(--vh-surface-3); }
.vh-modal-desc { line-height: 1.55; color: var(--vh-text-2); }
.vh-benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vh-benefits li { display: flex; align-items: center; gap: 10px; }
.vh-benefit-check {
  width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 50%; background: var(--vh-success-soft); color: var(--vh-success);
}
.vh-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.vh-modal-actions-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.vh-trial-ok {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px;
  background: var(--vh-success-soft); color: var(--vh-success-ink);
}
.vh-trial-ok[hidden], .vh-modal-actions[hidden] { display: none; }
.vh-trial-ok strong { font-size: 15px; }
.vh-trial-ok .vh-btn { align-self: flex-start; background: var(--vh-success); border-color: transparent; color: #ffffff; }

/* =========================================================
   Pessoas
   ========================================================= */
.vh-people-card { display: flex; flex-direction: column; gap: 18px; }
.vh-people-caption { margin-top: 4px; }
.vh-empty {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 26px;
  border: 1px dashed var(--vh-line-strong); border-radius: var(--vh-radius); background: var(--vh-surface-2);
}
.vh-empty > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 3px; }
.vh-table-wrap { width: 100%; overflow-x: auto; }
.vh-table { width: 100%; border-collapse: collapse; }
.vh-table th, .vh-table td { padding: 13px 12px; text-align: left; border-top: 1px solid var(--vh-line-soft); vertical-align: middle; }
.vh-table th { color: var(--vh-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.vh-table tbody tr.is-inactive { opacity: 0.65; }
.vh-table td > strong, .vh-table td > span { display: block; }
.vh-table .vh-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.vh-description-cell { max-width: 360px; color: var(--vh-muted); }
.vh-actions-cell { min-width: 190px; }
.vh-actions-cell, .vh-actions-cell form { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }

.vh-form-page { max-width: 960px; }
.vh-back-link { display: inline-block; margin-bottom: 8px; }
.vh-person-form { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.vh-form-section {
  display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 28px;
  padding: 24px; border-top: 1px solid var(--vh-line);
}
.vh-form-section:first-of-type { border-top: 0; }
.vh-form-section > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.vh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vh-field-wide { grid-column: 1 / -1; }
.vh-person-form .vh-field input, .vh-person-form .vh-field select, .vh-person-form .vh-field textarea {
  width: 100%; border: 1px solid var(--vh-line); border-radius: 10px; background: var(--vh-surface-2);
}
.vh-person-form .vh-field input, .vh-person-form .vh-field select { min-height: 44px; padding: 0 12px; }
.vh-person-form .vh-field textarea { padding: 12px; resize: vertical; }
.vh-person-form .vh-field input:focus, .vh-person-form .vh-field select:focus, .vh-person-form .vh-field textarea:focus {
  border-color: var(--vh-accent); background: var(--vh-surface); outline: 3px solid var(--vh-accent-soft);
}
.vh-money-input {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding-left: 12px;
  border: 1px solid var(--vh-line); border-radius: 10px; background: var(--vh-surface-2); color: var(--vh-muted);
}
.vh-person-form .vh-money-input input { min-height: 42px; padding-left: 0; border: 0; background: transparent; }
.vh-money-input:focus-within { border-color: var(--vh-accent); background: var(--vh-surface); outline: 3px solid var(--vh-accent-soft); }
.vh-person-form .vh-money-input input:focus { outline: 0; background: transparent; }
.vh-field-error { color: var(--vh-danger); font-size: 12px; }
/* Nomes sempre em maiúsculas (o texto é convertido também no servidor) */
.vh-maiusculas { text-transform: uppercase; }
.vh-maiusculas::placeholder { text-transform: none; }
.vh-field-hint { color: var(--vh-muted); font-size: 12px; min-height: 1.4em; }
.vh-field-hint[data-tipo="carregando"] { color: var(--vh-text-2); }
.vh-field-hint[data-tipo="ok"] { color: var(--vh-success-ink); }
.vh-field-hint[data-tipo="erro"] { color: var(--vh-warning); }

/* UF + cidade com sugestões */
.vh-city-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
.vh-combobox { position: relative; }
.vh-combobox-list {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--vh-surface); border: 1px solid var(--vh-line); border-radius: 12px;
  box-shadow: 0 16px 36px rgba(43, 38, 32, 0.14);
}
.vh-combobox-list [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px; padding: 8px 12px; border-radius: 8px; cursor: pointer;
}
.vh-combobox-list [role="option"]:hover,
.vh-combobox-list [role="option"][aria-selected="true"] { background: var(--vh-accent-soft); color: var(--vh-accent-ink); }
.vh-combobox-uf { font-size: 12px; font-weight: 700; color: var(--vh-muted); letter-spacing: 0.04em; }
.vh-combobox-empty { padding: 10px 12px; color: var(--vh-muted); }
.vh-choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vh-choice {
  display: flex; align-items: flex-start; gap: 10px; min-height: 72px; padding: 14px;
  border: 1px solid var(--vh-line); border-radius: 12px; background: var(--vh-surface-2);
}
.vh-choice input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vh-accent); }
.vh-choice span { display: flex; flex-direction: column; gap: 2px; }
.vh-choice small { color: var(--vh-muted); }
.vh-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--vh-line); background: var(--vh-surface-2); }
.vh-validation-summary { margin: 20px 24px 0; padding: 14px; border-radius: 12px; background: var(--vh-danger-soft); color: var(--vh-danger); }
.vh-validation-summary ul { margin: 8px 0 0; padding-left: 20px; }

/* =========================================================
   Vendas
   ========================================================= */
.vh-sale-page { max-width: 1120px; }
.vh-sale-items { display: flex; flex-direction: column; gap: 10px; }
.vh-sale-item {
  display: grid; grid-template-columns: minmax(220px, 2fr) minmax(100px, .65fr) minmax(130px, .8fr) minmax(110px, .7fr) 40px;
  gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--vh-line); border-radius: 12px; background: var(--vh-surface-2);
}
.vh-sale-item-total { min-height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
.vh-sale-items-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.vh-sale-total { display: flex; align-items: baseline; gap: 12px; }
.vh-sale-total span { color: var(--vh-muted); }
.vh-sale-total strong { font-size: 24px; }
.vh-sale-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vh-sale-summary .vh-card { display: flex; flex-direction: column; gap: 5px; padding: 16px; }
.vh-sale-summary-total { font-size: 20px; }
.vh-sale-observation { margin-top: 10px; white-space: pre-wrap; color: var(--vh-text-2); }

/* Vendas: totais com desconto, ações por status */
.vh-sale-totals { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 260px; }
.vh-sale-totals-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; color: var(--vh-muted); }
.vh-sale-totals-row strong { color: var(--vh-text); }
.vh-sale-discount label { font-weight: 500; color: var(--vh-text-2); }
.vh-sale-discount .vh-money-input { width: 150px; }
.vh-sale-totals .vh-sale-total { width: 100%; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--vh-line); }
.vh-sale-totals--detail { margin-left: auto; max-width: 320px; margin-top: 4px; }
.vh-sale-actions { display: flex; flex-direction: column; gap: 16px; border-color: var(--vh-line-strong); }
.vh-sale-conclude { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 14px 16px; align-items: end; }
.vh-sale-conclude .vh-choice-group { margin: 0; }
.vh-sale-conclude select, .vh-sale-conclude input[type="date"] {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--vh-line); border-radius: 10px; background: var(--vh-surface-2);
}
.vh-sale-actions-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.vh-sale-refuse { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; padding-top: 12px; border-top: 1px solid var(--vh-line-soft); }
.vh-field-label { font-weight: 500; }
.vh-person-form .vh-field .vh-choice input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: 0 0 auto; }
.vh-alert--warning { background: var(--vh-warning-soft); color: var(--vh-warning-ink); }
.vh-btn--danger { border-color: var(--vh-danger); color: var(--vh-danger); background: var(--vh-surface); }
.vh-btn--danger:hover { background: var(--vh-danger-soft); color: var(--vh-danger); border-color: var(--vh-danger); }
a.vh-chip { display: inline-flex; align-items: center; text-decoration: none; }
.vh-chip.is-active { border-color: var(--vh-accent); background: var(--vh-accent); color: #ffffff; }
@media (max-width: 720px) {
  .vh-sale-conclude { grid-template-columns: 1fr; }
  .vh-sale-totals { min-width: 0; width: 100%; }
}

/* =========================================================
   Contas
   ========================================================= */
.vh-account-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vh-account-summary .vh-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.vh-account-summary strong { font-size: 24px; }
.vh-account-status-fields { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, .7fr); gap: 14px; align-items: end; }
.vh-account-paid-choice { min-height: 72px; }

/* Contas: financeiro do mês (3.4) */
.vh-month-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vh-month-nav-label { min-width: 170px; text-align: center; font-family: var(--vh-font-display); font-size: 17px; }
.vh-month-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vh-month-summary .vh-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.vh-month-summary strong { font-size: 21px; }
.vh-month-summary-total { background: var(--vh-accent-soft); border-color: transparent; }
.vh-month-summary-total strong { color: var(--vh-green-dark); }
.vh-month-summary-total.is-negativo { background: var(--vh-danger-soft); }
.vh-month-summary-total.is-negativo strong { color: var(--vh-danger); }
.vh-month-overdue { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; text-decoration: none; }
.vh-month-overdue:hover { filter: brightness(0.97); }
.vh-account-detail { display: block; margin-top: 4px; }
.vh-account-detail.is-vencida { color: var(--vh-danger); }
@media (max-width: 1080px) {
  .vh-month-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-month-summary-total { grid-column: 1 / -1; }
}

/* =========================================================
   Lembretes
   ========================================================= */
.vh-reminder-due-card { display: grid; gap: 14px; }
.vh-reminder-auto-list { display: grid; gap: 10px; }
.vh-reminder-auto-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--vh-line); border-radius: 12px; }
.vh-reminder-auto-body { display: flex; flex-direction: column; min-width: 0; }

/* =========================================================
   Login
   ========================================================= */
.vh-auth { min-height: 100vh; display: flex; flex-wrap: wrap; }

.vh-auth-brand {
  position: relative; overflow: hidden;
  flex: 1 1 420px; padding: 48px; background: var(--vh-green-dark); color: #ffffff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
/* Círculos decorativos, como no portal */
.vh-auth-brand::before {
  content: ""; position: absolute; width: 440px; height: 440px; right: -210px; top: -220px;
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%;
}
.vh-auth-brand::after {
  content: ""; position: absolute; width: 300px; height: 300px; left: -200px; bottom: -190px;
  border-radius: 50%; background: var(--vh-plum); opacity: 0.9;
}
.vh-auth-brand > * { position: relative; z-index: 1; }
.vh-auth-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--vh-gold); }
.vh-auth-pitch em { font-style: normal; color: var(--vh-gold); }
.vh-auth-brand .vh-logo { width: 40px; height: 40px; }
.vh-auth-brand .vh-brand { color: #ffffff; }
.vh-auth-pitch { max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.vh-auth-pitch h1 { font-size: 38px; line-height: 1.1; font-weight: 700; }
.vh-auth-pitch h1 + p::before { content: ""; display: block; width: 50px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: var(--vh-gold); }
.vh-auth-pitch p { font-size: 16px; line-height: 1.55; opacity: 0.92; }
.vh-auth-points { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vh-auth-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.vh-auth-points .vh-benefit-check { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.vh-auth-foot { font-size: 13px; opacity: 0.85; }

.vh-auth-main {
  flex: 1 1 480px; padding: 48px 24px; background: var(--vh-surface);
  display: flex; align-items: center; justify-content: center;
}
.vh-auth-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.vh-auth-form h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.vh-auth-form > div > p { margin-top: 6px; }
.vh-auth-form .vh-validation-summary { margin: 0; }

.vh-field { display: flex; flex-direction: column; gap: 6px; }
.vh-field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vh-field label { font-weight: 500; }
.vh-input-wrap {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--vh-line); border-radius: 12px; background: var(--vh-surface-2);
  color: var(--vh-muted);
}
.vh-input-wrap:focus-within { border-color: var(--vh-accent); background: var(--vh-surface); outline: 3px solid var(--vh-accent-soft); }
.vh-input-wrap input {
  flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--vh-text);
}
.vh-input-wrap .vh-company-code { letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.vh-input-toggle {
  min-height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  color: var(--vh-accent); font-weight: 600; font-size: 13px;
}

.vh-alert { padding: 12px 14px; border-radius: 12px; line-height: 1.45; }
.vh-alert--error { background: var(--vh-danger-soft); color: var(--vh-danger); }
.vh-alert--info { background: var(--vh-success-soft); color: var(--vh-success-ink); }

.vh-divider { height: 1px; background: var(--vh-line); }
.vh-auth-signup { text-align: center; color: var(--vh-muted); }
.vh-auth-back { align-self: center; }

@media (max-width: 720px) {
  .vh-auth-brand { padding: 32px 24px; flex-basis: 100%; }
  .vh-auth-pitch h1 { font-size: 28px; }
  .vh-auth-points, .vh-auth-foot { display: none; }
  .vh-auth-main { padding: 32px 16px; }
  .vh-page { padding: 20px 16px 40px; }
  .vh-topbar-inner { padding: 8px 16px; }
  .vh-balance-value { font-size: 30px; }
  .vh-company-context { display: none; }
  .vh-form-section { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
  .vh-form-grid, .vh-choice-group { grid-template-columns: 1fr; }
  .vh-form-actions { padding: 16px; }
  .vh-sale-item { grid-template-columns: 1fr 1fr; }
  .vh-sale-product { grid-column: 1 / -1; }
  .vh-sale-item-total { align-items: flex-start; }
  .vh-sale-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-account-status-fields { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .vh-sale-item, .vh-sale-summary, .vh-account-summary { grid-template-columns: 1fr; }
  .vh-sale-item-total { align-items: flex-start; }
  .vh-reminder-auto-item { grid-template-columns: auto minmax(0, 1fr); }
  .vh-reminder-auto-item > strong, .vh-reminder-auto-item > .vh-btn { grid-column: 2; justify-self: start; }
}

/* =========================================================
   Ofertas (vitrine de módulos) — ameixa, como os botões do portal
   ========================================================= */
.vh-mod .vh-btn--soft { background: var(--vh-offer-soft); color: var(--vh-offer-ink); }
.vh-mod .vh-btn--soft:hover { background: #EBCDD3; color: var(--vh-offer-ink); }
.vh-chip[aria-pressed="true"] { box-shadow: 0 6px 16px rgba(43, 110, 82, 0.18); }


/* Tela inicial: lembrete de orçamentos em aberto */
.vh-reminder-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 18px;
  border-radius: var(--vh-radius); background: var(--vh-offer-soft); color: var(--vh-offer-ink); text-decoration: none;
}
.vh-reminder-banner:hover { color: var(--vh-offer-ink); filter: brightness(0.98); }
.vh-reminder-banner-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.vh-reminder-banner-cta { font-weight: 700; }
.vh-ico-box--offer { background: var(--vh-surface); color: var(--vh-plum); }

/* =========================================================
   Tela inicial: Minha agenda (hoje / amanhã / 7 dias)
   ========================================================= */
.vh-agenda { display: flex; flex-direction: column; gap: 12px; }
.vh-agenda-head { flex-wrap: wrap; gap: 12px; }
.vh-segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--vh-radius-pill); background: var(--vh-surface-3); }
.vh-segmented button {
  border: 0; background: transparent; cursor: pointer; padding: 7px 16px; border-radius: var(--vh-radius-pill);
  font: 600 13px var(--vh-font); color: var(--vh-icon);
}
.vh-segmented button[aria-selected="true"] { background: var(--vh-surface); color: var(--vh-green-dark); box-shadow: 0 1px 3px rgba(43, 38, 32, 0.14); }
.vh-segmented button:focus-visible { outline: 2px solid var(--vh-accent); outline-offset: 1px; }

.vh-agenda-resumo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vh-agenda-resumo[hidden] { display: none; }
.vh-agenda-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--vh-line); border-radius: 12px; background: var(--vh-surface); color: var(--vh-text); text-align: left;
  font-family: var(--vh-font);
}
.vh-agenda-card:hover { border-color: var(--vh-line-strong); }
.vh-agenda-card small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--vh-muted); }
.vh-agenda-card strong { font-size: 17px; font-weight: 700; }
.vh-agenda-card[aria-pressed="true"] { border-color: var(--vh-accent); box-shadow: inset 0 0 0 1px var(--vh-accent); }
.vh-agenda-filtro { margin: -4px 0 0; }
.vh-link-btn { border: 0; padding: 0; background: none; color: var(--vh-accent); font: inherit; font-weight: 600; cursor: pointer; }

.vh-dot--orcamento { background: #3F6E9E; }

.vh-agenda-atrasados { padding: 6px 14px 4px; border-radius: 12px; background: var(--vh-danger-soft); }
.vh-agenda-atrasados[hidden] { display: none; }
.vh-agenda-atrasados h3 { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; font-size: 13px; color: var(--vh-danger); }
.vh-agenda-atrasados .vh-timeline { margin-top: 4px; }
.vh-agenda-atrasados .vh-timeline li:first-child { border-top: 0; }
.vh-agenda-atrasados .vh-timeline li { border-top-color: rgba(180, 35, 24, 0.12); }

.vh-agenda-dia[hidden] { display: none; }
.vh-agenda-dia .vh-timeline { margin-top: 0; }
.vh-agenda-dia-titulo {
  display: none; margin: 12px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--vh-line);
  font: 700 12px var(--vh-font); color: var(--vh-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.vh-agenda.is-semana .vh-agenda-dia-titulo { display: block; }
.vh-agenda.is-semana .vh-agenda-dia .vh-timeline li:first-child { border-top: 0; }
.vh-timeline li[hidden] { display: none; }

.vh-tl-link { color: var(--vh-text); font-weight: 400; }
.vh-tl-link:hover .vh-tl-title { color: var(--vh-accent); text-decoration: underline; }
.vh-agenda-act {
  flex: 0 0 auto; padding: 6px 12px; border-radius: var(--vh-radius-pill); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--vh-line-strong); background: var(--vh-surface); color: var(--vh-text); font: 600 12px var(--vh-font);
}
.vh-agenda-act:hover { border-color: var(--vh-accent); color: var(--vh-accent); }
.vh-agenda-act--receber { border-color: var(--vh-accent); color: var(--vh-accent); }
.vh-agenda form { margin: 0; }

@media (max-width: 720px) {
  .vh-agenda-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-agenda .vh-timeline li { flex-wrap: wrap; row-gap: 6px; }
  .vh-agenda .vh-tl-body { flex-basis: calc(100% - 90px); }
  .vh-agenda .vh-tl-value { margin-left: 66px; }
  .vh-agenda .vh-timeline li > form, .vh-agenda .vh-timeline li > .vh-agenda-act { margin-left: auto; }
}

/* Confirmação de pagamento/recebimento */
.vh-quitacao { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.vh-quitacao-desc { margin: 6px 0 0; display: flex; flex-direction: column; gap: 2px; }
.vh-quitacao-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vh-quitacao-campos .vh-field { display: flex; flex-direction: column; gap: 6px; }
.vh-quitacao-campos label { font-weight: 500; font-size: 14px; }
.vh-quitacao-campos input {
  width: 100%; min-height: 44px; padding: 0 12px; font: inherit;
  border: 1px solid var(--vh-line); border-radius: 10px; background: var(--vh-surface-2);
}
.vh-quitacao-campos input:focus { border-color: var(--vh-accent); background: var(--vh-surface); outline: 3px solid var(--vh-accent-soft); }
.vh-quitacao-aviso { margin: 0; }
.vh-quitacao-aviso[hidden] { display: none; }
.vh-quitacao .vh-modal-actions-row { justify-content: flex-end; }
@media (max-width: 460px) { .vh-quitacao-campos { grid-template-columns: 1fr; } }

/* =========================================================
   Rodapé (fragmentos rodape e rodape-publico)
   ========================================================= */
.vh-footer { border-top: 1px solid var(--vh-line); margin-top: 8px; color: var(--vh-muted); font-size: 12.5px; }
.vh-footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
}
.vh-footer strong { color: var(--vh-text); font-weight: 600; }
.vh-footer-code { margin-left: 12px; }
.vh-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.vh-footer a:hover { color: var(--vh-accent); }
.vh-footer--publico { border-top: 0; text-align: center; }
.vh-footer--publico .vh-footer-inner { justify-content: center; }
@media (max-width: 720px) {
  .vh-footer-inner { padding: 14px 16px 20px; flex-direction: column; align-items: flex-start; }
  .vh-footer-code { display: block; margin: 4px 0 0; }
}

/* =========================================================
   Páginas de erro (templates/error)
   ========================================================= */
.vh-error-body { min-height: 100vh; display: flex; flex-direction: column; }
.vh-error-page { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.vh-error-card {
  width: 100%; max-width: 520px; padding: 32px; border-radius: 20px; text-align: center;
  background: var(--vh-surface); border: 1px solid var(--vh-line); box-shadow: 0 12px 32px rgba(43, 38, 32, 0.06);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.vh-error-card .vh-brand { margin-bottom: 8px; }
.vh-error-code {
  margin: 0; font-family: var(--vh-font-display); font-weight: 700; font-size: 56px; line-height: 1;
  color: var(--vh-green);
}
.vh-error-card h1 { margin: 0; font-family: var(--vh-font-display); font-size: 24px; }
.vh-error-card > p { margin: 0; max-width: 40ch; }
.vh-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.vh-error-ref { margin-top: 8px !important; }

/* Agenda: resultado do período (substitui o antigo "saldo previsto") */
.vh-agenda-resultado {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding: 12px 14px; border-radius: 12px; background: var(--vh-bg); color: var(--vh-text-2); font-size: 13.5px;
}
.vh-agenda-resultado[hidden] { display: none; }
.vh-agenda-resultado strong { color: var(--vh-text); }
.vh-agenda-resultado-total { margin-left: auto; }
.vh-agenda-resultado-total strong { font-size: 15px; color: var(--vh-green-dark); }
.vh-agenda-resultado-total.is-negativo strong { color: var(--vh-danger); }
.vh-agenda-link { color: inherit; text-decoration: none; border-radius: 6px; }
.vh-agenda-link:hover strong, .vh-agenda-link:focus-visible strong { text-decoration: underline; }
@media (max-width: 720px) { .vh-agenda-resultado-total { margin-left: 0; flex-basis: 100%; } }

/* =========================================================
   Autocadastro, aviso de teste, contratação e termos
   ========================================================= */
.vh-steps { display: flex; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; counter-reset: etapa; font-size: 12.5px; }
.vh-steps li { counter-increment: etapa; display: flex; align-items: center; gap: 6px; color: var(--vh-muted); }
.vh-steps li::before {
  content: counter(etapa); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--vh-line-strong); font-weight: 600; font-size: 11.5px;
}
.vh-steps li + li::before { margin-left: 4px; }
.vh-steps li.is-active { color: var(--vh-text); font-weight: 600; }
.vh-steps li.is-active::before { background: var(--vh-green); border-color: var(--vh-green); color: #fff; }
.vh-steps li.is-done::before { content: "✓"; background: var(--vh-success-soft); border-color: var(--vh-success-soft); color: var(--vh-green-dark); }

.vh-armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vh-auth-form--inner { gap: 16px; }
.vh-code-input {
  width: 100%; min-height: 56px; text-align: center; font: 700 28px var(--vh-font-display); letter-spacing: 0.4em;
  border: 1px solid var(--vh-line); border-radius: 12px; background: var(--vh-surface-2);
}
.vh-code-input:focus { border-color: var(--vh-accent); background: var(--vh-surface); outline: 3px solid var(--vh-accent-soft); }
.vh-resend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; }
.vh-resend .vh-link-btn:disabled { color: var(--vh-muted); cursor: default; }

.vh-topbar--publico .vh-topbar-inner { justify-content: space-between; }
.vh-signup-page { max-width: 880px; }
.vh-signup-page [hidden] { display: none !important; }
.vh-signup-page .vh-page-head h1 { margin-top: 8px; }
.vh-terms { display: flex; flex-direction: column; gap: 12px; }
.vh-terms a { color: var(--vh-accent); }

.vh-trial-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px;
  padding: 8px 16px; background: var(--vh-success-soft); color: var(--vh-success-ink); font-size: 13px;
}
.vh-trial-bar a { color: var(--vh-green-dark); font-weight: 600; }

.vh-contract-page { max-width: 640px; }
.vh-contract-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; }
.vh-contract-card h1 { margin: 0; }
.vh-contract-price { display: flex; align-items: baseline; gap: 8px; }
.vh-contract-price strong { font: 700 36px var(--vh-font-display); color: var(--vh-green-dark); }
.vh-contract-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.vh-legal-page { max-width: 860px; }
.vh-legal { padding: 32px; }
.vh-legal-head { border-bottom: 1px solid var(--vh-line); padding-bottom: 16px; margin-bottom: 8px; }
.vh-legal-head h1 { margin: 0 0 4px; }
.vh-legal-body { line-height: 1.65; }
.vh-legal-body h2 { font-size: 18px; margin: 28px 0 8px; }
.vh-legal-body blockquote { margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: var(--vh-warning-soft); color: var(--vh-warning-ink); }
.vh-legal-body blockquote p { margin: 0; }
.vh-legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.vh-legal-body th, .vh-legal-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--vh-line); vertical-align: top; }
.vh-legal-body ol, .vh-legal-body ul { padding-left: 22px; }
.vh-legal-body li { margin-bottom: 6px; }
@media (max-width: 720px) {
  .vh-legal { padding: 20px; }
  .vh-legal-body table { display: block; overflow-x: auto; }
}

/* =========================================================
   Configurações (3.1)
   ========================================================= */
.vh-chip--disabled { opacity: 0.55; cursor: not-allowed; }
.vh-settings-ids { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 20px; }
.vh-settings-ids > div { display: flex; flex-direction: column; gap: 2px; }
.vh-settings-ids strong { font-size: 15px; }
.vh-settings-ids-nota { grid-column: 1 / -1; margin: 0; }
.vh-settings-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.vh-settings-logo-preview {
  width: 140px; height: 140px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px dashed var(--vh-line); border-radius: var(--vh-radius-lg); background: var(--vh-surface-2); overflow: hidden;
}
.vh-settings-logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vh-settings-logo-body { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.vh-settings-logo-body h2, .vh-settings-logo-body p { margin: 0; }
.vh-settings-logo-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
a.vh-avatar { text-decoration: none; }
a.vh-avatar:hover, a.vh-avatar.is-active { box-shadow: 0 0 0 2px var(--vh-accent); }
