/* Founder call booking page. Inherits the theme's font; mobile first. */
.safc {
  --safc-ink: #2B2118;
  --safc-muted: #76604F;
  --safc-brand: #4A3222;
  --safc-accent: #4F7A1F;
  --safc-accent-soft: #EEF5E4;
  --safc-bg: #FAF8F3;
  --safc-card: #FFFFFF;
  --safc-line: #EDE3D6;
  --safc-warn: #9A3412;
  --safc-warn-soft: #FFF4E5;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  color: var(--safc-ink);
  box-sizing: border-box;
}
.safc *, .safc *::before, .safc *::after { box-sizing: border-box; }
/* Other plugins' site-wide rules (e.g. community-farming dashboard-brand.css on phones:
   "button { width: 100%; margin-top: .5rem }") must not stretch our chips. */
.safc button { width: auto; margin: 0; text-transform: none; letter-spacing: normal; line-height: 1.3; box-shadow: none; }
.safc .safc-btn--wide { width: 100%; }
.safc-loading, .safc-muted { color: var(--safc-muted); font-size: .92rem; margin: 8px 0; }

.safc-head { padding: 12px 0 8px; }
.safc-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--safc-accent); }
.safc-title { margin: 0 0 10px; font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.15; color: var(--safc-brand); }
.safc-intro { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.6; }
.safc-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.safc-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--safc-bg); border: 1px solid var(--safc-line); border-radius: 12px; font-size: .92rem; }
.safc-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--safc-accent); color: #fff; font-size: .85rem; }

.safc-lang { margin: 0 0 18px; padding: 10px 14px; border-left: 4px solid var(--safc-accent); border-radius: 8px; background: var(--safc-accent-soft); font-size: .95rem; }
.safc-lang--small { margin: 0; padding: 8px 12px; font-size: .9rem; }

.safc-card { background: var(--safc-card); border: 1px solid var(--safc-line); border-radius: 16px; padding: 18px 16px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(43, 33, 24, .04); }
.safc-card h2 { margin: 0 0 12px; font-size: 1.2rem; color: var(--safc-brand); }
.safc-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.safc-field { margin: 0 0 16px; }
.safc-label { margin: 0 0 8px; font-weight: 600; font-size: .92rem; }

.safc-lengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.safc .safc-length { width: 100%; }
.safc .safc-slot { width: 100%; }
.safc-length { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; min-height: 64px; border: 1.5px solid var(--safc-line); border-radius: 12px; background: #fff; color: var(--safc-ink); cursor: pointer; text-align: left; font: inherit; }
.safc-length__min { font-weight: 700; font-size: 1.05rem; }
.safc-length__price { color: var(--safc-muted); }
.safc-length.is-on { border-color: var(--safc-accent); background: var(--safc-accent-soft); }
.safc-length.is-on .safc-length__price { color: var(--safc-accent); font-weight: 600; }

/* All days visible at once, wrapping onto more rows (no hidden sideways scroll). */
.safc-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.safc .safc-day { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border: 1.5px solid var(--safc-line); border-radius: 12px; background: #fff; color: var(--safc-ink); cursor: pointer; font: inherit; }
.safc-day__dow { font-size: .78rem; color: var(--safc-muted); text-transform: uppercase; letter-spacing: .04em; }
.safc-day__date { font-weight: 700; white-space: nowrap; }
.safc-day.is-on { border-color: var(--safc-accent); background: var(--safc-accent-soft); }

.safc-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.safc-slot { min-height: 44px; padding: 8px; border: 1.5px solid var(--safc-line); border-radius: 10px; background: #fff; color: var(--safc-ink); cursor: pointer; font: inherit; font-weight: 600; }
.safc-slot.is-on { border-color: var(--safc-accent); background: var(--safc-accent); color: #fff; }

.safc-length:focus-visible, .safc-day:focus-visible, .safc-slot:focus-visible, .safc-btn:focus-visible, .safc-link:focus-visible { outline: 3px solid var(--safc-accent); outline-offset: 2px; }

.safc-form { display: grid; gap: 12px; margin-top: 4px; }
.safc-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.safc-form input, .safc-form textarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--safc-line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--safc-ink); background: #fff; }
.safc-form input:focus, .safc-form textarea:focus { outline: none; border-color: var(--safc-accent); box-shadow: 0 0 0 3px var(--safc-accent-soft); }
.safc-confirm { display: grid; gap: 10px; }
.safc-summary { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--safc-bg); font-weight: 600; }

.safc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--safc-brand); border-radius: 999px; background: #fff; color: var(--safc-brand); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.safc-btn--primary { background: var(--safc-brand); color: #fff; }
.safc-btn--primary:hover { background: #3A2719; color: #fff; }
.safc-btn--quiet { border-color: var(--safc-line); color: var(--safc-muted); }
.safc-btn--wide { width: 100%; }
.safc-btn[disabled] { opacity: .6; cursor: progress; }
.safc-link { background: none; border: 0; padding: 4px 0; color: var(--safc-accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

.safc-booking { padding: 12px 0; border-top: 1px solid var(--safc-line); }
.safc-booking:first-of-type { border-top: 0; padding-top: 0; }
.safc-booking__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.safc-booking__meta { margin: 4px 0 0; color: var(--safc-muted); font-size: .9rem; overflow-wrap: anywhere; }
.safc-booking__note { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--safc-warn-soft); color: var(--safc-warn); font-size: .9rem; }
.safc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.safc-badge { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--safc-bg); color: var(--safc-muted); white-space: nowrap; }
.safc-badge--confirmed { background: var(--safc-accent-soft); color: var(--safc-accent); }
.safc-badge--held, .safc-badge--needs_time { background: var(--safc-warn-soft); color: var(--safc-warn); }
.safc-past summary { cursor: pointer; color: var(--safc-muted); font-weight: 600; margin-top: 8px; }

.safc-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--safc-accent-soft); color: var(--safc-accent); font-weight: 600; }
.safc-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--safc-warn-soft); color: var(--safc-warn); font-weight: 600; }
.safc-closed { margin: 0; font-weight: 600; }
.safc-policy { margin: 16px 0 0; font-size: .85rem; line-height: 1.5; color: var(--safc-muted); }
