:root {
  --bg: #eef0f8;
  --surface: #ffffff;
  --surface-2: #f5f6fb;
  --border: #e5e7f0;
  --text: #14162e;
  --text-muted: #6b7191;
  --text-faint: #9aa0bd;
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --brand-tint: #e6fbf6;
  --violet: #7c3aed;
  --indigo: #4f46e5;
  --cyan: #06b6d4;
  --amber: #f59e0b;
  --pink: #ec4899;
  --red: #f43f5e;
  --red-tint: #fef1f3;
  --green: #10b981;
  --green-tint: #e7fbf3;
  /* gradientes de assinatura */
  --grad-brand: linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #be123c 0%, #f43f5e 55%, #f59e0b 120%);
  --grad-violet: linear-gradient(135deg, #7c3aed, #4f46e5);
  /* paleta rotativa p/ barras de categoria e destaques por pessoa */
  --c1: #7c3aed;
  --c2: #0d9488;
  --c3: #f59e0b;
  --c4: #f43f5e;
  --c5: #06b6d4;
  --c6: #4f46e5;
  --c7: #ec4899;
  --c8: #84cc16;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 4px rgba(20, 22, 46, 0.04), 0 12px 28px rgba(20, 22, 46, 0.1);
  --shadow-sm: 0 1px 3px rgba(20, 22, 46, 0.07);
  --shadow-brand: 0 10px 26px rgba(13, 148, 136, 0.32);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 100% -10%, #e7ecfb 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 0%, #e6fbf6 0%, transparent 45%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 1.4rem;
}
h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 99px;
  background: var(--grad-brand);
}
.secao-titulo h2::before {
  display: none;
}
h3 {
  font-size: 1rem;
}
p {
  margin: 0 0 0.6rem;
}
small {
  color: var(--text-muted);
  font-size: 0.8rem;
}
a {
  color: var(--brand);
  text-decoration: none;
}
hgroup p {
  color: var(--text-muted);
}

.num,
.hero-valor,
.barra strong,
.acoes strong,
.pessoa-falta strong {
  font-variant-numeric: tabular-nums;
}

.total-vermelho {
  color: var(--red);
}
.total-verde {
  color: var(--green);
}

/* ---------- layout ---------- */
.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.page > section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.page > section.hero {
  gap: 0.15rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.tabs {
  position: sticky;
  top: 53px;
  z-index: 19;
  display: flex;
  gap: 1.4rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.tabs a {
  padding: 0.7rem 0.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a.active {
  color: var(--brand);
  border-color: var(--brand);
}

/* ---------- buttons ---------- */
button {
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  border: none;
}
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.acoes-form button,
.add-card button[type="submit"],
.inline-add button,
.pessoa-pagou button,
.config-form button[type="submit"] {
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-brand);
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.acoes-form button:hover,
.add-card button[type="submit"]:hover,
.inline-add button:hover,
.pessoa-pagou button:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.4);
}
.acoes-form button:active,
.add-card button[type="submit"]:active {
  transform: translateY(1px) scale(0.99);
}

button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}
button.secondary:hover {
  background: var(--surface-2);
}

button.link {
  background: none;
  color: var(--brand);
  padding: 0;
  font-size: 0.9rem;
}
button.link:hover {
  text-decoration: underline;
}

button.danger-btn {
  background: var(--red-tint);
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}
button.danger-btn:hover {
  background: var(--red);
  color: #fff;
}

button.danger-link {
  align-self: flex-start;
  background: none;
  color: var(--red);
  padding: 0.35rem 0;
  font-size: 0.82rem;
  font-weight: 600;
}
button.danger-link:hover {
  text-decoration: underline;
}

/* ---------- Pix (página da família) ---------- */
.btn-pix {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-brand);
  margin: 0.4rem 0 0.8rem;
}
.btn-pix:hover {
  filter: brightness(1.06);
}
.btn-pix-icone {
  font-size: 1.2rem;
}
/* botão de Pix dentro de cada mês (menor) */
.btn-pix-mes {
  margin: 0.6rem 0 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.pagar-linha {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.pagar-linha label {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}
.input-pagar {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}
.pix-card {
  text-align: center;
}
.pix-card h1 {
  font-size: 1.3rem;
}
.pix-valor {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0.3rem 0 0.2rem;
}
.pix-para {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0.2rem 0 0.8rem;
}
.pix-qr {
  display: flex;
  justify-content: center;
  margin: 0.6rem auto 1rem;
}
.pix-qr img {
  width: 100%;
  max-width: 260px;
  height: auto;
  image-rendering: pixelated;
  border: 8px solid #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.pix-chave-linha {
  margin: 0.9rem 0;
}
.pix-chave-linha code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 0.3rem;
}

button.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
button.icon:hover {
  background: var(--surface-2);
}
button.icon:disabled {
  opacity: 0.35;
  cursor: default;
}

button.icon-sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.85rem;
}
button.icon-sm:hover {
  background: var(--border);
}
button.icon-sm.danger {
  color: var(--red);
}
button.icon-sm.danger:hover {
  background: var(--red);
  color: #fff;
}

/* ---------- forms ---------- */
input,
select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
label input {
  margin-top: 0.3rem;
}
.grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}
.grid-desc {
  grid-template-columns: 1.7fr 1fr;
}
.acoes-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

/* ---------- card ---------- */
.card,
.pessoa-card,
.mes-bloco {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.05rem;
}
.card:hover,
.pessoa-card:hover {
  box-shadow: var(--shadow);
}
.card,
.pessoa-card {
  transition: box-shadow 0.18s ease;
}
/* faixa colorida à esquerda de cada pessoa */
.pessoa-card {
  border-left: 4px solid var(--brand);
}
#pessoas-cards .pessoa-card:nth-child(8n + 1),
#pessoas-lista .pessoa-card:nth-child(8n + 1) { border-left-color: var(--c1); }
#pessoas-cards .pessoa-card:nth-child(8n + 2),
#pessoas-lista .pessoa-card:nth-child(8n + 2) { border-left-color: var(--c2); }
#pessoas-cards .pessoa-card:nth-child(8n + 3),
#pessoas-lista .pessoa-card:nth-child(8n + 3) { border-left-color: var(--c3); }
#pessoas-cards .pessoa-card:nth-child(8n + 4),
#pessoas-lista .pessoa-card:nth-child(8n + 4) { border-left-color: var(--c4); }
#pessoas-cards .pessoa-card:nth-child(8n + 5),
#pessoas-lista .pessoa-card:nth-child(8n + 5) { border-left-color: var(--c5); }
#pessoas-cards .pessoa-card:nth-child(8n + 6),
#pessoas-lista .pessoa-card:nth-child(8n + 6) { border-left-color: var(--c6); }
.add-card form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ---------- month nav ---------- */
.mes-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.mes-nav-centro {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.mes-nav-centro strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- hero (sobra) ---------- */
.hero {
  background: var(--grad-brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-brand);
  padding: 1.5rem 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
/* brilho decorativo */
.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
  pointer-events: none;
}
/* sobra negativa -> painel quente (aviso) */
.hero:has(.hero-valor.neg) {
  background: var(--grad-warm);
  box-shadow: 0 10px 26px rgba(244, 63, 94, 0.32);
}
.hero-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}
.hero-valor {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.hero-conta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.5rem;
}
.hero .link {
  color: #fff;
  font-weight: 600;
  opacity: 0.92;
}
.hero .link:hover {
  opacity: 1;
}
/* form de entradas: cartão branco legível sobre o gradiente */
.config-form {
  margin-top: 0.9rem;
  padding: 0.9rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 6px 16px rgba(20, 22, 46, 0.18);
}

/* ---------- segmented toggle ---------- */
.segmented {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
}
.segmented label {
  position: relative;
  flex: 1;
  margin: 0;
  text-align: center;
  border-radius: 7px;
  padding: 0.45rem 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.segmented label:has(input:checked) {
  background: var(--surface);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

details summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.3rem 0;
}
details[open] summary {
  margin-bottom: 0.4rem;
}

/* ---------- section title ---------- */
.secao-titulo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.secao-titulo strong {
  font-size: 1.05rem;
  font-weight: 800;
}

/* ---------- category bars ---------- */
.barras {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
}
.barra-topo {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}
.barra-topo strong {
  font-weight: 700;
}
.barra-trilho {
  height: 9px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}
.barra-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--brand);
}
/* cada categoria ganha uma cor da paleta rotativa */
.barra:nth-child(8n + 1) .barra-fill {
  background: linear-gradient(90deg, var(--c1), #a78bfa);
}
.barra:nth-child(8n + 2) .barra-fill {
  background: linear-gradient(90deg, var(--c2), #2dd4bf);
}
.barra:nth-child(8n + 3) .barra-fill {
  background: linear-gradient(90deg, var(--c3), #fbbf24);
}
.barra:nth-child(8n + 4) .barra-fill {
  background: linear-gradient(90deg, var(--c4), #fb7185);
}
.barra:nth-child(8n + 5) .barra-fill {
  background: linear-gradient(90deg, var(--c5), #22d3ee);
}
.barra:nth-child(8n + 6) .barra-fill {
  background: linear-gradient(90deg, var(--c6), #818cf8);
}
.barra:nth-child(8n + 7) .barra-fill {
  background: linear-gradient(90deg, var(--c7), #f472b6);
}
.barra:nth-child(8n + 8) .barra-fill {
  background: linear-gradient(90deg, var(--c8), #a3e635);
}
/* pontinho colorido antes do nome da categoria */
.barra-topo span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.45rem;
  vertical-align: middle;
  background: var(--brand);
}
.barra:nth-child(8n + 1) .barra-topo span::before { background: var(--c1); }
.barra:nth-child(8n + 2) .barra-topo span::before { background: var(--c2); }
.barra:nth-child(8n + 3) .barra-topo span::before { background: var(--c3); }
.barra:nth-child(8n + 4) .barra-topo span::before { background: var(--c4); }
.barra:nth-child(8n + 5) .barra-topo span::before { background: var(--c5); }
.barra:nth-child(8n + 6) .barra-topo span::before { background: var(--c6); }
.barra:nth-child(8n + 7) .barra-topo span::before { background: var(--c7); }
.barra:nth-child(8n + 8) .barra-topo span::before { background: var(--c8); }

.linhas-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- lançamento list ---------- */
.lista-lancamentos {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lista-lancamentos li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.lista-lancamentos li:last-child {
  border-bottom: none;
}
.lista-lancamentos .info {
  min-width: 0;
}
.lista-lancamentos .info strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.titulo-linha {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.titulo-linha strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.selo {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.selo-parcelado {
  color: #fff;
  background: var(--grad-violet);
  border-color: transparent;
}
.selo-fixo {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
}
.selo-avulso {
  color: var(--amber);
  background: #fff7e6;
  border-color: #fde9c8;
}
.lista-lancamentos .acoes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.lista-lancamentos .acoes > strong {
  font-size: 0.92rem;
}

/* ---------- pessoa card ---------- */
#pessoas-cards,
#pessoas-lista,
#saldo-meses {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pessoa-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.pessoa-nome {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}
.pessoa-falta {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.pessoa-falta small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pessoa-falta strong {
  font-size: 1.25rem;
  font-weight: 800;
}
.pessoa-pagou {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.2rem;
  flex-wrap: wrap;
}
.pessoa-pagou label {
  margin: 0;
  white-space: nowrap;
}
.input-pagou {
  max-width: 110px;
  flex: 1;
}
.pessoa-pagou button {
  min-width: 74px;
}

/* barra de progresso do "já pago" (controle interno, não afeta a Sobra) */
.prog {
  height: 8px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.7rem;
}
.prog-fill {
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.prog-txt {
  display: block;
  margin: 0.35rem 0 0;
}
.acoes-pessoa {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.inline-add {
  display: flex;
  gap: 0.5rem;
}
.inline-add input {
  flex: 1;
}

/* ---------- extrato por mês (painel Pessoas) ---------- */
.meses-toggle {
  margin-top: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}
.meses-pessoa {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.mes-linha {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}
.mes-linha-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.mes-linha-topo strong {
  display: block;
  font-weight: 700;
}
.mes-linha .pessoa-pagou {
  margin: 0.7rem 0 0.3rem;
}
.mes-linha .lista-lancamentos li {
  padding: 0.45rem 0;
}

.link-acesso {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  word-break: break-all;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem;
  margin: 0.6rem 0;
  color: var(--text-muted);
}

/* ---------- notice / banner / natureza ---------- */
.notice {
  background: var(--brand-tint);
  border: 1px solid #d1fae5;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.notice small {
  color: var(--brand-dark);
  font-weight: 500;
}
.banner-novo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.banner-novo small {
  flex: 1;
}
.banner-novo button {
  flex-shrink: 0;
}
.natureza-dica {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: -0.2rem 0 0.2rem;
}
.seg-3 label {
  font-size: 0.82rem;
}

/* ---------- error & misc ---------- */
#add-erro,
#erro-pin,
#erro-msg,
#erro-categoria {
  color: var(--red);
  background: var(--red-tint);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

.valor.devendo {
  color: var(--red);
}
.valor.positivo {
  color: var(--green);
}

/* login & family share simple article cards */
article hgroup {
  margin-bottom: 0.8rem;
}
article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
}
article form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
