:root {
  --canvas: #faf8f5;
  --card: #ffffff;
  --border: #e7e5e4;
  --olive: #4e6e4e;
  --olive-hover: #3d583d;
  --on-olive: #faf8f5;
  --ink: #1c1917;
  --muted: #78716c;
  --ok-bg: #e6f4ea;
  --ok-ink: #2e6f40;
  --err-bg: #fdf3f0;
  --err-ink: #9a3412;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
.shell { max-width: 520px; margin: 0 auto; padding: 32px 16px 48px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 20px; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--olive); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.04); }
h1 { font-family: var(--font-display); font-size: 24px; margin: 0 0 8px; }
.lead, .aside { color: var(--muted); font-size: 14px; line-height: 1.5; }
form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input[type="email"], input[type="password"], input:not([type]) {
  font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #f5f3ef;
}
.consents { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.4; }
.check input { margin-top: 3px; flex-shrink: 0; }
a { color: var(--olive); }
.btn { font: inherit; font-weight: 600; padding: 12px 16px; border: 0; border-radius: 10px; background: var(--olive); color: var(--on-olive); cursor: pointer; }
.btn:hover { background: var(--olive-hover); }
button:disabled, input:disabled { opacity: 0.6; cursor: default; }
.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.flash-error { background: var(--err-bg); color: var(--err-ink); }
.flash-ok { background: var(--ok-bg); color: var(--ok-ink); }
.hidden { display: none !important; }
.foot { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.draft { background: #fef3c7; color: #b45309; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.legal h2 { font-family: var(--font-display); font-size: 18px; margin-top: 24px; }
.legal p, .legal li { line-height: 1.6; font-size: 15px; }

#view-account > .card + .card { margin-top: 14px; }
h2 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; }
.muted { color: var(--muted); font-size: 14px; }
.nav { display: flex; gap: 16px; justify-content: flex-end; margin-bottom: 12px; font-size: 14px; }
.linklike { background: none; border: 0; padding: 0; color: var(--olive); font: inherit; cursor: pointer; text-decoration: underline; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; }
.offer { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.offer.current { border-color: var(--olive); }
.offer .price { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.offer .old { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.btn.secondary { background: #ebf0e8; color: var(--olive); }
.inline { flex-direction: row; gap: 8px; margin-top: 4px; }
.inline input { flex: 1; min-width: 0; }
.payments { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.payments li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
fieldset.q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
fieldset.q legend { font-weight: 600; margin-bottom: 4px; }
textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #f5f3ef; min-height: 70px; }
@media (max-width: 480px) { .inline { flex-direction: column; } }
