:root {
  --bg: #faf9f4;
  --bg-soft: #eef3ec;
  --surface: #ffffff;
  --ink: #10140f;
  --muted: #5c6660;
  --muted-soft: #8a938d;
  --border: #e2e4dd;

  --green: #00501f;
  --green-dark: #003814;
  --green-soft: #eaf1ea;
  --gold: #b8862e;

  --stage-novo: #8a938d;
  --stage-diagnostico: #00501f;
  --stage-proposta: #b8862e;
  --stage-negociacao: #a15c2f;
  --stage-ganho: #2f8f4e;
  --stage-perdido: #b3413a;

  --font-display: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 20, 15, 0.06), 0 4px 12px rgba(16, 20, 15, 0.06);
  --shadow-hover: 0 2px 4px rgba(16, 20, 15, 0.08), 0 10px 24px rgba(16, 20, 15, 0.1);

  /* Escala de fonte única para todo o app — evita tamanhos ad-hoc espalhados
     pelos componentes. --fs-heading é só pra títulos de seção (h3), nunca
     pra texto de card/lista. */
  --fs-xs: 0.78rem;
  --fs-sm: 0.85rem;
  --fs-base: 0.92rem;
  --fs-heading: 1.05rem;
  --fs-titulo-pagina: 1.25rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--ink);
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

button, .btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-base);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}
button:hover, .btn:hover { background: var(--green-dark); text-decoration: none; }
button:active { transform: translateY(1px); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Menu flutuante (barra lateral fixa) */
.site-logo {
  position: fixed;
  left: 0;
  top: 0;
  height: 5rem;
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  background: var(--bg);
  z-index: 21;
}
.site-logo img { height: 52px; display: block; }

.site-topbar {
  position: fixed;
  left: 100px;
  right: 0;
  top: 0;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 15;
  pointer-events: none;
}
.site-topbar__titulo {
  margin: 0;
  font-size: var(--fs-titulo-pagina);
  text-align: center;
}

.site-sidebar {
  position: fixed;
  left: 1.25rem;
  top: 6.75rem;
  bottom: 1.25rem;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 2rem 0.5rem;
  z-index: 20;
}

.site-sidebar__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.site-sidebar__links > a,
.site-sidebar__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  border-radius: 10px;
  color: var(--muted);
}
.site-sidebar__links > a:hover,
.site-sidebar__dropdown-toggle:hover { background: var(--bg-soft); color: var(--green); text-decoration: none; }

.site-sidebar__dropdown { position: relative; }
.site-sidebar__dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.site-sidebar__dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 0.4rem;
  min-width: 140px;
  z-index: 10;
}
.site-sidebar__dropdown-menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.site-sidebar__dropdown-menu a:hover { background: var(--bg-soft); color: var(--green); text-decoration: none; }
.site-sidebar__dropdown:hover .site-sidebar__dropdown-menu,
.site-sidebar__dropdown:focus-within .site-sidebar__dropdown-menu { display: block; }

.site-sidebar__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.site-sidebar__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
}
.site-sidebar__footer button {
  width: 40px;
  height: 64px;
  padding: 0;
  background: none;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-sidebar__footer button:hover { color: var(--stage-perdido); background: var(--bg-soft); }

.site-main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin-left: 100px;
  padding-top: 5rem;
}
.site-main--sem-menu { margin-left: 0; padding-top: 0; }

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3rem;
  width: 100%;
}

.kanban-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

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

/* Kanban board */
.kanban-board {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 1.5rem;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.kanban-board::-webkit-scrollbar { height: 8px; }
.kanban-board::-webkit-scrollbar-track { background: transparent; }
.kanban-board::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.kanban-board::-webkit-scrollbar-thumb:hover { background: var(--muted-soft); }
.kanban-coluna {
  flex: 1 0 240px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.kanban-coluna__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0 0.1rem;
  flex-shrink: 0;
}
.kanban-coluna__cards {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding-right: 0.35rem;
}
.kanban-coluna__cards::-webkit-scrollbar { width: 8px; }
.kanban-coluna__cards::-webkit-scrollbar-track { background: transparent; }
.kanban-coluna__cards::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.kanban-coluna__cards::-webkit-scrollbar-thumb:hover { background: var(--muted-soft); }
.kanban-coluna__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kanban-coluna__header h3 {
  margin: 0;
  font-size: var(--fs-heading);
  font-weight: 600;
}
.kanban-coluna__count {
  color: var(--muted-soft);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.kanban-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--stage-color, var(--muted-soft));
  padding: 0.85rem 1rem;
  margin-bottom: 0.8rem;
  cursor: grab;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.kanban-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.kanban-card:active { cursor: grabbing; }
.kanban-card__topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}
.kanban-card__empresa {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
}
.kanban-card__proposta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.kanban-card__proposta:hover { background: var(--green); color: #fff; }
.kanban-card__valor {
  font-weight: 700;
  color: var(--ink);
}
.kanban-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}
.kanban-card__vendedor {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.kanban-card__acoes {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.kanban-card__editar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: var(--fs-base);
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.kanban-card__editar:hover { background: var(--green); color: #fff; text-decoration: none; }
.kanban-card:hover .kanban-card__editar,
.kanban-card__editar:focus-visible { opacity: 1; }

.kanban-card__excluir-form { display: inline-flex; }
.kanban-card__excluir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.kanban-card__excluir:hover { background: var(--stage-perdido); color: #fff; }
.kanban-card:hover .kanban-card__excluir,
.kanban-card__excluir:focus-visible { opacity: 1; }

.kanban-coluna[data-estagio="novo"] { --stage-color: var(--stage-novo); }
.kanban-coluna[data-estagio="diagnostico"] { --stage-color: var(--stage-diagnostico); }
.kanban-coluna[data-estagio="proposta_enviada"] { --stage-color: var(--stage-proposta); }
.kanban-coluna[data-estagio="negociacao"] { --stage-color: var(--stage-negociacao); }
.kanban-coluna[data-estagio="ganho"] { --stage-color: var(--stage-ganho); }
.kanban-coluna[data-estagio="perdido"] { --stage-color: var(--stage-perdido); }
.kanban-coluna .kanban-card { --stage-color: inherit; }

/* Forms (negócio, empresa, login) */
.form-page {
  max-width: 440px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.form-card p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-weight: 600;
}
.form-card label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.form-card input, .form-card select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.form-card input:focus, .form-card select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.form-card .helptext { display: block; font-size: var(--fs-xs); color: var(--muted-soft); margin-top: -0.9rem; margin-bottom: 1rem; }
.form-card ul.errorlist { color: var(--stage-perdido); font-size: var(--fs-sm); padding-left: 1.1rem; margin: -0.6rem 0 0.8rem; }
.form-card button { width: 100%; padding: 0.7rem; font-size: var(--fs-base); }
.form-footer { margin-top: 1.1rem; font-size: var(--fs-sm); text-align: center; color: var(--muted); }

.form-card__excluir { margin-top: 0.75rem; }
.btn-perigo {
  background: transparent;
  color: var(--stage-perdido);
  border: 1px solid var(--stage-perdido);
}
.btn-perigo:hover { background: var(--stage-perdido); color: #fff; }

.form-field { margin-bottom: 1.1rem; }
.form-field input, .form-field select { margin-bottom: 0; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.45rem;
  text-decoration: none;
}
.icon-btn:hover { background: var(--green); color: #fff; text-decoration: none; }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Listas (contatos, etc.) */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.busca-wrap { position: relative; width: 100%; max-width: 320px; }
.busca-icone {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-soft);
  pointer-events: none;
}
.busca-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}
.busca-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg-soft); }

.data-table__acoes { display: flex; align-items: center; gap: 0.5rem; }
.data-table__excluir-form { display: inline-flex; }
.data-table__editar,
.data-table__excluir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--green-soft);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.data-table__editar { color: var(--green); }
.data-table__editar:hover { background: var(--green); color: #fff; text-decoration: none; }
.data-table__excluir { color: var(--muted); }
.data-table__excluir:hover { background: var(--stage-perdido); color: #fff; }

/* Dashboard */
.dash-empty {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.dash-section {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.dash-section h3 { margin-bottom: 1.25rem; font-size: var(--fs-heading); }
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.dash-grid .dash-section { margin-bottom: 0; }

.funnel { display: flex; flex-direction: column; gap: 0.65rem; }
.funnel-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 0.9rem;
}
.funnel-row__label { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.funnel-row__track {
  background: var(--bg-soft);
  border-radius: 999px;
  height: 22px;
  overflow: hidden;
}
.funnel-row__fill {
  height: 100%;
  min-width: 6px;
  border-radius: 0 999px 999px 0;
}
.funnel-row__valor { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }

.funnel-perdido {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.funnel-perdido__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.stacked-bar {
  display: flex;
  gap: 2px;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-soft);
}
.stacked-bar__segment { height: 100%; }

.chart-legend {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.chart-legend li { display: flex; align-items: center; gap: 0.4rem; }
.chart-legend__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Propostas */
.form-page--wide { max-width: 720px; }

.diagnostico-meta {
  color: var(--muted);
  font-size: var(--fs-base);
  margin: 0 0 1.5rem;
}

.form-erro {
  background: #fdecea;
  color: var(--stage-perdido);
  border: 1px solid var(--stage-perdido);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  margin-bottom: 1.25rem;
}

.produtos-busca-wrap { position: relative; max-width: 360px; margin-bottom: 1rem; }
.produtos-busca-icone {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-soft);
  pointer-events: none;
}
.produtos-busca {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}
.produtos-busca:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.produtos-categoria-grupo { margin-top: 1.5rem; }
.produtos-categoria-grupo:first-child { margin-top: 0; }
.produtos-categoria {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.produto-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.produto-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.produto-card:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.produto-card input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.produto-card__info { display: flex; flex-direction: column; gap: 0.2rem; }
.produto-card__nome { font-weight: 700; font-size: var(--fs-base); }
.produto-card__preco { font-size: var(--fs-sm); color: var(--muted); }

.produtos-lista {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.produto-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.produto-linha:last-child { border-bottom: none; }
.produto-linha:hover { background: var(--bg-soft); }
.produto-linha__info { display: flex; flex-direction: column; gap: 0.15rem; }
.produto-linha__nome { font-weight: 700; font-size: var(--fs-base); }
.produto-linha__codigo { color: var(--gold); font-weight: 700; }
.produto-linha__preco { font-size: var(--fs-sm); color: var(--muted); }
.produto-linha__quantidade {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.produto-linha__quantidade input {
  width: 90px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

.produtos-desconto {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}
.produtos-desconto input {
  width: 100px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.produtos-vazio {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.produtos-vazio a { font-weight: 700; }

.textarea-proposta {
  width: 100%;
  min-height: 360px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  margin-bottom: 1.1rem;
  resize: vertical;
}
.textarea-proposta:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

/* Propostas — redesign (início, quantidade manual, dispensers, comparação diagnóstico) */
.proposta-iniciar__opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.proposta-iniciar__opcao {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
}
.proposta-iniciar__opcao:hover { border-color: var(--green); box-shadow: var(--shadow-hover); }
.proposta-iniciar__opcao strong { display: block; color: var(--green); font-size: var(--fs-heading); margin-bottom: 0.4rem; }
.proposta-iniciar__opcao span { color: var(--muted); font-size: var(--fs-sm); }
.proposta-iniciar__opcao--form { padding: 0; border: none; box-shadow: none; background: none; }
.proposta-iniciar__opcao--form form { height: 100%; }
.proposta-iniciar__opcao--form button {
  all: unset;
  display: block;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.proposta-iniciar__opcao--form button:hover { border-color: var(--green); box-shadow: var(--shadow-hover); }

.btn-secundario {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  margin-top: 0.75rem;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.btn-secundario:hover { border-color: var(--green); color: var(--green); }

.produto-card { cursor: default; flex-direction: column; align-items: stretch; }
.produto-card__quantidade,
.produto-card__distribuicao {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.5rem;
}
.produto-card__quantidade input,
.produto-card__distribuicao input {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

.data-table input[type="number"],
.data-table input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

.revisao-lista { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.revisao-lista li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-base);
}
.revisao-lista li:last-child { border-bottom: none; }

.produto-lista__miniatura {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.produto-form__foto-atual {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.1rem;
}

/* Calculadora de consumo */
.calculadora-form { margin-bottom: 1.75rem; }
.calculadora-form__linha {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem;
}
.calculadora-form__campo {
  display: flex;
  flex-direction: column;
  width: 170px;
}
.calculadora-form__campo label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.calculadora-form__campo input {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
.calculadora-form__campo input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.calculadora-form__linha button {
  height: 2.65rem;
}
.calculadora-resultado { margin-top: 0.5rem; }
