@font-face {
  font-family: "B Mitra";
  src: url("b-mitra-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  size-adjust: 123%;
}
@font-face {
  font-family: "B Mitra";
  src: url("b-mitra-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  size-adjust: 116%;
}
@font-face {
  font-family: "Hamyar Arabic";
  src: url("persian-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Hamyar Arabic";
  src: url("persian-bold.woff") format("woff");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Hamyar Nazli";
  src: url("fonts/nazli.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Hamyar Nazli";
  src: url("fonts/nazlib.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.hm-admin, .hm-student, .hm-panel {
  --hm-font-ui: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif;
  --hm-font-display: "B Mitra", "Hamyar Nazli", "Vazirmatn", Tahoma, sans-serif;
  --hm-font: var(--hm-font-ui);
  --hm-ink: #14283f;
  --hm-muted: #425571;
  --hm-paper: #fff;
  --hm-line: #d9e4f2;
  --hm-blue: #175795;
  --hm-tint: #edf5ff;
  --hm-score-blue: #2b4777;
  --hm-score-red: #b74746;
  --hm-score-gray: #a9b6c8;
  color: var(--hm-ink);
  font: 400 17px/1.65 var(--hm-font);
}
.login.hm-exam-login { background: #f1f5fb; direction: rtl; }
.hm-exam-login #login, .hm-exam-login #login input, .hm-exam-login #login .button {
  font-family: "B Mitra", "Hamyar Arabic", Tahoma, sans-serif;
}
.hm-exam-login #login h1 a {
  background: none; color: #175795; width: auto; height: auto; text-indent: 0; font-size: 30px; line-height: 1.35;
}
.hm-admin *, .hm-student *, .hm-panel * { box-sizing: border-box; }
.hm-admin h1, .hm-admin h2, :is(.hm-student, .hm-panel) :is(h1, h2, h3) { color: var(--hm-ink); line-height: 1.35; margin: 0 0 .45em; }
.hm-admin h1, :is(.hm-student, .hm-panel) h1 { font: 700 30px/1.3 var(--hm-font-display); }
.hm-admin h2, :is(.hm-student, .hm-panel) h2 { font: 700 23px/1.4 var(--hm-font-display); }
:is(.hm-admin, .hm-student, .hm-panel) p { margin: .45em 0 .8em; font: inherit; }
:is(.hm-admin, .hm-student, .hm-panel) :is([hidden], input[type="hidden"]) { display: none !important; }
:is(.hm-admin, .hm-student, .hm-panel) a { color: var(--hm-blue); }
:is(.hm-admin, .hm-student, .hm-panel) :focus-visible { outline: 3px solid #366fba; outline-offset: 2px; }
.hm-student { margin: 0; background: #eff4fb; }
.hm-student-head { background: linear-gradient(108deg, #112d52, #1d5794); color: #eef6ff; border-bottom: 2px solid #739dcf; }
.hm-student-head > div { max-width: 830px; padding: .8rem 1rem; margin: auto; display: flex; align-items: baseline; gap: 1rem; }
.hm-student-head a { color: #fff; font-size: 23px; font-weight: 700; text-decoration: none; }
.hm-main { max-width: 900px; padding: 1.1rem 1rem; margin: auto; }
.hm-card { border: 1px solid var(--hm-line); border-radius: 13px; background: var(--hm-paper); padding: clamp(.95rem, 3vw, 1.6rem); min-width: 0; overflow-wrap: anywhere; }
.hm-admin > .hm-card, .hm-admin-layout { margin-block: 1rem; }
.hm-admin-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; align-items: start; }
.hm-field { display: grid; gap: .3rem; font-weight: 700; margin-bottom: .45rem; min-width: 0; }
.hm-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem .9rem; }
.hm-span { grid-column: 1 / -1; }
.hm-admin .hm-field input, .hm-admin .hm-field select, .hm-admin .hm-field textarea { width: 100%; max-width: 100%; min-height: 38px; border-color: #aebfd5; color: var(--hm-ink); font: 400 16px/1.5 var(--hm-font); }
.hm-field textarea { resize: vertical; }
.hm-check { display: flex; align-items: center; gap: .45rem; margin-block: .55rem; }
.hm-admin .hm-check input { margin: 0; }
:is(.hm-admin, .hm-student, .hm-panel) .hm-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 40px;
  border: 1px solid var(--hm-blue); border-radius: 8px; padding: .35rem .85rem; color: #fff;
  background: var(--hm-blue); text-decoration: none; font: 700 16px/1.5 var(--hm-font); cursor: pointer;
}
:is(.hm-admin, .hm-student, .hm-panel) .hm-button:hover { color: #fff; background: #13467b; }
:is(.hm-admin, .hm-student, .hm-panel) .hm-button:disabled { opacity: .58; cursor: default; }
:is(.hm-student, .hm-panel) .hm-secondary { color: var(--hm-blue); background: var(--hm-paper); }
:is(.hm-student, .hm-panel) .hm-secondary:hover { color: var(--hm-blue); background: var(--hm-tint); }
.hm-exam-settings { margin-top: 1rem; }
.hm-signup-share { margin-block: 1rem; padding: .65rem .8rem; border: 1px solid var(--hm-line); border-radius: 10px; background: var(--hm-tint); }
.hm-admin #hm-registrations { margin-block: 1rem; }
.hm-admin #hm-registrations td small { display: block; padding-top: .3rem; }
.hm-copy-status { margin-inline-start: .6rem; }
.hm-notice { margin-block: .75rem; padding: .65rem .9rem; color: #204971; background: var(--hm-tint); border-radius: 8px; }
.hm-notice .hm-button { margin: .35rem 0 0 .5rem; }
.hm-notice ul { padding-inline-start: 1.2rem; list-style: disc; margin: .45rem 0 0; }
.hm-error { color: #86312f; background: #faece7; }
.hm-muted { color: var(--hm-muted); }
.hm-table { overflow-x: auto; }
.hm-table table { border-collapse: collapse; width: 100%; text-align: start; }
.hm-table th, .hm-table td { padding: .45rem .7rem; text-align: start; border-bottom: 1px solid var(--hm-line); }
.hm-table th { background: var(--hm-tint); }
.hm-pager, .hm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.hm-session-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .6rem; margin-block: .65rem .85rem; padding: .5rem .7rem; background: var(--hm-tint); border-radius: 8px; font-weight: 700; }
.hm-session-status p { margin: 0; }
.hm-session-status strong { display: inline-block; font-variant-numeric: tabular-nums; }
.hm-answer-progress { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .65rem; margin-block: .75rem 1rem; }
.hm-answer-progress span { color: var(--hm-muted); font-size: .9em; }
.hm-answer-progress progress { width: 100%; height: .48rem; border: 0; border-radius: 999px; overflow: hidden; appearance: none; background: #e4edf8; color: var(--hm-blue); }
.hm-answer-progress progress::-webkit-progress-bar { background: #e4edf8; }
.hm-answer-progress progress::-webkit-progress-value { background: linear-gradient(90deg, #2d87ff, #1e64b8); border-radius: 999px; }
.hm-answer-progress progress::-moz-progress-bar { background: #2374d4; border-radius: 999px; }
.hm-exam-card:not(.hm-report) { padding: clamp(.8rem, 3vw, 1.45rem); border-radius: 19px; box-shadow: 0 14px 35px rgba(17, 45, 82, .075); }
.hm-exam-hero { padding: .8rem clamp(.65rem,3vw,1.15rem); border-radius: 13px; background: linear-gradient(108deg,#153761,#255e9c); border-inline-start: 3px solid #9bc1f3; }
:is(.hm-student, .hm-panel) .hm-exam-hero h1 { margin: 0; font-size: clamp(1.42rem,4.4vw,2.05rem); color: #fff; }
.hm-step-label { color: #214d7d; }
.hm-clock-panel { color: #27496d; }
.hm-clock-panel strong { color: #143a68; font-size: 1.13em; }
:is(.hm-student, .hm-panel) .hm-effects-toggle { min-height: 34px; padding: .15rem .55rem; font-size: .83em; border-color: #bacde5; }
:is(.hm-student, .hm-panel) .hm-effects-toggle[aria-pressed="false"] { color: var(--hm-muted); background: #f3f4f5; }
.hm-question h2 small, .hm-question h3 small { color: var(--hm-muted); font-size: .68em; font-weight: 400; white-space: nowrap; }
.hm-question h2, .hm-question h3 { white-space: pre-wrap; }
.hm-question-header {
  margin-block-end: .85rem; padding: .8rem .95rem; border: 1px solid #cbdcf1;
  border-inline-start: 4px solid var(--hm-blue); border-radius: 9px; background: var(--hm-tint);
}
:is(.hm-student, .hm-panel) .hm-question-header h2 { margin: 0; color: #153d69; line-height: 1.55; }
:is(.hm-student, .hm-panel) .hm-question-subject { margin: .35rem 0 0; color: var(--hm-muted); font-size: .92em; }
.hm-choices { display: grid; gap: .55rem; }
:is(.hm-student, .hm-panel) .hm-question .hm-option {
  display: grid; grid-template-columns: 2rem minmax(0,1fr) auto; align-items: start; gap: .65rem; direction: rtl;
  min-height: 52px; width: 100%; margin: 0; border: 1px solid #b5c5d7; border-radius: 9px;
  background: #fff; color: #000; padding: .55rem .7rem; font: inherit; text-align: start;
  box-shadow: none; letter-spacing: normal;
}
button.hm-option { cursor: pointer; }
:is(.hm-student, .hm-panel) .hm-question button.hm-option:hover:not(:disabled):not([aria-disabled="true"]),
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-picked { background: #f2f6fc; border-color: #7199c8; }
:is(.hm-student, .hm-panel) button.hm-option:disabled, :is(.hm-student, .hm-panel) button.hm-option[aria-disabled="true"] { opacity: 1; cursor: default; }
:is(.hm-student, .hm-panel) .hm-question .hm-option .hm-option-number {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; color: #214c7c !important;
  -webkit-text-fill-color: currentColor !important; background: #e5eef9; border-radius: 6px; font-weight: 700;
}
:is(.hm-student, .hm-panel) .hm-question .hm-option .hm-option-text {
  display: block; min-width: 0; margin: 0; padding: 0; background: none;
  /* Site themes can force white text on every button span. */
  color: #000 !important; -webkit-text-fill-color: #000 !important;
  font-weight: 700; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere;
}
.hm-numbers { display: flex; gap: .35rem; flex-wrap: wrap; margin-block: 1rem .6rem; }
.hm-numbers .hm-button { padding: .15rem .4rem; min-width: 34px; min-height: 34px; border-color: #b6c9df; }
.hm-numbers .hm-picked { background: var(--hm-tint); }
.hm-numbers .hm-button[aria-current="step"] { color: #fff; background: var(--hm-blue); }
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-correct { color: #1c3258; background: #e7edf5; border-color: #5e78a5; }
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-incorrect { color: #842d32; background: #fcf0ee; border-color: #cb8182; }
:is(.hm-student, .hm-panel) .hm-question .hm-incorrect .hm-option-number { background: #efcfca; }
:is(.hm-student, .hm-panel) .hm-question .hm-correct .hm-option-number { background: #d7e0ec; }
.hm-mark { display: inline-flex; align-items: center; gap: .3em; font-size: .88em; }
.hm-mark-icon {
  display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em;
  padding: 0 .12em; border-radius: 50%; background: #d7e0ec; font: 700 .98em/1 sans-serif;
}
:is(.hm-student, .hm-panel) .hm-question .hm-option .hm-mark span { color: var(--hm-mark-color) !important; -webkit-text-fill-color: currentColor !important; }
.hm-option.hm-correct { --hm-mark-color: #1c3258; }
.hm-option.hm-incorrect { --hm-mark-color: #842d32; }
.hm-incorrect .hm-mark-icon { background: #f3d6d4; }
@media (forced-colors: active) {
  :is(.hm-student, .hm-panel) .hm-question .hm-option :is(.hm-option-text, .hm-option-number, .hm-mark span) {
    color: ButtonText !important; -webkit-text-fill-color: ButtonText !important;
  }
}
.hm-panel .hm-feedback, .hm-student .hm-feedback { margin: .75rem 0 0; padding: .55rem .8rem; border-radius: 8px; font-weight: 700; }
.hm-feedback-correct { background: #e7edf5; color: #1c3258; }
.hm-feedback-incorrect { background: #fcf0ee; color: #842d32; }
.hm-feedback-detail { margin-inline-start: .55rem; font-weight: 400; }
:is(.hm-student, .hm-panel) .hm-numbers .hm-nav-correct { background: #e7edf5; color: #1c3258; border-color: #788db1; }
:is(.hm-student, .hm-panel) .hm-numbers .hm-nav-wrong { background: #fcf0ee; color: #842d32; border-color: #d89999; }
:is(.hm-student, .hm-panel) .hm-numbers .hm-button[aria-current="step"] { box-shadow: 0 0 0 2px var(--hm-blue); }
.hm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hm-result-chart { display: grid; grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr); align-items: center; gap: clamp(.8rem, 4vw, 2rem); margin-block: 1rem 1.25rem; }
.hm-score-ring {
  display: grid; place-items: center; width: 100%; max-width: 10.5rem; aspect-ratio: 1; padding: .72rem; border-radius: 50%;
  background: conic-gradient(var(--hm-score-blue) 0 var(--hm-correct-end), var(--hm-score-red) var(--hm-correct-end) var(--hm-answered-end), var(--hm-score-gray) var(--hm-answered-end) 100%);
}
.hm-score-center { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; background: var(--hm-paper); }
.hm-score-center strong { font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.25; color: var(--hm-blue); }
:is(.hm-student, .hm-panel) .hm-score { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.hm-score li { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .35rem .7rem; border: 1px solid var(--hm-line); border-radius: 8px; }
.hm-score li span { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.hm-score li span::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: var(--hm-legend); }
.hm-score li strong { font-size: 1.25em; line-height: 1; }
.hm-score-correct { --hm-legend: var(--hm-score-blue); }
.hm-score-wrong { --hm-legend: var(--hm-score-red); }
.hm-score-blank { --hm-legend: var(--hm-score-gray); }
.hm-result-review { margin-block: 1.2rem; }
.hm-review[data-filtered] { display: none; }
.hm-review-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: .5rem .75rem; }
:is(.hm-student, .hm-panel) .hm-review-filter { min-height: 36px; padding: .2rem .65rem; border-color: #bacde5; }
:is(.hm-student, .hm-panel) .hm-review-filter[aria-pressed="true"] { color: #fff; background: var(--hm-blue); }
.hm-review-list { display: grid; gap: .45rem; }
.hm-review { border: 1px solid var(--hm-line); border-inline-start: 3px solid var(--hm-review-edge); border-radius: 8px; }
.hm-review-correct { --hm-review-edge: #788db1; --hm-review-color: #1c3258; --hm-review-tint: #e7edf5; }
.hm-review-wrong { --hm-review-edge: #d89999; --hm-review-color: #842d32; --hm-review-tint: #fcf0ee; }
.hm-review-blank { --hm-review-edge: #b4bcb8; --hm-review-color: #4c5d73; --hm-review-tint: #edeff1; }
.hm-review-summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .65rem; align-items: start;
  padding: .5rem .75rem 0; color: var(--hm-ink);
}
.hm-review-tag { display: inline-flex; gap: .25em; align-items: center; padding: 0 .45em; border-radius: .35rem; color: var(--hm-review-color); background: var(--hm-review-tint); white-space: nowrap; }
.hm-review-tag > span:first-child { font-weight: 700; font-family: sans-serif; }
:is(.hm-student, .hm-panel) .hm-review p:not(.hm-explanation) { margin: .26rem .75rem; }
.hm-review .hm-review-prompt { color: #101318; white-space: pre-wrap; overflow-wrap: anywhere; }
.hm-review-answer, .hm-review-subject { color: var(--hm-muted); overflow-wrap: anywhere; }
.hm-review-key { color: #1c3258; }
.hm-review-detail { margin: .35rem .75rem .62rem; }
.hm-review-detail > summary { color: var(--hm-blue); cursor: pointer; }
.hm-review-detail .hm-question { margin-block-start: .5rem; }
.hm-review-empty[hidden] { display: none; }
.hm-admin summary { cursor: pointer; color: var(--hm-blue); font-weight: 700; }
:is(.hm-student, .hm-panel) p.hm-explanation { padding: .55rem .7rem; border-radius: 8px; background: var(--hm-tint); white-space: pre-wrap; }
.hm-panel { text-align: start; }
.hm-exam-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: .45rem; border: 1px solid #d8e5f5; border-radius: 14px; background: #f4f8ff; }
.hm-exam-account .woocommerce-MyAccount-navigation li { margin: 0; }
.hm-exam-account .woocommerce-MyAccount-navigation li a { padding: .45rem .65rem; display: block; border-radius: 7px; color: #214d7d; text-decoration: none; }
.hm-exam-account .woocommerce-MyAccount-navigation li a:hover { background: #e5f0ff; }
.hm-exam-account .woocommerce-MyAccount-navigation li.is-active a { background: #205a97; color: #fff; font-weight: 700; }
.hm-exam-account .woocommerce-MyAccount-content { min-width: 0; }
.hm-dashboard-hero {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .7rem 1rem;
  border-radius: 18px; padding: clamp(1rem,4vw,1.65rem); background: linear-gradient(112deg,#122d50 10%,#265e9a);
  border-inline-start: 4px solid #8abaff; color: #fff;
}
.hm-dashboard .hm-dashboard-hero h2 { margin: .15rem 0 0; color: #fff; font-size: clamp(1.85rem,5vw,2.3rem); }
.hm-dashboard-brand { color: #c4ddff; font-weight: 700; font-size: .91em; }
.hm-dashboard-shortcuts { display: flex; flex-wrap: wrap; gap: .45rem; }
.hm-panel .hm-dashboard-shortcuts a { padding: .25rem .5rem; border: 1px solid #79a4d8; border-radius: 7px; color: #f4f8ff; text-decoration: none; }
.hm-panel .hm-dashboard-shortcuts a:hover { background: #315f96; }
.hm-dashboard-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; margin-block: .65rem 1.25rem; }
.hm-dashboard-metrics div { padding: .48rem .6rem; border: 1px solid #d9e5f4; border-radius: 11px; background: #f4f8fe; }
.hm-dashboard-metrics dt { color: var(--hm-muted); font-size: .83em; }
.hm-dashboard-metrics dd { margin: .15em 0 0; font-size: 1.45em; line-height: 1.3; font-weight: 700; color: var(--hm-blue); }
.hm-dashboard .hm-panel-title { margin-block: .3rem .45rem; font-size: 1.2em; }
.hm-panel .hm-exam-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .7rem; margin-block: .8rem 1rem; }
.hm-panel .hm-exam-tile { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: .4rem; padding: .85rem .95rem; border-radius: 13px; border-inline-start: 3px solid #87addb; box-shadow: 0 5px 16px rgba(24,65,109,.06); }
.hm-tile-top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .45rem; }
.hm-tile-score { color: #174b80; font-size: 1.15em; }
.hm-panel .hm-exam-tile h3 { font: 700 20px/1.4 var(--hm-font); margin: 0; }
.hm-panel .hm-exam-tile p { color: var(--hm-muted); margin: 0 .1rem .35rem; }
.hm-exam-status { padding: .1rem .45rem; border-radius: 5px; color: #4c5d73; background: #eef2f8; font-weight: 700; }
.hm-status-ready, .hm-status-active { color: #1f5287; background: #e7f0fd; }
.hm-status-finished { color: #29507e; background: #e5eefb; }
.hm-panel .hm-progress h3 { font: 700 23px/1.4 var(--hm-font); margin: 0; }
.hm-progress-scale { display: flex; justify-content: space-between; color: var(--hm-muted); margin-block: .65rem .35rem; }
.hm-panel .hm-progress-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.hm-progress-label { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.hm-progress-label a { text-decoration: underline; text-underline-offset: .15em; }
.hm-progress-meter { display: block; appearance: none; width: 100%; height: .75rem; margin-block-start: .25rem; border: 0; border-radius: .375rem; background: #e7eef8; }
.hm-progress-meter::-webkit-meter-bar { background: #e7eef8; border: 0; border-radius: .375rem; }
.hm-progress-meter::-webkit-meter-optimum-value { background: var(--hm-blue); border-radius: .375rem; }
.hm-progress-meter::-moz-meter-bar { background: var(--hm-blue); border-radius: .375rem; }
.hm-back a { text-decoration: underline; text-underline-offset: .15em; }
.hm-signup-main { max-width: 610px; padding-block: clamp(1.2rem, 6vw,3rem); }
.hm-signup-card { overflow: hidden; padding: 0; border-radius: 20px; box-shadow: 0 16px 45px rgba(13,45,83,.1); }
.hm-signup-hero { padding: clamp(.85rem,4.5vw,1.55rem) clamp(.95rem,4.7vw,1.65rem); color: #e8f3ff; background: linear-gradient(114deg,#122f56,#245d96); }
.hm-signup-card .hm-signup-hero :is(h1,h2) { color: #fff; margin-bottom: .12em; }
.hm-signup-hero p { margin-bottom: .1em; color: #dcecff; }
.hm-signup-card .hm-fields { padding: clamp(.85rem,4.5vw,1.5rem); gap: .54rem .8rem; }
.hm-signup-card .hm-field { gap: .3rem; }
.hm-signup-card .hm-field input { width: 100%; min-width: 0; padding: .45rem .65rem; min-height: 43px; border: 1px solid #b5c8e0; border-radius: 8px; color: #12253e; background: #f9fbff; font: 400 1em/1.35 var(--hm-font); }
.hm-signup-card .hm-field small { color: var(--hm-muted); font-weight: 400; }
.hm-signup-card .hm-fields p { margin: .1rem 0 .45rem; }
.hm-signup-card .hm-error { margin: .8rem .8rem 0; }
.hm-signup-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.hm-signup-message { padding: 1rem; }
.hm-admin > .hm-app-share { max-width: 55rem; border-inline-start: 4px solid var(--hm-blue); }
.hm-app-share a.hm-button { margin-inline-start: .35rem; background: #fff; color: var(--hm-blue); }
.hm-app-share a.hm-button:hover { background: var(--hm-tint); color: var(--hm-blue); }
.hm-catalog-setting { padding: .22rem .65rem .5rem; background: #f0f6ff; border: 1px solid #d9e6f6; border-radius: 8px; }
.hm-catalog-setting small { color: var(--hm-muted); }
.hm-catalog { min-height: 100vh; background: #f1f5fb; }
.hm-catalog-top { background: #fff; border-bottom: 1px solid #dce7f6; }
.hm-catalog-top > div, .hm-catalog-main { width: min(100% - 2rem, 64rem); margin-inline: auto; }
.hm-catalog-top > div { min-height: 4.45rem; display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.hm-catalog-top nav { display: flex; align-items: center; gap: clamp(.3rem, 2vw, .9rem); }
.hm-catalog-brand { display: grid; line-height: 1.2; text-decoration: none; }
.hm-catalog-brand span { font-size: clamp(1.34rem, 4.4vw, 1.75rem); font-weight: 700; }
.hm-catalog-brand small { color: var(--hm-muted); font-size: .88em; }
.hm-catalog-nav { padding: .2rem .45rem; border-radius: 5px; text-decoration: none; color: #255282; }
.hm-catalog-nav[aria-current="page"] { background: #eaf3ff; font-weight: 700; }
.hm-catalog-main { padding-block: clamp(.85rem, 4vw, 1.7rem) 2rem; }
.hm-catalog-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.05rem, 5vw, 2.2rem);
  border-radius: 16px; border-inline-start: 4px solid #9dc2f0; background: linear-gradient(110deg, #122f56, #245d96); color: #fff;
}
.hm-catalog-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 6% -38%, transparent 0 24px, #a7caf122 25px 26px, transparent 27px 50px);
}
.hm-catalog .hm-catalog-hero h1 { margin: 0; color: #fff; font-size: clamp(1.72rem, 6vw, 2.7rem); }
.hm-catalog .hm-catalog-hero p { color: #e2efff; margin-block: .25rem .45rem; }
.hm-catalog .hm-catalog-hero a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.hm-catalog-hero a:focus-visible { outline-color: #fff; }
.hm-subject-grid, .hm-catalog-exams { display: grid; gap: clamp(.55rem, 1.6vw, 1rem); margin: 1rem 0 0; padding: 0; }
.hm-subject-grid { list-style: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-catalog-exams { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.hm-catalog .hm-subject-card {
  height: 100%; min-height: 6.9rem; padding: .72rem .85rem; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-content: center; align-items: center; gap: .15rem .55rem; color: #163b67; text-decoration: none;
  background: #fff; border-radius: 12px; border: 1px solid #d3e2f4; border-inline-start: 3px solid #8fb8e8;
  box-shadow: 0 5px 14px rgba(20, 63, 109, .06);
}
.hm-catalog .hm-subject-card:hover { border-color: #739ecf; background: #fafdff; }
.hm-subject-card strong { grid-column: 1; font-size: clamp(1.08rem, 3vw, 1.36rem); }
.hm-subject-count { color: #496687; grid-column: 1; }
.hm-subject-arrow { grid-column: 2; grid-row: 1 / 3; padding: 0 .35rem; border-radius: 6px; background: #e9f2ff; color: #2a609a; }
.hm-catalog-exam { display: grid; justify-items: start; align-content: start; grid-template-rows: auto auto 1fr auto; border-inline-start: 3px solid #8fb8e8; }
.hm-catalog .hm-catalog-exam h2 { margin: .25rem 0 0; font-size: 1.2rem; }
.hm-catalog .hm-catalog-exam p { color: #496687; }
.hm-catalog-status { padding: 0 .4rem; color: #244e7b; background: #e9f2ff; border-radius: 4px; font-size: .88em; }
.hm-catalog-empty { margin-top: .85rem; }
@media (max-width: 700px) { .hm-subject-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .hm-subject-grid { grid-template-columns: minmax(0, 1fr); } }
.hm-paper-page .hm-main { max-width: 900px; padding-block: clamp(1rem, 4vw, 2.2rem); }
.hm-print-only { display: none; }
.hm-student .hm-report, .hm-panel .hm-report {
  --hm-font: "Hamyar Nazli", "B Mitra", "Hamyar Arabic", Tahoma, sans-serif;
  font: 400 18px/1.58 var(--hm-font); padding: clamp(1rem, 3.8vw, 2rem); border-radius: 18px;
}
.hm-paper-page .hm-report { box-shadow: 0 .8rem 2.5rem rgba(20, 55, 93, .09); }
:is(.hm-student, .hm-panel) .hm-report-masthead { padding: .85rem 1rem; border: 1px solid #d0e0f2; border-inline-start: 4px solid var(--hm-blue); border-radius: 10px; background: linear-gradient(105deg,#e7f1fd,#f7faff); }
:is(.hm-student, .hm-panel) .hm-report-brand { margin: 0 0 .2rem; color: var(--hm-blue); font-weight: 700; }
.hm-report-brand { display: flex; align-items: center; gap: .45rem; }
.hm-report-seal { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; border: 1px solid #8babd3; border-radius: 8px; color: #164b81; background: #f3f8ff; font-weight: 700; }
:is(.hm-student, .hm-panel) .hm-report-masthead h2 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.15rem); }
:is(.hm-student, .hm-panel) .hm-report-exam-name { margin: .15rem 0 0; color: #173e68; font-size: 1.15em; font-weight: 700; }
.hm-report-actions { margin-block: .8rem; }
.hm-report-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; margin: .9rem 0; }
.hm-report-facts > div { min-width: 0; padding: .45rem .65rem; border: 1px solid var(--hm-line); border-radius: 7px; }
.hm-report-facts dt { color: var(--hm-muted); font-size: .9em; }
.hm-report-facts dd { margin: 0; color: #172338; font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; }
.hm-report-section { margin-block: 1.1rem; }
.hm-report-history-chart { margin: .45rem 0 0; padding: .55rem .65rem; border: 1px solid #d4e1ef; border-radius: 9px; background: #f7fbff; }
.hm-history-plot { display: grid; direction: ltr; grid-template-columns: 2.5em minmax(0,1fr); gap: .45rem; margin-block: 1rem .35rem; }
.hm-history-grid { display: flex; flex-direction: column; justify-content: space-between; margin-block: -.65em; height: calc(8rem + 1.3em); color: #425b78; font-size: .8em; }
.hm-history-graph { position: relative; height: 8rem; border-bottom: 1px solid #cadcf0; background: repeating-linear-gradient(to bottom,#d7e5f5 0 1px,transparent 1px 25%); }
.hm-history-graph svg { position: absolute; width: 100%; height: 100%; inset: 0; overflow: visible; }
.hm-history-graph polygon { fill: #b4d3f366; }
.hm-history-graph polyline { fill: none; stroke: #226bb2; stroke-width: 2.7; }
:is(.hm-student, .hm-panel) .hm-history-columns { display: flex; height: 100%; margin: 0; padding: 0; direction: ltr; list-style: none; }
.hm-history-columns li { flex: 1; position: relative; min-width: 0; margin: 0; padding: 0; }
.hm-history-value { position: absolute; inset-inline-start: 50%; top: var(--hm-history-y); transform: translate(-50%,calc(-100% - 3px)); color: #134b82; font-weight: 700; font-size: .82em; white-space: nowrap; background: #f7fbff; padding-inline: .15em; border-radius: 3px; }
.hm-history-value::after { display: block; content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: #1c5f9e; border: 1px solid #f7fbff; }
.hm-history-name { position: absolute; top: calc(100% + .32em); left: 50%; transform: translateX(-50%); }
.hm-history-number { display: inline-grid; min-width: 1.45em; height: 1.45em; place-items: center; border-radius: 4px; background: #e5f0ff; color: #195487; }
:is(.hm-student, .hm-panel) .hm-history-legend { list-style: none; margin: 1.65rem 0 .15rem; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .22rem .65rem; }
.hm-history-legend li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .35em; min-width: 0; font-size: .89em; }
.hm-history-legend strong { color: #164f87; }
.hm-study-advice { border: 1px solid var(--hm-line); border-radius: 8px; padding: .68rem .85rem; background: var(--hm-tint); }
:is(.hm-student, .hm-panel) .hm-study-advice h3 { margin: 0; }
.hm-report-quote { margin: .55rem 0 0; padding: .18rem .66rem; border-inline-start: 2px solid #8eadd1; color: #214c7c; }
:is(.hm-student, .hm-panel) .hm-report-quote p { margin: 0; }
.hm-report-quote cite { font-style: normal; color: var(--hm-muted); font-size: .88em; }
.hm-comparison { --hm-benchmark-own: #234175; --hm-benchmark-peer: #2a67a1; }
.hm-comparison-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .6rem; }
:is(.hm-student, .hm-panel) .hm-comparison-heading h3 { margin: 0; }
.hm-comparison-heading > span { color: var(--hm-muted); font-size: .9em; font-weight: 700; }
.hm-comparison-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin: .65rem 0 .45rem; }
.hm-comparison-stats > div { padding: .4rem .65rem; border: 1px solid #d4e2ef; border-radius: 8px; background: #f3f8fe; }
.hm-comparison-stats dt { color: var(--hm-muted); font-size: .9em; }
.hm-comparison-stats dd { margin: .08rem 0 0; color: var(--hm-ink); font-size: 1.22em; line-height: 1.25; font-weight: 700; }
:is(.hm-student, .hm-panel) .hm-comparison-note { margin: .4rem 0; font-size: .89em; }
:is(.hm-student, .hm-panel) .hm-comparison h4 { margin: .9rem 0 .28rem; color: var(--hm-ink); font: 700 1.02em/1.4 var(--hm-font); }
.hm-report-table { overflow-x: auto; border: 1px solid var(--hm-line); border-radius: 8px; }
:is(.hm-student, .hm-panel) .hm-comparison-table { width: 100%; margin: 0; border-collapse: collapse; background: #fff; }
.hm-comparison-table :is(th, td) { padding: .37rem .35rem; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--hm-line); }
.hm-comparison-table thead th { background: #eaf2fb; color: #1e3e63; font-weight: 700; }
.hm-comparison-table tbody tr:last-child > * { border-bottom: 0; }
.hm-comparison-table tbody td { white-space: nowrap; }
.hm-comparison-table :is(th[scope="row"], th:first-child) { text-align: start; }
.hm-comparison-table th[scope="row"] { color: var(--hm-ink); }
.hm-subject-results { min-width: 39rem; font-size: .89em; }
.hm-comparison-scroll { display: none; }
.hm-subject-results th[scope="row"] { min-width: 6.8rem; }
.hm-leader-results .hm-standing-self { background: #f0f7ff; }
.hm-leader-results th:first-child { text-align: center; }
.hm-comparison-charts { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .55rem; margin-block-start: .8rem; align-items: start; }
.hm-benchmark-chart { margin: 0; padding: .6rem .75rem; border: 1px solid #d4e2ef; border-radius: 8px; background: #f8fbff; }
.hm-benchmark-chart figcaption { color: var(--hm-ink); font-weight: 700; }
.hm-benchmark-legend { display: flex; flex-wrap: wrap; gap: .2rem .8rem; color: var(--hm-muted); font-size: .89em; }
.hm-benchmark-legend > span::before { content: ""; display: inline-block; width: .62em; height: .62em; margin-inline-end: .25em; border-radius: 2px; background: var(--hm-benchmark-color); }
.hm-benchmark-own { --hm-benchmark-color: var(--hm-benchmark-own); }
.hm-benchmark-peer { --hm-benchmark-color: var(--hm-benchmark-peer); }
.hm-benchmark-group { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.5fr); align-items: center; gap: .38rem; padding-block: .28rem; }
.hm-benchmark-group + .hm-benchmark-group { border-top: 1px solid var(--hm-line); }
.hm-benchmark-subject { color: var(--hm-ink); font-size: .92em; }
.hm-benchmark-plot { display: grid; grid-template-columns: minmax(0,1fr) 4em; align-items: center; gap: .45rem; direction: ltr; }
.hm-benchmark-plot > strong { color: var(--hm-benchmark-color); text-align: right; direction: rtl; white-space: nowrap; font-size: .87em; line-height: 1.2; }
.hm-benchmark-track { position: relative; height: .47rem; border-radius: 3px; background: #e5ecf4; }
.hm-benchmark-track::before { position: absolute; z-index: 1; left: var(--hm-benchmark-origin); top: -.12rem; bottom: -.12rem; width: 1px; content: ""; background: #889aaf; }
.hm-benchmark-bar { position: absolute; inset-block: 0; left: var(--hm-benchmark-start); width: var(--hm-benchmark-width); border-radius: 3px; background: var(--hm-benchmark-color); }
.hm-sheet-legend { display: flex; flex-wrap: wrap; gap: .28rem .7rem; margin-block: .35rem; font-size: .87em; }
.hm-sheet-legend > span { padding-inline: .38rem; border: 1px solid var(--hm-line); border-radius: 4px; }
.hm-sheet-correct { --hm-sheet-color: #1f3964; --hm-sheet-tint: #e0e7f2; }
.hm-sheet-wrong { --hm-sheet-color: #9a2e32; --hm-sheet-tint: #fce7e6; }
.hm-sheet-blank { --hm-sheet-color: #425571; --hm-sheet-tint: #f1f4f8; }
.hm-sheet-legend > :is(.hm-sheet-correct, .hm-sheet-wrong, .hm-sheet-blank) { background: var(--hm-sheet-tint); color: var(--hm-sheet-color); }
.hm-sheet-legend > .hm-sheet-key { border-color: #2b67a1; color: #1b4a77; }
:is(.hm-student, .hm-panel) .hm-sheet-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill,minmax(6.55rem,1fr)); gap: .25rem .38rem; margin: 0; padding: .45rem; border: 1px solid var(--hm-line); border-radius: 8px; }
.hm-sheet-row { display: grid; grid-template-columns: minmax(1.45em,auto) repeat(4,minmax(0,1fr)); align-items: center; gap: .13rem; text-align: center; padding: .13rem; border-radius: 4px; color: var(--hm-sheet-color); background: var(--hm-sheet-tint); font-size: .83em; }
.hm-sheet-option { background: #fff; border: 1px solid #c1cede; border-radius: 3px; color: #43546b; line-height: 1.2; }
.hm-sheet-option.hm-sheet-selected { color: #fff; background: var(--hm-sheet-color); border-color: var(--hm-sheet-color); font-weight: 700; }
.hm-sheet-option.hm-sheet-key { outline: 1px solid #2b67a1; outline-offset: 1px; font-weight: 700; }
.hm-self-label { display: inline-block; margin-inline-start: .35rem; color: #214c7c; font-size: .84em; border: 1px solid #c4d7ef; border-radius: 4px; padding-inline: .28rem; }
.hm-answer-effect { position: fixed; z-index: 100000; pointer-events: none; }
.hm-red-wash {
  inset: 0; background: rgba(181, 34, 49, .27); box-shadow: inset 0 0 14vmin rgba(151, 26, 42, .44);
  animation: hm-red-wash-out 500ms ease-out both;
}
.hm-confetti { inset: 0; overflow: hidden; }
.hm-confetti-piece {
  --hm-piece-color: #3263b7; position: absolute; width: .55rem; height: .9rem; border-radius: .11rem;
  background: var(--hm-piece-color); animation: hm-confetti-flight var(--hm-flight) linear var(--hm-delay) both;
}
.hm-confetti-piece:nth-child(6n+1) { --hm-piece-color: #ffbd35; }
.hm-confetti-piece:nth-child(6n+2) { --hm-piece-color: #eb5086; width: .47rem; height: .68rem; }
.hm-confetti-piece:nth-child(6n+3) { --hm-piece-color: #328cff; }
.hm-confetti-piece:nth-child(6n+4) { --hm-piece-color: #8d59df; }
.hm-confetti-piece:nth-child(6n+5) { --hm-piece-color: #ff784f; }
.hm-confetti-piece:nth-child(7n) { width: .66rem; height: .67rem; }
@keyframes hm-red-wash-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes hm-confetti-flight {
  0% { transform: translate(0, 0) scale(.45); opacity: 0; animation-timing-function: cubic-bezier(.13,.65,.29,1); }
  7% { opacity: 1; }
  36% { transform: translate(var(--hm-x), var(--hm-y)) rotate(100deg); }
  85% { opacity: 1; }
  100% { transform: translate(calc(var(--hm-x) * 1.18), var(--hm-fall)) rotate(var(--hm-turn)) scale(.78); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-red-wash { animation: none; background: rgba(181, 34, 49, .17); }
  .hm-confetti { display: none; }
}
@media (max-width: 740px) { .hm-admin-layout { grid-template-columns: minmax(0,1fr); } }
@media screen and (max-width: 720px) {
  .hm-comparison-charts { grid-template-columns: minmax(0,1fr); }
  :is(.hm-student, .hm-panel) .hm-comparison-scroll { display: block; color: var(--hm-muted); margin: .1rem 0 .3rem; font-size: .85em; }
}
@media (max-width: 480px) {
  .hm-fields { grid-template-columns: minmax(0,1fr); }
  .hm-result-chart { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hm-result-chart .hm-score-ring { max-width: 8rem; }
  :is(.hm-student, .hm-panel) .hm-result-chart .hm-score { width: 100%; }
  :is(.hm-student, .hm-panel) .hm-question .hm-option { grid-template-columns: 1.9rem minmax(0,1fr); }
  .hm-option > strong { grid-column: 2; }
  .hm-report-facts { grid-template-columns: minmax(0,1fr); }
  .hm-comparison-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hm-benchmark-group { grid-template-columns: minmax(0,1fr); gap: .15rem; }
  :is(.hm-student, .hm-panel) .hm-history-legend { grid-template-columns: minmax(0,1fr); }
  .hm-answer-progress { gap: .37rem; }
}
@media print {
  @page { size: A4; margin: 13mm 12mm 14mm; }
  body.hm-paper-page { margin: 0; background: #fff; font-size: 11pt; color: #141a24; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .hm-paper-page .hm-main { margin: 0; max-width: none; padding: 0; }
  .hm-paper-page.hm-student .hm-report { border: 0; padding: 0; box-shadow: none; font-size: 11pt; }
  .hm-paper-page .hm-no-print, .hm-paper-page .hm-review-filters, .hm-paper-page .hm-review-detail, .hm-paper-page .hm-review-empty { display: none !important; }
  .hm-paper-page:not(.hm-print-detailed) .hm-print-detail { display: none !important; }
  .hm-paper-page .hm-review[data-filtered] { display: block !important; }
  .hm-paper-page .hm-print-only { display: block !important; }
  .hm-paper-page .hm-report-masthead, .hm-paper-page .hm-report-facts, .hm-paper-page .hm-result-chart,
  .hm-paper-page .hm-study-advice, .hm-paper-page .hm-report-history-chart, .hm-paper-page .hm-review { break-inside: avoid; }
  .hm-paper-page h3 { break-after: avoid; }
  .hm-paper-page .hm-report-masthead { padding: 2mm 3mm; }
  .hm-paper-page .hm-report-facts { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.8mm; margin: 2.5mm 0; }
  .hm-paper-page .hm-report-facts > div { padding: 1.2mm 2mm; }
  .hm-paper-page .hm-report-section { margin-block: 3mm; }
  .hm-paper-page.hm-student .hm-print-counts { margin-block: 2mm; padding: 1mm 2mm; background: var(--hm-tint); border-radius: 5px; }
  .hm-paper-page .hm-comparison-stats { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.2mm; }
  .hm-paper-page .hm-comparison-stats > div { padding: 1mm 1.5mm; }
  .hm-paper-page .hm-comparison-stats dd { font-size: 1.05em; }
  .hm-paper-page .hm-report-table { overflow: visible; }
  .hm-paper-page .hm-comparison-table thead { display: table-header-group; }
  .hm-paper-page .hm-leader-results, .hm-paper-page .hm-sheet-legend { break-inside: avoid; }
  .hm-paper-page .hm-sheet-legend { break-after: avoid; }
  .hm-paper-page .hm-comparison-table tr, .hm-paper-page .hm-benchmark-group, .hm-paper-page .hm-sheet-row,
  .hm-paper-page .hm-comparison-heading, .hm-paper-page .hm-comparison-stats { break-inside: avoid; }
  .hm-paper-page .hm-comparison h4, .hm-paper-page .hm-benchmark-chart figcaption { break-after: avoid; }
  .hm-paper-page .hm-benchmark-chart { break-inside: avoid; padding: 1.5mm 2mm; }
  .hm-paper-page .hm-benchmark-group { padding-block: 1mm; }
  .hm-paper-page .hm-subject-results { min-width: 0; font-size: .83em; }
  .hm-paper-page .hm-subject-results th[scope="row"] { min-width: 0; }
  .hm-paper-page .hm-comparison-table :is(th, td) { padding: 1.1mm; }
  .hm-paper-page .hm-sheet-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .hm-paper-page .hm-review-list { display: block; }
  .hm-paper-page .hm-review { margin-block-end: 2.5mm; padding-block-end: 1mm; }
  .hm-paper-page .hm-review .hm-review-prompt { color: #000; }
}

/* Dashboard surfaces keep their text legible inside WordPress and shop themes. */
.hm-admin, .hm-dashboard {
  --hm-ink: #131516;
  --hm-muted: #414d53;
  --hm-line: #dbe0e6;
  --hm-tint: #edf1f6;
  --hm-blue: #162e56;
  --hm-dashboard-shadow: 0 9px 24px rgba(20, 34, 58, .07);
  color: var(--hm-ink);
  color-scheme: light;
}
.hm-admin.wrap { max-width: 92rem; margin-block-start: 1.35rem; }
.hm-dashboard { display: grid; gap: 1rem; }
.hm-admin .hm-card, .hm-dashboard .hm-card {
  color: var(--hm-ink); background: #fff; border-color: var(--hm-line);
  border-radius: 17px; box-shadow: var(--hm-dashboard-shadow);
}
.hm-admin .hm-card h2 { padding-block-end: .5rem; border-block-end: 1px solid var(--hm-line); }
.hm-admin .hm-field :is(input, textarea, select) { background-color: #fff; border: 1px solid #a3abba; border-radius: 8px; }
.hm-admin .hm-card summary, .hm-admin .hm-table :is(td, th) { color: var(--hm-ink); }
.hm-admin .hm-table a { color: var(--hm-ink); text-decoration: underline; text-underline-offset: .14em; }
.hm-admin .hm-field small, .hm-member-admin .hm-table small { color: var(--hm-muted); }
.hm-admin .hm-table thead th { font-weight: 700; }
.hm-admin .hm-table tbody tr:nth-child(even) { background: #f8f9fa; }
.hm-admin .hm-table td { vertical-align: middle; }
.hm-admin .hm-app-share { max-width: none; }
.hm-admin-header, .hm-dashboard-hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.4rem;
  padding: clamp(1rem, 3.6vw, 1.8rem); border: 1px solid #c9d2de; border-inline-start: 4px solid #3e5988;
  border-radius: 18px; color: var(--hm-ink); background: linear-gradient(113deg, #dce4ef, #f3f6f9 79%);
}
.hm-admin-header > div { min-width: 0; }
.hm-admin-header h1, .hm-dashboard .hm-dashboard-hero h2 {
  margin: 0; color: #131516 !important; overflow-wrap: anywhere; font-weight: 700;
}
.hm-admin-header span, .hm-dashboard .hm-dashboard-brand { display: block; margin-block-end: .1rem; color: #303d52 !important; font-weight: 700; }
.hm-dashboard :is(h1,h2,h3,dt,dd,p,strong,small), .hm-dashboard .hm-exam-status {
  color: var(--hm-ink) !important;
}
.hm-admin :is(h1,h2,h3,dt,dd), .hm-admin .hm-field, .hm-admin .hm-check { color: var(--hm-ink) !important; }
.hm-dashboard .hm-muted { color: var(--hm-muted) !important; }
:is(.hm-admin,.hm-dashboard) .hm-button, .hm-dashboard .hm-dashboard-shortcuts a {
  min-height: 2.5rem; padding: .34rem .8rem; border-radius: 9px; color: #131516 !important;
  background: #d9e2ee; border: 1px solid #7b90b5; box-shadow: none; text-decoration: none;
}
.hm-dashboard :is(.hm-dashboard-shortcuts a, .hm-button.hm-secondary), .hm-admin .hm-app-share a.hm-button {
  display: inline-flex; align-items: center; background: #fff; border-color: #a8b2c3;
}
:is(.hm-admin,.hm-dashboard) .hm-button:hover, .hm-dashboard .hm-dashboard-shortcuts a:hover {
  background: #c7d3e5; border-color: #4c6591; color: #131516 !important;
}
.hm-exam-account .woocommerce-MyAccount-navigation li a {
  color: #131516 !important; background: #f7f8fa;
}
.hm-exam-account .woocommerce-MyAccount-navigation li.is-active a,
.hm-exam-account .woocommerce-MyAccount-navigation li a:hover {
  color: #131516 !important; background: #dce4ef;
}
.hm-panel-page .hm-student-head {
  background: #f9fafb; color: #131516; border-bottom: 1px solid #ced6e0;
}
.hm-panel-page .hm-student-head a { color: #131516; }
.hm-dashboard-metrics { margin: 0; gap: .65rem; }
.hm-admin .hm-dashboard-metrics { margin-block: 1rem; }
.hm-dashboard-metrics > div {
  background: #fff; border: 1px solid var(--hm-line); border-radius: 13px;
  padding: .65rem clamp(.5rem, 2.75vw, .95rem); overflow-wrap: anywhere;
}
.hm-dashboard-metrics dt { line-height: 1.4; }
.hm-dashboard .hm-exam-tile { border-inline-start-color: #7b90b3; }
.hm-dashboard .hm-exam-tile .hm-button { justify-self: start; }
.hm-dashboard .hm-status-ready, .hm-dashboard .hm-status-active { background: #e1e8f2; }
.hm-dashboard .hm-status-finished { background: #e9eef4; }
.hm-dashboard .hm-progress-label a { color: #131516 !important; }
.hm-dashboard .hm-progress { scroll-margin-block-start: 1rem; }
.hm-member-filters, .hm-member-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.hm-member-filters { margin-block: .75rem 1rem; }
.hm-member-filters a {
  padding: .25rem .7rem; border: 1px solid #c3cbd7; border-radius: 999px; color: #131516 !important;
  background: #fff; text-decoration: none;
}
.hm-member-filters a:hover, .hm-member-filters a[aria-current="page"] { background: #dce4ef; border-color: #7b90b5; }
.hm-admin .hm-member-actions .button {
  padding: .25rem .55rem; color: #131516; border-color: #a3abba; background: #fff; font: 700 .91em/1.5 var(--hm-font);
}
.hm-admin .hm-member-actions .button:hover { background: #edf1f6; }
.hm-member-admin .hm-table th { min-width: 7rem; }
.hm-member-admin .hm-table th:last-child { width: 35%; }
.hm-member-admin .hm-table td bdi { overflow-wrap: anywhere; }
.hm-membership-callout {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem;
}
.hm-catalog .hm-membership-callout { margin-block-start: 1rem; }
.hm-membership-callout h2, .hm-membership-callout p { margin: 0; }
.hm-membership-page .hm-signup-hero { color: #131516; background: linear-gradient(110deg, #dce4ef, #f3f6f9); border-bottom: 1px solid #c9d2de; }
.hm-membership-page .hm-signup-card .hm-signup-hero :is(h1,p) { color: #131516 !important; }
.hm-membership-page .hm-signup-message { padding: clamp(1rem, 4vw, 1.65rem); }
.hm-membership-page .hm-student-head { background: #f9fafb; color: #131516; border-bottom: 1px solid #ced6e0; }
.hm-membership-page .hm-student-head a { color: #131516; }
.hm-membership-page .hm-fields, .hm-member-admin .hm-fields {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: .65rem 2%;
}
.hm-membership-page .hm-fields > *, .hm-member-admin .hm-fields > * { flex: 0 0 100%; min-width: 0; }
.hm-membership-page .hm-field, .hm-member-admin .hm-field { display: flex; flex-direction: column; }
.hm-membership-page .hm-field input, .hm-member-admin .hm-field input { display: block; }
@media (min-width: 560px) {
  .hm-membership-page .hm-fields > .hm-field:not(.hm-span),
  .hm-member-admin .hm-fields > .hm-field:not(.hm-span) { flex-basis: 49%; }
}
:is(.hm-panel,.hm-student) .hm-rank {
  background: linear-gradient(110deg, #edf2f8, #f7f9fc); border-color: #c9d3e0; color: #131516;
}
.hm-rank-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem .85rem; }
.hm-rank-heading .hm-rank-points {
  padding: .15rem .65rem; background: #d8e1ed; color: #131516; border-radius: 999px; white-space: nowrap;
}
:is(.hm-panel,.hm-student) .hm-rank :is(h3, p) { margin: 0; color: #131516; }
.hm-rank h3 { font-size: 1.15em; }
.hm-rank-heading p { font-size: 1.3em; }
.hm-rank progress {
  display: block; appearance: none; width: 100%; height: .58rem; margin-block: .6rem .45rem;
  overflow: hidden; border: 0; border-radius: .45rem; background: #dbe1e9; color: #304871;
}
.hm-rank progress::-webkit-progress-bar { background: #dbe1e9; }
.hm-rank progress::-webkit-progress-value { background: #304871; border-radius: .45rem; }
.hm-rank progress::-moz-progress-bar { background: #304871; border-radius: .45rem; }
.hm-session-rank { padding: .65rem .85rem; margin-block: .75rem; }
@media (max-width: 640px) {
  .hm-catalog-top > div { flex-wrap: wrap; padding-block: .65rem; }
  .hm-catalog-top nav { flex-wrap: wrap; }
  .hm-admin-header .hm-button { width: fit-content; }
  .hm-member-admin .hm-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .hm-member-admin .hm-table :is(table, tbody, tr, td) { display: block; }
  .hm-member-admin .hm-table tr { border: 1px solid var(--hm-line); border-radius: 12px; margin-block-end: .7rem; }
  .hm-member-admin .hm-table td { border-bottom: 1px solid var(--hm-line); }
  .hm-member-admin .hm-table td::before { content: attr(data-label); display: block; font-size: .86em; font-weight: 700; }
  .hm-member-admin .hm-table td:last-child { border-bottom: 0; }
}

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.hm-admin { --hm-font: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif; font: 400 .93rem/1.85 var(--hm-font); }
.hm-admin :is(button, select, textarea, input), #adminmenu #toplevel_page_hamyar-exams :is(.wp-menu-name, .wp-submenu a) {
  font-family: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif;
}
:is(.hm-student, .hm-panel) .hm-exam-card:not(.hm-report),
:is(.hm-student, .hm-panel) .hm-report,
.hm-notebook-page {
  --hm-font: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif;
  font: 400 .94rem/1.85 var(--hm-font);
  color: #17283e;
}
:is(.hm-student, .hm-panel) .hm-exam-card:not(.hm-report) {
  --hm-line: #d4e2f0;
  border-radius: 18px;
  padding: clamp(.85rem, 3vw, 1.55rem);
}
:is(.hm-student, .hm-panel) .hm-exam-hero h1 {
  color: #fff;
  font-size: clamp(1.18rem, 3.6vw, 1.65rem);
  line-height: 1.55;
}
.hm-exam-card .hm-session-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  align-items: center;
  justify-content: space-between;
  gap: .45rem .75rem;
  background: #f0f6fc;
  padding: .55rem .65rem;
  border: 1px solid #d6e4f3;
  border-radius: 10px;
}
:is(.hm-student, .hm-panel) .hm-exam-card .hm-session-status p { margin: 0; }
.hm-exam-card .hm-clock-panel { display: flex; align-items: center; gap: .3rem; }
.hm-exam-card .hm-clock-panel strong { display: inline-block; font-variant-numeric: tabular-nums; }
.hm-exam-card .hm-average-time { font-size: .82rem; color: #20496f; font-weight: 650; }
.hm-exam-card .hm-answer-progress { margin-block: .65rem .9rem; }
.hm-exam-card .hm-exam-point-chip { margin-inline-start: auto; border-radius: 6px; padding-inline: .38rem; background: #edf5fd; color: #20496f; white-space: nowrap; }
:is(.hm-student, .hm-panel) .hm-active-question .hm-question-header {
  background: #edf5fd; padding: .9rem 1rem;
}
:is(.hm-student, .hm-panel) .hm-active-question .hm-question-header h2 {
  font-size: clamp(1rem, 2.7vw, 1.24rem);
  line-height: 1.9;
}
.hm-active-question .hm-choices { position: relative; grid-template-columns: repeat(1, minmax(0, 1fr)); }
.hm-active-question .hm-choices[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-active-question .hm-choices[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-choice-measure { position: absolute; inset-inline-start: 0; visibility: hidden; white-space: pre; pointer-events: none; }
:is(.hm-student, .hm-panel) .hm-active-question .hm-option {
  position: relative; grid-template-columns: 1.55rem minmax(0,1fr);
  align-items: center; min-height: 48px; gap: .35rem; padding: .45rem .42rem; border-radius: 9px;
}
:is(.hm-student, .hm-panel) .hm-active-question .hm-option.hm-picked { padding-inline-end: 1.52rem; }
:is(.hm-student, .hm-panel) .hm-active-question .hm-option .hm-option-number { width: 1.5rem; height: 1.5rem; font-size: .82em; }
:is(.hm-student, .hm-panel) .hm-active-question .hm-option .hm-option-text { font-weight: 550; font-size: .9rem; line-height: 1.85; }
:is(.hm-student, .hm-panel) .hm-active-question .hm-option .hm-mark {
  position: absolute; inset-inline-end: .28rem; inset-block-start: 50%; transform: translateY(-50%);
  padding: 0; background: transparent; font-size: .88rem;
}
.hm-active-question .hm-mark > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hm-exam-card .hm-question-nav { margin-block: .6rem; border: 1px solid #dce7f3; border-radius: 9px; padding: .42rem .65rem; }
.hm-exam-card .hm-question-nav summary,
.hm-note-editor summary { cursor: pointer; color: #244d77; font-weight: 680; }
.hm-exam-card .hm-numbers { margin-block: .55rem .15rem; gap: .33rem; }
.hm-exam-card .hm-numbers .hm-button { min-width: 40px; min-height: 38px; font-variant-numeric: tabular-nums; }
.hm-note-editor {
  margin-block: .85rem .55rem; padding: .55rem .75rem; background: #f7faff;
  border: 1px solid #d6e4f2; border-radius: 10px;
}
:is(.hm-note-editor, .hm-notebook-row) label { display: block; margin-block: .45rem .22rem; font-weight: 650; }
:is(.hm-note-editor, .hm-notebook-row) textarea {
  display: block; width: 100%; min-height: 5rem; resize: vertical; border-radius: 8px;
  border: 1px solid #b8ccdf; color: #162537; background: #fff; font: inherit; padding: .45rem .55rem;
}
.hm-note-actions { margin-block-end: 0; }
.hm-note-actions a { font-size: .83rem; }
.hm-note-status { color: #304d67; font-size: .86rem; }
.hm-notebook-page .hm-main { max-width: 940px; }
.hm-notebook-head { background: linear-gradient(125deg, #eff7ff, #fff); border-inline-start: 4px solid #4277ad; }
.hm-notebook-page .hm-notebook-head h1 { font-size: clamp(1.28rem, 4vw, 1.7rem); margin: 0; }
.hm-notebook-page .hm-notebook-head p { margin: .25rem 0 0; }
.hm-notebook-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: .85rem; }
.hm-notebook-tabs a[aria-current="page"] { background: #e3effc; border-color: #89a9ce; }
.hm-notebook-group ol { display: grid; gap: .55rem; padding: 0; list-style: none; }
.hm-notebook-group h2 { margin-block: 1.1rem .4rem; font-size: 1.08rem; }
.hm-notebook-row { padding: .7rem .85rem; border-radius: 10px; }
.hm-notebook-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem; font-size: .84rem; color: #42617d; }
.hm-notebook-row p { margin: .22rem 0; }
.hm-notebook-prompt { font-weight: 650; white-space: pre-wrap; }
.hm-notebook-wrong { color: #8a2833; }
.hm-notebook-key { color: #133061; }
.hm-notebook-row button { margin-block-start: .45rem; }

.hm-paper-page .hm-main { max-width: 997px; }
:is(.hm-student, .hm-panel) .hm-report { font-size: .88rem; line-height: 1.72; padding: clamp(.85rem, 3vw, 1.65rem); }
:is(.hm-student, .hm-panel) .hm-report-masthead {
  background: linear-gradient(115deg, #e5f1ff, #fbfdff 72%);
  padding: .75rem .95rem; border-radius: 13px;
}
:is(.hm-student, .hm-panel) .hm-report-masthead h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
:is(.hm-student, .hm-panel) .hm-report .hm-report-exam-name { font-size: .93rem; }
.hm-report .hm-report-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .42rem; }
.hm-report .hm-report-facts > div { background: #f9fbfe; padding: .35rem .5rem; }
.hm-report .hm-report-actions { gap: .4rem; }
.hm-report h3 { font-size: 1.04rem; }
.hm-report .hm-review-list {
  display: grid; gap: 0; border: 1px solid #d4e0ee; border-radius: 10px;
}
.hm-report .hm-review-list:empty { display: none; }
.hm-report .hm-review {
  min-width: 0; border: 0; border-inline-start: 2px solid var(--hm-review-edge); border-radius: 0;
  box-shadow: inset 0 -1px #e3eaf3; background: #fff;
}
.hm-report .hm-review:nth-child(even) { background: #f8fbff; }
.hm-report .hm-review-detail { margin: 0; }
:is(.hm-student, .hm-panel) .hm-report .hm-review-summary {
  display: grid; grid-template-columns: minmax(2.5rem, 4.5ch) minmax(0, 1fr) auto .75rem;
  align-items: start; gap: clamp(.3rem, 1vw, .65rem); padding: .39rem .48rem;
  list-style: none; color: #17283e; font-size: .83rem; line-height: 1.75;
}
.hm-report .hm-review-summary::-webkit-details-marker { display: none; }
.hm-report .hm-review-order { display: grid; place-items: center; min-width: 2.3rem; padding: .08rem .18rem; border-radius: 4px; background: #edf3fa; color: #253e57; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-report .hm-review-arrow { justify-self: center; color: #4c6783; font-weight: 700; }
.hm-report details[open] .hm-review-arrow { transform: rotate(180deg); }
.hm-report .hm-review-tag { font-size: .78em; font-weight: 670; }
.hm-report .hm-review-prompt { white-space: normal; overflow-wrap: anywhere; }
.hm-report .hm-review-expanded { padding: .25rem .55rem .65rem; border-block-start: 1px dashed #d9e5f1; }
.hm-report .hm-review-expanded .hm-choices { gap: .25rem; }
:is(.hm-student, .hm-panel) .hm-report .hm-review-expanded .hm-option { min-height: 35px; padding: .24rem .42rem; }
:is(.hm-student, .hm-panel) .hm-report .hm-review-expanded .hm-option-text { font-weight: 500; }
.hm-report .hm-review-print-answer { display: block; color: #384e62; }

.hm-red-wash, .hm-blue-wash { display: grid; place-items: center; overflow: hidden; }
.hm-red-wash {
  background: radial-gradient(ellipse at center, #9e2332c9, #580612f2);
  box-shadow: inset 0 0 15vmin #49030a9c;
  animation: hm-crimson-tint 1.05s ease both;
}
.hm-blue-wash { background: transparent; animation: none; }
.hm-blue-wash::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse, #2658ada1, #051f4cdb);
  animation: hm-blue-tint 1.16s ease-out both;
}
@keyframes hm-blue-tint { 0%, 28% { opacity: 1; } 100% { opacity: 0; } }
.hm-blue-wash .hm-effect-caption { animation: hm-blue-tint 1.16s ease-out both; }
@keyframes hm-crimson-tint { 0%, 43% { opacity: 1; } 100% { opacity: 0; } }
.hm-effect-caption {
  position: relative; z-index: 1; padding: .55rem 1.3rem; border-radius: 12px; border: 1px solid #fff9;
  color: #fff; background: #071b3c; font: 800 clamp(1.04rem, 5vw, 1.65rem)/1.55 "Vazirmatn", Tahoma, sans-serif;
  text-align: center; direction: rtl; box-shadow: 0 11px 40px #09132438;
}
.hm-red-wash .hm-effect-caption { background: #670e1a; }
.hm-confetti-piece.hm-flower {
  background: transparent; width: auto; height: auto;
  font: normal clamp(1.25rem, 4.2vw, 2.1rem)/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  animation-name: hm-flower-flight;
}
.hm-confetti-piece.hm-bouquet { font-size: clamp(1.95rem, 6vw, 3.25rem); }
@keyframes hm-flower-flight {
  0% { transform: translate(0, 0) scale(.42); opacity: 0; animation-timing-function: cubic-bezier(.16,.65,.28,1); }
  9% { opacity: 1; }
  39% { transform: translate(var(--hm-x), var(--hm-y)) rotate(-17deg); }
  86% { opacity: 1; }
  100% { transform: translate(calc(var(--hm-x) * 1.08), var(--hm-fall)) rotate(var(--hm-turn)) scale(.86); opacity: 0; }
}
.hm-exam-jolt { animation: hm-exam-jolt .49s ease-out both; }
@keyframes hm-exam-jolt {
  0%, 100% { transform: translateY(0); } 13% { transform: translateY(-12px); } 32% { transform: translateY(10px); }
  52% { transform: translateY(-7px); } 73% { transform: translateY(4px); }
}
@media (max-width: 590px) {
  .hm-exam-card .hm-session-status { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
  .hm-exam-card .hm-session-status .hm-effects-toggle { justify-self: end; }
  .hm-exam-card .hm-average-time { line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-exam-jolt, .hm-red-wash, .hm-blue-wash::before, .hm-blue-wash .hm-effect-caption { animation: none; }
  .hm-red-wash { background: #8b253251; box-shadow: none; }
  .hm-blue-wash.hm-confetti { display: grid; }
  .hm-blue-wash::before { background: #183a7552; }
  .hm-confetti-piece { display: none; }
}
@media print {
  .hm-paper-page.hm-student .hm-report { font-size: 9.3pt; line-height: 1.46; }
  .hm-paper-page .hm-report .hm-report-masthead { padding: 2mm 2.5mm; }
  .hm-paper-page .hm-report .hm-report-masthead h2 { font-size: 14pt; }
  .hm-paper-page .hm-report .hm-report-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4mm; }
  .hm-paper-page .hm-report .hm-report-facts > div { padding: .7mm 1.4mm; }
  .hm-paper-page .hm-report .hm-review-list { display: block; }
  .hm-paper-page .hm-report .hm-review { margin: 0; padding: .65mm 1.3mm; }
  .hm-paper-page .hm-report .hm-review-print { font-size: 8.15pt; }
  .hm-paper-page .hm-report .hm-review-print-answer { font-size: 7.4pt; }
}

.hm-public-app, .hm-dashboard, .hm-app-nav {
  --hm-font: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif;
  font: 400 .92rem/1.8 var(--hm-font);
}
.hm-public-app, .hm-panel-page { background: #f0f2f5; }
.hm-app-nav { background: #fff; border-block-end: 1px solid #d9dee6; }
.hm-app-nav-inner { display: flex; justify-content: space-between; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; width: auto; max-width: 69rem; margin: 0 auto; padding: .7rem 1rem; }
.hm-app-brand { display: grid; text-decoration: none; line-height: 1.35; }
.hm-app-brand strong { color: #13223c; font-size: 1.22rem; font-weight: 820; }
.hm-app-brand span { color: #415069; font-size: .73rem; }
.hm-app-nav nav { display: flex; max-width: 100%; align-items: center; gap: .28rem .5rem; flex-wrap: wrap; }
.hm-app-nav nav a, .hm-catalog-filters a:not(.hm-button) { display: inline-flex; padding: .3rem .58rem; min-height: 36px; align-items: center; border-radius: 8px; color: #16253f; text-decoration: none; font-weight: 640; }
.hm-app-nav nav a:hover, .hm-app-nav nav a[aria-current="page"] { background: #e4e9f1; color: #12223e; }
.hm-public-app .hm-catalog-hero { background: linear-gradient(115deg, #0d234a, #122442 78%); border-inline-start-color: #8094b6; }
.hm-public-app .hm-catalog-hero h1 { color: #fff; font-size: clamp(1.55rem, 4.5vw, 2.5rem); font-weight: 810; }
.hm-public-app .hm-catalog-hero p { color: #e3e9f2; }
.hm-public-app .hm-catalog-hero .hm-button { background: #e5ebf4; color: #14243f; border-color: #abbcd3; text-decoration: none; }
.hm-public-app .hm-catalog-hero .hm-button.hm-secondary { background: transparent; color: #fff; border-color: #899ab8; }
.hm-catalog-filters { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-block: .9rem; }
.hm-catalog-filters a:not(.hm-button) { border: 1px solid #cdd4df; background: #fff; }
.hm-catalog-filters a:not(.hm-button):hover, .hm-catalog-filters a[aria-current="page"] { background: #d7e0ec; border-color: #8e9eba; }
.hm-public-app .hm-catalog-main { width: auto; max-width: 66rem; margin: 0 auto; padding-inline: 1rem; }
.hm-catalog-main > section > h2 { margin-block: 1rem .3rem; }
.hm-catalog .hm-subject-card, .hm-catalog .hm-catalog-exam { border-inline-start-color: #788caf; }
.hm-catalog .hm-subject-card { color: #18263d; }
.hm-catalog-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-block-end: .3rem; }
.hm-offer { display: inline-block; padding: .12rem .44rem; border-radius: 6px; background: #e7f0fb; color: #123c64; font-weight: 700; font-size: .81em; }
.hm-offer-free { background: #d9e3f0; color: #142b52; }
.hm-offer-single { background: #f9ead6; color: #67411b; }
.hm-offer-league { background: #ece8fa; color: #4e367c; }
.hm-panel-page .hm-main { max-width: 1130px; }
.hm-dashboard-layout { display: grid; grid-template-columns: minmax(13.2rem, .32fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.hm-dashboard-content, .hm-candidate-sidebar { display: grid; gap: .8rem; min-width: 0; }
.hm-candidate-profile { padding: .85rem; scroll-margin-block-start: 1rem; }
.hm-profile-id { display: flex; gap: .68rem; align-items: center; min-width: 0; }
.hm-profile-id h2 { overflow-wrap: anywhere; margin: 0; font: 780 .98rem/1.55 var(--hm-font); }
.hm-profile-id p { margin: .2rem 0 0; font-size: .77rem; }
.hm-profile-avatar { display: grid; place-items: center; flex: 0 0 3.25rem; width: 3.25rem; height: 3.25rem; object-fit: cover; border-radius: 14px; background: #d8e1ed; color: #172a4c; font-weight: 800; }
.hm-candidate-profile details { margin-block-start: .65rem; }
.hm-candidate-profile summary { cursor: pointer; color: #172d52; font-weight: 700; }
.hm-profile-form { padding-block-start: .4rem; }
.hm-profile-form input { display: block; min-width: 0; width: 100%; max-width: 100%; color: #141e2f; font: inherit; }
.hm-profile-form button { margin-block-start: .3rem; }
.hm-candidate-menu { display: grid; align-content: start; gap: .22rem; padding: .65rem; }
.hm-candidate-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 37px; gap: .4rem; text-decoration: none; color: #172640; border-radius: 8px; padding-inline: .55rem; font-weight: 650; }
.hm-candidate-menu a:hover, .hm-candidate-menu a[aria-current="page"] { background: #dce4ee; color: #15243e; }
.hm-purchase-card { max-width: 620px; margin: .5rem auto; }
.hm-admin .hm-table td.hm-analytics-key { background: #dae3f0; color: #102446; font-weight: 750; }

.hm-student, .hm-panel {
  --hm-correct-strong: #0b3173; --hm-correct-dark: #092659; --hm-correct-light: #d3e0f2;
  --hm-wrong-strong: #b51f46; --hm-wrong-dark: #8d1739; --hm-wrong-light: #fce5ec;
  --hm-score-blue: #0b3173; --hm-score-red: #b51f46;
}
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-correct { color: var(--hm-correct-dark); background: var(--hm-correct-light); border-color: var(--hm-correct-strong); }
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-incorrect { color: var(--hm-wrong-dark); background: var(--hm-wrong-light); border-color: var(--hm-wrong-strong); }
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-correct .hm-option-number { color: #fff !important; background: var(--hm-correct-strong); }
:is(.hm-student, .hm-panel) .hm-question .hm-option.hm-incorrect .hm-option-number { color: #fff !important; background: var(--hm-wrong-strong); }
.hm-option.hm-correct { --hm-mark-color: var(--hm-correct-dark); }
.hm-option.hm-incorrect { --hm-mark-color: var(--hm-wrong-dark); }
.hm-incorrect .hm-mark-icon { background: var(--hm-wrong-light); }
.hm-feedback-correct { color: var(--hm-correct-dark); background: var(--hm-correct-light); border-inline-start: 4px solid var(--hm-correct-strong); }
.hm-feedback-incorrect { color: var(--hm-wrong-dark); background: var(--hm-wrong-light); border-inline-start: 4px solid var(--hm-wrong-strong); }
:is(.hm-student,.hm-panel) .hm-feedback-tip { margin: .43rem .5rem .2rem; font-size: .9em; color: var(--hm-wrong-dark); }
:is(.hm-student, .hm-panel) .hm-numbers .hm-nav-correct { color: #fff; background: var(--hm-correct-strong); border-color: var(--hm-correct-dark); }
:is(.hm-student, .hm-panel) .hm-numbers .hm-nav-wrong { color: #fff; background: var(--hm-wrong-strong); border-color: var(--hm-wrong-dark); }
.hm-review-correct { --hm-review-edge: var(--hm-correct-strong); --hm-review-color: #fff; --hm-review-tint: var(--hm-correct-strong); }
.hm-review-wrong { --hm-review-edge: var(--hm-wrong-strong); --hm-review-color: #fff; --hm-review-tint: var(--hm-wrong-strong); }
.hm-sheet-correct { --hm-sheet-color: var(--hm-correct-dark); --hm-sheet-tint: var(--hm-correct-light); }
.hm-sheet-wrong { --hm-sheet-color: var(--hm-wrong-dark); --hm-sheet-tint: var(--hm-wrong-light); }
.hm-notebook-wrong { color: var(--hm-wrong-dark); }
.hm-notebook-key, .hm-review-key { color: var(--hm-correct-dark); }
.hm-explanation-title { display: block; margin-block-end: .23rem; color: #172a4c; }
.hm-red-wash {
  background: radial-gradient(ellipse at center, #8e133947 18%, #8d123cd1);
  box-shadow: inset 0 0 14vmin #a01b52b5;
  animation: hm-crimson-tint 1.45s ease both;
}
.hm-red-wash .hm-effect-caption { background: #881532; }
.hm-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.hm-report-quotes .hm-report-quote { margin: 0; padding: .48rem .65rem; background: #f4f8fc; border-radius: 5px; }
.hm-report-quotes cite { display: block; margin-block-start: .25rem; font-size: .79em; }
@media (max-width: 720px) {
  .hm-dashboard-layout { grid-template-columns: minmax(0,1fr); }
  .hm-candidate-menu { display: flex; flex-wrap: wrap; }
  .hm-candidate-menu a { border: 1px solid #d3dae4; }
  .hm-candidate-menu a span { display: none; }
}
@media (max-width: 500px) {
  .hm-quote-grid { grid-template-columns: minmax(0,1fr); }
  .hm-app-nav nav { gap: .16rem; }
  .hm-app-nav nav a { font-size: .77rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-red-wash { animation: none; background: #8d17394d; box-shadow: none; }
}
@media print {
  .hm-paper-page .hm-report-quote { break-inside: avoid; }
  .hm-paper-page .hm-report-quotes { break-inside: avoid; }
}

.hm-attempt-summary {
  align-items: center;
  background: #f1f3f7;
  border-inline-start: 3px solid #4a6490;
  padding: .55rem .75rem;
  margin-block-end: .7rem;
  border-radius: 7px;
}

.hm-music-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  padding: .5rem .65rem;
  margin-block: .65rem 1rem;
  border-radius: 9px;
  border: 1px solid var(--hm-line);
  background: #f6f9fb;
}
.hm-music-controls label { font-weight: 700; color: var(--hm-ink); }
.hm-music-controls select {
  font: inherit; color: var(--hm-ink); background: #fff;
  border-radius: 7px; border: 1px solid #b9cbdc; min-height: 36px; padding: .18rem .45rem; max-width: 100%;
}
:is(.hm-student, .hm-panel) .hm-music-controls .hm-button,
:is(.hm-student, .hm-panel) .hm-auto-next .hm-button { min-height: 34px; padding: .15rem .5rem; font-size: .85em; }
.hm-music-status { font-size: .83em; color: var(--hm-muted); }
.hm-auto-next {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .7rem;
  align-items: center;
  margin-block: .45rem .25rem;
  color: var(--hm-muted);
  font-size: .86em;
}
:is(.hm-student, .hm-panel) .hm-active-question .hm-option.hm-correct { padding-inline-end: 1.52rem; }
.hm-answer-inline-effect.hm-red-wash {
  background: transparent;
  box-shadow: inset 0 0 min(12vmin, 62px) #a01b5280;
}
.hm-answer-inline-effect.hm-blue-wash::before {
  background: radial-gradient(ellipse at center, transparent 55%, #113f8f42);
}
@media (prefers-reduced-motion: reduce) {
  .hm-answer-inline-effect.hm-red-wash { box-shadow: inset 0 0 min(8vmin, 36px) #a01b5245; }
  .hm-answer-inline-effect.hm-blue-wash::before { background: transparent; }
}

.hm-app-nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .65rem 1rem;
}
.hm-app-nav .hm-app-brand {
  display: flex;
  align-items: center;
  gap: .58rem;
  justify-self: start;
}
.hm-app-brand > div { display: grid; gap: .12rem; }
.hm-app-brand .hm-app-monogram {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: .8rem;
  background: #162e58;
  color: #fff;
  font-size: .98rem;
  font-weight: 820;
}
.hm-app-nav nav.hm-app-links { justify-content: center; }
.hm-app-nav .hm-app-links a {
  min-height: 42px;
  text-align: center;
  justify-content: center;
  line-height: 1.4;
}
.hm-app-nav .hm-app-link-free { color: #15294c; background: #ebf0f6; }
.hm-app-nav .hm-app-links a[aria-current="page"] { color: #fff; background: #183059; }
.hm-app-nav .hm-app-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 42px;
  padding-inline: .85rem;
  border: 1px solid #b0bccd;
  border-radius: 9px;
  background: #fff;
  color: #192c4c;
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
}
.hm-app-nav .hm-app-account:hover, .hm-app-nav .hm-app-account[aria-current="page"] { background: #e4e9f1; }
.hm-app-nav a:focus-visible, .hm-leader-picker :is(select, button):focus-visible {
  outline: 2px solid #1c3766;
  outline-offset: 2px;
}
.hm-exam-account .hm-app-nav { margin-block-end: .9rem; }
.hm-dashboard .hm-subject-leaders {
  border-color: #c7d0dc;
  border-block-start: 3px solid #a38236;
  scroll-margin-block-start: 1rem;
}
.hm-subject-leaders-head h3 { margin: 0; font-size: 1.22rem; }
.hm-subject-leaders-head p, .hm-subject-leaders > p { margin: .18rem 0 .7rem; font-size: .9em; }
.hm-leader-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  margin-block: .6rem 1rem;
}
.hm-leader-picker label { font-weight: 700; }
.hm-leader-picker select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: .3rem .55rem;
  border: 1px solid #aeb8c5;
  border-radius: 8px;
  background: #fff;
  color: #18253b;
  font: inherit;
  text-overflow: ellipsis;
}
.hm-leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: .65rem;
}
.hm-leader-subject { padding: .65rem; border: 1px solid #dee2e7; border-radius: 11px; background: #fafbfd; }
.hm-leader-subject h4 { margin: 0 0 .55rem; color: #222e44; font-size: .97rem; overflow-wrap: anywhere; }
.hm-leader-subject p { margin: 0; font-size: .89em; }
.hm-leader-rows { display: grid; gap: .36rem; margin: 0; padding: 0; list-style: none; }
.hm-leader-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .38rem;
  min-height: 2.1rem;
  padding: .2rem .38rem;
  border-radius: 7px;
  background: #eff1f4;
}
.hm-leader-row:first-child { background: #f8f1dd; }
.hm-leader-row.hm-leader-self { outline: 1px solid #536d99; }
.hm-leader-rank {
  display: grid;
  place-items: center;
  min-height: 1.55rem;
  border-radius: 5px;
  background: #fff;
  color: #514b31;
  font-weight: 770;
  font-size: .82em;
  white-space: nowrap;
  padding-inline: .35rem;
}
.hm-leader-name { min-width: 0; overflow-wrap: anywhere; }
.hm-leader-name small { margin-inline-start: .15rem; font-weight: 700; }
.hm-leader-row strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 940px) {
  .hm-app-nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-app-nav nav.hm-app-links { grid-column: 1 / -1; grid-row: 2; justify-content: start; }
  .hm-app-nav .hm-app-account { grid-column: 2; grid-row: 1; }
}
@media (max-width: 540px) {
  .hm-app-nav nav.hm-app-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .25rem;
  }
  .hm-app-nav .hm-app-links a { grid-column: span 2; padding-inline: .24rem; border: 1px solid #dce1e8; }
  .hm-app-nav .hm-app-links a:nth-last-child(-n+2) { grid-column: span 3; }
  .hm-leader-picker { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-leader-picker label { grid-column: 1 / -1; }
}

/* Shared blue palette for the catalog, candidate dashboard and management. */
.hm-public-app, .hm-panel-page { background: #f1f5fc; }
.hm-app-nav-inner { display: flex; justify-content: space-between; flex-wrap: wrap; }
.hm-app-nav .hm-app-brand, .hm-app-nav .hm-app-account { flex: 0 0 auto; }
.hm-app-nav .hm-app-monogram { flex: 0 0 2.65rem; }
.hm-app-nav nav.hm-app-links { flex: 1 1 auto; }
.hm-app-nav .hm-app-monogram, .hm-app-nav .hm-app-links a[aria-current="page"] { background: #174ba8; }
.hm-app-nav .hm-app-link-free { background: #eaf2ff; color: #123e86; }
.hm-app-nav .hm-app-link-dey { color: #2147a4; font-weight: 780; }
.hm-app-nav .hm-app-link-dey[aria-current="page"] { color: #fff; }
.hm-public-app .hm-catalog-hero {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(115deg, #10275a, #204fc4 75%, #2d66d1);
  border-inline-start-color: #7eabff;
}
.hm-public-app .hm-catalog-hero p { color: #edf3ff; margin: .45rem 0 0; }
.hm-catalog-main .hm-catalog-hero h1 { margin: 0; }
.hm-collection-grid, .hm-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-block: .95rem;
}
.hm-collection-card {
  display: grid;
  justify-items: start;
  gap: .5rem;
  min-width: 0;
  padding: clamp(.9rem, 3.4vw, 1.5rem);
  background: #fff;
  border: 1px solid #ccdafa;
  border-radius: 15px;
  text-decoration: none;
}
.hm-collection-card:hover { border-color: #5d86e3; background: #f9fbff; }
.hm-collection-card strong { color: #142d67; font-size: clamp(1rem, 2.8vw, 1.35rem); }
.hm-collection-type, .hm-catalog-results-head > span {
  padding: .12rem .55rem;
  border-radius: 6px;
  background: #e8f1ff;
  color: #1b4898;
  font-size: .84em;
  font-weight: 750;
}
.hm-collection-paid { background: #eff3ff; border-color: #a4baf6; }
.hm-catalog-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-block: 1rem .5rem;
}
.hm-catalog-results-head h2 { margin: 0; font-size: 1.15rem; }
.hm-catalog-exams { display: flex; flex-wrap: wrap; gap: 1rem; margin-block-start: .55rem; }
.hm-catalog .hm-catalog-exam {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc((100% - 2rem) / 3);
  padding: .85rem 1rem 1rem;
  border: 1px solid #d4dff0;
  border-block-start: 3px solid #8ca8e9;
  border-radius: 14px;
}
.hm-catalog .hm-catalog-exam h2 { margin-block: .25rem .1rem; color: #172e61; font-size: 1.08rem; }
.hm-exam-subject { color: #435e8e; font-size: .83em; }
.hm-catalog .hm-exam-facts { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: .45rem 0 .8rem; font-size: .86em; }
.hm-catalog-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .42rem; margin-block-start: auto; }
.hm-catalog-card-actions .hm-button { min-height: 2.35rem; padding: .28rem .65rem; font-size: .87rem; background: #194eb1; border-color: #194eb1; }
.hm-catalog-card-actions .hm-button.hm-secondary { background: #fff; color: #214f9b; border-color: #b5c7e8; }
.hm-offer-dey1405 { color: #213b86; background: #e8edff; }
.hm-checkout-price { font-size: 1.35rem !important; color: #174ba8; font-weight: 800 !important; }

.hm-dashboard-hero { gap: .85rem; background: linear-gradient(116deg, #e0ecff, #f6f9ff); border-color: #c4d6f4; border-inline-start-color: #4b76cd; }
.hm-dashboard-hero h1 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); }
.hm-dashboard-hero p { margin: .25rem 0 0; color: #355889 !important; }
.hm-dashboard .hm-dashboard-hero .hm-button:not(.hm-secondary) { background: #1d50b2; border-color: #1d50b2; color: #fff !important; }
.hm-progress-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .55rem;
  flex-wrap: wrap;
}
.hm-progress-head h2 { margin: 0; }
.hm-progress-head p { margin: .2rem 0 .5rem; color: #425d88 !important; font-size: .9em; }
.hm-progress-head > span { border: 1px solid #d5e2fb; padding: .12rem .5rem; border-radius: 6px; background: #f4f8ff; color: #244a8b; }
.hm-progress-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin: .6rem 0 .9rem; }
.hm-progress-stats > div { min-width: 0; padding: .5rem .6rem; border: 1px solid #d7e4f6; border-radius: .55rem; background: #f4f8ff; }
.hm-progress-stats dt { font-size: .80em; }
.hm-progress-stats dd { margin: .12rem 0 0; font-size: clamp(1.05rem, 4vw, 1.75rem); font-weight: 820; color: #184a9b !important; }
.hm-result-list { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.hm-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .8rem;
  padding: .52rem .64rem;
  border: 1px solid #e2ebf8;
  border-radius: .55rem;
}
.hm-result-row > div { min-width: 0; }
.hm-result-row > div:first-child { flex: 1 1 14rem; }
.hm-result-row strong { display: block; overflow-wrap: anywhere; }
.hm-result-meta { color: #4a6389; font-size: .8em; }
.hm-result-score { flex: 0 1 25%; min-width: 5rem; color: #214b9b; font-weight: 780; font-size: .9em; }
.hm-result-track { display: block; height: .37rem; border-radius: 1rem; background: #e4edfc; overflow: hidden; }
.hm-result-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1a4aae, #4a80e8); }
.hm-result-link {
  text-decoration: none;
  white-space: nowrap;
  background: #ebf2ff;
  padding: .27rem .55rem;
  border-radius: .45rem;
  font-size: .86em;
  font-weight: 700;
}
.hm-result-link:hover { text-decoration: underline; }
.hm-progress-older { margin-block-start: .75rem; }
.hm-progress-older[open] > summary { margin-block-end: .6rem; }
.hm-progress-older summary, .hm-candidate-profile > summary { cursor: pointer; color: #244c93; font-weight: 740; }
.hm-active-list > a { display: flex; gap: .55rem; justify-content: space-between; padding-block: .4rem; }
.hm-active-list > a span { flex: 0 0 auto; font-weight: 700; }
.hm-candidate-profile[open] > summary { margin-block-end: .7rem; }
.hm-profile-form { max-width: 30rem; }

.hm-admin-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.7rem), 1fr));
  gap: .6rem;
  margin-block: .9rem;
}
.hm-admin-menu a {
  display: grid;
  gap: .15rem;
  min-height: 4rem;
  padding: .56rem .72rem;
  border: 1px solid #cbd9f1;
  border-block-start: 3px solid #6789db;
  border-radius: .65rem;
  background: #fff;
  color: #1e438c;
  text-decoration: none;
}
.hm-admin-menu a:hover { background: #eff5ff; border-color: #6c91db; }
.hm-admin-menu small { color: #405e8d; }
.hm-admin-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr) auto; align-items: end; gap: .6rem; margin-block: .8rem; }
.hm-admin-filter :is(label, input, select) { min-width: 0; width: 100%; margin: 0; }
.hm-gateway-settings { max-width: 45rem; }
@media (max-width: 940px) {
  .hm-app-nav nav.hm-app-links { flex-basis: 100%; order: 2; }
}
@media (max-width: 880px) {
  .hm-catalog .hm-catalog-exam { width: calc((100% - 1rem) / 2); }
}
@media (max-width: 580px) {
  .hm-catalog .hm-catalog-exam { width: 100%; }
}
@media (max-width: 540px) {
  .hm-app-nav nav.hm-app-links { display: flex; }
  .hm-app-nav .hm-app-links a { flex: 1 0 27%; min-width: 0; }
  .hm-collection-grid, .hm-share-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-result-score { flex: 1; }
  .hm-result-row > div:first-child { flex: 1 0 100%; }
  .hm-admin-filter { grid-template-columns: minmax(0, 1fr); }
  .hm-admin-filter > button { justify-self: start; }
}

.hm-notebook-solution {
  margin-block: .62rem .9rem;
  padding: .5rem .75rem;
  background: #f3f7fe;
  border: 1px solid #d6e2f5;
  border-radius: 9px;
}
.hm-notebook-solution summary { color: #19478d; font-weight: 750; cursor: pointer; }
.hm-notebook-solution > p { padding-block-start: .25rem; white-space: pre-wrap; }
.hm-notebook-row .hm-notebook-tip { color: #425575; font-size: .87em; }
.hm-notebook-note { margin-block-start: .8rem; }
.hm-notebook-reasons {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem;
  min-width: 0; margin: 0 0 .7rem; padding: 0; border: 0;
}
.hm-notebook-reasons legend { margin-block-end: .4rem; font-weight: 770; color: #172f53; }
.hm-notebook-reasons label {
  display: flex; align-items: center; gap: .45rem; min-height: 38px;
  margin: 0; padding: .28rem .52rem; border: 1px solid #dbe5f3;
  border-radius: 7px; font-size: .86em; font-weight: 520; cursor: pointer;
}
.hm-notebook-reasons label:has(input:checked) { background: #eef4ff; border-color: #769de1; color: #173e80; }
.hm-notebook-reasons input { flex: 0 0 auto; accent-color: #204fa6; margin: 0; }
.hm-notebook-reviews { margin-block-start: 1rem; padding-block-start: .72rem; border-block-start: 1px solid #dbe5f3; }
.hm-review-progress { display: flex; justify-content: space-between; align-items: center; gap: .55rem; flex-wrap: wrap; margin-block-end: .48rem; }
.hm-review-progress span { color: #214581; font-size: .86em; font-weight: 730; }
.hm-review-steps { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: .35rem; }
.hm-notebook-row .hm-review-step {
  display: flex; align-items: center; justify-content: center; gap: .24rem;
  min-height: 39px; margin: 0; padding: .18rem .25rem;
  font: 650 .76em/1.45 var(--hm-font); white-space: nowrap;
  border: 1px solid #dbe5f2; border-radius: 7px; background: #f6f8fc; color: #536480;
}
.hm-notebook-row .hm-review-step.hm-review-checked { color: #164785; background: #e8f1ff; border-color: #b4cdf1; }
.hm-notebook-row button.hm-review-step { background: #2152a9; color: #fff; border-color: #2152a9; cursor: pointer; }
.hm-notebook-row button.hm-review-step:hover { background: #163e87; }
.hm-notebook-row button.hm-review-step::before {
  content: ""; width: .7em; height: .7em; border: 1px solid currentColor; border-radius: 2px;
}
@media (max-width: 680px) {
  .hm-review-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .hm-notebook-reasons { grid-template-columns: minmax(0, 1fr); }
}

/* Financial markets course chapters. */
.hm-markets-course{margin-block:20px}.hm-markets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.hm-markets-chapter{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #d6dfe9;border-radius:14px;text-decoration:none;background:#fff;color:#16324f}.hm-markets-chapter h3,.hm-markets-chapter p{margin:0}.hm-markets-chapter[aria-current="page"]{border:2px solid #087f8c;background:#eaf8f8}.hm-markets-chapter:focus-visible{outline:3px solid #087f8c;outline-offset:3px}.hm-markets-chapter span{font-size:.9em}

/* Chapter practice: local feedback only, no exam attempt. */
.hm-markets-modes{margin-block:20px}.hm-practice-question{margin-block:18px}.hm-practice-question fieldset{border:0;min-width:0;margin:0;padding:0}.hm-practice-question legend{font-weight:700;line-height:1.9;margin-bottom:16px;float:none;width:100%}.hm-practice-option{display:flex;align-items:baseline;gap:10px;padding:12px;margin-block:8px;border:1px solid #d6dfe9;border-radius:10px;cursor:pointer;line-height:1.8}.hm-practice-option input{flex-shrink:0;accent-color:#087f8c}.hm-practice-correct{border:2px solid #087e51;background:#edf9f1}.hm-practice-wrong{border:2px solid #b72a38;background:#fff0f0}.hm-practice-feedback{font-weight:700;min-height:1.5em}.hm-practice-explanation{padding:14px;background:#f2f6fa;border-radius:10px;line-height:1.9;overflow-wrap:anywhere}.hm-practice-explanation summary{cursor:pointer;font-weight:700}.hm-practice-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin-block:24px}.hm-practice-list{overflow-wrap:anywhere}
/* Bank Mehr package checkout and course. */
.hm-mehr-sales{margin-block:22px}.hm-mehr-sales h2{line-height:1.7}.hm-mehr-price{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:24px 0}.hm-mehr-price del{color:#6a7583;font-size:1.05rem}.hm-mehr-price strong{font-size:1.75rem;color:#087e51}.hm-mehr-price span{background:#eaf8f0;border-radius:8px;padding:6px 10px}.hm-mehr-terms{border:1px solid #d5deea;border-radius:12px;padding:18px;line-height:1.95;overflow-wrap:anywhere;max-height:440px;overflow:auto}.hm-mehr-sales .hm-field input{width:100%;min-height:44px;border:1px solid #c3cfdf;border-radius:8px;padding:10px}.hm-mehr-sales form{position:relative}.hm-mehr-honeypot{position:absolute;inset-inline-start:-10000px;width:1px;height:1px;overflow:hidden}.hm-mehr-muted{font-size:.9rem;color:#5c6879}.hm-mehr-notes{line-height:2;overflow-wrap:anywhere;margin-block:18px}.hm-mehr-app .hm-markets-grid{margin-block:16px}.hm-mehr-table{overflow-x:auto}.hm-mehr-order-terms{max-width:420px;max-height:300px;overflow:auto;line-height:1.8}.hm-mehr-app .hm-catalog-main{padding-bottom:32px}.hm-mehr-app .hm-check{line-height:1.9}.hm-mehr-app input[type=checkbox]{flex-shrink:0}

/* Bank Mehr enrollment page only. Course, exam and administration layouts stay separate. */
.hm-mehr-enrollment {
  --hm-ink: #172e30; --hm-blue: #126452; --hm-line: #dce5df;
  background: #f6f8f5; color: #243a3c; font-size: 15px;
}
.hm-mehr-enrollment .hm-catalog-main { max-width: 78rem; padding: 28px 24px 48px; }
.hm-mehr-enrollment .hm-app-nav-inner { max-width: 78rem; }
.hm-mehr-enrollment .hm-app-monogram,
.hm-mehr-enrollment .hm-app-links a[aria-current="page"] { background: #126452; color: #fff; }
.hm-mehr-enrollment .hm-enroll { margin: 0; }
.hm-mehr-enrollment .hm-enroll :is(h1,h2,h3,p) { overflow-wrap: normal; }
.hm-mehr-enrollment .hm-enroll .hm-button { border-radius: 12px; padding: 13px 22px; min-height: 50px; background: #126452; border-color: #126452; color: #fff; font-size: 15px; }
.hm-mehr-enrollment .hm-enroll .hm-button:hover { background: #0b4b3e; border-color: #0b4b3e; }
.hm-mehr-enrollment .hm-enroll a { text-underline-offset: 5px; }
.hm-mehr-enrollment .hm-enroll :focus-visible { outline: 3px solid #c19034; outline-offset: 4px; }
.hm-mehr-enrollment .hm-enroll-hero {
  display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: 28px;
  background: radial-gradient(ellipse at 95% 0, #153b3a 0, #102a2e 34%, #0b1b25 78%); color: #edf6f0;
  border: 1px solid #223c41; box-shadow: 0 22px 60px #163b3210;
}
.hm-mehr-enrollment .hm-enroll-copy { padding: clamp(28px,4.2vw,58px); align-self: center; min-width: 0; }
.hm-mehr-enrollment .hm-enroll-eyebrow { display: flex; align-items: center; gap: 9px; color: #dae9df; font-size: 13px; font-weight: 500; margin: 0 0 24px; }
.hm-mehr-enrollment .hm-enroll-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #e5c888; box-shadow: 0 0 0 5px #e5c88814; }
.hm-mehr-enrollment .hm-enroll-tag { display: inline-block; color: #eddbab; background: #d8c4880f; border: 1px solid #d8c48833; border-radius: 7px; padding: 6px 11px; font-size: 12px; }
.hm-mehr-enrollment #hm-enroll-title { color: #fff; margin: 22px 0 20px; font: 850 clamp(36px,4.5vw,60px)/1.45 var(--hm-font); letter-spacing: -1.5px; }
.hm-mehr-enrollment #hm-enroll-title em { color: #ebca84; font-style: normal; white-space: nowrap; }
.hm-mehr-enrollment #hm-enroll-title small { display: block; color: #c8ded5; font-size: .41em; font-weight: 500; letter-spacing: -.3px; line-height: 1.8; margin-top: 6px; }
.hm-mehr-enrollment .hm-enroll-lead { font-size: clamp(18px,2vw,23px); font-weight: 600; line-height: 1.9; margin: 0 0 14px; color: #fff; }
.hm-mehr-enrollment .hm-enroll-description { color: #bcd1ca; font-size: 14px; line-height: 2.2; max-width: 36em; }
.hm-mehr-enrollment .hm-enroll-description strong { color: #f1d89c; font-weight: 700; white-space: nowrap; }
.hm-mehr-enrollment .hm-enroll-hero-actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin: 26px 0 16px; }
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button { background: #ecd29a; border-color: #ecd29a; color: #182d2d; font-weight: 800; }
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button:hover { background: #f5deb0; border-color: #f5deb0; }
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button span { margin-inline-start: 8px; font-size: 20px; line-height: 1; }
.hm-mehr-enrollment .hm-enroll-link { color: #dbe6df; font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-hero-note { color: #b8d0c4; font-size: 11px; display: flex; align-items: flex-start; gap: 5px; margin: 0; line-height: 2; }
.hm-mehr-enrollment .hm-enroll-hero-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: #bce3cc; }
.hm-mehr-enrollment .hm-enroll-art { margin: 0; position: relative; background: #0b1421; align-self: center; }
.hm-mehr-enrollment .hm-enroll-art img { display: block; width: 100%; height: auto; }
.hm-mehr-enrollment .hm-enroll-art figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hm-mehr-enrollment .hm-enroll-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 26px 12px; margin: 20px 0 0; background: #fff; border: 1px solid #e0e7e0; border-radius: 18px; }
.hm-mehr-enrollment .hm-enroll-stats div { display: grid; gap: 6px; text-align: center; padding: 0 10px; }
.hm-mehr-enrollment .hm-enroll-stats div + div { border-inline-start: 1px solid #e6ece6; }
.hm-mehr-enrollment .hm-enroll-stats strong { color: #16604f; font-size: clamp(21px,3.5vw,32px); font-weight: 850; line-height: 1.4; }
.hm-mehr-enrollment .hm-enroll-stats span { color: #64776e; font-size: 12px; }
.hm-mehr-enrollment .hm-enroll-section { margin-top: 56px; scroll-margin-top: 24px; }
.hm-mehr-enrollment .hm-enroll-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hm-mehr-enrollment .hm-enroll-kicker { color: #2b7e68; font-size: 12px; font-weight: 650; margin: 0 0 7px; }
.hm-mehr-enrollment .hm-enroll-section-heading h2 { font-size: clamp(21px,2.8vw,29px); font-weight: 800; line-height: 1.65; margin: 0; letter-spacing: -.6px; }
.hm-mehr-enrollment .hm-enroll-pill { color: #356454; background: #e6efe8; border: 1px solid #d9e7dc; border-radius: 8px; padding: 7px 12px; font-size: 12px; }
.hm-mehr-enrollment .hm-enroll-lessons { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter { padding: 22px 18px; border-color: #e0e7e1; border-radius: 15px; gap: 12px; background: #fff; color: #233d37; }
.hm-mehr-enrollment .hm-enroll-subject-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e9f0e9; color: #408063; font-size: 14px; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter:nth-child(2n) .hm-enroll-subject-number { background: #f6efdf; color: #8e7140; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter strong { font-size: 15px; font-weight: 750; line-height: 1.8; min-height: 54px; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter span { border-top: 1px solid #eef1ec; padding-top: 10px; color: #5b7265; font-size: 12px; }
.hm-mehr-enrollment .hm-enroll-muted { color: #62736d; font-size: 12px; line-height: 2; }
.hm-mehr-enrollment .hm-enroll-features { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.hm-mehr-enrollment .hm-enroll-feature { padding: 26px 22px; background: #fff; border: 1px solid #e0e7e1; border-radius: 18px; }
.hm-mehr-enrollment .hm-enroll-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8f1ec; color: #28765f; margin-bottom: 20px; }
.hm-mehr-enrollment .hm-enroll-icon svg { width: 25px; height: 25px; }
.hm-mehr-enrollment .hm-enroll-feature h3 { font-size: 16px; font-weight: 750; line-height: 1.75; }
.hm-mehr-enrollment .hm-enroll-feature p { color: #60726a; font-size: 13px; line-height: 2.1; margin: 10px 0 0; }
.hm-mehr-enrollment .hm-enroll-checkout-grid { display: grid; grid-template-columns: 1.3fr .85fr; align-items: start; gap: 24px; }
.hm-mehr-enrollment .hm-enroll-form-card { padding: clamp(22px,3vw,38px); border-radius: 20px; border-color: #dce5dd; box-shadow: 0 8px 30px #1a4d3c04; }
.hm-mehr-enrollment .hm-enroll-form-card h3 { font-size: 19px; font-weight: 750; line-height: 1.7; }
.hm-mehr-enrollment .hm-enroll-login { background: #f0f5ef; padding: 12px 15px; border-radius: 10px; color: #465d50; font-size: 13px; margin-top: 18px; }
.hm-mehr-enrollment .hm-enroll-login a { font-weight: 700; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-fields { gap: 17px 16px; margin-top: 24px; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field { font-size: 13px; font-weight: 600; gap: 7px; margin: 0; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field input { border: 1px solid #cfdcd3; border-radius: 10px; min-height: 50px; padding: 11px 13px; color: #263e33; background: #fcfdfa; font: 400 16px/1.6 var(--hm-font); }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field input::placeholder { color: #8a9a92; font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field small { font-size: 11px; font-weight: 400; color: #718277; }
.hm-mehr-enrollment .hm-enroll-account { padding: 12px 15px; border-radius: 10px; background: #edf5ed; color: #335d49; }
.hm-mehr-enrollment .hm-mehr-terms { background: #f8faf6; border: 1px solid #dde6d9; border-radius: 12px; max-height: 270px; padding: 18px; font-size: 12px; line-height: 2.15; overflow-wrap: anywhere; }
.hm-mehr-enrollment .hm-mehr-terms h3 { font-size: 14px; margin: 0 0 12px; }
.hm-mehr-enrollment .hm-enroll-consent { align-items: flex-start; font-size: 12px; font-weight: 500; gap: 10px; margin: 0; }
.hm-mehr-enrollment .hm-enroll-consent input { width: 18px; height: 18px; margin: 5px 0 0; accent-color: #126452; }
.hm-mehr-enrollment .hm-enroll-pay .hm-button { width: 100%; font-size: 15px; }
.hm-mehr-enrollment .hm-enroll-pay p { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 10px; color: #687d70; margin: 12px 0 0; line-height: 1.8; }
.hm-mehr-enrollment .hm-enroll-pay svg { width: 14px; height: 14px; flex: 0 0 14px; }
.hm-mehr-enrollment .hm-enroll-order { position: sticky; top: 20px; border: 1px solid #cfdfd2; border-top: 4px solid #2c745b; border-radius: 20px; padding: clamp(24px,3vw,34px); background: #fbfcf8; }
.hm-mehr-enrollment .hm-enroll-price-label { display: inline-block; color: #53663a; background: #eaf0d9; padding: 6px 12px; border-radius: 7px; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.hm-mehr-enrollment .hm-enroll-order h3 { font-size: 20px; line-height: 1.75; font-weight: 800; }
.hm-mehr-enrollment .hm-enroll-order > p { font-size: 12px; color: #667c6c; }
.hm-mehr-enrollment .hm-mehr-price { display: grid; gap: 12px; padding: 22px 0 24px; }
.hm-mehr-enrollment .hm-mehr-price del { color: #8a958c; font-size: 15px; }
.hm-mehr-enrollment .hm-mehr-price strong { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; color: #205f47; font-size: clamp(29px,3vw,39px); line-height: 1.5; font-weight: 850; }
.hm-mehr-enrollment .hm-mehr-price strong small { font-size: 14px; font-weight: 500; }
.hm-mehr-enrollment .hm-mehr-price > span { padding: 0; color: #4d784f; background: none; font-size: 12px; }
.hm-mehr-enrollment .hm-enroll-includes { display: grid; gap: 13px; list-style: none; padding: 24px 0; margin: 0; border-block: 1px solid #e0e8dc; }
.hm-mehr-enrollment .hm-enroll-includes li { display: flex; align-items: flex-start; gap: 10px; color: #405d48; font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-includes svg { width: 18px; height: 18px; flex: 0 0 18px; color: #508d62; margin-top: 3px; }
.hm-mehr-enrollment .hm-enroll-order-note { display: flex; align-items: flex-start; gap: 12px; padding: 20px 0 8px; color: #2c5b42; }
.hm-mehr-enrollment .hm-enroll-order-note svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 3px; }
.hm-mehr-enrollment .hm-enroll-order-note p { margin: 0; font-size: 12px; line-height: 2.1; }
.hm-mehr-enrollment .hm-enroll-steps { padding: 30px 32px; background: #eaf0e7; border: 1px solid #dce6d8; border-radius: 20px; margin-top: 32px; }
.hm-mehr-enrollment .hm-enroll-steps h2 { font-size: 19px; font-weight: 750; margin: 0 0 24px; line-height: 1.8; }
.hm-mehr-enrollment .hm-enroll-steps ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; list-style: none; padding: 0; margin: 0; }
.hm-mehr-enrollment .hm-enroll-steps li { display: flex; align-items: flex-start; gap: 12px; }
.hm-mehr-enrollment .hm-enroll-steps b { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #b8cdb4; border-radius: 50%; background: #f8fbf5; color: #3c7254; font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-steps strong { font-size: 13px; color: #3c5c43; }
.hm-mehr-enrollment .hm-enroll-steps p { font-size: 11px; color: #69816a; line-height: 2; margin: 6px 0 0; }
.hm-mehr-enrollment .hm-enroll-faq { max-width: 900px; margin-inline: auto; }
.hm-mehr-enrollment .hm-enroll-faq details { background: #fff; border: 1px solid #dfe7df; border-radius: 12px; padding: 0 22px; margin-bottom: 10px; }
.hm-mehr-enrollment .hm-enroll-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; cursor: pointer; color: #36563e; font-size: 13px; font-weight: 650; }
.hm-mehr-enrollment .hm-enroll-faq summary::-webkit-details-marker { display: none; }
.hm-mehr-enrollment .hm-enroll-faq summary::after { content: '+'; color: #438060; font: 400 22px/1 Tahoma,sans-serif; }
.hm-mehr-enrollment .hm-enroll-faq details[open] summary::after { content: '−'; }
.hm-mehr-enrollment .hm-enroll-faq details p { border-top: 1px solid #e9eee7; padding: 15px 0 18px; margin: 0; font-size: 12px; line-height: 2.2; color: #677b6b; }
.hm-mehr-enrollment .hm-enroll-independent { text-align: center; color: #7b887c; font-size: 11px; margin: 24px 0 0; line-height: 2; }
.hm-mehr-enrollment .hm-enroll-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 28px; border-top: 1px solid #dce5da; margin-top: 44px; font-size: 12px; }
.hm-mehr-enrollment .hm-enroll-footer > div { display: grid; gap: 5px; }
.hm-mehr-enrollment .hm-enroll-footer strong { color: #4d6751; font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-footer span[dir] { color: #91a08f; font-size: 11px; }
.hm-mehr-enrollment .hm-enroll-footer a { color: #33654d; }
@media (max-width: 1000px) {
  .hm-mehr-enrollment .hm-enroll-copy { padding: 30px 26px; }
  .hm-mehr-enrollment .hm-enroll-hero { grid-template-columns: 1.1fr .9fr; }
  .hm-mehr-enrollment .hm-enroll-lessons { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hm-mehr-enrollment .hm-enroll-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hm-mehr-enrollment .hm-enroll-checkout-grid { grid-template-columns: 1.15fr .85fr; gap: 18px; }
  .hm-mehr-enrollment .hm-enroll-hero-actions { gap: 14px; }
}
@media (max-width: 720px) {
  .hm-mehr-enrollment .hm-catalog-main { padding: 16px 16px 36px; }
  .hm-mehr-enrollment .hm-enroll-hero { grid-template-columns: minmax(0,1fr); border-radius: 20px; }
  .hm-mehr-enrollment .hm-enroll-copy { padding: 30px 26px; }
  .hm-mehr-enrollment #hm-enroll-title { font-size: clamp(38px,9vw,52px); }
  .hm-mehr-enrollment .hm-enroll-art { max-width: 520px; justify-self: center; }
  .hm-mehr-enrollment .hm-enroll-stats { padding: 21px 4px; border-radius: 14px; }
  .hm-mehr-enrollment .hm-enroll-stats span { font-size: 10px; line-height: 1.9; }
  .hm-mehr-enrollment .hm-enroll-section { margin-top: 40px; }
  .hm-mehr-enrollment .hm-enroll-lessons { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter { padding: 18px 16px; }
  .hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter:last-child { grid-column: 1 / -1; }
  .hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter strong { min-height: auto; }
  .hm-mehr-enrollment .hm-enroll-features { gap: 12px; }
  .hm-mehr-enrollment .hm-enroll-feature { padding: 22px 18px; }
  .hm-mehr-enrollment .hm-enroll-checkout-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .hm-mehr-enrollment .hm-enroll-order { position: static; grid-row: 1; }
  .hm-mehr-enrollment .hm-enroll-form-card .hm-fields { grid-template-columns: minmax(0,1fr); }
  .hm-mehr-enrollment .hm-enroll-steps { padding: 26px 22px; }
  .hm-mehr-enrollment .hm-enroll-steps ol { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .hm-mehr-enrollment .hm-enroll-hero-note { font-size: 10px; }
}
@media (max-width: 420px) {
  .hm-mehr-enrollment .hm-catalog-main { padding-inline: 12px; }
  .hm-mehr-enrollment .hm-enroll-copy { padding: 26px 22px; }
  .hm-mehr-enrollment .hm-enroll-features { grid-template-columns: minmax(0,1fr); }
  .hm-mehr-enrollment .hm-enroll-stats strong { font-size: 21px; }
  .hm-mehr-enrollment .hm-enroll-pay .hm-button { padding-inline: 12px; font-size: 13px; }
  .hm-mehr-enrollment .hm-enroll-section-heading h2 { font-size: 22px; }
}

/* Bank Mehr learning space: course menus only. */
.hm-mehr-learning { --hm-blue:#156b68; --hm-ink:#173d43; --hm-line:#dce8e8; background:#f1f6f7; }
.hm-mehr-learning .hm-catalog-main { max-width:76rem; padding:24px 22px 42px; }
.hm-mehr-learning .hm-app-nav-inner { max-width:76rem; }
.hm-mehr-learning .hm-app-nav .hm-app-monogram,.hm-mehr-learning .hm-app-links a[aria-current="page"] { background:#156b68; color:#fff; }
.hm-mehr-learning .hm-app-links a,.hm-mehr-learning .hm-app-account { min-height:44px; align-content:center; border-radius:10px; }
.hm-mehr-learning .hm-catalog-hero { padding:32px 34px; border:0; border-radius:22px; background:linear-gradient(115deg,#123343,#176967); }
.hm-mehr-learning .hm-catalog-hero h1 { font-size:clamp(24px,4vw,38px); letter-spacing:-.6px; }
.hm-mehr-learning .hm-learning-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.hm-mehr-learning .hm-learning-hero-actions a { display:inline-flex; align-items:center; gap:14px; min-height:44px; padding:8px 16px; color:#fff; background:#ffffff12; border:1px solid #ffffff45; border-radius:11px; text-decoration:none; font-size:13px; }
.hm-mehr-learning .hm-learning-hero-actions a:hover { background:#ffffff24; }
.hm-mehr-learning .hm-learning-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:18px 4px 4px; font-size:12px; color:#6c858a; }
.hm-mehr-learning .hm-learning-breadcrumb a { color:#376b72; padding:8px 0; text-underline-offset:5px; }
.hm-mehr-learning .hm-learning-receipt { margin-top:18px; padding:14px 18px; background:#fbfdfd; border-radius:14px; color:#608085; font-size:12px; }
.hm-mehr-learning .hm-learning-receipt summary { cursor:pointer; min-height:32px; align-content:center; color:#366f66; }
.hm-mehr-learning .hm-learning-section-title { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.hm-mehr-learning .hm-learning-section-title h2 { margin:4px 0 0; font-size:23px; line-height:1.7; }
.hm-mehr-learning .hm-learning-section-title h3 { margin:0; font-size:17px; }
.hm-mehr-learning .hm-learning-eyebrow { font-size:11px; font-weight:600; color:#588b88; }
.hm-mehr-learning .hm-learning-badge { display:inline-block; font-size:11px; color:#467b76; padding:6px 10px; border-radius:8px; border:1px solid #d3e6e2; background:#eaf3f0; }
.hm-mehr-learning .hm-learning-subjects { margin-top:30px; }
.hm-mehr-learning .hm-learning-subject-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.hm-mehr-learning .hm-learning-subject { position:relative; min-height:184px; padding:21px 18px 16px; border:1px solid #d9e6e8; border-radius:18px; background:#fff; color:#213f49; gap:11px; box-shadow:0 4px 12px #21464d04; transition:transform .16s,border-color .16s,box-shadow .16s; }
.hm-mehr-learning .hm-learning-subject-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#e4f3ef; color:#337867; font-size:17px; font-weight:750; }
.hm-mehr-learning .hm-learning-subject:nth-child(2) .hm-learning-subject-icon { background:#fff0df; color:#966f38; }
.hm-mehr-learning .hm-learning-subject:nth-child(3) .hm-learning-subject-icon { background:#e9edff; color:#6274ae; }
.hm-mehr-learning .hm-learning-subject:nth-child(4) .hm-learning-subject-icon { background:#f5eaf6; color:#94628f; }
.hm-mehr-learning .hm-learning-subject:nth-child(5) .hm-learning-subject-icon { background:#e7f2fa; color:#447b9a; }
.hm-mehr-learning .hm-learning-subject strong { font-size:15px; line-height:1.8; font-weight:750; min-height:54px; }
.hm-mehr-learning .hm-learning-subject > span { color:#71868c; font-size:11px; }
.hm-mehr-learning .hm-learning-subject small { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:#367d78; padding-top:12px; border-top:1px solid #edf2f3; margin-top:auto; }
.hm-mehr-learning .hm-learning-subject small b,.hm-mehr-learning .hm-learning-mode small b { font-size:18px; line-height:1; }
.hm-mehr-learning a.hm-markets-chapter:hover { transform:translateY(-3px); border-color:#78aaa4; box-shadow:0 10px 24px #245d5610; }
.hm-mehr-learning a.hm-markets-chapter:active { transform:translateY(0); background:#f0f8f5; }
.hm-mehr-learning a.hm-markets-chapter:focus-visible { outline:3px solid #bd9343; outline-offset:4px; }
.hm-mehr-learning a.hm-markets-chapter[aria-current="page"] { border:2px solid #298c7b; background:#edf8f4; box-shadow:0 4px 16px #197f6410; }
.hm-mehr-learning .hm-learning-legacy { color:#7b8a8f; font-size:11px; margin:18px 4px 24px; }
.hm-mehr-learning .hm-learning-legacy summary { cursor:pointer; padding:8px 0; }
.hm-mehr-learning .hm-learning-legacy a { display:inline-block; padding:8px 0; }
.hm-mehr-learning .hm-learning-guide { border-radius:18px; background:#e7f1ef; border:1px solid #d6e7e1; }
.hm-mehr-learning .hm-learning-guide h2 { font-size:18px; margin:0 0 18px; }
.hm-mehr-learning .hm-learning-guide ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; list-style:none; padding:0; margin:0; }
.hm-mehr-learning .hm-learning-guide li { display:flex; align-items:flex-start; gap:10px; font-size:12px; color:#4d7470; }
.hm-mehr-learning .hm-learning-guide b { display:grid; place-items:center; flex:0 0 25px; height:25px; border-radius:50%; background:#fff; color:#3f8176; font-weight:700; }
.hm-mehr-learning .hm-learning-lesson,.hm-mehr-learning .hm-learning-chapters { margin-top:22px; border-radius:19px; border-color:#dbe7e8; }
.hm-mehr-learning .hm-learning-lesson nav { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:0; }
.hm-mehr-learning .hm-learning-mode { min-height:170px; border-radius:15px; padding:21px; gap:10px; }
.hm-mehr-learning .hm-learning-mode i { display:grid; place-items:center; width:35px; height:35px; color:#3b8d7d; background:#eaf5ef; border-radius:9px; }
.hm-mehr-learning .hm-learning-mode svg { width:23px; height:23px; }
.hm-mehr-learning .hm-learning-mode strong { font-size:15px; font-weight:750; }
.hm-mehr-learning .hm-learning-mode > span { font-size:11px; color:#6f888a; line-height:1.9; }
.hm-mehr-learning .hm-learning-mode small { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:#42857b; margin-top:auto; }
.hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); gap:10px; margin-bottom:0; }
.hm-mehr-learning .hm-learning-chapters a { min-height:76px; border-radius:12px; padding:15px 14px; gap:6px; }
.hm-mehr-learning .hm-learning-chapters strong { font-size:14px; }
.hm-mehr-learning .hm-learning-chapters a span { font-size:11px; color:#75908d; }
.hm-mehr-learning .hm-practice-question { border-radius:18px; border-color:#dae6e5; padding:clamp(20px,3vw,30px); }
.hm-mehr-learning .hm-practice-option { min-height:50px; padding:14px 16px; align-items:flex-start; border-radius:12px; }
.hm-mehr-learning .hm-practice-option input { margin-top:8px; }
.hm-mehr-learning .hm-practice-option:hover { border-color:#7eaca4; }
.hm-mehr-learning .hm-practice-correct { border-color:#248664; background:#ebf8f0; }
.hm-mehr-learning .hm-practice-wrong { border-color:#c84d57; background:#fff0f1; }
.hm-mehr-learning .hm-practice-explanation { background:#f1f7f4; border:1px solid #dcebe2; border-radius:12px; }
.hm-mehr-learning .hm-practice-explanation summary { min-height:40px; align-content:center; }
.hm-mehr-learning .hm-practice-question[data-answer-result="correct"] [data-answer-status] { color:#157649; font-weight:700; }
.hm-mehr-learning .hm-practice-question[data-answer-result="wrong"] [data-answer-status] { color:#af3545; font-weight:700; }
.hm-practice-preferences { display:flex; flex-wrap:wrap; gap:10px; }
.hm-practice-preferences .hm-button { min-height:44px; padding:9px 15px; font-size:13px; border-radius:10px; }
.hm-practice-flowers { position:fixed; inset:0; z-index:1000; overflow:hidden; pointer-events:none; user-select:none; contain:strict; }
.hm-practice-flowers span { position:absolute; top:-45px; left:var(--hm-flower-left); font:400 27px/1.1 sans-serif; animation:hm-practice-flower-fall 1.3s ease-in var(--hm-flower-delay) both; will-change:transform,opacity; }
@keyframes hm-practice-flower-fall { 0% { transform:translateY(0) rotate(0); opacity:0; } 10% { opacity:1; } 80% { opacity:.9; } 100% { transform:translateY(calc(100vh + 60px)) rotate(var(--hm-flower-turn)); opacity:0; } }
@media(max-width:1000px) {
  .hm-mehr-learning .hm-learning-subject-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .hm-mehr-learning .hm-catalog-main { padding:16px 14px 30px; }
  .hm-mehr-learning .hm-catalog-hero { padding:25px 24px; border-radius:18px; }
  .hm-mehr-learning .hm-app-links { flex-wrap:nowrap; overflow-x:auto; order:3; flex-basis:100%; max-width:100%; padding-bottom:5px; }
  .hm-mehr-learning .hm-app-links a { white-space:nowrap; flex-shrink:0; padding-inline:13px; }
  .hm-mehr-learning .hm-learning-subject-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
  .hm-mehr-learning .hm-learning-subject { padding:18px 16px; min-height:172px; }
  .hm-mehr-learning .hm-learning-subject:last-child { grid-column:1 / -1; min-height:140px; }
  .hm-mehr-learning .hm-learning-subject:last-child strong { min-height:auto; }
  .hm-mehr-learning .hm-learning-section-title h2 { font-size:21px; }
  .hm-mehr-learning .hm-learning-guide ol { grid-template-columns:minmax(0,1fr); gap:15px; }
  .hm-mehr-learning .hm-learning-lesson nav { grid-template-columns:minmax(0,1fr); gap:10px; }
  .hm-mehr-learning .hm-learning-mode { min-height:124px; padding:18px; }
  .hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hm-mehr-learning .hm-learning-breadcrumb { font-size:11px; gap:8px; }
}
@media(max-width:380px) {
  .hm-mehr-learning .hm-learning-subject-grid { grid-template-columns:minmax(0,1fr); }
  .hm-mehr-learning .hm-learning-subject { min-height:132px; }
  .hm-mehr-learning .hm-learning-subject strong { min-height:auto; }
  .hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) {
  .hm-practice-flowers { display:none; }
  .hm-mehr-learning a.hm-markets-chapter { transition:none; }
}



/* ===============================================================
   Hamyar 2.9.0 · cohesive design system (administrator + learners)
   Body typography: Vazirmatn; display titles: B Titr when licensed
   and installed, with the bundled B Mitra bold as the safe fallback.
   =============================================================== */
:is(.hm-admin, .hm-student, .hm-panel, .hm-catalog, .hm-public-app, .hm-dashboard, .hm-mehr-enrollment, .hm-mehr-learning, .hm-app-nav) {
  --hm-font: "Vazirmatn", "Hamyar Arabic", Tahoma, sans-serif;
  --hm-display-font: "B Titr", "BTitr", "B Titr Bold", "B Mitra", "Vazirmatn", Tahoma, sans-serif;
  --hm-ink: #142844;
  --hm-muted: #506480;
  --hm-line: #dce6f3;
  --hm-blue: #155cba;
  --hm-tint: #edf5ff;
  --hm-score-blue: #1c9b75;
  --hm-score-red: #e05565;
  --hm-score-gray: #b1bdcf;
  font-family: var(--hm-font);
}
:is(.hm-admin, .hm-student, .hm-panel, .hm-catalog, .hm-public-app, .hm-dashboard, .hm-mehr-enrollment, .hm-mehr-learning) :is(button, input, select, textarea, label, summary, a, small, p, li, th, td) {
  font-family: var(--hm-font);
}
:is(.hm-admin, .hm-student, .hm-panel, .hm-catalog, .hm-public-app, .hm-dashboard, .hm-mehr-enrollment, .hm-mehr-learning) :is(h1, h2, h3, h4) {
  letter-spacing: 0;
  text-wrap: pretty;
}
:is(.hm-student, .hm-panel) .hm-exam-hero h1,
.hm-admin .hm-admin-hero h1,
.hm-public-app .hm-catalog-hero h1,
.hm-mehr-enrollment #hm-enroll-title,
.hm-catalog .hm-catalog-hero h1 {
  font-family: var(--hm-display-font);
  font-weight: 800;
}
:is(.hm-admin, .hm-public-app, .hm-catalog, .hm-panel, .hm-student, .hm-mehr-learning) :is(.hm-card, .hm-subject-card) {
  border-radius: 19px;
  border-color: var(--hm-line);
  box-shadow: 0 5px 23px rgba(28, 58, 103, .045);
}
:is(.hm-admin, .hm-public-app, .hm-catalog, .hm-panel, .hm-student, .hm-mehr-learning) :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid #f5b84b;
  outline-offset: 3px;
}
:is(.hm-public-app, .hm-catalog, .hm-panel-page, .hm-student, .hm-mehr-learning) {
  background-color: #f3f7fd;
}
:is(.hm-panel, .hm-catalog, .hm-mehr-learning) :is(.hm-exam-tile, .hm-subject-card, .hm-markets-chapter, .hm-learning-subject) {
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
:is(.hm-panel, .hm-catalog, .hm-mehr-learning) a:is(.hm-exam-tile, .hm-subject-card, .hm-markets-chapter, .hm-learning-subject):hover {
  border-color: #92b2e4;
  box-shadow: 0 13px 27px rgba(22, 76, 150, .1);
  transform: translateY(-3px);
}
.hm-public-app .hm-catalog-hero {
  border: 1px solid #284d88;
  border-inline-start: 4px solid #edb858;
  border-radius: 23px;
  background: radial-gradient(circle at 20% 10%, #267fb4 0, transparent 45%), linear-gradient(125deg, #102550, #183d85 67%, #0f716e);
  box-shadow: 0 15px 40px rgba(11, 41, 97, .16);
}
.hm-public-app .hm-app-nav {
  background: #fff;
  box-shadow: 0 5px 22px rgba(22, 49, 93, .045);
}
.hm-public-app .hm-app-links a[aria-current="page"],
.hm-mehr-learning .hm-app-links a[aria-current="page"] {
  background: linear-gradient(135deg, #165cb3, #0d8d88);
  color: white;
}
.hm-public-app .hm-button, .hm-catalog .hm-button, .hm-mehr-learning .hm-button {
  border-radius: 11px;
}
/* Admin workspace. Links are grouped by task, rather than a flat row. */
.hm-admin {
  max-width: 1530px;
  margin: 18px 22px 30px 12px;
  padding-bottom: 22px;
}
.hm-admin .hm-admin-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 22px;
  padding: clamp(22px, 3.7vw, 42px);
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 7% 14%, #2d8dcb70, transparent 40%), linear-gradient(112deg, #101d43 4%, #15448b 60%, #157c83 115%);
  color: white;
  box-shadow: 0 20px 35px #1d4b871c;
}
.hm-admin .hm-admin-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -35px;
  bottom: -95px;
  width: 290px;
  height: 290px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  box-shadow: 0 0 0 26px #ffffff0a, 0 0 0 70px #ffffff08;
  pointer-events: none;
}
.hm-admin .hm-admin-hero h1 {
  color: white;
  font-size: clamp(26px, 3vw, 40px);
  margin: 8px 0 9px;
}
.hm-admin .hm-admin-hero p { margin: 0; color: #dceafb; font-size: 14px; }
.hm-admin-hero-eyebrow, .hm-admin-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.hm-admin-hero-eyebrow { color: #a7f1e5; }
.hm-admin .hm-admin-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffce75;
  color: #132a49;
  border: 1px solid #ffce75;
  border-radius: 12px;
  padding: 11px 20px;
  min-height: 46px;
  text-decoration: none;
  font-weight: 750;
}
.hm-admin .hm-admin-hero-cta:hover { background: white; border-color: white; color: #14365e; }
.hm-admin-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}
.hm-admin-nav-group {
  min-width: 0;
  border: 1px solid #dce7f5;
  border-radius: 19px;
  background: white;
  padding: 16px;
  box-shadow: 0 8px 28px rgba(20, 49, 97, .045);
}
.hm-admin-nav-heading { display: flex; gap: 7px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin: 0 2px 13px; }
.hm-admin-nav-heading strong { font-size: 15px; color: #233a5c; }
.hm-admin-nav-heading small { font-size: 11px; color: #71819c; }
.hm-admin-nav-items { display: grid; gap: 7px; }
.hm-admin-nav-items a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 57px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  background: #f7f9fd;
  color: #213b68;
  transition: background .17s ease, border-color .17s ease, transform .17s ease;
}
.hm-admin-nav-items a:hover, .hm-admin-nav-items a:focus-visible { background: #edf4ff; border-color: #bfceee; transform: translateY(-1px); }
.hm-admin-nav-items a[aria-current="page"] { background: #e5f3f5; border-color: #94d3cf; color: #096766; }
.hm-admin-nav-items a > .dashicons { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #e8eeff; color: #3664aa; font-size: 18px; }
.hm-admin-nav-group:nth-child(2) .hm-admin-nav-items a > .dashicons { background: #e3f8f2; color: #168276; }
.hm-admin-nav-group:nth-child(3) .hm-admin-nav-items a > .dashicons { background: #fff3df; color: #a56c24; }
.hm-admin-nav-label { display: grid; gap: 1px; min-width: 0; flex: 1; }
.hm-admin-nav-label strong { font-size: 12.5px; line-height: 1.7; color: inherit; }
.hm-admin-nav-label small { font-size: 10.5px; color: #697c94; line-height: 1.65; }
.hm-admin-nav-chevron { opacity: .65; font-size: 15px; }
.hm-admin-section-head { display: flex; gap: 12px; justify-content: space-between; align-items: end; margin-bottom: 13px; flex-wrap: wrap; }
.hm-admin-section-head h2 { margin: 3px 0; color: #18365c; font-size: clamp(19px, 2vw, 23px); }
.hm-admin-section-head p { color: #647895; margin: 0; font-size: 12px; }
.hm-admin-section-head > a { color: #155f9e; font-size: 12px; text-decoration: none; font-weight: 700; }
.hm-admin-eyebrow { color: #158b83; }
.hm-admin-overview { margin: 24px 0 30px; }
.hm-admin-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-admin-metric {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center;
  min-width: 0; min-height: 100px; padding: 16px; background: white; border: 1px solid #dae5f5; border-radius: 17px;
  box-shadow: 0 8px 22px #284c730a;
}
.hm-admin-metric-symbol { grid-row: span 2; display: grid; place-items: center; width: 43px; height: 43px; font: 800 21px/1 var(--hm-font); background: #e5f0ff; color: #2865c0; border-radius: 12px; }
.hm-admin-metric strong { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.4; color: #233954; font-variant-numeric: tabular-nums; }
.hm-admin-metric > span:last-child { color: #697c96; font-size: 11px; }
.hm-admin-metric-green .hm-admin-metric-symbol { color: #15856f; background: #dff8ef; }
.hm-admin-metric-violet .hm-admin-metric-symbol { color: #7451b4; background: #f0e8ff; }
.hm-admin-metric-amber .hm-admin-metric-symbol { color: #b4771d; background: #fff1d7; }
.hm-admin-content-head { margin: 24px 0 15px; }
.hm-admin #hm-import, .hm-admin #hm-markets-course, .hm-admin #hm-managed-exams { scroll-margin-top: 32px; }
.hm-admin .hm-advanced-builder { border: 1px dashed #b8cdec; }
.hm-admin .hm-card > h2 { color: #1c416c; }
.hm-admin .hm-table { border-radius: 13px; overflow-x: auto; border: 1px solid #e4eaf4; }
.hm-admin .hm-table table { border-collapse: collapse; }
.hm-admin .hm-table thead th { background: #edf4ff; color: #24466b; }
.hm-admin .hm-table tbody tr:nth-child(even) { background: #f8faff; }
.hm-admin .hm-table tbody tr:hover { background: #eef8ff; }
.hm-admin .hm-field :is(input, select, textarea) { border-color: #c6d7eb; border-radius: 9px; min-height: 40px; }
.hm-admin .hm-field :is(input, select, textarea):focus { border-color: #2b84b6; box-shadow: 0 0 0 2px #2b84b61c; }
/* Practice cards adopt the exam's selected-answer vocabulary. */
.hm-practice-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; background: linear-gradient(105deg, #f5f9ff, #f0fbf8) !important; }
.hm-practice-controls p { flex: 1 1 250px; }
.hm-practice-progress { flex: 1 0 100%; color: #1d6d7e; font-weight: 750; font-size: 12px; }
.hm-practice-list { counter-reset: practice; }
.hm-practice-list .hm-exam-practice {
  position: relative;
  padding: clamp(17px, 3vw, 28px);
  border: 1px solid #d5e4f5;
  border-inline-start: 4px solid #5185da;
  border-radius: 19px;
  box-shadow: 0 9px 25px #1d47750a;
  background: white;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.hm-exam-practice.hm-practice-success { border-inline-start-color: #21a47f; }
.hm-exam-practice.hm-practice-error { border-inline-start-color: #db5870; }
.hm-exam-practice legend {
  color: #172d4b;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 2;
  font-weight: 750;
  white-space: pre-wrap;
}
.hm-exam-practice .hm-mehr-muted { color: #22757d; font-weight: 700; margin-bottom: 13px; }
.hm-exam-practice .hm-practice-option {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 15px; margin: 9px 0;
  border: 1px solid #d4e1ef; border-radius: 12px;
  background: #f9fbff; color: #1a3552;
  font-weight: 580; line-height: 1.85;
  transition: background .12s, border-color .12s, transform .12s;
}
.hm-exam-practice:not(.hm-practice-answered) .hm-practice-option:hover { background: #edf5ff; border-color: #96b6e5; transform: translateY(-1px); }
.hm-exam-practice .hm-practice-option input[type="radio"] { flex: 0 0 19px; width: 19px; height: 19px; accent-color: #226bbb; }
.hm-exam-practice .hm-practice-option > span { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.hm-exam-practice .hm-practice-option.hm-practice-correct,
.hm-exam-practice .hm-practice-option.hm-correct { border: 2px solid #1f9c77; background: #ebf9f2; color: #165c49; }
.hm-exam-practice .hm-practice-option.hm-practice-wrong,
.hm-exam-practice .hm-practice-option.hm-incorrect { border: 2px solid #d55365; background: #fff0f2; color: #8d2639; }
.hm-exam-practice.hm-practice-answered .hm-practice-option { cursor: default; }
.hm-exam-practice .hm-practice-option .hm-practice-answer-badge {
  margin-inline-start: auto; padding: 4px 9px; border-radius: 999px;
  background: #dcf4e6; color: #176c54;
  font: 750 11px/1.7 var(--hm-font);
}
.hm-exam-practice .hm-practice-option.hm-incorrect .hm-practice-answer-badge { color: #98273c; background: #ffe1e5; }
.hm-exam-practice .hm-practice-option .hm-mark-icon { background: #bce9cd; }
.hm-exam-practice .hm-practice-option.hm-incorrect .hm-mark-icon { background: #fac1c9; }
.hm-exam-practice .hm-practice-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 0; margin: 18px 0 10px; padding: 14px 17px; border-radius: 12px; line-height: 1.9; font-size: 14px; }
.hm-exam-practice .hm-practice-feedback.hm-feedback-correct { background: #e5f7ee; color: #166b4d; border: 1px solid #a8dfbd; }
.hm-exam-practice .hm-practice-feedback.hm-feedback-incorrect { background: #fff0f2; color: #902d3c; border: 1px solid #f4c0ca; }
.hm-exam-practice .hm-practice-feedback .hm-feedback-detail { margin: 0; font-weight: 580; }
.hm-exam-practice .hm-practice-explanation { margin-top: 12px; padding: 15px 19px; background: linear-gradient(110deg, #f1f6ff, #f8fbff); border: 1px solid #d3e2f5; border-radius: 14px; color: #274361; line-height: 2; }
.hm-exam-practice .hm-practice-explanation summary { color: #17447a; font-size: 14px; font-weight: 800; }
.hm-exam-practice .hm-practice-explanation[open] summary { margin-bottom: 10px; }
.hm-exam-practice .hm-practice-explanation > p { color: #146b5b; font-weight: 750; }
.hm-exam-practice [hidden] { display: none !important; }
.hm-practice-response-fx { position: fixed; z-index: 100000; inset: 0; pointer-events: none; animation: hm-practice-overlay 670ms ease-out forwards; }
.hm-practice-response-good { background: radial-gradient(circle at center, #64c8e627, transparent 70%); }
.hm-practice-response-bad { background: #c743581e; }
@keyframes hm-practice-overlay { from { opacity: .95; } to { opacity: 0; } }
.hm-practice-jolt { animation: hm-practice-shake .32s ease-in-out 1; }
@keyframes hm-practice-shake { 0%, 100% { transform: translateX(0); } 22%, 66% { transform: translateX(4px); } 44%, 88% { transform: translateX(-4px); } }
/* More distinct, polished Mehr enrollment with an explicitly named Bank Mehr badge. */
.hm-mehr-enrollment { --hm-font: "Vazirmatn", Tahoma, sans-serif; background: #f4f8f8; }
.hm-mehr-enrollment .hm-enroll-hero {
  border: 1px solid #173f4b;
  background: radial-gradient(ellipse at 8% 5%, #16546c, transparent 50%), linear-gradient(126deg, #0a1c33 0, #102e3f 62%, #086b67);
  box-shadow: 0 24px 55px rgba(15, 58, 73, .16);
}
.hm-mehr-enrollment .hm-enroll-art { overflow: hidden; background: #d6ece8; min-height: 100%; }
.hm-mehr-enrollment .hm-enroll-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hm-mehr-enrollment .hm-mehr-logo-card {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: min(88%, 325px); padding: 9px 15px; border: 1px solid #ffffffc2;
  border-radius: 16px; background: #ffffffed; color: #513621;
  box-shadow: 0 9px 30px #16423523;
  text-align: center;
  font: 730 16px/1.8 var(--hm-font);
  backdrop-filter: blur(10px);
}
.hm-mehr-enrollment .hm-mehr-logo-card svg { flex: 0 0 65px; width: 65px; height: 67px; }
.hm-mehr-enrollment .hm-mehr-logo-card strong { font-weight: 900; font-size: 1.2em; }
.hm-mehr-enrollment #hm-enroll-title { letter-spacing: 0; }
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button { border-radius: 13px; box-shadow: 0 8px 20px #00000017; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter,
.hm-mehr-enrollment .hm-enroll-feature,
.hm-mehr-enrollment .hm-enroll-form-card,
.hm-mehr-enrollment .hm-enroll-order { box-shadow: 0 7px 25px rgba(25, 67, 71, .045); }
@media (max-width: 1100px) { .hm-admin-navigation { grid-template-columns: repeat(2, minmax(0,1fr)); } .hm-admin-navigation .hm-admin-nav-group:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .hm-admin { margin-inline: 10px; }
  .hm-admin-navigation, .hm-admin-metrics { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hm-admin-navigation .hm-admin-nav-group:last-child { grid-column: 1 / -1; }
  .hm-exam-practice .hm-practice-option { flex-wrap: wrap; }
  .hm-exam-practice .hm-practice-option .hm-practice-answer-badge { width: 100%; }
  .hm-mehr-enrollment .hm-mehr-logo-card { top: 10px; padding: 5px 10px; border-radius: 10px; font-size: 12px; }
  .hm-mehr-enrollment .hm-mehr-logo-card svg { width: 44px; height: 48px; flex-basis: 44px; }
}
@media (max-width: 520px) {
  .hm-admin-navigation, .hm-admin-metrics { grid-template-columns: minmax(0,1fr); }
  .hm-admin-navigation .hm-admin-nav-group:last-child { grid-column: auto; }
  .hm-admin .hm-admin-hero { border-radius: 16px; }
  .hm-admin .hm-admin-metric { min-height: 82px; }
  .hm-exam-practice .hm-practice-option { gap: 8px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-exam-practice .hm-practice-option, .hm-practice-response-fx, .hm-practice-jolt,
  .hm-admin-nav-items a { transition: none; animation: none; transform: none; }
}
@media print {
  .hm-admin-navigation, .hm-admin .hm-admin-hero-cta, .hm-practice-response-fx { display: none !important; }
  .hm-exam-practice .hm-practice-explanation { break-inside: avoid; }
}

/* The legacy admin stylesheet used !important on headings. Keep white-on-navy contrast. */
.hm-admin .hm-admin-header.hm-admin-hero h1 { color: #fff !important; }
.hm-admin .hm-admin-header.hm-admin-hero .hm-admin-hero-eyebrow { color: #aef8ec !important; }
.hm-admin .hm-admin-header.hm-admin-hero p { color: #e2effd !important; }
/* Identical correctness palette to the actual exam choice feedback. */
.hm-exam-practice.hm-practice-success { border-inline-start-color: #5e78a5; }
.hm-exam-practice.hm-practice-error { border-inline-start-color: #cb8182; }
.hm-exam-practice .hm-practice-option.hm-practice-correct,
.hm-exam-practice .hm-practice-option.hm-correct { border-color: #5e78a5; background: #e7edf5; color: #1c3258; }
.hm-exam-practice .hm-practice-option.hm-practice-wrong,
.hm-exam-practice .hm-practice-option.hm-incorrect { border-color: #cb8182; background: #fcf0ee; color: #842d32; }
.hm-exam-practice .hm-practice-option .hm-practice-answer-badge { background: #d7e0ec; color: #1c3258; }
.hm-exam-practice .hm-practice-option.hm-incorrect .hm-practice-answer-badge { background: #f3d6d4; color: #842d32; }
.hm-exam-practice .hm-practice-option .hm-mark-icon { background: #d7e0ec; }
.hm-exam-practice .hm-practice-option.hm-incorrect .hm-mark-icon { background: #f3d6d4; }
.hm-exam-practice .hm-practice-feedback.hm-feedback-correct { background: #e7edf5; color: #1c3258; border-color: #b9cae4; }
.hm-exam-practice .hm-practice-feedback.hm-feedback-incorrect { background: #fcf0ee; color: #842d32; border-color: #e5bbbd; }

/* 3.0.0: exact user-provided Bank Mehr 1405 promotional banner, full frame with no crop. */
.hm-mehr-enrollment .hm-enroll-hero {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  background: linear-gradient(125deg, #073d42, #0b253d); border-radius: 24px;
}
.hm-mehr-enrollment .hm-enroll-art { order: -1; align-self: stretch; width: 100%; max-width: none; min-height: 0; background: #0b3544; }
.hm-mehr-enrollment .hm-enroll-art img { width: 100%; height: auto; aspect-ratio: 1774/887; object-fit: contain; object-position: center; }
.hm-mehr-enrollment .hm-enroll-copy { padding: clamp(22px, 4vw, 48px); max-width: 100%; }
.hm-mehr-package-picker { border: 1px solid #dae8df; border-radius: 16px; padding: 18px; margin: 0; min-width: 0; }
.hm-mehr-package-picker legend { font-size: 16px; font-weight: 800; padding-inline: 8px; color: #173f45; }
.hm-mehr-package-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hm-mehr-package-choice { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 77px; cursor: pointer; background: #f7fcfa; border: 1.5px solid #d9e6e2; padding: 14px 12px; border-radius: 13px; transition: border-color .2s, background .2s, box-shadow .2s; }
.hm-mehr-package-choice:has(input:checked) { border-color: #008871; background: #e7f8ef; box-shadow: 0 0 0 2px #48b99833; }
.hm-mehr-package-choice:focus-within { outline: 2px solid #228b75; outline-offset: 2px; }
.hm-mehr-package-choice input { flex: 0 0 17px; width: 17px; height: 17px; accent-color: #00745e; margin: 7px 0 0; }
.hm-mehr-package-choice span { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hm-mehr-package-choice strong { font-weight: 800; color: #1b4545; line-height: 1.65; font-size: 14px; }
.hm-mehr-package-choice small { color: #087553; font-size: 12px; font-weight: 800; }
.hm-mehr-discount-entry { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.hm-mehr-discount-entry .hm-field { flex: 1 1 180px; min-width: 0; }
.hm-mehr-discount-entry button { min-height: 49px; }
.hm-mehr-discount-success { background: #e4f7ed; border: 1px solid #ade0c5; padding: 11px 15px; border-radius: 12px; color: #146843; }
.hm-mehr-final-total { background: #ebf5ff; border: 1px solid #bad8f6; padding: 14px 16px; border-radius: 12px; font-size: 16px; color: #123f72; }
.hm-mehr-final-total strong { font-size: 18px; font-weight: 900; }
.hm-learning-subject-locked { opacity: .86; background: #f8fafc !important; }
.hm-learning-subject-locked small { color: #a26b20; }
@media (max-width: 640px) {
  .hm-mehr-package-grid { grid-template-columns: minmax(0,1fr); }
  .hm-mehr-enrollment .hm-enroll-hero { border-radius: 16px; }
  .hm-mehr-enrollment .hm-enroll-copy { padding: 22px; }
}

.hm-inline-form { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.hm-admin #hm-mehr-discounts .hm-fields,
.hm-admin #hm-mehr-sms .hm-fields { margin: 14px 0 20px; }
.hm-mehr-sms-preview { background: #eaf7f3; border: 1px solid #b8ddd2; border-radius: 12px; padding: 16px; }
.hm-mehr-sms-preview p { line-height: 2; white-space: normal; margin: 9px 0 0; }

.hm-mehr-purchase-receipt { margin-top: 12px; padding: 14px; border: 1px solid #dcebe5; border-radius: 10px; background: #fafdfc; }
.hm-mehr-purchase-receipt p { margin: 5px 0; }

.hm-mehr-enrollment .hm-mehr-price [hidden] { display: none !important; }

/* v3.0.2 — scoped administrative deletion UI */
.hm-admin .hm-delete-section{border:1px solid #fecaca;background:linear-gradient(135deg,#fff 0%,#fff9f8 100%);margin-top:24px}
.hm-admin .hm-delete-heading{display:flex;align-items:flex-start;gap:12px}
.hm-admin .hm-delete-heading>.dashicons{display:grid;place-items:center;width:42px;height:42px;background:#fef2f2;border-radius:12px;color:#b91c1c;font-size:22px;flex-shrink:0}
.hm-admin .hm-delete-heading h2{color:#991b1b;margin:0 0 8px}
.hm-admin .hm-delete-heading p{margin:0;line-height:2;color:#475569}
.hm-admin .hm-delete-summary{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.hm-admin .hm-delete-summary>span{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;color:#475569}
.hm-admin .hm-delete-summary strong{font-size:1.15rem;color:#0f172a;margin-inline-end:4px}
.hm-admin .hm-delete-warning{padding:12px 15px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;line-height:2}
.hm-admin .hm-delete-confirm,.hm-admin .hm-chapter-delete{border:1px solid #fecaca;background:#fff;border-radius:12px;padding:10px 14px}
.hm-admin .hm-delete-confirm>summary,.hm-admin .hm-chapter-delete>summary{cursor:pointer;color:#b91c1c;font-weight:700}
.hm-admin .hm-chapter-delete{min-width:200px;max-width:340px}
.hm-admin .hm-delete-form{display:grid;gap:14px;padding:14px 0 4px}
.hm-admin .hm-delete-form .hm-field{max-width:300px}
.hm-admin .hm-delete-form .hm-field input{max-width:240px}
.hm-admin .hm-danger-button{width:max-content;max-width:100%;background:#b91c1c;color:#fff;border:1px solid #991b1b;border-radius:10px;padding:11px 22px;cursor:pointer;font-weight:800;font-size:14px;line-height:1.5}
.hm-admin .hm-danger-button:hover,.hm-admin .hm-danger-button:focus{background:#7f1d1d;color:#fff}
.hm-admin a.hm-delete-link{color:#b91c1c;font-weight:700}
.hm-admin .hm-bank-delete-card{margin-top:24px}
.hm-admin .hm-chapter-delete .hm-delete-form p{margin:0;line-height:1.9}
@media(max-width:780px){.hm-admin .hm-delete-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hm-admin .hm-chapter-delete{min-width:170px}}


.hm-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-top: 1rem; }
.hm-metric-card { padding: .95rem 1rem; border: 1px solid var(--hm-line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f6faff); box-shadow: 0 8px 24px rgba(14, 46, 84, .06); }
.hm-metric-card span { display: block; color: var(--hm-muted); font-size: .92em; }
.hm-metric-card strong { display: block; margin: .35rem 0; font: 800 clamp(1.15rem, 3vw, 1.55rem)/1.25 var(--hm-font-display); color: #0f4375; }
.hm-metric-card small { color: #4d627d; }
.hm-weekly-insights { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1rem; align-items: end; margin-top: 1rem; }
.hm-weekly-change { padding: .9rem 1rem; border-radius: 14px; color: #103e6b; background: linear-gradient(145deg, #edf6ff, #f9fcff); border: 1px solid #c8ddf4; }
.hm-weekly-change.hm-down { color: #8d3137; background: #fff3f1; border-color: #f0c7c2; }
.hm-weekly-change strong { display: block; margin-bottom: .25rem; }
.hm-mini-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem; align-items: end; min-height: 190px; }
.hm-mini-bar { display: grid; gap: .35rem; justify-items: center; }
.hm-mini-bar span { display: block; width: 100%; min-height: 14px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #4ca0ff, #1b5f9f); box-shadow: inset 0 -10px 14px rgba(255,255,255,.12); }
.hm-mini-bar strong { color: #123d69; font-size: .86em; }
.hm-mini-bar small { color: var(--hm-muted); font-size: .8em; }
.hm-planner-summary-head { align-items: start; }
.hm-planner-main { display: grid; gap: 1rem; }
.hm-planner-hero { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: linear-gradient(120deg, #0f3258, #2364a5); color: #eef7ff; border-color: #4c85bf; }
.hm-planner-hero h1, .hm-planner-hero p { color: inherit; }
.hm-planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1rem; }
.hm-planner-chart { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: .65rem; align-items: end; min-height: 260px; margin-top: 1rem; }
.hm-planner-bar { display: grid; gap: .35rem; justify-items: center; }
.hm-planner-bar b { color: #1a476f; font-size: .9em; }
.hm-planner-bar-track { width: 100%; min-height: 170px; display: flex; align-items: end; padding: .25rem; border-radius: 18px; background: linear-gradient(180deg, #eef5fc, #f8fbff); border: 1px solid #d7e5f3; }
.hm-planner-bar-fill { width: 100%; border-radius: 14px; background: linear-gradient(180deg, #69b1ff, #1f5f9a); }
.hm-planner-bar strong { color: #123d69; font-size: .93em; }
.hm-planner-bar small { color: var(--hm-muted); text-align: center; line-height: 1.5; }
.hm-planner-week-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.hm-planner-week-summary > div { padding: .85rem; border-radius: 12px; background: #f6faff; border: 1px solid #d8e5f3; text-align: center; }
.hm-planner-week-summary strong { display: block; font: 800 1.25rem/1.2 var(--hm-font-display); color: #0f4375; }
.hm-practice-meta-row { display: flex; align-items: end; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: .6rem; }
.hm-practice-track-field { max-width: 290px; margin: 0; }
.hm-practice-track-field select { min-height: 38px; border: 1px solid #aec5dd; border-radius: 9px; font: 400 14px/1.5 var(--hm-font-ui); }
.hm-practice-timer { margin: 0; padding: .45rem .7rem; background: #f3f8ff; border: 1px solid #d7e4f3; border-radius: 10px; font-weight: 700; }
.hm-learning-subject { position: relative; overflow: hidden; min-height: 260px; justify-content: end; }
.hm-learning-subject-art { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; margin-bottom: .7rem; border: 1px solid #d8e2ee; }
.hm-learning-subject-icon { position: absolute; inset-inline-start: .9rem; inset-block-start: .9rem; box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.hm-mehr-notes-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.hm-mehr-notes-tools { display: grid; gap: .35rem; }
.hm-leader-row:nth-child(1) .hm-leader-rank::before, .hm-leader-row:nth-child(2) .hm-leader-rank::before, .hm-leader-row:nth-child(3) .hm-leader-rank::before { margin-inline-end: .3rem; }
.hm-leader-row:nth-child(1) .hm-leader-rank::before { content: '🥇'; }
.hm-leader-row:nth-child(2) .hm-leader-rank::before { content: '🥈'; }
.hm-leader-row:nth-child(3) .hm-leader-rank::before { content: '🥉'; }
.hm-leader-row { border-radius: 12px; background: linear-gradient(180deg, #fff, #f7fbff); padding: .6rem .8rem; border: 1px solid #dbe7f4; }
.hm-leader-self { box-shadow: 0 0 0 2px #95bbeb inset; }
.hm-enroll-deadline { margin-top: .85rem; padding: .7rem .95rem; border-radius: 12px; background: #fff2ed; border: 1px solid #f1c8bb; color: #9b2f2b; font-weight: 700; }
.hm-mehr-old-price { display: block; color: #c5322c; font-weight: 700; }
.hm-mehr-old-price del { text-decoration-thickness: 2px; }
.hm-mehr-save-note { display: block; color: #7d2f12; font-weight: 700; }
.hm-enroll-order #hm-mehr-summary-price { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.hm-enroll-order del { font-size: 1.3rem; }
@media (max-width: 900px) {
  .hm-planner-layout, .hm-weekly-insights { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hm-mini-bars, .hm-planner-chart { grid-template-columns: repeat(7, minmax(42px,1fr)); overflow-x: auto; }
  .hm-planner-week-summary { grid-template-columns: 1fr; }
}

/* 3.1.2 — accessible larger typography and lighter layouts */
.hm-public-app, .hm-dashboard, .hm-app-nav, .hm-panel-page, .hm-planner-v2 { font-size: 16px; line-height: 1.85; }
.hm-student .hm-app-nav .hm-app-links a,
.hm-student .hm-app-nav .hm-app-account { font-size: 14px; font-weight: 750; }
.hm-student .hm-app-nav .hm-app-brand strong { font-size: 23px; }
.hm-student .hm-app-nav .hm-app-brand span { font-size: 13px; }
.hm-app-nav { border-bottom: 1px solid #dfebf4; box-shadow: 0 5px 19px rgba(12,47,83,.035); }
.hm-student .hm-app-nav-inner { max-width: 1400px; }
.hm-student .hm-app-links a { border-radius: 11px; }
.hm-student .hm-app-links a:hover { background: #eef6ff; color: #134a8b; }
.hm-student .hm-app-links a[aria-current="page"] { background: linear-gradient(115deg,#134d93,#108a86); color: white; }
.hm-student .hm-app-account { border: 1px solid #b5d3ec; border-radius: 12px; background: #f5faff; }
.hm-mehr-learning .hm-learning-subject-grid { gap: 18px; }
.hm-mehr-learning .hm-learning-subject { border-radius: 22px; padding: 15px; gap: 11px; box-shadow: 0 7px 26px #123b610e; }
.hm-mehr-learning .hm-learning-subject-art { width: 100%; height: auto; aspect-ratio: 1/1; border-radius: 15px; border: 1px solid #dae8ef; }
.hm-mehr-learning .hm-learning-subject strong { font-size: clamp(17px,1.4vw,20px); font-weight: 850; line-height: 1.7; min-height: auto; }
.hm-mehr-learning .hm-learning-subject > span { font-size: 17px; font-weight: 750; color: #335d70; }
.hm-mehr-learning .hm-learning-subject small { font-size: 15px; color: #147969; font-weight: 750; }
.hm-mehr-learning .hm-learning-subject-icon { width: 42px; height: 42px; font-size: 19px; }
.hm-mehr-learning .hm-markets-chapter:not(.hm-learning-subject) strong { font-size: 18px; }
.hm-mehr-learning .hm-markets-chapter:not(.hm-learning-subject) span { font-size: 15px; }
.hm-mehr-learning .hm-learning-section-title h2 { font-size: clamp(24px,2.5vw,34px); }
.hm-mehr-learning .hm-learning-badge, .hm-mehr-learning .hm-learning-eyebrow { font-size: 15px; }
.hm-public-app .hm-practice-list .hm-practice-question fieldset legend { font-size: clamp(17px,1.8vw,21px); }
.hm-public-app .hm-practice-question .hm-practice-option { font-size: 17px; }
.hm-public-app .hm-practice-controls p { font-size: 15px; }
.hm-public-app .hm-practice-question .hm-practice-explanation { font-size: 16px; }
.hm-admin .hm-admin-nav-group { border-radius: 18px; }
.hm-admin .hm-admin-nav-items a { border-radius: 12px; }
.hm-admin .hm-admin-nav-items a:hover { background: #f0f7ff; }
.hm-admin .hm-admin-nav-label strong { font-size: 16px; }
.hm-admin .hm-admin-nav-label small { font-size: 13px; }

/* 3.1.2 — practice answer feedback: low-cost CSS effects, opt-out available */
.hm-exam-practice.hm-practice-success { border-inline-start-color: #15976c; }
.hm-exam-practice .hm-practice-option.hm-correct,
.hm-exam-practice .hm-practice-option.hm-practice-correct { border-color: #15976c; background: #e7f8ee; color: #0e6145; }
.hm-exam-practice .hm-practice-option.hm-correct .hm-practice-answer-badge { color: #106341; background: #cdf1de; }
.hm-exam-practice .hm-practice-option.hm-correct .hm-mark-icon { background: #a9e6c5; }
.hm-exam-practice .hm-practice-feedback.hm-feedback-correct { background: #e7f9ef; border-color: #97dcb8; color: #105e44; }
.hm-practice-response-good { background: radial-gradient(ellipse at center,rgba(34,197,94,.24),rgba(18,150,100,.1) 55%,transparent 85%); }
.hm-practice-celebration .hm-falling-flower,
.hm-practice-celebration .hm-falling-confetti { animation: hm-practice-flower-fall var(--hm-fx-duration,2.55s) ease-in var(--hm-flower-delay,0s) both; }
.hm-practice-celebration .hm-falling-confetti { top:-25px; width: 8px; height: 17px; border-radius: 3px; transform: rotate(18deg); box-shadow: 0 1px 2px #2232; }
.hm-practice-nextbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; padding: 11px 13px; background: #f1f7ff; border: 1px solid #c9dff5; border-radius: 13px; font-size: 14px; }
.hm-practice-nextbar span { color: #164f83; font-weight: 750; margin-inline-end: auto; }
.hm-practice-nextbar button { border-radius: 9px; padding: 7px 12px; border: 1px solid #b6d0e8; color: #175183; background: white; font: 700 14px/1.6 var(--hm-font); cursor:pointer; }
.hm-practice-nextbar .hm-practice-next-now { color: white; background: #1563a4; border-color: #1563a4; }
.hm-practice-nextbar button:hover { filter: brightness(.96); }
.hm-practice-question { scroll-margin-top: 18px; }
.hm-practice-controls { border: 1px solid #c9e0e9; border-radius: 21px; background: #f9fcff; }
.hm-practice-preferences .hm-button { font-size: 14px; min-height: 45px; }
.hm-practice-timer { font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .hm-practice-celebration, .hm-practice-response-fx, .hm-practice-jolt { display: none!important; }
}

/* 3.1.2 — truly friendly planning dashboard, with seven day cards */
.hm-planner-v2 { background: #f3f7fb; }
.hm-planner-v2 .hm-main.hm-planner-main { max-width: 1280px; gap: 18px; padding: clamp(16px,3vw,32px); }
.hm-planner-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px,4vw,48px); background: linear-gradient(120deg,#113b65,#145f8d 55%,#12877e); color: #fff; border-radius: 26px; overflow: hidden; }
.hm-planner-banner h1 { margin: 10px 0 13px; color: #fff; font: 850 clamp(27px,3.2vw,42px)/1.55 var(--hm-font-display); }
.hm-planner-banner p { color: #e5f6ff; font-size: 17px; max-width: 720px; }
.hm-planner-kicker { display: inline-block; padding: 6px 14px; border-radius: 30px; background: #ffffff20; border: 1px solid #ffffff40; font-size: 15px; }
.hm-planner-banner-emblem { display: grid; justify-items: center; align-content: center; width: 168px; min-height: 168px; border-radius: 30px; background: #ffffff1a; border: 1px solid #ffffff40; flex: 0 0 auto; box-shadow: 0 12px 40px #06334d2e; }
.hm-planner-banner-emblem span { font-size: 52px; line-height: 1.4; }
.hm-planner-banner-emblem strong { font-size: 19px; color: #fff; }
.hm-planner-banner-emblem small { color: #d5eeef; font-size: 14px; }
.hm-planner-banner-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hm-planner-banner-links a { display: inline-flex; padding: 9px 15px; border-radius: 10px; background: #ffffff1b; border: 1px solid #ffffff4a; color: #fff!important; font-weight: 700; text-decoration: none; }
.hm-planner-week-card { padding: clamp(18px,2vw,27px); }
.hm-planner-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hm-planner-eyebrow { display: block; font-size: 13px; color: #288078; font-weight: 800; margin-bottom: 3px; }
.hm-planner-heading h2 { font: 850 clamp(22px,2.3vw,28px)/1.4 var(--hm-font-display); margin: 0; color: #133650; }
.hm-planner-soft-tag { background: #eef6f9; color: #39677a; border-radius: 30px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.hm-planner-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 9px; }
.hm-planner-day { display: grid; gap: 5px; justify-items: center; background: #fff; color: #31536e; padding: 13px 6px; min-height: 75px; border: 1px solid #dbe8f1; border-radius: 13px; cursor: pointer; font: inherit; }
.hm-planner-day strong { font-size: 15px; }
.hm-planner-day small { font-size: 12px; color: #718699; }
.hm-planner-day:hover { border-color: #61a4bb; background: #f3fcff; }
.hm-planner-day.is-selected, .hm-planner-day[aria-pressed="true"] { background: #e7f5f4; color: #126e67; border-color: #249789; box-shadow: 0 0 0 1px #249789 inset; }
.hm-planner-day.is-selected small { color: #168278; }
.hm-planner-v2 .hm-planner-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: start; }
.hm-planner-v2 .hm-planner-form-card,.hm-planner-v2 .hm-planner-chart-card { padding: clamp(19px,2.6vw,30px); border-radius: 22px; }
.hm-planner-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.hm-planner-field { min-width: 0; padding: 14px; border: 1px solid #e0eaf3; border-radius: 14px; background: #fbfdff; }
.hm-planner-field label { display: block; font-size: 15px; font-weight: 800; color: #254d65; margin-bottom: 10px; }
.hm-planner-field label small { display: inline; font-size: 12px; color: #6c8292; }
.hm-planner-field :is(input[type="time"],input[type="number"]) { width: 100%; min-height: 45px; padding: 8px 12px; border: 1px solid #b9d1e5; border-radius: 10px; color: #153c60; background: #fff; font: 700 20px/1.4 var(--hm-font); direction: ltr; text-align: center; }
.hm-planner-quick { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.hm-planner-quick button { cursor: pointer; background: #e9f4ff; border: 1px solid #c4ddeb; color: #24648e; padding: 5px 9px; border-radius: 8px; font: 700 12px/1.5 var(--hm-font); }
.hm-planner-quick button:hover { background: #d6edff; }
.hm-planner-save { grid-column: 1/-1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hm-planner-save .hm-button { padding: 11px 19px; border-radius: 11px; font-size: 16px; background: #147d74; border-color: #147d74; }
.hm-planner-save .hm-button:hover { background: #10675e; }
.hm-planner-save #hm-planner-status { color: #416477; font-size: 14px; margin: 0; }
.hm-planner-chart-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-planner-chart-tabs button { background: #f3f8fe; border: 1px solid #c8daed; color: #2d5276; border-radius: 24px; font: 700 14px/1.5 var(--hm-font); padding: 7px 15px; cursor: pointer; }
.hm-planner-chart-tabs button[aria-pressed="true"] { background: #1768aa; color: #fff; border-color: #1768aa; }
.hm-planner-v2 .hm-planner-chart { min-height: 280px; margin-top: 20px; gap: 9px; }
.hm-planner-v2 .hm-planner-bar { min-width: 0; }
.hm-planner-v2 .hm-planner-bar-track { min-height: 168px; padding: 4px; background: linear-gradient(#f8fbfe,#eff6fb); border: 0; border-radius: 15px; }
.hm-planner-v2 .hm-planner-bar-fill { border-radius: 10px; background: linear-gradient(#4db3bf,#166c99); }
.hm-planner-v2 .hm-planner-bar-today .hm-planner-bar-fill { background: linear-gradient(#42cb9b,#138579); }
.hm-planner-v2 .hm-planner-bar b { color: #244a62; font-size: 13px; }
.hm-planner-v2 .hm-planner-bar strong { font-size: 17px; color: #1b496a; }
.hm-planner-v2 .hm-planner-bar small { font-size: 11px; }
.hm-planner-v2 .hm-planner-week-summary { margin-top: 17px; }
.hm-planner-v2 .hm-planner-week-summary > div { padding: 12px 6px; background: #f0f8ff; border-color: #deebf5; }
.hm-planner-v2 .hm-planner-week-summary strong { font-size: 24px; color: #155a8b; }
.hm-planner-v2 .hm-planner-week-summary span { font-size: 12px; color: #547189; }
.hm-planner-growth { margin-top: 16px; padding: 13px 16px; background: #e9f8f1; color: #15634f; border: 1px solid #bde8d4; border-radius: 12px; }
.hm-planner-growth.is-negative { background: #fff3ee; border-color: #f5cbbf; color: #92413a; }
.hm-planner-growth strong { display:block; font-size: 16px; }
.hm-planner-growth span { display:block; font-size: 13px; margin-top: 3px; }
.hm-leader-teaser { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; background: linear-gradient(120deg,#f8fbff,#f4fcfa); }
.hm-leader-teaser > div { display: flex; align-items: center; gap: 16px; }
.hm-leader-teaser h2 { margin: 0 0 5px; }
.hm-leader-teaser p { margin: 0; color: #4d667b; }
.hm-leader-teaser-icon { font-size: 40px; }
.hm-leader-rows li { border-radius: 13px; }
.hm-leader-rows li:nth-child(1) { background: #fff9e8; border: 1px solid #f1d992; }
.hm-leader-rows li:nth-child(2) { background: #f6f9fc; border: 1px solid #cbd5df; }
.hm-leader-rows li:nth-child(3) { background: #fff8f2; border: 1px solid #edcdb3; }

/* 3.1.2 — clearer, more premium sales page */
.hm-mehr-enrollment .hm-enroll-hero { border-radius: 25px; border: 1px solid #badfd7; box-shadow: 0 16px 35px #164e4c19; }
.hm-mehr-enrollment .hm-enroll-art { background: #f6fbff; }
.hm-mehr-enrollment .hm-enroll-art img { aspect-ratio: auto; height: auto; width: 100%; object-fit: contain; }
.hm-mehr-enrollment .hm-enroll-copy { background: linear-gradient(115deg,#0e3a52,#0b5b66 65%,#0d776e); padding: clamp(24px,3vw,44px); }
.hm-mehr-enrollment #hm-enroll-title { font-size: clamp(34px,4.2vw,60px); margin: 13px 0 14px; }
.hm-mehr-enrollment .hm-enroll-lead { font-size: clamp(19px,2.1vw,24px); }
.hm-mehr-enrollment .hm-enroll-description { font-size: 16px; color: #ddedf0; line-height: 1.95; max-width: 850px; }
.hm-mehr-enrollment .hm-enroll-deadline { display: inline-flex; align-items: center; gap: 5px; color: #fff1cc; background: #ffffff1c; border: 1px solid #e7c98e66; border-radius: 14px; font-size: 16px; padding: 9px 16px; }
.hm-mehr-enrollment .hm-enroll-hero-note { color: #e1eef1; font-size: 14px; }
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button { font-size: 17px; min-height: 56px; }
.hm-mehr-enrollment .hm-enroll-link { font-size: 16px; }
.hm-mehr-enrollment .hm-enroll-stats span { font-size: 15px; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter strong { font-size: 18px; line-height: 1.6; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter span { font-size: 16px; font-weight: 700; }
.hm-mehr-enrollment .hm-enroll-feature h3 { font-size: 19px; }
.hm-mehr-enrollment .hm-enroll-feature p { font-size: 15px; }
.hm-mehr-enrollment .hm-enroll-price-label { font-size: 15px; }
.hm-mehr-enrollment .hm-enroll-order > p, .hm-mehr-enrollment .hm-enroll-muted { font-size: 14px; }
.hm-mehr-enrollment .hm-enroll-includes li { font-size: 15px; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-old-price { color: #9c2d31; font-size: 17px; font-weight: 800; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-old-price del { color: #bd282e; text-decoration-thickness: 3px; font-size: clamp(21px,2.1vw,27px); text-decoration-color: #e32937; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-save-note { color: #87501c; font-size: 15px; font-weight: 800; }
.hm-mehr-enrollment .hm-mehr-price strong { font-size: clamp(32px,3.5vw,45px); }
.hm-mehr-enrollment .hm-mehr-package-choice strong { font-size: 17px; }
.hm-mehr-enrollment .hm-mehr-package-choice small { font-size: 16px; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field { font-size: 16px; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field small { font-size: 13px; }
.hm-mehr-enrollment .hm-enroll-form-card h3 { font-size: 22px; }
.hm-mehr-enrollment .hm-mehr-final-total strong { font-size: 23px; }
@media (max-width: 930px) {
  .hm-planner-banner-emblem { width: 120px; min-height: 125px; }
  .hm-planner-v2 .hm-planner-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .hm-planner-banner-emblem { display: none; }
  .hm-planner-days { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 7px; }
  .hm-planner-day { min-width: 88px; flex: 0 0 auto; }
  .hm-planner-fields { grid-template-columns: minmax(0,1fr); }
  .hm-planner-v2 .hm-planner-chart { overflow-x: auto; grid-template-columns: repeat(7,minmax(48px,1fr)); }
  .hm-planner-v2 .hm-planner-week-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hm-planner-v2 .hm-planner-week-summary strong { font-size: 20px; }
  .hm-student .hm-app-nav .hm-app-links a { font-size: 13px; }
}
/* Responsive single-control navigation keeps the site header compact on mobile. */
.hm-app-mobile-menu { display: none; }
@media (max-width: 800px) {
  .hm-student .hm-app-nav .hm-app-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
  .hm-student .hm-app-nav nav.hm-app-links { display: none!important; }
  .hm-app-mobile-menu { display: block; flex: 0 0 100%; }
  .hm-app-mobile-menu > summary { cursor: pointer; list-style: none; padding: 10px 14px; background: #edf6ff; border: 1px solid #c8deed; border-radius: 12px; color: #174f82; font-weight: 800; }
  .hm-app-mobile-menu > summary::-webkit-details-marker { display: none; }
  .hm-app-mobile-menu nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid #deebf3; border-radius: 13px; }
  .hm-app-mobile-menu nav a { display: block; text-align: center; border-radius: 9px; border: 1px solid #dbe8f4; padding: 10px 7px; color: #194b72; text-decoration: none; font-weight: 750; }
  .hm-app-mobile-menu nav a[aria-current="page"] { background: #e4f6f1; border-color: #44a492; color: #10695e; }
  .hm-student .hm-app-nav .hm-app-account { margin-inline-start: auto; font-size: 13px; }
}

/* 3.1.3 — coaching hub, accessible welcome and modern registration */
.hm-coach-intro,.hm-coach-inbox,.hm-coach-duels {margin-block:18px; border-radius:22px!important; box-shadow:0 12px 32px #113b670b;}
.hm-coach-quote {display:flex;align-items:flex-start;gap:18px;padding:18px 21px;border-radius:17px;background:linear-gradient(115deg,#edf7ff,#f2fbf6);border:1px solid #cfe5e4}
.hm-coach-quote>span {font-size:36px;line-height:1.1;flex:none}
.hm-coach-quote h2 {margin:0 0 7px!important;font-size:clamp(21px,2vw,26px)!important}
.hm-coach-quote p {font-size:clamp(16px,1.5vw,19px)!important;color:#214e64;line-height:1.85;margin:0!important}
.hm-coach-guide {margin-top:14px;border:1px solid #d5e7f3;padding:12px 16px;border-radius:14px;background:#fff}
.hm-coach-guide summary {font-size:19px;font-weight:850;color:#174d73;cursor:pointer;list-style-position:inside}
.hm-coach-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.hm-coach-steps>div {padding:14px;border:1px solid #dce9f4;border-radius:14px;background:linear-gradient(180deg,#fff,#f6faff)}
.hm-coach-steps b {display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#e5f5ee;color:#147661;font-size:19px;margin-bottom:9px}
.hm-coach-steps strong {display:block;color:#153a5c;font-size:16px}
.hm-coach-steps p {font-size:14px;line-height:1.8;color:#527184}
.hm-coach-thread {display:grid;gap:11px;padding:16px;background:#f5f9fe;border-radius:18px;margin:16px 0;max-height:560px;overflow-y:auto}
.hm-coach-bubble {background:white;border:1px solid #dce6f3;padding:12px 16px;border-radius:17px;width:min(90%,660px);margin-inline-end:auto}
.hm-coach-bubble.hm-self {background:#e8f8f0;border-color:#bee4d1;margin-inline-end:0;margin-inline-start:auto}
.hm-coach-bubble strong {display:block;color:#1b597c;font-size:14px}
.hm-coach-bubble p {font-size:16px!important;margin:6px 0!important;line-height:1.9}
.hm-coach-bubble small {font-size:12px;color:#627b8f}
.hm-coach-compose {display:grid;gap:8px}
.hm-coach-compose label {font-weight:800;font-size:17px;color:#1e506d}
.hm-coach-compose textarea {width:100%;min-height:100px;padding:13px 15px;border:1px solid #c4d7e7;border-radius:13px;resize:vertical;font:inherit;background:#fff;color:#19374d}
.hm-coach-compose button {justify-self:start}
.hm-coach-duel-card {margin-block:13px;padding:17px 20px;border-radius:16px;border:1px solid #d3e5f4;background:linear-gradient(120deg,#f7fbff,#f5fffa)}
.hm-coach-duel-top {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hm-coach-duel-top strong {font-size:18px;color:#104775}
.hm-coach-duel-top span {background:#e0f1fd;color:#125282;border-radius:30px;padding:5px 12px;font-size:13px;font-weight:800}
.hm-coach-duel-card p {color:#405e70;line-height:1.9;font-size:15px}
.hm-coach-duel-approve {display:flex;gap:8px;flex-wrap:wrap}
.hm-coach-admin {font:400 16px/1.7 var(--hm-font)!important;color:#173d59}
.hm-coach-admin>h1 {font-size:32px!important;margin-bottom:12px!important}
.hm-coach-admin .hm-card {margin:16px 0;padding:24px;border-radius:19px;box-shadow:0 8px 28px #0c416b12}
.hm-coach-admin-nav {display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}
.hm-coach-admin-nav a {display:inline-flex;padding:10px 17px;background:#eaf3fd;border-radius:11px;color:#174f82;text-decoration:none;font-weight:750}
.hm-coach-admin :is(input[type="number"],textarea,select) {box-sizing:border-box;width:100%;max-width:740px;padding:10px 12px;border:1px solid #b7cce0;border-radius:10px;color:#173d59;font:inherit}
.hm-coach-admin :is(.hm-coach-admin-message-form,.hm-coach-duel-form) {display:grid;gap:13px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:end}
.hm-coach-admin :is(.hm-coach-admin-message-form,.hm-coach-duel-form) label {display:grid;gap:7px;font-weight:750}
.hm-coach-admin-message-form label:has(textarea) {grid-column:1 / -1}
.hm-coach-admin .hm-button {justify-self:start}
.hm-coach-admin-thread {display:grid;gap:12px;max-height:600px;overflow:auto}
.hm-coach-admin-thread article {background:#f6faff;border:1px solid #dce8f4;padding:14px;border-radius:12px}
.hm-coach-admin-thread strong {display:block;color:#134d7b}
.hm-coach-admin-thread small {color:#668093}
.hm-coach-admin-thread p {white-space:normal}
.hm-coach-admin-stats {padding:15px;background:#f0f9f6;border:1px solid #c9e7d8;border-radius:14px;margin:18px 0}
.hm-mehr-enrollment .hm-enroll-claim {font-size:clamp(14px,1.3vw,18px);font-weight:800;line-height:1.8;color:#e1ffef;background:#ffffff17;border:1px solid #ffffff31;border-radius:12px;padding:9px 14px;margin:12px 0 6px}
.hm-mehr-enrollment .hm-enroll-hero {overflow:hidden;box-shadow:0 19px 56px #164a5a2b;border:1px solid #97d2ca}
.hm-mehr-enrollment .hm-enroll-copy {background:radial-gradient(circle at 11% 0%,#297d8d66,transparent 43%),linear-gradient(126deg,#0a334e 3%,#106a6e 100%)}
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button {background:linear-gradient(110deg,#1c93b7,#0b7196);border-color:#4ab2ba;box-shadow:0 12px 20px #002b4552}
.hm-mehr-enrollment .hm-enroll-feature .hm-enroll-icon {display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(135deg,#ddf8f2,#e8f2ff);color:#12607d;box-shadow:0 6px 14px #15597a1a}
.hm-mehr-enrollment .hm-enroll-feature .hm-enroll-icon svg {width:27px;height:27px}
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter {border-radius:17px;box-shadow:0 8px 25px #11394b13}
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter span {font-size:18px!important}
.hm-mehr-enrollment .hm-enroll-stats strong {font-size:clamp(22px,2.6vw,30px)}
.hm-mehr-learning .hm-learning-subject > span {font-size:clamp(18px,1.7vw,21px)!important;font-weight:800}
.hm-practice-nextbar {font-size:clamp(15px,1.5vw,17px);background:#eef8fb;border-color:#a2d8d3;padding:13px 15px}
.hm-practice-nextbar span {font-size:16px;color:#0b6371}
.hm-practice-nextbar button {font-size:15px;min-height:40px}
.hm-practice-nextbar .hm-practice-next-stop[aria-pressed="true"] {border-color:#0b846c;background:#dff9ee;color:#087459}
.hm-app-links .hm-app-link-planner:before {content:'🗓️ ';font-size:15px}
.hm-app-links .hm-app-link-mehr:before {content:'📘 ';font-size:15px}
.hm-app-links .hm-app-link-leaders:before {content:'🏆 ';font-size:15px}
@media(max-width:960px) {.hm-coach-steps {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px) {.hm-coach-steps {grid-template-columns:1fr}.hm-coach-quote {padding:13px;gap:9px}.hm-coach-admin .hm-card {padding:15px}}

/* 3.1.4 — lesson study cards: temporary highlighter, persistent repetitions and difficulty */
.hm-student .hm-mehr-notes { border-radius: 24px; background: #fff; }
.hm-study-root { --hm-study-line: #d9e9ed; --hm-study-text: #17334a; --hm-study-teal: #087d73; color: var(--hm-study-text); }
.hm-study-toolbar { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin: 12px 0 15px; }
.hm-study-toolbar>div:first-child { max-width: 650px; }
.hm-study-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: #137a78; margin-bottom: 6px; }
.hm-student .hm-study-toolbar h4 { font: 850 clamp(24px,2.4vw,32px)/1.45 var(--hm-font); color: #123956; margin: 0 0 6px; }
.hm-student .hm-study-toolbar p { font-size: 16px; color: #476477; line-height: 1.9; margin: 0; }
.hm-study-overview { display: flex; gap: 9px; flex-wrap: wrap; }
.hm-study-overview span { display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 14px; background: #eaf7f3; border: 1px solid #cce8df; font-size: 14px; color: #174d47; font-weight: 700; }
.hm-study-overview span:nth-child(2) { background: #fff8e8; border-color: #f3e4bf; color: #795620; }
.hm-study-overview strong { font-size: 20px; font-weight: 900; }
.hm-study-preferences { display: grid; gap: 12px; padding: 15px; background: linear-gradient(115deg, #f2faff 0%, #f7fcfb 80%); border: 1px solid #d4e7ef; border-radius: 18px; margin-bottom: 12px; }
.hm-study-highlighters, .hm-study-music { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hm-study-highlighters>span, .hm-study-music>label:first-child { font-size: 15px; color: #28556c; font-weight: 800; }
.hm-study-color { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 2px solid transparent; border-radius: 11px; cursor: pointer; transition: transform .16s, outline-color .16s; }
.hm-study-color:hover { transform: translateY(-2px); }
.hm-study-color span { visibility: hidden; font-weight: 900; }
.hm-study-color[aria-pressed="true"] { outline: 2px solid #256f83; outline-offset: 2px; }
.hm-study-color[aria-pressed="true"] span { visibility: visible; }
.hm-study-color-mint { background: #bbebd4; color: #12654c; }
.hm-study-color-gold { background: #fff0a4; color: #815c00; }
.hm-study-color-lilac { background: #dfd2fa; color: #553a8a; }
.hm-study-music select { max-width: 240px; min-height: 42px; border: 1px solid #bad4df; border-radius: 10px; padding: 7px 10px; background: #fff; font: 500 14px/1.6 var(--hm-font); color: #1b5263; }
.hm-study-volume { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: #3e6174; }
.hm-study-volume input { max-width: 100px; accent-color: #117a8d; }
.hm-study-filterbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 8px 13px; }
.hm-study-filter { padding: 8px 16px; font: 800 15px/1.6 var(--hm-font); border: 1px solid #cbdfeb; border-radius: 999px; background: #fff; color: #315574; cursor: pointer; }
.hm-study-filter-active { color: #fff; background: #156c89; border-color: #156c89; }
.hm-study-filterbar [data-study-status] { margin-inline-start: auto; font-size: 14px; color: #096958; }
.hm-study-filterbar [data-study-status].hm-study-alert { color: #aa3f40; }
.hm-study-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,390px),1fr)); gap: 15px; align-items: stretch; }
.hm-study-card { min-width: 0; display: flex; flex-direction: column; padding: 18px; border: 1px solid #d7e6ec; border-radius: 20px; background: #fff; box-shadow: 0 9px 28px rgba(22,64,85,.06); transition: border-color .16s, box-shadow .16s, transform .16s; }
.hm-study-card:hover { border-color: #8dc1cc; box-shadow: 0 12px 28px rgba(21,84,103,.09); }
.hm-study-card.hm-study-difficult { border-inline-start: 4px solid #d09a43; }
.hm-study-card.hm-study-saving { opacity: .78; }
.hm-study-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.hm-study-order { background: #e8f6f2; color: #126a5d; font-weight: 850; font-size: 14px; padding: 5px 11px; border-radius: 9px; }
.hm-study-review-count { font-weight: 750; font-size: 14px; color: #446c7f; }
.hm-study-text { display: flex; flex-direction: column; align-items: stretch; gap: 14px; text-align: start; width: 100%; background: #f9fcfd; border: 1px solid #e3eef1; border-radius: 15px; color: #172f43; padding: 18px; cursor: pointer; font: 550 clamp(17px,1.6vw,20px)/2.03 var(--hm-font); min-height: 130px; transition: background .2s, border-color .2s, box-shadow .2s; }
.hm-study-text:hover:not(:disabled) { background: #f1faf9; border-color: #a6cfc8; }
.hm-study-text-content { overflow-wrap: anywhere; white-space: normal; }
.hm-study-text-content strong { font-weight: 900; color: #0b5875; }
.hm-study-mark-hint { color: #4a7580; font-size: 13px; font-weight: 750; line-height: 1.4; margin-top: auto; }
.hm-study-card.hm-study-visited .hm-study-text { border-color: #77bf9d; box-shadow: inset 0 0 0 1px #8edcbe; }
.hm-study-card.hm-study-visited[data-highlight-color="mint"] .hm-study-text { background: #d9f8e8; }
.hm-study-card.hm-study-visited[data-highlight-color="gold"] .hm-study-text { background: #fff2b9; border-color: #e0ba58; box-shadow: inset 0 0 0 1px #ead080; }
.hm-study-card.hm-study-visited[data-highlight-color="lilac"] .hm-study-text { background: #ede3ff; border-color: #b7a0e2; box-shadow: inset 0 0 0 1px #c7b7e9; }
.hm-study-card.hm-study-visited .hm-study-mark-hint { color: #16715b; }
.hm-study-card-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.hm-study-reviewed-button, .hm-study-hard-button { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 145px; gap: 7px; border: 1px solid #bbd6e2; border-radius: 12px; background: #fff; color: #24647f; padding: 9px 11px; cursor: pointer; font: 800 14px/1.5 var(--hm-font); }
.hm-study-reviewed-button:hover:not(:disabled), .hm-study-hard-button:hover:not(:disabled) { background: #f0faff; }
.hm-study-reviewed-button[aria-pressed="true"] { background: #e0f6e9; color: #0f7450; border-color: #b7e3cc; }
.hm-study-hard-button[aria-pressed="true"] { background: #fff0cc; border-color: #edc785; color: #885a13; }
.hm-study-hard-button[aria-pressed="true"]>span:first-child { font-size: 0; }
.hm-study-hard-button[aria-pressed="true"]>span:first-child:after { content: '★'; font-size: 18px; }
.hm-study-reviewed-button:disabled { opacity: 1; cursor: default; }
.hm-study-milestones { display: flex; gap: 6px; align-items: center; margin-top: 15px; }
.hm-study-milestones i { flex: 1 1 auto; height: 7px; background: #e2edf0; border-radius: 999px; }
.hm-study-milestones i.hm-study-step-done { background: linear-gradient(90deg, #2da78d, #157c75); }
.hm-study-milestones small { white-space: nowrap; color: #3c6372; font-size: 13px; font-weight: 800; margin-inline-start: 4px; }
.hm-study-last { display: block; margin-top: 9px; color: #607e8c; font-size: 12px; }
.hm-study-empty { padding: 24px; background: #fffaf1; border: 1px dashed #e8c889; border-radius: 14px; color: #6e562c; }
.hm-study-footer-help { background: #f4f9fc; border: 1px solid #dbeaf2; padding: 13px 16px; border-radius: 14px; margin-top: 15px!important; color: #42657a; font-size: 14px!important; line-height: 1.9!important; }
.hm-study-card[hidden], .hm-study-empty[hidden] { display: none!important; }
.hm-study-root :is(button,select,input):focus-visible { outline: 3px solid #247bc2; outline-offset: 3px; }
@media (max-width: 700px) {
  .hm-study-preferences { padding: 12px; }
  .hm-study-toolbar { flex-direction: column; align-items: stretch; }
  .hm-study-overview { width: 100%; }
  .hm-study-text { font-size: 18px; min-height: 110px; padding: 14px; }
  .hm-study-card { padding: 13px; }
  .hm-study-filterbar [data-study-status] { flex-basis: 100%; }
}

/* 3.1.5 visual refresh */
.hm-learning-hero-glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#0f4c81,#205bb2 48%,#177a78 100%);
}
.hm-learning-hero-glass::before,
.hm-learning-hero-glass::after {
  content:"";
  position:absolute;
  inset:auto auto -12% -4%;
  width:26rem;height:26rem;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 0 0 40px rgba(255,255,255,.04),0 0 0 80px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.018);
  pointer-events:none;
}
.hm-learning-hero-glass::after { inset:-8% -2% auto auto; width:18rem; height:18rem; }
.hm-learning-hero-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,320px); gap:1.5rem; align-items:center; }
.hm-learning-kicker { display:inline-flex; padding:.4rem .8rem; border-radius:999px; background:rgba(255,255,255,.12); backdrop-filter:blur(8px); font-weight:700; margin-bottom:.8rem; }
.hm-learning-hero-copy p { max-width:58rem; }
.hm-learning-hero-glasscard {
  padding:1.5rem; border-radius:28px; color:#fff; border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08));
  backdrop-filter:blur(20px); box-shadow:0 20px 55px rgba(7,28,66,.28);
  display:grid; gap:.45rem; text-align:right;
}
.hm-learning-hero-glasscard b { font-size:1.4rem; }
.hm-learning-hero-glasscard span { font-size:1rem; font-weight:700; }
.hm-learning-subcopy { margin:.35rem 0 0; color:#5a6d86; font-size:.96rem; }
.hm-learning-section-title { gap:1rem; }
.hm-learning-chapter-card { min-height:132px; padding:1.05rem 1.1rem !important; align-content:flex-start; gap:.55rem; }
.hm-learning-chapter-index { display:inline-flex; align-self:flex-start; border-radius:999px; padding:.28rem .7rem; background:#eef6ff; color:#1457b3; font-size:.82rem; font-weight:700; }
.hm-learning-chapter-card strong { font-size:1.06rem; line-height:1.8; }
.hm-learning-chapter-card small { color:#6c7b91; font-size:.88rem; }
.hm-learning-mode-card .hm-markets-tile-content h3,
.hm-markets-tile h3 { font-size:1.9rem !important; line-height:1.2; }
.hm-markets-tile p { font-size:1.05rem; }
.hm-markets-tile::before {
  content:""; position:absolute; inset:18px auto auto 18px; width:70px; height:70px; border-radius:22px;
  background:linear-gradient(135deg,rgba(35,94,181,.16),rgba(33,178,173,.18));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
}
.hm-markets-tile { position:relative; overflow:hidden; }

.hm-planner-check { justify-content:center; }
.hm-planner-check label { display:flex; align-items:center; gap:.55rem; font-weight:700; }
.hm-planner-profile-card,.hm-planner-advice-card { margin-top:1.5rem; }
.hm-planner-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.hm-planner-span-2 { grid-column:1 / -1; }
.hm-planner-inline-pairs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin-top:.75rem; }
.hm-planner-advice-box { background:#f7fbff; border:1px solid #d9ebfb; border-radius:24px; padding:1rem 1.15rem; }
.hm-planner-advice-list { margin:0; padding-right:1.15rem; display:grid; gap:.65rem; }
.hm-planner-advice-list li { line-height:1.95; }
.hm-planner-alarm-note { margin:.9rem 0 0; color:#607087; }
.hm-coach-bullet-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.hm-coach-bullet-cards article { background:#f7fbff; border:1px solid #d9ebfb; border-radius:20px; padding:1rem; }
.hm-coach-help-login ol { margin:0; padding-right:1.1rem; display:grid; gap:.5rem; }

@media (max-width: 900px) {
  .hm-learning-hero-shell,
  .hm-planner-profile-grid,
  .hm-planner-inline-pairs { grid-template-columns:1fr; }
  .hm-learning-hero-glasscard { order:-1; }
  .hm-markets-tile h3 { font-size:1.5rem !important; }
}

/* Hamyar 3.1.5 — study journey, advice and reward UI. CSS only on plugin views. */
.hm-mehr-learning .hm-learning-hero-glass {
  min-height: 285px;
  padding: clamp(1.4rem,3vw,2.5rem);
  border: 1px solid rgba(255,255,255,.32);
  border-inline-start: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 5% 10%, rgba(109,216,246,.36), transparent 35%),
    radial-gradient(circle at 95% 100%, rgba(15,202,164,.29), transparent 43%),
    linear-gradient(125deg, #163864, #174d91 52%, #136d7d);
  box-shadow: 0 22px 54px rgba(18,54,100,.22), inset 0 1px 0 rgba(255,255,255,.38);
}
.hm-mehr-learning .hm-learning-hero-glass .hm-learning-hero-shell { position:relative; z-index:1; }
.hm-mehr-learning .hm-learning-hero-glass h1 {
  color:#fff; letter-spacing:0; margin:0 0 .65rem;
  font-size:clamp(2rem,4.5vw,3.2rem); font-weight:850;
  text-shadow:0 8px 22px rgba(0,22,52,.2);
}
.hm-learning-hero-glass .hm-learning-hero-copy p { max-width:64ch; color:#edf8ff; font-size:clamp(.95rem,1.6vw,1.12rem); line-height:1.95; }
.hm-learning-hero-glass .hm-learning-kicker { color:#fff; letter-spacing:.1px; font-size:.95rem; line-height:1.6; }
.hm-mehr-learning .hm-learning-hero-glasscard { min-height:195px; border-radius:24px; padding:1.65rem; display:flex; flex-direction:column; justify-content:center; gap:1rem; transform:rotate(-1.2deg); }
.hm-mehr-learning .hm-learning-hero-glasscard b { font-size:clamp(1.65rem,2vw,2rem); }
.hm-learning-hero-glasscard small { font-size:.88rem; color:rgba(255,255,255,.83); }
.hm-mehr-learning .hm-learning-hero-actions a { border-radius:14px; padding:.72rem 1rem; font-size:1rem; background:rgba(255,255,255,.12); backdrop-filter:blur(15px); }
.hm-mehr-learning .hm-learning-hero-actions a:hover { background:rgba(255,255,255,.25); transform:translateY(-2px); }
.hm-mehr-learning .hm-learning-lesson { margin-top:1.5rem; }
.hm-mehr-learning .hm-learning-lesson > .hm-learning-section-title h2 { font-size:clamp(2rem,4vw,2.65rem); }
.hm-mehr-learning .hm-learning-lesson nav { gap:1.1rem; }
.hm-mehr-learning .hm-learning-mode-card { min-height:350px; padding:1rem 1.35rem 1.4rem; gap:.6rem; align-content:start; border:1px solid #d6e7f0; border-radius:24px; background:linear-gradient(180deg,#fff,#f8fbff); box-shadow:0 9px 24px rgba(37,76,118,.06); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.hm-mehr-learning .hm-learning-mode-card:hover { transform:translateY(-5px); border-color:#77c2d2; box-shadow:0 22px 38px rgba(32,84,128,.14); }
.hm-learning-mode-card .hm-learning-mode-illustration { width:100%; height:175px; object-fit:contain; display:block; margin:0 auto .1rem; }
.hm-mehr-learning .hm-learning-mode-card strong { font-size:clamp(1.5rem,2.15vw,2rem)!important; line-height:1.5; color:#0d427a; text-align:center; }
.hm-mehr-learning .hm-learning-mode-card > span { color:#637a92; font-size:clamp(.98rem,1.2vw,1.12rem); text-align:center; line-height:1.9; }
.hm-mehr-learning .hm-learning-mode-card small { margin-top:auto; justify-content:center; color:#168e8e; font-size:1.02rem; font-weight:800; }
.hm-learning-chapters .hm-learning-section-title h3 { font-size:clamp(1.55rem,2.5vw,2.1rem); }
.hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr)); gap:.9rem; }
.hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card { min-height:160px; border-radius:20px; padding:1.1rem 1.15rem!important; background:linear-gradient(165deg,#fff,#f7fbff); display:flex; flex-direction:column; align-items:start; justify-content:start; gap:.65rem; box-shadow:0 8px 22px rgba(11,59,101,.05); }
.hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card:hover,
.hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card[aria-current="page"] { border-color:#169b8b; background:#f0fbf7; box-shadow:0 12px 27px rgba(22,142,124,.1); }
.hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card strong { font-size:1.13rem; line-height:1.7; font-weight:800; text-wrap:balance; color:#15426d; }
.hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card small { margin-top:auto; color:#567786; font-size:.96rem; font-weight:700; }
.hm-mehr-learning .hm-learning-chapter-index { color:#136ca4; background:#e5f3fb; font-size:.95rem!important; padding:.32rem .9rem; }
.hm-learning-subject > span { font-size:1.03rem; font-weight:700; }
.hm-learning-subject > strong { font-size:1.4rem!important; }
.hm-study-exit-dialog { border:0; border-radius:24px; padding:1.55rem 1.7rem; box-shadow:0 35px 95px rgba(3,25,51,.35); max-width:min(92vw,530px); direction:rtl; font-family:var(--hm-font-ui, Tahoma); }
.hm-study-exit-dialog::backdrop { background:rgba(5,25,54,.55); backdrop-filter:blur(3px); }
.hm-study-exit-dialog h2 { color:#0d4979; font-size:1.75rem; }
.hm-study-exit-dialog p { line-height:1.95; font-size:1.04rem; }
.hm-study-exit-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.15rem; }
.hm-study-exit-actions a { text-decoration:none; }
.hm-stories-main { max-width:1180px; margin:auto; padding:1.3rem; }
.hm-stories-hero { background:linear-gradient(120deg,#edf9ff,#f5fff9); border-radius:26px; }
.hm-stories-hero > span { color:#238b88; font-weight:800; }
.hm-stories-hero h1 { font-size:clamp(1.8rem,3vw,2.4rem); }
.hm-stories-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr)); gap:1rem; margin-block:1.2rem; }
.hm-story-item { border-radius:22px; border:1px solid #dbe7f2; }
.hm-story-icon { font-size:1.8rem; }
.hm-story-item h2 { font-size:1.3rem; }
.hm-story-body { line-height:2; }
.hm-story-pages { display:flex; justify-content:center; gap:1rem; }
.hm-growth-requests,.hm-growth-awards,.hm-growth-stories { border-radius:22px; }
.hm-growth-mini-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:.9rem; margin-top:1rem; }
.hm-growth-mini-grid article { padding:1rem; border-radius:18px; background:linear-gradient(150deg,#f2faff,#fff); border:1px solid #dbe9f3; }
.hm-growth-mini-grid article > span { font-size:1.6rem; display:block; margin-bottom:.45rem; }
.hm-growth-mini-grid h3 { font-size:1.16rem; color:#0d4c79; }
.hm-growth-mini-grid p { color:#516779; }
.hm-growth-request-form { display:grid; grid-template-columns:1fr 2fr auto; gap:.75rem; align-items:end; margin-top:.8rem; }
.hm-growth-request-form label { display:grid; gap:.3rem; font-weight:700; }
.hm-growth-request-form input,.hm-growth-request-form select { width:100%; min-height:44px; padding:.4rem .6rem; border:1px solid #bfd3e6; border-radius:11px; font:inherit; background:#fff; }
.hm-growth-request-history { display:flex; flex-wrap:wrap; gap:.7rem; align-items:center; margin-top:.9rem; }
.hm-growth-request-history span { background:#f1f8ff; border:1px solid #d6e8f5; border-radius:10px; padding:.3rem .65rem; color:#3c667c; }
.hm-points-breakdown { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:.55rem; margin:.8rem 0; }
.hm-points-breakdown span { padding:.65rem .75rem; border:1px solid #d8e9f2; border-radius:12px; background:#f4fbff; display:flex; gap:.4rem; flex-wrap:wrap; align-items:center; }
.hm-points-breakdown strong { color:#12517b; font-size:1.13rem; }
.hm-coach-help-login { margin-block:1rem; border-radius:20px; }
.hm-coach-help-login summary { font-weight:800; font-size:1.12rem; cursor:pointer; }
.hm-coach-help-login ol { margin:1rem 0; padding-inline-start:1.8rem; line-height:2; }
.hm-planner-profile-card,.hm-planner-advice-card { border-radius:26px; border-color:#dae8f3; }
.hm-planner-profile-card .hm-planner-heading h2,.hm-planner-advice-card h2 { font-size:clamp(1.55rem,2.8vw,2.1rem); }
.hm-planner-profile-grid .hm-planner-field { border-radius:15px; background:linear-gradient(180deg,#f9fcff,#f5faff); padding:.7rem; }
.hm-planner-profile-grid .hm-planner-field label { font-size:1.05rem; font-weight:750; }
.hm-planner-profile-grid .hm-planner-field :is(input,select,textarea) { font-size:1.03rem; min-height:46px; }
.hm-planner-inline-pairs label { display:grid; gap:.3rem; color:#4c637d; }
.hm-planner-advice-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:.8rem; list-style:none; padding:0; margin:1rem 0; }
.hm-planner-advice-list li { display:flex; flex-direction:column; gap:.35rem; padding:1.1rem 1.2rem; background:#fff; border:1px solid #d9e9f4; border-radius:18px; box-shadow:0 7px 20px rgba(20,75,120,.04); }
.hm-planner-advice-list li strong { color:#105780; font-size:1.25rem; }
.hm-planner-advice-list li span { color:#61758b; }
.hm-planner-advice-list li a { color:#15898d; font-weight:800; margin-top:auto; }
.hm-planner-advice-lead,.hm-planner-advice-end { line-height:1.95; }
.hm-planner-tomorrow-form { display:grid; gap:.65rem; padding:1rem; margin-top:1rem; border-radius:20px; background:linear-gradient(120deg,#edf8ff,#f3fff9); border:1px solid #d4e7f4; }
.hm-planner-tomorrow-form > label { font-size:1.2rem; font-weight:800; color:#12527e; }
.hm-planner-tomorrow-form textarea { width:100%; min-height:95px; border:1px solid #b9d2e1; border-radius:13px; padding:.75rem; font:inherit; resize:vertical; }
.hm-planner-tomorrow-actions { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; }
.hm-coach-student-profile { padding:1rem; background:#f5faff; border:1px solid #d7e6f3; border-radius:14px; margin:1rem 0; }
.hm-coach-student-profile summary { cursor:pointer; font-weight:800; }
.hm-coach-student-profile dl { display:grid; grid-template-columns:minmax(110px,.5fr) minmax(0,1fr); gap:.5rem; }
.hm-coach-student-profile dt { color:#425e76; font-weight:800; }
.hm-coach-student-profile dd { margin:0; overflow-wrap:anywhere; }
@media (max-width: 900px) {
  .hm-growth-request-form { grid-template-columns:1fr; }
  .hm-mehr-learning .hm-learning-mode-card { min-height:300px; }
}
@media (max-width: 650px) {
  .hm-mehr-learning .hm-learning-hero-glass { border-radius:22px; padding:1.15rem; }
  .hm-mehr-learning .hm-learning-hero-glasscard { min-height:130px; transform:none; order:2; }
  .hm-mehr-learning .hm-learning-mode-card { min-height:270px; padding:.8rem; }
  .hm-learning-mode-card .hm-learning-mode-illustration { height:130px; }
  .hm-mehr-learning .hm-learning-lesson nav { grid-template-columns:1fr; }
  .hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card { min-height:168px; padding:.8rem!important; }
  .hm-mehr-learning .hm-learning-chapters .hm-learning-chapter-card strong { font-size:1rem; }
  .hm-planner-advice-list { grid-template-columns:1fr; }
  .hm-planner-profile-grid { grid-template-columns:1fr; }
  .hm-planner-inline-pairs { grid-template-columns:1fr; }
}
@media (max-width: 390px) {
  .hm-mehr-learning .hm-learning-chapters nav { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-mehr-learning .hm-learning-mode-card { transition:none; }
  .hm-mehr-learning .hm-learning-mode-card:hover { transform:none; }
}

/* 3.1.6 visual refinement */
.hm-mehr-enrollment .hm-enroll-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(170, 222, 216, .85);
  background:
    radial-gradient(circle at 100% 0, rgba(239,199,104,.16), transparent 28%),
    linear-gradient(135deg, rgba(5,55,83,.97), rgba(11,112,113,.94));
  box-shadow: 0 24px 60px rgba(10, 64, 85, .20);
}
.hm-mehr-enrollment .hm-enroll-hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.hm-mehr-enrollment .hm-enroll-copy {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  backdrop-filter: blur(12px);
}
.hm-mehr-enrollment .hm-enroll-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0;
}
.hm-mehr-enrollment .hm-enroll-claim {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 900;
  color: #fff4cc;
}
.hm-mehr-enrollment .hm-enroll-subclaim {
  margin: 0 0 14px;
  color: rgba(236,247,248,.92);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 2;
}
.hm-mehr-enrollment .hm-enroll-tag {
  font-size: 1rem;
  font-weight: 800;
  padding: .48rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}
.hm-mehr-enrollment .hm-enroll-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.18;
  margin-top: 14px;
}
.hm-mehr-enrollment .hm-enroll-copy h1 small {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: #e7f8ff;
}
.hm-mehr-enrollment .hm-enroll-lead,
.hm-mehr-enrollment .hm-enroll-description {
  font-size: clamp(1.02rem,1.55vw,1.16rem);
  line-height: 2;
}
.hm-mehr-enrollment .hm-enroll-deadline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .58rem 1rem;
  border-radius: 14px;
  background: rgba(255,245,214,.12);
  border: 1px solid rgba(255,226,147,.35);
  font-size: 1rem;
}
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-button,
.hm-mehr-enrollment .hm-enroll-hero-actions .hm-enroll-link {
  min-height: 60px;
  font-size: 1.08rem;
  font-weight: 800;
}
.hm-mehr-enrollment .hm-enroll-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.hm-mehr-enrollment .hm-enroll-link:hover { background: rgba(255,255,255,.18); }
.hm-mehr-enrollment .hm-enroll-hero-note { font-size: .98rem; }
.hm-mehr-enrollment .hm-enroll-stats {
  margin-top: 18px;
  gap: 16px;
}
.hm-mehr-enrollment .hm-enroll-stats > div {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,251,253,.92));
  border: 1px solid #d2e7e8;
  box-shadow: 0 10px 26px rgba(18, 74, 91, .08);
}
.hm-mehr-enrollment .hm-enroll-stats strong { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.hm-mehr-enrollment .hm-enroll-section {
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(16, 69, 90, .08);
}
.hm-mehr-enrollment .hm-enroll-section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.hm-mehr-enrollment .hm-enroll-kicker,
.hm-mehr-enrollment .hm-enroll-feature-intro,
.hm-mehr-enrollment .hm-enroll-muted { font-size: 1rem; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter {
  border-radius: 22px;
  padding: 24px 20px;
}
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter strong {
  font-size: 1.2rem;
  min-height: 68px;
}
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter span {
  font-size: 1rem !important;
}
.hm-mehr-enrollment .hm-enroll-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 2rem;
}
.hm-mehr-enrollment .hm-enroll-icon svg { width: 34px; height: 34px; }
.hm-mehr-enrollment .hm-enroll-feature h3 { font-size: 1.35rem; }
.hm-mehr-enrollment .hm-enroll-feature p { font-size: 1rem; line-height: 1.9; }
.hm-mehr-enrollment .hm-enroll-checkout-grid {
  gap: 22px;
}
.hm-mehr-enrollment .hm-enroll-form-card,
.hm-mehr-enrollment .hm-enroll-summary-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,251,252,.95));
  border: 1px solid #d6e8e9;
  box-shadow: 0 14px 35px rgba(16,69,90,.08);
}
.hm-mehr-enrollment .hm-enroll-form-card h3,
.hm-mehr-enrollment .hm-enroll-summary-card h3 { font-size: 1.55rem; }
.hm-mehr-enrollment .hm-field input,
.hm-mehr-enrollment .hm-field select,
.hm-mehr-enrollment .hm-field textarea,
.hm-mehr-enrollment .hm-choice {
  font-size: 1rem;
  min-height: 54px;
  border-radius: 14px;
}
.hm-mehr-enrollment .hm-price-box,
.hm-mehr-enrollment .hm-summary-price,
.hm-mehr-enrollment .hm-summary-original {
  font-size: clamp(1.25rem,2vw,1.7rem);
}
.hm-mehr-learning .hm-learning-hero-glass {
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(10, 69, 88, .18);
}
.hm-mehr-learning .hm-learning-hero-glass h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.hm-mehr-learning .hm-learning-hero-glass .hm-learning-hero-copy p,
.hm-mehr-learning .hm-learning-kicker { font-size: 1.05rem; }
.hm-mehr-learning .hm-learning-hero-actions a {
  min-height: 52px;
  font-size: 1.02rem;
}
.hm-mehr-learning .hm-learning-lesson > .hm-learning-section-title h2,
.hm-mehr-learning .hm-learning-chapters .hm-learning-section-title h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.hm-mehr-learning .hm-learning-subcopy { font-size: 1.05rem; line-height: 1.9; }
.hm-mehr-learning .hm-learning-mode-card {
  padding: 24px;
  border-radius: 24px;
  min-height: 100%;
  box-shadow: 0 12px 28px rgba(22, 73, 91, .08);
}
.hm-mehr-learning .hm-learning-mode-illustration {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-inline: auto;
}
.hm-mehr-learning .hm-learning-mode-card strong {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem) !important;
  line-height: 1.45;
}
.hm-mehr-learning .hm-learning-mode-card span {
  font-size: 1.08rem !important;
  line-height: 1.9;
}
.hm-mehr-learning .hm-learning-mode-card small {
  font-size: 1rem;
  font-weight: 800;
}
.hm-mehr-learning .hm-learning-chapter-card {
  border-radius: 22px;
  min-height: 180px;
  align-items: flex-start;
  justify-content: space-between;
}
.hm-mehr-learning .hm-learning-chapter-card strong { font-size: 1.45rem !important; line-height: 1.6; }
.hm-mehr-learning .hm-learning-chapter-card span,
.hm-mehr-learning .hm-learning-chapter-card small { font-size: 1rem !important; }
.hm-study-card, .hm-study-text, .hm-study-card-foot button { font-size: 1rem; }
.hm-study-text-content { font-size: 1.08rem; line-height: 2; }
.hm-study-reviewed-button,
.hm-study-hard-button {
  min-height: 48px;
  border-radius: 14px;
}
.hm-support-notice {
  border-radius: 22px;
  border: 1px solid #cde2f3;
  background: linear-gradient(145deg, rgba(232,245,255,.96), rgba(244,250,255,.94));
  box-shadow: 0 14px 32px rgba(25, 88, 129, .08);
}
.hm-support-notice-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hm-support-notice-head > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, #2c8be6, #2bbca6);
  color: #fff;
  font-size: 1.7rem;
  flex: 0 0 58px;
}
.hm-support-notice h2 { margin: 0 0 4px; font-size: 1.5rem; }
.hm-support-notice p { font-size: 1rem; line-height: 1.95; }
.hm-support-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hm-support-links { margin-top: 12px; color: #3f5f74; font-size: .96rem; }
.hm-support-links span { margin-inline: 6px; }
@media (max-width: 782px) {
  .hm-mehr-enrollment .hm-enroll-copy h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
  .hm-mehr-enrollment .hm-enroll-feature h3 { font-size: 1.2rem; }
  .hm-mehr-learning .hm-learning-mode-card strong { font-size: 1.45rem !important; }
  .hm-mehr-learning .hm-learning-lesson > .hm-learning-section-title h2,
  .hm-mehr-learning .hm-learning-chapters .hm-learning-section-title h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* 3.1.7 – PREMIUM BANK MEHR CHECKOUT
   Sales-only scope; previous booking, pricing and gateway logic untouched. */
.hm-mehr-enrollment {
  --lux-navy: #072a38;
  --lux-emerald: #0b6764;
  --lux-gold: #dfb86a;
  --lux-ink: #113748;
  --lux-cream: #fff9ef;
  background: radial-gradient(circle at 10% 0%, #e5f3f2 0, #f3f8fa 39%, #f7faf9 100%);
}
.hm-mehr-enrollment .hm-catalog-main { max-width: 84rem; padding: clamp(15px, 2vw, 28px) clamp(12px, 2.1vw, 32px) 70px; }
.hm-mehr-enrollment .hm-app-nav-inner { max-width: 84rem; }
.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  flex-direction: unset;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(235, 209, 146, .52);
  border-radius: 30px;
  background: #063b43;
  box-shadow: 0 27px 64px rgba(9, 50, 67, .2), 0 3px 6px rgba(4, 34, 49, .05);
}
.hm-mehr-enrollment .hm-enroll-hero-luxury::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 12px;
  border: 1px solid rgba(255, 235, 186, .25);
  border-radius: 22px;
  pointer-events: none;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 auto auto 0;
  width: 37%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e8cc94, transparent);
  pointer-events: none;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-copy {
  order: 0;
  z-index: 1;
  max-width: none;
  padding: clamp(32px, 4vw, 66px) clamp(24px, 4vw, 62px);
  background:
    radial-gradient(ellipse at 18% 5%, rgba(46, 172, 166, .26) 0, transparent 52%),
    radial-gradient(ellipse at 91% 80%, rgba(218, 169, 72, .10) 0, transparent 52%),
    linear-gradient(135deg, #092f3d 0%, #07534f 82%, #086365 100%);
  backdrop-filter: none;
  align-self: stretch;
  color: #f9fbf7;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-eyebrow {
  display: inline-flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(231, 239, 231, .28);
  color: #e3f3ed;
  background: rgba(255,255,255,.09);
  font-size: clamp(.85rem, 1.3vw, .98rem);
  margin-bottom: clamp(18px, 2vw, 26px);
  letter-spacing: 0;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-eyebrow b { color: #e7ca88; }
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-claim {
  width: fit-content;
  padding: 0;
  border: 0;
  margin: 0 0 9px;
  background: none;
  color: #f5dfab;
  font-size: clamp(1.12rem, 1.7vw, 1.46rem);
  line-height: 1.6;
  font-weight: 850;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title {
  margin: 6px 0 13px;
  color: #fff;
  font-size: clamp(2.7rem, 4.1vw, 4.35rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title em { color: #f4cf85; }
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title small {
  margin-top: 11px;
  font-size: .36em;
  line-height: 1.65;
  color: #ddf3e9;
  font-weight: 650;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-lead {
  max-width: 34em;
  color: #fff;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.78;
  font-weight: 750;
  margin: 17px 0 9px;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-description {
  max-width: 40em;
  color: #d0e7e4;
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.95;
  margin: 0;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-description strong { color: #f6df9d; }
.hm-luxury-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.hm-luxury-hero-tags span {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 242, 201, .18);
  background: rgba(255,255,255,.09);
  color: #eaf4f0;
  font-size: .9rem;
  font-weight: 650;
}
.hm-luxury-hero-offer {
  display: flex;
  gap: clamp(16px,2.5vw,32px);
  flex-wrap: wrap;
  align-items: end;
  padding: 18px 20px;
  margin-top: 23px;
  max-width: 640px;
  border-radius: 19px;
  background: linear-gradient(110deg, rgba(255,255,255,.15), rgba(255,255,255,.075));
  border: 1px solid rgba(244, 226, 176, .38);
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 12px 26px rgba(0, 20, 24, .1);
  backdrop-filter: blur(13px);
}
.hm-luxury-hero-offer > div { display: grid; gap: 2px; }
.hm-luxury-hero-offer small { color: #dfebdf; font-size: .91rem; }
.hm-luxury-hero-offer strong { font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.28; font-weight: 900; color: #ffedbe; white-space: nowrap; }
.hm-luxury-hero-offer strong span { font-size: .47em; font-weight: 750; }
.hm-luxury-hero-offer-old del { font-size: clamp(1rem, 1.7vw, 1.26rem); color: #ffb0a9; text-decoration-color: #ff555a; text-decoration-thickness: 3px; }
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(105deg, #e5bf70 0%, #fff1c8 47%, #d3a956 100%);
  border: 1px solid #f0d28d;
  box-shadow: 0 12px 24px rgba(0, 23, 33, .2);
  border-radius: 13px;
  color: #243731;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 900;
  min-height: 54px;
  padding: 13px 22px;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button:hover { background: #fff0ba; border-color: #f6d78d; transform: translateY(-2px); }
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 245, 239, .33);
  border-radius: 13px;
  background: rgba(255,255,255,.105);
  padding: 12px 18px;
  font-size: 1rem;
  color: #f5fcf8;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-link:hover { background: rgba(255,255,255,.18); color: #fff; }
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-deadline {
  display: inline-flex;
  margin: 17px 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #f9dd99;
  font-size: .97rem;
  line-height: 1.9;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-subclaim {
  padding-top: 11px;
  margin: 0;
  max-width: 44em;
  background: none;
  color: #ccded7;
  font-size: clamp(.84rem, 1.15vw, .93rem);
  line-height: 1.85;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury {
  position: relative;
  order: 0;
  align-self: stretch;
  max-width: none;
  width: 100%;
  min-height: 615px;
  background: #e7f0ed;
  border-inline-start: 2px solid rgba(225, 189, 117, .55);
  isolation: isolate;
  overflow: hidden;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 615px;
  object-fit: cover;
  object-position: 35% 50%;
  aspect-ratio: auto;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(4, 37, 42, .75), transparent);
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury figcaption.hm-luxury-image-caption {
  position: absolute;
  z-index: 2;
  bottom: clamp(19px, 3vw, 45px);
  inset-inline-start: clamp(19px, 3vw, 45px);
  width: auto;
  max-width: 85%;
  height: auto;
  clip-path: none;
  overflow: visible;
  display: grid;
  gap: 6px;
  border-radius: 17px;
  border: 1px solid rgba(255, 251, 228, .36);
  padding: clamp(12px, 1.9vw, 20px);
  background: rgba(4, 45, 55, .40);
  backdrop-filter: blur(15px);
  box-shadow: 0 12px 35px rgba(11, 36, 40, .18);
  text-align: start;
  color: #fff;
}
.hm-luxury-image-caption span { color: #f6dfad; font-size: clamp(.82rem,1.3vw,1rem); }
.hm-luxury-image-caption strong { color: #fff; font-size: clamp(1rem,1.7vw,1.35rem); font-weight: 850; }
.hm-luxury-image-caption small { color: #d9ede4; font-size: .84rem; direction: ltr; }

/* Subtle editorial surfaces and a prominent, readable order summary. */
.hm-mehr-enrollment .hm-enroll-stats { background: transparent; border: 0; padding: 0; margin: 21px 0 0; gap: 13px; }
.hm-mehr-enrollment .hm-enroll-stats > div {
  border: 1px solid #d9e8e4;
  border-radius: 17px;
  padding: 20px 12px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(10, 59, 67, .05);
}
.hm-mehr-enrollment .hm-enroll-stats > div + div { border-inline-start: 1px solid #d9e8e4; }
.hm-mehr-enrollment .hm-enroll-stats strong { font-size: clamp(1.35rem, 2.5vw, 1.95rem); color: #08615c; }
.hm-mehr-enrollment .hm-enroll-stats span { font-size: .98rem; color: #587375; }
.hm-mehr-enrollment .hm-enroll-section { scroll-margin-top: 26px; }
.hm-mehr-enrollment .hm-enroll-section-heading { margin-bottom: 24px; }
.hm-mehr-enrollment .hm-enroll-kicker { color: #0d8077; font-weight: 850; }
.hm-mehr-enrollment .hm-enroll-section-heading h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); color: #123b46; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter,
.hm-mehr-enrollment .hm-enroll-feature { border: 1px solid #dce8e6; background: linear-gradient(160deg, #fff, #f8fbf9); box-shadow: 0 10px 28px rgba(9, 62, 64, .045); }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter { border-radius: 18px; }
.hm-mehr-enrollment .hm-enroll-lessons .hm-markets-chapter strong { color: #18404b; font-size: clamp(1.03rem, 1.45vw, 1.18rem); }
.hm-mehr-enrollment .hm-enroll-features { gap: 15px; }
.hm-mehr-enrollment .hm-enroll-feature { border-radius: 19px; }
.hm-mehr-enrollment .hm-enroll-feature .hm-enroll-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(140deg, #e1f7f0, #e8f1f9);
  color: #086d69;
  box-shadow: 0 9px 22px rgba(9, 88, 97, .07);
}
.hm-mehr-enrollment .hm-enroll-feature .hm-enroll-icon svg { width: 32px; height: 32px; }
.hm-mehr-enrollment .hm-enroll-feature h3 { font-size: 1.2rem; color: #163c44; }
.hm-mehr-enrollment .hm-enroll-feature p { font-size: .99rem; color: #516b72; }
.hm-luxury-register-lead { margin: 9px 0 0; font-size: 1.05rem; color: #5d7377; line-height: 1.95; }
.hm-luxury-register-shield { display: inline-flex; border: 1px solid #d9e5da; border-radius: 999px; background: #eaf5ed; color: #0b6556; font-size: .96rem; font-weight: 700; padding: 10px 17px; }
.hm-mehr-enrollment .hm-enroll-checkout-grid { grid-template-columns: minmax(0,1.27fr) minmax(310px,.87fr); gap: 25px; }
.hm-mehr-enrollment .hm-enroll-form-card {
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(246,251,249,.95));
  border: 1px solid #dbe9e5;
  border-radius: 23px;
  box-shadow: 0 15px 33px rgba(9, 62, 67, .055);
}
.hm-mehr-enrollment .hm-enroll-form-card h3 { color: #113c46; font-size: 1.5rem; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field { font-size: 1.02rem; color: #264d51; }
.hm-mehr-enrollment .hm-enroll-form-card .hm-field input { min-height: 54px; border-radius: 12px; background: #fff; border-color: #bfd8d2; }
.hm-mehr-enrollment .hm-mehr-package-picker { background: #fbfdfb; border: 1px solid #d3e5dd; border-radius: 17px; padding: 18px; }
.hm-mehr-enrollment .hm-mehr-package-choice { border-radius: 14px; background: #fff; padding: 15px 12px; }
.hm-mehr-enrollment .hm-mehr-package-choice:has(input:checked) { background: #e9f9f4; border-color: #21a48b; box-shadow: 0 0 0 2px rgba(33,164,139,.2); }
.hm-mehr-enrollment .hm-mehr-package-choice strong { font-size: 1.02rem; }
.hm-mehr-enrollment .hm-enroll-pay .hm-button { font-size: 1.11rem; min-height: 58px; border-radius: 13px; background: linear-gradient(110deg, #087f71, #0c686e); box-shadow: 0 13px 25px rgba(3, 92, 87, .15); }
.hm-mehr-enrollment .hm-enroll-pay .hm-button:hover { background: linear-gradient(110deg, #086b61, #064f58); }
.hm-mehr-enrollment .hm-enroll-order {
  position: sticky;
  top: 20px;
  border-radius: 23px;
  border: 1px solid #d8e7e3;
  border-top: 5px solid #d6b068;
  background: linear-gradient(150deg, #fffefa 0%, #f9fcfa 100%);
  padding: clamp(22px, 3vw, 33px);
  box-shadow: 0 15px 38px rgba(6, 59, 67, .085);
}
.hm-mehr-enrollment .hm-enroll-order .hm-enroll-price-label { border-radius: 999px; color: #7b521b; background: #f9edcf; border: 1px solid #f0dcae; font-size: .98rem; padding: 8px 14px; }
.hm-mehr-enrollment .hm-enroll-order h3 { font-size: clamp(1.38rem, 2vw, 1.75rem); line-height: 1.5; color: #153c46; }
.hm-mehr-enrollment .hm-enroll-order > p { font-size: .97rem; }
.hm-mehr-enrollment .hm-mehr-price { margin: 18px 0 12px; padding: 20px 16px; border-radius: 17px; background: linear-gradient(120deg, #ecf7f2, #f4fbf7); border: 1px solid #d5ebdf; }
.hm-mehr-enrollment .hm-mehr-price strong { font-size: clamp(1.9rem, 3vw, 2.65rem); color: #08745f; line-height: 1.35; }
.hm-mehr-enrollment .hm-mehr-price strong small { color: #185b54; font-size: .45em; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-old-price { color: #8a5042; font-size: 1.02rem; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-old-price del { text-decoration-color: #d64643; text-decoration-thickness: 3px; }
.hm-mehr-enrollment .hm-mehr-price .hm-mehr-save-note { color: #78521a; font-size: .99rem; }
.hm-mehr-enrollment .hm-enroll-includes li { font-size: .98rem; line-height: 1.9; }
.hm-mehr-enrollment .hm-enroll-order-note { background: #f2f8f5; border-radius: 13px; }
.hm-mehr-enrollment .hm-enroll-steps li { border-radius: 16px; }
@media (max-width: 1100px) {
  .hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-copy { padding: clamp(24px, 3.2vw, 44px); }
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury,
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img { min-height: 560px; }
}
@media (max-width: 860px) {
  .hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury { grid-template-columns: 1fr; }
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury {
    order: 0;
    min-height: 0;
    height: auto;
    border-inline-start: 0;
    border-top: 1px solid rgba(225, 189, 117, .55);
  }
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img { min-height: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .hm-mehr-enrollment .hm-enroll-checkout-grid { grid-template-columns: 1fr; }
  .hm-mehr-enrollment .hm-enroll-order { position: static; }
  .hm-mehr-enrollment .hm-enroll-features { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .hm-mehr-enrollment .hm-catalog-main { padding: 14px 12px 48px; }
  .hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury { border-radius: 21px; }
  .hm-mehr-enrollment .hm-enroll-hero-luxury::before { inset: 8px; border-radius: 15px; }
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-copy { padding: 28px 21px; }
  .hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-lead { font-size: 1.03rem; }
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-description { font-size: .94rem; }
  .hm-luxury-hero-offer { padding: 13px 15px; gap: 11px 20px; }
  .hm-luxury-hero-offer strong { font-size: 1.8rem; }
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button,
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-link { width: 100%; }
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury figcaption.hm-luxury-image-caption { max-width: 88%; bottom: 12px; inset-inline-start: 12px; padding: 9px 12px; }
  .hm-luxury-image-caption strong { font-size: 1.02rem; }
  .hm-mehr-enrollment .hm-enroll-stats { gap: 7px; }
  .hm-mehr-enrollment .hm-enroll-stats > div { padding: 14px 6px; }
  .hm-mehr-enrollment .hm-enroll-stats span { font-size: .82rem; }
  .hm-mehr-enrollment .hm-enroll-features { grid-template-columns: 1fr; }
  .hm-mehr-enrollment .hm-enroll-order { padding: 22px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button:hover { transform: none; }
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img.hm-luxury-bankmark {
  position: absolute;
  z-index: 3;
  inset-block-start: clamp(15px, 2vw, 28px);
  inset-inline-end: clamp(15px, 2vw, 28px);
  width: clamp(155px, 18vw, 220px);
  height: auto;
  min-height: 0;
  aspect-ratio: 280 / 96;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 24px rgba(2,37,45,.12);
}
@media (max-width: 560px) {
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img.hm-luxury-bankmark {
    width: min(165px, 38%);
    border-radius: 10px;
  }
}

/* 3.1.9 — warm focused experience, easy navigation, accessible review */
:is(.hm-student,.hm-panel) {
  --hm-ink:#263840;
  --hm-muted:#607178;
  --hm-paper:#fffdf9;
  --hm-line:#e6ddd0;
  --hm-blue:#176b70;
  --hm-tint:#f7f1e6;
  font-size:17px;
}
.hm-student:not(.hm-paper-page):not(.hm-exam-take),
.hm-planner-page,.hm-mehr-learning,.hm-mehr-enrollment,.hm-notebook-page,
.hm-panel.hm-dashboard {background-color:#fcf8f1;}
:is(.hm-student,.hm-panel) .hm-card {
  background:linear-gradient(150deg,#fffefb 0%,#fffaf4 100%);
  border-color:#e7dfd4;
  border-radius:22px;
  box-shadow:0 9px 26px rgba(75,65,46,.055);
}
:is(.hm-student,.hm-panel) .hm-button {border-radius:13px;min-height:46px;}
:is(.hm-student,.hm-panel) .hm-button:not(.hm-secondary) {background:#176a69;border-color:#176a69;}
:is(.hm-student,.hm-panel) .hm-button:not(.hm-secondary):hover {background:#125657;border-color:#125657;}
:is(.hm-student,.hm-panel) :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):focus-visible {
  outline:3px solid #ecb877;outline-offset:2px;
}
.hm-mehr-learning .hm-catalog-main,
.hm-mehr-enrollment .hm-catalog-main {background:linear-gradient(135deg,#fff9f0,#fdfaf5 54%,#f4f9f6);}
.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury {
  border:1px solid #d9cbb6;
  background:#f4e9d7;
  box-shadow:0 25px 70px rgba(95,74,40,.12);
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-copy {
  background:
    radial-gradient(ellipse at 14% 9%,rgba(224,156,79,.14),transparent 40%),
    linear-gradient(125deg,#214c4a,#2c635a 58%,#365b53);
  color:#fff9eb;
  backdrop-filter:none;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-claim,
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title em {color:#ffe2a4;}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury {background:#eddcca;}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img:first-child {object-fit:cover;object-position:30% center;}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury figcaption.hm-luxury-image-caption {
  background:rgba(253,248,235,.90);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.82);
  color:#234e4d;
  box-shadow:0 10px 35px rgba(46,55,32,.09);
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury figcaption.hm-luxury-image-caption * {color:#234e4d;}
.hm-mehr-enrollment .hm-enroll-stats>div,.hm-mehr-enrollment .hm-enroll-section,
.hm-mehr-enrollment .hm-enroll-form-card,.hm-mehr-enrollment .hm-enroll-order {
  border:1px solid #e7dac8;
  background:linear-gradient(150deg,rgba(255,254,250,.98),rgba(250,244,234,.95));
  box-shadow:0 13px 37px rgba(98,73,45,.07);
}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button {background:linear-gradient(120deg,#eed198,#c99a4b);color:#173e39;border:1px solid #f4d99e;box-shadow:0 10px 25px rgba(20,39,35,.12);}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button:hover {background:#f9ddaa;color:#163e3a;}
.hm-mehr-enrollment .hm-enroll-order {border-top:4px solid #d4a35e;}
.hm-mehr-enrollment .hm-enroll-form-card :is(input,textarea,select):not([type="radio"]):not([type="checkbox"]) {background:#fffcf7;border:1px solid #decdb7;}
.hm-mehr-enrollment .hm-mehr-package-choice:has(input:checked) {background:#e8f3e8;border-color:#5a9b85;}
.hm-mehr-learning .hm-learning-mode-card,.hm-mehr-learning .hm-learning-chapter-card {
  background:linear-gradient(155deg,#fffdfa,#f9f4eb);
  border-color:#e8dac5;
  box-shadow:0 12px 30px rgba(93,69,38,.07);
}
.hm-mehr-learning .hm-learning-mode-card:hover,.hm-mehr-learning .hm-learning-chapter-card:hover {border-color:#caa36a;box-shadow:0 18px 36px rgba(93,69,38,.11);}
.hm-mehr-learning .hm-learning-hero-glass {background:linear-gradient(112deg,#24544e,#397469);}
.hm-quick-access,.hm-admin-shortcuts {margin:16px 0;padding:22px;}
.hm-quick-heading {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;}
.hm-quick-heading strong,.hm-admin-shortcuts>strong {font-size:1.36rem;color:#26514b;}
.hm-quick-heading span {color:#7a6c57;font-size:.93rem;}
.hm-quick-links {display:flex;flex-wrap:wrap;gap:10px;margin:12px 0;}
:is(.hm-panel,.hm-student,.hm-admin) .hm-quick-links a {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;min-width:140px;padding:11px 17px;
  border:1px solid #d9c49f;border-radius:14px;
  color:#26544d;background:#fcf6eb;text-decoration:none;
  font-size:1.02rem;font-weight:750;transition:transform .16s,background .16s,box-shadow .16s;
}
:is(.hm-panel,.hm-student,.hm-admin) .hm-quick-links a:hover {background:#f3e9d7;transform:translateY(-2px);box-shadow:0 8px 20px rgba(66,53,28,.09);}
.hm-admin .hm-coach-quickbar {display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 22px;}
.hm-admin .hm-coach-quickbar a {display:inline-flex;align-items:center;padding:8px 13px;border-radius:12px;background:#fff9f0;border:1px solid #deccb2;min-height:40px;font-size:.95rem;color:#26544d;text-decoration:none;}
.hm-daily-encouragement {margin:16px 0;border-inline-start:5px solid #d6a467!important;background:linear-gradient(135deg,#fff9ec,#f4f7ee)!important;}
.hm-daily-encouragement>div {display:flex;gap:15px;align-items:flex-start;}
.hm-daily-encouragement>div>span {font-size:2.1rem;background:#fbebce;padding:12px;border-radius:18px;line-height:1.4;}
.hm-daily-encouragement h2 {font-size:1.48rem;color:#28574f;margin:0 0 6px;}
.hm-daily-encouragement p {font-size:1.12rem;line-height:1.95;color:#35524c;}
.hm-daily-encouragement small {display:block;color:#727366;font-size:.92rem;line-height:1.7;}
.hm-member-tenure {background:#f5efe4;padding:10px 15px;border:1px solid #e9d8bc;border-radius:13px;}
.hm-tier-pill {display:inline-block;background:#e4f1e8;color:#226254;border-radius:30px;font-size:.8rem;padding:4px 11px;margin-inline-start:8px;vertical-align:middle;}
.hm-notebook-exam-title {padding:14px 0 5px;}
.hm-notebook-exam-title h2 {color:#28564c;font-size:1.65rem;}
.hm-practice-mistakes {margin:18px 0 25px;padding:clamp(16px,3vw,25px);}
.hm-practice-mistakes-head {display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;}
.hm-practice-mistakes-head span {font-size:.95rem;color:#a36c35;font-weight:800;}
.hm-practice-mistakes-head h2 {font-size:clamp(1.6rem,3vw,2rem);margin:4px 0;}
.hm-practice-mistakes-head p {font-size:1rem;max-width:65ch;line-height:1.9;}
.hm-practice-mistakes-head>strong {background:#e9f3ec;color:#1f6454;padding:9px 14px;border-radius:14px;font-size:1rem;white-space:nowrap;}
.hm-practice-mistakes-list {display:grid;gap:18px;margin-top:18px;}
.hm-practice-mistake-entry {padding:20px;border:1px solid #e7d8c4;background:#fffcf6;border-radius:20px;}
.hm-practice-mistake-entry h3 {font-size:1.25rem;line-height:1.8;margin:8px 0 13px;}
.hm-practice-mistake-meta {font-weight:800;font-size:.96rem;color:#796342;}
.hm-practice-mistake-entry .hm-practice-wrong {padding:10px 13px;background:#fff0eb;color:#994b3c;border-radius:11px;}
.hm-practice-correct-key {padding:10px 13px;background:#eaf6e9;color:#226b51;border-radius:11px;font-weight:800;}
.hm-practice-answer-detail {padding:10px 14px;margin:12px 0;background:#f4f8f2;border:1px solid #dfebdc;border-radius:13px;}
.hm-practice-answer-detail summary {cursor:pointer;font-weight:800;color:#285b4c;}
.hm-practice-answer-detail div {font-size:1.08rem;line-height:2;padding:10px 0;}
.hm-practice-review-steps {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:13px 0;}
.hm-practice-review-steps>span {border:1px solid #d6cbbb;padding:8px 4px;text-align:center;border-radius:11px;background:#f7f1e6;font-weight:700;color:#716654;}
.hm-practice-review-steps>span.hm-checked {background:#dff5e7;color:#1b6548;border-color:#91cbae;}
.hm-practice-mistake-entry form .hm-button {min-height:43px;}
.hm-practice-review-saved {margin:12px 0;padding:12px;background:#e9f6e8;border-radius:12px;color:#1d6151;font-weight:750;}
.hm-practice-review-saved a {color:#185c52;text-decoration:underline;}
.hm-ambient-toggle {
  position:fixed;inset-inline-end:17px;inset-block-end:18px;z-index:10050;
  border:1px solid #d8c3a0;border-radius:999px;min-height:43px;
  background:rgba(255,251,243,.97);color:#28574c;
  backdrop-filter:blur(12px);box-shadow:0 10px 25px rgba(31,58,42,.15);
  padding:9px 14px;font:700 13px/1.5 "Vazirmatn",Tahoma,sans-serif;cursor:pointer;
}
.hm-ambient-toggle[aria-pressed="true"] {background:#e1f2e7;border-color:#95c5a9;}
.hm-ambient-toggle:focus-visible {outline:3px solid #e2a64c;outline-offset:3px;}
@media (max-width:640px) {
  .hm-quick-links a {flex:1 1 calc(50% - 12px);min-width:0!important;font-size:.95rem!important;}
  .hm-practice-review-steps {grid-template-columns:repeat(4,minmax(0,1fr));}
  .hm-practice-mistake-entry {padding:14px;}
  .hm-ambient-toggle {inset-inline-end:10px;inset-block-end:10px;font-size:12px;max-width:190px;}
}
@media (prefers-reduced-motion: reduce) {
  .hm-quick-links a {transition:none!important;transform:none!important;}
}


/* 3.2.0 — countdown, consultation prompt, compact registration tables and richer sales tools */
.hm-mehr-countdown { display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid #d7e8f0; background:linear-gradient(135deg,#f7fbff,#eef8f4); }
.hm-mehr-countdown-copy h2 { margin:.2rem 0 .4rem; font-size:clamp(1.2rem,2.2vw,1.7rem); }
.hm-mehr-countdown-copy p { margin:0; color:#45606d; }
.hm-mehr-countdown-kicker { display:inline-flex; align-items:center; gap:6px; color:#176182; font-weight:800; }
.hm-mehr-countdown-grid { display:grid; grid-template-columns:repeat(3,minmax(80px,1fr)); gap:12px; min-width:min(100%,330px); }
.hm-mehr-countdown-grid > div { padding:14px 10px; border-radius:16px; text-align:center; background:#fff; border:1px solid #dce9ef; box-shadow:0 6px 18px #1d415609; }
.hm-mehr-countdown-grid strong { display:block; font-size:clamp(1.4rem,2.8vw,2rem); color:#125b87; line-height:1.1; }
.hm-mehr-countdown-grid span { display:block; margin-top:6px; color:#5b7280; font-weight:700; }
.hm-sales-countdown { margin-top:16px; }
.hm-dashboard-countdown { margin:12px 0 0; }
.hm-consultation-prompt { display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid #f0d8a7; background:linear-gradient(135deg,#fffaf0,#fff3dc); }
.hm-consultation-kicker { display:inline-flex; font-weight:800; color:#916512; }
.hm-consultation-prompt h2 { margin:.3rem 0 .45rem; }
.hm-consultation-prompt p,.hm-consultation-prompt small { color:#6f5a32; }
.hm-consultation-prompt .hm-actions { margin-inline-start:auto; }
.hm-enroll-tools-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.hm-enroll-tool-card { background:#fff; border:1px solid #deeaef; border-radius:18px; padding:18px; box-shadow:0 8px 22px #11385d0a; }
.hm-enroll-tool-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:16px; background:linear-gradient(135deg,#e9f4ff,#eef8f1); font-size:26px; margin-bottom:12px; }
.hm-enroll-tool-card h3 { margin:0 0 8px; font-size:18px; }
.hm-enroll-tool-card p { margin:0; color:#526877; line-height:1.9; }
.hm-registration-table td strong,.hm-compact-students td strong { display:block; }
.hm-registration-table td small,.hm-compact-students td small { display:block; margin-top:4px; color:#6a7b86; }
.hm-registration-table th,.hm-registration-table td,.hm-compact-students th,.hm-compact-students td { vertical-align:middle; }
.hm-compact-students td { white-space:normal; }
.hm-compact-students td:last-child a { white-space:nowrap; }
@media (max-width: 900px) {
  .hm-enroll-tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hm-mehr-countdown,.hm-consultation-prompt { flex-direction:column; align-items:flex-start; }
  .hm-mehr-countdown-grid { width:100%; }
}
@media (max-width: 640px) {
  .hm-enroll-tools-grid,.hm-mehr-countdown-grid { grid-template-columns:minmax(0,1fr); }
}


/* === 3.2.1 blue refresh, faster sales layout, vertical chapters, study glass === */
body.hm-student{background:var(--hm-surface-bg,#f6fbff)!important;transition:background .25s ease}
body.hm-student[data-hm-theme="ocean"]{--hm-surface-bg:linear-gradient(180deg,#f6fbff 0%,#edf7ff 100%)}
body.hm-student[data-hm-theme="sky"]{--hm-surface-bg:linear-gradient(180deg,#f7fcff 0%,#eef9ff 100%)}
body.hm-student[data-hm-theme="mint"]{--hm-surface-bg:linear-gradient(180deg,#f7fffd 0%,#eefbf7 100%)}
body.hm-student[data-hm-theme="violet"]{--hm-surface-bg:linear-gradient(180deg,#fbf8ff 0%,#f2edff 100%)}
body.hm-student[data-hm-theme="sunset"]{--hm-surface-bg:linear-gradient(180deg,#fffaf6 0%,#fff0e6 100%)}
body.hm-student[data-hm-theme="rose"]{--hm-surface-bg:linear-gradient(180deg,#fff9fb 0%,#ffeef5 100%)}
body.hm-student[data-hm-theme="sand"]{--hm-surface-bg:linear-gradient(180deg,#fffdf7 0%,#f7f1e5 100%)}
body.hm-student[data-hm-theme="slate"]{--hm-surface-bg:linear-gradient(180deg,#f7f9fc 0%,#edf1f6 100%)}
.hm-ambient-dock{position:fixed;inset-inline-end:18px;inset-block-end:18px;display:grid;gap:8px;z-index:30;max-width:250px}
.hm-theme-palette{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.92);border:1px solid #d6e6f2;box-shadow:0 12px 30px rgba(14,63,112,.10);backdrop-filter:blur(10px)}
.hm-theme-palette>span{width:100%;font-size:12px;font-weight:800;color:#28597f}
.hm-theme-swatch{inline-size:22px;block-size:22px;border-radius:999px;border:2px solid rgba(255,255,255,.88);box-shadow:0 3px 12px rgba(12,73,113,.15);cursor:pointer}
.hm-theme-ocean{background:linear-gradient(135deg,#2d7cff,#73d0ff)}.hm-theme-sky{background:linear-gradient(135deg,#6bb7ff,#d8f1ff)}.hm-theme-mint{background:linear-gradient(135deg,#5fd4bd,#dff7ef)}.hm-theme-violet{background:linear-gradient(135deg,#8a80ff,#e9e1ff)}.hm-theme-sunset{background:linear-gradient(135deg,#ffae63,#ffe1c4)}.hm-theme-rose{background:linear-gradient(135deg,#ff83b6,#ffd7e8)}.hm-theme-sand{background:linear-gradient(135deg,#d2b47e,#f5e8cb)}.hm-theme-slate{background:linear-gradient(135deg,#8092ad,#dde5f0)}
.hm-ambient-toggle{background:#f8fbff;border-color:#c8ddf1;color:#1b4c7a}
.hm-ambient-toggle[aria-pressed="true"]{background:#e8f3ff;border-color:#92bff0;color:#0c4f91}
.hm-mehr-enrollment .hm-enroll-hero{background:linear-gradient(135deg,#f6fbff,#edf6ff 58%,#f8fbff)!important;border:1px solid #d7e6f4;box-shadow:0 20px 55px rgba(16,73,126,.10)}
.hm-mehr-enrollment .hm-enroll-copy h1,.hm-mehr-enrollment .hm-enroll-copy h1 *{color:#104a83!important}
.hm-mehr-enrollment .hm-enroll-claim,.hm-mehr-enrollment .hm-enroll-subclaim{color:#1f6fb5!important}
.hm-mehr-enrollment .hm-enroll-description strong,.hm-mehr-enrollment .hm-enroll-stats strong{color:#0d62bf!important}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury{background:linear-gradient(160deg,#eef6ff,#dfefff)!important}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img:first-child{object-fit:contain!important;object-position:center!important;padding:16px}
.hm-enroll-preview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 10px}
.hm-enroll-preview-card{display:flex;gap:14px;align-items:center;padding:14px;border-radius:22px;background:rgba(255,255,255,.9);border:1px solid #d6e5f4;box-shadow:0 12px 32px rgba(11,73,130,.08)}
.hm-enroll-preview-card img{width:108px;height:90px;flex:0 0 auto;border-radius:16px;background:#e8f2ff;border:1px solid #d9e8fb}
.hm-enroll-preview-card h3{margin:0 0 6px;color:#134c7a;font-size:1.02rem}.hm-enroll-preview-card p{margin:0;color:#58778f;font-size:.92rem;line-height:1.8}
.hm-enroll-tools-grid{gap:18px}.hm-enroll-tool-card{background:linear-gradient(180deg,#ffffff,#f4f9ff);border:1px solid #d9e7f5;box-shadow:0 10px 30px rgba(16,83,144,.08)}
.hm-enroll-tool-icon{background:linear-gradient(135deg,#1f79de,#62c2ff);color:#fff;box-shadow:0 9px 18px rgba(34,111,190,.22)}
.hm-mehr-enrollment .hm-enroll-stats>div,.hm-mehr-enrollment .hm-enroll-section,.hm-mehr-learning .hm-learning-subject,.hm-mehr-learning .hm-learning-mode-card,.hm-mehr-learning .hm-learning-chapter-card,.hm-feedback-box{border-color:#d6e6f4!important;box-shadow:0 12px 34px rgba(12,67,117,.07)!important}
.hm-mehr-learning .hm-learning-subject-grid{gap:16px!important}
.hm-mehr-learning .hm-learning-subject{background:linear-gradient(180deg,#fff,#f6fbff)!important;min-height:100%;display:flex;flex-direction:column;justify-content:flex-start}
.hm-mehr-learning .hm-learning-subject-art{border-radius:18px;background:linear-gradient(180deg,#f3f8ff,#e6f2ff);border:1px solid #d8e8fb;padding:8px;aspect-ratio:4/3;object-fit:cover}
.hm-mehr-learning .hm-learning-subject strong{font-size:1.65rem!important;color:#103d6a}
.hm-mehr-learning .hm-learning-subject span{font-size:1.2rem!important;color:#356890;font-weight:800}
.hm-mehr-learning .hm-learning-subject small{margin-top:auto;color:#0f7e85!important;font-size:1.12rem!important;font-weight:900}
.hm-mehr-learning .hm-learning-chapters nav.hm-markets-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}
.hm-mehr-learning .hm-learning-chapter-card{min-height:0!important;padding:1rem 1.15rem!important;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"badge title" "badge meta";align-items:center;column-gap:14px;row-gap:5px;border-radius:24px!important;background:linear-gradient(180deg,#fff,#f6fbff)!important}
.hm-mehr-learning .hm-learning-chapter-index{grid-area:badge;display:inline-flex;align-items:center;justify-content:center;min-width:94px;padding:10px 14px;border-radius:18px;background:#e8f4ff;color:#2d6fa3;font-weight:900}
.hm-mehr-learning .hm-learning-chapter-card strong{grid-area:title;font-size:1.28rem!important;color:#133e68}
.hm-mehr-learning .hm-learning-chapter-card small{grid-area:meta;font-size:1rem!important}
.hm-study-toolbar,.hm-study-preferences,.hm-study-filterbar,.hm-study-card{background:rgba(255,255,255,.72);backdrop-filter:blur(12px)}
.hm-study-plan-hint{margin:.4rem 0 0;color:#0d6f9d;font-weight:800}
.hm-study-highlighters button.hm-study-color{inline-size:36px;block-size:36px;border-radius:12px}
.hm-study-color-mint{background:#d8f7e8}.hm-study-color-gold{background:#fff1aa}.hm-study-color-lilac{background:#ece4ff}.hm-study-color-sky{background:#d8efff}.hm-study-color-coral{background:#ffd9d2}.hm-study-color-peach{background:#ffe7c9}.hm-study-color-ice{background:#e6fbff}.hm-study-color-rose{background:#ffe2ef}
.hm-study-card{border-radius:24px!important;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(244,250,255,.86))!important;border:1px solid rgba(175,210,239,.9)!important}
.hm-study-card-top{align-items:flex-start}.hm-study-order{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:#e7f2ff;color:#18558e;font-weight:900;letter-spacing:.2px}
.hm-study-text{border-radius:22px!important;background:#fff!important;box-shadow:inset 0 0 0 1px #e5eef8}
.hm-study-card.hm-study-visited[data-highlight-color="mint"] .hm-study-text{background:#d9f8e8!important}.hm-study-card.hm-study-visited[data-highlight-color="gold"] .hm-study-text{background:#fff2b9!important}.hm-study-card.hm-study-visited[data-highlight-color="lilac"] .hm-study-text{background:#ede3ff!important}.hm-study-card.hm-study-visited[data-highlight-color="sky"] .hm-study-text{background:#dff2ff!important}.hm-study-card.hm-study-visited[data-highlight-color="coral"] .hm-study-text{background:#ffe0da!important}.hm-study-card.hm-study-visited[data-highlight-color="peach"] .hm-study-text{background:#ffeed6!important}.hm-study-card.hm-study-visited[data-highlight-color="ice"] .hm-study-text{background:#e8fdff!important}.hm-study-card.hm-study-visited[data-highlight-color="rose"] .hm-study-text{background:#ffe6f1!important}
.hm-study-milestones{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.hm-study-milestones i{inline-size:18px;block-size:18px;border-radius:6px;border:1px solid #d7e5f1;background:rgba(255,255,255,.8)}.hm-study-milestones i.hm-study-step-done{background:linear-gradient(135deg,#1b78df,#60c8ff);border-color:#4ea8ff;box-shadow:0 4px 10px rgba(30,114,208,.18)}
.hm-feedback-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.hm-feedback-head h2{margin:0 0 8px;color:#123f69}.hm-feedback-head span{padding:8px 12px;border-radius:999px;background:#e9f4ff;color:#1a6ab3;font-weight:900}
.hm-feedback-form{display:grid;gap:12px}.hm-feedback-message textarea{min-height:140px;border:1px solid #cfe1f2;border-radius:16px;padding:14px;font:500 15px/1.9 var(--hm-font)}
.hm-feedback-admin-list{margin-top:18px;display:grid;gap:10px}.hm-feedback-item{padding:12px 14px;border-radius:18px;background:#f8fbff;border:1px solid #d8e6f2}.hm-feedback-item strong{color:#123f69}.hm-feedback-item span,.hm-feedback-item small{margin-inline-start:10px;color:#5a7995}.hm-feedback-item p{margin:8px 0 0;line-height:1.9;color:#314e67}
.hm-app-nav,.hm-admin-shortcuts,.hm-coach-admin-nav,.hm-panel nav,.hm-app-mobile-menu summary{font-size:1.03rem}
@media (max-width: 980px){.hm-enroll-preview-strip{grid-template-columns:1fr}.hm-enroll-preview-card{align-items:flex-start}.hm-mehr-learning .hm-learning-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hm-ambient-dock{inset-inline-end:10px;inset-block-end:10px;max-width:220px}}
@media (max-width: 700px){.hm-mehr-learning .hm-learning-subject-grid{grid-template-columns:minmax(0,1fr)!important}.hm-mehr-learning .hm-learning-chapter-card{grid-template-columns:1fr;grid-template-areas:"badge" "title" "meta"}.hm-mehr-learning .hm-learning-chapter-index{min-width:0;width:max-content}.hm-theme-palette{padding:8px 10px;gap:6px}}


/* 3.2.2: strict top-score ordering, premium report and short app-like course routes */
.hm-admin .hm-results-premium{padding:clamp(14px,2.3vw,27px);background:linear-gradient(165deg,#fff 0%,#f4f9ff 100%);border:1px solid #d5e5f6;border-radius:24px;box-shadow:0 16px 40px rgba(19,69,124,.07)}
.hm-admin .hm-results-header{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:16px}
.hm-admin .hm-results-header h2{font-size:clamp(22px,2.4vw,32px);font-weight:900;margin:0 0 8px;color:#113d72}
.hm-admin .hm-results-header p{margin:0;color:#5c7694;font-size:15px}
.hm-admin .hm-results-count{background:#e5f0ff;color:#225c9a;border:1px solid #cee0f7;padding:9px 14px;border-radius:999px;white-space:nowrap;font-weight:800}
.hm-admin .hm-results-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.hm-admin .hm-results-podium-card{display:flex;gap:12px;align-items:center;min-width:0;padding:14px;border-radius:18px;border:1px solid #d9e7fa;background:#fff;box-shadow:0 8px 18px rgba(28,89,154,.06)}
.hm-admin .hm-results-podium-1{background:linear-gradient(120deg,#fffaf0,#fffdf8);border-color:#f1dfb1}
.hm-admin .hm-results-podium-2{background:linear-gradient(120deg,#f5faff,#fff);border-color:#cbd9ed}
.hm-admin .hm-results-podium-3{background:linear-gradient(120deg,#fff8f3,#fff);border-color:#eed8c7}
.hm-admin .hm-podium-icon{font-size:2rem}.hm-admin .hm-results-podium-card>div{display:grid;gap:4px;min-width:0;flex:1}.hm-admin .hm-results-podium-card small{font-size:13px;color:#66809f}.hm-admin .hm-results-podium-card strong{font-size:16px;color:#123d70;overflow-wrap:anywhere}.hm-admin .hm-results-podium-card>b{color:#115bb0;font-size:17px;white-space:nowrap}
.hm-admin .hm-results-table{overflow-x:auto;border-radius:16px;border:1px solid #e1eaf5}
.hm-admin .hm-results-table table{width:100%;border-collapse:separate;border-spacing:0;min-width:920px}
.hm-admin .hm-results-table th{background:#e9f2ff!important;padding:15px 11px!important;font-weight:900!important;font-size:14px;color:#1e4b7e}
.hm-admin .hm-results-table td{padding:13px 10px!important;font-size:15px;vertical-align:middle;border-bottom:1px solid #e8eff8;color:#24486d}
.hm-admin .hm-results-table tbody tr:nth-child(even){background:#f6f9fe}
.hm-admin .hm-results-table tbody tr:hover{background:#ebf5ff!important}
.hm-admin .hm-results-login{display:block;font-size:11px;color:#8293a9;direction:ltr;unicode-bidi:plaintext}
.hm-admin .hm-results-percent{display:grid;gap:5px;min-width:100px}
.hm-admin .hm-results-percent strong{color:#155eac;font-size:17px}
.hm-admin .hm-results-track{display:block;height:7px;background:#e3eefa;border-radius:100px;overflow:hidden}
.hm-admin .hm-results-track i{display:block;height:100%;border-radius:100px;background:linear-gradient(90deg,#2587f0,#2cb7e1)}
.hm-admin .hm-results-rank{display:inline-grid;place-items:center;min-width:33px;height:33px;padding:0 7px;border-radius:10px;background:#ebf2ff;color:#2565b0;font-weight:900}
.hm-admin .hm-results-rank-1{background:#fff1c8;color:#976800}.hm-admin .hm-results-rank-2{background:#e9f1fa;color:#416082}.hm-admin .hm-results-rank-3{background:#f9e8d9;color:#905d38}
.hm-admin .hm-results-view{display:inline-flex;align-items:center;text-decoration:none;padding:8px 12px;background:#e6f3ff;color:#1356a1;font-weight:800;border-radius:12px;white-space:nowrap}
.hm-admin .hm-results-view:hover{background:#d1e8ff}
.hm-mehr-focused .hm-catalog-main{max-width:1180px;margin-inline:auto;padding-top:18px!important}
.hm-mehr-focused .hm-learning-breadcrumb{margin:6px 0 18px!important;padding:13px 16px;background:#f7fbff;border:1px solid #d8e9f9;border-radius:18px;font-size:.93rem;line-height:1.9;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.hm-mehr-focused .hm-learning-subjects,.hm-mehr-focused .hm-learning-receipt,.hm-mehr-focused .hm-learning-guide,.hm-mehr-focused .hm-learning-hero-glass{display:none!important}
.hm-mehr-focused .hm-focus-panel{padding:clamp(17px,2.5vw,30px)!important;border-radius:26px!important;max-width:100%;margin:0!important}
.hm-focus-heading{display:flex;align-items:center;gap:15px;margin:0 0 22px}
.hm-focus-heading h2{margin:2px 0 8px;color:#123f75;font-size:clamp(1.35rem,2.7vw,2rem)}
.hm-focus-heading p{margin:0;color:#647e98;line-height:1.8}
.hm-focus-icon{display:grid;place-items:center;width:64px;height:64px;font-size:2rem;border-radius:20px;background:#e7f2ff;border:1px solid #d7e7f7;flex:none}
.hm-mehr-focused .hm-focus-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card{min-height:275px;display:flex;flex-direction:column;align-items:center;justify-content:start;gap:8px;padding:18px!important;border-radius:22px!important}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-illustration{width:min(100%,175px);height:120px;object-fit:contain}
.hm-mehr-focused .hm-focus-modes strong{font-size:1.3rem!important;color:#184a7b;text-align:center}
.hm-mehr-focused .hm-focus-modes span{text-align:center;font-size:.93rem;color:#67819b}
.hm-mehr-focused .hm-focus-modes small{margin-top:auto;font-weight:800;color:#0b73b8}
.hm-mehr-focused .hm-focus-chapter-list{display:grid;grid-template-columns:1fr!important;gap:12px!important}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card{border-radius:20px!important;border:1px solid #d8e6f4!important;display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 18px!important;min-height:85px!important;grid-template-areas:none!important;box-shadow:0 5px 16px rgba(23,82,145,.05)!important}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-index{grid-area:auto!important;font-size:1rem!important;min-width:95px;background:#e7f2ff;color:#1b67a5;border-radius:16px;padding:10px!important}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card strong{grid-area:auto!important;font-size:1.18rem!important;color:#14446f}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card small{grid-area:auto!important;margin:0;color:#247aa5!important;font-size:.95rem!important}
.hm-focus-reading-head{background:linear-gradient(135deg,#ffffff,#f2f8ff);border:1px solid #d6e7f8;border-radius:23px;display:grid;gap:14px;padding:19px 22px;margin-bottom:16px;box-shadow:0 11px 25px rgba(20,78,140,.06)}
.hm-focus-reading-head h2{margin:5px 0;color:#143f6c;font-size:clamp(1.2rem,2.8vw,1.85rem)}
.hm-focus-switch{display:flex;flex-wrap:wrap;gap:9px}
.hm-focus-switch a{display:inline-flex;padding:9px 15px;text-decoration:none;border-radius:13px;color:#346a9c;background:#eaf4ff;border:1px solid #d7e9fc;font-weight:800}
.hm-focus-switch a[aria-current="page"]{background:linear-gradient(135deg,#1978cf,#2766b9);color:white;border-color:#1978cf;box-shadow:0 7px 16px rgba(22,99,187,.22)}
.hm-focus-note-screen{padding:clamp(13px,2vw,24px)!important;max-width:100%;margin:0!important;border-radius:23px!important}
.hm-focus-note-screen .hm-mehr-notes-head{border-bottom:1px solid #e6f0fa;padding-bottom:12px;margin-bottom:13px}
.hm-notes-parts{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 20px}
.hm-notes-parts a{display:grid;gap:2px;min-width:117px;align-items:center;text-decoration:none;border:1px solid #d2e6f9;padding:10px 16px;border-radius:17px;background:#f6fbff;color:#28629b;font-size:1rem;font-weight:900;transition:transform .18s,background .18s}
.hm-notes-parts a small{font-size:12px;font-weight:500;color:#6987a3}
.hm-notes-parts a:hover{transform:translateY(-2px);background:#eaf4ff}
.hm-notes-parts a[aria-current="page"]{background:#1d74c2;color:#fff;border-color:#1d74c2}
.hm-notes-parts a[aria-current="page"] small{color:#dbeaff}
.hm-notes-next{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:20px 8px;margin-top:18px}
.hm-notes-next span{font-weight:800;color:#26629a}
.hm-auto-batch-result{display:grid;gap:10px;background:#f2f8ff;border:1px solid #d8e9fc;border-radius:18px;padding:18px;margin:15px 0}
.hm-auto-batch-result[hidden]{display:none!important}
.hm-auto-batch-result h3{margin:0;color:#104d83}.hm-auto-batch-result p{margin:0;color:#5d7d9d}
.hm-auto-batch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dbe9fa;border-radius:14px;padding:12px;background:#fff}
.hm-auto-batch-row span{font-weight:750;color:#245482}.hm-auto-batch-row a{white-space:nowrap;color:#1760a6;font-weight:900;text-decoration:none}
@media (max-width:760px){.hm-admin .hm-results-podium{grid-template-columns:1fr}.hm-admin .hm-results-header{flex-wrap:wrap}.hm-mehr-focused .hm-focus-modes{grid-template-columns:1fr}.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card{min-height:0}.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card{grid-template-columns:1fr;justify-items:stretch;align-items:start;gap:6px;padding:15px!important}.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-index{min-width:0;width:max-content}.hm-notes-parts a{flex:1 0 90px;min-width:80px}.hm-auto-batch-row{flex-wrap:wrap}}

/* Polished student/printable scorecard without altering grading or print data */
@media screen{
.hm-student .hm-report:not(.hm-paper-page .hm-report),.hm-panel .hm-report{background:#fff;border:1px solid #d7e7f7;border-radius:25px;box-shadow:0 22px 45px rgba(21,78,138,.09)}
.hm-student .hm-report-masthead,.hm-panel .hm-report-masthead{background:linear-gradient(120deg,#e9f4ff,#f8fbff);border:1px solid #cbdff4;border-inline-start:5px solid #2079d8;border-radius:19px;padding:18px 21px}
:is(.hm-student,.hm-panel) .hm-report-masthead h2{font-weight:900;color:#174677}
:is(.hm-student,.hm-panel) .hm-report .hm-report-facts{gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
:is(.hm-student,.hm-panel) .hm-report .hm-report-facts>div{background:linear-gradient(170deg,#fff,#f6faff);padding:11px 13px;border:1px solid #dfebf7;border-radius:15px}
:is(.hm-student,.hm-panel) .hm-report .hm-report-facts dd{font-size:1.04rem;color:#174b82}
:is(.hm-student,.hm-panel) .hm-report .hm-score>li{border-radius:18px;border:1px solid #e3edf8;padding:12px 15px;background:#f9fbfe}
:is(.hm-student,.hm-panel) .hm-report .hm-comparison-stats>div{border-radius:15px;background:#f1f7ff;padding:12px 14px}
}

.hm-study-unstructured-note{white-space:normal;line-height:2.15;border-radius:19px;padding:18px 20px;border:1px solid #e0eaf5;background:#fff;color:#234763;font-size:1.04rem}


/* ============================================================
 * 3.2.4 | Blue application layout, ten-by-ten study modules,
 * course imagery, private feedback. Scoped to Hamyar only.
 * ============================================================ */
.hm-student, .hm-panel, .hm-admin {
  --hm-font-display: "Vazirmatn", Tahoma, sans-serif;
  --hm-blue: #155ab1;
  --hm-line: #d9e7f7;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
}
.hm-admin :is(h1,h2,h3,h4),.hm-student :is(h1,h2,h3,h4),.hm-panel :is(h1,h2,h3,h4) {
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  letter-spacing: normal;
  line-height: 1.55;
}
.hm-admin h1,.hm-student h1{font-size:clamp(25px,2.85vw,34px);font-weight:900}
.hm-admin h2,.hm-student h2{font-size:clamp(20px,2vw,27px);font-weight:850}
.hm-student :is(button,a,input,textarea,select), .hm-admin :is(button,a,input,textarea,select){
  font-family:"Vazirmatn",Tahoma,sans-serif !important;
}
.hm-mehr-learning .hm-learning-subject-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject {
  padding:12px!important;
  gap:9px;
  border-radius:22px!important;
  min-height:0;
  background:linear-gradient(155deg,#ffffff,#f3f8ff)!important;
  box-shadow:0 9px 23px rgba(18,69,136,.09)!important;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject-art{
  display:block!important;
  width:100%!important;
  aspect-ratio:1 / 1!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  padding:0!important;
  border:0!important;
  border-radius:15px!important;
  background:#edf5ff!important;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject-icon{
  display:inline-flex!important;
  align-self:flex-start;
  min-width:35px;min-height:35px;
  border-radius:11px;background:#e4f1ff;color:#1560aa;align-items:center;justify-content:center;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject strong{
  font-size:clamp(15px,1.15vw,19px)!important;
  line-height:1.7!important;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject span{
  font-size:clamp(13px,.95vw,16px)!important;
}
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject small{
  font-size:clamp(13px,.98vw,16px)!important;
}
.hm-mehr-enrollment .hm-enroll-hero-luxury{
  background:linear-gradient(130deg,#eaf5ff,#f7fbff 70%,#fff)!important;
  border:1px solid #d4e5fa!important;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury{
  background:linear-gradient(140deg,#e6f4ff,#fff)!important;
  min-height:0!important;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img:first-child {
  width:100%!important;
  height:auto!important;
  max-height:790px!important;
  min-height:0!important;
  aspect-ratio: 4/5 !important;
  object-fit:contain!important;
  object-position:center!important;
  padding:8px!important;
  border-radius:20px;
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury::after,
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury figcaption.hm-luxury-image-caption {
  display:none!important; /* All important claims are accessible as HTML text in the sales hero. */
}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img.hm-luxury-bankmark {display:none!important}
.hm-mehr-enrollment .hm-enroll-copy h1{
  font-size:clamp(28px,3.8vw,55px)!important;
  font-weight:900!important;
  line-height:1.43!important;
}
.hm-mehr-enrollment .hm-enroll-copy .hm-enroll-description {
  font-size:clamp(17px,1.45vw,21px);
  font-weight:550;line-height:2.05;
}
.hm-mehr-enrollment .hm-enroll-description strong{
  font-weight:950;font-size:clamp(20px,1.8vw,26px);color:#075bad!important;
}
.hm-mehr-enrollment .hm-enroll-stats>div:first-child strong{
  font-size:clamp(28px,3.4vw,43px)!important;
  color:#0f60c8!important;
  text-shadow:0 2px 12px rgba(32,140,238,.12);
}
.hm-mehr-enrollment .hm-enroll-preview-card h3,.hm-mehr-enrollment .hm-enroll-feature h3{font-size:1.12rem!important;font-weight:900}
.hm-mehr-focused .hm-focus-modes {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card{
  position:relative;
  border:1px solid #d4e6fc!important;
  background:linear-gradient(165deg,#fff,#f0f7ff)!important;
  min-height:262px;
  transition:transform .18s,box-shadow .18s;
}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card:hover{
  transform:translateY(-4px);box-shadow:0 17px 33px rgba(35,112,188,.15)!important;
}
.hm-focus-mode-symbol {
  display:grid;
  place-items:center;
  position:absolute;
  inset-block-start:10px;
  inset-inline-end:10px;
  width:44px;height:44px;
  color:#fff!important;
  font-size:25px!important;
  background:linear-gradient(135deg,#0c5cab,#299cf2);
  border:2px solid #fff;border-radius:14px;
  box-shadow:0 6px 15px rgba(34,103,181,.2);
  font-style:normal;
}
.hm-mehr-study-tools{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;margin:20px 0 0;
}
.hm-mehr-study-tools a {
  display:flex;align-items:center;flex-wrap:wrap;
  gap:8px;min-width:0;
  padding:14px;
  text-decoration:none!important;
  color:#154b80!important;
  background:linear-gradient(145deg,#eef7ff,#fff);
  border:1px solid #cde1f5;
  border-radius:17px;
  transition:transform .15s,box-shadow .15s;
}
.hm-mehr-study-tools a:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,90,168,.1)}
.hm-mehr-study-tools a>span{font-size:23px}
.hm-mehr-study-tools a strong{font-size:15px;font-weight:900}
.hm-mehr-study-tools a small{flex-basis:100%;font-size:12px;color:#607d9b}
.hm-chapter-summary{
  background:linear-gradient(145deg,#fff,#f6faff);
  border-radius:24px!important;padding:clamp(16px,2.4vw,28px)!important;
}
.hm-chapter-summary-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}
.hm-chapter-summary-head h3{font-size:clamp(20px,2vw,29px);color:#164f86;font-weight:900;margin:5px 0}
.hm-chapter-summary-head p{color:#627d98}
.hm-summary-stat{display:grid;gap:4px;text-align:center;padding:13px 22px;background:#eaf4ff;border-radius:18px;min-width:140px}
.hm-summary-stat b{font-size:27px;color:#0a5bb0}
.hm-summary-stat small,.hm-summary-stat span{font-size:12px;color:#526c86}
.hm-summary-points{display:grid;gap:12px;list-style:none;padding:0;margin:0 0 18px}
.hm-summary-points li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:start;padding:15px;border:1px solid #dbe9f8;border-radius:16px;background:#fff;line-height:2;font-size:16px;color:#203f64}
.hm-summary-points .hm-summary-point-number{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#dbebff;color:#195d9c;font-weight:950}
.hm-summary-points li small{grid-column:2;color:#9b6c15;font-size:12px}
.hm-summary-points li.hm-summary-difficult{border-inline-start:4px solid #e1aa3b}
.hm-summary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.hm-course-feedback{margin:20px 0;padding:17px 20px!important;border-radius:21px!important;background:linear-gradient(155deg,#fff,#f4f9ff)!important}
.hm-course-feedback>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;flex-wrap:wrap;color:#175c9b;font-weight:900}
.hm-course-feedback>summary::-webkit-details-marker{display:none}
.hm-course-feedback>summary span{font-size:22px}
.hm-course-feedback>summary small{color:#70829b;font-size:12px;font-weight:500;margin-inline-start:auto}
.hm-course-feedback-form{display:grid;gap:14px;margin-top:18px}
.hm-course-feedback-form fieldset{margin:0;padding:0;border:0;min-width:0}
.hm-course-feedback-form legend{font-weight:850;margin-bottom:10px;color:#194c80}
.hm-course-feedback-rating{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hm-course-feedback-rating label{cursor:pointer}
.hm-course-feedback-rating input{position:absolute;opacity:0;width:1px;height:1px}
.hm-course-feedback-rating label span{display:grid;place-items:center;min-height:54px;padding:10px;border:1px solid #cadff2;border-radius:14px;background:#f8fbff;color:#315f8d;font-weight:850}
.hm-course-feedback-rating input:checked+span{background:linear-gradient(125deg,#135fb2,#298de4);border-color:#236cbe;color:#fff;box-shadow:0 8px 18px rgba(28,101,190,.2)}
.hm-course-feedback-rating input:focus-visible+span{outline:3px solid #6cb3fa;outline-offset:2px}
.hm-course-feedback-form .hm-field input,.hm-course-feedback-form .hm-field textarea{
  width:100%;max-width:100%;padding:11px 13px;border:1px solid #cdddF0;border-radius:12px;background:#fff;color:#143b60;font-size:15px;line-height:1.8
}
.hm-course-feedback-form .hm-button{justify-self:start}
.hm-feedback-admin-stats{display:flex;justify-content:space-between;gap:12px;color:#134d83}
.hm-feedback-admin-table{overflow-x:auto}
.hm-feedback-admin-table table{width:100%;min-width:860px}
.hm-feedback-admin-table th{font-weight:900;font-size:14px}
.hm-feedback-admin-table td{line-height:1.8;vertical-align:top;font-size:14px}
.hm-feedback-admin-table small{display:block;color:#6d8095}
.hm-feedback-level{padding:5px 10px;background:#e8f3ff;color:#145b98;border-radius:10px}
.hm-admin .hm-admin-navigation .hm-admin-nav-group .hm-admin-nav-items a strong{font-size:15px}
.hm-admin .hm-admin-navigation .hm-admin-nav-group .hm-admin-nav-heading strong{font-size:18px}
@media(max-width:1150px){
  .hm-mehr-learning .hm-learning-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .hm-mehr-learning .hm-learning-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hm-mehr-focused .hm-focus-modes{grid-template-columns:minmax(0,1fr)!important}
  .hm-mehr-study-tools{grid-template-columns:minmax(0,1fr)!important}
  .hm-chapter-summary-head{display:block}
  .hm-chapter-summary-head .hm-summary-stat{margin-block:12px}
  .hm-course-feedback-rating{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img:first-child{max-height:none!important}
}
@media(max-width:400px){
  .hm-mehr-learning .hm-learning-subject-grid{grid-template-columns:minmax(0,1fr)!important}
}

.hm-focus-mode-symbol svg{width:25px;height:25px;display:block;stroke:#fff}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card .hm-focus-mode-symbol{color:#fff}

.hm-summary-points li div p{margin:6px 0 0;font-size:13px}.hm-summary-points li div a{text-decoration:none;color:#146abc;font-weight:900}

/* 3.2.5 — compact, task-based administrator workspace. Scoped to plugin UI. */
.hm-admin { --hm-admin-blue:#165caa;--hm-admin-ink:#173b63;--hm-admin-border:#d8e7f6;--hm-admin-bg:#f4f9ff; color:var(--hm-admin-ink);font-size:15px;line-height:1.9 }
.hm-admin :is(h1,h2,h3,h4),.hm-admin :is(button,input,textarea,select,summary,a) {font-family:var(--hm-font,"Vazirmatn",Tahoma,sans-serif)}
.hm-admin .hm-admin-hero { background:radial-gradient(circle at 5% 10%,#3f9be565,transparent 44%),linear-gradient(115deg,#0b2855,#1256a3 67%,#268fd0)!important;margin-bottom:18px;border-radius:26px!important }
.hm-admin .hm-admin-hero h1 {font-size:clamp(28px,3vw,40px)!important;line-height:1.6}
.hm-admin .hm-admin-hero p{font-size:15px!important;line-height:1.95!important;max-width:650px}
.hm-admin .hm-admin-overview {margin:16px 0 25px}
.hm-admin .hm-admin-metrics {grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.hm-admin .hm-admin-metric {padding:18px;min-height:108px;border-color:var(--hm-admin-border);border-radius:21px;box-shadow:0 10px 24px rgba(21,75,133,.06)}
.hm-admin .hm-admin-metric-symbol {height:53px;width:53px;border-radius:17px;font-size:24px;line-height:1}
.hm-admin .hm-admin-metric strong {font-size:clamp(22px,2.5vw,33px);font-weight:900;color:#0d427b}
.hm-admin .hm-admin-metric>span:last-child {font-size:13px!important;font-weight:700;color:#607c99}
.hm-admin .hm-admin-section-head h2 {font-size:clamp(21px,2.2vw,27px);font-weight:900;color:#153d6b}
.hm-admin .hm-admin-section-head p {font-size:14px;line-height:1.85}
.hm-admin :is(.hm-admin-shortcut-section,.hm-admin-course-hub,.hm-admin-recent) {margin:22px 0 28px}
.hm-admin .hm-admin-shortcuts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.hm-admin .hm-admin-shortcut {display:flex;align-items:center;gap:12px;min-width:0;min-height:98px;padding:15px;border-radius:21px;border:1px solid var(--hm-admin-border);background:linear-gradient(155deg,#fff,#f6fbff);text-decoration:none;box-shadow:0 10px 24px rgba(15,80,151,.045);transition:transform .15s,box-shadow .15s,border-color .15s}
.hm-admin .hm-admin-shortcut:hover,.hm-admin .hm-admin-shortcut:focus-visible {transform:translateY(-2px);box-shadow:0 16px 30px rgba(15,80,151,.13);border-color:#81b3e8;outline-offset:3px}
.hm-admin .hm-admin-shortcut-icon {display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;background:linear-gradient(145deg,#e1f0ff,#c9e4ff);color:#165ba5;border-radius:16px;font-size:29px}
.hm-admin .hm-admin-shortcut>span:nth-child(2) {display:grid;gap:4px;min-width:0;flex:1}
.hm-admin .hm-admin-shortcut strong {font-size:16px;line-height:1.6;color:#153e6f}
.hm-admin .hm-admin-shortcut small {font-size:12px;color:#69809b;line-height:1.6}
.hm-admin .hm-admin-shortcut-arrow {font-size:22px;color:#2475bc}
.hm-admin .hm-admin-search-wrap{display:flex;align-items:center;gap:8px;min-width:min(100%,340px);padding:3px 13px;background:#fff;border:1px solid #cde1f4;border-radius:15px;color:#2776bc;box-shadow:0 6px 20px rgba(11,69,121,.045)}
.hm-admin .hm-admin-search-wrap .dashicons{font-size:22px}
.hm-admin .hm-admin-search-wrap input{flex:1;min-width:0;border:0!important;box-shadow:none!important;outline:0;background:transparent!important;padding:10px 0;font-size:14px}
.hm-admin .hm-admin-search-empty{padding:12px 16px;background:#fff6e7;border-radius:14px;color:#815413}
.hm-admin [data-hm-search-item][hidden],.hm-admin .hm-admin-nav-group[hidden],.hm-admin .hm-admin-search-empty[hidden]{display:none!important}
.hm-admin .hm-admin-course-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.hm-admin .hm-admin-course-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(170deg,#fff,#f4faff);border:1px solid var(--hm-admin-border);border-radius:24px;box-shadow:0 12px 28px rgba(13,67,124,.075);transition:transform .16s,box-shadow .16s,border-color .16s}
.hm-admin .hm-admin-course-card:hover{border-color:#82b7ed;transform:translateY(-3px);box-shadow:0 18px 36px rgba(13,67,124,.13)}
.hm-admin .hm-admin-course-primary{display:flex;flex:1;flex-direction:column;text-align:center;align-items:center;gap:7px;padding:13px;text-decoration:none}
.hm-admin .hm-admin-course-media{width:100%;aspect-ratio:1/1;display:grid;place-items:center;background:linear-gradient(145deg,#edf7ff,#deedff);overflow:hidden;border-radius:19px;border:1px solid #deebfa}
.hm-admin .hm-admin-course-media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s}
.hm-admin .hm-admin-course-card:hover .hm-admin-course-media img{transform:scale(1.02)}
.hm-admin .hm-admin-course-media>.dashicons{font-size:66px;width:66px;height:66px;color:#1968af}
.hm-admin .hm-admin-course-primary strong{font-size:clamp(15px,1.4vw,20px);font-weight:900;line-height:1.65;color:#143f6b}
.hm-admin .hm-admin-course-primary small{font-size:14px;color:#517b9e;font-weight:800}
.hm-admin .hm-admin-course-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;border-top:1px solid #dbe9f7}
.hm-admin .hm-admin-course-actions a{display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid #d1e4f7;border-radius:11px;min-height:39px;color:#175d9f;background:#fff;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}
.hm-admin .hm-admin-course-actions .dashicons{width:17px;height:17px;font-size:17px}
.hm-admin .hm-admin-course-actions a:hover,.hm-admin .hm-admin-course-actions a:focus-visible{background:#eaf5ff;border-color:#8bc1f0}
.hm-admin .hm-admin-recent-list{display:grid;gap:8px;padding:10px;background:#fff;border:1px solid #dbe9f6;border-radius:20px}
.hm-admin .hm-admin-recent-list>a{display:flex;gap:12px;align-items:center;min-width:0;border-radius:12px;padding:11px;text-decoration:none;color:#284d74;background:#f8fbff}
.hm-admin .hm-admin-recent-list>a:hover{background:#ebf5ff}
.hm-admin .hm-admin-recent-list>a>strong{flex:1;min-width:0;font-size:14px}
.hm-admin .hm-admin-recent-list>a>small{color:#69819b;font-size:12px}
.hm-admin .hm-admin-state{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.hm-admin .hm-admin-state-open{background:#e2f7ef;color:#1b7862}.hm-admin .hm-admin-state-closed{background:#fff0ed;color:#a45b49}
.hm-admin .hm-admin-recent-empty{padding:18px;border:1px dashed #adcbe6;border-radius:18px;background:#fff;color:#577a9a}
.hm-admin .hm-admin-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:17px 0 24px}
.hm-admin .hm-admin-nav-group{border-radius:23px;padding:17px;border-color:var(--hm-admin-border)}
.hm-admin .hm-admin-nav-heading strong{font-size:17px!important;color:#153e6a}
.hm-admin .hm-admin-nav-heading small{font-size:12px}
.hm-admin .hm-admin-nav-items{gap:8px}
.hm-admin .hm-admin-nav-items a{padding:10px;min-height:67px;border-radius:14px;background:#f5f9ff}
.hm-admin .hm-admin-nav-items a>.dashicons{width:47px;height:47px;flex-basis:47px;font-size:25px;background:linear-gradient(145deg,#e0efff,#d0e8ff);color:#2169ae;border-radius:14px}
.hm-admin .hm-admin-nav-items a .hm-admin-nav-label strong{font-size:14px!important;font-weight:900}
.hm-admin .hm-admin-nav-items a .hm-admin-nav-label small{font-size:12px}
.hm-admin .hm-admin-nav-items a[aria-current="page"]{background:#e9f3ff;border-color:#92bdec;color:#155d9b}
.hm-admin .hm-admin-workgroup{border:1px solid #d4e5f5;border-radius:23px;background:#fff;margin:15px 0 23px;box-shadow:0 10px 28px rgba(18,72,136,.06);overflow:visible}
.hm-admin .hm-admin-workgroup>summary{display:flex;align-items:center;gap:14px;padding:18px 21px;cursor:pointer;list-style:none}
.hm-admin .hm-admin-workgroup>summary::-webkit-details-marker{display:none}
.hm-admin .hm-admin-workgroup>summary>.dashicons{width:50px;height:50px;flex:0 0 50px;border-radius:16px;background:#e2f1ff;color:#1766aa;display:grid;place-items:center;font-size:27px}
.hm-admin .hm-admin-workgroup>summary>span:nth-child(2){display:grid;gap:4px;flex:1}
.hm-admin .hm-admin-workgroup>summary strong{font-size:19px;color:#164373}
.hm-admin .hm-admin-workgroup>summary small{font-size:13px;color:#627e9a}
.hm-admin .hm-admin-workgroup-chevron{font-size:25px;color:#1c6baa;transform:rotate(0);transition:transform .16s}
.hm-admin .hm-admin-workgroup[open]>.hm-admin-workgroup-chevron{transform:rotate(180deg)}
.hm-admin .hm-admin-workgroup[open]>summary{border-bottom:1px solid #e1ecf7;background:#f8fbff;border-radius:23px 23px 0 0}
.hm-admin .hm-admin-workgroup-content{padding:14px 19px 22px;min-width:0}
.hm-admin .hm-admin-workgroup-content .hm-card{max-width:100%}
.hm-admin .hm-admin-workgroup :is(#hm-import,#hm-markets-course,#hm-managed-exams,#hm-manage-bank){scroll-margin-top:70px}
.hm-admin .hm-admin-course-quicklinks{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0 20px}
.hm-admin .hm-admin-course-quicklinks a{display:inline-flex;align-items:center;gap:8px;min-height:45px;padding:8px 15px;border:1px solid #cfe3f8;background:#f3f9ff;border-radius:14px;text-decoration:none;font-weight:800;color:#175b99}
.hm-admin .hm-admin-course-quicklinks a:hover{background:#e3f1ff;border-color:#97bee5}
.hm-admin .hm-admin-course-quicklinks .dashicons{font-size:22px;width:22px;height:22px}
/* Also enlarge course-number tiles in the candidate view without changing the public site's template. */
.hm-mehr-learning .hm-learning-subject-grid .hm-learning-subject-icon{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;border-radius:16px!important;font-size:22px!important}
@media(max-width:1240px){.hm-admin .hm-admin-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-admin .hm-admin-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-admin .hm-admin-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:790px){.hm-admin .hm-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-admin .hm-admin-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-admin .hm-admin-navigation{grid-template-columns:1fr}.hm-admin .hm-admin-shortcuts{grid-template-columns:1fr 1fr}.hm-admin .hm-admin-search-wrap{width:100%;min-width:0}.hm-admin .hm-admin-workgroup>summary{padding:14px}}
@media(max-width:520px){.hm-admin .hm-admin-metrics{grid-template-columns:1fr 1fr}.hm-admin .hm-admin-metric{min-height:92px;padding:11px;gap:5px}.hm-admin .hm-admin-metric-symbol{width:38px;height:38px;font-size:18px;border-radius:11px}.hm-admin .hm-admin-metric strong{font-size:21px}.hm-admin .hm-admin-metric>span:last-child{font-size:11px!important}.hm-admin .hm-admin-course-grid{grid-template-columns:1fr 1fr;gap:9px}.hm-admin .hm-admin-course-primary{padding:8px}.hm-admin .hm-admin-course-primary strong{font-size:15px}.hm-admin .hm-admin-course-actions{grid-template-columns:1fr}.hm-admin .hm-admin-shortcuts{grid-template-columns:1fr}.hm-admin .hm-admin-recent-list>a{flex-wrap:wrap}.hm-admin .hm-admin-workgroup>summary strong{font-size:16px}.hm-admin .hm-admin-workgroup>summary small{font-size:11px}.hm-admin .hm-admin-workgroup-content{padding:10px}}
@media(prefers-reduced-motion:reduce){.hm-admin .hm-admin-shortcut,.hm-admin .hm-admin-course-card,.hm-admin .hm-admin-course-media img,.hm-admin .hm-admin-workgroup-chevron{transition:none!important}}
/* 3.2.5 — bigger subject selectors inside Bank Mehr administration. */
.hm-admin .hm-admin-mehr-subject-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:stretch;margin:16px 0 23px}
.hm-admin .hm-admin-mehr-subject-tabs>a{display:grid;grid-template-columns:82px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;align-items:center;min-width:0;min-height:105px;padding:12px!important;border:1px solid #d9e8f7!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f5faff)!important;text-decoration:none;white-space:normal;box-shadow:0 7px 20px rgba(16,79,146,.055)}
.hm-admin .hm-admin-mehr-subject-tabs>a[aria-current="page"]{border-color:#2985d5!important;background:#e9f4ff!important;box-shadow:0 0 0 2px #9fd1ff66}
.hm-admin .hm-admin-mehr-subject-tabs>a:hover{border-color:#83b8e8!important;background:#edf7ff!important}
.hm-admin .hm-admin-mehr-subject-icon{grid-row:1 / span 2;width:82px;height:82px;display:grid;place-items:center;border-radius:15px;background:#e5f2ff;overflow:hidden}
.hm-admin .hm-admin-mehr-subject-icon img{width:100%;height:100%;object-fit:contain}
.hm-admin .hm-admin-mehr-subject-icon .dashicons{font-size:40px;width:40px;height:40px;color:#2869aa}
.hm-admin .hm-admin-mehr-subject-tabs>a strong{align-self:end;font-size:16px;font-weight:900;color:#153f6c;line-height:1.7}
.hm-admin .hm-admin-mehr-subject-tabs>a small{align-self:start;font-size:13px;font-weight:800;color:#66829d}
@media(max-width:1080px){.hm-admin .hm-admin-mehr-subject-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.hm-admin .hm-admin-mehr-subject-tabs{grid-template-columns:1fr}.hm-admin .hm-admin-mehr-subject-tabs>a{min-height:85px}.hm-admin .hm-admin-mehr-subject-icon{width:72px;height:72px}.hm-admin .hm-admin-mehr-subject-tabs>a{grid-template-columns:72px minmax(0,1fr)}}
/* WordPress sidebar: clear typography only for Hamyar menu entries. */
#adminmenu a[href*="page=hamyar-exams"]{font-size:13.5px;line-height:1.6;font-weight:650}
#adminmenu .wp-submenu a[href*="page=hamyar-exams"]{padding-top:7px;padding-bottom:7px}
.hm-admin .hm-admin-workgroup[open]>summary>.hm-admin-workgroup-chevron{transform:rotate(180deg)}

/* 3.2.6 competitive exam-maker tools */
.hm-smart-assessment{margin:24px 0;padding:24px!important;border:1px solid #cfe3fa!important;background:linear-gradient(135deg,#f6faff,#fff)!important;border-radius:26px!important}
.hm-smart-assessment-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:18px}
.hm-smart-assessment-heading>.dashicons{font-size:38px;width:62px;height:62px;display:grid;place-items:center;background:linear-gradient(135deg,#167de0,#63b6fb);color:#fff;border-radius:20px;box-shadow:0 10px 20px #3d92e334}
.hm-smart-assessment-heading h2{margin:0 0 8px;color:#123e73;font-size:clamp(21px,2.3vw,29px);font-weight:900}
.hm-smart-assessment-heading p{margin:0;color:#536e8b;font-size:15px;line-height:1.9}
.hm-smart-assessment-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:15px}
.hm-smart-assessment-form .hm-field{margin:0}.hm-smart-assessment-form .hm-smart-assessment-wide{grid-column:1/-1}
.hm-smart-assessment-form .hm-check{align-self:center}
.hm-smart-assessment-form input:not([type=checkbox]),.hm-smart-assessment-form select{min-height:47px;font-size:15px;border-radius:12px;border-color:#c4daf3}
.hm-smart-assessment-form .hm-button{display:inline-flex;align-items:center;gap:8px;border-radius:14px;padding:12px 19px;font-weight:900}
.hm-smart-assessment-form small{display:block;margin-top:9px;color:#647b93;font-size:13px}
.hm-export-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:13px 0 15px}
.hm-export-actions .hm-button{padding:10px 15px;border-radius:12px;font-size:14px}
.hm-export-actions span{font-size:12px;color:#687f95}
.hm-question-difficulty{display:inline-flex;padding:5px 11px;border-radius:999px;font-size:13px;font-weight:900;white-space:nowrap}
.hm-question-difficulty-hard{background:#ffeced;color:#9e3450}.hm-question-difficulty-easy{background:#e4f5ed;color:#24794e}.hm-question-difficulty-balanced{background:#e8f1ff;color:#155bad}.hm-question-difficulty-sample{background:#f2f4f7;color:#626e7e}
.hm-flag-control{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#f4f9ff;border:1px solid #d9e8fc;padding:13px 15px;border-radius:18px;margin:12px 0}
.hm-flag-control button{color:#9b5c06!important;border:1px solid #dfb968!important;background:#fffaf0!important;font-weight:900}
.hm-flag-control button[aria-pressed=true]{background:#fff0ca!important;color:#8a4f00!important}
.hm-flag-control span{font-size:13px;color:#537492;line-height:1.8}
.hm-numbers .hm-flagged-question{outline:3px solid #e0a63e!important;outline-offset:-2px;position:relative;box-shadow:0 0 0 2px #fff8e9}
.hm-numbers .hm-flagged-question::after{content:'★';position:absolute;inset-block-start:-8px;inset-inline-start:-5px;color:#b57c0e;font-size:14px}
.hm-flag-warning{color:#9b6418;font-weight:800;background:#fff2d8;border:1px solid #f2d39b;border-radius:14px;padding:10px 14px}
@media(max-width:950px){.hm-smart-assessment-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hm-smart-assessment-form{grid-template-columns:minmax(0,1fr)}.hm-smart-assessment-heading{flex-direction:column}.hm-smart-assessment-form .hm-smart-assessment-wide{grid-column:auto}.hm-export-actions .hm-button{width:100%;justify-content:center}}

/* --- 3.2.7: non-refresh membership management and checkout feedback --- */
.hm-admin.hm-member-admin .hm-member-bulk-toolbar {
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 12px;padding:16px 18px;
  background:linear-gradient(115deg,#f1f7ff,#f7fbff);border:1px solid #cfe1f6;border-radius:19px;
  box-shadow:0 8px 26px rgba(20,83,153,.07);color:#154774;font-family:var(--hm-font-ui);
}
.hm-admin.hm-member-admin .hm-member-bulk-toolbar[hidden]{display:none!important}
.hm-member-bulk-toolbar .hm-member-bulk-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 auto;border-radius:14px;background:linear-gradient(145deg,#176ad0,#48a9ef);color:#fff;font-size:22px;font-weight:900}
.hm-member-bulk-toolbar>div{flex:1 1 230px;display:grid;gap:2px}
.hm-member-bulk-toolbar strong{font-size:16px;font-weight:900;color:#10426e}
.hm-member-bulk-toolbar small{font-size:12px;line-height:1.7;color:#4b6984}
.hm-member-bulk-toolbar .button{min-height:38px;font-size:13px;font-weight:750;border-radius:10px}
.hm-member-admin .hm-member-ajax-status{min-height:22px;font-size:14px;font-weight:750;line-height:1.9;color:#126a54;margin:10px 0}
.hm-member-admin .hm-member-ajax-status.hm-member-ajax-error{color:#b3303f}
.hm-member-admin .hm-member-select,.hm-member-admin [data-hm-member-select-all]{width:19px;height:19px;accent-color:#1e73d2;cursor:pointer}
.hm-member-admin .hm-member-working [data-hm-member-table]{opacity:.8}
.hm-member-admin .hm-table td,.hm-member-admin .hm-table th{font-family:var(--hm-font-ui);font-size:14px;vertical-align:middle}
.hm-member-admin .hm-member-actions{display:flex;gap:7px;flex-wrap:wrap}
.hm-member-admin .hm-member-actions button{font:700 13px/1.6 var(--hm-font-ui);min-height:36px;border-radius:10px}
.hm-member-admin .hm-member-empty-live{font:750 14px/1.8 var(--hm-font-ui);color:#316484;background:#f0f7ff;border:1px solid #cde5fa;border-radius:12px;padding:12px 15px}
.hm-mehr-enrollment .hm-mehr-coupon-result{font-family:var(--hm-font-ui);font-weight:750;min-height:25px;color:#26678d;line-height:1.9;margin:4px 0 10px}
.hm-mehr-enrollment .hm-mehr-coupon-result.hm-coupon-error{color:#b22d46}
.hm-mehr-enrollment .hm-mehr-coupon-result.hm-coupon-success{color:#0b795b}
.hm-mehr-enrollment .hm-mehr-discount-entry button{white-space:normal;min-height:44px}
.hm-mehr-enrollment #hm-mehr-pay-button:disabled{opacity:.6;cursor:wait}
.hm-health-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.hm-health-summary>div{border:1px solid #cfdeef;border-radius:18px;background:linear-gradient(155deg,#f5faff,#fff);padding:18px}
.hm-health-summary strong{display:block;font-size:26px;color:#174e83}.hm-health-summary span{font-size:13px;color:#54708a}
.hm-health-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hm-health-check{border:1px solid #d5e4f1;border-radius:18px;background:#fff;padding:16px 18px;display:grid;gap:7px}
.hm-health-check strong{font-size:15px;color:#163e67}.hm-health-check p{color:#4c6077;line-height:1.9;margin:0}
.hm-health-indicator{width:max-content;padding:4px 10px;border-radius:999px;font-weight:850;font-size:12px;background:#e8f7ee;color:#0c6e43}
.hm-health-indicator.hm-health-warning{background:#fff4e1;color:#82570c}
.hm-health-indicator.hm-health-problem{background:#fff0f0;color:#a82639}
.hm-health-manual{padding:18px;border-radius:18px;border:1px solid #c9ddf1;background:linear-gradient(120deg,#f5faff,#fdfefe)}
.hm-health-manual li{margin:8px 0;line-height:1.9;color:#31577b}
@media(max-width:850px){.hm-health-summary,.hm-health-checklist{grid-template-columns:1fr}.hm-member-bulk-toolbar .button{flex:1 1 auto}}
.hm-admin #hm-mehr-discounts .hm-admin-coupon-status{min-height:25px;color:#0b7557;font:750 14px/1.9 var(--hm-font-ui);margin:10px 0}
.hm-admin #hm-mehr-discounts .hm-admin-coupon-status.hm-coupon-admin-error{color:#b82f43}
.hm-admin #hm-mehr-discounts.hm-coupon-admin-busy .hm-mehr-table{opacity:.75}
.hm-resume-learning{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border:1px solid #cfe3f8!important;border-radius:22px!important;background:linear-gradient(110deg,#f4faff,#e8f4ff)!important;box-shadow:0 12px 29px rgba(29,99,167,.07)!important}
.hm-resume-learning .hm-resume-eyebrow{display:inline-flex;font-weight:850;font-size:13px;color:#2778bc;margin-bottom:4px}
.hm-resume-learning h2{font-size:1.35rem!important;color:#104a80;margin:3px 0 6px;font-weight:900}
.hm-resume-learning p{margin:0;color:#587a92;font-size:14px}
.hm-resume-learning .hm-button{white-space:normal}
.hm-mehr-enrollment #hm-mehr-pay-button.hm-checkout-submitting{pointer-events:none;opacity:.7}

/* === HAMYAR 3.2.8: accessible blue/gold refresh based on approved mockups === */
:is(.hm-student,.hm-panel,.hm-admin){--hm-font-ui:"Vazirmatn","Hamyar Arabic",Tahoma,sans-serif;--hm-font-display:"Vazirmatn",Tahoma,sans-serif;--hm-font:var(--hm-font-ui);--hm-blue:#1465ae;--hm-ink:#152d4d;--hm-line:#d9e4ef; font-variant-numeric:tabular-nums;}
:is(.hm-admin,.hm-student,.hm-panel) :is(h1,h2,h3,h4,h5){font-family:var(--hm-font-ui)!important;font-weight:850;letter-spacing:-.022em;line-height:1.45}
:is(.hm-admin,.hm-student,.hm-panel) :is(input,textarea,select,button){font-family:var(--hm-font-ui)!important}
:is(.hm-admin,.hm-student,.hm-panel) :is(.hm-button, .hm-results-view){font-family:var(--hm-font-ui);font-weight:800}

/* Marketing: dynamic prices remain HTML; artwork never embeds an obsolete price. */
.hm-mehr-enrollment{background:linear-gradient(180deg,#f7fbff,#eef6ff 40%,#fffdf8)!important}
.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:stretch;background:linear-gradient(128deg,#06316f 0%,#072a62 54%,#0b4aa2 100%)!important;border:1px solid #2864a8!important;border-radius:32px!important;overflow:hidden;box-shadow:0 26px 60px rgba(5,39,104,.20)!important;min-height:570px}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-copy{padding:clamp(20px,3.1vw,46px)!important;background:transparent!important;display:flex;flex-direction:column;justify-content:center;min-width:0}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-eyebrow{display:inline-block;color:#d9efff!important;background:rgba(255,255,255,.08);border:1px solid #ffffff35;border-radius:100px;padding:8px 13px;width:fit-content}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-claim{font-size:clamp(.95rem,1.5vw,1.15rem)!important;color:#ffe4a0!important;background:transparent!important;border:0!important;padding:0!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title{font-size:clamp(2rem,3.2vw,3.5rem)!important;line-height:1.34!important;color:#fff!important;text-shadow:0 3px 12px #00173640;margin:.3rem 0!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title em{font-style:normal;color:#f9d67f!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title small{font-size:clamp(1.0rem,1.5vw,1.3rem)!important;color:#e7f4ff!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-lead,.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-description{color:#f4faff!important;font-size:clamp(1rem,1.25vw,1.18rem)!important;line-height:1.92!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-description strong{color:#ffdf7c!important;font-size:clamp(1.23rem,1.8vw,1.65rem)!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-luxury-hero-tags{gap:8px}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-luxury-hero-tags span{background:rgba(20,100,179,.43);border:1px solid rgba(255,255,255,.25);color:#fff;font-weight:800;border-radius:15px;padding:8px 12px}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-hero-actions .hm-button{background:linear-gradient(110deg,#ffdf7f,#eab755)!important;border-color:#ffd788!important;color:#123a69!important;font-weight:900;min-height:51px;border-radius:14px}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-link{color:#fff!important;border-color:#d5e8fb55;background:#ffffff12}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-deadline,.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-subclaim{color:#d7ebfc!important;font-size:.86rem!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury{margin:0!important;border:0!important;background:linear-gradient(110deg,#1a62c4,#5ac5ef)!important;align-self:stretch;min-height:100%;display:flex;align-items:stretch}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury img:first-child{width:100%!important;height:100%!important;max-height:none!important;min-height:100%!important;object-fit:cover!important;object-position:center!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-luxury-bankmark{display:none!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-luxury-image-caption{display:none!important}
.hm-mehr-enrollment .hm-enroll-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}
.hm-mehr-enrollment .hm-enroll-stats>div{border:1px solid #cbdff3!important;border-radius:24px!important;background:linear-gradient(160deg,#fff,#f0f7ff)!important;box-shadow:0 9px 24px #1d6dc013!important;padding:24px!important}
.hm-mehr-enrollment .hm-enroll-stats strong{font-family:var(--hm-font-ui)!important;font-size:clamp(1.8rem,3.2vw,2.8rem)!important;color:#155cb2!important;font-weight:900!important}
.hm-mehr-enrollment .hm-enroll-stats span{font-size:1.05rem!important;font-weight:720;color:#354e69!important}
.hm-mehr-enrollment .hm-enroll-preview-card{border-radius:22px;padding:14px;box-shadow:0 8px 22px rgba(29,100,184,.07)}
.hm-mehr-enrollment .hm-enroll-preview-card img{width:130px;height:118px;object-fit:cover}
.hm-mehr-enrollment .hm-enroll-journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.hm-mehr-enrollment .hm-enroll-journey a{display:grid;align-items:center;justify-items:center;gap:6px;min-height:130px;text-align:center;padding:16px 10px;text-decoration:none;border-radius:23px;border:1px solid #d8e7f8;background:#fff;box-shadow:0 8px 24px #1b5f9910}
.hm-mehr-enrollment .hm-enroll-journey a:hover{transform:translateY(-2px);border-color:#7db5ee;background:#f8fbff}
.hm-enroll-journey b{font-size:2rem}.hm-enroll-journey strong{color:#124c80;font-size:1.06rem;font-weight:900}.hm-enroll-journey small{font-size:.85rem;color:#557088}
.hm-mehr-enrollment .hm-enroll-section{background:#fff!important;border-radius:28px!important;padding:clamp(18px,3vw,35px)!important}
.hm-mehr-enrollment .hm-enroll-section-heading h2{font-size:clamp(1.55rem,2.6vw,2.3rem)!important;color:#13456f!important}
.hm-mehr-enrollment .hm-enroll-lessons{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important}
.hm-mehr-enrollment .hm-enroll-lessons .hm-enroll-subject-card{display:flex;flex-direction:column;gap:9px;justify-content:center;align-items:center;padding:14px 10px!important;border:1px solid #dae7f4!important;border-radius:22px!important;min-height:230px;text-align:center;background:linear-gradient(150deg,#fff,#f5faff)!important;position:relative}
.hm-mehr-enrollment .hm-enroll-subject-card img{width:min(100%,155px);height:155px;object-fit:cover;border-radius:16px;box-shadow:0 8px 17px #003d7316}
.hm-mehr-enrollment .hm-enroll-subject-card strong{font-size:clamp(.95rem,1.25vw,1.18rem)!important;font-weight:900;color:#163d67}
.hm-mehr-enrollment .hm-enroll-subject-card span{color:#24639a!important;font-weight:800}
.hm-mehr-enrollment .hm-enroll-subject-number{position:absolute;top:12px;right:12px;z-index:1;background:#fff;border:1px solid #cfe3f5;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;color:#155da7}
.hm-mehr-enrollment .hm-enroll-steps{padding:30px!important;border:1px solid #d6e3ef;background:linear-gradient(180deg,#fffdf7,#f8fcff)!important;border-radius:28px}
.hm-mehr-enrollment .hm-enroll-steps h2{font-size:clamp(1.55rem,2.4vw,2.2rem)!important;color:#133e6b!important;margin-bottom:18px}
.hm-mehr-enrollment .hm-enroll-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;list-style:none;padding:0;margin:0}
.hm-mehr-enrollment .hm-enroll-steps li{display:flex;align-items:center;flex-wrap:wrap;gap:12px;position:relative;border:1px solid #e0e6ed!important;background:#fff!important;box-shadow:0 12px 26px #153d6211!important;border-radius:21px!important;min-height:154px;padding:20px!important}
.hm-mehr-enrollment .hm-enroll-steps li>b{font:900 1.2rem/1 var(--hm-font-ui);width:43px;height:43px;border-radius:50%;background:#edf6fc;border:1px solid #9ecfc9;color:#196b91;display:grid;place-items:center}
.hm-mehr-enrollment .hm-enroll-steps .hm-step-icon{font-size:2.3rem;line-height:1;flex:0 0 40px}
.hm-mehr-enrollment .hm-enroll-steps li>div{flex:1 1 160px}.hm-mehr-enrollment .hm-enroll-steps strong{font-size:1.15rem;font-weight:900;color:#123e6c}.hm-mehr-enrollment .hm-enroll-steps p{font-size:.94rem;color:#3b576b;line-height:1.85}
.hm-mehr-enrollment .hm-enroll-faq{max-width:none!important}.hm-mehr-enrollment .hm-enroll-faq details{border-radius:16px!important;border:1px solid #dce7ef!important;margin:9px 0!important;padding:0 22px!important;background:#fff!important;box-shadow:0 4px 10px #1c588009}
.hm-mehr-enrollment .hm-enroll-faq summary{font-family:var(--hm-font-ui);font-weight:850!important;font-size:1.1rem!important;color:#213c56!important;padding:20px 0!important;min-height:65px}
.hm-mehr-enrollment .hm-enroll-faq summary:after{font-size:2rem;color:#267c89}.hm-mehr-enrollment .hm-enroll-faq details p{font-size:1rem!important;color:#344e65!important;line-height:2!important}
.hm-mehr-enrollment .hm-enroll-footer-328{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:23px 26px!important;border-radius:22px!important;background:#f4f9fd!important;border:1px solid #d8e6f0}
.hm-enroll-footer-328 nav{display:flex;gap:10px;flex-wrap:wrap}.hm-mehr-enrollment .hm-enroll-footer-328 nav a{padding:12px 18px;border:1px solid #b9d9e9;background:#fff;border-radius:15px;color:#126a86;text-decoration:none;font-weight:850}
.hm-mehr-enrollment .hm-enroll-footer-328 nav a:last-child{background:linear-gradient(125deg,#0d626a,#147a84);color:#fff;border-color:#117781}
.hm-mehr-enrollment .hm-mehr-price strong{font-size:clamp(2rem,3.3vw,3rem)!important;font-weight:900;color:#11736d!important}
.hm-mehr-enrollment :is(.hm-enroll-form-card,.hm-enroll-order){border-radius:24px!important;box-shadow:0 11px 28px #0b447114}
.hm-mehr-enrollment .hm-mehr-package-choice{min-height:106px;font-size:1.06rem;border-radius:19px}
.hm-mehr-enrollment .hm-mehr-package-choice strong{font-size:1.1rem}
.hm-mehr-enrollment .hm-mehr-coupon-result{font-size:1rem}

/* Focused learner navigation and large tactile study/exam cards */
.hm-mehr-learning .hm-focus-reading-head{background:linear-gradient(125deg,#fff,#edf5ff)!important;border:1px solid #d2e3f5;border-radius:27px;box-shadow:0 12px 28px #1f589b12;padding:clamp(20px,3vw,34px)}
.hm-mehr-learning .hm-focus-reading-head h2{font-size:clamp(1.65rem,3vw,2.3rem)!important;font-weight:900}
.hm-mehr-learning .hm-focus-switch{display:flex;flex-wrap:wrap;gap:11px}
.hm-mehr-learning .hm-focus-switch a{flex:1 1 170px;min-height:57px;display:inline-flex;justify-content:center;align-items:center;font-size:1.03rem!important;font-weight:850;border-radius:16px}
.hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card{border-radius:26px!important;background:linear-gradient(180deg,#fff,#f5faff)!important;border:1px solid #d3e5f7!important;min-height:270px!important}
.hm-mehr-focused .hm-focus-modes .hm-focus-mode-symbol{font-size:2.2rem;min-height:56px}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-illustration{width:100%;max-width:180px;max-height:130px;object-fit:contain}
.hm-mehr-focused .hm-focus-chapter-list{gap:14px!important}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card{min-height:105px!important;padding:19px 22px!important;border-radius:22px!important;font-weight:850}
.hm-mehr-focused .hm-catalog-exams{display:grid;gap:14px;grid-template-columns:1fr}
.hm-mehr-focused .hm-catalog-exams .hm-exam-list-card{border:1px solid #d6e4f1!important;border-radius:23px!important;background:linear-gradient(110deg,#fff,#f8fbff)!important;padding:20px 23px!important;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 9px 23px rgba(26,74,121,.07)!important}
.hm-exam-list-details{flex:1;min-width:0}.hm-exam-list-label{font-weight:850;font-size:.85rem;color:#1d7da5}.hm-exam-list-details h3{font-size:clamp(1.15rem,1.9vw,1.45rem);margin:6px 0 7px}.hm-exam-list-details p{display:flex;gap:15px;flex-wrap:wrap;color:#4f6a80;font-weight:700;margin:0!important}
.hm-exam-list-card .hm-button{min-width:145px;white-space:nowrap;min-height:46px;border-radius:13px}
.hm-mehr-focused .hm-practice-question,.hm-exam-practice{border:1px solid #d8e5f2!important;border-radius:25px!important;padding:clamp(18px,2.9vw,34px)!important;box-shadow:0 8px 28px #0b436a13!important;background:linear-gradient(165deg,#fff,#f9fbff)!important}
.hm-practice-question legend{font:850 clamp(1.2rem,2vw,1.62rem)/1.95 var(--hm-font-ui)!important;color:#142f50!important;margin-bottom:14px!important;white-space:normal!important}
.hm-practice-question .hm-practice-option{font:700 clamp(1.07rem,1.6vw,1.32rem)/1.9 var(--hm-font-ui)!important;min-height:63px!important;border:1px solid #dde5ed!important;background:#fff!important;border-radius:17px!important;padding:14px 20px!important;box-shadow:0 3px 10px #1e45610b}
.hm-practice-question .hm-practice-option:has(input:checked){border-color:#2c83d5!important;background:#edf6ff!important;box-shadow:inset 0 0 0 1px #99c9f1}
.hm-practice-question .hm-practice-option input{min-width:21px;min-height:21px;accent-color:#1679ce}
.hm-practice-question .hm-practice-explanation{border-radius:18px;font-size:clamp(1.04rem,1.65vw,1.3rem);line-height:2!important}
.hm-practice-question .hm-practice-explanation summary{font-size:clamp(1.08rem,1.7vw,1.33rem)!important;font-weight:900}
.hm-practice-question .hm-practice-explanation :is(p,div){font-size:1.1rem!important;line-height:2.1!important}
.hm-study-card{border-radius:27px!important;padding:clamp(16px,2.6vw,28px)!important;background:linear-gradient(160deg,#fff,#f5fbff)!important;border:1px solid #d4e7f6!important;box-shadow:0 8px 24px #154d8612!important}
.hm-study-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}
.hm-study-order{font-weight:900!important;font-size:1.16rem!important;background:linear-gradient(120deg,#d8ecff,#f3faff)!important;padding:12px 17px;border-radius:100px;color:#104e85!important}
.hm-study-review-count{font-size:1rem!important;font-weight:800;color:#487488!important}
.hm-study-text{background:linear-gradient(145deg,#f3fcff,#fff)!important;border:1px solid #cbe7f1!important;border-radius:24px!important;min-height:160px!important;font-size:clamp(1.16rem,1.85vw,1.5rem)!important;font-weight:650;line-height:2.15!important;color:#132d47!important;padding:clamp(17px,2.4vw,27px)!important;text-align:right!important}
.hm-study-text strong{color:#137da4!important;font-weight:900}
.hm-study-mark-hint{font-size:.91rem!important;color:#4c7b8a!important}
.hm-study-reviewed-button{width:100%;flex:1 1 100%!important;min-height:61px!important;border-radius:17px!important;background:linear-gradient(112deg,#0d80a7,#127aaa)!important;color:#fff!important;border:1px solid #258fbc!important;font-size:1.12rem!important;font-weight:900!important;box-shadow:0 9px 18px #0a6b9924}
.hm-study-reviewed-button[aria-pressed=true]{background:linear-gradient(120deg,#0e8d76,#19a68f)!important;color:#fff!important}
.hm-study-hard-button,.hm-study-filter[data-study-filter="hard"]{display:none!important}
.hm-study-milestones{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr)) auto;gap:6px!important;align-items:center;padding-top:6px}
.hm-study-milestones i{width:100%!important;min-width:0;height:22px!important;border-radius:6px!important;box-shadow:inset 0 2px 3px #10254308;background:#edf2f7!important;border:1px solid #d9e4ef!important}
.hm-study-milestones i.hm-study-step-done:nth-child(1){background:#f3ce77!important;border-color:#d4a943!important}
.hm-study-milestones i.hm-study-step-done:nth-child(2){background:#85d6d8!important;border-color:#4db6b7!important}
.hm-study-milestones i.hm-study-step-done:nth-child(3){background:#b0a4ef!important;border-color:#8e7ed4!important}
.hm-study-milestones i.hm-study-step-done:nth-child(4){background:#8aceab!important;border-color:#5eaf85!important}
.hm-study-milestones i.hm-study-step-done:nth-child(5){background:#f4acb6!important;border-color:#e78b9d!important}
.hm-study-milestones i.hm-study-step-done:nth-child(6){background:#9fc5f5!important;border-color:#6ea0e1!important}
.hm-study-milestones i.hm-study-step-done:nth-child(7){background:#f0be97!important;border-color:#dca477!important}
.hm-study-milestones i.hm-study-step-done:nth-child(8){background:#9fdacc!important;border-color:#65bda8!important}
.hm-study-milestones small{font:850 1rem/1.3 var(--hm-font-ui);color:#365a79;white-space:nowrap;min-width:55px;text-align:center}
.hm-study-toolbar{padding:18px;border:1px solid #d8e7f2;border-radius:19px;background:#f8fbff!important;margin-bottom:17px}
.hm-study-toolbar h4{font-size:clamp(1.25rem,2.2vw,1.7rem);font-weight:900}
.hm-study-toolbar p{font-size:1rem;line-height:1.95}

/* Reports: ranked podium/cards remain sorted in PHP; names no longer contain login IDs. */
.hm-admin .hm-results-header h2{font-size:clamp(1.65rem,2.6vw,2.2rem)!important;color:#163e6c}
.hm-admin .hm-results-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.hm-admin .hm-results-podium-card{min-height:118px!important;padding:18px!important;border-radius:24px!important;box-shadow:0 9px 22px #1d4a8214!important}
.hm-admin .hm-results-podium-card small{font-size:.97rem!important}.hm-admin .hm-results-podium-card strong{font-size:1.23rem!important;font-weight:900}.hm-admin .hm-results-podium-card>b{font-size:1.55rem!important}
.hm-admin .hm-results-podium-1{order:1;background:linear-gradient(145deg,#172d4b,#284e7d)!important;border-color:#294f8a!important}.hm-admin .hm-results-podium-1 :is(strong,small,b){color:#fff!important}
.hm-admin .hm-results-podium-2{order:2;background:linear-gradient(130deg,#f5f9fe,#fff)!important}.hm-admin .hm-results-podium-3{order:3;background:linear-gradient(140deg,#fff9f2,#fff)!important}
.hm-admin .hm-results-table th{font-size:1rem!important;padding:17px 12px!important}.hm-admin .hm-results-table td{font-size:1.04rem!important;padding:18px 12px!important}.hm-admin .hm-results-table td:first-child strong{font-size:1.14rem;color:#153958}
.hm-admin .hm-results-percent strong{font-size:1.15rem!important}.hm-admin .hm-results-track{height:9px}.hm-admin .hm-results-view{padding:11px 14px!important;background:#1c75c9!important;color:#fff!important;font-weight:850}
.hm-admin .hm-results-rank{font-size:1.1rem;min-width:39px;height:39px;border-radius:50%}
.hm-rank-privacy-settings{border:1px solid #d8e6f4;background:#f6faff;border-radius:16px;padding:12px 16px;margin:16px 0}
.hm-rank-privacy-settings summary{font-size:.94rem;font-weight:800;color:#275d85;cursor:pointer}.hm-rank-privacy-settings form{display:grid;gap:10px;max-width:450px}.hm-rank-privacy-settings textarea{padding:12px;border-radius:10px;max-width:100%;border:1px solid #b7cfe5}
.hm-subject-leaders{border-radius:26px!important;background:linear-gradient(140deg,#152c4a,#253d65)!important;color:#fff!important}
.hm-subject-leaders .hm-subject-leaders-head h3{font-size:clamp(1.4rem,2.5vw,2.1rem)!important;color:#fff!important}
.hm-subject-leaders .hm-subject-leaders-head p{color:#d9e8f5!important}
.hm-subject-leaders .hm-leader-subject h4{color:#ffdc8a!important;font-size:1.3rem}
.hm-subject-leaders .hm-leader-row{padding:13px 14px;border-radius:16px;background:#fff!important;color:#193e61;border:1px solid #d2e5f3}
.hm-subject-leaders .hm-leader-row .hm-leader-rank{font-size:1.02rem;font-weight:900}
.hm-subject-leaders .hm-leader-row strong{font-size:1.23rem!important;color:#115cb0}

/* Student home: compact tutor guide, purposeful whitespace, more readable metrics. */
.hm-daily-coach-message{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:18px;padding:23px 26px!important;background:linear-gradient(120deg,#f4f9ff,#eaf5ff)!important;border:1px solid #cfe2f6!important;border-radius:24px!important;box-shadow:0 9px 25px rgba(13,67,120,.07)!important}
.hm-daily-coach-message span{color:#2275c4;font-size:.95rem;font-weight:900}.hm-daily-coach-message h2{font-size:1.35rem!important;margin:6px 0}.hm-daily-coach-message p{margin:0!important;color:#476a85}
.hm-student-start-guide{margin:14px 0;border-radius:24px!important}.hm-student-start-guide summary{font-size:1.15rem;font-weight:900;color:#1d507f;cursor:pointer}.hm-student-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.hm-student-guide-grid a{display:grid;grid-template-rows:40px auto 1fr;gap:9px;padding:16px;border:1px solid #d3e1ef;background:#f9fcff;text-decoration:none;border-radius:18px}
.hm-student-guide-grid a b{font-size:1.3rem;color:#155aa1;background:#e2f1ff;border-radius:12px;width:40px;height:40px;display:grid;place-items:center}.hm-student-guide-grid strong{font-size:1.1rem;color:#163f69}.hm-student-guide-grid small{font-size:.87rem;color:#54748e;line-height:1.8}
.hm-planner-summary .hm-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.hm-planner-summary .hm-metric-card{border:1px solid #dce5f0!important;border-radius:19px!important;background:#fff!important;padding:18px!important;min-height:167px;box-shadow:0 10px 24px rgba(12,53,96,.08)}
.hm-planner-summary .hm-metric-card>span{font-size:1.04rem;font-weight:850;color:#315475}
.hm-planner-summary .hm-metric-card>small{font-size:.83rem;line-height:1.7;color:#56708a}
.hm-duration-stack{display:flex;flex-direction:column;gap:4px;align-items:start;margin:12px 0}
.hm-duration-stack strong{font-size:1.5rem!important;font-weight:900;color:#162e4b}.hm-duration-stack b{font-size:1.22rem;font-weight:850;color:#2e72b8}.hm-duration-stack small{font-size:.75rem;font-weight:700;color:#67829e}
.hm-progress{border-radius:25px!important}.hm-progress-head h2{font-size:clamp(1.5rem,2.6vw,2.1rem)!important}.hm-progress-stats{gap:14px}.hm-progress-stats>div{border-radius:17px;background:#f6f9ff;border:1px solid #d9e5f2;padding:15px}
.hm-result-row{border-radius:17px;padding:15px;border:1px solid #dfe8f2;background:#fff}
/* Responsive with no horizontal reading burden. */
@media(max-width:1180px){.hm-mehr-enrollment .hm-enroll-lessons{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hm-planner-summary .hm-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury{grid-template-columns:minmax(0,1fr)!important}.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury{min-height:0!important;max-height:500px}.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury img:first-child{max-height:500px!important;height:100%!important;min-height:0!important;object-fit:contain!important}.hm-mehr-enrollment .hm-enroll-journey{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-mehr-enrollment .hm-enroll-steps ol{grid-template-columns:1fr}.hm-student-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hm-mehr-enrollment .hm-enroll-lessons{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hm-mehr-enrollment .hm-enroll-stats{gap:7px}.hm-mehr-enrollment .hm-enroll-stats>div{padding:13px 5px!important}.hm-mehr-enrollment .hm-enroll-stats strong{font-size:1.5rem!important}.hm-mehr-enrollment .hm-enroll-stats span{font-size:.83rem!important}.hm-mehr-enrollment .hm-enroll-subject-card img{width:100%;height:122px}.hm-mehr-enrollment .hm-enroll-steps{padding:16px!important}.hm-mehr-enrollment .hm-enroll-footer-328 nav a{width:100%;text-align:center}.hm-mehr-focused .hm-focus-modes{grid-template-columns:1fr!important}.hm-mehr-focused .hm-catalog-exams .hm-exam-list-card{flex-direction:column;align-items:stretch}.hm-mehr-focused .hm-catalog-exams .hm-exam-list-card .hm-button{width:100%}.hm-study-milestones{gap:4px!important}.hm-study-milestones i{height:18px!important}.hm-study-text{min-height:0!important}.hm-admin .hm-results-podium{grid-template-columns:1fr}.hm-student-guide-grid{grid-template-columns:1fr}.hm-planner-summary .hm-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.hm-mehr-enrollment .hm-enroll-lessons{grid-template-columns:1fr!important}.hm-mehr-enrollment .hm-enroll-journey{grid-template-columns:1fr 1fr}.hm-mehr-enrollment .hm-enroll-journey a{min-height:100px}.hm-planner-summary .hm-metric-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.hm-mehr-enrollment .hm-enroll-journey a:hover{transform:none}}

/* The eight review tiles have distinct soft colors even before completion. */
.hm-study-milestones i:nth-child(1){background:#fff4d8!important}
.hm-study-milestones i:nth-child(2){background:#e4f8f7!important}
.hm-study-milestones i:nth-child(3){background:#f0ecff!important}
.hm-study-milestones i:nth-child(4){background:#e7f8ec!important}
.hm-study-milestones i:nth-child(5){background:#fff0f1!important}
.hm-study-milestones i:nth-child(6){background:#e9f2ff!important}
.hm-study-milestones i:nth-child(7){background:#fff1e6!important}
.hm-study-milestones i:nth-child(8){background:#e9f8f4!important}
/* Clear admin workgroups inspired by the approved three-column visual reference. */
.hm-admin .hm-admin-navigation .hm-admin-nav-group{padding:18px!important;border-radius:26px!important;box-shadow:0 12px 28px rgba(20,61,101,.07)!important}
.hm-admin .hm-admin-navigation .hm-admin-nav-group:nth-child(1){background:linear-gradient(180deg,#f3f8ff,#fff)!important;border-color:#d2e2f7!important}
.hm-admin .hm-admin-navigation .hm-admin-nav-group:nth-child(2){background:linear-gradient(180deg,#effaf8,#fff)!important;border-color:#cde9e1!important}
.hm-admin .hm-admin-navigation .hm-admin-nav-group:nth-child(3){background:linear-gradient(180deg,#fff9ed,#fff)!important;border-color:#eedfc0!important}
.hm-admin .hm-admin-nav-heading strong{font-size:clamp(1.04rem,1.5vw,1.3rem)!important;font-weight:900;color:#124678}
.hm-admin .hm-admin-nav-items a{border-radius:15px!important;min-height:71px!important;gap:13px!important;background:#ffffffd6!important;box-shadow:0 3px 12px rgba(9,61,113,.05);padding:12px 13px!important}
.hm-admin .hm-admin-nav-items a>.dashicons{min-width:49px!important;min-height:49px!important;width:49px!important;height:49px!important;border-radius:14px!important;display:grid!important;place-items:center!important;font-size:23px!important}
.hm-admin .hm-admin-nav-items a strong{font-size:1.08rem!important;font-weight:900}.hm-admin .hm-admin-nav-items a small{font-size:.81rem!important;line-height:1.65}
.hm-admin .hm-admin-course-media{border-radius:20px!important;aspect-ratio:1/1!important}.hm-admin .hm-admin-course-media img{object-fit:contain!important}
.hm-admin .hm-admin-course-primary strong{font-size:clamp(1rem,1.35vw,1.2rem)!important}


/* 3.2.9 — real-logo showcase and functional student dashboard; intentionally scoped. */
.hm-sales-329 .hm-329-showcase { margin: 24px 0; padding: clamp(15px,2.5vw,28px); border:1px solid #cfdef1; border-radius:27px; background:linear-gradient(155deg,#edf7ff,#fff 55%,#eff5ff); box-shadow:0 16px 40px rgba(27,80,142,.08); }
.hm-sales-329 .hm-329-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.hm-sales-329 .hm-329-section-heading span{color:#1c679f;font-weight:850;font-size:15px}
.hm-sales-329 .hm-329-section-heading h2{font:850 clamp(23px,2.5vw,35px)/1.5 "Vazirmatn",Tahoma,sans-serif!important;color:#0e3e74}
.hm-sales-329 .hm-329-section-heading p{font:500 16px/1.9 "Vazirmatn",Tahoma,sans-serif;color:#526a83}
.hm-sales-329 .hm-329-chip{font-size:clamp(18px,2vw,27px)!important;color:#083c82!important;border:1px solid #e9b94e;padding:10px 16px;border-radius:20px;background:linear-gradient(120deg,#fff9de,#ffdf6d);box-shadow:0 8px 20px rgba(220,162,50,.12)}
.hm-sales-329 .hm-329-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hm-sales-329 .hm-329-showcase-grid figure{margin:0;padding:9px;border:1px solid #d7e5f6;border-radius:19px;background:#fff;overflow:hidden;min-width:0}
.hm-sales-329 .hm-329-showcase-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:12px;background:#eaf4ff}
.hm-sales-329 .hm-329-showcase-grid figcaption{padding:9px 4px 2px;color:#406183;font:650 13px/1.8 "Vazirmatn",Tahoma,sans-serif}
.hm-329-hub{display:grid;grid-template-columns:minmax(205px,245px) minmax(0,1fr);gap:18px;margin:18px 0 24px;direction:rtl;font-family:"Vazirmatn",Tahoma,sans-serif}
.hm-329-side{background:linear-gradient(180deg,#e9f5ff,#d9ebff);padding:16px 12px;border:1px solid #c5dffc;border-radius:27px;box-shadow:0 15px 38px rgba(32,76,139,.08)}
.hm-329-side-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 3px 16px}
.hm-329-side-brand img{display:block;width:92px;height:92px;object-fit:contain}
.hm-329-side-brand strong{font-size:24px!important;color:#103c75;font-weight:900}
.hm-329-side-brand small{font-size:12px;color:#4f719c;font-weight:700}
.hm-329-side-links{display:grid;gap:8px}
.hm-329-side-links a{display:flex;align-items:center;gap:11px;min-height:47px;padding:9px 13px;border-radius:15px;color:#123d77!important;font-weight:800;text-decoration:none!important;font-size:15px;transition:background .15s}
.hm-329-side-links a:hover{background:#fff}
.hm-329-side-links a[aria-current="page"]{background:linear-gradient(110deg,#063e9a,#197cd8);color:#fff!important;box-shadow:0 8px 17px rgba(35,91,162,.20)}
.hm-329-hub-main{min-width:0;display:grid;gap:15px;align-content:start}
.hm-329-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(18px,3vw,27px);border:1px solid #badcfb;border-radius:26px;background:linear-gradient(115deg,#eff7ff 0%,#d5ebff 62%,#fff4cf 100%);box-shadow:0 9px 29px rgba(30,101,179,.07)}
.hm-329-welcome-copy small{font-size:13px;font-weight:850;color:#206a9d}
.hm-329-hub .hm-329-welcome h2{font:900 clamp(23px,2.6vw,34px)/1.5 "Vazirmatn",Tahoma,sans-serif!important;color:#0b3777!important;margin:4px 0}
.hm-329-welcome p{color:#385b80;font-size:15px;font-weight:600;line-height:1.8}
.hm-329-welcome a{display:inline-flex;margin-top:7px;padding:9px 15px;border-radius:12px;background:#0b67bd;color:#fff!important;font-weight:800;text-decoration:none!important}
.hm-329-welcome img{flex:0 0 auto;max-width:22%;height:auto;filter:drop-shadow(0 8px 12px rgba(18,72,137,.13))}
.hm-329-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hm-329-stats>div{min-width:0;display:grid;gap:4px;padding:15px;border-radius:19px;border:1px solid #d5e4f6;background:#fff;box-shadow:0 9px 20px rgba(21,75,139,.05)}
.hm-329-stats span{font-size:13px;font-weight:750;color:#426890}
.hm-329-stats strong{font:900 clamp(26px,3vw,39px)/1.4 "Vazirmatn",Tahoma,sans-serif;color:#0e53ae;direction:ltr;text-align:right}
.hm-329-stats small{font-size:11px;line-height:1.6;color:#637d96}
.hm-329-access-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.hm-329-hub .hm-329-access-head h3{font:850 20px/1.6 "Vazirmatn",Tahoma,sans-serif!important;margin:0}
.hm-329-access-head input{min-width:200px;max-width:100%;padding:11px 16px;border:1px solid #c8def6;border-radius:99px;background:#fff;font:500 14px "Vazirmatn",Tahoma,sans-serif;color:#144471}
.hm-329-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hm-329-shortcuts a{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:14px 9px;background:linear-gradient(#fff,#f5faff);border:1px solid #c8dffc;border-radius:19px;color:#103e7c!important;text-decoration:none!important;transition:transform .15s,box-shadow .15s}
.hm-329-shortcuts a:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(27,86,159,.12)}
.hm-329-shortcuts a>span{font-size:27px;line-height:1.5}
.hm-329-shortcuts a strong{font:850 clamp(13px,1.3vw,17px)/1.5 "Vazirmatn",Tahoma,sans-serif}
.hm-329-shortcuts a small{font:500 11px/1.7 "Vazirmatn",Tahoma,sans-serif;color:#547294}
.hm-329-hub [hidden]{display:none!important}
.hm-329-no-results{padding:8px 14px;color:#446987}
.hm-329-learning-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px}
.hm-329-week,.hm-329-plan{min-width:0;padding:16px;background:linear-gradient(155deg,#fff,#f4f9ff);border:1px solid #cfdef1;border-radius:20px}
.hm-329-inner-head{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:12px}
.hm-329-hub .hm-329-inner-head h3{margin:0;font:850 17px/1.6 "Vazirmatn",Tahoma,sans-serif!important}
.hm-329-inner-head a{font-size:12px;font-weight:800;color:#125dba!important}
.hm-329-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.hm-329-day{display:grid;gap:3px;text-align:center;background:#eaf3ff;border-radius:13px;padding:9px 4px;color:#365a84;font-size:10px}
.hm-329-day strong{font-size:21px;font-weight:900;color:#174a88}
.hm-329-day small{font-size:9px}.hm-329-day.is-today{background:#1264ba;color:#fff}.hm-329-day.is-today strong{color:#fff}
.hm-329-plan p{font-size:13px;color:#496a8b;line-height:1.9}
.hm-329-plan-tiles{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.hm-329-plan-tiles a{padding:11px 8px;border:1px solid #bfd9f8;border-radius:12px;text-decoration:none!important;background:#e7f2ff;color:#0d4a93!important;font-weight:850;font-size:12px;text-align:center}
@media(max-width:1150px){.hm-329-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-329-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-329-learning-row{grid-template-columns:1fr}}
@media(max-width:780px){.hm-329-hub{grid-template-columns:1fr}.hm-329-side-brand{flex-direction:row;justify-content:center}.hm-329-side-brand img{width:54px;height:54px}.hm-329-side-links{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px}.hm-329-side-links a{flex:0 0 auto;font-size:12px;min-height:40px;padding:7px 9px}.hm-329-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-sales-329 .hm-329-showcase-grid{grid-template-columns:1fr}.hm-329-welcome img{max-width:78px}.hm-329-day{font-size:9px;padding:5px 2px}.hm-329-day strong{font-size:17px}}
@media(max-width:420px){.hm-329-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-329-access-head input{width:100%}.hm-329-plan-tiles{grid-template-columns:1fr}.hm-329-weekdays{gap:3px}}

/* ===== Hamyar 3.3.0: focused learning, privacy-safe receipts, compact report ===== */
:where(.hm-student,.hm-panel,.hm-public-app,.hm-admin) {
  --hm-330-navy:#123f77; --hm-330-blue:#146ac3; --hm-330-gold:#f4c45b;
  font-family:var(--hm-font-ui,var(--hm-font,"Vazirmatn",Tahoma,sans-serif));
}
/* The sales page should use one strong hero image, never a second giant mock dashboard. */
.hm-mehr-enrollment .hm-329-showcase{display:none!important}
.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;min-height:625px}
.hm-mehr-enrollment .hm-enroll-hero-luxury #hm-enroll-title{font-weight:950!important;letter-spacing:-.35px}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury img:first-child{object-fit:contain!important;object-position:center!important}
.hm-mehr-enrollment .hm-enroll-art.hm-enroll-art-luxury{background:linear-gradient(135deg,#08478f,#166cca)!important}
.hm-mehr-enrollment :is(.hm-enroll-stats strong,.hm-enroll-section-heading h2,.hm-enroll-price-label){font-weight:950!important}
/* A clear 4-step path when entering the course for the first time. */
.hm-330-course-tour{display:grid;gap:17px;margin:20px 0 26px;padding:clamp(18px,3vw,28px);border-radius:26px;background:linear-gradient(135deg,#eef7ff,#fff 65%,#fffbf1);border:1px solid #cbdff5;box-shadow:0 15px 30px #214e840f}
.hm-330-course-tour .hm-330-tour-eyebrow{font-weight:900;color:#1864af}
.hm-330-course-tour h2{margin:4px 0;font:950 clamp(1.65rem,2.8vw,2.25rem)/1.5 var(--hm-font-ui,var(--hm-font))!important;color:#143e6b}
.hm-330-course-tour p{color:#4c6a83;margin:0!important}
.hm-330-course-tour ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.hm-330-course-tour li{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:19px;background:#fff;border:1px solid #dce9f5;box-shadow:0 6px 16px #235e9b09}
.hm-330-course-tour li b{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#e3f1ff;color:#1469b2;font-size:1.25rem}
.hm-330-course-tour li strong{font:900 1.12rem/1.6 var(--hm-font-ui,var(--hm-font))!important;color:#16456f}
.hm-330-course-tour li small{color:#4d6f87;font-size:.9rem;line-height:1.8}
.hm-330-course-tour-links{display:flex;gap:10px;flex-wrap:wrap}
.hm-330-course-tour-links a{background:linear-gradient(130deg,#136dbf,#19518f);border-radius:14px;padding:12px 18px;color:#fff;text-decoration:none;font-weight:800}
.hm-student-guide-ok{margin-top:16px!important;font-size:1rem!important}
/* The primary results receipt must be scannable at a glance; deep analysis stays behind Details. */
.hm-paper-page .hm-main{max-width:1060px!important}
.hm-paper-page .hm-report{background:#fff!important;border:1px solid #d7e7f8!important;border-radius:22px!important;box-shadow:0 15px 35px #1e528814!important;padding:clamp(16px,2vw,27px)!important}
.hm-paper-page .hm-report-masthead{padding:15px 20px!important;border-radius:16px!important}
.hm-paper-page .hm-report-masthead h2{font-size:clamp(1.65rem,2.8vw,2.1rem)!important}
.hm-paper-page .hm-report-exam-name{font-size:clamp(.95rem,1.7vw,1.15rem)!important}
.hm-paper-page .hm-report-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px!important;margin:12px 0!important}
.hm-paper-page .hm-report-facts>div{padding:10px 13px!important;border-radius:13px!important;background:#f8fbff!important}
.hm-paper-page .hm-report-facts dt{font-size:.82rem!important;color:#55758c}
.hm-paper-page .hm-report-facts dd{font-size:1rem!important;line-height:1.55!important;color:#153f70!important}
.hm-paper-page .hm-result-chart{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;border:1px solid #dae8f5;border-radius:20px;padding:12px;margin:10px 0!important;background:linear-gradient(110deg,#fcfdff,#f2f8ff)}
.hm-paper-page .hm-score-ring{width:130px!important;height:130px!important;min-width:130px;max-width:130px!important}
.hm-paper-page .hm-score{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;align-items:center;margin:0!important;padding:0!important}
.hm-paper-page .hm-score>li{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:9px 13px!important;min-width:98px;border-radius:13px!important;box-shadow:none!important}
.hm-paper-page .hm-score>li span{font-size:.85rem!important}.hm-paper-page .hm-score>li strong{font-size:1.35rem!important;font-weight:950}
.hm-330-report-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 17px}
.hm-330-report-highlights>div{background:#eef5ff;border:1px solid #d2e5fa;border-radius:15px;padding:11px 15px;text-align:center}
.hm-330-report-highlights dt{color:#5f7a97;font-size:.86rem}.hm-330-report-highlights dd{margin:2px 0 0;color:#12528e;font-size:clamp(1.23rem,2.4vw,1.65rem);font-weight:950}
.hm-report-extra{border:1px solid #d3e2ef;border-radius:17px;margin:16px 0;background:#fff;overflow:hidden}
.hm-330-report-details-trigger{cursor:pointer;background:linear-gradient(120deg,#eff6ff,#f9fcff);padding:16px 20px;font-weight:900;color:#1a5385;font-size:1.03rem}
.hm-330-report-details-trigger:hover{background:#e5f2ff}
.hm-330-report-details-body{padding:12px 17px 22px}
/* large question text, real explanatory answer prominence */
.hm-practice-question>fieldset>legend{font-size:clamp(1.24rem,2.15vw,1.6rem)!important;font-weight:900!important;color:#102e51!important;line-height:2.02!important}
.hm-practice-question .hm-practice-option{font-size:clamp(1.14rem,1.85vw,1.4rem)!important;font-weight:750!important;line-height:1.9!important}
.hm-practice-question .hm-practice-explanation{padding:clamp(16px,2.5vw,25px)!important;background:#f5faff!important;border:2px solid #c9ddf2!important;border-radius:20px!important;line-height:2.15!important}
.hm-practice-question .hm-practice-explanation summary{font-size:clamp(1.2rem,2vw,1.55rem)!important;font-weight:950!important;color:#114c81!important}
.hm-practice-question .hm-practice-explanation :is(p,div){font-size:clamp(1.12rem,1.8vw,1.33rem)!important;line-height:2.13!important;font-weight:650}
.hm-notebook-solution>p,.hm-notebook-prompt{font-size:clamp(1.12rem,1.8vw,1.35rem)!important;line-height:2.1!important}
.hm-exam-practice .hm-practice-option.hm-practice-correct,.hm-exam-practice .hm-practice-option.hm-correct{border:2.5px solid #0c925e!important;background:linear-gradient(100deg,#e3f9eb,#f7fff9)!important;box-shadow:inset 4px 0 0 #18ab71,0 8px 19px #168b6414!important;color:#086341!important}
.hm-exam-practice .hm-practice-option.hm-practice-correct::before,.hm-exam-practice .hm-practice-option.hm-correct::before{content:'✓';display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:linear-gradient(130deg,#14aa70,#087547);color:#fff;font-size:24px;font-weight:900;box-shadow:0 4px 12px #0d8c6250}
.hm-exam-practice .hm-practice-option.hm-practice-wrong,.hm-exam-practice .hm-practice-option.hm-incorrect{border:2px solid #d35360!important;background:#fff0f2!important}
/* Eight review blocks are distinctly colored; reviewing never reloads the page when JS is available. */
.hm-practice-mistakes .hm-practice-mistake-entry{border:1px solid #d4e6f7;border-radius:23px;background:#fff;padding:clamp(15px,2.5vw,25px);margin:16px 0;box-shadow:0 12px 30px #2154860d}
.hm-practice-mistakes .hm-practice-mistake-entry h3{font-size:clamp(1.16rem,1.75vw,1.48rem);font-weight:900;line-height:2;color:#143f6e}
.hm-practice-mistakes .hm-practice-review-steps>span{min-height:39px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.03rem;border-radius:12px}
.hm-practice-mistakes .hm-practice-review-steps>span.hm-checked{color:#123e64!important;border-width:2px!important}
.hm-practice-mistakes .hm-330-step-1{background:#fff1dc!important;border-color:#f5c97c!important}
.hm-practice-mistakes .hm-330-step-2{background:#dbf9f5!important;border-color:#67cbb9!important}
.hm-practice-mistakes .hm-330-step-3{background:#ede4ff!important;border-color:#bba3e8!important}
.hm-practice-mistakes .hm-330-step-4{background:#e0f9e5!important;border-color:#8fd09f!important}
.hm-practice-mistakes .hm-330-step-5{background:#ffe4ed!important;border-color:#f2a3bd!important}
.hm-practice-mistakes .hm-330-step-6{background:#e4efff!important;border-color:#92b8f4!important}
.hm-practice-mistakes .hm-330-step-7{background:#fceade!important;border-color:#e9b697!important}
.hm-practice-mistakes .hm-330-step-8{background:#e2f7fc!important;border-color:#8fcfe3!important}
.hm-330-review-status{font-weight:800;color:#0e7759;min-height:1em}
/* Private, legitimate payment overview, with optional user-uploaded receipt images. */
.hm-330-payments,.hm-330-orders-admin,.hm-330-memberships{background:linear-gradient(155deg,#fff,#f8fbff)!important;border-radius:24px!important;border:1px solid #d7e8f6!important}
.hm-330-section-head{display:flex;align-items:start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 18px}
.hm-330-section-head small{display:block;color:#3370a6;font-weight:900}.hm-330-section-head h2{font-size:clamp(1.35rem,2.4vw,1.85rem)!important;color:#143e6d!important;margin:4px 0!important;font-weight:950!important}
.hm-330-section-head p{color:#587b95;line-height:1.9;margin:2px 0}
.hm-330-total-orders{border:1px solid #b6d3ef;border-radius:12px;padding:7px 12px;background:#eef7ff;font-weight:900;color:#115d9e}
.hm-330-payment-list{display:grid;gap:12px}
.hm-330-payment-item{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:17px;border:1px solid #d6e7f6;border-radius:17px;background:#fff}
.hm-330-payment-item>div{display:grid;gap:7px}
.hm-330-payment-item strong{font-size:1.02rem;color:#163f69}
.hm-330-payment-item small{font-size:.86rem;color:#56758d;line-height:1.7}
.hm-330-payment-amount{font-size:1.25rem!important;color:#0a745e!important;font-weight:950}
.hm-330-paid-badge,.hm-330-order-status{display:inline-block;width:fit-content;padding:6px 12px;border-radius:999px;background:#e3f7ec;color:#116a4b;font-weight:900;font-size:.84rem}
.hm-330-order-status.is-pending{background:#fff2df;color:#98620c}.hm-330-order-status.is-cancelled{background:#ffedf0;color:#a13e56}
.hm-330-receipt-upload{max-width:430px;border:1px solid #c5e0f8;border-radius:12px;padding:12px}
.hm-330-receipt-upload summary{cursor:pointer;font-weight:900;color:#17548b}
.hm-330-receipt-upload form{display:grid;gap:12px;padding-top:10px}.hm-330-receipt-upload input{width:100%}
.hm-330-memberships .hm-member-bulk-toolbar{background:linear-gradient(120deg,#ecf6ff,#fff)!important;border:1px solid #c8e0f3;border-radius:17px!important;padding:17px}
.hm-330-memberships table thead th{background:#eaf4ff!important;font-size:1.03rem!important;color:#123d69}
.hm-330-memberships table tbody tr{border-bottom:1px solid #e0eafa}
.hm-330-memberships table tbody td{padding-block:12px!important}
@media(max-width:950px){.hm-mehr-enrollment .hm-enroll-hero.hm-enroll-hero-luxury{grid-template-columns:1fr!important}.hm-330-course-tour ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hm-330-course-tour ol{grid-template-columns:1fr}.hm-330-report-highlights{gap:5px}.hm-330-report-highlights>div{padding:10px 4px}.hm-paper-page .hm-score-ring{width:102px!important;height:102px!important;min-width:102px}.hm-paper-page .hm-score>li{min-width:77px;padding:9px!important}.hm-330-payment-item{flex-direction:column;align-items:stretch}}
@media print {
 @page{size:A4 portrait;margin:9mm 10mm}
 body.hm-paper-page{font-size:9.2pt!important}
 .hm-paper-page .hm-main{padding:0!important;max-width:none!important}
 .hm-paper-page .hm-report{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;break-inside:avoid}
 .hm-paper-page .hm-report-masthead{padding:3mm!important}
 .hm-paper-page .hm-report-masthead h2{font-size:17pt!important}
 .hm-paper-page .hm-report-exam-name{font-size:10pt!important}
 .hm-paper-page .hm-report-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:3mm 0!important;gap:2mm!important}
 .hm-paper-page .hm-report-facts>div{padding:2mm!important}
 .hm-paper-page .hm-report-facts dt{font-size:8pt!important}
 .hm-paper-page .hm-report-facts dd{font-size:9pt!important}
 .hm-paper-page .hm-result-chart.hm-no-print{display:flex!important;padding:2mm!important;gap:4mm!important;margin:3mm 0!important;break-inside:avoid}
 .hm-paper-page .hm-result-chart .hm-score-ring{width:85px!important;height:85px!important;min-width:85px}
 .hm-paper-page .hm-score>li{padding:4px 9px!important;min-width:68px}
 .hm-paper-page .hm-score>li strong{font-size:13pt!important}
 .hm-paper-page .hm-330-report-highlights{gap:2mm!important;margin:2mm 0!important}
 .hm-paper-page .hm-330-report-highlights>div{padding:2.5mm!important}
 .hm-paper-page .hm-330-report-highlights dt{font-size:8pt}.hm-paper-page .hm-330-report-highlights dd{font-size:12pt}
 .hm-paper-page .hm-print-counts{display:none!important}
 .hm-paper-page:not(.hm-print-detailed) .hm-report-extra{display:none!important}
 .hm-paper-page.hm-print-detailed .hm-report-extra{display:block!important}
 .hm-paper-page.hm-print-detailed .hm-report-extra>summary{display:none!important}
 .hm-paper-page.hm-print-detailed .hm-330-report-details-body{display:block!important}
}
@media print {
 /* A review form is interactive content, not part of the one-sheet certificate. */
 .hm-paper-page .hm-course-feedback {display:none!important}
}

/* 3.3.1 – Admin student access assistance */
.hm-login-assist{direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif;max-width:1200px;color:#143a60;font-size:15px}
.hm-login-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 26px;background:linear-gradient(115deg,#0a4385,#147dc2);color:#fff;border-radius:25px;margin:18px 0 20px;box-shadow:0 14px 35px rgba(10,65,134,.16)}
.hm-login-header h1{color:#fff;font-size:29px;font-weight:900;margin:4px 0 12px}.hm-login-header p{color:#e8f5ff;font-size:15px;line-height:1.9;margin:0}
.hm-login-header .hm-login-kicker{font-size:13px;color:#ffe3a5;font-weight:900}.hm-login-header .button{white-space:nowrap}
.hm-login-panel{background:#fff;border:1px solid #d6e8fa;padding:24px;margin-bottom:18px;border-radius:24px;box-shadow:0 10px 28px rgba(15,84,151,.07)}
.hm-login-panel label{display:grid;gap:10px;color:#214b74;font-weight:900;font-size:15px}
.hm-login-panel input:not([type=checkbox]){min-height:47px;padding:8px 14px;border:1px solid #bdd5ee;border-radius:12px;width:100%;font-size:17px;font-family:inherit}
.hm-login-search-row{display:flex;gap:10px;margin-top:12px;align-items:center}.hm-login-search-row input{flex:1}
.hm-login-results{display:grid;gap:10px;margin-top:16px}.hm-login-result{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:14px 16px;background:#f2f8ff;border:1px solid #d9e8f7;border-radius:16px}
.hm-login-result strong{display:block;font-size:18px;margin-bottom:6px}.hm-login-result small{display:block;font-size:13px;color:#52728c;direction:ltr;text-align:right;overflow-wrap:anywhere}
.hm-login-selected{display:flex;justify-content:space-between;align-items:center;gap:12px}.hm-login-selected h2{color:#104c86;font-size:23px}
.hm-login-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:14px 0}.hm-login-fields input{direction:ltr;text-align:left}
.hm-login-sms-box{padding:22px;margin-top:22px;background:linear-gradient(135deg,#edf7ff,#fff);border:1px solid #c5dff3;border-radius:18px}.hm-login-sms-box h3{font-size:21px;margin:0 0 10px;color:#104b80}.hm-login-sms-box p{font-size:15px;line-height:2}
.hm-login-panel .hm-login-confirm{display:flex;align-items:center;gap:10px;margin:18px 0;font-size:15px}.hm-login-confirm input{width:20px;height:20px}
.hm-login-actions{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 20px}.hm-login-actions .button{font-size:15px;font-weight:800;min-height:43px}
.hm-login-assist textarea{display:block;width:100%;font-size:15px;line-height:2;padding:12px;border:1px solid #bad4ed;border-radius:12px;margin:10px 0}
#hm-login-status{font-weight:800;padding:15px 18px;border-radius:12px;min-height:24px}#hm-login-status:empty{display:none}
#hm-login-status.hm-login-status-ok{color:#146048;background:#e7f7ef}#hm-login-status.hm-login-status-error{color:#b12c35;background:#fff0f0}
/* Show the complete approved portrait instead of zooming/cropping its left edge. */
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury{padding:14px!important;background:#06366e!important;align-items:center!important;justify-content:center!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury img:first-child{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border-radius:16px!important}
@media(max-width:900px){.hm-login-fields{grid-template-columns:1fr}.hm-login-header{flex-direction:column;align-items:flex-start}.hm-login-result{flex-direction:column;align-items:flex-start}.hm-login-search-row{flex-wrap:wrap}}

.hm-member-login-help{display:inline-flex!important;align-items:center;gap:5px;margin-top:9px!important;font-size:13px!important;font-weight:850!important;color:#155ea5!important;border-color:#a8caed!important;background:#edf6ff!important;border-radius:10px!important}

/* 3.3.2: clear signup validation and loyalty discount disclosure */
.hm-student .hm-mehr-old-students-note{display:block;margin-top:7px;color:#1b659e;font-size:clamp(.81rem,.88vw,.97rem);font-weight:700;line-height:1.8}
.hm-student .hm-mehr-terms-summary{background:linear-gradient(110deg,#edf7ff,#f7fbff);color:#174d80;border:1px solid #c7def3;border-radius:16px;padding:12px 16px;line-height:2;font-size:1rem;font-weight:700}
.hm-student input[name="first_name"]:invalid,.hm-student input[name="last_name"]:invalid{border-color:#e9a0a0}

/* v3.3.3: five clear learning modes; study time is kept distinct from tick-8 notes. */
.hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card:has(a[href*="hm_view=tree"]),.hm-mehr-focused .hm-focus-modes .hm-learning-mode-card[href*="hm_view=tree"]{background:linear-gradient(160deg,#ecf9f4,#f5faff)!important;border-color:#acd8c9!important}
.hm-planner-tree-summary{background:linear-gradient(145deg,#f5fffa,#eef6ff)!important;border:1px solid #cbe3df!important}
.hm-planner-tree-summary .hm-planner-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.hm-planner-tree-summary h2{font-size:clamp(1.25rem,2vw,1.65rem)!important;font-weight:900!important;color:#174e78}
.hm-planner-tree-summary .hm-planner-heading p{color:#53758b;line-height:1.9;max-width:790px}
.hm-planner-tree-total{background:#fff;border:1px solid #cbe5da;color:#167c6a;padding:12px 18px;border-radius:18px;font-size:1.25rem}.hm-planner-tree-total small{display:block;font-size:.79rem;color:#507c78;text-align:center}
.hm-planner-tree-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:18px 0}.hm-planner-tree-days>div{display:grid;gap:8px;text-align:center;padding:12px 8px;background:#fff;border:1px solid #d3e6ed;border-radius:16px}.hm-planner-tree-days b{color:#45657c}.hm-planner-tree-days strong{color:#165f8f;font-size:.94rem}.hm-planner-tree-summary>a{font-weight:850;color:#156c9a}
@media(max-width:1250px){.hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:800px){.hm-planner-tree-days{grid-template-columns:repeat(4,minmax(0,1fr))}.hm-mehr-focused .hm-focus-modes{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.hm-planner-tree-days{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-mehr-focused .hm-focus-modes{grid-template-columns:minmax(0,1fr)!important}}

@media(min-width:1251px){.hm-planner-summary .hm-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* === Hamyar 3.3.4: premium back-office tables and two-way private feedback === */
.hm-admin .hm-334-payments-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 23px}
.hm-admin .hm-334-payment-kpi{display:grid;gap:7px;padding:17px;border-radius:19px;background:linear-gradient(160deg,#fff,#f2f8ff);border:1px solid #d4e4f7;box-shadow:0 8px 20px rgba(30,83,146,.07)}
.hm-admin .hm-334-payment-kpi span{font-size:14px;color:#517496;font-weight:750}
.hm-admin .hm-334-payment-kpi strong{font-size:clamp(1.25rem,2vw,1.68rem);color:#174b83;font-weight:950}
.hm-admin .hm-334-payment-kpi.is-paid{background:linear-gradient(145deg,#effcf7,#fff);border-color:#c1e9d9}
.hm-admin .hm-334-payment-kpi.is-paid strong{color:#137857}
.hm-admin .hm-334-payment-kpi.is-pending{background:linear-gradient(145deg,#fff9e8,#fff);border-color:#f1e1c4}
.hm-admin .hm-334-payment-kpi.is-error{background:linear-gradient(145deg,#fff4f4,#fff);border-color:#f5d6da}
.hm-admin .hm-334-payment-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 20px}
.hm-admin .hm-334-payment-toolbar a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #c6ddf5;border-radius:999px;background:#fff;color:#1b5b95;text-decoration:none;font-weight:850}
.hm-admin .hm-334-payment-toolbar a[aria-current=page]{color:#fff;background:#126bbd;border-color:#126bbd}
.hm-admin .hm-330-orders-admin{padding:clamp(17px,2.5vw,28px)!important;background:#fafdff!important}
.hm-admin .hm-330-orders-admin .hm-mehr-table{border:1px solid #d4e6f8;border-radius:21px;overflow-x:auto;background:#fff;box-shadow:0 10px 29px rgba(25,75,125,.05)}
.hm-admin .hm-330-orders-admin .widefat{border:none!important;border-collapse:separate!important;border-spacing:0!important;min-width:1140px;line-height:1.85}
.hm-admin .hm-330-orders-admin .widefat thead th{position:sticky;top:0;background:#eaf3ff;color:#164471;font-weight:900;font-size:14px;padding:15px 13px;border-bottom:2px solid #c9dff6;text-align:right}
.hm-admin .hm-330-orders-admin .widefat td{padding:16px 12px!important;vertical-align:top;border-bottom:1px solid #e1ebf6;color:#244563;font-size:13px}
.hm-admin .hm-330-orders-admin .widefat tbody tr:nth-child(even) td{background:#f7fbff}
.hm-admin .hm-330-orders-admin .widefat tbody tr:hover td{background:#ecf6ff!important}
.hm-admin .hm-330-orders-admin .widefat td>p{margin:6px 0}
.hm-admin .hm-330-orders-admin .widefat td small{display:block;color:#5e7d96;line-height:1.8}
.hm-admin .hm-330-orders-admin .widefat td strong{font-size:14px}
.hm-admin .hm-330-orders-admin .widefat .button{border-radius:11px!important;min-height:38px;color:#145c9e;border-color:#b4d5f4;font-weight:800;margin:5px 0}
.hm-admin .hm-330-orders-admin .widefat details{border:1px solid #dae8f4;border-radius:12px;padding:8px;max-width:200px}
.hm-admin .hm-330-orders-admin .widefat summary{cursor:pointer;color:#1a609c;font-weight:800}
.hm-334-buyer-name{display:block;font-size:15px;font-weight:900;color:#123f6e}
.hm-334-buyer-email{display:block;font:500 11px/1.7 Tahoma,sans-serif;direction:ltr;color:#7790a6;overflow-wrap:anywhere}
.hm-334-buyer-phone{display:inline-block;font:850 15px/1.9 Tahoma,sans-serif;direction:ltr;color:#165b95}
.hm-334-buyer-amount{font-weight:950;color:#156c60;font-size:17px}
.hm-admin.hm-member-admin .hm-330-memberships{padding:clamp(18px,2.5vw,29px)!important}
.hm-admin.hm-member-admin .hm-member-filters{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.hm-admin.hm-member-admin .hm-member-filters a{padding:9px 15px;border-radius:999px;border:1px solid #c8def2;background:#f6faff;color:#245b88;font-weight:850;text-decoration:none}
.hm-admin.hm-member-admin .hm-member-filters a[aria-current=page]{background:#115eaf;color:#fff;border-color:#115eaf}
.hm-admin.hm-member-admin .hm-table{overflow-x:auto;border:1px solid #d7e6f6;border-radius:18px}
.hm-admin.hm-member-admin .hm-table table{min-width:720px}
.hm-admin.hm-member-admin .hm-table th{background:#e9f3ff!important;color:#153e69;font-weight:900;padding:14px!important}
.hm-admin.hm-member-admin .hm-table td{padding:16px 12px!important;line-height:1.95;vertical-align:middle}
.hm-admin.hm-member-admin .hm-table tbody tr:nth-child(even){background:#f6faff}
.hm-admin.hm-member-admin .hm-table tbody tr:hover{background:#eaf4ff!important}
.hm-334-feedback-thread{display:grid;gap:12px;margin-top:20px;padding-top:14px;border-top:1px solid #cfe0f0}
.hm-334-feedback-thread h3{margin:0;font-size:1.15rem;font-weight:900;color:#164a80}
.hm-334-feedback-message{padding:14px 16px;border:1px solid #d2e3f4;border-radius:16px;background:#fff;color:#213e5b}
.hm-334-feedback-message>small{color:#66859d;font-size:.81rem}
.hm-334-feedback-message p{line-height:2;font-size:.99rem;margin:7px 0}
.hm-334-staff-answer{margin-top:11px;background:linear-gradient(145deg,#e7f5ff,#f5fbff);border:1px solid #bddbf7;border-radius:14px;padding:14px 17px}
.hm-334-staff-answer strong{color:#10538e;font-size:1rem}
.hm-334-pending-answer{display:inline-block;margin-top:5px;color:#7d8795;font-size:.83rem}
.hm-334-admin-reply-form{display:grid;gap:8px;min-width:210px;max-width:400px}
.hm-334-admin-reply-form textarea{width:100%;min-height:90px;padding:10px 12px;resize:vertical;border:1px solid #c5dff6;border-radius:12px;font:500 13px/1.9 Vazirmatn,Tahoma,sans-serif}
.hm-334-admin-reply-form .button{width:max-content}
.hm-334-admin-reply-form small{font-size:11px;color:#5c7591}
.hm-334-general-admin{margin-top:23px!important;background:linear-gradient(155deg,#fff,#f4f9ff)!important}
.hm-334-general-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hm-334-general-item{border:1px solid #d0e2f5;background:#fff;border-radius:20px;padding:16px}
.hm-334-general-item>small{display:block;color:#6f87a1;margin-top:5px}
.hm-334-general-item>p{font-size:14px;line-height:1.95;white-space:normal}
.hm-course-feedback-admin .hm-feedback-admin-table{overflow-x:auto}
.hm-course-feedback-admin .hm-feedback-admin-table table{min-width:1170px}
.hm-study-music .hm-334-music-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.hm-study-music .hm-334-music-shuffle{background:#edf4ff;color:#195b96;border:1px solid #bfd5ef;border-radius:11px;padding:10px 13px;cursor:pointer;font-weight:850}
@media(max-width:1050px){.hm-admin .hm-334-payments-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hm-334-general-grid{grid-template-columns:1fr}.hm-admin .hm-334-payments-kpis{gap:7px}.hm-admin .hm-334-payment-kpi{padding:12px}.hm-admin .hm-334-payment-kpi strong{font-size:1.15rem}}

/* 3.3.5 | Calm, accessible, mobile-first study & feedback refresh.
   Uses the local Vazirmatn file already shipped by the plugin (no CDN). */
:is(.hm-mehr-learning,.hm-student,.hm-panel,.hm-admin) {
  --hm-335-navy:#173f69;--hm-335-blue:#276fb0;--hm-335-mint:#147d69;--hm-335-line:#dce8f2;
  font-family:"Vazirmatn",Tahoma,sans-serif;
}
.hm-mehr-learning :is(button,a,input,select,textarea,summary),
.hm-admin :is(button,a,input,select,textarea,summary) {font-family:inherit;}
.hm-mehr-learning .hm-learning-chapter-card,
.hm-mehr-learning .hm-learning-mode-card {transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;}
.hm-mehr-learning .hm-learning-chapter-card:focus-visible,
.hm-mehr-learning .hm-learning-mode-card:focus-visible {outline:3px solid #66a6d8;outline-offset:3px;}
/* Note parts have their own daily state; the selected part remains visually clear. */
.hm-mehr-focused .hm-notes-parts a.hm-note-part-started,
.hm-notes-parts a.hm-note-part-started {background:#ecf9f7!important;color:#146b64!important;border-color:#a6d9d0!important;box-shadow:none;}
.hm-notes-parts a.hm-note-part-started small {color:#286f6b!important;}
.hm-mehr-focused .hm-notes-parts a.hm-note-part-done,
.hm-notes-parts a.hm-note-part-done {background:#d6f3e7!important;color:#0e6651!important;border-color:#68bd9d!important;box-shadow:0 3px 13px #0e795311;}
.hm-notes-parts a.hm-note-part-done small {color:#12644e!important;}
.hm-notes-parts a.hm-note-part-done:before {content:"✓  ";font-weight:900;}
.hm-notes-parts a[aria-current="page"] {outline:2px solid #3687c4;outline-offset:2px;}
.hm-notes-parts a.hm-note-part-done[aria-current="page"] {outline-color:#3d9e7c;}
.hm-335-daily-progress {padding:15px 17px;margin:0 0 16px;border:1px solid var(--hm-335-line);border-radius:17px;background:#f6faff;}
.hm-335-daily-progress>div {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:var(--hm-335-navy);font-size:14px;}
.hm-335-daily-progress>div strong {font-size:16px;}
.hm-335-daily-progress>div span b {color:#087960;font-size:17px;}
.hm-335-daily-progress progress {width:100%;height:10px;display:block;margin:10px 0 8px;border:none;border-radius:10px;overflow:hidden;accent-color:#159b77;background:#e0ecf3;}
.hm-335-daily-progress progress::-webkit-progress-bar {background:#e0ecf3;border-radius:10px;}
.hm-335-daily-progress progress::-webkit-progress-value {background:linear-gradient(90deg,#42bfa0,#168c7b);border-radius:10px;}
.hm-335-daily-progress progress::-moz-progress-bar {background:#169b78;border-radius:10px;}
.hm-335-daily-progress>small {color:#557083;line-height:1.8;font-size:12px;}
.hm-335-daily-progress a {color:#176b9d;font-weight:800;}
.hm-study-card.hm-study-today {border-color:#8bcbb7!important;background:#f6fcf9!important;}
.hm-study-card.hm-study-today .hm-study-text {background:#e1f7ec!important;border-color:#87c7ab!important;box-shadow:inset 0 0 0 1px #b7e4cd!important;}
.hm-study-card.hm-study-today .hm-study-mark-hint {color:#187057!important;font-weight:850;}
/* During a current visit, the eight highlighter colors take priority over the day default. */
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="gold"] .hm-study-text {background:#fff2b9!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="lilac"] .hm-study-text {background:#ede3ff!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="sky"] .hm-study-text {background:#dff2ff!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="coral"] .hm-study-text {background:#ffe0da!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="peach"] .hm-study-text {background:#ffeed6!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="ice"] .hm-study-text {background:#e8fdff!important;}
.hm-study-card.hm-study-today.hm-study-visited[data-highlight-color="rose"] .hm-study-text {background:#ffe6f1!important;}
.hm-study-help {margin:13px 0;color:#537188;border:1px solid #dfebf3;border-radius:12px;padding:10px 14px;font-size:13px;background:#fcfdff;}
.hm-study-help summary {cursor:pointer;font-weight:750;}
.hm-study-help p {line-height:2;margin:8px 0 0;}
/* Minimal explanatory-answer section: exactly one heading, then a rule. */
.hm-practice-question .hm-practice-explanation {background:#f9fcff!important;border:1px solid #d9e7f1!important;border-radius:15px!important;padding:15px 19px!important;box-shadow:none!important;}
.hm-practice-question .hm-practice-explanation summary {display:list-item;color:#124c80!important;padding:0 0 9px;margin-bottom:12px;border-bottom:2px solid #b4cfe7;font-size:clamp(1.08rem,1.6vw,1.25rem)!important;font-weight:900;}
.hm-practice-question .hm-practice-explanation:not([open]) summary {margin-bottom:0;}
.hm-practice-question .hm-practice-explanation>div {margin-top:8px;color:#213b55;}
.hm-student .hm-explanation .hm-335-explanation-title {display:block;margin-bottom:10px;padding:0 0 9px;border-bottom:2px solid #b4cfe7;color:#144a77;}
/* Strong numeric information with no decorative clutter. */
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card .hm-335-test-amount {display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:80px;padding:6px 13px;border-radius:15px;background:#e9f4ff;color:#155d9c;border:1px solid #d3e7fa;line-height:1.3;white-space:nowrap;}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card .hm-335-test-amount b {font-size:clamp(26px,2.7vw,35px);font-weight:950;line-height:1.2;font-variant-numeric:tabular-nums;}
.hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card .hm-335-test-amount span {font-size:12px!important;font-weight:800;color:#407ba8;}
/* Private course/exam star rating and feedback - progressive enhancement free. */
.hm-335-feedback {background:#fff!important;border:1px solid #dbe8f2!important;border-radius:20px!important;box-shadow:0 6px 22px #183d6810;}
.hm-335-feedback>summary {display:flex;align-items:center;gap:11px;flex-wrap:wrap;cursor:pointer;padding-block:5px;}
.hm-335-feedback>summary strong {color:#184c75;font-weight:900;}
.hm-335-feedback>summary small {color:#627b8c;font-size:13px;}
.hm-335-stars-field {border:0;margin:9px 0 15px;padding:0;}
.hm-335-stars-field legend,.hm-335-feedback-types legend {font-weight:850;color:#264a6d;margin:0 0 9px;}
.hm-335-star-options {display:flex;gap:8px;flex-wrap:wrap;}
.hm-335-star-options label {cursor:pointer;}
.hm-335-star-options label input {position:absolute;opacity:0;width:1px;height:1px;}
.hm-335-star-options label span {display:inline-block;padding:7px 13px;background:#f9fbff;border:1px solid #cbddec;border-radius:12px;color:#7a849a;font-weight:850;min-width:56px;text-align:center;transition:background .15s ease,border-color .15s ease;}
.hm-335-star-options label:has(input:checked) span {background:#fff3d3;border-color:#efb94b;color:#956107;}
.hm-335-star-options label:has(input:focus-visible) span {outline:3px solid #5298cf;outline-offset:2px;}
.hm-335-feedback-types {border:0;margin:0 0 12px;padding:0;}
.hm-335-type-options {display:flex;gap:14px;flex-wrap:wrap;}
.hm-335-type-options label {display:inline-flex;align-items:center;gap:5px;cursor:pointer;color:#3a5872;font-size:14px;}
.hm-335-type-options input {accent-color:#237d9c;}
.hm-335-my-stars {display:inline-block;color:#926008;margin:6px 0;}
.hm-admin .hm-335-admin-stars {display:block;color:#956514;font-weight:900;white-space:nowrap;}
/* Keep admin navigation grouped and readable without heavier icon libraries. */
.hm-admin .hm-admin-navigation {gap:15px!important;}
.hm-admin .hm-admin-navigation .hm-admin-nav-group {padding:15px!important;border-radius:20px!important;box-shadow:0 5px 19px #173e6510!important;}
.hm-admin .hm-admin-nav-items {gap:7px;}
.hm-admin .hm-admin-nav-items a {min-height:61px!important;padding:9px 11px!important;box-shadow:none!important;border:1px solid #e5edf4!important;}
.hm-admin .hm-admin-nav-items a:hover {background:#eaf4ff!important;border-color:#aacdeb!important;}
.hm-admin .hm-admin-nav-items a>.dashicons {width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important;font-size:20px!important;}
.hm-admin .hm-admin-nav-items a .hm-admin-nav-label strong {font-size:14px!important;line-height:1.6;}
.hm-admin .hm-admin-nav-items a .hm-admin-nav-label small {font-size:11px!important;line-height:1.6;}
@media(max-width:700px) {
  .hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card .hm-335-test-amount {align-items:flex-start;flex-direction:row;gap:7px;min-width:0;padding:6px 10px;}
  .hm-mehr-focused .hm-focus-chapter-list .hm-learning-chapter-card .hm-335-test-amount b {font-size:28px;}
  .hm-335-star-options label span {min-width:50px;padding:7px 9px;}
  .hm-335-daily-progress {padding:12px;}
}
@media(prefers-reduced-motion:reduce) { .hm-mehr-learning .hm-learning-chapter-card,.hm-mehr-learning .hm-learning-mode-card,.hm-335-star-options label span {transition:none!important;} }
/* Final light-touch polish: show the response heading and underline only. */
.hm-practice-question .hm-practice-explanation>summary {list-style:none!important;cursor:pointer;}
.hm-practice-question .hm-practice-explanation>summary::-webkit-details-marker {display:none;}
.hm-335-star-options input:checked+span {background:#fff3d3;border-color:#efb94b;color:#956107;}
.hm-335-star-options input:focus-visible+span {outline:3px solid #5298cf;outline-offset:2px;}
.hm-course-feedback-admin .hm-feedback-admin-table {max-width:100%;overflow-x:auto;}
.hm-mehr-learning .hm-app-links a,.hm-mehr-learning .hm-app-account {font-weight:800;box-shadow:none;border-radius:11px;}
.hm-mehr-learning .hm-app-links a[aria-current="page"] {background:#176a95;color:#fff;}
.hm-app-mobile-menu nav a:focus-visible {outline:3px solid #4a90c4;outline-offset:2px;}

/* Hamyar 3.3.8: calm, responsive checkout, planner and private duel chat. */
.hm-offer-deadline{display:grid;gap:8px;margin:12px 0;padding:13px 16px;color:#fff;background:linear-gradient(115deg,#a71838,#d14540);border:1px solid #ffb8a0;border-radius:15px;box-shadow:0 12px 23px rgba(105,16,28,.2);max-width:520px}
.hm-offer-deadline strong{font-size:1.01rem;color:#fff}.hm-offer-deadline span{font-size:1.05rem;font-weight:850;color:#fff7de;direction:rtl;font-variant-numeric:tabular-nums}
.hm-sales-simple-nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:20px auto 27px;max-width:850px}.hm-sales-simple-nav a{padding:12px 19px;border:1px solid #d8e7f6;border-radius:14px;background:#f6faff;text-decoration:none;color:#134774;font-weight:850}.hm-sales-simple-nav a:hover{border-color:#719dce;background:#e8f4ff}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury{padding:clamp(15px,2vw,24px)!important;background:linear-gradient(135deg,#0e4b92,#082a65)!important;align-items:center!important;justify-content:center!important}
.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury img:first-child{width:100%!important;height:auto!important;object-fit:contain!important;min-height:0!important;max-height:640px!important;border-radius:18px!important;box-shadow:0 16px 42px rgba(0,0,0,.21)!important}
.hm-planner-focus-time{grid-column:span 2;background:linear-gradient(135deg,#eff8ff,#f8fcff)!important;border:1px solid #bdddf3!important;border-radius:20px!important;padding:19px!important}
.hm-planner-focus-summary{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#fff;padding:13px 16px;border:1px solid #d3e6f4;border-radius:14px;margin:10px 0}.hm-planner-focus-summary strong{color:#0f558d;font-size:clamp(1.45rem,3vw,2rem)!important;line-height:1.5}.hm-planner-focus-summary span{color:#56718b}
.hm-planner-hm-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}.hm-planner-hm-split label{display:grid;gap:7px;font-weight:800;color:#294e70}.hm-planner-hm-split input{width:100%;max-width:230px;min-height:47px;background:#fff!important;border:1px solid #bcd5eb!important;border-radius:13px!important;text-align:center;font-size:1.3rem!important}.hm-planner-manual-note{display:block;color:#5d7990;line-height:1.8;margin-top:10px}
.hm-duel-chat-student{position:fixed;z-index:900;left:15px;bottom:16px;width:min(350px,calc(100vw - 30px));background:#fff;border:1px solid #c5dced;border-radius:19px;box-shadow:0 20px 52px rgba(12,48,88,.24);overflow:hidden;direction:rtl;font-family:inherit}.hm-duel-chat-panel summary{cursor:pointer;padding:14px 17px;font-weight:900;background:linear-gradient(120deg,#0a5ca6,#0d3876);color:#fff;list-style:none}.hm-duel-chat-panel summary::-webkit-details-marker{display:none}.hm-duel-chat-panel summary:focus-visible{outline:3px solid #fac552;outline-offset:-3px}.hm-duel-chat-inner{padding:12px;display:grid;gap:9px}.hm-duel-chat-notice{font-size:.78rem;color:#395c73;background:#edf7ff;border:1px solid #d0e4f6;padding:9px;border-radius:10px;line-height:1.8;margin:0}.hm-duel-chat-peer{margin:0;font-size:.88rem;color:#284b6c}.hm-duel-chat-messages{max-height:245px;min-height:100px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin}.hm-duel-chat-message{max-width:88%;align-self:start;background:#edf4fe;padding:8px 10px;border-radius:13px 13px 3px 13px}.hm-duel-chat-message.is-mine{align-self:end;background:#e3f6ed;border-radius:13px 13px 13px 3px}.hm-duel-chat-message small{font-size:.72rem;color:#567187}.hm-duel-chat-message p{margin:5px 0 0;font-size:.87rem;line-height:1.7;overflow-wrap:anywhere}.hm-duel-chat-form{display:flex;gap:6px}.hm-duel-chat-form input{flex:1;min-width:0;border:1px solid #bbd4e6;border-radius:10px;padding:8px}.hm-duel-chat-form button{white-space:nowrap;font-size:.8rem;padding:6px 12px}.hm-duel-chat-status{min-height:10px;margin:0;color:#b0333f;font-size:.81rem}
.hm-duel-chat-admin{border:1px solid #cbdbea;border-radius:14px;margin:10px 0;background:#fff}.hm-duel-chat-admin .hm-duel-chat-messages{max-height:230px}
@media(max-width:630px){.hm-planner-focus-time{grid-column:1/-1}.hm-duel-chat-student{left:8px;bottom:8px;width:min(330px,calc(100vw - 16px))}.hm-duel-chat-student[open]{max-height:70vh;overflow:auto}.hm-mehr-enrollment .hm-enroll-hero-luxury .hm-enroll-art.hm-enroll-art-luxury img:first-child{max-height:490px!important}.hm-offer-deadline{margin:13px 0}}

/* 3.3.10 · membership tiers and request provenance */
.hm-member-tier{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;font-weight:850;font-size:12px;border:1px solid #c9d9eb;background:#edf4fc;color:#1c568a;line-height:1.8}
.hm-member-tier-free{background:#e5f7ef;border-color:#9ddfbd;color:#166747}
.hm-member-tier-paid{background:#fff0db;border-color:#e7cb90;color:#855311}
.hm-member-admin td[data-label="منشأ درخواست"]{min-width:215px;max-width:300px;overflow-wrap:anywhere}
.hm-member-admin td[data-label="نوع عضویت"]{min-width:165px}
.hm-member-admin .hm-table table{min-width:1080px}
.hm-member-origin-notice{margin:10px 0;background:#f1f7ff;border:1px solid #d3e4fb;border-radius:12px;padding:12px}
.hm-membership-share-links .hm-field{display:block;margin:12px 0}
.hm-membership-share-links input[readonly]{display:block;max-width:100%;width:100%;margin:6px 0;direction:ltr;text-align:left;user-select:all}

/* Hamyar 3.3.11 — refined, readable exam report theme; print stays compact. */
@media screen {
  .hm-student .hm-report {
    border:1px solid #d5e5f5;border-radius:24px;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
    box-shadow:0 15px 54px rgba(15,64,123,.1);
    overflow:hidden;
  }
  .hm-student .hm-report-masthead {
    padding:clamp(18px,3vw,34px)!important;
    border:0!important;border-radius:18px!important;
    border-right:6px solid #24b0c0!important;
    background:linear-gradient(114deg,#e8f4ff,#f6faff)!important;
    box-shadow:0 8px 24px rgba(36,99,165,.07);
  }
  .hm-student .hm-report-masthead h2 {color:#133e73!important;font-weight:900;letter-spacing:-.3px}
  .hm-student .hm-report-exam-name {color:#35618f!important;line-height:1.8}
  .hm-student .hm-report-seal {border-radius:13px;border:0;color:white;background:linear-gradient(145deg,#125baf,#28a3cc);box-shadow:0 5px 13px rgba(17,105,178,.22)}
  .hm-student .hm-report-facts {gap:11px!important;margin:18px 0!important}
  .hm-student .hm-report-facts > div {background:#f2f8ff!important;border:1px solid #d5e7f7!important;border-radius:13px!important;padding:12px 15px!important}
  .hm-student .hm-report-facts dt {font-size:.87em;color:#607f9b}
  .hm-student .hm-report-facts dd {color:#174476;font-size:1.1em}
  .hm-student .hm-result-chart {border:1px solid #d9e9f6;background:linear-gradient(130deg,#f6fbff,#edf6ff);padding:clamp(16px,3vw,24px);border-radius:18px}
  .hm-student .hm-score-ring {box-shadow:0 9px 24px rgba(22,90,161,.14)}
  .hm-student .hm-report-section {border-radius:14px}
  .hm-student .hm-report-table {border-color:#d6e6f5;border-radius:12px}
  .hm-student .hm-report-actions .hm-button {border-radius:11px}
}

/* 3.3.12: public course notices and private advisor conversation */
.hm-3312-notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 25px;direction:rtl}
.hm-3312-notice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:clamp(15px,2.4vw,24px);border:1px solid #b8d9f0;border-radius:22px;background:linear-gradient(145deg,#f2f8ff,#fff);box-shadow:0 10px 28px rgba(20,72,126,.07)}
.hm-3312-notice-start{border-color:#b5ded0;background:linear-gradient(145deg,#eefaf6,#fff)}
.hm-3312-notice-symbol{display:grid;place-items:center;background:#e1efff;border-radius:14px;width:48px;height:48px;font-size:25px}
.hm-3312-notice-start .hm-3312-notice-symbol{background:#daf2e7}
.hm-3312-notice-tag{display:inline-block;font-size:12px;font-weight:850;color:#1262aa;margin-bottom:5px}
.hm-3312-notice-start .hm-3312-notice-tag{color:#117658}
.hm-3312-notice h2{font-size:clamp(18px,2vw,22px)!important;color:#123c63!important;line-height:1.55!important;margin:0 0 8px!important}
.hm-3312-notice p{font-size:clamp(14px,1.35vw,16px)!important;line-height:2!important;color:#37566f!important;margin:0!important}
.hm-3312-notice-link{display:inline-flex;margin-top:12px;color:#106f55;font-weight:850;text-decoration:none;border-bottom:1px solid #82bba8}
.hm-3312-advisor{max-width:1000px;margin:18px auto 30px!important;padding:clamp(17px,3vw,32px)!important;border-radius:24px!important;background:linear-gradient(180deg,#f7fbff,#fff 200px)!important;box-shadow:0 15px 40px rgba(17,62,105,.1)}
.hm-3312-advisor-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.hm-3312-advisor-kicker{display:block;color:#13806d;font-weight:850;font-size:13px;margin-bottom:9px}
.hm-3312-advisor-header h1{margin:0 0 9px!important;font-size:clamp(24px,3.2vw,31px)!important;color:#113e6b!important}
.hm-3312-advisor-header p{line-height:1.9;color:#44647b;max-width:670px;margin:0}
.hm-3312-advisor .hm-3312-advisor-thread{min-height:140px;max-height:560px;border:1px solid #d9e8f5;background:#f2f7fc}
.hm-3312-advisor-empty{margin:auto!important;color:#637b91;text-align:center;line-height:2}
.hm-3312-advisor-form{margin-top:20px}.hm-3312-advisor-form textarea{max-width:none!important;font-size:16px!important}
.hm-3312-advisor-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.hm-3312-advisor-footer p{color:#637b91;font-size:13px!important;margin:0;line-height:1.85;max-width:520px}
.hm-3312-advisor-success{background:#e4f8ed;border:1px solid #a7ddba;padding:10px 16px;border-radius:13px;color:#176b48}
.hm-3312-advisor-back{margin-top:25px!important}.hm-3312-advisor-back a{font-weight:800;text-decoration:none}
.hm-mehr-study-tools a[href*="hm_view=advisor"]{background:linear-gradient(145deg,#eefaf6,#f5faff)!important;border-color:#a5dbcb!important}
@media(max-width:760px){.hm-3312-notice-grid{grid-template-columns:1fr;gap:12px}.hm-3312-notice{gap:10px;padding:14px;border-radius:17px}.hm-3312-notice-symbol{width:42px;height:42px;font-size:22px}.hm-3312-advisor{padding:15px!important}.hm-3312-advisor-header .hm-button{width:100%}.hm-3312-advisor-footer button{width:100%}}

.hm-3312-advisor-teaser{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border:1px solid #abd9ce;border-radius:22px;background:linear-gradient(115deg,#ecf9f3,#edf7ff);padding:clamp(18px,3vw,28px);margin:20px 0;box-shadow:0 10px 30px rgba(16,91,78,.09)}
.hm-3312-advisor-teaser h2{font-size:clamp(21px,2.7vw,27px)!important;margin:0 0 9px!important;color:#164c65!important}
.hm-3312-advisor-teaser p{color:#496678;line-height:1.85;max-width:600px;margin:0!important}
@media(max-width:640px){.hm-3312-advisor-teaser .hm-button{width:100%;text-align:center}}

.hm-3312-admin-unread{padding:16px 18px;background:#f4faff;border:1px solid #cfe3f6;border-radius:14px;margin:18px 0}
.hm-3312-admin-unread h3{margin-top:0!important;color:#104d79}
.hm-3312-admin-unread-list{display:flex;gap:10px;flex-wrap:wrap}
.hm-3312-admin-unread-list a{display:grid;gap:3px;min-width:165px;padding:11px 14px;border:1px solid #bfdaef;background:#fff;border-radius:12px;text-decoration:none;color:#17486e}
.hm-3312-admin-unread-list small{color:#0c8274;font-weight:800}.hm-3312-admin-unread-list span{color:#447caa}

/* v3.3.14 - clearer purchase categories for students (private notes remain admin-only). */
.hm-dashboard .hm3314-student-payment-summary{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.hm-dashboard .hm3314-student-payment-summary>span{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;background:#edf5ff;border:1px solid #d0e5fb;color:#28567f;border-radius:999px;font-size:12px;font-weight:750}
.hm-dashboard .hm3314-student-payment-summary b{font-size:16px;font-weight:950;color:#1764b1}
.hm-dashboard .hm3314-student-payment-item{border:1px solid #cfe6f7!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f3f9ff)!important;box-shadow:0 7px 24px rgba(13,86,159,.07)}
.hm-dashboard .hm3314-student-kind{display:inline-block;margin-inline-start:8px;margin-block:3px;font-weight:850;font-size:11px;padding:3px 9px;border-radius:999px;background:#e3f8ef;color:#116e4e}
.hm-dashboard .hm3314-student-kind.is-full{color:#2b4eaa;background:#e5edff}


/* ===== 3.3.17 visual refresh: public catalog, free exams, rankings, question insights ===== */
.hm-app-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid #d7e6f5;box-shadow:0 8px 24px rgba(10,63,122,.06)}
.hm-app-nav-inner{width:min(100% - 26px,1380px);margin-inline:auto;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:16px 0}
.hm-app-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.hm-app-brand>div{display:grid;gap:4px}
.hm-app-brand strong{font-size:2rem;line-height:1.05;color:#123a69}
.hm-app-brand span:last-child{font-size:.92rem;color:#6c7f95}
.hm-app-monogram{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;font-size:1.22rem;font-weight:900;color:#fff;background:linear-gradient(135deg,#1747a7,#0f76bf 56%,#11a7bf);box-shadow:0 10px 22px rgba(17,90,171,.22)}
.hm-app-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.hm-app-nav .hm-app-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:16px;text-decoration:none;font-weight:800;color:#17395d;background:transparent;border:1px solid transparent;transition:all .18s ease}
.hm-app-nav .hm-app-link:hover{background:#eef6ff;border-color:#cfe0f4;transform:translateY(-1px)}
.hm-app-nav .hm-app-link[aria-current=page]{background:linear-gradient(135deg,#0d74af,#0f8a85);color:#fff;box-shadow:0 10px 24px rgba(11,111,176,.2)}
.hm-app-account{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;border-radius:18px;text-decoration:none;font-weight:900;background:linear-gradient(135deg,#0d6eb2,#127fc4);color:#fff;box-shadow:0 12px 22px rgba(18,104,186,.18)}
.hm-public-app,.hm-catalog{background:linear-gradient(180deg,#f4f8fc 0%,#f7f3ff 100%)}
.hm-public-app .hm-catalog-main{max-width:1440px;padding-inline:20px;padding-top:22px;padding-bottom:52px}
.hm-public-app .hm-catalog-hero{position:relative;overflow:hidden;padding:40px 44px;border-radius:34px;background:linear-gradient(120deg,#104e84,#1d4ea2 44%,#0a8f8e 100%);border:1px solid rgba(255,255,255,.2);box-shadow:0 24px 48px rgba(18,79,139,.18)}
.hm-public-app .hm-catalog-hero:before,.hm-public-app .hm-catalog-hero:after{content:"";position:absolute;border-radius:999px;border:2px solid rgba(255,255,255,.09);pointer-events:none}
.hm-public-app .hm-catalog-hero:before{width:260px;height:260px;top:-90px;right:-80px}
.hm-public-app .hm-catalog-hero:after{width:420px;height:420px;left:-140px;top:-160px}
.hm-catalog-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);color:#d6f2ff;font-size:.92rem;font-weight:800}
.hm-public-app .hm-catalog-hero h1{font-size:clamp(2rem,4vw,4.1rem)!important;line-height:1.28;color:#fff;letter-spacing:-.7px}
.hm-public-app .hm-catalog-hero p{max-width:920px;font-size:1.18rem;color:#eef6ff;line-height:1.95}
.hm-catalog-hero-metrics{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.hm-catalog-hero-metrics span{display:inline-flex;align-items:center;min-height:42px;padding:9px 16px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:#fff;font-weight:800}
.hm-catalog-filters{gap:14px;margin-top:24px;margin-bottom:16px}
.hm-catalog-filters a:not(.hm-button){min-height:58px;padding:13px 22px;border-radius:20px!important;border:1px solid #cddcf0!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 10px 24px rgba(23,72,124,.07);font-size:1.34rem;font-weight:900;color:#18395d}
.hm-catalog-filters a:not(.hm-button):hover,.hm-catalog-filters a[aria-current=page]{background:linear-gradient(135deg,#edf6ff,#eefeff)!important;border-color:#9fc3e8!important;color:#0f5d96;transform:translateY(-1px)}
.hm-catalog-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;margin-bottom:12px}
.hm-catalog-results-head h2{font-size:2.45rem!important;line-height:1.35;color:#17395d}
.hm-catalog-results-head>span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border-radius:999px;background:linear-gradient(135deg,#eaf4ff,#fff);border:1px solid #cdddf2;color:#0f5f9b;font-weight:900}
.hm-catalog-exams{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:22px;margin-top:18px}
.hm-catalog .hm-catalog-exam{width:auto!important;display:flex;flex-direction:column;gap:16px;padding:24px;border:none!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#fcfeff 100%)!important;box-shadow:0 18px 38px rgba(18,73,129,.09), inset 0 0 0 1px #dae6f4!important;position:relative;overflow:hidden;min-height:260px}
.hm-catalog .hm-catalog-exam:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:linear-gradient(180deg,#3cc7e3,#1b64c8)}
.hm-catalog .hm-catalog-exam-free_link:before,.hm-catalog .hm-catalog-exam-free:before{background:linear-gradient(180deg,#14b8a6,#0d74af)}
.hm-catalog .hm-catalog-exam h2{font-size:1.62rem!important;line-height:1.75;color:#133862;margin:0!important}
.hm-catalog-exam-head{display:grid;gap:6px}
.hm-catalog .hm-exam-subject{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:34px;padding:4px 12px;border-radius:999px;background:#eef6ff;color:#255d9a;font-weight:800;font-size:.96rem}
.hm-catalog-tags{gap:10px;margin-bottom:0}
.hm-catalog-status,.hm-offer{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:4px 12px;border-radius:999px;font-size:.88rem;font-weight:900}
.hm-catalog-status{background:#edf5ff;color:#184d83}
.hm-offer-free,.hm-offer-free_link{background:#eafaf6!important;color:#0c6f67!important;border:1px solid #bce6de}
.hm-offer-mehr1405,.hm-offer-monthly,.hm-offer-legacy,.hm-offer-single{background:#fff4da!important;color:#8a5a00!important;border:1px solid #efd6a0}
.hm-offer-league{background:#f6ecff!important;color:#7046a3!important;border:1px solid #dfcaf8}
.hm-catalog .hm-exam-facts{display:flex;flex-wrap:wrap;gap:10px;margin:0;color:#5a7091;font-size:1rem}
.hm-catalog .hm-exam-facts span{display:inline-flex;align-items:center;min-height:38px;padding:6px 12px;border-radius:12px;background:#f6faff;border:1px solid #e2eaf4}
.hm-catalog-card-actions{margin-top:auto;gap:10px}
.hm-catalog-card-actions .hm-button{flex:1 1 160px;min-height:50px;padding:11px 18px;border-radius:16px!important;font-size:1.05rem;background:linear-gradient(135deg,#0d6fb3,#0b8d92)!important;border:none!important;box-shadow:0 12px 22px rgba(14,107,177,.18)}
.hm-catalog-card-actions .hm-button.hm-secondary{background:#fff!important;color:#144e8b!important;box-shadow:none;border:1px solid #c8d8ed!important}
.hm-admin .hm-results-premium{padding:clamp(18px,2.7vw,32px)!important;border-radius:28px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 18px 44px rgba(18,73,128,.09)!important}
.hm-admin .hm-results-header h2{font-size:2rem!important;color:#143b66}.hm-admin .hm-results-header p{font-size:1rem;color:#5b7190}.hm-admin .hm-results-count{font-size:1rem;padding:10px 16px;border-radius:999px}
.hm-admin .hm-results-table{border-radius:22px!important;overflow:auto!important;border:1px solid #dce8f5!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.hm-admin .hm-results-table table{min-width:1060px!important}.hm-admin .hm-results-table th{position:sticky;top:0;z-index:1;background:linear-gradient(180deg,#edf4ff,#e6f0ff)!important;font-size:1.03rem!important;padding:18px 12px!important}.hm-admin .hm-results-table td{font-size:1.04rem!important;padding:18px 12px!important}
.hm-admin .hm-results-table tbody tr:nth-child(even){background:#fbfdff}.hm-admin .hm-results-table tbody tr:hover{background:#eef7ff!important}
.hm-results-view{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border-radius:14px;background:linear-gradient(135deg,#1c6cd3,#1684db);color:#fff!important;text-decoration:none;font-weight:900;white-space:nowrap}
.hm-results-rank{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;font-weight:900}.hm-results-rank-1{background:#ffefb2;color:#865707}.hm-results-rank-2{background:#e5edf8;color:#37547b}.hm-results-rank-3{background:#f8e4d0;color:#8a5524}.hm-results-rank-4{background:#eef4fb;color:#265586}
.hm-question-insights{margin-top:18px;border-radius:24px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #d7e5f4!important;box-shadow:0 14px 36px rgba(17,67,118,.07)!important}
.hm-question-insights-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:18px}.hm-question-insights-head h2{margin:0!important;font-size:1.7rem!important;color:#153d69}.hm-question-insights-head p{margin:.35rem 0 0;color:#5b7393;line-height:1.95;font-size:1rem}.hm-question-insights-head>span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border-radius:999px;background:#edf6ff;border:1px solid #d0e0f1;color:#0e5f9e;font-weight:900}
.hm-question-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.hm-question-highlights article{padding:18px 16px;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f4f8ff);border:1px solid #dce8f5;box-shadow:0 10px 22px rgba(16,63,114,.05)}.hm-question-highlights strong{display:block;font-size:1.55rem;color:#164678}.hm-question-highlights span{display:block;margin-top:6px;color:#68809b;font-weight:700}
.hm-question-trouble-table table{min-width:980px}.hm-question-trouble-table td small{display:block;margin-top:4px;color:#69819a;font-size:.88em}
.hm-question-analysis-detail{margin-top:14px;border:1px solid #dbe6f2;border-radius:18px;background:#fff;padding:0}.hm-question-analysis-detail>summary{cursor:pointer;list-style:none;padding:14px 18px;font-weight:900;color:#173e6d}.hm-question-analysis-detail>summary::-webkit-details-marker{display:none}
.hm-question-difficulty{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:4px 12px;border-radius:999px;font-weight:900}.hm-question-difficulty-hard{background:#ffebe8;color:#b23b27}.hm-question-difficulty-warn{background:#fff4df;color:#9b6600}.hm-question-difficulty-balanced{background:#edf7ff;color:#18578d}.hm-question-difficulty-easy{background:#eafaf0;color:#0f7658}.hm-question-difficulty-sample{background:#f1f4f7;color:#607488}
@media (max-width:1080px){.hm-app-nav-inner{grid-template-columns:1fr;justify-items:center}.hm-app-brand{text-align:center}.hm-question-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-public-app .hm-catalog-main{padding-inline:14px}.hm-public-app .hm-catalog-hero{padding:30px 22px}.hm-catalog-filters a:not(.hm-button){font-size:1.05rem;min-height:50px;padding:10px 16px}.hm-catalog-results-head h2{font-size:1.8rem!important}}
@media (max-width:700px){.hm-app-links{display:none}.hm-app-nav-inner{padding:12px 0}.hm-app-brand strong{font-size:1.45rem}.hm-app-monogram{width:46px;height:46px;border-radius:15px}.hm-question-highlights{grid-template-columns:1fr}.hm-catalog-exams{grid-template-columns:1fr}.hm-catalog .hm-catalog-exam{min-height:0;padding:20px;border-radius:22px!important}.hm-public-app .hm-catalog-hero h1{font-size:2rem!important}.hm-public-app .hm-catalog-hero p{font-size:1rem}.hm-catalog-hero-metrics span{width:100%;justify-content:center}.hm-catalog-results-head{align-items:flex-start;flex-direction:column}}
/* 3.3.50: explicit study tables and tactile, accessible practice controls. */
.hm50-table-scroll{display:block;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;margin:12px 0;border:1px solid #cbddec;border-radius:14px;background:#fff;scrollbar-width:thin}.hm50-note-table{border-collapse:collapse;width:100%;min-width:300px;table-layout:auto;font-size:clamp(.9rem,1.3vw,1.08rem);color:#173b56;line-height:1.9;text-align:start}.hm50-note-table th,.hm50-note-table td{border:1px solid #dce8f1;padding:10px 12px;vertical-align:top;white-space:normal;overflow-wrap:break-word;word-break:normal;min-width:90px}.hm50-note-table th{background:#174d76;color:#fff;font-weight:800}.hm50-note-table th strong{color:inherit!important}.hm50-note-table tbody tr:nth-child(even){background:#f0f7fb}.hm50-table-note{cursor:default!important;min-height:0!important;box-sizing:border-box;min-width:0}.hm50-table-note .hm-study-text-content{min-width:0;overflow-wrap:break-word}.hm50-table-mark{width:100%;margin:8px 0}.hm50-table-mark .hm-study-mark-hint{margin:0;color:inherit}.hm50-icon{display:inline-block;width:21px;height:21px;flex:0 0 21px;vertical-align:middle;pointer-events:none}.hm-practice-preferences button.hm-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:13px!important;border:1px solid #c3d9eb!important;box-shadow:0 3px 9px #163e5c12;background:linear-gradient(145deg,#fff,#edf6fd)!important;color:#184d73!important;transition:transform .15s,box-shadow .15s,background .15s}.hm-practice-preferences button.hm-button[aria-pressed=true]{background:linear-gradient(130deg,#166ba0,#124778)!important;color:#fff!important;border-color:#1d6091!important}.hm-practice-preferences button.hm-button[hidden]{display:none!important}.hm-practice-preferences button.hm-button:active,.hm-practice-option:active{transform:scale(.985)}.hm-practice-preferences button.hm-button:focus-visible,.hm-practice-option:focus-within,.hm50-table-scroll:focus-visible,.hm50-table-mark:focus-visible{outline:3px solid #398dc4;outline-offset:3px}.hm-practice-question .hm-practice-option{transition:transform .15s,box-shadow .18s,border-color .18s;border-radius:15px!important}.hm-practice-question:not(.hm-practice-answered) .hm-practice-option:hover{border-color:#69a4cd!important;box-shadow:0 4px 12px #1c6b9b18}.hm-practice-answer-badge .hm-mark-icon{display:inline-flex;align-items:center;justify-content:center}.hm-practice-answer-badge .hm50-icon{width:16px;height:16px;flex-basis:16px}.hm-practice-nextbar,[data-practice-autonext]{display:none!important}@media(prefers-reduced-motion:reduce){.hm-practice-preferences button.hm-button,.hm-practice-question .hm-practice-option{transition:none!important;transform:none!important}}@media(max-width:600px){.hm50-note-table th,.hm50-note-table td{padding:7px 9px}.hm-practice-preferences button.hm-button{min-height:44px;font-size:.88rem!important}}

/* 3.3.87: high-contrast Solar dashboard lesson progress */
.hm83 .hm83-progress progress,.hm83 td progress,.hm83-profile-progress progress,.hm82 progress,.hm80-chip progress,.hm85-card progress,.hm-progress-meter {height:12px!important;accent-color:#079447!important;border:0;border-radius:999px;overflow:hidden;background:#dcece3;}
.hm83 .hm83-progress progress::-webkit-progress-bar,.hm83 td progress::-webkit-progress-bar,.hm83-profile-progress progress::-webkit-progress-bar,.hm82 progress::-webkit-progress-bar,.hm80-chip progress::-webkit-progress-bar,.hm85-card progress::-webkit-progress-bar,.hm-progress-meter::-webkit-meter-bar{background:#dcece3;border-radius:999px;border:0;}
.hm83 .hm83-progress progress::-webkit-progress-value,.hm83 td progress::-webkit-progress-value,.hm83-profile-progress progress::-webkit-progress-value,.hm82 progress::-webkit-progress-value,.hm80-chip progress::-webkit-progress-value,.hm85-card progress::-webkit-progress-value,.hm-progress-meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#087d3c,#16b45c)!important;border-radius:999px;}
.hm83 progress::-moz-progress-bar,.hm82 progress::-moz-progress-bar,.hm80-chip progress::-moz-progress-bar,.hm85-card progress::-moz-progress-bar,.hm-progress-meter::-moz-meter-bar{background:linear-gradient(90deg,#087d3c,#16b45c)!important;border-radius:999px;}
.hm83 .hm83-progress b{font-size:13px;font-weight:800;color:#08783e}.hm83 .hm83-profile-card .hm83-progress b{color:#b9ffcf;}

.hm87-picker{max-width:320px;margin:6px 0;color:#155e43;font-size:13px;direction:rtl}.hm87-picker summary{cursor:pointer;font-weight:700}.hm87-picker-panel{padding:10px;background:#fff;color:#173b2a;border:1px solid #c5e1d0;border-radius:12px}.hm87-cal-nav{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:8px}.hm87-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.hm87-cal-grid button,.hm87-cal-nav button{background:#e8f6ed!important;color:#12623c!important;border:1px solid #c6e2d0!important;border-radius:6px;padding:5px!important;min-width:0!important;cursor:pointer;font:inherit}.hm87-cal-grid button[aria-current=date]{background:#087d3c!important;color:white!important}.hm87-cal-grid button:disabled{opacity:.35;cursor:not-allowed}
