:root {
  --mlh-navy: #0B0E2D;
  --mlh-navy-2: #141943;
  --mlh-red: #E52521;
  --mlh-red-hover: #C81E1A;
  --mlh-ink: #0F172A;
  --mlh-muted: #64748B;
  --mlh-line: #E2E8F0;
  --mlh-bg: #F8FAFC;
  --mlh-font: 'Cairo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.mlh-hidden { display: none !important; }
.mlh-muted { color: var(--mlh-muted); font-size: 13px; }
.mlh-sep { opacity: .4; margin: 0 6px; }

/* Remove duplicate Twenty Twenty-Five chrome & narrow column constraint on /hosting/ and /my-account/ */
body.mlh-hosting-page .wp-site-blocks > header.wp-block-template-part,
body.mlh-hosting-page .wp-site-blocks > footer.wp-block-template-part,
body.mlh-hosting-page .wp-block-post-title,
body.mlh-account-page .wp-site-blocks > header.wp-block-template-part,
body.mlh-account-page .wp-site-blocks > footer.wp-block-template-part {
  display: none !important;
}

html body.mlh-hosting-page .wp-site-blocks,
html body.mlh-hosting-page .wp-site-blocks > main,
html body.mlh-hosting-page .wp-site-blocks .has-global-padding,
html body.mlh-hosting-page .wp-site-blocks .has-global-padding > .alignfull,
html body.mlh-hosting-page .wp-site-blocks .is-layout-constrained > .mlh-storefront,
html body.mlh-hosting-page .wp-block-post-content,
html body.mlh-hosting-page .entry-content,
html body.mlh-hosting-page .mlh-storefront {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: clip;
}

html body.mlh-account-page .wp-site-blocks {
  max-width: 100% !important;
  overflow-x: clip;
}

html body.mlh-account-page .wp-site-blocks > main {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 24px auto 48px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  overflow-x: clip;
}

html body.mlh-account-page .wp-site-blocks .has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.mlh-account-page .wp-site-blocks .has-global-padding > .alignfull,
html body.mlh-account-page .wp-site-blocks .wp-block-group.alignfull,
html body.mlh-account-page .wp-block-post-content,
html body.mlh-account-page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.mlh-account-page .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  font-family: var(--mlh-font);
}

body.mlh-account-page .woocommerce-MyAccount-navigation {
  flex: 0 0 230px;
  width: 230px;
}

body.mlh-account-page .woocommerce-MyAccount-content {
  flex: 1 1 680px;
  min-width: 0;
  width: auto !important;
  float: none !important;
  box-sizing: border-box;
}

/* Shared box-sizing & typography */
.mlh-storefront,
.mlh-storefront *,
.mlh-client-portal,
.mlh-client-portal *,
.mlh-modal-bg,
.mlh-modal-bg *,
.mlh-admin-wrap,
.mlh-admin-wrap * {
  box-sizing: border-box;
  font-family: var(--mlh-font);
}

.mlh-storefront button,
.mlh-client-portal button,
.mlh-storefront input,
.mlh-client-portal input,
.mlh-modal input,
.mlh-modal select,
.mlh-modal button {
  font-family: var(--mlh-font);
}

.mlh-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO SECTION (/hosting/) ===== */
.mlh-hero-band {
  background: radial-gradient(circle at 80% 20%, rgba(229, 37, 33, .22), transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(37, 99, 235, .18), transparent 48%),
              linear-gradient(155deg, #070A22 0%, #0D1238 55%, #121849 100%);
  color: #fff;
  padding: 54px 0 64px;
  text-align: center;
}

.mlh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 18px;
}

.mlh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mlh-red);
  display: inline-block;
}

.mlh-hero-band h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 auto 14px;
  max-width: 840px;
}

.mlh-hero-sub {
  color: #CBD5E1;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 22px;
}

.mlh-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  color: #E2E8F0;
}

.mlh-trust-row span {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 5px 12px;
  border-radius: 999px;
}

.mlh-cycle-toggle-wrap { display: flex; justify-content: center; }
.mlh-cycle-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.mlh-cycle-btn {
  border: 0;
  background: transparent;
  color: #E2E8F0;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}
.mlh-cycle-btn.active {
  background: #fff;
  color: var(--mlh-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.mlh-save-pill {
  background: #10B981;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.mlh-hero-portal-link {
  margin-top: 16px;
}
.mlh-hero-portal-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .18s ease, color .18s ease;
}
.mlh-hero-portal-link a:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.mlh-dash-banner,
.mlh-thankyou-card {
  font-family: var(--mlh-font);
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.mlh-dash-banner.mlh-dash-active,
.mlh-thankyou-card {
  border-color: var(--mlh-navy);
  box-shadow: 0 8px 24px rgba(11, 14, 45, .06);
}
.mlh-dash-banner h4,
.mlh-thankyou-card h3 {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--mlh-navy);
}
.mlh-dash-banner p,
.mlh-thankyou-card p {
  margin: 0;
}
.mlh-dash-pill {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}

/* ===== MAIN BAND & DOMAIN PICKER ===== */
.mlh-main-band {
  background: var(--mlh-bg);
  padding: 40px 0 64px;
}

.mlh-domain-bar {
  background: #fff;
  border: 1px solid var(--mlh-line);
  border-radius: 16px;
  padding: 22px 24px;
  max-width: 780px;
  margin: -68px auto 36px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
  position: relative;
  z-index: 2;
}

.mlh-domain-bar.mlh-has-error {
  border-color: var(--mlh-red);
  box-shadow: 0 0 0 3px rgba(229, 37, 33, .14);
}

.mlh-domain-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mlh-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mlh-red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mlh-domain-bar .mlh-label {
  display: block;
  font-weight: 800;
  font-size: 16px;
  color: var(--mlh-ink);
  margin: 0;
}

.mlh-domain-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.mlh-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--mlh-bg);
  border: 1px solid var(--mlh-line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--mlh-ink);
}

.mlh-mode-pill code,
.mlh-domain-hint code,
.mlh-ip-chip {
  direction: ltr;
  unicode-bidi: isolate;
  background: #EEF2FF;
  color: #1E3A8A;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.mlh-domain-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}

.mlh-domain-input-wrap:focus-within {
  border-color: var(--mlh-navy);
  box-shadow: 0 0 0 3px rgba(11, 14, 45, .1);
}

.mlh-domain-input-wrap input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mlh-ink);
  background: transparent;
  text-align: left;
}

.mlh-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: #F1F5F9;
  border-left: 1px solid #CBD5E1;
  font-weight: 700;
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  flex-shrink: 0;
}

.mlh-inline-err {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mlh-domain-hint {
  font-size: 12px;
  color: var(--mlh-muted);
}

/* ===== 4-COLUMN PRICING GRID ===== */
.mlh-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.mlh-plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mlh-line);
  border-radius: 16px;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mlh-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.mlh-plan-card.mlh-featured {
  border: 2px solid var(--mlh-red);
  box-shadow: 0 16px 36px rgba(229, 37, 33, .12);
}

.mlh-ribbon {
  position: absolute;
  top: -13px;
  inset-inline-end: 18px;
  background: var(--mlh-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.mlh-plan-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--mlh-muted);
  margin-bottom: 4px;
}

.mlh-plan-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--mlh-ink);
}

.mlh-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--mlh-navy);
  margin: 4px 0 4px;
  line-height: 1.2;
}

.mlh-price .mlh-price-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--mlh-muted);
}

.mlh-annual-save {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mlh-specs {
  list-style: none;
  padding: 14px 0 0;
  margin: 12px 0 20px;
  border-top: 1px solid var(--mlh-line);
  font-size: 13px;
  line-height: 1.75;
  color: #334155;
}

.mlh-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mlh-chk {
  color: #10B981;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.mlh-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--mlh-red);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .18s ease;
  min-height: 42px;
}
.mlh-btn-primary:hover { background: var(--mlh-red-hover); }

.mlh-btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #F1F5F9;
  color: var(--mlh-ink) !important;
  border: 1px solid var(--mlh-line);
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
  min-height: 38px;
}
.mlh-btn-sec:hover { background: #E2E8F0; }

.mlh-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--mlh-navy) !important;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 11px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none !important;
  cursor: pointer;
}
.mlh-btn-outline:hover { background: #F8FAFC; border-color: var(--mlh-navy); }

.mlh-btn-block { width: 100%; }
.mlh-btn-danger { color: #b91c1c !important; border-color: #fca5a5 !important; }
.mlh-btn-danger:hover { background: #fee2e2 !important; border-color: #ef4444 !important; }
.mlh-sm { padding: 6px 10px !important; font-size: 12px !important; border-radius: 8px !important; min-height: 34px !important; }

/* ===== FEATURES STRIP ===== */
.mlh-features-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mlh-feature-box {
  background: #fff;
  border: 1px solid var(--mlh-line);
  border-radius: 14px;
  padding: 18px;
}

.mlh-feature-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--mlh-navy);
  margin-bottom: 6px;
}

.mlh-feature-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mlh-muted);
}

/* ===== CLIENT PORTAL (/my-account/my-hosting/) ===== */
.mlh-portal-head, .mlh-admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mlh-portal-head h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--mlh-ink);
}

.mlh-head-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mlh-copy-btn {
  border: 1px solid #CBD5E1;
  background: #fff;
  color: var(--mlh-ink);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.mlh-copy-btn:hover { background: #F1F5F9; }

.mlh-portal-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mlh-pkpi {
  background: var(--mlh-bg);
  border: 1px solid var(--mlh-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.mlh-pkpi span { display: block; font-size: 12px; color: var(--mlh-muted); font-weight: 600; }
.mlh-pkpi strong { font-size: 18px; font-weight: 800; color: var(--mlh-ink); }

.mlh-portal-filter {
  margin-bottom: 16px;
}
.mlh-portal-filter input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.mlh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}

.mlh-site-card {
  background: #fff;
  border: 1px solid var(--mlh-line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mlh-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.mlh-domain-title {
  display: inline-block;
  font-size: 17px;
  font-weight: 800;
  color: var(--mlh-navy) !important;
  text-decoration: none;
  word-break: break-all;
}
.mlh-domain-title:hover { color: var(--mlh-red) !important; }

.mlh-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.mlh-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.mlh-sdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.mlh-ok { background: #DCFCE7; color: #166534; }
.mlh-bad { background: #FEE2E2; color: #991B1B; }
.mlh-warn { background: #FEF3C7; color: #92400E; }
.mlh-plan { background: #DBEAFE; color: #1E40AF; }
.mlh-php { background: #F1F5F9; color: #334155; }

.mlh-billing-strip {
  background: var(--mlh-bg);
  border: 1px solid var(--mlh-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
}
.mlh-billing-strip.mlh-billing-urgent {
  background: #FEF2F2;
  border-color: #FECACA;
}
.mlh-billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mlh-billing-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.mlh-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.mlh-tool-wide { grid-column: 1 / -1; }

.mlh-empty {
  background: var(--mlh-bg);
  border: 1.5px dashed #94A3B8;
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
}
.mlh-empty h4 { margin: 0 0 8px; font-size: 18px; }

/* ===== STAFF ADMIN ===== */
.mlh-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
.mlh-stat { background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px 14px; }
.mlh-stat span { display: block; font-size: 12px; color: #64748b; }
.mlh-stat strong { font-size: 22px; }
.mlh-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; align-items: center; }
.mlh-toolbar input[type=text] { min-width: 240px; padding: 6px 10px; }
.mlh-tab-body { margin-top: 14px; }
.mlh-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== MODALS & TOAST ===== */
.mlh-modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 42, .68); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 99999; }
.mlh-modal { background: #fff; color: var(--mlh-ink); border-radius: 14px; max-width: 620px; width: 100%; padding: 22px; max-height: 90vh; overflow: auto; box-shadow: 0 24px 56px rgba(0, 0, 0, .32); }
.mlh-modal.mlh-modal-wide { max-width: 1040px; }
.mlh-modal h3 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }

/* ===== FILE MANAGER, WEB TERMINAL & SFTP UI ===== */
.mlh-fm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.mlh-fm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; background: #F1F5F9; padding: 7px 12px; border-radius: 8px; font-size: 13px; direction: ltr; margin-bottom: 10px; }
.mlh-fm-crumbs a { font-weight: 700; text-decoration: none; color: #1E40AF; cursor: pointer; }
.mlh-fm-table { width: 100%; border-collapse: collapse; font-size: 13px; direction: ltr; }
.mlh-fm-table th, .mlh-fm-table td { padding: 8px 10px; border-bottom: 1px solid #E2E8F0; text-align: left; }
.mlh-fm-table tr:hover td { background: #F8FAFC; }
.mlh-fm-editor { width: 100%; min-height: 400px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 13px; line-height: 1.5; background: #0F172A; color: #E2E8F0; border: 1px solid #334155; border-radius: 8px; padding: 12px; direction: ltr; tab-size: 2; }
.mlh-tabs-bar { display: flex; gap: 8px; border-bottom: 1px solid #CBD5E1; margin-bottom: 14px; padding-bottom: 8px; }
.mlh-tab-pill { border: 1px solid #CBD5E1; background: #F8FAFC; color: #0F172A; padding: 7px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 13px; }
.mlh-tab-pill.active { background: #0B0E2D; color: #fff; border-color: #0B0E2D; }
.mlh-term-box { background: #0B1120; color: #E2E8F0; border-radius: 10px; padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 12.5px; direction: ltr; }
.mlh-term-out { height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-word; line-height: 1.5; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #1E293B; }
.mlh-term-in-row { display: flex; align-items: center; gap: 8px; }
.mlh-term-prompt { color: #34D399; font-weight: 700; white-space: nowrap; }
.mlh-term-input { flex: 1; background: #0F172A !important; color: #fff !important; border: 1px solid #334155 !important; border-radius: 6px; padding: 8px 10px !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
.mlh-term-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; direction: ltr; }
.mlh-sftp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; direction: ltr; }
.mlh-sftp-kv { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 8px; padding: 10px 12px; }
.mlh-sftp-kv label { display: block; font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; margin-bottom: 4px; }
.mlh-sftp-val { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; }
.mlh-sftp-val button { flex-shrink: 0; white-space: nowrap; }
.mlh-sec-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; border: 1px solid #cbd5e1; margin: 12px 0; background: #f8fafc; }
.mlh-sec-owner { background: #ecfdf5; border-color: #6ee7b7; }
.mlh-sec-staff { background: #eff6ff; border-color: #93c5fd; }
.mlh-lock-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mlh-lock-core { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.mlh-lock-on { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.mlh-lock-off { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.mlh-quarantine-box { background: #fffbeb; border: 1px solid #f59e0b; border-radius: 10px; padding: 12px 16px; margin: 12px 0; }
.mlh-quarantine-box ul { margin: 8px 0 0 18px; }
.mlh-quarantine-box li { margin-bottom: 6px; }
.mlh-sev-critical { background: #fee2e2; color: #991b1b; }
.mlh-sev-warning { background: #fef3c7; color: #92400e; }
.mlh-health-strip { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 13px; }
.mlh-lock-notice { background: #fffbeb; border: 1px solid #f59e0b; border-left: 4px solid #d97706; border-radius: 8px; padding: 12px 16px; color: #78350f; margin: 12px 0; font-size: 13px; }
.mlh-form-row { margin-bottom: 12px; }
.mlh-form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.mlh-form-row input, .mlh-form-row select { width: 100%; padding: 9px 12px; border: 1px solid #CBD5E1; border-radius: 8px; }
.mlh-user-results { border: 1px solid #CBD5E1; border-radius: 8px; max-height: 150px; overflow: auto; margin-top: 4px; background: #fff; }
.mlh-user-opt { padding: 7px 10px; cursor: pointer; font-size: 12px; border-bottom: 1px solid #f1f5f9; }
.mlh-user-opt:hover { background: #eff6ff; }
.mlh-modal pre { background: #0f172a; color: #f8fafc; padding: 10px; border-radius: 8px; font-size: 12px; overflow: auto; direction: ltr; }
.mlh-toast { position: fixed; bottom: 20px; right: 20px; background: var(--mlh-navy); color: #fff; padding: 11px 18px; border-radius: 10px; border-left: 4px solid #10b981; z-index: 100000; max-width: 440px; font-size: 13px; font-weight: 700; box-shadow: 0 10px 28px rgba(0,0,0,.25); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1120px) {
  .mlh-grid-4,
  .mlh-features-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.mlh-account-page .woocommerce-MyAccount-navigation,
  body.mlh-account-page .woocommerce-MyAccount-content {
    flex: 1 1 100%;
    width: 100% !important;
  }
  body.mlh-account-page .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    padding: 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.mlh-account-page .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }
  body.mlh-account-page .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto !important;
  }
  body.mlh-account-page .woocommerce-MyAccount-navigation li a {
    padding: 7px 14px !important;
    border: 1px solid var(--mlh-line) !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: #fff !important;
  }
  html body.mlsf-on.mlh-account-page .woocommerce-MyAccount-navigation li.is-active a,
  html body.mlh-account-page .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--mlh-red) !important;
    color: #fff !important;
    border-color: var(--mlh-red) !important;
  }
}

@media (max-width: 640px) {
  .mlh-container { padding: 0 14px; }
  .mlh-hero-band { padding: 38px 0 58px; }
  .mlh-domain-bar { padding: 16px; margin-top: -44px; margin-bottom: 24px; }
  .mlh-grid-4,
  .mlh-features-band,
  .mlh-cards,
  .mlh-portal-kpis {
    grid-template-columns: 1fr;
  }
  .mlh-domain-input-wrap {
    flex-direction: column;
  }
  .mlh-suffix {
    border-left: 0;
    border-top: 1px solid #CBD5E1;
    padding: 8px 12px;
    justify-content: flex-start;
  }
  body.mlh-account-page .wp-site-blocks > main {
    padding: 0 12px !important;
  }
}
