.mth-order-form {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 18px;
  margin-top: 16px;
}
.mth-order-form > br,
.mth-order-form > p:empty { display: none; }
.mth-order-form fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.mth-order-form legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #c2c9bb;
  color: #191c1b;
  font-size: 1.18rem;
  font-weight: 850;
}
.mth-order-form legend span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #154212;
}
.mth-order-form legend small {
  margin-left: auto;
  color: #5b675c;
  font-size: .68rem;
  font-weight: 700;
}
.mth-order-form label,
.mth-field-label {
  display: block;
  margin: 14px 0 7px;
  color: #191c1b;
  font-size: .9rem;
  font-weight: 750;
}
.mth-order-form label small { color: #5b675c; font-weight: 550; }
.mth-order-form input:not([type="checkbox"]),
.mth-order-form select,
.mth-order-form textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 13px 15px;
  border: 2px solid #c2c9bb;
  border-radius: 10px;
  color: #191c1b;
  background: #fff;
  font: inherit;
}
.mth-order-form textarea { min-height: 148px; resize: vertical; }
.mth-order-form input::placeholder,
.mth-order-form textarea::placeholder { color: #72796e; opacity: 1; }
.mth-order-form input:hover,
.mth-order-form select:hover,
.mth-order-form textarea:hover { border-color: #72796e; }
.mth-order-form input:focus,
.mth-order-form select:focus,
.mth-order-form textarea:focus {
  border-color: #154212;
  outline: 3px solid rgba(161, 212, 148, .55);
  outline-offset: 1px;
}
.mth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mth-form-progress { display: none; margin: 0; }
.mth-steps-active .mth-form-progress { display: block; }
.mth-form-progress ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.mth-form-progress li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #c2c9bb;
  border-radius: 10px;
  color: #5b675c;
  background: #f2f4f2;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.2;
}
.mth-form-progress li span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #42493e;
  background: #e1e3e1;
}
.mth-form-progress li small {
  margin-left: auto;
  font-size: .58rem;
  font-weight: 700;
}
.mth-form-progress li.is-active {
  border-color: #154212;
  color: #154212;
  background: #d9e6d8;
}
.mth-form-progress li.is-active span,
.mth-form-progress li.is-complete span { color: #fff; background: #154212; }
.mth-form-progress li.is-complete { color: #154212; }
.mth-step-status {
  margin: 0;
  color: #5b675c;
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}
.mth-steps-active .mth-form-step[hidden] { display: none; }
.mth-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
}
.mth-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mth-order-form:not(.mth-steps-active) .mth-step-next,
.mth-order-form:not(.mth-steps-active) .mth-step-back { display: none; }
.mth-order-form:not(.mth-steps-active) .mth-quick-actions { grid-template-columns: 1fr; }
.mth-step-next,
.mth-step-back,
.mth-submit {
  min-height: 56px;
  padding: 13px 22px;
  border: 2px solid #154212;
  border-radius: 12px;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
}
.mth-step-next,
.mth-submit { color: #fff; background: #154212; }
.mth-step-more {
  color: #154212;
  background: #fff;
}
.mth-step-next:hover,
.mth-submit:hover { border-color: #2d5a27; background: #2d5a27; }
.mth-step-more:hover { color: #fff; }
.mth-step-back { color: #154212; background: #fff; }
.mth-step-back:hover { background: #d9e6d8; }
.mth-submit:disabled { opacity: .6; cursor: wait; }
.mth-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mth-contact-methods label {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  margin: 0;
  border: 2px solid #c2c9bb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.mth-contact-methods label:hover { border-color: #72796e; }
.mth-contact-methods label:has(input:checked) {
  border-color: #154212;
  color: #154212;
  background: #d9e6d8;
}
.mth-contact-methods input,
.mth-consent input {
  width: 21px;
  height: 21px;
  accent-color: #154212;
}
.mth-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  margin-top: 28px !important;
  border: 1px solid #c2c9bb;
  border-radius: 12px;
  background: #f2f4f2;
}
.mth-consent input { flex: 0 0 auto; margin-top: 4px; }
.mth-consent span { font-weight: 600; }
.mth-form-note,
.mth-required-note {
  margin: 0;
  color: #5b675c;
  font-size: .76rem;
  line-height: 1.5;
}
.mth-quick-form-intro,
.mth-optional-note {
  padding: 14px 16px;
  margin: 0 0 18px;
  border-left: 4px solid #2d5a27;
  border-radius: 9px;
  color: #354438;
  background: #edf5eb;
  font-size: .86rem;
  line-height: 1.55;
}
.mth-quick-form-intro strong { display: block; color: #154212; }
.mth-email-note {
  margin: 7px 0 0;
  color: #5b675c;
  font-size: .72rem;
  line-height: 1.5;
}
.mth-order-form [data-mth-telegram-field][hidden] { display: none; }
.mth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.mth-form-message { padding: 16px 18px; margin: 16px 0; border-radius: 10px; }
.mth-form-error { border-left: 5px solid #ba1a1a; background: #ffdad6; }
.mth-inline-error { margin: 9px 0 0; color: #93000a; font-size: .8rem; font-weight: 800; }
.mth-form-success {
  padding: 28px;
  border: 2px solid #154212;
  border-radius: 18px;
  background: #d9e6d8;
}
.mth-form-success h3 { margin-top: 0; }
.mth-success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 0 16px;
  border-radius: 50%;
  color: #fff;
  background: #154212;
  font-size: 1.6rem;
  font-weight: 900;
}
.mth-portal-link { color: #154212; font-weight: 800; }
.mth-after-submit { display: flex; flex-wrap: wrap; gap: 9px; }
.mth-after-submit a {
  padding: 10px 13px;
  border: 2px solid #154212;
  border-radius: 10px;
  color: #154212;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}
.mth-after-submit a:hover { color: #fff; background: #154212; }

.mth-customer-portal {
  margin: 24px 0 80px;
  width: min(1440px, calc(100vw - clamp(32px, 5vw, 80px)));
  max-width: none !important;
  margin-left: 50% !important;
  margin-right: 0 !important;
  transform: translateX(-50%);
  color: #191c1b;
}
.mth-portal-intro {
  padding: 16px 18px;
  margin: 0 0 18px;
  border-left: 5px solid #154212;
  border-radius: 10px;
  background: #d9e6d8;
  font-weight: 650;
}
.mth-customer-portal #wpsc-container,
.mth-customer-portal .wpsc-shortcode-container,
.mth-customer-portal .wpsc-auth-container,
.mth-customer-portal .wpsc-it-container {
  width: 100% !important;
  max-width: 100%;
  border-radius: 18px;
}
.mth-customer-portal .wpsc-shortcode-container,
.mth-customer-portal .wpsc-auth-container {
  border: 1px solid #c2c9bb;
  background: #fff;
}
.mth-customer-portal button,
.mth-customer-portal input[type="submit"],
.mth-customer-portal .wpsc-button {
  min-height: 46px;
  border-radius: 10px !important;
  font-weight: 800 !important;
}
.mth-customer-portal button.primary,
.mth-customer-portal .wpsc-button.primary,
.mth-customer-portal input[type="submit"] {
  border-color: #154212 !important;
  color: #fff !important;
  background: #154212 !important;
}
.mth-customer-portal input:not([type="checkbox"]):not([type="radio"]),
.mth-customer-portal select,
.mth-customer-portal textarea {
  max-width: 100%;
  border-radius: 10px !important;
}
.mth-customer-portal a { color: #154212; }

.mth-status-lookup {
  width: min(100%, 880px);
  margin: 24px 0 80px;
}
.mth-status-benefit {
  padding: 18px 20px;
  margin: 0 0 14px;
  border: 1px solid rgba(21, 66, 18, .25);
  border-radius: 12px;
  color: #154212;
  background: #edf5eb;
  font-size: 1.04rem;
}
.mth-status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  align-items: end;
  gap: 14px;
  padding: 24px;
  margin: 20px 0;
  border: 1px solid #c2c9bb;
  border-radius: 18px;
  background: #fff;
}
.mth-status-form label {
  display: block;
  margin: 0 0 7px;
  color: #191c1b;
  font-size: .9rem;
  font-weight: 750;
}
.mth-status-form input {
  width: 100%;
  min-height: 56px;
  padding: 13px 15px;
  border: 2px solid #c2c9bb;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.mth-status-form input:focus {
  border-color: #154212;
  outline: 3px solid rgba(161, 212, 148, .55);
  outline-offset: 1px;
}
.mth-status-result {
  padding: 24px;
  margin: 20px 0;
  border: 2px solid #154212;
  border-radius: 18px;
  background: #d9e6d8;
}
.mth-status-result h2 { margin: 4px 0 12px; }
.mth-status-label { margin: 0; color: #425043; font-weight: 800; }
@media (max-width: 720px) {
  .mth-form-progress ol { grid-template-columns: 1fr; }
  .mth-form-progress li { display: none; }
  .mth-form-progress li.is-active { display: flex; }
  .mth-step-status { text-align: left; }
  .mth-customer-portal { margin-bottom: 110px; }
  .mth-customer-portal .wpsc-shortcode-container,
  .mth-customer-portal .wpsc-auth-container { border-radius: 12px; }
}

@media (max-width: 650px) {
  .mth-form-grid,
  .mth-contact-methods,
  .mth-status-form { grid-template-columns: 1fr; }
  .mth-steps-active .mth-step-actions { display: grid; grid-template-columns: 1fr; }
  .mth-step-next,
  .mth-step-back,
  .mth-submit { width: 100%; }
}

/* Update-safe portal shell. All overrides stay scoped to the integration plugin. */
.mth-customer-portal [hidden] { display: none !important; }
.mth-portal-authenticated {
  --mth-green: #174f1a;
  --mth-green-dark: #0d3510;
  --mth-green-soft: #edf5ec;
  --mth-border: #dce4da;
  width: min(1500px, calc(100vw - 28px));
  margin-top: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mth-portal-shell {
  display: grid;
  min-height: min(820px, calc(100vh - 130px));
  grid-template-columns: 238px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--mth-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(22, 52, 24, .1);
}
.mth-portal-sidebar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 26px 16px 20px;
  border-right: 1px solid var(--mth-border);
  background: #f4f7f3;
}
.mth-portal-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 9px 26px;
  color: var(--mth-green-dark) !important;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}
.mth-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--mth-green);
  font-size: .72rem;
}
.mth-portal-nav { display: grid; gap: 7px; }
.mth-portal-nav button,
.mth-portal-logout {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px !important;
  color: #425044;
  background: transparent;
  font: inherit;
  font-size: .77rem;
  font-weight: 800 !important;
  letter-spacing: .015em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.mth-portal-nav button span,
.mth-portal-logout span { width: 20px; color: #657266; font-size: 1.05rem; text-align: center; }
.mth-portal-nav button:hover,
.mth-portal-logout:hover { color: var(--mth-green-dark); background: #e5eee3; }
.mth-portal-nav button.is-active { color: #fff !important; background: var(--mth-green) !important; box-shadow: 0 8px 18px rgba(23,79,26,.18); }
.mth-portal-nav button.is-active span { color: #fff; }
.mth-portal-logout { margin-top: auto; }
.mth-portal-workspace { min-width: 0; background: #fff; }
.mth-portal-topbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 12px clamp(22px, 3vw, 44px);
  border-bottom: 1px solid var(--mth-border);
  background: rgba(255,255,255,.96);
}
.mth-portal-new-order {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--mth-green);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.mth-portal-new-order:hover { background: var(--mth-green-dark); }
.mth-portal-user { display: flex; align-items: center; gap: 10px; }
.mth-portal-user > span:first-child { display: grid; text-align: right; }
.mth-portal-user strong { color: #1c251d; font-size: .8rem; }
.mth-portal-user small { color: #758077; font-size: .67rem; }
.mth-user-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--mth-green); font-size: .7rem; font-weight: 850; }
.mth-portal-menu-toggle { display: none; }
.mth-portal-main { padding: clamp(28px, 4vw, 54px); background: #fff; }
.mth-portal-welcome { max-width: 850px; }
.mth-portal-eyebrow { color: var(--mth-green); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mth-portal-welcome h1,
.mth-native-heading h1 { margin: 5px 0 6px; color: var(--mth-green-dark); font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.05; }
.mth-portal-welcome p { margin: 0; color: #657067; font-size: .96rem; line-height: 1.55; }
.mth-portal-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 30px 0 42px; }
.mth-metric-card { min-height: 176px; padding: 22px; border: 1px solid #edf0ec; border-radius: 17px; background: #f7f8f6; }
.mth-metric-card.is-progress { background: var(--mth-green-soft); }
.mth-metric-label { display: flex; align-items: center; gap: 10px; color: #68736a; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.mth-metric-label span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--mth-green); background: #dcefd9; font-size: 1rem; }
.mth-metric-card > strong { display: block; margin: 22px 0 4px; color: #243126; font-size: 2.15rem; line-height: 1; }
.mth-metric-card p { margin: 0; color: #69736b; font-size: .72rem; line-height: 1.45; }
.mth-portal-grid { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(240px,.8fr); gap: 28px; align-items: start; }
.mth-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.mth-section-heading h2 { margin: 0; color: #263027; font-size: 1.18rem; }
.mth-section-heading button { min-height: auto !important; padding: 7px 0; border: 0; color: var(--mth-green); background: transparent; font-size: .75rem; font-weight: 800; cursor: pointer; }
.mth-recent-list { display: grid; gap: 10px; padding: 10px; border-radius: 16px; background: #f6f8f5; }
.mth-recent-ticket {
  display: grid;
  width: 100%;
  min-height: 88px !important;
  grid-template-columns: 38px minmax(0,1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 14px !important;
  border: 1px solid #edf0ec !important;
  border-radius: 13px !important;
  color: #263027 !important;
  background: #fff !important;
  text-align: left;
  cursor: pointer;
}
.mth-recent-ticket:hover { border-color: #a7bca5 !important; box-shadow: 0 7px 20px rgba(23,79,26,.08); }
.mth-ticket-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--mth-green); background: var(--mth-green-soft); }
.mth-ticket-copy { display: grid; min-width: 0; gap: 2px; }
.mth-ticket-copy small,
.mth-ticket-copy > span { color: #7b857c; font-size: .67rem; }
.mth-ticket-copy strong { overflow: hidden; font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.mth-ticket-arrow { color: var(--mth-green); font-size: 1.5rem; }
.mth-portal-empty { padding: 32px 20px; border: 1px dashed #c9d5c7; border-radius: 16px; background: #f7f9f6; text-align: center; }
.mth-portal-empty > span { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 10px; border-radius: 50%; color: var(--mth-green); background: #dcefd9; }
.mth-portal-empty h3 { margin: 0 0 5px; font-size: 1rem; }
.mth-portal-empty p { margin: 0 0 14px; color: #6c776e; font-size: .78rem; }
.mth-portal-empty a { font-size: .78rem; font-weight: 850; }
.mth-portal-help { padding: 24px; border: 1px solid var(--mth-border); border-radius: 17px; box-shadow: 0 8px 28px rgba(25,54,27,.06); }
.mth-portal-help h2 { margin: 0 0 9px; color: var(--mth-green-dark); font-size: 1.1rem; }
.mth-portal-help > p { margin: 0 0 18px; color: #657067; font-size: .78rem; line-height: 1.55; }
.mth-portal-help a { display: flex; align-items: center; gap: 11px; padding: 11px; margin-top: 9px; border-radius: 10px; color: #334035 !important; background: #f1f4f0; font-size: .76rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.mth-portal-help a > span:first-child { color: var(--mth-green); font-size: 1rem; }
.mth-portal-help a span:last-child { display: grid; }
.mth-portal-help a small { color: #778178; font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; }
.mth-native-heading { margin-bottom: 24px; }
.mth-native-heading h1 { font-size: clamp(1.8rem,3vw,2.5rem); }
.mth-portal-authenticated .mth-portal-native #wpsc-container { display: block !important; }
.mth-portal-authenticated .wpsc-header { display: none !important; }
.mth-portal-authenticated .wpsc-shortcode-container { border: 0 !important; border-radius: 0 !important; }
.mth-portal-authenticated .wpsc-body { min-height: 480px; }
.mth-portal-authenticated .wpsc-tickets-container,
.mth-portal-authenticated .wpsc-dashboard-view,
.mth-portal-authenticated .wpsc-it-container { border-radius: 15px !important; }
.mth-portal-guest { width: min(900px,calc(100vw - 32px)); margin-top: 35px; }
.mth-portal-auth-copy { padding: clamp(24px,4vw,42px); border-radius: 22px 22px 0 0; color: #fff; background: linear-gradient(135deg,#0d3510,#276b2b); }
.mth-portal-auth-copy h2 { margin: 7px 0; color: #fff; font-size: clamp(1.7rem,4vw,2.5rem); }
.mth-portal-auth-copy p { max-width: 650px; margin: 0; color: rgba(255,255,255,.84); }
.mth-portal-auth-copy .mth-portal-eyebrow { color: #bfe2b9; }
.mth-portal-guest .wpsc-shortcode-container,
.mth-portal-guest .wpsc-auth-container { border-radius: 0 0 22px 22px !important; }
.mth-portal-scrim { display: none; }

@media (max-width: 980px) {
  .mth-portal-shell { grid-template-columns: 205px minmax(0,1fr); }
  .mth-portal-main { padding: 30px 24px; }
  .mth-portal-grid { grid-template-columns: 1fr; }
  .mth-portal-help { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .mth-portal-help h2,
  .mth-portal-help > p { grid-column: 1 / -1; }
  .mth-portal-help a { margin: 0; }
}
@media (max-width: 760px) {
  .mth-portal-authenticated { width: calc(100vw - 18px); }
  .mth-portal-shell { display: block; min-height: 700px; border-radius: 17px; }
  .mth-portal-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(82vw,280px); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 15px 0 40px rgba(0,0,0,.18); }
  .mth-portal-authenticated.is-menu-open .mth-portal-sidebar { transform: translateX(0); }
  .mth-portal-topbar { min-height: 64px; padding: 10px 15px; }
  .mth-portal-menu-toggle { display: inline-grid; width: 42px; height: 42px; min-height: 42px !important; place-items: center; padding: 0; margin-right: auto; border: 1px solid var(--mth-border); border-radius: 10px !important; color: var(--mth-green); background: #fff; font-size: 1.15rem; }
  .mth-portal-user > span:first-child { display: none; }
  .mth-portal-new-order { padding: 8px 13px; font-size: .73rem; }
  .mth-portal-main { padding: 25px 16px 40px; }
  .mth-portal-cards { grid-template-columns: 1fr; gap: 10px; margin: 24px 0 32px; }
  .mth-metric-card { min-height: 130px; }
  .mth-metric-card > strong { margin-top: 12px; }
  .mth-portal-help { display: block; }
  .mth-portal-help a { margin-top: 8px; }
  .mth-portal-scrim { position: fixed; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; border: 0; border-radius: 0 !important; background: rgba(10,25,11,.52); }
}
@media (max-width: 480px) {
  .mth-section-heading { align-items: flex-start; }
  .mth-recent-ticket { grid-template-columns: 34px minmax(0,1fr); }
  .mth-ticket-arrow { display: none; }
}

/* Guest login refresh: scoped to the generated customer page and update-safe. */
.mth-customer-page main.mth-section {
  padding-top: clamp(38px, 5vw, 72px);
  padding-bottom: clamp(50px, 7vw, 92px);
}
.mth-customer-page main.mth-section > .wp-block-post-title { display: none; }
.mth-customer-page .mth-portal-guest {
  display: grid;
  width: min(1080px, calc(100vw - 40px));
  min-height: 590px;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  margin: 0 0 0 50% !important;
  overflow: hidden;
  border: 1px solid #d9e2d7;
  border-radius: 26px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 66, 18, .13);
}
.mth-portal-guest .mth-portal-auth-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 66px);
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(161, 212, 148, .23), transparent 38%),
    linear-gradient(145deg, #0c3b12 0%, #17571d 58%, #236d2a 100%);
}
.mth-auth-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  color: #174f1a;
  background: #dff0dc;
  box-shadow: 0 9px 25px rgba(0, 0, 0, .13);
  font-size: 1.25rem;
  font-weight: 900;
}
.mth-portal-guest .mth-portal-auth-copy h1 {
  max-width: 520px;
  margin: 9px 0 18px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.mth-portal-guest .mth-portal-auth-copy > p {
  max-width: 520px;
  color: rgba(255, 255, 255, .84);
  font-size: .96rem;
  line-height: 1.65;
}
.mth-auth-benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 34px;
  color: #f4fbf2;
  font-size: .84rem;
  font-weight: 700;
  list-style: none;
}
.mth-auth-benefits li { position: relative; padding-left: 27px; }
.mth-auth-benefits li::before {
  position: absolute;
  top: .08em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #174f1a;
  background: #bfe2b9;
  content: "✓";
  font-size: .68rem;
  font-weight: 900;
}
.mth-auth-request-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 11px;
  color: #fff !important;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.mth-auth-request-link:hover { border-color: #fff; color: #103e14 !important; background: #fff; }
.mth-auth-login-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 58px);
  background: linear-gradient(180deg, #fff 0%, #fbfcfa 100%);
}
.mth-portal-guest #wpsc-container,
.mth-portal-guest .wpsc-shortcode-container,
.mth-portal-guest .wpsc-auth-container {
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.mth-portal-guest .wpsc-auth-container { padding: 0 !important; }
.mth-portal-guest .auth-inner-container {
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
.mth-portal-guest .auth-inner-container h2 {
  margin: 0 0 28px !important;
  color: #172219 !important;
  font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
  line-height: 1.15 !important;
  text-align: left !important;
}
.mth-portal-guest .wpsc-login {
  display: grid !important;
  width: 100% !important;
  gap: 13px !important;
}
.mth-portal-guest .wpsc-login input[type="text"],
.mth-portal-guest .wpsc-login input[type="email"],
.mth-portal-guest .wpsc-login input[type="password"] {
  width: 100% !important;
  height: 56px !important;
  padding: 13px 16px !important;
  margin: 0 !important;
  border: 2px solid #c9d3c7 !important;
  border-radius: 11px !important;
  color: #19221a !important;
  background: #fff !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: .9rem !important;
}
.mth-portal-guest .wpsc-login input:focus {
  border-color: #1b5c20 !important;
  outline: 3px solid rgba(161, 212, 148, .48) !important;
  outline-offset: 1px;
}
.mth-portal-guest .checkbox-container.remember-me {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 1px 0 4px !important;
  color: #536056;
  font-size: .78rem;
}
.mth-portal-guest .checkbox-container.remember-me input {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  accent-color: #174f1a;
}
.mth-portal-guest .wpsc-login .wpsc-button.primary {
  width: 100% !important;
  min-height: 54px !important;
  margin-top: 3px !important;
  border: 0 !important;
  border-radius: 11px !important;
  color: #fff !important;
  background: #174f1a !important;
  box-shadow: 0 9px 22px rgba(23, 79, 26, .18) !important;
  font-size: .9rem !important;
}
.mth-portal-guest .wpsc-login .wpsc-button.primary:hover { background: #0d3510 !important; transform: translateY(-1px); }
.mth-portal-guest .auth-links {
  display: grid !important;
  max-width: 480px;
  gap: 8px !important;
  margin: 18px auto 0 !important;
}
.mth-portal-guest .auth-links .wpsc-link {
  width: 100%;
  padding: 5px 0;
  color: #235d27 !important;
  font-size: .78rem !important;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none !important;
}
.mth-portal-guest .auth-links .wpsc-link:hover { color: #0d3510 !important; text-decoration: underline !important; }
.mth-portal-guest .auth-links .wpsc-otp-signin {
  display: flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px !important;
  border: 2px solid #174f1a;
  border-radius: 11px;
  cursor: pointer;
  text-align: center;
}
.mth-portal-guest .auth-links .wpsc-otp-signin:hover { color: #fff !important; background: #174f1a; text-decoration: none !important; }
.mth-portal-guest .auth-links .wpsc-guest-create-ticket { display: none !important; }
.mth-auth-security-note {
  max-width: 480px;
  margin: 24px auto 0;
  color: #6b766d;
  font-size: .7rem;
  text-align: center;
}
.mth-auth-security-note span { margin-right: 4px; }

@media (max-width: 850px) {
  .mth-customer-page main.mth-section { padding-top: 28px; }
  .mth-customer-page .mth-portal-guest {
    width: min(680px, calc(100vw - 28px));
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .mth-portal-guest .mth-portal-auth-copy { padding: 38px 32px; }
  .mth-auth-symbol { margin-bottom: 20px; }
  .mth-portal-guest .mth-portal-auth-copy h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .mth-auth-benefits { margin: 22px 0 26px; }
  .mth-auth-login-panel { padding: 38px 32px 42px; }
}
@media (max-width: 480px) {
  .mth-customer-page .mth-portal-guest { width: calc(100vw - 18px); border-radius: 16px; }
  .mth-portal-guest .mth-portal-auth-copy,
  .mth-auth-login-panel { padding: 30px 21px 34px; }
  .mth-auth-request-link { width: 100%; justify-content: center; }
  .mth-portal-guest .auth-inner-container h2 { margin-bottom: 20px !important; font-size: 1.55rem !important; }
}

/* One clear entry page for status lookup and the full customer login. */
.mth-existing-customer-hub {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 0 0 50%;
  transform: translateX(-50%);
}
.mth-existing-customer-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.mth-existing-customer-heading h1 {
  margin: 7px 0 12px;
  color: #0d3510;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.mth-existing-customer-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #5f6d62;
  font-size: 1rem;
  line-height: 1.65;
}
.mth-status-lookup-embedded {
  width: 100%;
  padding: clamp(24px, 4vw, 42px);
  margin: 0 0 30px;
  border: 1px solid #d9e2d7;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f8fbf7 100%);
  box-shadow: 0 18px 48px rgba(21, 66, 18, .09);
}
.mth-customer-option-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.mth-customer-option-number {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #174f1a;
  box-shadow: 0 8px 20px rgba(23, 79, 26, .2);
  font-size: 1rem;
  font-weight: 900;
}
.mth-customer-option-heading h2 {
  margin: 5px 0 7px;
  color: #172219;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
}
.mth-customer-option-heading p {
  max-width: 760px;
  margin: 0;
  color: #657067;
  line-height: 1.6;
}
.mth-status-lookup-embedded .mth-status-form {
  margin: 26px 0 0;
  border-color: #d9e2d7;
  box-shadow: 0 8px 24px rgba(21, 66, 18, .05);
}
.mth-status-lookup-embedded .mth-submit { white-space: nowrap; }
.mth-customer-page .mth-existing-customer-hub .mth-portal-guest {
  width: 100%;
  margin: 0 !important;
  scroll-margin-top: 150px;
  transform: none;
}
.mth-existing-customer-hub .mth-portal-auth-copy h2 {
  max-width: 520px;
  margin: 9px 0 18px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

@media (max-width: 850px) {
  .mth-existing-customer-hub { width: min(680px, calc(100vw - 28px)); }
  .mth-existing-customer-heading { margin-bottom: 26px; text-align: left; }
  .mth-existing-customer-heading p { margin-left: 0; }
  .mth-status-lookup-embedded { padding: 30px 26px; border-radius: 20px; }
  .mth-existing-customer-hub .mth-portal-auth-copy h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
}
@media (max-width: 480px) {
  .mth-existing-customer-hub { width: calc(100vw - 18px); }
  .mth-existing-customer-heading { padding: 0 7px; }
  .mth-existing-customer-heading h1 { font-size: 2.25rem; }
  .mth-status-lookup-embedded { padding: 26px 18px; border-radius: 16px; }
  .mth-customer-option-heading { gap: 13px; }
  .mth-customer-option-number { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; }
  .mth-customer-option-heading h2 { font-size: 1.45rem; }
}

.mth-upload-field {
  padding: 15px;
  margin-top: 16px;
  border: 1px dashed #9eaa9b;
  border-radius: 12px;
  background: #f7f9f6;
}
.mth-upload-field label { margin-top: 0; }
.mth-order-form .mth-upload-field input[type="file"] {
  min-height: 0;
  padding: 8px;
  border: 1px solid #c2c9bb;
  background: #fff;
  font-size: .8rem;
}
.mth-order-form .mth-upload-field input[type="file"]::file-selector-button {
  padding: 9px 12px;
  margin-right: 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #154212;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.mth-upload-help,
.mth-upload-summary {
  margin: 7px 0 0;
  color: #5b675c;
  font-size: .72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.mth-upload-summary { font-weight: 750; }
.mth-upload-summary.is-error { color: #93000a; }
