/* ============================================================
   LBS Enrollment — flow styles.
   Port of references/.../lib/fluxo.css (.flow-* + .ce-* blocks).
   Design tokens inherited from hello-elementor-lbs lbs-components.css.
   Radius: follows the design's ROUNDED LAYER (styles.css §"Apple-style
   soft corners" — client rejected square buttons): capsule buttons,
   14px inputs, 20px cards, 28px surfaces.
   ============================================================ */

/* ---- missing tokens: define locally on the flow root ----------- */
.co-page, .flow-account {
  --radius-input:   14px;
  --radius-card:    20px;
  --radius-surface: 28px;
  --radius-btn:     9999px;
  --radius-pill:    9999px;
  --shadow-sm:      0 1px 2px rgba(30, 47, 96, 0.06);
  --color-warning:  #B07B12;
  --color-danger:   #B53A2A;
}

/* ---- flow page chrome: bone canvas (design .flow-shell).
        This sheet only loads in flow context (steps + flow checkout),
        so .co-page scoping is safe and also covers the checkout page. -- */
.co-page { background: var(--lbs-bone); }

/* ---- ROUNDED LAYER on flow surfaces (port of styles.css §3270) -- */
.co-page .lbs-btn { border-radius: var(--radius-btn); }
.co-page .ct-field input,
.co-page .ct-field select,
.co-page .ct-field textarea { border-radius: var(--radius-input); }
.co-page .cand-fieldset,
.co-page .pay-note,
.co-page .pay-detail,
.co-page .payment_box.pay-detail,
.co-page .co-done__icon { border-radius: var(--radius-card); }
.co-page .cand-radio,
.co-page .pay-method { border-radius: var(--radius-pill); }
.co-page .co-form,
.co-page .cand-form,
.co-page .co-summary { border-radius: var(--radius-surface); }
.co-page .ord-thumb { border-radius: var(--radius-input); }
.co-page .ce-seg { border-radius: var(--radius-btn); }
.co-page .ce-seg .ce-seg__btn { border-radius: var(--radius-btn); }

/* ---- flow checkout: head band + full-width section (design
        flow-screen) — the rail/head seams print above .co-section ---- */
.flow-screen--checkout { padding: 48px 48px 0; }
.co-page .co-section { padding: 28px 48px 72px; }
.co-page .co-section__container { max-width: none; }
.flow-copart .flow-list { margin-top: 0; }
.flow-copart { margin-bottom: 6px; }

/* ---- segmented radio pills (port of pages.css .cand-radio* —
        the theme's copy targets CF7 markup, not this one) ----------- */
.co-page .cand-radios { display: flex; gap: 0; border: 1px solid var(--lbs-slate-300); border-radius: var(--radius-pill); }
.co-page .cand-radio { flex: 1; position: relative; cursor: pointer; border-radius: var(--radius-pill); }
.co-page .cand-radio:not(:last-child) { border-right: 1px solid var(--lbs-slate-300); }
.co-page .cand-radio input { position: absolute; opacity: 0; pointer-events: none; }
.co-page .cand-radio span {
  display: block; text-align: center; font-size: 13.5px; font-weight: 600;
  color: var(--lbs-ink-600); padding: 11px 8px; border-radius: var(--radius-pill);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.co-page .cand-radio:hover span { background: rgba(0,162,195,0.06); }
.co-page .cand-radio input:checked + span { background: var(--lbs-navy); color: #fff; }
.co-page .cand-radio input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--lbs-cyan); }

/* ============================================================
   STEP RAIL
   ============================================================ */
.flow-rail {
  background: var(--lbs-paper);
  border-bottom: 1px solid var(--color-border);
  padding: 22px 48px;
}
.flow-rail__inner {
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.flow-rail__step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  flex: none;
  text-decoration: none;
  color: inherit;
}
.flow-rail__step:disabled { cursor: default; }
.flow-rail__n {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  border: 1.5px solid var(--lbs-mist);
  color: var(--lbs-slate-500);
  background: #fff;
  transition: all 180ms var(--ease-out);
}
.flow-rail__label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--lbs-slate-500);
  white-space: nowrap;
}
.flow-rail__step[data-state="active"] .flow-rail__n { background: var(--lbs-navy); border-color: var(--lbs-navy); color: #fff; }
.flow-rail__step[data-state="active"] .flow-rail__label { color: var(--lbs-navy); }
.flow-rail__step[data-state="done"] .flow-rail__n { background: var(--lbs-cyan); border-color: var(--lbs-cyan); color: #fff; }
.flow-rail__step[data-state="done"] .flow-rail__label { color: var(--lbs-ink-600); }
.flow-rail__bar {
  flex: 1;
  height: 2px;
  min-width: 14px;
  background: var(--lbs-mist);
  margin: 0 12px;
  border-radius: 2px;
}
.flow-rail__bar[data-filled="true"] { background: var(--lbs-cyan); }

/* ============================================================
   SCREEN SHELL
   ============================================================ */
.flow-screen { padding: 48px 48px 72px; }
.flow-screen__inner { max-width: none; margin: 0 auto; }
.flow-screen--narrow .flow-screen__inner { max-width: none; }

.flow-screen__head { margin-bottom: 32px; }
.flow-screen__eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-hover); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.flow-screen__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); display: inline-block; }
.flow-screen__title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.015em;
  color: var(--lbs-ink); margin: 0 0 12px; line-height: 1.1; text-wrap: balance;
}
.flow-screen__sub { font-size: 16px; line-height: 1.55; color: var(--lbs-ink-600); margin: 0; max-width: 64ch; }

/* ============================================================
   STEP NAV (back/next footer)
   ============================================================ */
.flow-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--color-border);
}
.flow-nav__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.flow-nav__hint { font-size: 13px; color: var(--lbs-ink-400); font-weight: 600; }

/* ============================================================
   AUTH SPLIT (conta step)
   ============================================================ */
.flow-auth {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start;
}
.flow-auth__card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-surface);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.flow-auth__card--accent { background: var(--lbs-bone); border-color: var(--lbs-mist); }
.flow-auth__head { display: flex; align-items: center; gap: 10px; color: var(--lbs-navy); margin-bottom: 8px; }
.flow-auth__head h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: var(--lbs-ink); }
.flow-auth__lead { font-size: 14px; line-height: 1.55; color: var(--lbs-ink-600); margin: 0 0 22px; }
.flow-auth__card .ct-field { margin-bottom: 14px; }
.flow-auth__row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
.flow-auth__divider {
  align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  position: relative;
}
.flow-auth__divider::before { content: ""; width: 1px; flex: 1; background: var(--color-border); }
.flow-auth__divider::after { content: ""; width: 1px; flex: 1; background: var(--color-border); }
.flow-auth__divider span {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lbs-slate-500); background: var(--lbs-bone); padding: 8px 4px;
}
.flow-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lbs-ink-600); cursor: pointer; }
.flow-check--block { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; line-height: 1.5; }
.flow-check input { width: 16px; height: 16px; accent-color: var(--lbs-navy); flex: none; margin-top: 1px; }
.flow-link { color: var(--accent-hover); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; }
.flow-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.flow-branchhint {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.flow-branchhint > div {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: 16px 18px; font-size: 13px; line-height: 1.55; color: var(--lbs-ink-600);
}
.flow-branchhint strong { color: var(--lbs-navy); }

/* ============================================================
   COURSE PAGE CARD
   ============================================================ */
.flow-course {
  display: grid; grid-template-columns: minmax(340px, 0.85fr) 1.15fr; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-surface);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.flow-course__media { position: relative; min-height: 220px; background: var(--lbs-navy); }
.flow-course__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flow-course__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; padding: 6px 12px; border-radius: 9999px;
}
.flow-course__body { padding: 28px 30px; display: flex; flex-direction: column; }
.flow-course__cat { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-hover); margin-bottom: 10px; }
.flow-course__title { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--lbs-ink); margin: 0 0 8px; line-height: 1.15; }
.flow-course__instr { font-size: 14px; color: var(--lbs-ink-600); margin-bottom: 14px; }
.flow-course__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--lbs-ink-400); font-weight: 600; margin-bottom: 22px; }
.flow-course__price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.flow-course__price { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: var(--lbs-navy); }
.flow-course__price em { font-size: 16px; font-weight: 600; color: var(--lbs-ink-400); text-decoration: line-through; margin-left: 6px; }
.flow-course__per { font-size: 13px; font-weight: 700; color: var(--lbs-ink-400); letter-spacing: 0; }
.flow-course__incart { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--color-success); letter-spacing: 0.02em; }

/* ============================================================
   INFO NOTES
   ============================================================ */
.flow-note, .flow-once {
  display: flex; align-items: center; gap: 12px; margin-top: 20px;
  background: var(--lbs-bone); border: 1px solid var(--lbs-mist); border-radius: var(--radius-card);
  padding: 14px 18px; font-size: 13.5px; line-height: 1.5; color: var(--lbs-ink-600);
}
.flow-note svg, .flow-once svg { color: var(--lbs-navy); flex: none; }
.flow-once { margin-top: 0; margin-bottom: 22px; }
.flow-once-tag {
  margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lbs-cyan); background: rgba(0,162,195,0.1); padding: 5px 12px; border-radius: 9999px;
}

/* hint text (smaller prose) */
.flow-hint { font-size: 13.5px; line-height: 1.55; color: var(--lbs-ink-600); margin: 0 0 18px; }

.flow-narrowform { max-width: 760px; }

/* ============================================================
   LOCKED PROGRAMME CHIP (flow-locked / flow-locked-note)
   ============================================================ */
.flow-locked {
  display: flex; align-items: center; gap: 14px; background: var(--lbs-bone);
  border: 1px solid var(--lbs-mist); border-radius: var(--radius-card);
  padding: 12px 16px; margin-bottom: 18px;
}
.flow-locked__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.flow-locked__title { font-size: 15px; font-weight: 700; color: var(--lbs-ink); line-height: 1.25; }
.flow-locked__meta { font-size: 12.5px; color: var(--lbs-ink-400); }
.flow-locked__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-success); }

/* "Pedido uma única vez…" inline note */
.flow-locked-note {
  display: flex; align-items: center; gap: 10px;
  background: var(--lbs-bone); border: 1px solid var(--lbs-mist);
  padding: 12px 16px; margin-bottom: 18px;
  font-size: 13px; color: var(--lbs-ink-600); font-weight: 600;
}
.flow-locked-note svg { color: var(--lbs-navy); flex: none; }

/* ============================================================
   COLLABORATOR ADD SEGMENT
   ============================================================ */
.flow-collabs { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-surface); padding: 28px; }
.flow-collabs--setup { margin-top: 18px; }
.flow-collabs--setup > .cand-legend { margin-bottom: 6px; }
.flow-collabs--setup .ce-hint { margin: 0 0 18px; }
.flow-resumo__edit { display: inline-block; margin-top: 14px; }
.flow-addseg { margin-bottom: 24px; }
.flow-addmore {
  display: inline-flex; align-items: center; gap: 8px; background: var(--lbs-bone);
  border: 1px dashed var(--lbs-slate-300); border-radius: var(--radius-input);
  padding: 14px 20px; font-family: var(--font-sans); font-size: 14px; font-weight: 700;
  color: var(--lbs-navy); cursor: pointer; transition: all 160ms var(--ease-out);
}
.flow-addmore:hover { border-color: var(--lbs-navy); background: #fff; }
.flow-collabform {
  background: var(--lbs-bone); border: 1px solid var(--lbs-mist);
  border-radius: var(--radius-card); padding: 22px;
}
.flow-collabform__actions { display: flex; gap: 10px; margin-top: 6px; }
.flow-collabform__err { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--color-danger); }

/* ============================================================
   SEGMENTED CONTROL (ce-seg)
   ============================================================ */
.ce-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--color-border); margin-bottom: 20px;
}
/* .ce-seg prefix bumps specificity over Hello Elementor's reset.css
   (button { background: transparent }) which loads after this sheet. */
.ce-seg .ce-seg__btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; border: none; cursor: pointer; font-family: var(--font-sans);
  transition: background 160ms var(--ease-out);
  border-right: 1px solid var(--color-border);
}
.ce-seg .ce-seg__btn:last-child { border-right: none; }
/* Hello Elementor reset.css paints button:hover/:focus #CC3366 at (0,2,0) and
   loads after this sheet — the .ce-seg prefix (0,3,0) keeps our colours. */
.ce-seg .ce-seg__btn:hover,
.ce-seg .ce-seg__btn:focus { background: var(--lbs-bone); }
.ce-seg .ce-seg__btn[data-active="true"],
.ce-seg .ce-seg__btn[data-active="true"]:hover,
.ce-seg .ce-seg__btn[data-active="true"]:focus { background: var(--lbs-navy); }
.ce-seg__btn[data-active="true"] .ce-seg__ico { color: var(--lbs-cyan); }
.ce-seg__btn[data-active="true"] .ce-seg__l { color: #fff; }
.ce-seg__btn[data-active="true"] .ce-seg__d { color: rgba(255,255,255,0.72); }
.ce-seg__ico { color: var(--lbs-navy); flex: none; }
.ce-seg__txt { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.ce-seg__l { font-size: 14px; font-weight: 700; color: var(--lbs-ink); }
.ce-seg__d { font-size: 12px; color: var(--lbs-ink-400); }

/* ============================================================
   EXCEL IMPORT
   ============================================================ */
.flow-xls { margin: 0; }
.flow-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 40px 24px; cursor: pointer;
  background: var(--lbs-bone); border: 2px dashed var(--lbs-slate-300); border-radius: var(--radius-card);
  transition: all 180ms var(--ease-out);
}
.flow-drop:hover { border-color: var(--lbs-cyan); background: #fff; }
.flow-drop__ico {
  width: 56px; height: 56px; border-radius: 9999px; background: #fff;
  border: 1px solid var(--lbs-mist); display: inline-flex; align-items: center; justify-content: center;
  color: var(--lbs-navy); margin-bottom: 4px;
}
.flow-drop__title { font-size: 15px; font-weight: 700; color: var(--lbs-ink); }
.flow-drop__sub { font-size: 13px; color: var(--lbs-ink-400); }
.flow-xls__foot { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.flow-xls__file { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lbs-ink-600); margin-bottom: 16px; }
.flow-xls__file svg { color: var(--color-success); }
.flow-xls__file .flow-link { margin-left: auto; }
.flow-xls__preview { border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; margin-bottom: 18px; }
.flow-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.flow-table th {
  text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lbs-slate-500); padding: 12px 16px; background: var(--lbs-bone);
  border-bottom: 1px solid var(--color-border);
}
.flow-table td { padding: 12px 16px; border-bottom: 1px solid var(--lbs-mist); color: var(--lbs-ink-600); }
.flow-table tr:last-child td { border-bottom: none; }

/* ============================================================
   COLLABORATOR LIST / ROSTER
   ============================================================ */
.flow-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.flow-list__row {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-input);
}
.flow-list--compact .flow-list__row { background: var(--lbs-bone); border-color: var(--lbs-mist); }
.flow-list__body { flex: 1; min-width: 0; }
.flow-list__body strong { font-size: 14px; font-weight: 700; color: var(--lbs-ink); display: block; }
.flow-list__body span { font-size: 12.5px; color: var(--lbs-ink-400); display: block; }
.flow-list__del,
.flow-list__rm {
  background: transparent; border: none; color: var(--lbs-slate-500); cursor: pointer;
  padding: 6px; border-radius: 9999px; display: inline-flex; transition: all 160ms;
}
.flow-list__del:hover,
.flow-list__rm:hover { color: var(--color-danger); background: rgba(181,58,42,0.08); }
.flow-list__empty,
.flow-list-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px;
  margin-top: 22px; text-align: center; color: var(--lbs-ink-400); background: var(--lbs-bone);
  border: 1px dashed var(--lbs-mist); border-radius: var(--radius-card); font-size: 14px;
}

/* avatar circle (initials) */
.flow-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 9999px;
  background: var(--lbs-navy); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase;
}

/* ============================================================
   PARTICIPANT PICK (participantes step)
   ============================================================ */
/* white surface around the whole selection block (design .flow-select) */
.flow-select {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-surface); padding: 26px 28px;
}
.flow-select__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--lbs-ink-600);
}
.flow-select__bulk { display: flex; gap: 8px; }
/* prototype renders these as small bordered chips (button chrome) */
.flow-select__bulk .flow-link {
  background: #fff; border: 1px solid var(--lbs-slate-300); border-radius: 8px;
  padding: 5px 12px; font-family: var(--font-sans); cursor: pointer;
  transition: all 150ms var(--ease-out);
}
.flow-select__bulk .flow-link:hover { border-color: var(--lbs-navy); text-decoration: none; }
.flow-select__manage {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-hover); cursor: pointer;
  text-decoration: none;
}
.flow-select__manage:hover { text-decoration: underline; text-underline-offset: 2px; }

.flow-pick__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--lbs-ink-600);
}
.flow-pick__bulk { display: flex; gap: 16px; }
.flow-pick__course { font-size: 15px; font-weight: 700; color: var(--lbs-ink); margin: 16px 0 10px; }
.flow-pick__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-hover); cursor: pointer;
}
.flow-pick__more:hover { text-decoration: underline; text-underline-offset: 2px; }

.flow-pick { display: flex; flex-direction: column; gap: 10px; }
.flow-pick__row {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border: 1px solid var(--color-border); border-radius: var(--radius-input);
  cursor: pointer; transition: all 160ms var(--ease-out);
}
.flow-pick__row:hover { border-color: var(--lbs-slate-300); }
.flow-pick__row[data-checked="true"] { border-color: var(--lbs-navy); background: rgba(30,47,96,0.03); box-shadow: inset 0 0 0 1px var(--lbs-navy); }
.flow-pick__row input { position: absolute; opacity: 0; pointer-events: none; }
.flow-pick__check {
  width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--lbs-slate-300);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #fff;
  transition: all 160ms var(--ease-out);
}
.flow-pick__check svg { opacity: 0; }
.flow-pick__row[data-checked="true"] .flow-pick__check { background: var(--lbs-navy); border-color: var(--lbs-navy); }
.flow-pick__row[data-checked="true"] .flow-pick__check svg { opacity: 1; }
.flow-pick__body { flex: 1; min-width: 0; }
.flow-pick__body strong { font-size: 15px; font-weight: 700; color: var(--lbs-ink); display: block; }
.flow-pick__body span { font-size: 12.5px; color: var(--lbs-ink-400); display: block; }
.flow-pick__name { font-size: 15px; font-weight: 700; color: var(--lbs-ink); display: block; }
.flow-pick__meta { font-size: 12.5px; color: var(--lbs-ink-400); display: block; }

/* ============================================================
   STATUS PILLS
   ============================================================ */
.flow-status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.02em; padding: 5px 12px; border-radius: 9999px; white-space: nowrap;
  text-transform: capitalize;
}
.flow-status .dot { width: 7px; height: 7px; border-radius: 9999px; flex: none; }
.flow-status--ok { background: rgba(47,143,92,0.10); color: var(--color-success); }
.flow-status--ok .dot { background: var(--color-success); }
.flow-status--pend { background: rgba(176,123,18,0.12); color: var(--color-warning); }
.flow-status--pend .dot { background: var(--color-warning); }

/* ============================================================
   RESUMO (summary card on the left pane)
   ============================================================ */
.co-layout--resumo { align-items: start; }
.flow-resumo {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-surface);
  padding: 26px 28px;
}
.flow-resumo__course {
  display: flex; align-items: center; gap: 16px; padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border); margin-bottom: 18px;
}
.flow-resumo__title { font-size: 17px; font-weight: 700; color: var(--lbs-ink); }
.flow-resumo__meta { font-size: 13px; color: var(--lbs-ink-400); }
.flow-resumo__list-head {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lbs-slate-500); margin-bottom: 12px;
}
.flow-billto { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--color-border); margin: 12px 0; }
.flow-billto span:first-child { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lbs-slate-500); margin-bottom: 4px; }
.flow-billto strong { font-size: 14px; color: var(--lbs-ink); }
.flow-billto span:last-child { font-size: 12.5px; color: var(--lbs-ink-400); }

.flow-billcard {
  display: flex; align-items: flex-start; gap: 14px; background: var(--lbs-bone);
  border: 1px solid var(--lbs-mist); border-radius: var(--radius-card); padding: 18px 20px;
}
.flow-billcard__icon { color: var(--lbs-navy); flex: none; }
.flow-billcard__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.flow-billcard__body strong { font-size: 15px; color: var(--lbs-ink); }
.flow-billcard__body span { font-size: 12.5px; color: var(--lbs-ink-400); }
.flow-billcard__tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lbs-cyan); background: rgba(0,162,195,0.1); padding: 5px 12px; border-radius: 9999px;
  align-self: flex-start; white-space: nowrap;
}

.flow-summary { position: sticky; top: 130px; }
.flow-done { max-width: 640px; margin: 0 auto; }
.flow-done__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* "open" affordance for panel toggles */
.lbs-btn[data-active="true"] { box-shadow: inset 0 0 0 2px var(--lbs-navy); }

/* ============================================================
   ADDED-TO-CART CARD
   ============================================================ */
.flow-added { margin-top: 22px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 18px 20px; }
.flow-added__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--color-success); margin-bottom: 14px; }
.flow-added__row { display: flex; align-items: center; gap: 16px; }
.flow-added__body { flex: 1; min-width: 0; }
.flow-added__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lbs-ink-400); margin-bottom: 4px; }
.flow-added__title { font-size: 16px; font-weight: 700; color: var(--lbs-ink); margin: 0 0 4px; }
.flow-added__meta { font-size: 13px; color: var(--lbs-ink-400); }
.flow-added__price { font-size: 18px; font-weight: 900; color: var(--lbs-navy); text-align: right; }
.flow-added__price span { display: block; font-size: 12px; font-weight: 600; color: var(--lbs-ink-400); }

/* ============================================================
   FLOW-FORM helpers (formulario step)
   ============================================================ */
.flow-form__course {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--lbs-bone); border: 1px solid var(--lbs-mist);
  margin-bottom: 20px; font-size: 14px; color: var(--lbs-ink-600);
}
.flow-form__course strong { color: var(--lbs-ink); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .flow-rail, .flow-screen { padding-left: 24px; padding-right: 24px; }
  .flow-auth { grid-template-columns: 1fr; }
  .flow-auth__divider { flex-direction: row; padding: 4px 0; }
  .flow-auth__divider::before, .flow-auth__divider::after { width: auto; height: 1px; flex: 1; }
  .flow-branchhint { grid-template-columns: 1fr; }
  .flow-course { grid-template-columns: 1fr; }
  .ce-seg { grid-template-columns: 1fr; }
  /* stacked segments: divider moves from right edge to bottom edge */
  .ce-seg .ce-seg__btn { border-right: none; border-bottom: 1px solid var(--color-border); }
  .ce-seg .ce-seg__btn:last-child { border-bottom: none; }
}
@media (max-width: 760px) {
  .flow-rail__label { display: none; }
  .flow-pick__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}
