:root {
  --deep-green: #0f2e24;
  --green: #22c55e;
  --green-dark: #15803d;
  --lime: #a3e635;
  --light: #f4f6f5;
  --white: #ffffff;
  --slate: #1f2937;
  --muted: #5f6b65;
  --line: #d8e1dc;
  --focus: #ffb703;
  --danger: #9d241d;
  --shadow: 0 14px 36px rgba(15, 46, 36, 0.09);
  color: var(--slate);
  background: var(--light);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  min-width: 0;
  margin: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(163, 230, 53, 0.12), transparent 21rem),
    var(--light);
  color: var(--slate);
}
a { color: var(--deep-green); }
a, button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--deep-green);
}
h1, h2, .brand { font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif; }
h1, h2, p { overflow-wrap: anywhere; }
h1 { margin: 0.15rem 0 0; color: var(--deep-green); font-size: clamp(1.75rem, 6vw, 2.75rem); line-height: 1.08; }
h2 { margin: 0; color: var(--deep-green); font-size: clamp(1.2rem, 4vw, 1.55rem); line-height: 1.2; }
p { line-height: 1.55; }
.shell { width: min(100% - 2rem, 920px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.65rem;
  background: var(--white);
  color: var(--deep-green);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--deep-green);
  color: var(--white);
}
.topbar__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand-block { display: flex; min-width: 0; align-items: center; gap: 0.8rem; }
.brand { color: var(--white); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.035em; }
.brand span { color: var(--lime); }
.access-badge {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #e7f7ed;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav { display: flex; align-items: center; gap: 0.15rem; }
.desktop-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a:hover { background: rgba(255, 255, 255, 0.1); }
main { padding-block: clamp(1.5rem, 4vw, 2.75rem) 4rem; }
.page-intro { margin-bottom: 1.25rem; }
.page-intro > p:last-child { margin: 0.55rem 0 0; color: var(--muted); }
.eyebrow { margin: 0 0 0.35rem; color: var(--green-dark); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.surface {
  margin: 1rem 0;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(15, 46, 36, 0.03);
  scroll-margin-top: 7rem;
}
.overview { border-color: rgba(34, 197, 94, 0.42); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.status-dot, .step-label {
  display: inline-flex;
  min-height: 32px;
  flex: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef8f1;
  color: var(--deep-green);
  font-size: 0.78rem;
  font-weight: 750;
}
.status-dot > span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin: 1.15rem 0 0; }
.metric { min-width: 0; margin: 0; padding: 0.9rem; border: 1px solid #e2e9e5; border-radius: 0.9rem; background: #fafcfb; }
.metric dt { color: var(--muted); font-size: 0.77rem; font-weight: 700; }
.metric dd { margin: 0.4rem 0 0; color: var(--deep-green); font-size: 0.94rem; }
.metric dd strong { display: block; font-size: 1.45rem; line-height: 1; }
.metric--control { background: #f4fbe8; }
.overview-note, .flow-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.9rem; }
.completion { border-left: 5px solid var(--lime); }
.completion p:last-child { margin-bottom: 0; }
.lead { margin: 0.7rem 0 1.15rem; color: var(--muted); }
.channel-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid #b9e5c8; border-radius: 1rem; background: #eefbf2; }
.channel-card p { margin: 0.2rem 0 0; color: var(--muted); }
.channel-card__title { color: var(--deep-green) !important; font-weight: 800; }
.choice { display: flex; align-items: center; gap: 0.7rem; margin: 1rem 0; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }
.choice::before, .choice::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.proposal-form label { display: block; margin: 1rem 0 0.4rem; color: var(--deep-green); font-weight: 750; }
textarea, input[type="file"], input[type="date"], input[type="tel"], input[type="text"], input[type="time"], select { width: 100%; max-width: 100%; }
textarea {
  min-height: 138px;
  padding: 0.85rem;
  resize: vertical;
  border: 1px solid #abbab2;
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--slate);
  line-height: 1.5;
}
textarea:hover, input[type="file"]:hover { border-color: var(--green-dark); }
input[type="date"], input[type="tel"], input[type="text"], input[type="time"], select {
  min-height: 48px;
  padding: 0.7rem;
  border: 1px solid #abbab2;
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--slate);
}
input[type="date"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="time"]:hover, select:hover { border-color: var(--green-dark); }
input[type="file"] { min-height: 48px; padding: 0.45rem; border: 1px solid #abbab2; border-radius: 0.8rem; background: #fafcfb; }
input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 0.75rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  background: #dfe9e3;
  color: var(--deep-green);
  font-weight: 750;
  cursor: pointer;
}
.form-help { margin: 0.45rem 0 0; }
.checkbox-label { display: flex !important; min-height: 44px; align-items: flex-start; gap: 0.65rem; }
.checkbox-label input { width: 1.15rem; height: 1.15rem; flex: none; margin: 0.1rem 0 0; accent-color: var(--green-dark); }
.checkbox-help { display: block; margin: 0.15rem 0 0 1.8rem; }
.button, .text-button, button { min-height: 44px; }
.button, .text-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 0.75rem; font-weight: 800; text-decoration: none; }
.button { padding: 0.72rem 1rem; border: 0; cursor: pointer; }
.primary-button { margin-top: 1.15rem; background: var(--deep-green); color: var(--white); }
.whatsapp-button { flex: none; background: var(--green-dark); color: var(--white); }
.completion-button { padding: 0.7rem 0.9rem; background: #e8f6cc; color: var(--deep-green); }
.text-button { padding: 0.65rem 0.8rem; border: 1px solid #adbbb4; background: var(--white); color: var(--deep-green); cursor: pointer; }
.submit-button { position: relative; width: min(100%, 320px); overflow: hidden; transition: background-color 0.2s ease, opacity 0.2s ease; }
.submit-button:disabled { cursor: wait; opacity: 0.82; }
.submit-button[data-loading="true"]::after {
  position: absolute;
  bottom: 0;
  left: -42%;
  width: 42%;
  height: 4px;
  background: var(--lime);
  content: "";
  animation: proposal-progress 1.15s ease-in-out infinite;
}
.submit-status { min-height: 1.5em; margin: 0.6rem 0 0; color: var(--muted); font-size: 0.9rem; }
.submit-status.error { color: var(--danger); font-weight: 750; }
.fallback-panel { margin-top: 1rem; border: 1px solid #adbbb4; border-radius: 0.9rem; background: #f8faf9; scroll-margin-top: 7rem; }
.fallback-panel > summary { min-height: 48px; padding: 0.85rem 1rem; color: var(--deep-green); font-weight: 800; cursor: pointer; }
.fallback-panel__body { padding: 0 1rem 1rem; border-top: 1px solid var(--line); }
.fallback-panel__body > p { margin: 0.85rem 0 0; }
.direct-card { margin-top: 0.8rem; border: 1px solid var(--line); border-radius: 0.85rem; background: #fafcfb; }
.direct-card summary { min-height: 48px; padding: 0.85rem; color: var(--deep-green); font-weight: 800; cursor: pointer; }
.direct-form { padding: 0 0.85rem 1rem; border-top: 1px solid var(--line); }
.direct-form > label, .direct-form .time-grid label { display: block; margin: 0.85rem 0 0.35rem; color: var(--deep-green); font-weight: 750; }
.time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.facts { margin: 0.9rem 0 0; padding: 0; list-style: none; }
.facts li { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid #e7ece9; }
.facts li:last-child { border-bottom: 0; }
.facts li > span { flex: 0 0 34%; color: var(--muted); font-size: 0.88rem; font-weight: 650; }
.facts strong { min-width: 0; max-width: 66%; text-align: right; white-space: pre-line; }
.facts strong a { text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
.fact-current { display: flex; min-width: 0; max-width: 66%; flex-direction: column; align-items: flex-end; gap: 0.45rem; }
.fact-current strong { max-width: 100%; }
.fact-remove { min-height: 44px; display: inline-flex; align-items: center; color: var(--danger); font-weight: 750; }
.fact-opening-hours { min-width: 0; width: min(100%, 30rem); margin: 0; }
.fact-opening-hours__row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0.75rem; padding: 0.35rem 0; border-bottom: 1px solid #e7ece9; font-weight: 400; }
.fact-opening-hours__row:last-child { border-bottom: 0; }
.fact-opening-hours dt, .fact-opening-hours dd { min-width: 0; margin: 0; font-weight: inherit; overflow-wrap: anywhere; }
.fact-opening-hours dd { font-variant-numeric: tabular-nums; text-align: right; }
.fact-opening-hours__row[data-today="true"] { font-weight: 800; }
.section-actions, .more-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.more-actions form { margin: 0; }
.feedback-surface { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.feedback-surface p { margin-bottom: 0; }
.pill { display: inline-flex; min-height: 40px; flex: none; align-items: center; padding: 0.55rem 0.75rem; border-radius: 999px; background: #edf2ef; color: var(--deep-green); font-size: 0.88rem; font-weight: 750; }
.muted, .surface-footnote { color: var(--muted); }
.surface-footnote { margin: 1.2rem 0 0; text-align: center; }
.mobile-nav { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
@keyframes proposal-progress { from { left: -42%; } to { left: 100%; } }
@media (max-width: 719px) {
  html { scroll-padding-top: 5.5rem; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .shell { width: min(100% - 1.25rem, 920px); }
  .topbar__inner { min-height: 62px; }
  .access-badge { overflow: hidden; max-width: 44vw; text-overflow: ellipsis; }
  .desktop-nav { display: none; }
  main { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .surface { border-radius: 1rem; scroll-margin-top: 5.5rem; }
  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.3rem 0.35rem calc(0.3rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 28px rgba(15, 46, 36, 0.11);
  }
  .mobile-nav a {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    border-radius: 0.65rem;
    color: var(--deep-green);
    font-size: 0.72rem;
    font-weight: 750;
    text-decoration: none;
  }
  .mobile-nav a:hover { background: #eef4f0; }
  .mobile-nav svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
}
@media (max-width: 620px) {
  .metrics { grid-template-columns: 1fr; }
  .channel-card, .feedback-surface { align-items: stretch; flex-direction: column; }
  .whatsapp-button, .pill { align-self: flex-start; }
  .time-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section-heading { flex-direction: column; }
  .status-dot, .step-label { align-self: flex-start; }
  .facts li { align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .facts li > span, .facts strong, .fact-current { flex-basis: auto; max-width: 100%; text-align: left; }
  .fact-current { align-items: flex-start; }
  .fact-opening-hours { width: 100%; }
  .fact-opening-hours__row { grid-template-columns: 1fr; gap: 0.1rem; }
  .fact-opening-hours dd { text-align: left; }
  .primary-button, .completion-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .submit-button { transition: none; }
  .submit-button[data-loading="true"]::after { left: 0; width: 100%; animation: none; }
}
@media (forced-colors: active) {
  .topbar, .surface, .metric, .channel-card, .mobile-nav, .button, .text-button, .pill {
    border: 1px solid CanvasText;
    forced-color-adjust: auto;
  }
  .status-dot > span { background: CanvasText; }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    box-shadow: none;
  }
  .primary-button, .whatsapp-button { background: ButtonFace; color: ButtonText; }
}
