/* ═══════════════════════════════════════════════════════════════════════════
   ems-member.css — wave 2B: the MEMBER screens (service member, spouse,
   family). Loaded right after ems-design.css; the rules are DESIGN.md.

   Content is EMS US's approved 10/22 content: every word, button and step is
   unchanged. This sheet only replaces the look: the Pathways filled "Your
   next step" banner, icon-plate scorecards, soft rows instead of bordered
   boxes, chat bubbles, bars and tags on tokens instead of the old VisionOne
   green/blue inline colours.

   Everything here is .ems-m-* (member-only) so it never reaches a staff or
   setup screen. Candidates for promotion into ems-design.css are marked
   PROMOTE.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. "Your next step": the filled navy banner (Pathways seeker dashboard) ─
   PROMOTE. One per page, the loudest thing under the title. Icon plate on the
   left, kicker + title + one line, ONE white action on the right. The kicker
   is the only red: red means "your next step" (DESIGN.md rule 2). */
.ems-m-next {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 22px; padding: 22px 24px;
  border-radius: var(--ems-r-xl); color: #fff;
  background:
    radial-gradient(700px 240px at 105% -30%, rgba(255, 255, 255, .16), transparent 62%),
    linear-gradient(118deg, var(--ems-navy-800) 0%, var(--ems-navy-500) 100%);
  box-shadow: var(--ems-raise);
}
.ems-m-next::after { /* a faint flag-red edge along the bottom: "this one is yours" */
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; z-index: -1;
  background: linear-gradient(90deg, var(--ems-red-500), rgba(190, 30, 45, 0));
}
.ems-m-next-ic {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff;
}
.ems-m-next-ic .ic { width: 22px; height: 22px; }
.ems-m-next-body { flex: 1; min-width: 0; }
.ems-m-next-k {
  margin: 0 0 4px; font: 700 11.5px/1.2 var(--ems-font-ui); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ems-red-200);
}
#view .ems-m-next .ems-m-next-t, .ems-m-next-t {
  margin: 0; font: 800 21px/1.25 var(--ems-font-display); letter-spacing: -.015em; color: #fff;
}
.ems-m-next-s { margin: 5px 0 0; font: 400 14.5px/1.5 var(--ems-font-body); color: rgba(255, 255, 255, .84); }
.ems-m-next-s b { color: #fff; }
.ems-m-next-btn, a.ems-m-next-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border: 0; border-radius: var(--ems-r-md);
  background: #fff; color: var(--ems-navy-700); text-decoration: none; cursor: pointer;
  font: 600 15px/1.2 var(--ems-font-ui);
  box-shadow: 0 1px 2px rgba(14, 21, 71, .25), 0 10px 22px -10px rgba(0, 0, 0, .45);
  transition: transform var(--ems-dur) var(--ems-ease), box-shadow var(--ems-dur) var(--ems-ease), background-color var(--ems-dur) var(--ems-ease);
}
.ems-m-next-btn:hover { background: var(--ems-navy-50); color: var(--ems-navy-800); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(14, 21, 71, .25), 0 16px 28px -12px rgba(0, 0, 0, .5); }
.ems-m-next-btn:active { transform: translateY(0) scale(.98); transition-duration: 60ms; }
.ems-m-next-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
.ems-m-next-quiet { /* a second, word-only door inside the banner ("Not right? ...") */
  background: none; border: 0; padding: 4px 0; margin-top: 8px; cursor: pointer;
  font: 600 13px/1.3 var(--ems-font-ui); color: rgba(255, 255, 255, .78); text-decoration: underline; text-underline-offset: 3px;
}
.ems-m-next-quiet:hover { color: #fff; }
/* The whole plan done: same shape, a calm celebration instead of an action. */
.ems-m-next.is-done { background: radial-gradient(700px 240px at 105% -30%, rgba(255, 255, 255, .16), transparent 62%), linear-gradient(118deg, var(--ems-navy-700), var(--ems-navy-400)); }
.ems-m-next.is-done::after { display: none; }
.ems-m-next.is-done .ems-m-next-ic { background: #fff; color: var(--ems-navy-500); }

/* ── 2. Page heroes: the "Welcome" / "Where you are" block ─────────────────── */
.ems-m-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 26px; }
.ems-m-hero-main { flex: 1; min-width: 240px; }
#view .ems-m-hero-t, .ems-m-hero-t { margin: 0 0 4px; font: 800 24px/1.2 var(--ems-font-display); letter-spacing: -.02em; color: var(--ems-navy-800); }
.ems-m-hero-s { margin: 0; color: var(--ems-mute); font-size: var(--ems-fs-base); line-height: 1.5; }
.ems-m-hero .chip-row { margin-top: 12px; gap: 6px; }
.ems-m-hero .linkish { margin-top: 10px; padding: 0; background: none; border: 0; cursor: pointer; }
.ems-m-hero .primary { margin-top: 14px; }
/* The plan meter: a big number, a label, a bar that glides. */
.ems-m-meter { flex: none; min-width: 170px; text-align: right; }
.ems-m-meter .plan-meter-n { font-size: 30px; line-height: 1; }
.ems-m-meter .muted { margin-top: 4px; font-family: var(--ems-font-ui); font-size: 12.5px; }
.ems-m-meter .progress { height: 8px; margin-top: 10px; }

/* ── 3. Section heading inside a tool page (replaces inline font-size h2s) ── */
#view .card > h2.ems-m-h, #view .card > h3.ems-m-h, .ems-m-h { margin: 0 0 12px; font: 700 17px/1.3 var(--ems-font-display); letter-spacing: -.01em; color: var(--ems-navy-800); }
.ems-m-h .muted, .ems-m-count { font-family: var(--ems-font-ui); font-weight: 500; font-size: 13px; color: var(--ems-mute-2); letter-spacing: 0; }
.ems-m-kicker { margin: 0 0 4px; font: 600 11.5px/1.2 var(--ems-font-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--ems-mute-2); }
.ems-m-lede { margin: 0 0 12px; color: var(--ems-mute); font-size: var(--ems-fs-sm); line-height: 1.55; }
.ems-m-note { font-family: var(--ems-font-ui); font-size: 12.5px; color: var(--ems-mute-2); line-height: 1.5; }
.ems-m-msg { margin-left: 10px; font-family: var(--ems-font-ui); font-size: 13px; color: var(--ems-mute); }
.ems-m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ems-m-actions:first-child { margin-top: 0; }
.ems-m-spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ems-m-spread > .ems-m-h, .ems-m-spread > h2 { margin: 0; }
.ems-m-grow { flex: 1; min-width: 0; }
.ems-m-center { text-align: center; }
.ems-m-mt { margin-top: 12px; }
.ems-m-field-narrow { max-width: 340px; }
.ems-m-prose { font-size: var(--ems-fs-base); line-height: 1.6; color: var(--ems-ink-2); }

/* A neutral spinner (was an inline grey border on .spinner). */
.spinner.ems-m-spin { border-color: var(--ems-navy-100); border-top-color: var(--ems-navy-500); vertical-align: -3px; margin-right: 6px; }

/* ── 4. Scorecards: icon plate + number + one-line name (Pathways) ───────────
   Uses ems-design.css's .ems-cards/.ems-scorecard; these only add the member
   dashboard's sizes. */
.ems-m-cards { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ems-m-cards .ems-scorecard-ic .ic { width: 20px; height: 20px; }
.ems-m-cards .ems-scorecard-n.is-word { font-size: 19px; }

/* ── 5. Soft rows: everything that was a 1px-bordered box inside a card ─────
   PROMOTE. Saved items, applications, experience blocks, sessions, notes. */
.ems-m-rows { display: flex; flex-direction: column; gap: 8px; }
.ems-m-item {
  display: block; padding: 12px 14px; border-radius: var(--ems-r-md); background: var(--ems-soft);
  transition: background-color var(--ems-dur) var(--ems-ease), box-shadow var(--ems-dur) var(--ems-ease);
}
.ems-m-item:hover { background: var(--ems-soft-2); }
.ems-m-item.is-flex { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ems-m-item-t { font-family: var(--ems-font-ui); font-weight: 600; color: var(--ems-navy-800); }
.ems-m-item-m { font-family: var(--ems-font-ui); font-size: 12.5px; color: var(--ems-mute-2); }
.ems-m-item-b { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ems-ink-2); white-space: pre-wrap; }
.ems-m-item-acts { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.ems-m-item + .ems-m-item { margin-top: 0; }
.card > .ems-m-item { margin-bottom: 8px; }
/* An editable block (a role, a school) in a builder: soft, roomy. */
.ems-m-block { padding: 14px 16px 10px; border-radius: var(--ems-r-md); background: var(--ems-soft); margin-bottom: 10px; }
.ems-m-block input:not([type=checkbox]):not([type=radio]), .ems-m-block textarea { background-color: #fff; }
.ems-m-pair { display: flex; gap: 10px; }
.ems-m-pair > .field { flex: 1; min-width: 0; }

/* Quiet small buttons used in rows. Delete is red words only (DESIGN.md). */
button.ghost.ems-m-sm { min-height: 32px; padding: 5px 11px; font-size: 12.5px; border-radius: 9px; }
button.ghost.ems-m-del { color: var(--ems-red-600); border-color: var(--ems-red-200); }
button.ghost.ems-m-del:hover { color: var(--ems-red-700); background: var(--ems-red-50); border-color: var(--ems-red-400); }

/* Done text (a ticked action item). */
.ems-m-done-t { text-decoration: line-through; color: var(--ems-faint); }

/* ── 6. Bars: a goal bar and a histogram, on navy, gliding ─────────────────── */
.ems-m-bar { height: 10px; border-radius: var(--ems-r-pill); background: var(--ems-navy-100); overflow: hidden; }
.ems-m-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ems-navy-500), var(--ems-navy-400)); transition: width 500ms var(--ems-ease); }
.ems-m-bar-l { margin: 12px 0 6px; font-family: var(--ems-font-ui); font-size: 13.5px; color: var(--ems-ink-2); }
.ems-m-bar-l b { font-family: var(--ems-font-display); color: var(--ems-navy-500); }
.ems-m-hist { display: flex; flex-direction: column; gap: 4px; }
a.ems-m-hist-row {
  display: flex; align-items: center; gap: 10px; padding: 3px 6px; margin: 0 -6px; border-radius: 8px;
  color: inherit; text-decoration: none; font: 500 12.5px/1.2 var(--ems-font-ui);
  transition: background-color var(--ems-dur-fast) var(--ems-ease);
}
a.ems-m-hist-row:hover { background: var(--ems-navy-50); }
.ems-m-hist-l { flex: none; width: 78px; text-align: right; color: var(--ems-mute-2); font-variant-numeric: tabular-nums; }
.ems-m-hist-b { height: 14px; min-width: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--ems-navy-500), var(--ems-navy-400)); }
a.ems-m-hist-row:hover .ems-m-hist-b { background: var(--ems-navy-700); }

/* ── 7. Number tiles (compensation percentiles, recommended range) ─────────
   The scorecard shape, inside a card = soft; the median/target = navy ring. */
.ems-m-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.ems-m-num { padding: 14px 12px; border-radius: var(--ems-r-md); background: var(--ems-soft); text-align: left; }
.ems-m-num.is-on { background: var(--ems-navy-50); box-shadow: inset 0 0 0 1.5px var(--ems-navy-500); }
.ems-m-num-n { font: 800 21px/1.1 var(--ems-font-display); color: var(--ems-navy-700); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ems-m-num-l { margin-top: 4px; font: 600 11px/1.3 var(--ems-font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ems-mute-2); }
.ems-m-range { font-size: 14px; line-height: 1.8; color: var(--ems-ink-2); }
.ems-m-range b { color: var(--ems-navy-800); }
.ems-m-logo { height: 36px; margin-bottom: 12px; display: block; }

/* ── 8. Choice cards with a picked state (résumé template picker) ─────────── */
.ems-m-tpls { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
button.ems-m-tpl {
  display: block; width: 100%; text-align: left; padding: 14px 16px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--ems-line-2); border-radius: 14px; color: var(--ems-ink);
  font: 400 14px/1.35 var(--ems-font-ui); box-shadow: 0 1px 2px rgba(22, 32, 99, .04);
  transition: border-color var(--ems-dur-fast) var(--ems-ease), box-shadow var(--ems-dur) var(--ems-ease), background-color var(--ems-dur) var(--ems-ease), transform var(--ems-dur) var(--ems-ease);
}
button.ems-m-tpl:hover { border-color: var(--ems-navy-300); box-shadow: 0 2px 10px rgba(22, 32, 99, .08); transform: translateY(-1px); }
button.ems-m-tpl.is-on { border-color: var(--ems-navy-500); background: var(--ems-navy-50); box-shadow: inset 0 0 0 1px var(--ems-navy-500); }
button.ems-m-tpl b { font-weight: 600; color: var(--ems-navy-800); }
.ems-m-tpl-d { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ems-mute); line-height: 1.45; }
.ems-m-tpl .pill { margin-left: 6px; padding: 2px 8px; font-size: 11px; vertical-align: 1px; }
/* The live résumé preview is paper: white, hairline, never the canvas. */
.ems-m-paper { padding: 22px; border-radius: var(--ems-r-md); background: #fff; box-shadow: 0 0 0 1px var(--ems-line), 0 6px 18px -12px rgba(22, 32, 99, .35); overflow-x: auto; }
.card.ems-m-ship { box-shadow: var(--ems-lift); }
textarea.ems-m-mono { min-height: 300px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.ems-m-target { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--ems-font-ui); color: var(--ems-ink-2); }
.ems-m-target input[type=number] { width: 70px; min-height: 36px !important; padding: 6px 8px !important; }

/* ── 9. Chat: the mentor thread (My Mentoring) ─────────────────────────────── */
.ems-m-thread {
  max-height: 340px; overflow-y: auto; padding: 14px; border-radius: var(--ems-r-md);
  background: var(--ems-soft); display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: var(--ems-line-2) transparent;
}
.ems-m-say { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; }
.ems-m-say.is-mine { align-self: flex-end; align-items: flex-end; }
.ems-m-say-b {
  padding: 9px 13px; border-radius: 16px 16px 16px 6px; background: #fff; color: var(--ems-ink);
  font: 400 14px/1.5 var(--ems-font-body); white-space: pre-wrap; box-shadow: 0 1px 2px rgba(22, 32, 99, .08);
}
.ems-m-say.is-mine .ems-m-say-b { border-radius: 16px 16px 6px 16px; background: var(--ems-navy-500); color: #fff; box-shadow: 0 6px 14px -8px rgba(42, 56, 144, .6); }
.ems-m-say.is-cheer .ems-m-say-b { background: var(--ems-good-50); color: var(--ems-ink); }
.ems-m-say-m { margin-top: 4px; padding: 0 4px; font: 500 11px/1.3 var(--ems-font-ui); color: var(--ems-mute-2); }
.ems-m-sys { align-self: center; padding: 4px 12px; border-radius: var(--ems-r-pill); background: var(--ems-navy-50); color: var(--ems-navy-700); font: 500 11.5px/1.4 var(--ems-font-ui); text-align: center; }
.ems-m-compose { display: flex; gap: 8px; margin-top: 10px; }
.ems-m-compose input { flex: 1; min-width: 0; }
.ems-m-starters .chip { cursor: pointer; }
button.chip.ems-m-starter { background: #fff; box-shadow: inset 0 0 0 1px var(--ems-line-2); color: var(--ems-navy-700); text-align: left; }
button.chip.ems-m-starter:hover { background: var(--ems-navy-50); box-shadow: inset 0 0 0 1px var(--ems-navy-300); }
/* The mentor header: name big, actions on the right. */
.ems-m-mentor { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ems-m-mentor-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ems-m-mentor-n { font: 800 21px/1.2 var(--ems-font-display); color: var(--ems-navy-800); letter-spacing: -.015em; }
.ems-m-mentor-e { font: 500 13px/1.4 var(--ems-font-ui); color: var(--ems-mute); }
.ems-m-mentor .ems-plate { width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: var(--ems-lift); }
.pill.ems-m-new { background: var(--ems-red-50); color: var(--ems-red-600); font-size: 11.5px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }

/* ── 10. Family Home: "Helps" / "Usually doesn't" ──────────────────────────── */
.ems-m-help { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ems-m-help-col { padding: 16px 18px 10px; border-radius: var(--ems-r-md); background: var(--ems-soft); }
.ems-m-help-h { display: flex; align-items: center; gap: 10px; font: 700 15px/1.2 var(--ems-font-display); color: var(--ems-navy-800); }
.ems-m-help-h .ems-plate { width: 32px; height: 32px; border-radius: 10px; }
.ems-m-help-col.is-not .ems-m-help-h .ems-plate { background: var(--ems-red-50); color: var(--ems-red-600); }
.ems-m-help-col.is-yes .ems-m-help-h .ems-plate { background: var(--ems-good-50); color: var(--ems-good); }
.ems-m-help .fam-list { padding-left: 18px; margin: 10px 0 4px; }
.ems-m-help .fam-list li { margin: 7px 0; font-size: 14px; line-height: 1.5; color: var(--ems-ink-2); }
.ems-m-help .fam-list li::marker { color: var(--ems-navy-300); }

/* ── 11. Check-in survey: one question per soft block ─────────────────────── */
#view .sv-q { padding: 16px 18px; margin: 0 0 10px; border-radius: var(--ems-r-md); background: var(--ems-soft); }
#view .sv-q > b { display: block; margin-bottom: 10px; font: 600 15px/1.4 var(--ems-font-ui); color: var(--ems-navy-800); }
#view .sv-q .sv-scale { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#view .sv-q .sv-scale label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; cursor: pointer; }
#view .sv-q .chip-row { gap: 8px; }
#view .sv-q .sv-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13.5px; cursor: pointer; }
#view .sv-q textarea { width: 100%; min-height: 80px; }

/* ── 12. Status tags on tokens (importance, confidence, "selected") ─────────
   Use .ems-tag (+ .is-hot / .is-wait / .is-good). This only sizes them for a
   row heading. */
.ems-m-tag { margin-right: 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }

/* ── 13. Checklist rows (Skill Gap inputs, ticked prompts) ─────────────────── */
.ems-m-check { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 0 8px; border-radius: var(--ems-r-md); background: var(--ems-soft); }
.ems-m-check .ems-plate { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ems-faint); box-shadow: 0 0 0 1px var(--ems-line-2); }
.ems-m-check.is-ok .ems-plate { background: var(--ems-navy-500); color: #fff; box-shadow: none; }
.ems-m-check-t { font-family: var(--ems-font-ui); font-weight: 600; color: var(--ems-navy-800); }
.ems-m-check button { white-space: nowrap; }

/* ── 14. A report header bar (a saved AI report: title + downloads) ───────── */
.ems-m-reportbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ems-m-reportbar-t { font: 700 16px/1.3 var(--ems-font-display); color: var(--ems-navy-800); }

/* ── 15. Member tool pages: reading rhythm for AI answers and exercises ─────
   Scoped to member-only classes the tools already emit. */
#view .doc-view { line-height: 1.6; }
#view .doc-view h2, #view .doc-view h3 { font-family: var(--ems-font-display); color: var(--ems-navy-800); }
#view .wt-table td b { color: var(--ems-navy-800); }
/* Offer compare: the best cell per row is a navy wash, not old VisionOne green. */
.wt-table td.ems-m-best { background: var(--ems-navy-50); font-weight: 700; color: var(--ems-navy-800); }
.wt-table th.ems-m-rowh { text-align: left; }
button.ghost.ems-m-xs { min-height: 26px; padding: 2px 8px; font-size: 11px; border-radius: 8px; margin-top: 4px; }
/* My Library: viewing a saved item in the pop-up. */
.ems-m-pre { margin: 0; white-space: pre-wrap; font: 400 14px/1.6 var(--ems-font-body); color: var(--ems-ink-2); }

/* ── 16. Phones ───────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .ems-m-next { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 18px; border-radius: 18px; }
  .ems-m-next-ic { width: 42px; height: 42px; }
  #view .ems-m-next .ems-m-next-t, .ems-m-next-t { font-size: 19px; }
  .ems-m-next-btn { width: 100%; }
  .ems-m-hero { padding: 20px 18px; gap: 16px; }
  #view .ems-m-hero-t, .ems-m-hero-t { font-size: 21px; }
  .ems-m-meter { min-width: 0; width: 100%; text-align: left; }
  .ems-m-help { grid-template-columns: 1fr; }
  .ems-m-say { max-width: 92%; }
  .ems-m-pair { flex-direction: column; gap: 0; }
  .ems-m-item.is-flex { flex-wrap: wrap; }
  .ems-m-paper { padding: 14px; }
  .ems-m-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Family Home's support note reads as one paragraph (crisis-banner is a flex row elsewhere). */
.crisis-banner.ems-m-crisis { display: block; line-height: 1.6; }

/* ── 17. My Dashboard ──────────────────────────────────────────────────────
   "Where you are" is the same filled banner, with the plan meter in white. */
.ems-m-next-meter { flex: none; min-width: 150px; text-align: right; }
.ems-m-next-meter-n { font: 800 30px/1 var(--ems-font-display); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.ems-m-next-meter-l { margin-top: 4px; font: 500 12.5px/1.3 var(--ems-font-ui); color: rgba(255, 255, 255, .74); }
.ems-m-next-meter-bar { height: 6px; margin-top: 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ems-m-next-meter-bar > i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width 500ms var(--ems-ease); }
.ems-m-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.ems-m-pairs > .card { margin: 0; }
.ems-m-dash-who { margin: 0 0 6px; font: 700 16px/1.3 var(--ems-font-display); color: var(--ems-navy-800); }
.ems-m-dash-meta { margin: 0 0 10px; }
.ems-m-dash-meta .ems-tag { margin-right: 4px; }
.ems-m-dash-todo { margin: 0 0 12px; padding: 0; list-style: none; }
.ems-m-dash-todo li { padding: 8px 12px; margin: 0 0 6px; border-radius: 10px; background: var(--ems-soft); font-size: 13.5px; color: var(--ems-ink-2); }
.ems-m-dash-todo li .ic { color: var(--ems-navy-300); vertical-align: -3px; margin-right: 4px; }
ul.ems-m-week { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
ul.ems-m-week li { display: flex; align-items: baseline; gap: 6px; margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--ems-soft); font: 400 14px/1.4 var(--ems-font-body); color: var(--ems-ink-2); }
ul.ems-m-week li b { font: 800 17px/1 var(--ems-font-display); color: var(--ems-navy-500); min-width: 18px; }

/* My Plan: the notices under the hero stay quiet beside the banner; on a phone
   their button drops under the words instead of squeezing them. */
@media (max-width: 760px) {
  #view .plan-checkin, #view .plan-mentor { flex-wrap: wrap; }
  #view .plan-checkin > button, #view .plan-mentor > button { width: 100%; }
  .ems-m-next-meter { text-align: left; min-width: 0; }
  .ems-m-pairs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Two scorecards a row on a phone: the plate sits above, so the one-line name fits. */
  .ems-m-cards .ems-scorecard { grid-template-columns: 1fr; row-gap: 6px; padding: 14px; }
  .ems-m-cards .ems-scorecard-ic { grid-row: auto; width: 34px; height: 34px; border-radius: 10px; }
  .ems-m-cards .ems-scorecard-ic .ic { width: 18px; height: 18px; }
}

/* ── 18. My Mentoring ──────────────────────────────────────────────────────── */
.ems-m-ask { max-width: 640px; }
.ems-m-ask .ems-m-item { margin-top: 12px; }
.ems-m-item-b0 { margin-top: 0; }
.ems-m-mt6 { margin-top: 6px; }
label.checkrow.ems-m-todo { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin: 0 0 6px; border: 0; border-radius: var(--ems-r-md); background: var(--ems-soft); cursor: pointer; font-size: 14px; line-height: 1.45; transition: background-color var(--ems-dur) var(--ems-ease); }
label.checkrow.ems-m-todo:hover { background: var(--ems-soft-2); }
label.checkrow.ems-m-todo input { margin-top: 3px; width: 17px; height: 17px; flex: none; }
.ems-m-todo span { transition: color var(--ems-dur) var(--ems-ease); }
#view .ems-m-mentor { background: linear-gradient(90deg, var(--ems-navy-50), #fff 55%); }
@media (max-width: 760px) {
  .ems-m-mentor .ems-m-actions { width: 100%; }
}

/* ── 19. Résumé Builder ────────────────────────────────────────────────────── */
.ems-m-tpl .pill[hidden] { display: none; }
textarea.ems-m-short { min-height: 72px; }
.ems-m-end { justify-content: flex-end; margin-top: 0; }
.ems-m-block .ems-m-spread { margin-bottom: 4px; }

/* ── 20. Résumé Tailor ─────────────────────────────────────────────────────── */
.ems-m-diffbar { margin: 0 0 10px; font-family: var(--ems-font-ui); font-size: 13.5px; color: var(--ems-mute); }
.ems-m-diffbar select { width: auto; min-width: 150px; }
.tiles.ems-m-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
details.ems-m-more > summary { cursor: pointer; font: 600 13.5px/1.3 var(--ems-font-ui); color: var(--ems-navy-500); }
details.ems-m-more > summary:hover { color: var(--ems-navy-700); }
@media (max-width: 760px) { .tiles.ems-m-cmp { grid-template-columns: 1fr; } }

/* Small helpers used across the tool pages. */
.ems-m-flat { margin: 0; }
p.ems-m-flat { margin: 0 0 6px; }
.ems-m-full { flex-basis: 100%; }
.ems-m-nowrap { white-space: nowrap; }
.card.wt-empty .ems-m-lede { margin: 0 0 12px; }
#view .card ul:not(.clean):not(.ems-m-week):not(.ems-m-dash-todo) li { margin: 5px 0; line-height: 1.55; }

/* ── 21. Application Tracker / Offers ───────────────────────────────────────── */
.ems-m-target input[type=number] { margin-left: 4px; }
label.ems-m-optin { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 13px/1.3 var(--ems-font-ui); color: var(--ems-mute); cursor: pointer; }
label.ems-m-optin input { width: auto; margin: 0; }
.ems-m-top { align-items: flex-start; flex-wrap: nowrap; }
select.ems-m-stage { width: auto; min-width: 140px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13.5px; background-color: #fff; }
.ems-m-mt8 { margin-top: 8px; }
@media (max-width: 760px) { .ems-m-top { flex-wrap: wrap; } select.ems-m-stage { width: 100%; } }
textarea.ems-m-tall { min-height: 150px; }
.ems-m-center-row { justify-content: center; }

/* ── 22. Resources / Onboarding ────────────────────────────────────────────── */
/* "Picked for you" is the page's one highlighted list: a navy wash and the
   raised depth, not a red stripe (red = needs you). */
#view .card.ems-m-picks { background: linear-gradient(180deg, var(--ems-navy-50), #fff 120px); box-shadow: var(--ems-raise); }
#view .card.ems-m-picks .res-item { background: #fff; box-shadow: 0 0 0 1px var(--ems-line); }
#view .card.ems-m-picks .res-item:hover { box-shadow: var(--ems-lift-hover); }
.ems-m-h .ic { vertical-align: -3px; margin-right: 2px; }
textarea.ems-m-line { min-height: 56px; }
.ems-m-qa { padding: 10px 0; border-top: 1px solid var(--ems-line); }
.ems-m-qa:first-of-type { border-top: 0; padding-top: 0; }
.ems-m-qa .ems-m-kicker { letter-spacing: .04em; text-transform: none; font-size: 12.5px; color: var(--ems-mute); }
.ems-m-qa p, .ems-m-qa ul { margin: 4px 0 0; }

/* ── 23. Exercises (Self Reflection, Anchors, Journal, Goals, Values) and the
   Profile form. These classes (.step*, .exercise*, .wheel-*, .card.scripture,
   .card.science, .demo-field) are emitted only by member screens: exercise.js
   and the member tools. ─────────────────────────────────────────────────── */
#view .step { border-top: 1px solid var(--ems-line); padding: 18px 0 8px; }
#view .step-label { font: 600 15px/1.35 var(--ems-font-ui); color: var(--ems-navy-800); letter-spacing: -.005em; }
#view .step-prompt { font-size: 14px; color: var(--ems-mute); margin: 4px 0 12px; }
#view .exercise-head h3 { font: 800 21px/1.25 var(--ems-font-display); letter-spacing: -.015em; color: var(--ems-navy-800); }
#view .exercise-purpose { font-size: 15px; line-height: 1.6; color: var(--ems-ink-2); max-width: 75ch; }
/* Scripture / science notes: quiet soft panels, the label is a navy kicker
   (was VisionOne green / a red label that meant nothing). */
#view .card.scripture, #view .card.science { border: 0; border-radius: var(--ems-r-md); padding: 14px 16px; box-shadow: none; }
#view .card.scripture { background: var(--ems-soft); }
#view .card.science { background: var(--ems-navy-50); }
#view .chip-label, #view .card.science .chip-label { font: 600 11px/1.2 var(--ems-font-ui); letter-spacing: .09em; color: var(--ems-navy-500); }
#view .scripture-line { color: var(--ems-ink-2); font-style: italic; }
#view .save-badge { font-family: var(--ems-font-ui); font-weight: 600; color: var(--ems-good); }
#view .ai-assist-label { font-family: var(--ems-font-ui); color: var(--ems-navy-700); }
#view .pairs-head { font-family: var(--ems-font-ui); font-weight: 600; color: var(--ems-mute-2); }
/* The life wheel: label, a navy slider, the number in Montserrat. */
#view .wheel-row { padding: 8px 12px; margin-bottom: 6px; border-radius: var(--ems-r-md); background: var(--ems-soft); }
#view .wheel-row label { font: 600 13.5px/1.3 var(--ems-font-ui); color: var(--ems-ink-2); }
#view .wheel-num { font: 800 18px/1 var(--ems-font-display); color: var(--ems-navy-500); }
/* Values card sort: chips drop the old red "x". */
#view .value-chip .x { color: var(--ems-mute-2); }
#view .value-chip.selected .x { color: rgba(255, 255, 255, .8); }
/* Profile: the small labels above fields read as labels. */
#view .demo-field label { font: 600 12.5px/1.3 var(--ems-font-ui); color: var(--ems-mute); }
#view .demo-field { margin-bottom: 10px; }
label.chk.ems-m-scope { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 9px 12px; border-radius: var(--ems-r-md); background: var(--ems-soft); font: 400 14px/1.4 var(--ems-font-body); color: var(--ems-ink-2); cursor: pointer; }
label.chk.ems-m-scope:has(input:disabled) { cursor: default; }
label.chk.ems-m-scope input { width: 17px; height: 17px; flex: none; }
ul.clean.ems-m-ticks { margin: 0; font-size: 14px; line-height: 1.7; }
.card.ems-m-foot { background: transparent; box-shadow: none; padding: 4px 0; }
@media (max-width: 760px) {
  #view .wheel-row { grid-template-columns: 1fr 34px; }
  #view .wheel-row label { grid-column: 1 / -1; }
}
.pill.ems-m-pill-sm { font-size: 11px; padding: 3px 9px; vertical-align: 4px; margin-left: 6px; }
#view #srBlurb { margin: 0 2px 10px; }
#view #srTabs { flex-wrap: wrap; }
.ems-m-mb10 { margin-bottom: 10px; }
.ems-m-mb14 { margin-bottom: 14px; }
.ems-m-m2 { margin: 2px; }
p.ems-m-vdef { margin: 0 0 4px; }
p.ems-m-vex { max-width: 520px; margin: 0 auto 6px; }
.ems-m-statement { font: 700 15.5px/1.5 var(--ems-font-ui); color: var(--ems-navy-700); }

/* ── 24. AI tool results (Skills Translator, De-Mil-ify, LinkedIn, Networking,
   STAR, Mock Interview, Job Search, the AI coaches) ─────────────────────── */
/* The headline of a result (what was read, a clearance note, a "thank you"):
   a navy wash, never a red stripe. */
#view .card.ems-m-lead { background: var(--ems-navy-50); box-shadow: none; color: var(--ems-navy-800); }
#view .card.ems-m-lead b { color: var(--ems-navy-800); }
.ems-m-out { margin: 10px 0 0; }
pre.ems-m-out { white-space: pre-wrap; font: 400 14.5px/1.6 var(--ems-font-body); color: var(--ems-ink); padding: 14px 16px; }
p.dm-out.ems-m-out { padding: 12px 14px; font: 600 15px/1.45 var(--ems-font-ui); color: var(--ems-navy-800); }
.ems-m-personas { display: flex; flex-wrap: wrap; gap: 6px; }
.ems-m-verdict { margin: 10px 0 0; font: 600 15.5px/1.45 var(--ems-font-ui); color: var(--ems-navy-800); }
.ems-m-subh { margin: 14px 0 4px; font: 600 14px/1.3 var(--ems-font-ui); color: var(--ems-navy-800); }
p.ems-m-q { margin: 0 0 4px; }
.ems-m-mt6 { margin-top: 6px; }
.ems-m-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.pill.ems-m-go { cursor: pointer; transition: background-color var(--ems-dur) var(--ems-ease); }
.pill.ems-m-go:hover { background: var(--ems-navy-100); }
/* "Take this to a mentor": the one human hand-off, a navy wash with a plate edge. */
.ems-m-refer { margin-top: 12px; padding: 12px 14px; border-radius: var(--ems-r-md); background: var(--ems-navy-50); color: var(--ems-navy-800); }
.ems-m-refer .primary { margin-top: 10px; }
/* Job Search result cards. */
#view .card > h2.ems-m-jobt { margin: 0 0 4px; font-size: 17px; }
p.ems-m-jobm { margin: 0 0 8px; }
p.ems-m-jobd { font-size: 14px; }
/* Checklist pages (VA Benefits, Family & Relocation): the progress line. */
.card.ems-m-progcard { flex-wrap: wrap; }
.card.ems-m-progcard > b { font: 600 14.5px/1.3 var(--ems-font-ui); color: var(--ems-navy-800); }
.ems-m-progflex { flex: 1; min-width: 160px; }
/* Career Paths: credentials list. */
ul.clean.ems-m-creds { margin: 6px 0 0; }
ul.clean.ems-m-creds li { font-size: 13.5px; }
/* Start Here (guided) step cards. */
.card.ems-m-gstep { display: flex; gap: 16px; align-items: flex-start; }
.card.ems-m-gstep.is-done { opacity: .78; }
.ems-m-gstep-no { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--ems-font-ui); background: var(--ems-soft); color: var(--ems-mute); box-shadow: inset 0 0 0 1px var(--ems-line-2); }
.ems-m-gstep.is-done .ems-m-gstep-no { background: var(--ems-navy-500); color: #fff; box-shadow: none; }
.ems-m-upper { text-transform: uppercase; }
/* Roadmap "open" links are navy words (red is for attention, not links). */
.ems-m-road .mentor-mile-link { color: var(--ems-navy-500); font: 600 12.5px/1 var(--ems-font-ui); text-decoration: none; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--ems-navy-100); }
.ems-m-road .mentor-mile-link:hover { background: var(--ems-navy-50); color: var(--ems-navy-700); }

/* Small number rows (Application Tracker week + stages, Résumé Tailor's
   objective score): the scorecard shape - number over a one-line name, left
   aligned, equal widths. */
.scores.ems-m-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.scores.ems-m-scores .score { text-align: left; min-width: 0; padding: 12px 14px; }
.scores.ems-m-scores .score b { font-size: 24px; line-height: 1.05; letter-spacing: -.02em; }
.scores.ems-m-scores .score small { display: block; margin-top: 4px; font: 500 12.5px/1.3 var(--ems-font-ui); color: var(--ems-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scores.ems-m-scores .score small .ic { color: var(--ems-navy-400); vertical-align: -2px; }
#funnel .card { padding: 16px; }
@media (max-width: 760px) { .scores.ems-m-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
