/* Objection Lab. Two visual systems on one page, on purpose.
 * .fl   is Fringe Learning talking: brand fonts, navy, orange.
 * .lms  is the customer's LMS: neutral, corporate, nothing to do with Fringe Learning.
 */

:root {
  --fl-navy: #1D2149;
  --fl-navy-2: #262c5e;
  --fl-orange: #FF8B00;
  --fl-orange-dark: #E67A00;
  --fl-gold: #FFCE45;
  --fl-blue: #03A3FC;
  --fl-teal: #8FFFF1;
  --fl-body: #333333;
  --fl-muted: #666666;
  --fl-bg: #FAF9F5;
  --fl-card: #ffffff;
  --fl-line: #e6e4dd;
  --fl-shadow: 0 2px 12px rgba(29, 33, 73, 0.08);
  --fl-shadow-hover: 0 6px 24px rgba(29, 33, 73, 0.16);
  --fl-head: 'Exo 2', Arial, sans-serif;
  --fl-text: 'Raleway', Calibri, Arial, sans-serif;

  --lms-ink: #1f2933;
  --lms-ink-2: #52606d;
  --lms-ink-3: #7b8794;
  --lms-line: #d9e2ec;
  --lms-bg: #f3f5f8;
  --lms-card: #ffffff;
  --lms-accent: #2d5be3;
  --lms-accent-soft: #e8eefc;
  --lms-good: #1a7f4b;
  --lms-good-soft: #e3f5ea;
  --lms-warn: #b7620a;
  --lms-warn-soft: #fdf1e2;
  --lms-bad: #b42318;
  --lms-bad-soft: #fceceb;
  --lms-font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font-family: var(--fl-text); }  /* the screens set their own; this is for what the page did not write, the cookie banner */
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
img { display: block; }
.muted { color: var(--fl-muted); }
.small { font-size: 14px; }

/* ================= Fringe Learning ================= */

.fl {
  background: var(--fl-bg);
  color: var(--fl-body);
  font: 17px/1.6 var(--fl-text);
  -webkit-font-smoothing: antialiased;
}
.fl h1, .fl h2, .fl h3 { font-family: var(--fl-head); font-weight: 300; color: var(--fl-navy); }
.fl a { color: var(--fl-blue); }
.wrap { width: min(1040px, 100% - 2rem); margin-inline: auto; }

.fl-topbar { background: #fff; border-bottom: 1px solid var(--fl-line); }
.fl-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.fl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fl-navy); }
.fl-logo { height: 34px; width: auto; }
.fl-sep { width: 1px; height: 24px; background: var(--fl-line); }
.fl-name { font-family: var(--fl-head); font-weight: 400; font-size: 18px; }
.fl-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fl-navy); background: rgba(255, 206, 69, .25); padding: 4px 10px; border-radius: 999px;
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fl-orange); margin-bottom: 10px;
}

/* The navy band. Cards overlap its bottom edge. */
.fl-band {
  background: var(--fl-navy);
  background-image: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(3, 163, 252, .22), transparent 60%),
                    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 139, 0, .18), transparent 60%);
  color: #fff; padding: 52px 0 120px;
}
.fl-band .eyebrow { color: var(--fl-gold); }
.fl-band h1 { color: #fff; font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 16px; }
.fl-band .lede { font-size: 18px; color: rgba(255,255,255,.82); max-width: 640px; }
.fl-pick-title {
  margin-top: 34px; font-family: var(--fl-head); font-weight: 400; font-size: 21px; color: #fff;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); max-width: 720px;
}
.fl-main { margin-top: -84px; position: relative; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--fl-card); border-radius: 10px; box-shadow: var(--fl-shadow); padding: 20px 22px 18px;
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; align-items: start;
  cursor: pointer; border: 1px solid transparent; transition: box-shadow .2s, transform .2s, border-color .2s;
  text-align: left;
}
.card:hover, .card:focus-visible { box-shadow: var(--fl-shadow-hover); transform: translateY(-3px); border-color: rgba(255, 139, 0, .5); outline: none; }
.card .face { width: 64px; height: 64px; grid-row: 1 / 3; }
.card-who { display: flex; flex-direction: column; }
.card-who b { font-family: var(--fl-head); font-weight: 500; font-size: 19px; color: var(--fl-navy); line-height: 1.2; }
.card-who span { font-size: 14px; color: var(--fl-muted); }
.card-type {
  justify-self: start; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fl-blue); background: rgba(3, 163, 252, .1); padding: 3px 9px; border-radius: 999px;
}
.card blockquote {
  grid-column: 1 / -1; margin: 8px 0 4px; padding: 12px 16px; border-left: 3px solid var(--fl-gold);
  background: rgba(255, 206, 69, .10); border-radius: 0 6px 6px 0; font-size: 16.5px; color: var(--fl-navy); font-style: italic;
}
.card-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--fl-muted); }
.card-foot em { font-style: normal; font-weight: 600; color: var(--fl-orange); white-space: nowrap; margin-left: 12px; }
.card:hover .card-foot em { text-decoration: underline; }

.face { border-radius: 50%; object-fit: cover; background: #e9edf2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; padding: 11px 22px; font-weight: 600; font-size: 15px; border: 1px solid var(--fl-line);
  background: #fff; color: var(--fl-navy); text-decoration: none; transition: background .2s, box-shadow .2s;
}
.fl .btn.cta { background: var(--fl-orange); border-color: var(--fl-orange); color: #fff; }
.fl .btn.cta:hover { background: var(--fl-orange-dark); box-shadow: var(--fl-shadow-hover); }
.fl .btn.ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.fl .btn.ghost:hover { background: rgba(255,255,255,.1); }

.fl-consent { margin: 26px 0 0; font-size: 13.5px; color: var(--fl-muted); max-width: 720px; }
.fl-foot { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--fl-line); font-size: 14px; color: var(--fl-muted); }
.fl-foot .wrap { display: flex; gap: 14px; justify-content: space-between; }

/* ================= The LMS ================= */

.lms {
  background: var(--lms-bg);
  color: var(--lms-ink);
  font: 15px/1.55 var(--lms-font);
  -webkit-font-smoothing: antialiased;
}
.lms h1, .lms h2, .lms h3 { font-family: var(--lms-font); color: var(--lms-ink); }
.lms-wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }

.lms-top { background: #fff; border-bottom: 1px solid var(--lms-line); }
.lms-top-inner {
  width: min(1180px, 100% - 2rem); margin-inline: auto; height: 56px;
  display: flex; align-items: center; gap: 28px;
}
.lms-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.lms-mark {
  width: 30px; height: 30px; border-radius: 7px; background: var(--lms-accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.lms-nav { display: flex; gap: 22px; font-size: 14px; color: var(--lms-ink-2); }
.lms-nav a { padding: 18px 0; border-bottom: 2px solid transparent; }
.lms-nav a.on { color: var(--lms-accent); border-color: var(--lms-accent); font-weight: 600; }
.lms-user { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--lms-ink-2); }
.lms-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: #dfe6f0; color: var(--lms-ink-2);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}

.lms-crumb { background: #fff; border-bottom: 1px solid var(--lms-line); font-size: 13px; color: var(--lms-ink-3); }
.lms-crumb .lms-wrap { padding: 9px 0; display: flex; gap: 8px; align-items: center; }
.lms-crumb i { font-style: normal; color: #b8c2cc; }
.lms-crumb strong { color: var(--lms-ink); font-weight: 600; }

.lms-mobilebar { display: none; background: #fff; border-bottom: 1px solid var(--lms-line); }
.lms-mobilebar .lms-wrap { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.mb-title { font-weight: 700; font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-title small { font-weight: 400; color: var(--lms-ink-3); margin-left: 6px; }
.mb-score { font-size: 13px; color: var(--lms-ink-2); white-space: nowrap; }
.mb-score b { color: var(--lms-ink); }

.lms-main { display: grid; grid-template-columns: 280px 1fr; gap: 22px; padding: 22px 0 48px; align-items: start; }
.lms-side { display: flex; flex-direction: column; gap: 14px; }
.lms-module, .lms-stats, .lms-levels {
  background: var(--lms-card); border: 1px solid var(--lms-line); border-radius: 8px; padding: 16px 18px;
}
.lms-kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lms-ink-3); margin-bottom: 6px; }
.lms-module h1 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.lms-desc { font-size: 13.5px; color: var(--lms-ink-2); }
.path { height: 6px; border-radius: 3px; background: #e9edf2; margin-top: 12px; overflow: hidden; }
.path i { display: block; height: 100%; background: var(--lms-accent); }
.path-note { font-size: 12px; color: var(--lms-ink-3); margin-top: 6px; }

.lms-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.lms-stats div:nth-child(5) { grid-column: 1 / -1; }
.lms-stats dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--lms-ink-3); }
.lms-stats dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.pill {
  display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: #e9edf2; color: var(--lms-ink-2); white-space: nowrap;
}
.pill[data-state="progress"] { background: var(--lms-warn-soft); color: var(--lms-warn); }
.pill[data-state="passed"] { background: var(--lms-good-soft); color: var(--lms-good); }
.pill[data-state="failed"] { background: var(--lms-bad-soft); color: var(--lms-bad); }

.lms-levels ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lms-levels li {
  display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 600;
}
.lms-levels li small { display: block; font-weight: 400; font-size: 12.5px; color: var(--lms-ink-3); }
.lms-levels .n {
  width: 24px; height: 24px; border-radius: 50%; background: #e9edf2; color: var(--lms-ink-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.lms-levels li.on { background: var(--lms-accent-soft); }
.lms-levels li.on .n { background: var(--lms-accent); color: #fff; }
.lms-levels li.locked { color: var(--lms-ink-3); }
.lms-levels .lock, .lms-levels .now { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-style: normal; margin-left: 6px; vertical-align: 1px; }
.lms-levels .lock { color: #9aa5b1; }
.lms-levels .now { color: var(--lms-accent); }
.lms-link { background: none; border: 0; color: var(--lms-ink-3); font-size: 13px; text-align: left; padding: 4px 2px; }
.lms-link:hover { color: var(--lms-accent); }

.lms-content { background: var(--lms-card); border: 1px solid var(--lms-line); border-radius: 8px; padding: 22px 28px 30px; min-height: 420px; }

/* Where am I: brief, conversation, debrief. */
.strip { list-style: none; margin: 0 0 22px; padding: 0 0 16px; display: flex; gap: 8px; border-bottom: 1px solid var(--lms-line); }
.strip li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lms-ink-3); flex: 1; }
.strip li span {
  width: 24px; height: 24px; border-radius: 50%; background: #e9edf2; color: var(--lms-ink-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none;
}
.strip li.on { color: var(--lms-ink); }
.strip li.on span { background: var(--lms-accent); color: #fff; }
.strip li.done span { background: var(--lms-good); color: #fff; }
.strip li + li::before { content: ""; height: 1px; background: var(--lms-line); flex: 1; margin-right: 8px; order: -1; }

.stage h2 { font-size: 22px; font-weight: 700; }

.plate { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.plate .face { width: 56px; height: 56px; flex: none; }
.plate .face.lg { width: 72px; height: 72px; }
.plate h2 { font-size: 20px; }
.plate-sub { font-size: 14px; color: var(--lms-ink-2); }
.talk-plate { padding-bottom: 14px; border-bottom: 1px solid var(--lms-line); }
.talk-plate .turns { margin-left: auto; }

.brief { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.brief-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; font-size: 14.5px; }
.brief-k { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lms-ink-3); padding-top: 3px; }
.method-box { border: 1px solid var(--lms-line); border-radius: 8px; padding: 14px 16px; background: #fafbfc; margin-bottom: 20px; }
.method-line { font-size: 15px; margin-bottom: 8px; }
.method-line .w { color: var(--lms-ink-3); font-size: 13px; margin-left: 2px; }
.method-line .dot { color: #b8c2cc; margin: 0 10px; }
.method-rule { font-size: 14px; color: var(--lms-ink-2); }

.lms .btn { border-color: var(--lms-line); color: var(--lms-ink); background: #fff; font-size: 14.5px; }
.lms .btn.primary { background: var(--lms-accent); border-color: var(--lms-accent); color: #fff; }
.lms .btn.primary:hover { background: #2249c0; }
.lms .btn.lg { padding: 13px 26px; font-size: 15.5px; }
.lms .btn[disabled] { opacity: .55; cursor: default; }
.stage-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

.turns { font-size: 13px; font-weight: 600; color: var(--lms-ink-2); background: #e9edf2; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.transcript { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 85%; }
.msg.them { align-self: flex-start; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg .face { width: 32px; height: 32px; flex: none; }
.bubble { padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.msg.them .bubble { background: #eef1f5; border-bottom-left-radius: 4px; }
.msg.me .bubble { background: var(--lms-accent-soft); border-bottom-right-radius: 4px; }
.bubble .who { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lms-ink-3); margin-bottom: 3px; }
.thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--lms-ink-3); font-size: 14px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: #b8c2cc; animation: blink 1.2s infinite; }
.thinking i:nth-child(2) { animation-delay: .2s; }
.thinking i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.composer textarea {
  width: 100%; resize: vertical; font: inherit; padding: 12px 14px; border: 1px solid var(--lms-line); border-radius: 8px;
  min-height: 84px; line-height: 1.5;
}
.composer textarea:focus { outline: 2px solid var(--lms-accent-soft); border-color: var(--lms-accent); }
.composer-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mic {
  height: 44px; padding: 0 16px 0 12px; border-radius: 22px; border: 1px solid var(--lms-line); background: #fff; color: var(--lms-ink-2);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px;
}
.mic.live { background: var(--lms-bad); border-color: var(--lms-bad); color: #fff; animation: pulse 1.2s infinite; }
.mic[disabled] { opacity: .4; cursor: default; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .35); } 50% { box-shadow: 0 0 0 8px rgba(180, 35, 24, 0); } }
.mic-state { flex: 1; font-size: 13px; color: var(--lms-ink-3); }
.error { margin-top: 10px; font-size: 14px; color: var(--lms-bad); }

.score-head { display: flex; align-items: center; gap: 22px; margin: 4px 0 18px; }
.ring {
  --p: 0; width: 96px; height: 96px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--ring-c, var(--lms-accent)) calc(var(--p) * 1%), #e9edf2 0);
  display: grid; place-items: center; position: relative; transition: --p .8s;
}
.ring::before { content: ""; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.ring span { position: relative; font-size: 30px; font-weight: 700; }
.ring.pass { --ring-c: var(--lms-good); }
.ring.fail { --ring-c: var(--lms-warn); }
.score-head h2 { margin-bottom: 4px; }
.headline { font-size: 15px; color: var(--lms-ink-2); }

/* The score, decomposed: one bar split by weight, each segment filled to what was earned. */
.compo { display: flex; gap: 6px; margin-bottom: 22px; }
.compo .seg { min-width: 0; }
.compo .seg b { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--lms-ink); white-space: nowrap; margin-bottom: 5px; }
.compo .seg b small { font-weight: 500; color: var(--lms-ink-2); }
.compo .seg .bar { height: 12px; border-radius: 6px; background: #eef1f5; overflow: hidden; margin: 0; }
.compo .seg .bar i { display: block; height: 100%; width: 0; transition: width .7s ease; }
.compo .seg.none .bar i { background: var(--lms-bad); }
.compo .seg.partial .bar i { background: var(--lms-warn); }
.compo .seg.full .bar i { background: var(--lms-good); }

.steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.step { border: 1px solid var(--lms-line); border-radius: 8px; padding: 14px 16px; }
.step-head { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.step-head h3 { font-size: 15.5px; font-weight: 700; }
.step-head small { font-weight: 400; color: var(--lms-ink-3); margin-left: 8px; }
.step-score { font-weight: 700; font-size: 15px; }
.step-score .v { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-left: 8px; padding: 2px 8px; border-radius: 999px; }
.v.none { background: var(--lms-bad-soft); color: var(--lms-bad); }
.v.partial { background: var(--lms-warn-soft); color: var(--lms-warn); }
.v.full { background: var(--lms-good-soft); color: var(--lms-good); }
.step blockquote {
  margin: 0 0 8px; padding: 8px 12px; border-left: 3px solid var(--lms-line); background: #fafbfc;
  font-size: 14px; color: var(--lms-ink-2); font-style: italic; border-radius: 0 6px 6px 0;
}
.step blockquote.none { color: var(--lms-ink-3); }
.step p { font-size: 14.5px; }
.step .change { margin-top: 6px; }
.step .change b { color: var(--lms-ink); }
.step .standard { margin-top: 8px; font-size: 13.5px; color: var(--lms-ink-2); }
.step .standard summary { cursor: pointer; color: var(--lms-ink-3); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.step .standard p { margin-top: 6px; }

.better { border: 1px solid var(--lms-line); border-radius: 8px; padding: 14px 16px; background: #fafbfc; }
.better blockquote { margin: 4px 0 8px; font-size: 16px; font-weight: 600; color: var(--lms-ink); }
.better p { font-size: 14px; color: var(--lms-ink-2); }
/* As a fold: open on the first attempt, closed from the second. */
details.better summary { cursor: pointer; list-style: none; }
details.better summary::-webkit-details-marker { display: none; }
details.better summary .lms-kicker { display: inline; margin: 0; }
details.better summary .lms-kicker::after { content: " +"; }
details.better[open] summary .lms-kicker::after { content: ""; }
details.better summary small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--lms-ink-2); }
details.better[open] summary small, details.better:not(.faded) summary small { display: none; }

/* Self-assessment: the learner's call on each step, before the score. */
.self { border: 1px solid var(--lms-line); border-radius: 8px; padding: 14px 16px; background: #fafbfc; margin-top: 4px; }
.self h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; }
.self-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--lms-line); }
.self-row b { display: block; font-size: 14.5px; }
.self-row span { font-size: 13.5px; color: var(--lms-ink-2); }
.self-opts { display: flex; gap: 6px; }
.self-opts button {
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--lms-line); background: #fff; color: var(--lms-ink-2); cursor: pointer; white-space: nowrap;
}
.self-opts button[aria-pressed="true"] { background: var(--lms-accent); border-color: var(--lms-accent); color: #fff; }

/* The gap between the learner's call and the coach's. */
.calib { margin: -6px 0 18px; padding: 10px 14px; border-radius: 8px; background: var(--lms-accent-soft); font-size: 14.5px; }
.mine { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; margin-left: 10px; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--lms-ink-3); color: var(--lms-ink-2); white-space: nowrap; }
.mine.match { border-style: solid; border-color: var(--lms-good); color: var(--lms-good); }
.mine.over { border-color: var(--lms-bad); color: var(--lms-bad); }

/* The retry band: the module's own call to go again. */
.again {
  margin-top: 18px; padding: 18px 20px; border-radius: 8px; background: var(--lms-accent-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.again h3 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.again p { font-size: 14px; color: var(--lms-ink-2); }
.again-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* The promo panel: Fringe Learning breaking character inside the LMS. */
.promo { margin-top: 26px; border-radius: 8px; background: var(--fl-navy); color: #fff; }
.promo-inner { padding: 28px 30px 24px; }
.promo h2 { color: #fff; font-size: 28px; margin-bottom: 14px; }
.promo .eyebrow { color: var(--fl-gold); }
.promo-list { margin: 0 0 22px; padding-left: 18px; font-size: 15.5px; }
.promo-list li + li { margin-top: 8px; }
.promo-list strong { color: var(--fl-gold); font-weight: 600; }
.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-foot { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.promo-foot a { color: var(--fl-teal); }

/* Busy overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(243, 245, 248, .6); backdrop-filter: blur(2px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; z-index: 50;
  font: 14px var(--lms-font); color: var(--lms-ink-2);
}
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #d9e2ec; border-top-color: var(--lms-accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.busy-bar { width: 220px; height: 4px; border-radius: 2px; background: var(--lms-line); overflow: hidden; }
.busy-bar span { display: block; height: 100%; width: 0; background: var(--lms-accent); }

/* The brief, again, during the conversation */
.brief-peek { margin: -6px 0 16px; border: 1px solid var(--lms-line); border-radius: 8px; background: var(--lms-card); }
.brief-peek summary { cursor: pointer; padding: 8px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lms-ink-3); }
.brief-peek[open] summary { border-bottom: 1px solid var(--lms-line); }
.brief-peek .brief { padding: 12px 14px; display: grid; gap: 10px; margin: 0; }

/* ================= Phone ================= */

@media (max-width: 860px) {
  .fl-band { padding: 36px 0 96px; }
  .fl-band h1 { font-size: 30px; }
  .fl-band .lede { font-size: 16.5px; }
  .fl-pick-title { font-size: 18px; margin-top: 24px; padding-top: 18px; }
  .fl-main { margin-top: -66px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 16px 16px 14px; grid-template-columns: 52px 1fr; gap: 4px 12px; }
  .card .face { width: 52px; height: 52px; }
  .card-who b { font-size: 17px; }
  .card blockquote { font-size: 15.5px; padding: 10px 12px; }

  .lms-crumb, .lms-nav, .lms-levels, .lms-module, .lms-stats { display: none; }
  .lms-mobilebar { display: block; }
  .lms-main { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
  .lms-side { order: 2; }
  .lms-content { order: 1; padding: 16px 14px 20px; min-height: 0; }
  .strip { margin-bottom: 16px; padding-bottom: 12px; }
  .strip li { font-size: 12px; gap: 6px; }
  .plate .face.lg { width: 56px; height: 56px; }
  .brief-row { grid-template-columns: 1fr; gap: 2px; }
  .msg { max-width: 94%; }
  .msg .face { width: 28px; height: 28px; }
  .composer-row { flex-wrap: wrap; }
  .mic { height: 48px; padding: 0 18px 0 14px; font-size: 15px; }
  .mic-state { order: 3; flex-basis: 100%; }
  .lms .btn.primary#btn-send { height: 48px; padding: 0 26px; margin-left: auto; font-size: 15.5px; }
  .score-head { gap: 16px; }
  .ring { width: 80px; height: 80px; }
  .ring span { font-size: 26px; }
  .compo .seg b { font-size: 11px; }
  .compo .seg b small { display: none; }
  .self-row { grid-template-columns: 1fr; }
  .self-opts button { flex: 1; padding: 10px 8px; }
  .mine { display: inline-block; margin: 4px 0 0; }
  .promo-inner { padding: 22px 18px 20px; }
  .promo h2 { font-size: 24px; }
}
