/* volunteer-nextsteps.html — the page's own rules. Moved out of its inline <style>
   (Phase 8 of the shell plan, 2026-10-11); linked where the block stood, so
   the cascade order is unchanged. Shared looks live in style.css /
   doorway.css — a rule here is this page's alone. */

/* Self-contained: this page deliberately does NOT pull style.css or
   revival-ui.css. It is one column of content for a first-time volunteer
   on a phone, and inheriting the admin grid's ~2900 lines of CSS to style
   four elements would defeat the point of the light bundle (VS3-6). */
/* The palette (the volunteer theme), the ground and the 560px column are
   Shell D's — doorway.css, Phase 6b. */
.v-brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:15px;font-weight:600}
.v-brand b{color:var(--accent);font-weight:600}
/* Links live in their own flex group so the right-alignment holds whether
   the dashboard link is shown or hidden — margin-left:auto on the links
   themselves would collapse when the first one is display:none. */
.v-brand-links{margin-left:auto;display:flex;align-items:center;gap:14px}
/* VS9-2. This surface has its own chrome, so style.css's .auth-logout
   rule never reached these links — measured 51x20 at 360px. */
@media (pointer: coarse){
  .v-brand-links a{min-height:44px;display:inline-flex;align-items:center}
}
.v-brand a{font-size:13px;color:var(--muted);text-decoration:none;font-family:var(--sans)}
.v-brand a:hover{color:var(--accent);text-decoration:underline}
.v-brand a[hidden]{display:none}
/* Leader preview mode (?previewPersonId=…): volunteer.js swaps the brand
   links for this chip so the page names its own mode even when opened
   outside the roster modal's iframe. Honey rather than plum: it is a
   status, not an action. */
.v-preview-chip.door-pill{text-transform:uppercase;letter-spacing:.06em;font-size:10.5px}
h1{font-family:var(--serif);font-weight:600;font-size:clamp(26px,7vw,34px);line-height:1.12;
  margin:0 0 4px;letter-spacing:-.01em}
.v-sub{margin:0;color:var(--muted);font-size:15px}
.v-eyebrow{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;
  color:var(--faint);display:flex;align-items:center;gap:9px;margin:0 0 8px}
.v-eyebrow::after{content:"";flex:1;height:1px;background:var(--line)}

/* Hero — the one next step */
.v-hero{background:var(--card);border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow);padding:clamp(20px,5vw,28px);position:relative;overflow:hidden}
.v-hero::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#b7791f}
.v-hero-plum::before{background:var(--accent)}
.v-hero-pine::before{background:#3f7d5a}
.v-kicker{display:inline-flex;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--honey);background:var(--honey-soft);
  padding:5px 10px;border-radius:999px;margin-bottom:14px}
.v-hero-plum .v-kicker{color:var(--accent);background:var(--accent-soft)}
.v-hero-pine .v-kicker{color:var(--pine);background:var(--pine-soft)}
.v-hero h2{font-family:var(--serif);font-weight:600;font-size:clamp(21px,5.6vw,26px);
  line-height:1.2;margin:0 0 8px}
.v-lede{margin:0 0 20px;color:var(--muted);font-size:15.5px;max-width:42ch}
.v-when{font-family:var(--serif);font-size:19px;font-weight:600;margin:0 0 4px}
.v-check{width:52px;height:52px;border-radius:50%;background:var(--pine-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.v-check svg{width:26px;height:26px;stroke:#3f7d5a;fill:none;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round}
.v-empty{text-align:center}
.v-empty .v-check{margin-inline:auto}
.v-empty .v-lede{margin-inline:auto}

/* One primary action. 52px tall clears the 44px touch minimum. */
.v-cta{display:inline-flex;align-items:center;justify-content:center;width:100%;
  min-height:52px;padding:0 22px;border:0;border-radius:12px;background:var(--accent);
  color:#fffdf9;font-family:var(--sans);font-size:16.5px;font-weight:700;cursor:pointer;
  text-decoration:none;transition:background .15s}
.v-cta:hover{background:var(--accent-hover)}
.v-cta-note{margin:12px 0 0;font-size:13px;color:var(--faint);text-align:center}
/* Also used as a <button> — cancelling happens on this page now, so the
   control is no longer a link out to the dashboard. */
.v-ghost{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;padding:0 16px;
  border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:14px;
  font-weight:600;text-decoration:none;background:transparent;font-family:var(--sans);cursor:pointer}
.v-ghost:hover{border-color:var(--accent);color:var(--ink)}
.v-ghost:disabled{opacity:.55;cursor:default}

/* Inline booking. Revealed by the CTA, so the hero still opens as one
   action rather than a grid of times. */
.v-book-note{margin:0 0 14px;font-size:14.5px;color:var(--muted)}
.v-book-note b{color:var(--ink);font-weight:600}
.v-link{position:relative;border:0;background:none;padding:0;margin-left:6px;font-family:var(--sans);
  font-size:14.5px;font-weight:600;color:var(--accent);cursor:pointer;text-decoration:underline}
/* "Change" sits inline in a sentence, so it can't be 44px tall without
   wrecking the line. Same fix icons.js uses for icon buttons: a transparent
   ::after that grows the TAP area without touching layout. Measured 53x18
   before this. */
@media (pointer: coarse){
  .v-link::after{content:"";position:absolute;left:0;right:0;top:50%;
    transform:translateY(-50%);height:44px}
}
.v-picker{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.v-pick-loc{font-size:12.5px;color:var(--faint)}
.v-day + .v-day{margin-top:16px}
.v-day-label{margin:0 0 8px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:700;color:var(--faint)}
/* auto-fit rather than a fixed count so four times don't stretch to fill a
   phone; minmax(0,…) so a long locale time string can't widen the track
   past the card (the mobile grid-track bug, index.html). */
.v-slot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}
.v-slot{min-width:0;min-height:44px;padding:0 10px;border:1px solid var(--line);
  border-radius:10px;background:var(--card);font-family:var(--sans);font-size:14.5px;
  font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
.v-slot:hover{border-color:var(--accent);background:var(--accent-soft)}

/* Inline training player. The video is the primary action here — there is
   no button beside it — so it gets the visual weight a .v-cta would have. */
.v-player{margin:0 0 12px;border:1px solid var(--line);border-radius:12px;
  overflow:hidden;background:#241a2c}
.v-video{display:block;width:100%;aspect-ratio:16/9;background:#241a2c}
.v-player-cap{display:flex;align-items:center;gap:10px;padding:10px 13px;
  background:var(--card);border-top:1px solid var(--line)}
.v-player-title{font-size:14px;font-weight:600;flex:1;min-width:0}
.v-hint{margin:0;font-size:13px;color:var(--faint)}
.v-hint-done{color:var(--pine);font-weight:600}

.v-pill.door-pill{flex:none}

/* Only rendered for 2+ courses. Below the player, so the thing to watch
   stays the focus and this reads as "what else is owed". */
.v-courses{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.v-courses-label{margin:0 0 8px;font-size:11.5px;letter-spacing:.12em;
  text-transform:uppercase;font-weight:700;color:var(--faint)}
.v-courses ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.v-course{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;
  padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;
  font-family:var(--sans);font-size:14px;color:var(--ink);text-align:left;cursor:pointer;
  transition:border-color .15s,background .15s}
.v-course:hover{border-color:var(--accent)}
.v-course-on{border-color:var(--accent);background:var(--accent-soft)}
.v-course-title{flex:1;min-width:0;font-weight:600}

/* Equip 1 handbooks — under the player, and as read-ahead in the
   pre-training heroes. Same row shape as .v-course so the list reads as
   part of the training block; anchors, not buttons, because each one is a
   navigation to a PDF. 44px rows for the touch sweep. */
.v-materials{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.v-materials-note{margin:0 0 10px;font-size:13.5px;color:var(--muted)}
.v-materials ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.v-material{display:flex;align-items:center;gap:10px;min-height:44px;
  padding:8px 12px;border:1px solid var(--line);border-radius:10px;
  font-family:var(--sans);font-size:14px;color:var(--ink);text-decoration:none;
  transition:border-color .15s,background .15s}
.v-material:hover{border-color:var(--accent);background:var(--accent-soft)}

/* An approved-but-not-yet-held meeting, carried under whatever the new
   next step is. Ruled off so it reads as a footnote to the hero, never as
   a second thing to do. */
.v-meeting-note{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.v-meeting-note p{margin:0;font-size:14px;color:var(--muted)}
.v-meeting-note b{color:var(--ink);font-weight:600}
.v-meeting-note .v-ghost{margin-top:12px}

/* Journey stepper */
.v-journey h3{font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;
  color:var(--muted);margin:0 0 4px}
.v-journey-sub{margin:0 0 16px;font-size:13.5px;color:var(--faint)}
.v-steps{list-style:none;margin:0;padding:0;position:relative}
.v-steps::before{content:"";position:absolute;left:13px;top:14px;bottom:14px;width:2px;background:var(--line)}
.v-step{position:relative;display:flex;gap:14px;padding:9px 0;align-items:flex-start}
.v-node{width:28px;height:28px;border-radius:50%;flex:none;background:var(--card);
  border:2px solid var(--line);z-index:1}
.v-done .v-node{background:var(--pine-soft);border-color:#3f7d5a}
.v-current .v-node{background:#b7791f;border-color:#b7791f;box-shadow:0 0 0 4px var(--honey-soft)}
.v-step-body{display:flex;flex-direction:column}
.v-step-label{font-size:15px;font-weight:600;line-height:1.35}
.v-done .v-step-label,.v-upcoming .v-step-label{font-weight:500;color:var(--muted)}
.v-step-sub{font-size:11.5px;color:var(--faint);margin-top:1px}
.v-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.v-help{border-top:1px solid var(--line);padding-top:18px;font-size:14px;color:var(--muted)}
.v-help a{color:var(--accent);font-weight:600}
/* Same reason as .v-brand-links: this surface has its own chrome, so no
   shared stylesheet gives its links a tappable height. The help link sits
   on its own line, so growing it to 44px costs no layout. */
@media (pointer: coarse){
  .v-help a{min-height:44px;display:inline-flex;align-items:center}
}

/* Loading skeleton — same intent as the dashboard's .dc-skeleton. */
.v-sk{background:linear-gradient(90deg,#efe8dd 25%,var(--line) 50%,#efe8dd 75%);
  background-size:200% 100%;border-radius:8px;animation:vsk 1.3s linear infinite}
.v-sk-line{height:14px;margin:10px 0}
.v-sk-cta{height:52px;border-radius:12px;margin-top:20px}
@keyframes vsk{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.v-sk{animation:none}}

#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(8px);
  background:var(--ink);color:#fffdf9;padding:10px 16px;border-radius:10px;font-size:14px;
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:50}
#toast.show{opacity:1;transform:translateX(-50%)}
#toast.error{background:#8a3a3a}
