/* Deltas for the vaping campaign flow (/doorstops/vaping).

   The step system, cards, templates and posters all come from
   bathroom-flow.css; this file re-tints them and adds the pieces this page
   has that the others don't: the state flavor-law card, the detector fact
   sheet, the "don't hand it down" message and the Doorstop Session ending.

   Teal-green, a shade off the brand mint. Vape marketing lives in neon
   purples and blues, and a page that looked like a flavor menu would be
   selling the thing it's against. */

:root {
  --bf-accent: hsl(172, 62%, 30%);
  --bf-accent-soft: hsl(168, 52%, 95%);
}

body.vf {
  background: linear-gradient(170deg, #EAF7F3 0%, #F3FAF7 46%, #EEF4F8 100%) fixed;
  background-color: #EFF7F4;
}

/* the shared sheet hard-codes the blue in a few focus rings and borders */
.vf .bf-step.is-open { border-color: hsl(170, 38%, 78%); }
.vf .bf-input:focus { box-shadow: 0 0 0 3px hsla(172, 62%, 30%, 0.16); }
.vf .bf-choice:hover { border-color: hsl(170, 40%, 72%); }
.vf .bf-unsure, .vf .bf-callout { border-color: hsl(170, 32%, 82%); }
.vf .bf-resume { border-color: hsl(170, 32%, 82%); }
.vf .bf-spinner { border-color: hsla(172, 62%, 30%, 0.25); border-top-color: var(--bf-accent); }

.vf .bf-title { max-width: 14ch; margin-left: auto; margin-right: auto; }
.vf-hero-sub {
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 13.5pt;
  line-height: 1.55;
  color: var(--bf-soft);
  text-align: center;
}

#bf-school-status:empty { display: none; }

.vf-checklist { list-style: disc; padding-left: 22px; margin: 6px 0 14px; }
.vf-checklist li { list-style: disc; font-size: 12.5pt; line-height: 1.6; color: var(--bf-soft); margin-bottom: 6px; }

/* ------------------------------------------------------ state law card */

.vf-law {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 4px 0 18px;
  border: 1px solid hsl(150, 40%, 78%);
  background: #EDFBF3;
}
.vf-law--partial { border-color: hsl(42, 70%, 72%); background: #FFF8E6; }
.vf-law--none { border-color: hsl(8, 60%, 82%); background: #FFF3F1; }
.vf-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;
}
.vf-law--partial .vf-law-kicker { color: hsl(36, 80%, 34%); }
.vf-law--none .vf-law-kicker { color: hsl(6, 62%, 44%); }
.vf-law h3 {
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 15pt;
  color: var(--bf-ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.vf-law p { margin: 0 0 8px; font-size: 12.5pt; line-height: 1.6; color: var(--bf-ink); }
.vf-law p:last-child { margin-bottom: 0; }
.vf-law a { display: inline; color: var(--bf-accent); text-decoration: underline; }

/* ------------------------------------------------- facts inside a play */

.vf-facts { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 8px; }
/* the step body indents every list for its bullets; these are cards, not bullets */
.vf .bf-step-body ul.vf-facts, .vf .bf-step-body ul.vf-resources { padding-left: 0; }
.vf-facts li {
  list-style: none;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--bf-line);
  border-left: 4px solid var(--bf-accent);
  border-radius: 10px;
  background: #fff;
  font-size: 12pt;
  line-height: 1.55;
  color: var(--bf-soft);
}
.vf-facts li.is-warn { border-left-color: hsl(36, 80%, 50%); }
.vf-facts strong { color: var(--bf-ink); }
.vf-facts a, .vf-src a { display: inline; color: var(--bf-accent); text-decoration: underline; }
.vf-src { font-size: 10.5pt; line-height: 1.5; color: var(--bf-soft); margin: -4px 0 14px; }

.vf-h4 {
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 13pt;
  font-weight: 700;
  color: var(--bf-ink);
  margin: 18px 0 8px;
}

/* the price table in the detector play */
.vf-table-wrap { overflow-x: auto; margin: 4px 0 8px; }
.vf-table { width: 100%; border-collapse: collapse; font-size: 11.5pt; background: #fff; border-radius: 10px; }
.vf-table th, .vf-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--bf-line);
  color: var(--bf-soft);
  vertical-align: top;
}
.vf-table th { color: var(--bf-ink); font-weight: 700; font-size: 10.5pt; }
.vf-table td:first-child { color: var(--bf-ink); font-weight: 600; white-space: nowrap; }

/* ------------------------------------------- the "don't hand it down" card */

.vf-message {
  margin: 4px 0 18px;
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: #16302B;
  color: #EAF7F3;
}
.vf-message-kicker {
  display: block;
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 10.5pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8FE3C8;
  margin: 0 0 8px;
}
.vf-message blockquote {
  margin: 0 0 12px;
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 16pt;
  line-height: 1.35;
  color: #fff;
}
.vf-message p { margin: 0 0 10px; font-size: 12pt; line-height: 1.6; color: #CFE6DF; }
.vf-message a { display: inline; color: #8FE3C8; text-decoration: underline; }
.vf-message .bf-btn { background: #8FE3C8; color: #16302B; }

/* quit resources, reused in two steps */
.vf-resources { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; }
.vf-resources 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);
}
.vf-resources strong { color: var(--bf-ink); }
.vf-resources a { display: inline; color: var(--bf-accent); text-decoration: underline; }
.vf-resources .vf-code {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--bf-accent-soft);
  color: var(--bf-accent);
  font-size: 10pt;
  font-weight: 700;
  vertical-align: 1px;
}

/* ------------------------------------------------ Doorstop Session ending */

.vf-session {
  margin: 4px 0 16px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(150deg, #16302B 0%, #1E4A40 100%);
  color: #EAF7F3;
}
.vf-session h3 {
  font-family: 'League Spartan', 'Poppins', sans-serif;
  font-size: 19pt;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}
.vf-session p { margin: 0 0 12px; font-size: 12.5pt; line-height: 1.6; color: #CFE6DF; }
.vf-session ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.vf-session li { list-style: disc; font-size: 12.5pt; line-height: 1.6; color: #CFE6DF; margin-bottom: 6px; }
.vf-session .bf-btn { background: #8FE3C8; color: #16302B; }
.vf-session .bf-btn:hover { background: #fff; }

/* marks the play the step-2 answer says to start with */
.vf-start {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 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;
  vertical-align: 2px;
}

/* on a phone the three columns fit if the names may wrap and the padding shrinks */
@media (max-width: 520px) {
  .vf-table { font-size: 10.5pt; }
  .vf-table th, .vf-table td { padding: 7px 6px; }
  .vf-table td:first-child { white-space: normal; }
}

/* step 5 is a multi-pick: unpicked tracks aren't steps at all */
.vf .bf-step[hidden], .vf .bf-pip[hidden] { display: none; }
.vf-tracks .bf-choice { position: relative; }
.vf-tracks .bf-choice::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--bf-line);
  background: #fff;
}
.vf-tracks .bf-choice[aria-pressed="true"]::after {
  border-color: var(--bf-accent);
  background: var(--bf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.vf-tracks .bf-choice-title { padding-right: 28px; }
#bf-pick-go:disabled { opacity: 0.5; cursor: not-allowed; }

/* one line at the top of a track saying how it fits the step-2 answer */
.vf .bf-step-body > p.vf-note {
  padding: 10px 14px;
  border-left: 4px solid var(--bf-accent);
  border-radius: 8px;
  background: var(--bf-accent-soft);
  color: var(--bf-ink);
  font-size: 12pt;
}
.vf .bf-step-body > p.vf-note[hidden] { display: none; }

/* under an email with no address: where to find it */
.vf-find { margin: 8px 0 0; font-size: 11pt; color: var(--bf-soft); }
.vf-find a { display: inline; color: var(--bf-accent); text-decoration: underline; }
