/* Session Prep Portal — scoped under .mpx-session-prep-root (WordPress shortcode). Source: mayerpix-session-prep-3.html */

.mpx-session-prep-root {
  --gold: #C9A96E;
  --gold-l: #E2C99A;
  --gold-d: #A07840;
  --black: #0A0A0A;
  --surface: #161616;
  --surface2: #1E1C19;
  --surface3: #242220;
  --border: rgba(201, 169, 110, 0.15);
  --border-s: rgba(201, 169, 110, 0.35);
  --text: #F0EDE8;
  --tm: rgba(240, 237, 232, 0.55);
  --td: rgba(240, 237, 232, 0.28);
  --green: #7DBE8A;
  --green-bg: rgba(125, 190, 138, 0.08);
  --green-b: rgba(125, 190, 138, 0.28);
  --red: rgba(220, 80, 80, 0.8);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: var(--black);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
  zoom: 1.22;
}

body:has(.mpx-session-prep-root),
html:has(.mpx-session-prep-root) {
  background: #0A0A0A !important;
}

body:has(.mpx-session-prep-root) {
  overflow-x: hidden !important;
}

body:has(.mpx-session-prep-root) :where(
  .site,
  .site-content,
  .content-area,
  .site-main,
  #page,
  #content,
  #primary,
  main,
  article,
  .entry-content,
  .page-content,
  .wp-site-blocks,
  .wp-block-post-content
) {
  background: #0A0A0A !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(.mpx-session-prep-root) :where(
  .site-content,
  .content-area,
  .site-main,
  #content,
  #primary,
  main,
  article,
  .entry-content,
  .page-content,
  .wp-block-post-content
) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  --wp--style--block-gap: 0 !important;
}

body:has(.mpx-session-prep-root) :where(
  .entry-content,
  .page-content,
  .wp-block-post-content
) > .mpx-session-prep-root:first-child {
  margin-top: -35px !important;
}

body:has(.mpx-session-prep-root) .site-content:has(> .mpx-session-prep-root) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.mpx-session-prep-root) .site-content:has(> .mpx-session-prep-root) > .heading-decor,
body:has(.mpx-session-prep-root) .site-content:has(> .mpx-session-prep-root) > p {
  display: none !important;
}

body:has(.mpx-session-prep-root) .site-content:has(> .mpx-session-prep-root) > .mpx-session-prep-root {
  margin-top: -35px !important;
}

body:has(.mpx-session-prep-root) p:has(.mpx-session-prep-root),
body:has(.mpx-session-prep-root) code:has(.mpx-session-prep-root) {
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
}

body:has(.mpx-session-prep-root) p:has(> code .mpx-session-prep-root) {
  margin-top: -35px !important;
}

body:has(.mpx-session-prep-root) .heading-decor {
  display: none !important;
}

body:has(.mpx-session-prep-root) :where(
  .entry-title,
  .page-title,
  .wp-block-post-title
) {
  display: none !important;
}

/* ── WP THEME ISOLATION ── */
.mpx-session-prep-root,
.mpx-session-prep-root * {
  box-sizing: border-box;
}
.mpx-session-prep-root {
  background: #0A0A0A !important;
  color: #F0EDE8 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 300 !important;
  font-size: 13px !important;
  line-height: normal !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  zoom: 1.22;
}
.mpx-session-prep-root h1.serif,
.mpx-session-prep-root h2.serif {
  font-family: 'Cormorant Garamond', serif !important;
}
/* Kill any white background the theme injects */
.mpx-session-prep-root .shell {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.mpx-session-prep-root .main {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 660px !important;
  margin: 0 auto !important;
  padding: 5px 24px 80px !important;
  width: 100% !important;
}
/* Kill input autofill yellow background */
.mpx-session-prep-root input:-webkit-autofill,
.mpx-session-prep-root input:-webkit-autofill:hover,
.mpx-session-prep-root input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #161616 inset !important;
  -webkit-text-fill-color: #F0EDE8 !important;
  caret-color: #F0EDE8 !important;
}

@supports not (zoom: 1) {
  .mpx-session-prep-root {
    transform: scale(1.22);
    transform-origin: top center;
  }
}

.mpx-session-prep-root *,
.mpx-session-prep-root *::before,
.mpx-session-prep-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mpx-session-prep-root .shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mpx-session-prep-root .main {
  flex: 1;
  padding: 5px 24px 80px;
  max-width: 660px;
  margin: 0 auto;
  width: 100%;
}

.mpx-session-prep-root .session-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 2px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--td);
}

.mpx-session-prep-root .session-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.mpx-session-prep-root .session-badge-name {
  color: var(--gold);
}

.mpx-session-prep-root .pg {
  display: none;
  animation: mpx-sp-fadeUp 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.mpx-session-prep-root .pg.on {
  display: block;
}

@keyframes mpx-sp-fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mpx-session-prep-root .eyebrow {
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mpx-session-prep-root .eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.mpx-session-prep-root h1.serif {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.18;
  margin-bottom: 10px;
}

.mpx-session-prep-root h1.serif em {
  font-style: italic;
  color: var(--gold-l);
}

.mpx-session-prep-root .sub {
  font-size: 11px;
  color: var(--tm);
  line-height: 1.85;
  margin-bottom: 28px;
}

.mpx-session-prep-root .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.mpx-session-prep-root .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.35), transparent);
}

.mpx-session-prep-root .card-body {
  padding: 22px 24px;
}

.mpx-session-prep-root .card-label {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mpx-session-prep-root .card-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 169, 110, 0.1);
}

.mpx-session-prep-root .field {
  margin-bottom: 16px;
}

.mpx-session-prep-root .field:last-child {
  margin-bottom: 0;
}

.mpx-session-prep-root .field-label {
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td);
  display: block;
  margin-bottom: 6px;
}

.mpx-session-prep-root .field-hint {
  font-size: 10px;
  color: rgba(240, 237, 232, 0.22);
  margin-bottom: 6px;
  font-style: italic;
  line-height: 1.6;
}

.mpx-session-prep-root .fi,
.mpx-session-prep-root .ta {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 2px;
  padding: 11px 14px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.mpx-session-prep-root .fi:focus,
.mpx-session-prep-root .ta:focus {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.03);
}

.mpx-session-prep-root .fi::placeholder,
.mpx-session-prep-root .ta::placeholder {
  color: var(--td);
}

.mpx-session-prep-root .ta {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}

.mpx-session-prep-root .ta.tall {
  min-height: 110px;
}

.mpx-session-prep-root .phone-wrap {
  display: flex;
  gap: 0;
}

.mpx-session-prep-root .phone-prefix {
  padding: 11px 14px;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-right: none;
  border-radius: 2px 0 0 2px;
  font-size: 12px;
  color: var(--tm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.mpx-session-prep-root .phone-wrap .fi {
  border-radius: 0 2px 2px 0;
}

.mpx-session-prep-root .otp-wrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.mpx-session-prep-root .otp-wrap input {
  width: 46px;
  height: 54px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--surface);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 2px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.mpx-session-prep-root .otp-wrap input::-webkit-outer-spin-button,
.mpx-session-prep-root .otp-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mpx-session-prep-root .otp-wrap input:focus {
  border-color: var(--gold);
}

.mpx-session-prep-root .btn {
  width: 100%;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mpx-session-prep-root .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mpx-session-prep-root .btn-gold {
  background: var(--gold);
  color: var(--black);
}

.mpx-session-prep-root .btn-gold:hover:not(:disabled) {
  background: var(--gold-l);
}

.mpx-session-prep-root .btn-ghost {
  background: transparent;
  color: var(--td);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.mpx-session-prep-root .btn-ghost:hover:not(:disabled) {
  border-color: rgba(201, 169, 110, 0.4);
  color: var(--tm);
}

.mpx-session-prep-root .btn-sm {
  width: auto;
  padding: 10px 20px;
  font-size: 9px;
}

.mpx-session-prep-root .btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.mpx-session-prep-root .resend-wrap {
  text-align: center;
  margin-top: 14px;
  font-size: 10px;
  color: var(--td);
}

.mpx-session-prep-root .resend-link {
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mpx-session-prep-root .resend-link:hover {
  color: var(--gold-l);
}

.mpx-session-prep-root .session-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mpx-session-prep-root .session-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px 22px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mpx-session-prep-root .session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.2), transparent);
}

.mpx-session-prep-root .session-card:hover {
  border-color: var(--border-s);
  background: rgba(201, 169, 110, 0.04);
}

.mpx-session-prep-root .session-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mpx-session-prep-root .session-card-info {
  flex: 1;
}

.mpx-session-prep-root .session-card-type {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.mpx-session-prep-root .session-card-meta {
  font-size: 10px;
  color: var(--td);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mpx-session-prep-root .session-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mpx-session-prep-root .session-card-arrow {
  color: var(--gold);
  font-size: 16px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.mpx-session-prep-root .session-card:hover .session-card-arrow {
  opacity: 1;
}

.mpx-session-prep-root .modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.mpx-session-prep-root .module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px 18px 16px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.mpx-session-prep-root .module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.2), transparent);
}

.mpx-session-prep-root .module:hover {
  border-color: var(--border-s);
  background: rgba(201, 169, 110, 0.04);
  transform: translateY(-1px);
}

.mpx-session-prep-root .module-ico {
  font-size: 22px;
  margin-bottom: 10px;
}

.mpx-session-prep-root .module-title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}

.mpx-session-prep-root .module-desc {
  font-size: 10px;
  color: var(--td);
  line-height: 1.6;
}

.mpx-session-prep-root .module-status {
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mpx-session-prep-root .module-status.done {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-b);
}

.mpx-session-prep-root .module-status.todo {
  background: rgba(201, 169, 110, 0.07);
  color: rgba(201, 169, 110, 0.55);
  border: 1px solid rgba(201, 169, 110, 0.18);
}

.mpx-session-prep-root .progress-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.mpx-session-prep-root .progress-title {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--td);
  margin-bottom: 14px;
}

.mpx-session-prep-root .progress-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.06);
}

.mpx-session-prep-root .progress-item:last-child {
  border-bottom: none;
}

.mpx-session-prep-root .progress-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mpx-session-prep-root .progress-dot.done {
  background: var(--green);
}

.mpx-session-prep-root .progress-dot.todo {
  background: rgba(201, 169, 110, 0.25);
}

.mpx-session-prep-root .progress-name {
  flex: 1;
  font-size: 11px;
  color: var(--tm);
}

.mpx-session-prep-root .progress-val {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpx-session-prep-root .progress-val.done {
  color: var(--green);
}

.mpx-session-prep-root .progress-val.todo {
  color: var(--td);
}

.mpx-session-prep-root .pose-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mpx-session-prep-root .pose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.mpx-session-prep-root .pose-card:hover {
  border-color: var(--border-s);
}

.mpx-session-prep-root .pose-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.3);
  flex-shrink: 0;
  line-height: 1;
  min-width: 32px;
}

.mpx-session-prep-root .pose-name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}

.mpx-session-prep-root .pose-desc {
  font-size: 11px;
  color: var(--td);
  line-height: 1.65;
  margin-bottom: 6px;
}

.mpx-session-prep-root .pose-tag {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.55);
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
}

.mpx-session-prep-root .style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mpx-session-prep-root .style-opt {
  position: relative;
}

.mpx-session-prep-root .style-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mpx-session-prep-root .style-box {
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 2px;
  padding: 11px 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mpx-session-prep-root .style-box:hover {
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.03);
}

.mpx-session-prep-root .style-opt input:checked ~ .style-box {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.mpx-session-prep-root .style-ico {
  font-size: 15px;
  flex-shrink: 0;
}

.mpx-session-prep-root .style-name {
  font-size: 11px;
  font-weight: 400;
}

.mpx-session-prep-root .style-chk {
  margin-left: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  flex-shrink: 0;
  transition: all 0.2s;
}

.mpx-session-prep-root .style-opt input:checked ~ .style-box .style-chk {
  background: var(--gold);
  border-color: var(--gold);
}

.mpx-session-prep-root .use-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.mpx-session-prep-root .use-opt {
  position: relative;
}

.mpx-session-prep-root .use-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mpx-session-prep-root .use-chip {
  padding: 5px 12px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 2px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--td);
}

.mpx-session-prep-root .use-chip:hover {
  border-color: rgba(201, 169, 110, 0.4);
  color: var(--tm);
}

.mpx-session-prep-root .use-opt input:checked ~ .use-chip {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.mpx-session-prep-root .upload-zone {
  border: 1px dashed rgba(201, 169, 110, 0.28);
  border-radius: 2px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  margin-bottom: 12px;
}

.mpx-session-prep-root .upload-zone:hover,
.mpx-session-prep-root .upload-zone.drag {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.04);
}

.mpx-session-prep-root .upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.mpx-session-prep-root .upload-ico {
  font-size: 26px;
  margin-bottom: 10px;
  opacity: 0.4;
}

.mpx-session-prep-root .upload-title {
  font-size: 12px;
  color: var(--tm);
  margin-bottom: 3px;
}

.mpx-session-prep-root .upload-hint {
  font-size: 10px;
  color: var(--td);
}

.mpx-session-prep-root .file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mpx-session-prep-root .file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 8px 12px;
}

.mpx-session-prep-root .file-thumb {
  width: 34px;
  height: 34px;
  border-radius: 1px;
  object-fit: cover;
  background: rgba(201, 169, 110, 0.1);
  flex-shrink: 0;
}

.mpx-session-prep-root .file-info {
  flex: 1;
  min-width: 0;
}

.mpx-session-prep-root .file-name {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mpx-session-prep-root .file-size {
  font-size: 9px;
  color: var(--td);
  margin-top: 1px;
}

.mpx-session-prep-root .file-del {
  font-size: 14px;
  color: var(--td);
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.mpx-session-prep-root .file-del:hover {
  color: var(--text);
}

.mpx-session-prep-root .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.mpx-session-prep-root .gallery-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.mpx-session-prep-root .gallery-thumb:hover {
  border-color: var(--border-s);
}

.mpx-session-prep-root .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.mpx-session-prep-root .gallery-thumb:hover img {
  transform: scale(1.04);
}

.mpx-session-prep-root .gallery-thumb-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
  line-height: 1;
}

.mpx-session-prep-root .gallery-thumb:hover .gallery-thumb-del {
  opacity: 1;
}

.mpx-session-prep-root .gallery-count {
  font-size: 9px;
  color: var(--td);
  text-align: right;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.mpx-session-prep-root .lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: mpx-sp-fadeUp 0.2s ease both;
}

.mpx-session-prep-root .lightbox.on {
  display: flex;
}

.mpx-session-prep-root .lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mpx-session-prep-root .lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 22px;
  color: rgba(240, 237, 232, 0.4);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px;
}

.mpx-session-prep-root .lightbox-close:hover {
  color: var(--text);
}

.mpx-session-prep-root .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: rgba(240, 237, 232, 0.3);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 10px;
  line-height: 1;
}

.mpx-session-prep-root .lightbox-nav:hover {
  color: var(--gold);
}

.mpx-session-prep-root .lightbox-prev {
  left: 16px;
}

.mpx-session-prep-root .lightbox-next {
  right: 16px;
}

.mpx-session-prep-root .lightbox-info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.3);
}

.mpx-session-prep-root .tips-section {
  margin-bottom: 18px;
}

.mpx-session-prep-root .tips-section-title {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mpx-session-prep-root .tips-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 169, 110, 0.1);
}

.mpx-session-prep-root .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.06);
  font-size: 12px;
  color: var(--tm);
  line-height: 1.6;
}

.mpx-session-prep-root .tip-item:last-child {
  border-bottom: none;
}

.mpx-session-prep-root .tip-item::before {
  content: '—';
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 1px;
}

.mpx-session-prep-root .summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 8px;
}

.mpx-session-prep-root .summary-ico {
  font-size: 18px;
  flex-shrink: 0;
}

.mpx-session-prep-root .summary-info {
  flex: 1;
}

.mpx-session-prep-root .summary-name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 2px;
}

.mpx-session-prep-root .summary-val {
  font-size: 10px;
  color: var(--td);
}

.mpx-session-prep-root .summary-badge {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
}

.mpx-session-prep-root .summary-badge.done {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-b);
}

.mpx-session-prep-root .summary-badge.todo {
  background: rgba(201, 169, 110, 0.07);
  color: rgba(201, 169, 110, 0.55);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.mpx-session-prep-root .lang-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 20px;
}

.mpx-session-prep-root .lang-hint {
  font-size: 9px;
  color: var(--td);
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.mpx-session-prep-root .lang-btn {
  padding: 4px 10px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--td);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}

.mpx-session-prep-root .lang-btn:hover {
  border-color: rgba(201, 169, 110, 0.4);
  color: var(--tm);
}

.mpx-session-prep-root .lang-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.mpx-session-prep-root .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--td);
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.mpx-session-prep-root .back-link:hover {
  color: var(--tm);
}

.mpx-session-prep-root .notice {
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 10px;
  line-height: 1.65;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mpx-session-prep-root .notice.success {
  background: var(--green-bg);
  border: 1px solid var(--green-b);
  color: var(--green);
}

.mpx-session-prep-root .notice.error {
  background: rgba(220, 80, 80, 0.08);
  border: 1px solid rgba(220, 80, 80, 0.25);
  color: rgba(220, 80, 80, 0.9);
}

.mpx-session-prep-root .notice.info {
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--tm);
}

.mpx-session-prep-root .spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(201, 169, 110, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: mpx-sp-spin 0.7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes mpx-sp-spin {
  to {
    transform: rotate(360deg);
  }
}

.mpx-session-prep-root .divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.mpx-session-prep-root .session-header {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mpx-session-prep-root .session-header-ico {
  font-size: 20px;
  flex-shrink: 0;
}

.mpx-session-prep-root .session-header-type {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}

.mpx-session-prep-root .session-header-meta {
  font-size: 10px;
  color: var(--td);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .mpx-session-prep-root .main {
    padding: 4px 16px 60px !important;
  }

  .mpx-session-prep-root .modules {
    grid-template-columns: 1fr;
  }

  .mpx-session-prep-root .style-grid {
    grid-template-columns: 1fr;
  }

  .mpx-session-prep-root h1.serif {
    font-size: 26px;
  }
}
