/* ============================================================
   session-wizard.css — the PER-STEP dress for the 1:1 setup wizard (U12).

   ── Why this is its own file and not more of wizard-shell.css ────────
   wizard-shell.css states the boundary itself, and it is the right one:

     HERE: the frame. Bar, actions, save hint, eyebrow, heading, lede.
     NOT HERE: anything about what a particular step is FOR — the question
     card, the palette grid, the preview. Those are per-step and stay per-step.

   Everything below is per-step: the recommendation row with its reason, the
   duration presets, the weekly-hours rows, the two venue choices, the student
   preview. The frame those sit in — `.topbar`, `.welcome`, `.ccw-card`,
   `.ccw-foot`, `.btn` — is NOT redefined here. It is inherited from
   wizard-shell.css, guided-workspace.css and course-wizard.css, which
   `course-session-wizard.js` opts into by wearing `.ccw wz-shell gw`.

   Scoped to `.csw` so nothing here can reach the course-creation wizard, which
   wears the same frame classes on the same page.
   ============================================================ */

/* ── The recommendation row: a value, and WHY ────────────────────────
   SPEC §10.4 — "a recommendation with no visible reason fails this spec". The
   reason is not a tooltip and not a hover: it is a line under the value, always
   drawn, at a size that is read rather than skipped. */
.csw .csw-recos { display: flex; flex-direction: column; gap: 2px; }

.csw .csw-reco {
  padding: 14px 0;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, .08));
}
.csw .csw-reco:last-child { border-bottom: 0; }

.csw .csw-reco-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.csw .csw-reco-label {
  font-size: 13px; color: var(--text-3); min-width: 170px;
}
.csw .csw-reco-value {
  font-size: 17px; font-weight: 600; color: var(--text-1); flex: 1 1 auto;
}
.csw .csw-reco-why {
  margin-top: 5px; font-size: 13.5px; line-height: 1.55; color: var(--text-3);
  max-width: 62ch;
}
.csw .csw-reco-edit { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.csw .csw-input { max-width: 120px; }
.csw .csw-suffix { font-size: 13px; color: var(--text-3); }

/* "You set this" — quiet, so a coach can see why a number did not move when
   everything around it did. Never a warning: it is their choice being kept. */
.csw .csw-youset {
  font-size: 12.5px; color: var(--text-3);
  border: 1px solid var(--line, rgba(0, 0, 0, .12));
  border-radius: 999px; padding: 2px 9px;
}

/* A value we are SHOWING but not recommending. It must not read as advice. */
.csw .csw-flag {
  font-size: 12.5px; font-style: italic; color: var(--text-3); font-weight: 400;
}

/* ── Notices: the readiness answer, and the zero-slot detection ────── */
.csw .csw-notice {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 18px;
  font-size: 14px; line-height: 1.6;
  background: var(--surface-2, rgba(0, 0, 0, .04));
  border: 1px solid var(--line, rgba(0, 0, 0, .08));
}
.csw .csw-notice.csw-good { border-color: var(--good, #2f9e63); }
.csw .csw-notice.csw-bad { border-color: var(--warn, #d08a2c); }

.csw .csw-fineprint {
  margin-top: 18px; font-size: 13.5px; color: var(--text-3); max-width: 62ch;
}

/* ── Step 2: Calendly's duration presets ────────────────────────────
   Five buttons, one pre-selected. Not a dropdown: a coach should see the whole
   set at once and press one, which is what Calendly does and why. */
.csw .csw-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.csw .csw-preset {
  border: 1px solid var(--line, rgba(0, 0, 0, .16));
  background: transparent; border-radius: 999px; padding: 8px 16px;
  font-size: 14px; cursor: pointer;
}
.csw .csw-preset.is-on {
  border-color: var(--accent, #111); background: var(--accent, #111);
  color: var(--on-accent, #fff);
}

.csw .csw-label {
  display: block; margin: 18px 0 6px; font-size: 13px; color: var(--text-3);
}
.csw .csw-label .csw-opt { color: var(--text-3); font-weight: 400; opacity: .8; }
.csw .csw-hide { position: absolute; left: -9999px; }   /* hoisted into .welcome */

/* ── Step 3: the suggestion sits ABOVE the grid, never inside it ─────
   The visual separation is load-bearing. A suggestion drawn INTO the grid is a
   pre-ticked offer of the coach's time; drawn above it with its own button, it
   is an offer they accept. */
.csw .csw-suggest {
  padding: 14px; border-radius: 10px; margin-bottom: 16px;
  border: 1px dashed var(--line, rgba(0, 0, 0, .18));
}
.csw .csw-suggest p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }

.csw .csw-wins { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.csw .csw-win { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.csw .csw-win .input { max-width: 150px; }
.csw .csw-to { font-size: 13px; color: var(--text-3); }
.csw .csw-empty { font-size: 14px; color: var(--text-3); }

/* ── Step 5: two choices, each carrying its trade-off ────────────────
   Zoom's own guidance against the Personal Meeting ID is written into the
   second card rather than hidden, so the coach picks knowing it. */
.csw .csw-choices { display: flex; flex-direction: column; gap: 10px; }
.csw .csw-choice {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 14px 16px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line, rgba(0, 0, 0, .14)); background: transparent;
}
.csw .csw-choice b { font-size: 15px; }
.csw .csw-choice span { font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.csw .csw-choice.is-on { border-color: var(--accent, #111); border-width: 2px; }

/* ── Step 6: the student's real page, and it cannot take a booking ─── */
.csw .csw-preview {
  border: 1px solid var(--line, rgba(0, 0, 0, .12)); border-radius: 12px;
  overflow: hidden; margin-bottom: 20px;
}
.csw .csw-preview-bar {
  padding: 9px 14px; font-size: 12.5px; color: var(--text-3);
  background: var(--surface-2, rgba(0, 0, 0, .04));
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, .08));
}
.csw .csw-preview-frame {
  display: block; width: 100%; height: 560px; border: 0; background: #fff;
}

.csw .csw-told h3 { font-size: 14px; margin: 0 0 6px; }
.csw .csw-told p { font-size: 13.5px; line-height: 1.65; color: var(--text-3); max-width: 62ch; }

/* One column on a phone. The reco label above its value rather than beside it,
   because 170px of label and a value on one line is two words per line. */
@media (max-width: 640px) {
  .csw .csw-reco-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .csw .csw-reco-label { min-width: 0; }
  .csw .csw-preview-frame { height: 420px; }
}
