:root {
  --ml-primary: #465df2;
  --ml-primary-dark: #3447d4;
  --ml-primary-soft: #edf1ff;
  --ml-ink: #0d1833;
  --ml-text: #33415f;
  --ml-muted: #71809d;
  --ml-bg: #f3f7ff;
  --ml-surface: #ffffff;
  --ml-border: #dfe6f3;
  --ml-success: #20bf6b;
  --ml-warning: #f5a524;
  --ml-danger: #e5484d;
  --ml-radius-sm: 10px;
  --ml-radius: 16px;
  --ml-radius-lg: 24px;
  --ml-shadow: 0 16px 45px rgba(45, 65, 125, 0.10);
  --ml-shadow-sm: 0 8px 24px rgba(45, 65, 125, 0.08);
}

html { scroll-behavior: smooth; }

.body {
  background: var(--ml-bg) !important;
  color: var(--ml-text) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.6;
}

.body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(70, 93, 242, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8faff 0%, var(--ml-bg) 48%, #eef4ff 100%);
}

.body h1, .body h2, .body h3, .body h4, .body h5, .body h6,
.body .card-title {
  color: var(--ml-ink);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.body a { color: var(--ml-primary); }
.body a:hover { color: var(--ml-primary-dark); text-decoration: none; }

.body .container-fluid-spacious {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}

.body .card,
.body .component_card .card,
.body .well {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--ml-border) !important;
  border-radius: var(--ml-radius-lg) !important;
  box-shadow: var(--ml-shadow-sm) !important;
}

.body .card-body { padding: clamp(20px, 3vw, 34px); }

.body .form-control,
.body .custom-select,
.body .select2-container--default .select2-selection--single,
.body textarea,
.body input[type="file"] {
  min-height: 50px;
  color: var(--ml-ink) !important;
  background: #fbfcff !important;
  border: 1px solid var(--ml-border) !important;
  border-radius: var(--ml-radius-sm) !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.body textarea { min-height: 130px; }

.body .form-control:focus,
.body textarea:focus,
.body .select2-container--focus .select2-selection--single {
  background: var(--ml-surface) !important;
  border-color: var(--ml-primary) !important;
  box-shadow: 0 0 0 4px rgba(70, 93, 242, 0.12) !important;
}

.body .btn,
.body button {
  border-radius: var(--ml-radius-sm);
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.body .btn:hover { transform: translateY(-1px); }

.body .btn-primary,
.body .btn-big-primary,
.body .component_button_submit .btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark)) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(70, 93, 242, 0.24) !important;
}

.body .btn-default,
.body .btn-secondary {
  color: var(--ml-primary) !important;
  background: var(--ml-surface) !important;
  border: 1px solid var(--ml-primary) !important;
}

.body .badge {
  border-radius: 999px;
  font-weight: 700;
}

.body .alert {
  border: 0;
  border-radius: var(--ml-radius);
}

.body .table {
  color: var(--ml-text);
  background: var(--ml-surface);
  border-radius: var(--ml-radius);
  overflow: hidden;
}

.body .table thead th {
  color: var(--ml-ink);
  background: var(--ml-primary-soft);
  border: 0;
  font-weight: 750;
}

.body .table td { border-color: var(--ml-border); vertical-align: middle; }

.body .component-navbar__wrapper,
.body .component-navbar__navbar-private,
.body .sidebar-block__top {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--ml-border);
  box-shadow: 0 8px 30px rgba(45, 65, 125, 0.07);
  backdrop-filter: blur(16px);
}

.body .component-navbar-logo img,
.body .component-navbar-brand img { max-height: 48px; width: auto; object-fit: contain; }

.body .component-navbar-nav-link,
.body .component-sidebar__menu-item-link {
  color: var(--ml-text) !important;
  font-weight: 650;
  border-radius: 12px;
}

.body .component-navbar-nav-link:hover,
.body .component-navbar-nav-link-active__navbar-private,
.body .component-navbar-nav-link-active__navbar-public,
.body .component-sidebar__menu-item-active .component-sidebar__menu-item-link {
  color: var(--ml-primary) !important;
  background: var(--ml-primary-soft) !important;
}

.body .component-sidebar {
  background: var(--ml-surface) !important;
  border-right: 1px solid var(--ml-border);
  box-shadow: 12px 0 35px rgba(45, 65, 125, 0.06);
}

.body .dropdown-menu,
.body .balance-dropdown__container,
.body .navbar-dropdown__container {
  background: var(--ml-surface) !important;
  border: 1px solid var(--ml-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--ml-shadow) !important;
}

.body .pagination > li > a,
.body .pagination > li > span {
  color: var(--ml-primary);
  border-color: var(--ml-border);
}

.body .pagination > .active > a,
.body .pagination > .active > span {
  color: #fff;
  background: var(--ml-primary);
  border-color: var(--ml-primary);
}

.marklab-page { padding: 32px 0 64px; }

@media (max-width: 991px) {
  .body .container-fluid-spacious { width: min(100% - 24px, 1320px); }
  .body .component-navbar-collapse { gap: 8px; }
  .body .component-sidebar { box-shadow: none; }
}

@media (max-width: 575px) {
  .body .card-body { padding: 18px; }
  .body .btn { min-height: 44px; }
  .body .table-responsive { border: 0; border-radius: var(--ml-radius); }
  .marklab-page { padding-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Public pages */
.ml-public { overflow: hidden; }
.ml-public-page { padding: clamp(42px, 7vw, 86px) 0 80px; }
.ml-section { padding: clamp(54px, 8vw, 96px) 0; }
.ml-section--tint { background: rgba(232, 239, 255, 0.62); border-block: 1px solid rgba(206, 218, 245, 0.7); }

.ml-hero { padding: clamp(50px, 8vw, 110px) 0 78px; position: relative; }
.ml-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -180px; top: -100px; border-radius: 50%; background: rgba(70, 93, 242, .08); filter: blur(2px); z-index: -1; }
.ml-hero__grid, .ml-auth-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(34px, 6vw, 84px); align-items: center; }
.ml-hero__content h1, .ml-auth-intro h1 { margin: 16px 0 22px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; max-width: 820px; }
.ml-lead, .ml-auth-intro > p { max-width: 700px; color: var(--ml-text); font-size: clamp(17px, 2vw, 21px); }
.ml-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ml-primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ml-trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; color: var(--ml-text); font-weight: 650; }
.ml-trust-row i, .ml-auth-points i { color: var(--ml-primary); margin-right: 6px; }

.ml-auth-card { width: 100%; max-width: 560px; margin-inline: auto; }
.ml-auth-card__heading { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.ml-auth-card__heading h2, .ml-auth-card h1, .ml-auth-card h2 { margin: 0 0 4px; }
.ml-auth-card__heading p, .ml-muted { margin: 0; color: var(--ml-muted) !important; }
.ml-icon-tile { width: 50px; height: 50px; flex: 0 0 50px; display: inline-flex; align-items: center; justify-content: center; color: var(--ml-primary); background: var(--ml-primary-soft); border-radius: 14px; }
.ml-label-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.ml-checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; cursor: pointer; }
.ml-checkbox input { margin-top: 5px; accent-color: var(--ml-primary); }
.ml-auth-switch { margin: 18px 0 0; text-align: center; color: var(--ml-muted); }
.ml-google-login hr { border-color: var(--ml-border); }
.ml-captcha { overflow-x: auto; }

.ml-video-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); overflow: hidden; }
.ml-video-frame { min-height: 360px; background: #10182d; }
.ml-video-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 0; }
.ml-video-copy { padding: clamp(28px, 5vw, 54px); align-self: center; }
.ml-video-copy h2 { margin: 12px 0 18px; font-size: clamp(28px, 4vw, 42px); }
.ml-highlight { padding: 14px 16px; color: var(--ml-primary-dark); background: var(--ml-primary-soft); border-radius: 12px; font-weight: 750; }
.ml-benefit-list { display: grid; gap: 12px; margin-top: 20px; }
.ml-benefit-list > div { display: flex; gap: 10px; align-items: flex-start; }
.ml-benefit-list i { color: var(--ml-success); margin-top: 5px; }

.ml-section-heading, .ml-page-heading { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.ml-section-heading h2, .ml-page-heading h1 { margin: 10px 0 14px; font-size: clamp(32px, 5vw, 52px); line-height: 1.12; }
.ml-section-heading p, .ml-page-heading p, .ml-section-footer { color: var(--ml-muted); font-size: 17px; }
.ml-section-footer { max-width: 900px; margin: 30px auto 0; text-align: center; }

.ml-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ml-feature-card { min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 24px; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: var(--ml-radius); box-shadow: var(--ml-shadow-sm); }
.ml-service-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ml-service-pills span { display: flex; gap: 10px; align-items: center; min-height: 64px; padding: 14px 18px; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: 14px; color: var(--ml-ink); font-weight: 700; }
.ml-service-pills i { color: var(--ml-primary); }

.ml-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ml-step { position: relative; padding: 28px; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow-sm); }
.ml-step > span { position: absolute; right: 20px; top: 16px; color: #dbe2f4; font-size: 42px; font-weight: 850; }
.ml-step h3 { margin: 20px 0 10px; font-size: 20px; }
.ml-step p { margin: 0; color: var(--ml-muted); }

.ml-faq-list { width: min(100%, 960px); margin-inline: auto; display: grid; gap: 14px; }
.ml-faq { background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: var(--ml-radius); box-shadow: var(--ml-shadow-sm); overflow: hidden; }
.ml-faq__toggle { width: 100%; min-height: 72px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 24px; color: var(--ml-ink); background: transparent; border: 0; text-align: left; font-size: 17px; }
.ml-faq__toggle i { color: var(--ml-primary); transition: transform .2s ease; }
.ml-faq__answer { display: none; padding: 0 24px 20px; color: var(--ml-muted); }
.ml-faq__answer p { margin: 0; }
.ml-faq.is-open .ml-faq__answer { display: block; }
.ml-faq.is-open .ml-faq__toggle i { transform: rotate(180deg); }

.ml-auth-page { min-height: 70vh; padding: clamp(48px, 8vw, 96px) 0; }
.ml-auth-intro { align-self: center; }
.ml-auth-points { display: grid; gap: 12px; margin: 26px 0; font-weight: 700; }
.ml-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ml-auth-single { width: min(100% - 30px, 600px); }

.ml-prose { color: var(--ml-text); font-size: 16px; line-height: 1.75; }
.ml-prose h1, .ml-prose h2, .ml-prose h3 { margin-top: 1.5em; }
.ml-prose img, .ml-managed-content img { max-width: 100%; height: auto; }
.ml-prose-divider { height: 1px; margin: 30px 0; background: var(--ml-border); }
.ml-managed-content > :last-child { margin-bottom: 0; }

.ml-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ml-blog-card { overflow: hidden; }
.ml-blog-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ml-primary-soft); }
.ml-blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ml-blog-card:hover .ml-blog-card__image img { transform: scale(1.035); }
.ml-blog-card h2 { margin: 10px 0 12px; font-size: 23px; }
.ml-blog-card h2 a { color: var(--ml-ink); }
.ml-blog-card__excerpt { max-height: 72px; overflow: hidden; color: var(--ml-muted); }
.ml-read-more, .ml-back-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 750; }
.ml-empty { grid-column: 1 / -1; text-align: center; }
.ml-empty i { color: var(--ml-primary); font-size: 38px; }
.ml-article-container { width: min(100% - 30px, 960px); }
.ml-article { margin-top: 22px; }
.ml-article header { margin-bottom: 26px; text-align: center; }
.ml-article header h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 54px); }
.ml-article__image { width: 100%; max-height: 520px; margin-bottom: 30px; border-radius: var(--ml-radius); object-fit: cover; }

.ml-service-toolbar { position: sticky; top: 12px; z-index: 20; margin-bottom: 22px; }
.ml-toolbar-grid { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(300px, 1.3fr); gap: 14px; }
.ml-toolbar-grid:has(.dropdown-currency) { grid-template-columns: minmax(190px, .7fr) minmax(150px, .4fr) minmax(280px, 1.2fr); }
.ml-toolbar-grid .btn { min-height: 50px; }
.ml-category-menu { max-height: 360px; overflow-y: auto; }
.ml-services-table { overflow: hidden; }
.ml-services-table .table { margin: 0; border-radius: 0; }
.ml-services-table .table th, .ml-services-table .table td { padding: 15px 14px; }
.ml-category-title { display: flex; gap: 10px; align-items: center; color: var(--ml-primary-dark); }
.ml-category-title i { color: var(--ml-primary); }
.ml-service-id, .ml-rate, .ml-limits { display: inline-flex; padding: 5px 9px; border-radius: 8px; font-weight: 750; white-space: nowrap; }
.ml-service-id { color: var(--ml-primary); background: var(--ml-primary-soft); }
.ml-rate { color: #08783f; background: #e8f8ef; }
.ml-limits { color: #9b4d00; background: #fff3df; }
.ml-copy-button { min-height: 28px; padding: 4px 6px; color: var(--ml-muted); background: transparent; border: 0; }
.ml-services-table .modal-content { border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); overflow: hidden; }
.ml-empty-inline { padding: 30px; color: var(--ml-muted); text-align: center; }

@media (max-width: 991px) {
  .ml-hero__grid, .ml-auth-layout, .ml-video-card { grid-template-columns: 1fr; }
  .ml-hero__content { text-align: center; }
  .ml-lead { margin-inline: auto; }
  .ml-trust-row { justify-content: center; }
  .ml-feature-grid, .ml-service-pills, .ml-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-toolbar-grid, .ml-toolbar-grid:has(.dropdown-currency) { grid-template-columns: 1fr; }
  .ml-service-toolbar { position: static; }
}

@media (max-width: 575px) {
  .ml-public-page { padding-top: 34px; }
  .ml-hero { padding-top: 42px; }
  .ml-hero__content h1, .ml-auth-intro h1 { font-size: 40px; }
  .ml-feature-grid, .ml-service-pills, .ml-steps, .ml-blog-grid, .ml-form-grid { grid-template-columns: 1fr; }
  .ml-video-frame, .ml-video-frame iframe { min-height: 220px; }
  .ml-faq__toggle { padding: 16px 18px; }
  .ml-faq__answer { padding: 0 18px 18px; }
  .ml-services-table .table thead { display: none; }
  .ml-services-table .table tr:not(.services-list-category-title) { display: block; padding: 12px; border-bottom: 1px solid var(--ml-border); }
  .ml-services-table .table tr:not(.services-list-category-title) td { display: flex; justify-content: space-between; gap: 16px; padding: 9px 4px; border: 0; text-align: right; }
  .ml-services-table .table tr:not(.services-list-category-title) td::before { content: attr(data-label); color: var(--ml-muted); font-weight: 700; text-align: left; }
  .ml-services-table .services-list-category-title td { padding: 16px; }
}

/* Authenticated dashboard shell */
.ml-dashboard-body { background: #f4f7fc !important; }
.ml-dashboard-body .wrapper-sidebar-navbar { min-height: 100vh; }
.ml-dashboard-body .wrapper-content { padding-top: 88px; padding-left: 286px; transition: padding-left .2s ease; }
.ml-dashboard-body .wrapper-content__body { min-height: calc(100vh - 150px); }
.ml-dashboard-body .wrapper-content__body > div,
.ml-dashboard-body .wrapper-content__body > section { position: relative; }

.ml-dashboard-body #block_82 .sidebar-block__top {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 270px !important;
  width: auto !important;
  height: 72px;
  z-index: 1040 !important;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--ml-border);
  box-shadow: 0 7px 24px rgba(43, 60, 105, .06);
}

.ml-dashboard-body #block_82 .component-navbar-private__wrapper,
.ml-dashboard-body #block_82 .component-navbar__navbar-private,
.ml-dashboard-body #block_82 .navbar { width: 100%; height: 100% !important; min-height: 0 !important; background: transparent !important; border: 0; box-shadow: none; }
.ml-dashboard-body #block_82 .navbar-private__header { display: none; }
.ml-dashboard-body #block_82 .navbar-collapse { display: flex !important; width: 100%; }
.ml-dashboard-body #block_82 .component-navbar-collapse { width: 100%; display: flex !important; justify-content: flex-end; align-items: center; gap: 12px; padding: 0; }
.ml-dashboard-body #block_82 .navbar-nav-sidebar-menu { display: none; }
.ml-dashboard-body #block_82 .navbar-nav { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; }
.ml-dashboard-body #block_82 .component-navbar-private-nav-item { height: auto; min-height: 0; }
.ml-dashboard-body #block_82 .component-navbar-nav-link { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 14px; }

.ml-dashboard-body #block_82 .balance-dropdown__name {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--ml-primary-dark);
  background: var(--ml-primary-soft);
  border: 1px solid #dbe2ff;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.ml-dashboard-body #block_82 .balance-dropdown__name::before { content: "Wallet"; margin-right: 8px; color: var(--ml-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ml-dashboard-body #block_82 .balance-dropdown__container { right: 0; left: auto; min-width: 230px; max-height: 380px; overflow-y: auto; }

.ml-dashboard-body #block_82 .component-sidebar_wrapper {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  z-index: 1050;
  width: 270px !important;
  height: 100vh;
  background: var(--ml-surface);
  border-right: 1px solid var(--ml-border);
  box-shadow: 12px 0 32px rgba(43, 60, 105, .06);
}
.ml-dashboard-body #block_82 .component-sidebar {
  position: static !important;
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 14px 20px;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
.ml-dashboard-body #block_82 .component-sidebar__menu-logo {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid var(--ml-border);
}
.ml-dashboard-body #block_82 .component-navbar-logo a { display: flex; align-items: center; color: var(--ml-ink); }
.ml-dashboard-body #block_82 .component-navbar-logo img { max-width: 205px !important; max-height: 52px; }
.ml-dashboard-body #block_82 .component-sidebar__menu { flex: 1; display: block; margin: 14px 0 0; padding: 0 4px 16px; overflow-y: auto !important; scrollbar-width: thin; scrollbar-color: #ccd6ef transparent; }
.ml-dashboard-body #block_82 .component-sidebar__menu-item { margin: 4px 0; list-style: none; }
.ml-dashboard-body #block_82 .component-sidebar__menu-item-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #55627d !important;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.ml-dashboard-body #block_82 .component-sidebar__menu-item-link:hover { color: var(--ml-primary) !important; background: #f2f5ff !important; transform: translateX(2px); }
.ml-dashboard-body #block_82 .component-sidebar__menu-item-active .component-sidebar__menu-item-link { color: #fff !important; background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark)) !important; box-shadow: 0 9px 20px rgba(70, 93, 242, .22); }
.ml-dashboard-body #block_82 .sidebar-block__menu-item-icon { width: 25px; display: inline-flex; justify-content: center; font-size: 18px; }
.ml-dashboard-body #block_82 .component-sidebar__menu-item-link .badge { margin-left: auto !important; padding: 4px 7px; color: #8c5200; background: #ffdf8b !important; }

.ml-dashboard-body .wrapper-content__body .container,
.ml-dashboard-body .wrapper-content__body .container-fluid { max-width: 1480px; padding-inline: clamp(16px, 2.5vw, 36px); }
.ml-dashboard-body .wrapper-content__body .card { margin-bottom: 20px; }
.ml-dashboard-body .wrapper-content__footer { margin-left: 270px; color: var(--ml-muted); background: transparent; }
.ml-dashboard-body .component-footer__public { background: transparent !important; }

.ml-dashboard-body .nav-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: 14px; }
.ml-dashboard-body .nav-tabs > li { margin: 0; }
.ml-dashboard-body .nav-tabs > li > a { margin: 0; color: var(--ml-muted); border: 0 !important; border-radius: 10px; font-weight: 700; }
.ml-dashboard-body .nav-tabs > li.active > a,
.ml-dashboard-body .nav-tabs > li > a:hover { color: var(--ml-primary); background: var(--ml-primary-soft); }

.ml-dashboard-body .panel,
.ml-dashboard-body .modal-content {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius-lg);
  box-shadow: var(--ml-shadow);
}
.ml-dashboard-body .panel-heading,
.ml-dashboard-body .modal-header { color: var(--ml-ink); background: #fafbff; border-bottom: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg) var(--ml-radius-lg) 0 0; }

.ml-dashboard-body .no-data,
.ml-dashboard-body .empty-state,
.ml-dashboard-body .table-empty { padding: 42px 24px; color: var(--ml-muted); text-align: center; }
.ml-dashboard-body .loading,
.ml-dashboard-body .spinner-border { color: var(--ml-primary); }

.ml-support-shortcut {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999998;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark));
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(52, 71, 212, .30);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform .18s ease, bottom .2s ease, left .2s ease, right .2s ease;
}
.ml-support-shortcut:hover { color: #fff !important; transform: translateY(-2px); }
.ml-support-shortcut__icon { display: inline-flex; font-size: 22px; }
.ml-support-shortcut__badge { position: absolute; top: -7px; right: -5px; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; color: #fff; background: var(--ml-danger); border: 2px solid #fff; border-radius: 999px; font-size: 11px; }

@media (max-width: 991px) {
  .ml-dashboard-body .wrapper-content { padding-top: 82px; padding-left: 0; }
  .ml-dashboard-body #block_82 .component-sidebar_wrapper { display: none; }
  .ml-dashboard-body #block_82 .sidebar-block__top { left: 0 !important; height: auto; min-height: 68px; padding: 0 14px; }
  .ml-dashboard-body #block_82 .navbar-private__header { width: 100%; min-height: 68px; display: flex; align-items: center; }
  .ml-dashboard-body #block_82 .navbar-toggler { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--ml-ink); background: var(--ml-primary-soft); border-radius: 12px; }
  .ml-dashboard-body #block_82 .navbar-collapse:not(.show) { display: none !important; }
  .ml-dashboard-body #block_82 .navbar-collapse.show { display: block !important; padding: 8px 0 18px; }
  .ml-dashboard-body #block_82 .component-navbar-collapse { display: block !important; max-height: calc(100vh - 88px); overflow-y: auto; }
  .ml-dashboard-body #block_82 .navbar-nav-sidebar-menu { display: block; }
  .ml-dashboard-body #block_82 .navbar-nav { display: block; }
  .ml-dashboard-body #block_82 .component-navbar-nav-link { width: 100%; margin: 3px 0; }
  .ml-dashboard-body #block_82 .navbar-nav-currencies { margin-top: 8px; }
  .ml-dashboard-body #block_82 .balance-dropdown__name { width: 100%; justify-content: space-between; }
  .ml-dashboard-body #block_82 .balance-dropdown__container { position: static; width: 100%; }
  .ml-dashboard-body .wrapper-content__footer { margin-left: 0; }
}

@media (max-width: 576px) {
  .ml-dashboard-body .wrapper-content { padding-top: 74px; }
  .ml-dashboard-body .wrapper-content__body .container,
  .ml-dashboard-body .wrapper-content__body .container-fluid { padding-inline: 12px; }
  .ml-support-shortcut { right: 14px; bottom: 14px; width: 54px; height: 54px; min-height: 54px; justify-content: center; padding: 0; }
  .ml-support-shortcut__text { display: none; }
}

/* Phase 4: authenticated commerce workflows */
.ml-workflow-page { padding: clamp(24px, 4vw, 52px) 0 64px; }
.ml-workflow-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ml-workflow-header h1 { margin: 7px 0 8px; color: var(--ml-ink); font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.ml-workflow-header p { max-width: 720px; margin: 0; color: var(--ml-muted); font-size: 16px; }
.ml-account-summary { min-width: 210px; display: grid; gap: 5px; padding: 16px 19px; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: 16px; box-shadow: var(--ml-shadow); }
.ml-account-summary span { color: var(--ml-muted); font-size: 13px; }
.ml-account-summary strong { color: var(--ml-ink); font-size: 21px; }
.ml-workflow-card, .ml-news-card, .ml-help-card, .ml-orders-card, .ml-payment-history, .ml-video-guide { overflow: hidden; border: 1px solid var(--ml-border) !important; border-radius: var(--ml-radius-lg) !important; box-shadow: var(--ml-shadow) !important; }
.ml-workflow-card .card-body, .ml-help-card .card-body { padding: clamp(22px, 3vw, 34px); }
.ml-workflow-page label { margin-bottom: 9px; color: var(--ml-ink); font-size: 14px; font-weight: 750; }
.ml-workflow-page .form-group { margin-bottom: 22px; }
.ml-workflow-page .form-control, .ml-workflow-page .select2-selection { min-height: 52px; color: var(--ml-ink); background: #fbfcff; border: 1px solid #dce2f2; border-radius: 12px; box-shadow: none; }
.ml-workflow-page textarea.form-control { min-height: 190px; padding: 16px; }
.ml-workflow-page .form-control:focus { background: #fff; border-color: var(--ml-primary); box-shadow: 0 0 0 4px rgba(76, 96, 245, .1); }
.ml-charge-field { padding: 16px; background: var(--ml-primary-soft); border: 1px solid #dce3ff; border-radius: 14px; }
.ml-charge-field .form-control { color: var(--ml-primary-dark); background: #fff; font-size: 18px; font-weight: 800; }
.order-submit-btn__content { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.order-submit-btn.is-loading { pointer-events: none; opacity: .78; }
.order-submit-btn__spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: ml-spin .7s linear infinite; }
@keyframes ml-spin { to { transform: rotate(360deg); } }
.ml-news-card .card-header, .ml-payment-history .card-header { padding: 20px 24px; background: #fafbff; border-bottom: 1px solid var(--ml-border); }
.ml-news-card h2, .ml-payment-history h2, .ml-help-card h2 { margin: 0; color: var(--ml-ink); font-size: 19px; font-weight: 800; }
.ml-news-scroll { max-height: 570px; overflow-y: auto; padding: 8px 24px; }
.ml-news-item { padding: 18px 0; border-bottom: 1px solid var(--ml-border); }
.ml-news-item:last-child { border-bottom: 0; }
.ml-news-item time { display: block; margin-bottom: 8px; color: var(--ml-primary); font-size: 12px; font-weight: 750; }
.ml-news-item h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--ml-ink); font-size: 16px; font-weight: 800; }
.ml-news-item h3 img { width: 28px; height: 28px; object-fit: contain; }
.ml-news-item div { color: var(--ml-muted); line-height: 1.65; }
.ml-video-guide { margin-top: 30px; text-align: center; }
.ml-video-guide .card-body { padding: clamp(24px, 4vw, 42px); }
.ml-section-heading { max-width: 760px; margin: 0 auto 24px; }
.ml-section-heading h2 { margin: 7px 0; color: var(--ml-ink); font-size: clamp(25px, 3vw, 34px); font-weight: 800; }
.ml-section-heading p { color: var(--ml-muted); }
.ml-video-frame { position: relative; max-width: 900px; margin: auto; overflow: hidden; aspect-ratio: 16/9; background: #0d1428; border-radius: 18px; box-shadow: 0 22px 45px rgba(25,37,79,.18); }
.ml-video-frame--portrait { max-width: 430px; aspect-ratio: 4/5; }
.ml-video-frame iframe { width: 100%; height: 100%; border: 0; }
.ml-format-example { margin-bottom: 10px; padding: 12px 15px; color: var(--ml-primary-dark); background: var(--ml-primary-soft); border-radius: 10px; }
.ml-mass-input { min-height: 310px !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ml-icon-tile { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--ml-primary); background: var(--ml-primary-soft); border-radius: 14px; font-size: 20px; }
.ml-help-card ol { margin: 18px 0 0; padding-left: 20px; color: var(--ml-muted); }
.ml-help-card li { padding: 6px 0; line-height: 1.55; }
.ml-orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--ml-border); }
.ml-status-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.ml-status-tabs a { padding: 9px 13px; color: var(--ml-muted); border-radius: 9px; font-size: 13px; font-weight: 750; text-decoration: none; }
.ml-status-tabs a:hover, .ml-status-tabs a.active { color: var(--ml-primary-dark); background: var(--ml-primary-soft); }
.ml-order-search { width: min(100%, 310px); flex: 0 0 auto; }
.ml-order-search .form-control { min-height: 44px; }
.ml-orders-table { margin: 0; }
.ml-orders-table th { white-space: nowrap; color: var(--ml-muted); background: #fafbff; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ml-orders-table td { vertical-align: middle !important; color: var(--ml-ink); }
.ml-order-id { font-weight: 800; }
.ml-order-link, .ml-service-name { display: block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-source-badge, .ml-status { display: inline-flex; margin-top: 5px; padding: 5px 8px; border-radius: 999px; color: var(--ml-primary-dark); background: var(--ml-primary-soft); font-size: 11px; font-weight: 800; }
.ml-status--completed { color: #11764c; background: #e7f8f0; }.ml-status--canceled, .ml-status--failed { color: #a43a42; background: #ffedef; }.ml-status--pending, .ml-status--processing, .ml-status--in-progress { color: #8b6200; background: #fff5d6; }
.ml-order-actions { display: flex; gap: 6px; }
.ml-pagination-wrap { padding: 18px 22px; border-top: 1px solid var(--ml-border); }
.ml-pagination-wrap .pagination { margin: 0; display: flex; gap: 6px; }
.ml-pagination-wrap .pagination a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--ml-muted); border: 1px solid var(--ml-border); border-radius: 9px; text-decoration: none; }
.ml-pagination-wrap .pagination .active a { color: #fff; background: var(--ml-primary); border-color: var(--ml-primary); }
.ml-empty-inline i, .ml-empty-inline strong, .ml-empty-inline span { display: block; margin: 5px auto; }
.ml-empty-inline i { color: var(--ml-primary); font-size: 28px; }

@media (max-width: 1199px) { .ml-workflow-page .col-xl-5 { margin-top: 22px; } .ml-orders-toolbar { align-items: stretch; flex-direction: column; } .ml-order-search { width: 100%; } }
@media (max-width: 767px) { .ml-workflow-header { align-items: stretch; flex-direction: column; } .ml-account-summary { min-width: 0; } .ml-workflow-page { padding-top: 20px; } .ml-status-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; } .ml-status-tabs a { white-space: nowrap; } }

/* Phase 5: support, account and developer experience */
.ml-card-title { margin: 0 0 24px; color: var(--ml-ink); font-size: 20px; font-weight: 800; }
.ml-card-title i { margin-right: 8px; color: var(--ml-primary); }
.ml-tickets-card { overflow: hidden; border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-ticket-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ml-ink); font-weight: 650; }
.ml-ticket-link.is-unread { color: var(--ml-primary-dark); font-weight: 800; }
.ml-ticket-link span { padding: 4px 7px; color: #fff; background: var(--ml-primary); border-radius: 999px; font-size: 10px; text-transform: uppercase; }
.ml-file-input { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; opacity: 0; pointer-events: none; }
.ml-file-field { min-height: 92px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: var(--ml-primary) !important; background: #fbfcff; border: 1px dashed #aebaf2; border-radius: 13px; cursor: pointer; }
.ml-file-field i { font-size: 23px; }
.ml-ticket-shell { max-width: 1120px; margin: auto; }
.ml-ticket-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ml-ticket-header h1 { margin: 12px 0 0; color: var(--ml-ink); font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.ml-back-link { color: var(--ml-muted); font-size: 13px; font-weight: 700; }
.ml-back-link i { margin-right: 6px; }
.ml-chat-card { overflow: hidden; background: var(--ml-surface); border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-chat-conversation { min-height: 340px; max-height: min(62vh, 680px); overflow-y: auto; padding: clamp(18px, 3vw, 34px); background: #f7f9ff; overscroll-behavior: contain; scroll-behavior: smooth; }
.ml-chat-message { max-width: 78%; margin: 0 0 22px; }
.ml-chat-message--customer { margin-left: auto; }
.ml-chat-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 5px 7px; color: var(--ml-muted); font-size: 12px; }
.ml-chat-meta strong { color: var(--ml-ink); font-size: 13px; }
.ml-chat-bubble { padding: 14px 17px; color: var(--ml-ink); background: #fff; border: 1px solid var(--ml-border); border-radius: 5px 16px 16px 16px; box-shadow: 0 5px 15px rgba(28,42,82,.06); line-height: 1.65; overflow-wrap: anywhere; }
.ml-chat-message--customer .ml-chat-bubble { color: #fff; background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark)); border: 0; border-radius: 16px 5px 16px 16px; }
.ml-chat-attachments { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.ml-chat-attachments a { padding: 8px 10px; color: var(--ml-primary-dark); background: #fff; border: 1px solid var(--ml-border); border-radius: 9px; font-size: 12px; text-decoration: none; }
.ml-chat-attachments small { color: var(--ml-muted); }
.ml-ticket-composer { padding: 22px; background: #fff; border-top: 1px solid var(--ml-border); }
.ml-ticket-composer textarea.form-control { min-height: 110px; }
.ml-composer-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ml-attach-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: var(--ml-primary) !important; background: var(--ml-primary-soft); border-radius: 9px; cursor: pointer; }
.ml-composer-actions small { display: block; color: var(--ml-muted); font-size: 11px; }
.ml-closed-note { padding: 15px; color: var(--ml-muted); background: #f4f5f8; border-radius: 12px; text-align: center; }
.ml-status--closed { color: #6a7181; background: #eef0f4; }
.ml-api-key-card { margin-top: 24px; border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-api-key-card .card-body { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(340px, 1fr); align-items: end; gap: 35px; padding: clamp(24px, 4vw, 38px); }
.ml-api-key-card h2 { margin: 0 0 7px; color: var(--ml-ink); font-size: 23px; font-weight: 800; }
.ml-api-key-card p { margin: 0; color: var(--ml-muted); }
.ml-api-key-form label { display: block; }
.ml-api-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 24px; }
.ml-api-nav { position: sticky; top: 96px; padding: 10px; border: 1px solid var(--ml-border); border-radius: 16px; box-shadow: var(--ml-shadow); }
.ml-api-nav a { display: block; padding: 11px 13px; color: var(--ml-muted); border-radius: 9px; font-size: 13px; font-weight: 750; text-decoration: none; }
.ml-api-nav a:hover { color: var(--ml-primary-dark); background: var(--ml-primary-soft); }
.ml-api-content { display: grid; gap: 22px; }
.ml-api-section { scroll-margin-top: 105px; border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-api-section .card-body { padding: clamp(22px, 3vw, 34px); }
.ml-api-section h2 { margin: 0 0 18px; color: var(--ml-ink); font-size: 25px; font-weight: 800; }
.ml-api-section h3 { margin: 25px 0 10px; color: var(--ml-ink); font-size: 15px; font-weight: 800; }
.ml-api-section pre { max-height: 380px; padding: 20px; color: #dce5ff; background: #11182c; border: 0; border-radius: 13px; font-size: 13px; line-height: 1.6; }
.ml-api-section code { color: var(--ml-primary-dark); background: var(--ml-primary-soft); border-radius: 5px; }
.ml-api-section pre code { color: inherit; background: transparent; }
.ml-parameter-table th:first-child, .ml-parameter-table td:first-child { width: 35%; }

@media (max-width: 991px) { .ml-api-layout { grid-template-columns: 1fr; } .ml-api-nav { position: static; overflow-x: auto; } .ml-api-nav nav { display: flex; } .ml-api-nav a { white-space: nowrap; } .ml-api-key-card .card-body { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .ml-chat-message { max-width: 92%; } .ml-composer-actions { align-items: stretch; flex-direction: column; } .ml-composer-actions .btn { width: 100%; } .ml-ticket-header { align-items: flex-start; flex-direction: column; } .ml-api-key-form .input-group { display: block; } .ml-api-key-form .input-group-append, .ml-api-key-form .btn { width: 100%; margin-top: 8px; } }

/* Phase 6: recurring services, resellers and affiliates */
.ml-nameserver-box { display: grid; gap: 7px; margin: -4px 0 22px; padding: 16px; background: var(--ml-primary-soft); border: 1px solid #dce3ff; border-radius: 13px; }
.ml-nameserver-box span { margin-bottom: 3px; color: var(--ml-muted); font-size: 12px; font-weight: 700; }
.ml-nameserver-box code { width: max-content; max-width: 100%; padding: 5px 8px; overflow-wrap: anywhere; color: var(--ml-primary-dark); background: #fff; border-radius: 6px; }
.ml-referral-hero { margin-bottom: 24px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark)); border: 0; border-radius: var(--ml-radius-lg); box-shadow: 0 20px 40px rgba(52,71,212,.22); }
.ml-referral-hero .card-body { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); }
.ml-referral-hero span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.72); font-size: 13px; }
.ml-referral-hero strong { display: block; max-width: 720px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(16px, 2vw, 22px); }
.ml-referral-hero .btn { color: var(--ml-primary-dark) !important; background: #fff !important; border-color: #fff !important; white-space: nowrap; }
.ml-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.ml-stat-grid > div { padding: 22px; background: #fff; border: 1px solid var(--ml-border); border-radius: 16px; box-shadow: var(--ml-shadow); }
.ml-stat-grid span { display: block; margin-bottom: 8px; color: var(--ml-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ml-stat-grid strong { color: var(--ml-ink); font-size: clamp(22px, 3vw, 32px); }
.ml-payout-action { margin-bottom: 24px; border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-payout-action .card-body { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; }
.ml-payout-action h2 { margin: 0 0 5px; color: var(--ml-ink); font-size: 21px; font-weight: 800; }
.ml-payout-action p { margin: 0; color: var(--ml-muted); }
.ml-orders-card > .card-header { padding: 20px 24px; background: #fafbff; border-bottom: 1px solid var(--ml-border); }
.ml-status--active, .ml-status--approved { color: #11764c; background: #e7f8f0; }
.ml-status--paused, .ml-status--expired, .ml-status--rejected, .ml-status--error { color: #a43a42; background: #ffedef; }
.ml-orders-table .btn-sm { white-space: nowrap; }

@media (max-width: 991px) { .ml-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .ml-referral-hero .card-body, .ml-payout-action .card-body { align-items: stretch; flex-direction: column; } .ml-referral-hero strong { white-space: normal; overflow-wrap: anywhere; } .ml-stat-grid { grid-template-columns: 1fr; } }

/* Phase 7: static, contact and system-state pages */
.ml-static-content { max-width: 1080px; margin-inline: auto; border: 1px solid var(--ml-border); border-radius: var(--ml-radius-lg); box-shadow: var(--ml-shadow); }
.ml-static-content .card-body { padding: clamp(25px, 5vw, 54px); }
.ml-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ml-contact-card { min-height: 180px; display: flex; align-items: flex-start; flex-direction: column; padding: 25px; color: var(--ml-ink); background: #fff; border: 1px solid var(--ml-border); border-radius: 18px; box-shadow: var(--ml-shadow); text-decoration: none !important; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ml-contact-card:hover { color: var(--ml-ink); border-color: #bdc8fa; box-shadow: 0 18px 38px rgba(35,50,100,.12); transform: translateY(-3px); }
.ml-contact-card > span { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: auto; color: var(--ml-primary); background: var(--ml-primary-soft); border-radius: 13px; font-size: 21px; }
.ml-contact-card strong { margin: 20px 0 5px; font-size: 18px; }
.ml-contact-card small { max-width: 100%; overflow-wrap: anywhere; color: var(--ml-muted); font-size: 13px; }
.ml-state-page { min-height: calc(100vh - 110px); display: grid; place-items: center; padding: 55px 18px; background: radial-gradient(circle at 50% 20%, #eef2ff, transparent 45%); }
.ml-state-card { width: min(100%, 590px); text-align: center; border: 1px solid var(--ml-border); border-radius: 24px; box-shadow: 0 26px 60px rgba(31,45,91,.13); }
.ml-state-card .card-body { padding: clamp(32px, 6vw, 58px); }
.ml-state-icon { width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--ml-primary); background: var(--ml-primary-soft); border-radius: 24px; font-size: 31px; transform: rotate(-4deg); }
.ml-state-icon--success { color: #16865a; background: #e5f9ef; }
.ml-state-card h1 { margin: 9px 0 12px; color: var(--ml-ink); font-size: clamp(28px, 5vw, 40px); font-weight: 850; letter-spacing: -.03em; }
.ml-state-card p { margin: 0 auto; color: var(--ml-muted); font-size: 16px; line-height: 1.7; }
.ml-state-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ml-limit-note { width: 100%; padding: 12px; color: #936515; background: #fff7dc; border-radius: 10px; }
.ml-narrow-page { width: min(100%, 680px); margin-inline: auto; }

@media (max-width: 991px) { .ml-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .ml-contact-grid { grid-template-columns: 1fr; } .ml-contact-card { min-height: 155px; } .ml-state-actions .btn { width: 100%; } }
