:root {
  --mh-navy-950: #030b19;
  --mh-navy-900: #071427;
  --mh-navy-850: #0a1a31;
  --mh-navy-800: #0d213d;
  --mh-card: rgba(13, 33, 61, .88);
  --mh-line: rgba(151, 187, 227, .16);
  --mh-line-strong: rgba(112, 194, 255, .38);
  --mh-text: #f5f9ff;
  --mh-muted: #a9bad0;
  --mh-blue: #5bc0ff;
  --mh-blue-strong: #2f91ff;
  --mh-green: #5bda9a;
  --mh-gold: #ffc86b;
  --mh-violet: #b19aff;
  --mh-red: #ff7d86;
  --mh-radius: 22px;
  --mh-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.mh-body {
  margin: 0;
  min-width: 320px;
  color: var(--mh-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 135, 229, .18), transparent 33rem),
    radial-gradient(circle at 90% 24%, rgba(108, 78, 202, .13), transparent 29rem),
    var(--mh-navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.mh-main { min-height: 100vh; }

.mh-footer {
  padding: 24px 18px 34px;
  border-top: 1px solid var(--mh-line);
  color: #7188a4;
  font-size: 11px;
  text-align: center;
}

.mh-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mh-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 32px;
  border-bottom: 1px solid var(--mh-line);
  background:
    linear-gradient(135deg, rgba(16, 48, 87, .94), rgba(5, 18, 38, .94)),
    var(--mh-navy-900);
}

.mh-hero::before,
.mh-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.mh-hero::before {
  width: 430px;
  height: 430px;
  top: -290px;
  right: 8%;
  border: 1px solid rgba(103, 197, 255, .22);
  box-shadow: 0 0 0 62px rgba(103, 197, 255, .035), 0 0 0 125px rgba(103, 197, 255, .025);
}

.mh-hero::after {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: -85px;
  background: rgba(123, 84, 223, .13);
}

.mh-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mh-profile-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 22px;
}

.mh-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(132, 211, 255, .55);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(58, 155, 255, .36), rgba(85, 67, 189, .26));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 30px rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 38px;
  font-weight: 850;
  text-transform: uppercase;
}

.mh-eyebrow,
.mh-section-kicker,
.mh-level-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--mh-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mh-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 4.7vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.mh-hero p {
  margin: 12px 0 0;
  max-width: 680px;
  color: var(--mh-muted);
  font-size: 16px;
  line-height: 1.6;
}

.mh-hero-actions,
.mh-data-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.mh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 780;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.mh-button:hover { transform: translateY(-1px); }
.mh-button:active { transform: translateY(0); }
.mh-button:focus-visible, .mh-icon-button:focus-visible, .mh-text-button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(91, 192, 255, .75);
  outline-offset: 3px;
}

.mh-button-primary {
  color: #041223;
  background: linear-gradient(135deg, #7bd3ff, #5bda9a);
  box-shadow: 0 12px 25px rgba(55, 179, 225, .18);
}

.mh-button-ghost {
  color: var(--mh-text);
  border-color: var(--mh-line-strong);
  background: rgba(12, 31, 56, .62);
}

.mh-button-danger {
  color: #ffd9dc;
  border-color: rgba(255, 125, 134, .36);
  background: rgba(122, 31, 42, .23);
}

.mh-level-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid rgba(135, 201, 246, .2);
  border-radius: 18px;
  background: rgba(2, 11, 25, .42);
  backdrop-filter: blur(10px);
}

.mh-level-card strong { display: block; font-size: 22px; }
.mh-level-kicker { margin: 0 0 3px; color: var(--mh-gold); }

.mh-level-progress { min-width: 0; }
.mh-level-copy { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: var(--mh-muted); font-size: 12px; font-weight: 720; }
.mh-level-copy span:first-child { color: #fff; }
.mh-progress-track { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.mh-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mh-blue-strong), var(--mh-green)); transition: width .45s ease; }

.mh-content { display: grid; gap: 26px; padding: 34px 0 64px; }

.mh-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.mh-stat,
.mh-panel {
  border: 1px solid var(--mh-line);
  background: linear-gradient(145deg, rgba(15, 39, 70, .88), rgba(7, 23, 44, .9));
  box-shadow: var(--mh-shadow);
}

.mh-stat {
  min-width: 0;
  padding: 21px;
  border-radius: 17px;
}

.mh-stat span { display: block; color: var(--mh-muted); font-size: 12px; font-weight: 760; }
.mh-stat strong { display: block; overflow-wrap: anywhere; margin: 7px 0 4px; font-size: clamp(27px, 3vw, 38px); line-height: 1.05; }
.mh-stat small { color: #7f95b0; font-size: 11px; line-height: 1.35; }
.mh-stat-cefr strong { color: var(--mh-gold); font-size: clamp(20px, 2.5vw, 30px); }
.mh-stat-active strong { color: var(--mh-green); }

.mh-panel {
  min-width: 0;
  padding: 26px;
  border-radius: var(--mh-radius);
}

.mh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.mh-section-head-compact { margin-bottom: 16px; }
.mh-section-head h2, .mh-data-panel h2, .mh-modal h2, .mh-onboarding h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); line-height: 1.14; letter-spacing: -.025em; }
.mh-section-head p, .mh-panel-intro, .mh-data-panel p { max-width: 520px; margin: 0; color: var(--mh-muted); font-size: 13px; line-height: 1.55; }

.mh-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.mh-skill-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(158, 191, 226, .14);
  border-radius: 17px;
  background: rgba(2, 13, 28, .34);
}

.mh-ring {
  --score: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--mh-blue)) calc(var(--score) * 1%), rgba(255,255,255,.08) 0);
}

.mh-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #0a1c34; }
.mh-ring strong { position: relative; z-index: 1; font-size: 16px; }
.mh-skill-copy { min-width: 0; }
.mh-skill-copy h3 { margin: 0 0 5px; font-size: 15px; }
.mh-skill-copy p { margin: 0; color: var(--mh-muted); font-size: 11px; line-height: 1.45; }

.mh-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.mh-section-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(158, 191, 226, .14);
  border-radius: 16px;
  background: rgba(2, 13, 28, .34);
}

.mh-section-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mh-section-card-head h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.mh-section-card-head > strong {
  color: var(--mh-blue);
  font-size: 17px;
}

.mh-section-score {
  display: grid;
  flex: none;
  justify-items: end;
  gap: 2px;
}

.mh-section-score > strong {
  color: var(--mh-blue);
  font-size: 17px;
}

.mh-section-score > small {
  color: var(--mh-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mh-section-progress {
  height: 6px;
  overflow: hidden;
  margin: 14px 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.mh-section-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mh-blue-strong), var(--mh-green));
}

.mh-section-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  color: var(--mh-muted);
  font-size: 9px;
}

.mh-section-metrics span { min-width: 0; }
.mh-section-metrics strong { display: block; color: #fff; font-size: 13px; }


.mh-review-panel { border-color: rgba(91, 218, 154, .25); }
.mh-review-intro { margin: -10px 0 20px; }
.mh-review-head-action { display: flex; align-items: center; gap: 12px; }
.mh-review-head-action > strong { color: var(--mh-green); font-size: 13px; white-space: nowrap; }
.mh-review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mh-review-column { min-width: 0; padding: 15px; border: 1px solid rgba(158,191,226,.14); border-radius: 15px; background: rgba(2,13,28,.34); }
.mh-review-column.mh-review-due { border-color: rgba(255,190,92,.32); background: rgba(99,61,8,.13); }
.mh-review-column-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 12px; }
.mh-review-column-head h3 { margin: 0; font-size: 13px; }
.mh-review-column-head span { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 7px; border-radius: 999px; color: #d8efff; background: rgba(91,192,255,.13); font-size: 10px; font-weight: 850; }
.mh-review-list { display: grid; gap: 8px; }
.mh-review-item { display: grid; gap: 4px; padding: 10px; border: 1px solid rgba(158,191,226,.11); border-radius: 11px; background: rgba(255,255,255,.025); }
.mh-review-item a { color: #fff; font-size: 11px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.mh-review-item a:hover { color: var(--mh-blue); }
.mh-review-item small { color: var(--mh-muted); font-size: 9px; line-height: 1.35; }
.mh-review-empty { color: var(--mh-muted); font-size: 10px; line-height: 1.45; }
.mh-status-review { color: #ffe2a8; background: rgba(255,190,92,.14); }
.mh-status-attempt { color: #d9c8ff; background: rgba(153,116,255,.14); }

.mh-topic-panel { border-color: rgba(91, 192, 255, .25); }
.mh-topic-score { flex: 0 0 auto; text-align: right; }
.mh-topic-score strong { display: block; color: var(--mh-blue); font-size: 31px; }
.mh-topic-score span { color: var(--mh-muted); font-size: 12px; }
.mh-coverage-note { margin: -8px 0 18px; padding: 10px 13px; border-radius: 11px; color: #c9d7e8; background: rgba(91, 192, 255, .08); font-size: 12px; }

.mh-test-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.mh-test-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 148px;
  padding: 15px;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: rgba(2, 13, 28, .34);
}
.mh-test-card h3 { margin: 0; font-size: 14px; line-height: 1.35; }
.mh-test-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--mh-muted); font-size: 11px; }
.mh-test-meta strong { color: #fff; }
.mh-test-card a { margin-top: auto; color: var(--mh-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.mh-test-card a:hover { text-decoration: underline; }

.mh-status {
  align-self: flex-start;
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  color: #b7c7dc;
  background: rgba(255,255,255,.07);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mh-status-completed { color: #bdf6d4; background: rgba(91, 218, 154, .14); }
.mh-status-in_progress, .mh-status-started { color: #ccecff; background: rgba(91, 192, 255, .14); }

.mh-two-column { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; min-width: 0; }
.mh-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mh-timeline-item { position: relative; display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: start; padding: 10px 0; }
.mh-timeline-item:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 25px; bottom: -5px; width: 1px; background: var(--mh-line); }
.mh-timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 4px; border: 2px solid #9edcff; border-radius: 50%; background: var(--mh-navy-800); }
.mh-timeline-copy { min-width: 0; }
.mh-timeline-copy a { color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.mh-timeline-copy a:hover { color: var(--mh-blue); }
.mh-timeline-copy p { margin: 3px 0 0; color: var(--mh-muted); font-size: 11px; }
.mh-timeline-time { color: #758ba6; font-size: 10px; white-space: nowrap; }

.mh-empty { padding: 19px; border: 1px dashed rgba(151,187,227,.22); border-radius: 13px; color: var(--mh-muted); font-size: 12px; text-align: center; }
.mh-error-list { display: grid; gap: 11px; margin-top: 18px; }
.mh-error-card { padding: 13px 14px; border: 1px solid rgba(151,187,227,.14); border-radius: 14px; background: rgba(2,13,28,.35); }
.mh-error-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mh-error-card-head > div { min-width: 0; }
.mh-error-card h3 { margin: 4px 0 0; color: #edf7ff; font-size: 13px; line-height: 1.35; }
.mh-error-card-head > strong { flex: 0 0 auto; color: #fff; font-size: 13px; }
.mh-error-status { display: inline-flex; align-items: center; min-height: 21px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.mh-error-card p { margin: 8px 0 10px; color: var(--mh-muted); font-size: 10px; line-height: 1.5; }
.mh-error-card.is-attention .mh-error-status { color: #ffd7c9; background: rgba(255,124,96,.14); }
.mh-error-card.is-improving .mh-error-status { color: #ffe6aa; background: rgba(255,200,107,.14); }
.mh-error-card.is-improved .mh-error-status { color: #c9f7df; background: rgba(91,218,154,.13); }
.mh-error-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.mh-error-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mh-gold), #ff8d76); }
.mh-error-card.is-improving .mh-error-track span { background: linear-gradient(90deg, var(--mh-gold), #7bd3ff); }
.mh-error-card.is-improved .mh-error-track span { background: linear-gradient(90deg, var(--mh-green), #7bd3ff); }

.mh-catalog-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(170px, .75fr));
  gap: 11px;
  margin-bottom: 13px;
}

.mh-catalog-controls label { display: grid; gap: 6px; }
.mh-catalog-controls label > span { color: var(--mh-muted); font-size: 10px; font-weight: 780; letter-spacing: .05em; text-transform: uppercase; }
.mh-catalog-controls input,
.mh-catalog-controls select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(151,187,227,.27);
  border-radius: 11px;
  color: #fff;
  background: rgba(1, 10, 23, .6);
}
.mh-catalog-controls select { color-scheme: dark; }
.mh-catalog-controls input::placeholder { color: #7389a5; }
.mh-catalog-summary { margin: 0 0 16px; color: #8399b4; font-size: 11px; }
.mh-catalog-empty { grid-column: 1 / -1; }
.mh-load-more { display: flex; width: fit-content; margin: 18px auto 0; }
.mh-load-more[hidden] { display: none; }

.mh-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.mh-activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--mh-line);
  border-radius: 17px;
  background: rgba(2, 13, 28, .38);
}
.mh-activity-card::after { content: ""; position: absolute; right: -42px; bottom: -52px; width: 120px; height: 120px; border-radius: 50%; background: var(--activity-color, rgba(91,192,255,.12)); opacity: .16; }
.mh-activity-type { position: relative; z-index: 1; color: var(--mh-blue); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mh-activity-card h3 { position: relative; z-index: 1; margin: 10px 0 7px; font-size: 17px; line-height: 1.25; }
.mh-activity-card p { position: relative; z-index: 1; margin: 0; color: var(--mh-muted); font-size: 11px; line-height: 1.5; }
.mh-listening-results { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: 12px; padding: 10px; border: 1px solid rgba(101,214,232,.2); border-radius: 12px; background: rgba(101,214,232,.06); }
.mh-listening-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #d8f8fc; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.mh-listening-results-head strong { color: var(--mh-blue); font-size: 15px; }
.mh-listening-results-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.mh-listening-results-metrics span { display: flex; justify-content: space-between; gap: 6px; color: var(--mh-muted); font-size: 9px; }
.mh-listening-results-metrics strong { color: #fff; font-size: 9px; }
.mh-listening-comprehension { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; padding: 7px 9px; border: 1px solid rgba(91,218,154,.17); border-radius: 10px; color: #a9bed5; background: rgba(91,218,154,.055); font-size: 9px; font-weight: 750; line-height: 1.35; }
.mh-listening-comprehension strong { color: #bdf6d4; font-size: 9px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.mh-activity-card-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; }
.mh-activity-card-footer a { color: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }
.mh-activity-card-footer a:hover { color: var(--mh-blue); }


.mh-learning-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 22px;
}
.mh-learning-path-copy h2 { margin: 0 0 8px; font-size: clamp(23px, 3vw, 31px); }
.mh-learning-path-copy p { margin: 0; max-width: 650px; color: var(--mh-muted); font-size: 13px; line-height: 1.55; }
.mh-learning-path-summary { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.mh-learning-path-summary > div { min-width: 150px; }
.mh-learning-path-summary span, .mh-learning-path-summary small { display: block; color: var(--mh-muted); font-size: 10px; }
.mh-learning-path-summary strong { display: block; margin: 4px 0; color: var(--mh-gold); font-size: 21px; }
.mh-language-view { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--mh-line); }
.mh-language-view[hidden] { display: none; }
.mh-language-view > span, .mh-saved-focus-label { color: var(--mh-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mh-segmented { display: inline-flex; padding: 4px; border: 1px solid var(--mh-line); border-radius: 12px; background: rgba(1,10,23,.45); }
.mh-segmented button { min-height: 34px; padding: 7px 13px; border: 0; border-radius: 9px; color: var(--mh-muted); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.mh-segmented button[aria-pressed="true"] { color: #041223; background: linear-gradient(135deg, #7bd3ff, #5bda9a); }

.mh-grammar-controls { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(220px, 1fr) auto auto; align-items: end; gap: 10px; margin-bottom: 14px; }
.mh-grammar-controls label { display: grid; gap: 7px; }
.mh-grammar-controls label > span { color: var(--mh-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.mh-grammar-controls select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(151,187,227,.27); border-radius: 11px; color: #fff; background: rgba(1,10,23,.6); color-scheme: dark; }
.mh-saved-focus-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 13px 14px; border: 1px solid var(--mh-line); border-radius: 14px; background: rgba(2,13,28,.3); }
.mh-saved-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.mh-saved-topic { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 8px 5px 10px; border: 1px solid rgba(91,192,255,.26); border-radius: 999px; color: #eaf6ff; background: rgba(91,192,255,.08); font-size: 10px; font-weight: 760; }
.mh-saved-topic button { display: grid; place-items: center; width: 19px; height: 19px; padding: 0; border: 0; border-radius: 50%; color: var(--mh-muted); background: rgba(255,255,255,.08); cursor: pointer; }
.mh-saved-topic-empty { color: #7188a4; font-size: 11px; }

.mh-language-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 18px 0; padding: 0; border: 0; }
.mh-language-choice legend { grid-column: 1 / -1; margin-bottom: 2px; color: #dce9f6; font-size: 12px; font-weight: 800; text-align: left; }
.mh-language-choice label { position: relative; display: block; margin: 0; cursor: pointer; }
.mh-language-choice input { position: absolute; width: 1px !important; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.mh-language-choice label > span { display: block; min-height: 102px; padding: 14px; border: 1px solid var(--mh-line); border-radius: 14px; background: rgba(2,13,28,.38); text-align: left; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.mh-language-choice label:hover > span { transform: translateY(-1px); border-color: rgba(91,192,255,.42); }
.mh-language-choice input:checked + span { border-color: rgba(91,218,154,.72); background: rgba(54,151,117,.15); box-shadow: inset 0 0 0 1px rgba(91,218,154,.22); }
.mh-language-choice input:focus-visible + span { outline: 3px solid rgba(91,192,255,.75); outline-offset: 3px; }
.mh-language-choice strong, .mh-language-choice small { display: block; }
.mh-language-choice strong { color: #fff; font-size: 13px; }
.mh-language-choice small { margin-top: 5px; color: var(--mh-muted); font-size: 10px; line-height: 1.4; }
.mh-language-choice-compact { margin: 13px 0; }
.mh-language-choice-compact label > span { min-height: 84px; padding: 11px; }
.mh-language-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.mh-language-modal[data-required="true"] #closeLearningLanguageModal,
.mh-language-modal[data-required="true"] #cancelLearningLanguage { display: none; }

.mh-data-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); align-items: start; gap: 28px; }
.mh-data-panel h2 { margin-bottom: 9px; }
.mh-data-copy > p { max-width: 760px; }
.mh-backup-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mh-backup-guide article { padding: 15px; border: 1px solid var(--mh-line); border-radius: 14px; background: rgba(2,13,28,.32); }
.mh-backup-guide h3 { margin: 0 0 9px; color: #e9f4ff; font-size: 13px; }
.mh-backup-guide ol { margin: 0; padding-left: 18px; color: var(--mh-muted); font-size: 11px; line-height: 1.55; }
.mh-backup-guide li + li { margin-top: 6px; }
.mh-backup-guide strong { color: #dff1ff; }
.mh-data-tools { display: grid; gap: 13px; min-width: 260px; }
.mh-report-control { display: grid; gap: 7px; }
.mh-report-control label { color: var(--mh-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mh-report-control select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(151,187,227,.27); border-radius: 11px; color: #fff; background: rgba(1,10,23,.6); color-scheme: dark; }
.mh-data-actions { display: grid; gap: 9px; }
.mh-data-actions .mh-button { width: 100%; }
.mh-modal-copy { margin: 0 0 18px; color: var(--mh-muted); line-height: 1.6; }
.mh-import-options { display: grid; gap: 10px; }
.mh-import-option { display: grid; gap: 5px; width: 100%; padding: 15px; border: 1px solid var(--mh-line); border-radius: 14px; color: #fff; background: rgba(2,13,28,.42); text-align: left; cursor: pointer; }
.mh-import-option:hover { border-color: rgba(91,192,255,.55); background: rgba(91,192,255,.09); }
.mh-import-option strong { font-size: 14px; }
.mh-import-option span { color: var(--mh-muted); font-size: 11px; line-height: 1.45; }

.mh-modal-backdrop,
.mh-onboarding {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(1, 7, 17, .82);
  backdrop-filter: blur(13px);
}

.mh-modal-backdrop[hidden], .mh-onboarding[hidden] { display: none; }

.mh-modal,
.mh-onboarding-card {
  width: min(600px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(118, 197, 255, .32);
  border-radius: 24px;
  background: linear-gradient(145deg, #102b4d, #06162b 74%);
  box-shadow: 0 32px 90px rgba(0,0,0,.52);
}

.mh-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.mh-icon-button { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--mh-line); border-radius: 11px; color: #fff; background: rgba(255,255,255,.06); font-size: 24px; cursor: pointer; }
.mh-profile-list { display: grid; gap: 10px; }
.mh-profile-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--mh-line); border-radius: 14px; background: rgba(2,13,28,.34); }
.mh-profile-mini-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #367dbb, #604baa); font-weight: 850; }
.mh-profile-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-profile-row small { color: var(--mh-muted); }
.mh-profile-row-actions { display: flex; gap: 7px; }
.mh-mini-button { padding: 7px 9px; border: 1px solid var(--mh-line); border-radius: 9px; color: #fff; background: rgba(255,255,255,.05); font-size: 10px; font-weight: 780; cursor: pointer; }
.mh-mini-button-danger { color: #ffc8cc; border-color: rgba(255,125,134,.27); }

.mh-create-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mh-line); }
.mh-create-form label, .mh-onboarding form label { display: block; margin-bottom: 8px; color: #dce9f6; font-size: 12px; font-weight: 800; }
.mh-form-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.mh-create-form input, .mh-onboarding input {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid rgba(151,187,227,.3);
  border-radius: 11px;
  color: #fff;
  background: rgba(1, 10, 23, .62);
}
.mh-form-error { min-height: 18px; margin: 7px 0 0; color: #ffb9bf; font-size: 11px; }

.mh-onboarding-card { width: min(520px, 100%); text-align: center; }
.mh-onboarding-card > img { display: block; width: 150px; max-width: 52%; margin: 0 auto 24px; }
.mh-onboarding-card p { color: var(--mh-muted); line-height: 1.6; }
.mh-onboarding form { display: grid; margin-top: 24px; text-align: left; }
.mh-onboarding form .mh-button { margin-top: 11px; }
.mh-text-button { margin-top: 13px; border: 0; color: var(--mh-blue); background: none; font-weight: 800; cursor: pointer; }

.mh-toast {
  position: fixed;
  z-index: 2147483640;
  left: 50%;
  bottom: 24px;
  max-width: calc(100vw - 36px);
  padding: 11px 16px;
  border: 1px solid rgba(91,218,154,.35);
  border-radius: 12px;
  color: #e9fff2;
  background: rgba(5, 37, 31, .96);
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
}
.mh-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .mh-stats, .mh-section-grid, .mh-activity-grid, .mh-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-test-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-hero-grid { align-items: flex-start; }
  .mh-hero-actions { max-width: 230px; }
}

@media (max-width: 760px) {
  .mh-container { width: min(100% - 24px, 1180px); }
  .mh-hero { padding: 34px 0 24px; }
  .mh-hero-grid, .mh-section-head, .mh-data-panel, .mh-learning-panel { display: grid; grid-template-columns: 1fr; align-items: start; }
  .mh-learning-path-summary { justify-content: space-between; }
  .mh-grammar-controls { grid-template-columns: 1fr 1fr; }
  .mh-backup-guide { grid-template-columns: 1fr; }
  .mh-data-tools { width: 100%; }
  .mh-profile-heading { align-items: flex-start; }
  .mh-avatar { width: 66px; height: 66px; border-radius: 20px; font-size: 29px; }
  .mh-hero-actions { max-width: none; justify-content: flex-start; }
  .mh-level-card { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .mh-two-column { grid-template-columns: 1fr; }
  .mh-content { gap: 18px; padding-top: 22px; }
  .mh-panel { padding: 20px; border-radius: 18px; }
  .mh-data-actions { justify-content: flex-start; }
  .mh-catalog-controls { grid-template-columns: 1fr 1fr; }
  .mh-catalog-controls label:first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .mh-stats, .mh-skill-grid, .mh-section-grid, .mh-test-list, .mh-activity-grid, .mh-catalog-controls, .mh-review-grid { grid-template-columns: 1fr; }
  .mh-catalog-controls label:first-child { grid-column: auto; }
  .mh-profile-heading { display: grid; grid-template-columns: auto 1fr; gap: 13px; }
  .mh-eyebrow { font-size: 9px; }
  .mh-hero h1 { font-size: 31px; }
  .mh-hero p { font-size: 14px; }
  .mh-button { width: 100%; }
  .mh-level-copy { align-items: flex-start; flex-direction: column; gap: 3px; }
  .mh-section-head { gap: 12px; }
  .mh-review-head-action { align-items: stretch; flex-direction: column; width: 100%; }
  .mh-topic-score { text-align: left; }
  .mh-skill-card { grid-template-columns: 64px 1fr; }
  .mh-ring { width: 62px; height: 62px; }
  .mh-timeline-item { grid-template-columns: 12px 1fr; }
  .mh-timeline-time { grid-column: 2; }
  .mh-modal, .mh-onboarding-card { padding: 21px; border-radius: 19px; }
  .mh-form-row { grid-template-columns: 1fr; }
  .mh-profile-row { grid-template-columns: 42px 1fr; }
  .mh-language-choice, .mh-grammar-controls { grid-template-columns: 1fr; }
  .mh-learning-path-summary, .mh-language-view, .mh-saved-focus-row { align-items: stretch; flex-direction: column; }
  .mh-segmented { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .mh-language-modal-actions { display: grid; }
  .mh-profile-row-actions { grid-column: 1 / -1; }
  .mh-mini-button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .hls-site-header, .hls-fixed-header-spacer, .mh-hero-actions, .mh-data-panel, #connectedActivities { display: none !important; }
  body.mh-body { color: #111827; background: #fff; }
  .mh-hero, .mh-stat, .mh-panel { color: #111827; background: #fff; box-shadow: none; border-color: #d1d5db; }
  .mh-hero p, .mh-section-head p, .mh-panel-intro, .mh-data-panel p, .mh-skill-copy p, .mh-stat span, .mh-stat small { color: #4b5563; }
}

/* v86 language-choice radios stay visually represented by their cards. */
.mh-language-choice input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none;
}
.mh-grammar-controls label[hidden] { display: none !important; }

/* v88 · Missions and Consistency */
.mh-consistency-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(177,154,255,.11), transparent 27rem),
    var(--mh-card);
}
.mh-consistency-head { align-items: center; margin-bottom: 9px; }
.mh-consistency-intro { max-width: 760px; margin-bottom: 22px; }
.mh-mission-language { display: grid; gap: 6px; min-width: 190px; }
.mh-mission-language label, .mh-weekly-settings label > span { color: var(--mh-muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mh-mission-language select, .mh-weekly-settings select {
  min-height: 42px;
  padding: 9px 34px 9px 11px;
  border: 1px solid rgba(151,187,227,.27);
  border-radius: 11px;
  color: #fff;
  background: rgba(1,10,23,.56);
}
.mh-consistency-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 16px; }
.mh-consistency-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(151,187,227,.17);
  border-radius: 18px;
  background: rgba(2,13,28,.4);
}
.mh-monthly-card { border-color: rgba(177,154,255,.24); background: linear-gradient(145deg, rgba(30,34,72,.52), rgba(2,13,28,.42)); }
.mh-consistency-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mh-consistency-card-head h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.2; }
.mh-consistency-label { color: var(--mh-blue); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.mh-monthly-card .mh-consistency-label { color: #c4b5ff; }
.mh-consistency-count { flex: 0 0 auto; color: var(--mh-gold); font-size: 18px; }
.mh-consistency-dates, .mh-consistency-copy { margin: 9px 0 0; color: var(--mh-muted); font-size: 11px; line-height: 1.45; }
.mh-consistency-progress { height: 9px; overflow: hidden; margin: 17px 0 12px; border-radius: 999px; background: rgba(255,255,255,.075); }
.mh-consistency-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mh-blue-strong), var(--mh-green)); transition: width .25s ease; }
.mh-monthly-progress span { background: linear-gradient(90deg, #745ce5, #b19aff, var(--mh-gold)); }
.mh-weekly-settings { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-top: 18px; }
.mh-weekly-settings label { display: grid; gap: 6px; }
.mh-weekly-settings .mh-button { min-height: 42px; padding-block: 9px; }
.mh-consistency-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.mh-consistency-stats > div { min-width: 0; padding: 10px; border: 1px solid rgba(151,187,227,.13); border-radius: 12px; background: rgba(255,255,255,.025); }
.mh-consistency-stats span, .mh-mission-footer span { display: block; color: #8095ae; font-size: 9px; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.mh-consistency-stats strong, .mh-mission-footer strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 13px; }
.mh-mission-list { display: grid; gap: 8px; margin-top: 14px; }
.mh-mission-item { display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid rgba(151,187,227,.12); border-radius: 12px; background: rgba(1,10,23,.32); }
.mh-mission-check { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(151,187,227,.25); border-radius: 50%; color: #7f95b0; font-size: 12px; font-weight: 900; }
.mh-mission-item.is-complete { border-color: rgba(91,218,154,.25); background: rgba(23,86,65,.16); }
.mh-mission-item.is-complete .mh-mission-check { color: #03140e; border-color: var(--mh-green); background: var(--mh-green); }
.mh-mission-item strong { min-width: 0; font-size: 12px; line-height: 1.35; }
.mh-mission-item span:last-child { color: var(--mh-muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.mh-mission-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(151,187,227,.13); }
.mh-mission-footer .mh-button { flex: 0 0 auto; }
.mh-badge-shelf { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(151,187,227,.13); }
.mh-mission-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.mh-mission-badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 11px; border: 1px solid rgba(255,200,107,.27); border-radius: 999px; color: #ffe5a8; background: rgba(104,75,19,.18); font-size: 10px; font-weight: 800; }
.mh-mission-badge::before { content: "★"; color: var(--mh-gold); }

@media (max-width: 900px) {
  .mh-consistency-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mh-consistency-head { display: grid; grid-template-columns: 1fr; align-items: start; }
  .mh-mission-language { width: 100%; }
}
@media (max-width: 540px) {
  .mh-weekly-settings, .mh-consistency-stats { grid-template-columns: 1fr; }
  .mh-mission-footer { align-items: stretch; flex-direction: column; }
  .mh-mission-item { grid-template-columns: 25px minmax(0,1fr); }
  .mh-mission-item > span:last-child { grid-column: 2; }
}

/* v88.1 · Student Guide and learner-facing copy */
.mh-guide-onboarding { width: min(940px, 100%); }
.mh-guide-onboarding[data-step="language"],
.mh-guide-onboarding[data-step="profile"] { width: min(620px, 100%); }
.mh-onboarding-step > img { display: block; width: 150px; max-width: 52%; margin: 0 auto 24px; }
.mh-guide-language-intro { display: grid; gap: 8px; margin-top: 14px; }
.mh-guide-language-intro p { margin: 0; }
.mh-guide-language-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.mh-guide-language-card {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  color: #fff;
  background: rgba(2,13,28,.4);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mh-guide-language-card:hover { transform: translateY(-2px); border-color: rgba(91,192,255,.55); background: rgba(91,192,255,.09); }
.mh-guide-language-card:focus-visible { outline: 3px solid rgba(91,192,255,.75); outline-offset: 3px; }
.mh-guide-language-code { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #06162b; background: linear-gradient(135deg,#7bd3ff,#5bda9a); font-size: 14px; font-weight: 900; }
.mh-guide-language-card strong, .mh-guide-language-card small { display: block; }
.mh-guide-language-card strong { font-size: 14px; line-height: 1.3; }
.mh-guide-language-card small { margin-top: 5px; color: var(--mh-muted); font-size: 10px; }
.mh-guide-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.mh-guide-topbar p { margin: 0; color: var(--mh-muted); font-size: 11px; }
.mh-guide-language-switch { flex: 0 0 auto; }
.mh-guide-heading { padding: 3px 2px 18px; text-align: left; }
.mh-guide-heading h2 { margin: 6px 0 9px; font-size: clamp(25px,3vw,34px); line-height: 1.12; }
.mh-guide-heading p { max-width: 790px; margin: 0; color: var(--mh-muted); font-size: 14px; line-height: 1.65; }
.mh-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.mh-guide-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 15px; border: 1px solid rgba(151,187,227,.17); border-radius: 15px; background: rgba(2,13,28,.36); text-align: left; }
.mh-guide-number { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(91,192,255,.3); border-radius: 12px; color: #bfe8ff; background: rgba(91,192,255,.09); font-size: 13px; font-weight: 900; }
.mh-guide-card h3 { margin: 1px 0 6px; color: #edf7ff; font-size: 14px; line-height: 1.3; }
.mh-guide-card p { margin: 0; color: var(--mh-muted); font-size: 11px; line-height: 1.55; }
.mh-guide-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(151,187,227,.14); }
.mh-onboarding-back { margin-bottom: 17px; }
.mh-guide-modal { width: min(940px,100%); max-height: min(860px,calc(100vh - 40px)); }
.mh-guide-modal-head { margin-bottom: 10px; }
.mh-guide-modal-toolbar { padding-bottom: 14px; border-bottom: 1px solid rgba(151,187,227,.14); }
.mh-inline-guide-link { margin-top: 12px; padding: 0; border: 0; color: var(--mh-blue); background: transparent; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mh-inline-guide-link:focus-visible { outline: 3px solid rgba(91,192,255,.75); outline-offset: 4px; }

@media (max-width: 700px) {
  .mh-guide-grid, .mh-guide-language-buttons { grid-template-columns: 1fr; }
  .mh-guide-topbar { align-items: stretch; flex-direction: column; }
  .mh-guide-language-switch { width: 100%; }
  .mh-guide-language-switch button { flex: 1; }
}

@media (max-width: 540px) {
  .mh-guide-card { grid-template-columns: 34px minmax(0,1fr); padding: 13px; }
  .mh-guide-number { width: 34px; height: 34px; }
  .mh-guide-actions { display: grid; }
  .mh-guide-language-card { grid-template-columns: 43px minmax(0,1fr); min-height: 84px; padding: 13px; }
  .mh-guide-language-code { width: 43px; height: 43px; }
}



/* v89 · Achievement medals, Learning Momentum and CEFR refinement */
.mh-achievements-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,200,107,.11), transparent 29rem),
    radial-gradient(circle at 100% 100%, rgba(91,192,255,.08), transparent 25rem),
    var(--mh-card);
}
.mh-achievements-head { align-items: flex-start; }
.mh-achievements-head > p { max-width: 520px; }
.mh-achievements-overview { display: grid; grid-template-columns: 1.25fr .75fr; gap: 15px; margin: 20px 0; }
.mh-momentum-card, .mh-achievement-summary-card {
  min-width: 0;
  border: 1px solid rgba(151,187,227,.17);
  border-radius: 18px;
  background: rgba(2,13,28,.42);
}
.mh-momentum-card { display: grid; grid-template-columns: 92px minmax(0,1fr); align-items: center; gap: 18px; padding: 20px; }
.mh-momentum-medal, .mh-achievement-medal {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 950;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.06), 0 14px 32px rgba(0,0,0,.22);
}
.mh-momentum-medal { width: 82px; height: 82px; border: 3px solid #617489; color: #d4e2ef; background: radial-gradient(circle at 32% 28%,#51647a,#1b2b3d 72%); font-size: 27px; }
.mh-momentum-card[data-tier="bronze"] .mh-momentum-medal { border-color:#c88a57;color:#fff0df;background:radial-gradient(circle at 32% 28%,#d8a06a,#704322 72%); }
.mh-momentum-card[data-tier="silver"] .mh-momentum-medal { border-color:#c8d4e1;color:#fff;background:radial-gradient(circle at 32% 28%,#eef5fb,#6e8297 72%); }
.mh-momentum-card[data-tier="gold"] .mh-momentum-medal { border-color:#ffdc84;color:#5a3a00;background:radial-gradient(circle at 32% 28%,#fff1a7,#c68a19 72%); }
.mh-momentum-card[data-tier="platinum"] .mh-momentum-medal { border-color:#a7efff;color:#062f3b;background:radial-gradient(circle at 32% 28%,#e4fcff,#62c4d9 72%); }
.mh-momentum-copy > span { color: var(--mh-muted); font-size: 10px; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.mh-momentum-copy h3 { margin: 5px 0 7px; font-size: 24px; }
.mh-momentum-copy p { margin: 0; color: var(--mh-muted); font-size: 11px; line-height: 1.5; }
.mh-momentum-weeks { display: flex; gap: 7px; margin-top: 13px; }
.mh-momentum-weeks span { width: 28px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.09); }
.mh-momentum-weeks span.is-successful { background: linear-gradient(90deg,var(--mh-blue),var(--mh-green)); }
.mh-achievement-summary-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; gap: 10px; padding: 17px; }
.mh-achievement-summary-card > div { min-width: 0; padding: 14px; border: 1px solid rgba(151,187,227,.12); border-radius: 13px; background: rgba(255,255,255,.025); }
.mh-achievement-summary-card span, .mh-achievement-summary-card small { display:block;color:var(--mh-muted);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase; }
.mh-achievement-summary-card strong { display:block;margin:6px 0;color:#fff;font-size:23px; }
.mh-achievement-summary-card small { line-height:1.35;text-transform:none;letter-spacing:0; }
.mh-achievement-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.mh-achievement-card { display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;min-width:0;padding:16px;border:1px solid rgba(151,187,227,.15);border-radius:16px;background:rgba(1,10,23,.34); }
.mh-achievement-medal { width:60px;height:60px;border:2px solid #445a70;color:#c5d5e5;background:radial-gradient(circle at 32% 28%,#405367,#152435 72%);font-size:20px; }
.mh-achievement-card[data-tier="bronze"] .mh-achievement-medal { border-color:#c88a57;color:#fff0df;background:radial-gradient(circle at 32% 28%,#d8a06a,#704322 72%); }
.mh-achievement-card[data-tier="silver"] .mh-achievement-medal { border-color:#c8d4e1;color:#fff;background:radial-gradient(circle at 32% 28%,#eef5fb,#6e8297 72%); }
.mh-achievement-card[data-tier="gold"] .mh-achievement-medal { border-color:#ffdc84;color:#5a3a00;background:radial-gradient(circle at 32% 28%,#fff1a7,#c68a19 72%); }
.mh-achievement-card[data-tier="platinum"] .mh-achievement-medal { border-color:#a7efff;color:#062f3b;background:radial-gradient(circle at 32% 28%,#e4fcff,#62c4d9 72%); }
.mh-achievement-status { color:var(--mh-gold);font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase; }
.mh-achievement-card h3 { margin:4px 0 5px;font-size:16px; }
.mh-achievement-card p { margin:0;color:var(--mh-muted);font-size:10px;line-height:1.45; }
.mh-achievement-progress { height:7px;overflow:hidden;margin:11px 0 7px;border-radius:999px;background:rgba(255,255,255,.075); }
.mh-achievement-progress span { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mh-blue-strong),var(--mh-gold)); }
.mh-achievement-card small { display:block;color:#91a5bb;font-size:9px;line-height:1.4; }
.mh-tier-dots { display:flex;gap:6px;margin-top:10px; }
.mh-tier-dot { width:13px;height:13px;border:1px solid rgba(255,255,255,.17);border-radius:50%;opacity:.25; }
.mh-tier-dot.is-earned { opacity:1;box-shadow:0 0 0 2px rgba(255,255,255,.06); }
.mh-tier-bronze.is-earned { background:#b9713d;border-color:#e1a06c; }
.mh-tier-silver.is-earned { background:#aebdca;border-color:#e3edf5; }
.mh-tier-gold.is-earned { background:#e5ad32;border-color:#ffe28d; }
.mh-tier-platinum.is-earned { background:#77d2e3;border-color:#c8f7ff; }
.mh-stat-cefr small { max-width:260px;line-height:1.35; }

@media (max-width: 900px) {
  .mh-achievements-overview, .mh-achievement-grid { grid-template-columns:1fr; }
}
@media (max-width: 540px) {
  .mh-momentum-card { grid-template-columns:62px minmax(0,1fr);padding:15px;gap:13px; }
  .mh-momentum-medal { width:58px;height:58px;font-size:21px; }
  .mh-achievement-summary-card { grid-template-columns:1fr; }
  .mh-achievement-card { grid-template-columns:52px minmax(0,1fr);padding:13px;gap:11px; }
  .mh-achievement-medal { width:48px;height:48px;font-size:17px; }
}

/* v90 · Error Intelligence */
@media (max-width:540px){.mh-error-card-head{gap:10px}.mh-error-card{padding:12px}.mh-error-card h3{font-size:12px}.mh-error-card p{font-size:10px}}

/* v91 · Simplified My Horizons Home */
.mh-overview {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.mh-overview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 0;
}
.mh-overview-head h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}
.mh-overview-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--mh-muted);
  font-size: 13px;
  line-height: 1.55;
}
.mh-overview-path {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(91,192,255,.28);
  border-radius: 999px;
  color: #dff4ff;
  background: rgba(91,192,255,.08);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mh-overview-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.mh-overview-stat {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(151,187,227,.15);
  border-radius: 17px;
  background: rgba(8,27,51,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.mh-overview-stat > span,
.mh-overview-stat > small {
  display: block;
}
.mh-overview-stat > span {
  color: var(--mh-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mh-overview-stat > strong {
  display: block;
  margin: 7px 0 5px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}
.mh-overview-stat > small {
  color: #8fa6bf;
  font-size: 9px;
  line-height: 1.4;
}
.mh-next-step {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(91,192,255,.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(91,218,154,.10), transparent 18rem),
    linear-gradient(135deg, rgba(11,43,78,.92), rgba(8,26,50,.92));
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}
.mh-next-step-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(91,192,255,.35);
  border-radius: 18px;
  color: #06172c;
  background: linear-gradient(135deg,#78d5ff,#5bda9a);
  font-size: 28px;
  font-weight: 950;
}
.mh-next-step-copy h2 {
  margin: 2px 0 7px;
  font-size: clamp(20px,2.5vw,28px);
  line-height: 1.15;
}
.mh-next-step-copy p {
  margin: 0;
  color: var(--mh-muted);
  font-size: 12px;
  line-height: 1.55;
}
.mh-next-step-context {
  display: inline-block;
  margin-top: 9px;
  color: #bfe8ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mh-next-step-button { min-width: 150px; }
.mh-overview-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.mh-overview-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(151,187,227,.15);
  border-radius: 17px;
  background: rgba(7,25,47,.66);
}
.mh-overview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mh-overview-card-head > span {
  color: var(--mh-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mh-overview-card-head > strong { font-size: 15px; }
.mh-overview-card h3 {
  margin: 8px 0 10px;
  font-size: 16px;
  line-height: 1.3;
}
.mh-overview-card > p {
  margin: 10px 0 0;
  color: var(--mh-muted);
  font-size: 10px;
  line-height: 1.5;
}
.mh-overview-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
}
.mh-overview-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,var(--mh-blue-strong),var(--mh-green));
}
.mh-overview-progress-mission > span { background: linear-gradient(90deg,var(--mh-violet),var(--mh-gold)); }
.mh-overview-text-button {
  padding: 0;
  border: 0;
  color: #bfe8ff;
  background: transparent;
  font-size: 9px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mh-overview-attention-list { display: grid; gap: 8px; margin-top: 11px; }
.mh-overview-attention-item {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(255,125,134,.2);
  border-radius: 12px;
  background: rgba(255,125,134,.055);
}
.mh-overview-attention-item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mh-overview-attention-item strong { font-size: 11px; line-height: 1.3; }
.mh-overview-attention-item span {
  flex: 0 0 auto;
  color: #ffd4d7;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mh-overview-attention-item small { color: var(--mh-muted); font-size: 9px; line-height: 1.4; }
.mh-overview-attention-item.is-improving { border-color: rgba(255,200,107,.24); background: rgba(255,200,107,.06); }
.mh-overview-attention-item.is-improving span { color: #ffe3a6; }
.mh-overview-attention-item.is-improved { border-color: rgba(91,218,154,.24); background: rgba(91,218,154,.06); }
.mh-overview-attention-item.is-improved span { color: #c8ffe5; }
.mh-overview-empty { margin: 0; color: var(--mh-muted); font-size: 10px; line-height: 1.5; }
.mh-overview-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 2px;
}
.mh-detail-toggle { min-width: 190px; }
.mh-detailed-progress {
  display: grid;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(151,187,227,.12);
}
.mh-detailed-progress[hidden] { display: none !important; }

@media (max-width: 900px) {
  .mh-overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mh-overview-grid { grid-template-columns: 1fr; }
  .mh-next-step { grid-template-columns: 54px minmax(0,1fr); }
  .mh-next-step-icon { width:54px;height:54px;border-radius:16px; }
  .mh-next-step-button { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 600px) {
  .mh-overview-head { align-items: flex-start; flex-direction: column; }
  .mh-overview-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .mh-overview-stat { padding: 13px; }
  .mh-overview-stat > strong { font-size: 25px; }
  .mh-next-step { grid-template-columns: 44px minmax(0,1fr); gap: 12px; padding: 16px; }
  .mh-next-step-icon { width:44px;height:44px;border-radius:13px;font-size:22px; }
  .mh-next-step-copy h2 { font-size: 19px; }
  .mh-overview-actions { display: grid; grid-template-columns: 1fr; }
  .mh-overview-actions .mh-button { width: 100%; }
}
@media (max-width: 390px) {
  .mh-overview-stats { grid-template-columns: 1fr; }
}

/* v91.1 — Existing Interactive Library progress migration */
.mh-legacy-migration-modal { width: min(660px, 100%); }
.mh-legacy-book-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.mh-legacy-book-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid rgba(151,187,227,.18); border-radius: 13px; background: rgba(2,13,28,.4); }
.mh-legacy-book-list li > span { min-width: 0; }
.mh-legacy-book-list strong, .mh-legacy-book-list small { display: block; }
.mh-legacy-book-list strong { overflow: hidden; color: #f4f9ff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mh-legacy-book-list small { margin-top: 3px; color: var(--mh-muted); font-size: 10px; }
.mh-legacy-book-list em { flex: 0 0 auto; color: #aeeed0; font-size: 10px; font-style: normal; font-weight: 800; text-align: right; }
.mh-legacy-book-list .mh-legacy-more { justify-content: center; color: var(--mh-muted); font-size: 11px; font-weight: 800; }
.mh-legacy-migration-note { margin: 14px 0 0; padding: 12px 14px; border: 1px solid rgba(91,218,154,.2); border-radius: 13px; color: #b9d0e4; background: rgba(91,218,154,.07); font-size: 11px; line-height: 1.55; }
.mh-legacy-migration-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
@media(max-width:600px){
  .mh-legacy-book-list li { align-items: flex-start; flex-direction: column; gap: 6px; }
  .mh-legacy-book-list em { text-align: left; }
  .mh-legacy-migration-actions { display: grid; }
  .mh-legacy-migration-actions .mh-button { width: 100%; }
}

/* v91.7 - Bilingual profile-based visual tour */
.mh-guide-choice-panel { padding: 2px 0 4px; }
.mh-guide-choice-intro {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--mh-muted);
  font-size: 13px;
  line-height: 1.6;
}
.mh-guide-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mh-guide-choice-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 17px;
  border: 1px solid rgba(151,187,227,.18);
  border-radius: 17px;
  color: #fff;
  background: rgba(2,13,28,.4);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mh-guide-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91,192,255,.55);
  background: rgba(91,192,255,.09);
}
.mh-guide-choice-card:focus-visible,
.mh-tour-close:focus-visible,
.mh-tour-text-button:focus-visible {
  outline: 3px solid rgba(91,192,255,.78);
  outline-offset: 3px;
}
.mh-guide-choice-card-visual {
  border-color: rgba(91,218,154,.34);
  background: linear-gradient(145deg, rgba(27,89,74,.26), rgba(2,13,28,.42));
}
.mh-guide-choice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(91,192,255,.35);
  border-radius: 14px;
  color: #05172b;
  background: linear-gradient(135deg, #7bd3ff, #5bda9a);
  font-size: 23px;
  font-weight: 950;
}
.mh-guide-choice-card strong,
.mh-guide-choice-card small { display: block; }
.mh-guide-choice-card strong { font-size: 14px; line-height: 1.35; }
.mh-guide-choice-card small { margin-top: 6px; color: var(--mh-muted); font-size: 10px; line-height: 1.5; }

.mh-visual-tour {
  position: fixed;
  inset: 0;
  z-index: 2147483638;
  pointer-events: none;
}
.mh-visual-tour[hidden] { display: none !important; }
.mh-tour-shade {
  position: fixed;
  z-index: 2147483639;
  background: rgba(1,7,17,.84);
  pointer-events: auto;
}
.mh-tour-highlight {
  position: fixed;
  z-index: 2147483640;
  border: 2px solid #74d2ff;
  border-radius: 18px;
  box-shadow:
    0 0 0 4px rgba(91,192,255,.15),
    0 0 38px rgba(91,192,255,.42),
    inset 0 0 24px rgba(91,192,255,.06);
  pointer-events: auto;
  transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease, opacity .16s ease;
}
.mh-tour-card {
  position: fixed;
  z-index: 2147483641;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(118,197,255,.42);
  border-radius: 20px;
  color: var(--mh-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(91,218,154,.10), transparent 16rem),
    linear-gradient(145deg, #102b4d, #06162b 76%);
  box-shadow: 0 28px 85px rgba(0,0,0,.62);
  pointer-events: auto;
  transition: top .2s ease, left .2s ease, opacity .16s ease, transform .16s ease;
}
.mh-tour-card.is-centered {
  top: 50% !important;
  left: 50% !important;
  width: min(440px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
}
.mh-tour-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  margin-bottom: 8px;
}
.mh-tour-counter {
  color: #9db1c8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mh-tour-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(151,187,227,.2);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.mh-tour-mascot {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  min-height: 102px;
  margin: -9px 0 5px;
}
.mh-tour-mascot[hidden] { display: none !important; }
.mh-tour-mascot img {
  width: 58px;
  height: 103px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.4));
}
.mh-tour-mascot span {
  margin-bottom: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(91,192,255,.27);
  border-radius: 999px;
  color: #cfefff;
  background: rgba(2,13,28,.48);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mh-tour-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--mh-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mh-tour-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.mh-tour-card > p {
  margin: 10px 0 0;
  color: #b5c6d9;
  font-size: 12px;
  line-height: 1.6;
}
.mh-tour-note {
  padding: 10px 12px;
  border: 1px solid rgba(91,218,154,.22);
  border-radius: 12px;
  color: #c9f7df !important;
  background: rgba(91,218,154,.07);
  font-size: 10px !important;
}
.mh-tour-note[hidden] { display: none !important; }
.mh-tour-progress {
  height: 5px;
  overflow: hidden;
  margin: 17px 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.mh-tour-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mh-blue-strong), var(--mh-green));
  transition: width .2s ease;
}
.mh-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mh-tour-actions > div { display: flex; gap: 8px; }
.mh-tour-actions .mh-button { min-height: 40px; padding: 9px 13px; font-size: 11px; }
.mh-tour-text-button {
  padding: 7px 0;
  border: 0;
  color: #9db1c8;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.mh-tour-text-button:hover { color: #fff; }

@media (max-width: 700px) {
  .mh-guide-choice-grid { grid-template-columns: 1fr; }
  .mh-tour-card,
  .mh-tour-card.is-centered {
    top: auto !important;
    right: 12px;
    bottom: 12px;
    left: 12px !important;
    width: auto;
    max-height: min(54vh, 520px);
    padding: 17px;
    border-radius: 18px;
    transform: none;
  }
  .mh-tour-card h2 { font-size: 22px; }
  .mh-tour-card > p { font-size: 11px; }
  .mh-tour-mascot { min-height: 83px; }
  .mh-tour-mascot img { width: 47px; height: 83px; }
  .mh-tour-mascot span { margin-bottom: 12px; }
}

@media (max-width: 430px) {
  .mh-guide-choice-card { grid-template-columns: 42px minmax(0,1fr); min-height: 96px; padding: 14px; }
  .mh-guide-choice-icon { width: 42px; height: 42px; border-radius: 12px; }
  .mh-tour-actions { align-items: stretch; flex-direction: column-reverse; }
  .mh-tour-actions > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .mh-tour-actions .mh-button { width: 100%; }
  .mh-tour-text-button { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-tour-highlight,
  .mh-tour-card,
  .mh-tour-progress span { transition: none !important; }
}

@media print {
  .mh-visual-tour { display: none !important; }
}
