/*
 * /nedela, "Your week with VEDU" (resources/views/site/family-week.blade.php): the owner's prototype drawn
 * in the site's design. Loaded by that page only (pushed after lovable.css and next.css) and built from
 * Lovable's tokens only: --primary fills, --brand-text for small violet text, --accent the lavender tint,
 * --audience-yellow the time-saved card with --ink on it, --surface-soft for quiet panels, the radii and
 * shadows of the site's cards. Onest comes from the layout. Anything the script hides it hides
 * with `hidden`, which Lovable's reset keeps hidden whatever `display` says here.
 */

.fw-page {
  --fw-k0: var(--audience-yellow);
  --fw-k1: oklch(85% 0.09 302);
  --fw-k2: oklch(88% 0.09 165);
  --fw-k3: oklch(86% 0.08 40);
  --fw-line: var(--border);
  --fw-radius: 24px;
  padding-bottom: 32px;
}

/* The hero: the site's violet band with its blobs, the copy on the left and the drawn school run on the right. */
.fw-hero {
  min-height: 0;
  padding: 56px 0 104px;
}
.fw-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 32px;
}
.fw-hero h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}
.fw-hero .section-subtitle {
  max-width: 560px;
  margin-top: 18px;
  font-size: 18px;
}
.fw-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
/* The site's trust pills: white, a soft shadow, ink text and a violet icon. */
.fw-facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--background);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.fw-facts svg {
  color: var(--brand-text);
}
.fw-map {
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
.fw-map__road {
  fill: none;
  stroke: var(--accent);
  stroke-width: 16;
  stroke-linecap: round;
}
.fw-map__dash {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}
.fw-map__home {
  fill: var(--audience-yellow);
}
.fw-map__school {
  fill: var(--primary);
}
.fw-map__glyph {
  fill: var(--ink);
}
.fw-map__school + .fw-map__glyph {
  fill: var(--primary-foreground);
}
.fw-map__label {
  fill: var(--muted-foreground);
  font-family: var(--font-salient);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.fw-map__time {
  fill: var(--brand-text);
  font-family: var(--font-salient);
  font-size: 15px;
  font-weight: 800;
}
@media (prefers-reduced-motion: no-preference) {
  .fw-map__dash {
    animation: fw-drive 2.4s linear infinite;
  }
  @keyframes fw-drive {
    to {
      stroke-dashoffset: -48;
    }
  }
}

/* The step bar: a card that rides over the hero's edge, then stays under the site header. */
.fw-steps {
  position: sticky;
  top: 92px;
  z-index: 30;
  margin-top: -36px;
}
.fw-steps__bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 8px;
  border-radius: 20px;
  background: var(--background);
  box-shadow: var(--shadow-float);
  list-style: none;
}
.fw-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--muted-foreground);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.fw-step:hover {
  background: var(--accent);
  color: var(--brand-text);
}
.fw-step:focus-visible,
.fw-card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.fw-step__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--fw-line);
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 700;
}
.fw-step__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fw-step.is-done {
  color: var(--foreground);
}
.fw-step.is-done .fw-step__num {
  border-color: var(--success);
  background: var(--success);
  color: var(--primary-foreground);
}

/* The workspace: the form on the left, the week beside it. */
.fw-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 28px;
  padding: 32px 0 64px;
}
.fw-form {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.fw-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: var(--fw-radius);
  background: var(--background);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 180px;
}
.fw-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.fw-card__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--brand-text);
  font-size: 17px;
  font-weight: 800;
}
.fw-card.is-done .fw-card__num {
  background: var(--success);
  color: var(--primary-foreground);
}
.fw-card h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.fw-card__head p {
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.6;
}
.fw-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.fw-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.fw-field > label,
.fw-label {
  font-size: 15px;
  font-weight: 500;
}
.fw-muted {
  color: var(--muted-foreground);
  font-weight: 400;
}
.fw-input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fw-input::placeholder {
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
}
.fw-input:hover {
  border-color: var(--hero-accent);
}
.fw-input:focus-visible {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 22%, transparent);
}
.fw-input[aria-invalid="true"] {
  border-color: var(--destructive);
}
.fw-textarea {
  min-height: 96px;
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}
.fw-error {
  margin: 0;
  color: var(--destructive);
  font-size: 15px;
  font-weight: 600;
}
.fw-list {
  display: grid;
  gap: 14px;
}
.fw-add {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--brand-text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.fw-add span {
  font-size: 20px;
  line-height: 1;
}
.fw-add:hover {
  border-style: solid;
  background: var(--accent);
}

/* A child. */
.fw-kid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-soft);
}
.fw-ava {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}
.fw-k0 { background: var(--fw-k0); }
.fw-k1 { background: var(--fw-k1); }
.fw-k2 { background: var(--fw-k2); }
.fw-k3 { background: var(--fw-k3); }
.fw-k-none { background: var(--background); box-shadow: inset 0 0 0 1px var(--fw-line); }
.fw-kid__body {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.fw-kid__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}
.fw-age {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  background: var(--background);
}
.fw-age button {
  width: 44px;
  height: 46px;
  border: 0;
  background: none;
  color: var(--brand-text);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.fw-age button:hover:not(:disabled) {
  background: var(--accent);
}
.fw-age button:disabled {
  color: var(--muted-foreground);
  opacity: 0.45;
  cursor: default;
}
.fw-age output {
  min-width: 56px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.fw-del {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted-foreground);
  cursor: pointer;
}
.fw-del:hover {
  background: color-mix(in oklch, var(--destructive) 12%, transparent);
  color: var(--destructive);
}

/* Buttons that are chosen or not (a seat, who rides, a day, the minutes): pills in the site's language. */
.fw-seg,
.fw-who,
.fw-days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fw-seg button,
.fw-who button,
.fw-saved__chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--fw-line);
  border-radius: var(--radius-pill);
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.fw-seg button:hover,
.fw-who button:hover {
  border-color: var(--primary);
}
.fw-seg button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}
.fw-who button {
  padding-left: 6px;
}
.fw-who button i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.4;
}
.fw-who button[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--brand-text);
  font-weight: 600;
}
.fw-who button[aria-pressed="true"] i {
  opacity: 1;
}

/* A route. */
.fw-route {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-soft);
}
.fw-route__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fw-route__top h3 {
  font-size: 17px;
  font-weight: 700;
}
.fw-path {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0 12px;
}
.fw-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 46px;
}
.fw-rail i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.fw-rail__a {
  background: var(--audience-yellow);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--audience-yellow) 30%, transparent);
}
.fw-rail__b {
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--primary) 22%, transparent);
}
.fw-rail span {
  flex: 1;
  width: 2px;
  min-height: 48px;
  margin: 6px 0;
  background: repeating-linear-gradient(var(--muted-foreground) 0 4px, transparent 4px 9px);
  opacity: 0.4;
}
.fw-stops {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.fw-place {
  position: relative;
}
.fw-suggest {
  position: absolute;
  z-index: 20;
  top: 100%;
  right: 0;
  left: 0;
  max-height: 280px;
  margin: 6px 0 0;
  padding: 6px;
  overflow-y: auto;
  border-radius: 16px;
  background: var(--background);
  box-shadow: var(--shadow-float);
  list-style: none;
}
.fw-suggest li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.fw-suggest li b {
  font-weight: 600;
}
.fw-suggest li small {
  color: var(--muted-foreground);
  font-size: 14px;
}
.fw-suggest li:hover,
.fw-suggest li[aria-selected="true"] {
  background: var(--accent);
}
.fw-eta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 1.5em;
  margin: 0;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 600;
}
.fw-eta svg {
  flex: none;
  color: var(--brand-text);
}
.fw-eta--quiet {
  color: var(--muted-foreground);
  font-weight: 500;
}
.fw-day {
  width: 48px;
  height: 44px;
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.fw-day:hover {
  border-color: var(--primary);
}
.fw-day[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.fw-quick {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--brand-text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.fw-quick:hover {
  background: var(--accent);
}
.fw-times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
  gap: 14px;
}
.fw-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--foreground);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.fw-switch i {
  position: relative;
  flex: none;
  width: 46px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--fw-line);
  transition: background-color 0.15s;
}
.fw-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--background);
  box-shadow: 0 1px 3px oklch(20% 0.05 285 / 30%);
  content: "";
  transition: transform 0.15s;
}
.fw-switch[aria-pressed="true"] i {
  background: var(--primary);
}
.fw-switch[aria-pressed="true"] i::after {
  transform: translateX(18px);
}
.fw-seg button:focus-visible,
.fw-who button:focus-visible,
.fw-day:focus-visible,
.fw-quick:focus-visible,
.fw-switch:focus-visible,
.fw-add:focus-visible,
.fw-age button:focus-visible,
.fw-del:focus-visible,
.fw-saved__chips button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.fw-foot {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}
.fw-foot a {
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The week: rides per day, the totals and the time saved, beside the form and in view while it scrolls.
   A week taller than the window sticks by its bottom instead, so the send button is always reachable:
   the script sets `top` from the two heights (placeSide in family-week.js). */
.fw-side {
  position: sticky;
  top: 184px;
  display: grid;
  gap: 16px;
}
.fw-week {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--fw-radius);
  background: var(--background);
  box-shadow: var(--shadow-float);
}
.fw-week h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}
.fw-eyebrow {
  margin-bottom: 6px;
  color: var(--brand-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fw-eyebrow--light {
  color: var(--audience-yellow);
}
.fw-hint {
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.6;
}
.fw-daylist {
  display: grid;
  gap: 6px;
}
.fw-dayrow {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: var(--surface-soft);
}
.fw-dayrow--off {
  padding-block: 4px;
  background: none;
}
.fw-dayrow__name {
  padding-top: 4px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.fw-dayrow__rides {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.fw-dayrow__none {
  padding-top: 3px;
  color: var(--muted-foreground);
  font-size: 13px;
}
.fw-ride {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.fw-ride time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.fw-ride span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fw-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fw-tot {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-soft);
}
.fw-tot b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.fw-tot small {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
}

/* The time saved: the site's yellow, ink on it. */
.fw-saved {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: var(--audience-yellow);
  color: var(--ink);
}
.fw-saved__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fw-saved__trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.fw-saved__trio div {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: color-mix(in oklch, var(--background) 45%, transparent);
}
.fw-saved__trio .fw-saved__year {
  background: var(--ink);
  color: var(--audience-yellow);
}
.fw-saved__trio b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fw-saved__trio small {
  font-size: 13px;
  font-weight: 700;
}
.fw-saved__line {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.fw-saved__note {
  font-size: 14px;
  line-height: 1.5;
}
.fw-saved__ask {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.fw-saved__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fw-saved__chips button {
  border-color: color-mix(in oklch, var(--ink) 30%, transparent);
  background: none;
  color: var(--ink);
  font-weight: 700;
}
.fw-saved__chips button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--audience-yellow);
}

/* Sending: the site's violet panel, the button and what to do when it fails. */
.fw-send {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--fw-radius);
  background: var(--primary-deep);
  color: var(--primary-foreground);
  scroll-margin-top: 200px;
}
.fw-send > p {
  font-size: 15px;
  line-height: 1.6;
}
.fw-send .fw-go {
  width: 100%;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--audience-yellow);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.fw-send .fw-go:hover {
  background: var(--audience-yellow);
}
.fw-send .fw-go[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.fw-send .fw-go:focus-visible {
  outline: 2px solid var(--primary-foreground);
  outline-offset: 3px;
}
/* The free ride code a week with an email is sent: one line above the button, set apart in the yellow. */
.fw-send > .fw-send__code {
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--audience-yellow) 22%, transparent);
  font-weight: 600;
}
.fw-send__error {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--background);
  color: var(--destructive);
  font-size: 15px;
  font-weight: 600;
}
.fw-fallback {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: color-mix(in oklch, var(--primary-foreground) 10%, transparent);
  font-size: 15px;
  line-height: 1.6;
}
.fw-select {
  font-weight: 700;
  user-select: all;
}
.fw-fallback .fw-copy {
  justify-self: start;
  border-radius: var(--radius-pill);
  color: var(--foreground);
}
.fw-fallback pre {
  max-height: 200px;
  margin: 0;
  overflow: auto;
  font-family: var(--font-salient);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
}
.fw-noscript {
  font-weight: 600;
}
.fw-thanks {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 0;
  text-align: center;
}
.fw-thanks:focus-visible {
  outline: 2px solid var(--primary-foreground);
  outline-offset: 4px;
  border-radius: 12px;
}
.fw-thanks__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--audience-yellow);
  color: var(--ink);
}
.fw-thanks h3 {
  color: var(--primary-foreground);
  font-size: 24px;
  font-weight: 700;
}
.fw-thanks p {
  font-size: 16px;
  line-height: 1.6;
}
.fw-thanks .fw-thanks__code {
  font-weight: 700;
}
.fw-thanks .fw-thanks__note {
  font-size: 14px;
  opacity: 0.85;
}

/* The phone's sticky bar: what the week saves and the way to send it. */
.fw-mbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .fw-page.is-ready .fw-kid,
  .fw-page.is-ready .fw-route,
  .fw-page.is-ready .fw-ride {
    animation: fw-pop 0.22s ease-out;
  }
  @keyframes fw-pop {
    from {
      opacity: 0.4;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 1100px) {
  .fw-work {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1000px) {
  .fw-steps {
    top: 76px;
  }
  .fw-work {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 120px;
  }
  .fw-side {
    position: static;
  }
  .fw-mbar {
    position: fixed;
    z-index: 35;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--fw-line);
    background: color-mix(in oklch, var(--background) 92%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
  }
  .fw-mbar__text {
    display: grid;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.35;
  }
  .fw-mbar__text b {
    color: var(--foreground);
    font-size: 17px;
    font-variant-numeric: tabular-nums;
  }
  .fw-mbar .fw-pill {
    flex: none;
    height: 48px;
    padding-inline: 22px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
  }
}
@media (max-width: 760px) {
  .fw-hero {
    padding: 36px 0 84px;
  }
  .fw-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .fw-map {
    display: none;
  }
  .fw-card {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .fw-route,
  .fw-kid {
    padding: 16px 14px;
  }
}
@media (max-width: 520px) {
  /* The number alone on a narrow phone; the name stays for a screen reader. */
  .fw-step__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .fw-kid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fw-ava {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .fw-kid__top {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .fw-kid__top .fw-del {
    grid-row: 1;
    grid-column: 2;
  }
  .fw-day {
    width: 44px;
  }
}
