/* Deltas for the period-products campaign flow (/doorstops/period-products).

   The step system, cards, templates and posters all come from
   bathroom-flow.css; this file only re-tints them and adds the two pieces
   that page doesn't have (a state-law callout and an optional fold at the
   end of step 5).

   Deliberately not red or pink. The subject supplies its own colour and
   a page that leans into it reads as a period-themed page rather than a
   campaign about a bathroom supply, which is the whole argument here. Indigo
   sits next to the bathroom flow's blue without repeating it. */

:root {
  --bf-accent: hsl(255, 52%, 51%);
  --bf-accent-soft: hsl(255, 64%, 96%);
}

body.pf {
  background: linear-gradient(170deg, #F2F0FC 0%, #F6F4FF 46%, #EEF5FB 100%) fixed;
  background-color: #F4F3FB;
}

/* the shared sheet hard-codes the blue in a few focus rings and borders */
.pf .bf-step.is-open { border-color: hsl(255, 42%, 84%); }
.pf .bf-input:focus { box-shadow: 0 0 0 3px hsla(255, 52%, 51%, 0.16); }
.pf .bf-choice:hover { border-color: hsl(255, 44%, 78%); }
.pf .bf-unsure, .pf .bf-callout { border-color: hsl(255, 38%, 86%); }
.pf .bf-resume { border-color: hsl(255, 38%, 86%); }
.pf .bf-spinner { border-color: hsla(255, 52%, 51%, 0.25); border-top-color: var(--bf-accent); }

/* One sentence, centred, allowed to break where it likes. The measure keeps
   it to two lines on a phone rather than four short ones. */
.pf .bf-title { max-width: 16ch; margin-left: auto; margin-right: auto; }

/* it only speaks up when the directory fails, so it takes no room otherwise */
#bf-school-status:empty { display: none; }

/* the inspection detour's checklist */
.pf-checklist { list-style: disc; padding-left: 22px; margin: 6px 0 14px; }
.pf-checklist li { list-style: disc; font-size: 12.5pt; line-height: 1.6; color: var(--bf-soft); margin-bottom: 6px; }

/* ------------------------------------------------------ state law card
   Rendered at the top of step 5 once we know the state. Green when the law
   is on the student's side, neutral when it isn't yet. */

.pf-law {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 4px 0 18px;
  border: 1px solid hsl(150, 40%, 78%);
  background: #EDFBF3;
}
.pf-law--none { border-color: var(--bf-line); background: #F7F7F9; }
.pf-law-kicker {
  display: block;
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 10.5pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf-done);
  margin: 0 0 4px;
}
.pf-law--none .pf-law-kicker { color: var(--bf-soft); }
.pf-law h3 {
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 15pt;
  color: var(--bf-ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.pf-law p { margin: 0 0 8px; font-size: 12.5pt; line-height: 1.6; color: var(--bf-ink); }
.pf-law p:last-child { margin-bottom: 0; }
.pf-law a { display: inline; color: var(--bf-accent); text-decoration: underline; }

/* ---------------------------------------------------- free-supply list */

.pf-programs { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 10px; }
.pf-programs li {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--bf-line);
  border-radius: 11px;
  background: #fff;
  font-size: 12pt;
  line-height: 1.55;
  color: var(--bf-soft);
}
.pf-programs strong { color: var(--bf-ink); }
.pf-programs a { display: inline; color: var(--bf-accent); text-decoration: underline; }
.pf-programs .pf-who {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--bf-accent-soft);
  color: var(--bf-accent);
  font-size: 9.5pt;
  font-weight: 600;
  vertical-align: 1px;
}

/* ------------------------------------------------------- optional fold */

.pf-optional {
  margin-top: 22px;
  border: 1px dashed hsl(255, 30%, 80%);
  border-radius: 12px;
  background: #fff;
}
.pf-optional > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 13.5pt;
  font-weight: 700;
  color: var(--bf-ink);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pf-optional > summary::-webkit-details-marker { display: none; }
.pf-optional > summary:hover { color: var(--bf-accent); }
.pf-optional-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--bf-accent-soft);
  color: var(--bf-accent);
  font-size: 9.5pt;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pf-optional-body { padding: 0 16px 16px; }
.pf-optional-body p { font-size: 12.5pt; line-height: 1.65; color: var(--bf-soft); margin: 0 0 10px; }
.pf-optional-body ul { list-style: disc; padding-left: 22px; margin: 0 0 10px; }
.pf-optional-body li { list-style: disc; font-size: 12.5pt; line-height: 1.6; color: var(--bf-soft); margin-bottom: 6px; }
