:root {
  --mlb-navy: #061f39;
  --mlb-navy-2: #0a385f;
  --mlb-gold: #ffbd00;
  --mlb-gold-dark: #e7a900;
  --mlb-ink: #10233b;
  --mlb-muted: #667085;
  --mlb-line: #dfe7ef;
  --mlb-soft: #f4f7fa;
  --mlb-green: #14805e;
  --mlb-red: #b42318;
  --mlb-radius: 18px;
  --mlb-shadow: 0 18px 55px rgba(6, 31, 57, .10);
}

.mlb-pro-authority-fields {
  margin: 22px 0 0;
  padding: 20px;
  border: 1px solid var(--mlb-line);
  border-radius: 14px;
  min-width: 0;
}
.mlb-pro-offer-select { appearance: none; color: inherit; background: transparent; border: 0; padding: 0; text-align: left; font: inherit; width: 100%; cursor: pointer; }
.mlb-pro-offer-choice { display: block; margin-top: 12px; font-size: 11px; font-weight: 800; }
.mlb-pro-service { margin-top: 12px; padding: 10px; border: 1px solid #dae5ef; border-radius: 9px; font-size: 11px; background: #fff; }
.mlb-pro-service label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.mlb-pro-service input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; accent-color: #061f39; }
.mlb-pro-service label small { display: block; line-height: 1.5; margin-top: 4px; }
.mlb-pro-service a { display: inline-block; padding-top: 8px; font-size: 11px; }
.mlb-pro-authority-fields legend { padding: 0 8px; color: var(--mlb-navy); font-weight: 800; }
.mlb-pro-authority-fields details { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.mlb-pro-authority-fields summary { cursor: pointer; font-weight: 750; color: var(--mlb-navy); }
.mlb-pro-authority-evidence { margin-top: 20px; padding: 20px; background: #f2f6fa; border-radius: 14px; border-left: 4px solid var(--mlb-gold); }
.mlb-pro-authority-evidence p { font-size: 13px; line-height: 1.6; }
.mlb-pro-authority-evidence > a { display: inline-block; margin: 12px; }
.mlb-pro-authority-evidence > a[hidden] { display: none; }
.mlb-pro-authority-review { border: 1px solid var(--mlb-line); padding: 16px; border-radius: 12px; margin: 12px 0; }
.mlb-pro-authority-review summary { cursor: pointer; font-weight: 700; }
.mlb-pro-authority-review dl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px; }
.mlb-pro-authority-review dd { margin: 0; overflow-wrap: anywhere; }
.mlb-pro-authority-review form > label { display: block; margin-top: 12px; }
.mlb-pro-authority-review textarea { display: block; width: 100%; }
@media (max-width: 600px) {
  .mlb-pro-authority-fields, .mlb-pro-authority-evidence { padding: 14px; }
  .mlb-pro-authority-review dl { grid-template-columns: 1fr; }
  .mlb-pro-authority-evidence .mlb-pro-button { width: 100%; white-space: normal; }
}

.mlb-pro,
.mlb-pro-login,
.mlb-pro-gate,
.mlb-rd {
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mlb-pro *,
.mlb-pro-login *,
.mlb-pro-gate * {
  box-sizing: border-box;
}

.mlb-pro-eyebrow {
  display: block;
  color: #b07d00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
  margin-bottom: 7px;
}

.mlb-pro-button {
  appearance: none;
  align-items: center;
  background: var(--mlb-gold);
  border: 1px solid var(--mlb-gold-dark);
  border-radius: 10px;
  color: var(--mlb-navy) !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mlb-pro-button:hover {
  background: #ffc929;
  box-shadow: 0 9px 22px rgba(217, 158, 0, .22);
  transform: translateY(-1px);
}

.mlb-pro-button.secondary {
  background: #fff;
  border-color: var(--mlb-line);
  box-shadow: none;
}

.mlb-pro-button:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.mlb-pro-gate {
  background: linear-gradient(125deg, var(--mlb-navy), #0a436f);
  border-radius: 24px;
  color: #fff;
  margin: 38px auto;
  max-width: 860px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.mlb-pro-gate::after {
  background: radial-gradient(circle, rgba(255, 189, 0, .35), transparent 68%);
  content: "";
  height: 330px;
  position: absolute;
  right: -130px;
  top: -150px;
  width: 330px;
}

.mlb-pro-gate h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 12px;
  position: relative;
}

.mlb-pro-gate p {
  color: #d6e5f2;
  max-width: 650px;
  position: relative;
}

.mlb-pro-gate .mlb-pro-button {
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.mlb-pro-login {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 26px;
  box-shadow: var(--mlb-shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  margin: 32px auto;
  width: calc(100% - 32px);
  max-width: 1120px;
  min-height: 650px;
  overflow: hidden;
}

.mlb-pro-login-brand {
  background-color: #061f39;
  background-image: linear-gradient(105deg, rgba(4, 31, 58, .98), rgba(4, 31, 58, .75)), url("pro-business.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(34px, 6vw, 70px);
}

/* 6.21.5: keep the light logo inside its navy panel, never at viewport offsets. */
.mlb-pro-login-brand img {
  display: block;
  flex: 0 0 auto;
  width: 270px;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0 0 clamp(28px, 3vw, 44px);
  object-fit: contain;
  object-position: left center;
  position: static;
}

.mlb-pro-login-brand .mlb-pro-eyebrow {
  color: var(--mlb-gold);
}

.mlb-pro-login-brand h1 {
  color: #fff;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 0 0 18px;
}

.mlb-pro-login-brand p {
  color: #d9e7f2;
  font-size: 17px;
  max-width: 630px;
}

.mlb-pro-login-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mlb-pro-login-benefits span {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 11px;
}

.mlb-pro-login-form {
  align-self: center;
  padding: 48px;
}

.mlb-pro-login-form h2 {
  color: var(--mlb-navy);
  font-size: 30px;
  margin: 0 0 6px;
}

.mlb-pro-login-form > p {
  color: var(--mlb-muted);
  margin: 0 0 24px;
}

.mlb-pro-login-form label,
.mlb-pro-application label {
  color: #344054;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 14px 0;
}

.mlb-pro-login-form input:not([type=checkbox]),
.mlb-pro-login-form select,
.mlb-pro-application input:not([type=checkbox]),
.mlb-pro-application select {
  background: #fff;
  border: 1px solid #d6dfe8;
  border-radius: 10px;
  color: var(--mlb-ink);
  display: block;
  font: inherit;
  margin-top: 7px;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.mlb-pro-check {
  align-items: flex-start;
  display: flex !important;
  font-weight: 600 !important;
  gap: 8px;
}

.mlb-pro-check input {
  margin-top: 2px;
}

.mlb-pro-authorisation {
  background: #eef6ff;
  border: 1px solid #c9dff3;
  border-radius: 10px;
  margin-top: 13px;
  padding: 11px 13px;
}

.mlb-pro-login-form .mlb-pro-button {
  width: 100%;
}

.mlb-pro-text-link {
  color: var(--mlb-navy) !important;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 15px;
  text-align: center;
}

.mlb-pro-application {
  border-top: 1px solid var(--mlb-line);
  margin-top: 24px;
  padding-top: 20px;
}

.mlb-pro-application summary {
  color: var(--mlb-navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.mlb-pro-notice {
  background: #eef6ff;
  border: 1px solid #bcd8f4;
  border-radius: 11px;
  color: #174b76;
  font-size: 13px;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.mlb-pro-notice.success {
  background: #edf9f4;
  border-color: #bce5d3;
  color: #116544;
}

.mlb-pro-notice.error {
  background: #fff0ef;
  border-color: #fac4bf;
  color: var(--mlb-red);
}

.mlb-pro-notice.pilot {
  background: #fff8df;
  border-color: #efd271;
  color: #6e5000;
}

.mlb-pro {
  background: var(--mlb-soft);
  border: 1px solid #d9e3eb;
  border-radius: 22px;
  box-shadow: var(--mlb-shadow);
  color: var(--mlb-ink);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: 92px minmax(680px, auto);
  margin: 24px auto;
  max-width: 1580px;
  min-height: 820px;
  overflow: hidden;
}

.mlb-pro-sidebar {
  background: linear-gradient(180deg, #041a30 0%, var(--mlb-navy) 55%, #082e50 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 25px 14px;
}

.mlb-pro-sidebar-logo {
  height: 46px;
  margin: 0 10px 19px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.mlb-pro-side-title {
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  color: var(--mlb-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 8px 10px;
  padding: 0 3px 15px;
}

.mlb-pro-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mlb-pro-tab {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #eaf2f8;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  gap: 10px;
  min-height: 43px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.mlb-pro-tab span {
  color: var(--mlb-gold);
  font-size: 17px;
  text-align: center;
  width: 18px;
}

.mlb-pro-tab:hover,
.mlb-pro-tab.active {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .1);
  color: #fff;
}

.mlb-pro-tab.active {
  box-shadow: inset 3px 0 0 var(--mlb-gold);
}

.mlb-pro-side-help {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: #c7d7e4;
  font-size: 11px;
  margin-top: auto;
  padding: 15px;
}

.mlb-pro-side-help strong {
  color: #fff;
  display: block;
  font-size: 13px;
}

.mlb-pro-side-help p {
  margin: 6px 0 0;
}

.mlb-pro-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--mlb-line);
  display: flex;
  gap: 20px;
  grid-column: 2;
  grid-row: 1;
  justify-content: space-between;
  padding: 15px 28px;
}

.mlb-pro-header h1 {
  color: var(--mlb-navy);
  font-size: 23px;
  margin: 0;
}

.mlb-pro-header p {
  color: var(--mlb-muted);
  font-size: 11px;
  margin: 2px 0 0;
}

.mlb-pro-header .mlb-pro-eyebrow {
  margin-bottom: 2px;
}

.mlb-pro-header-actions {
  align-items: center;
  display: flex;
  gap: 11px;
}

.mlb-pro-avatar {
  align-items: center;
  background: var(--mlb-navy);
  border: 3px solid #edf2f7;
  border-radius: 50%;
  color: #fff !important;
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  text-decoration: none !important;
  width: 44px;
}

.mlb-pro-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 26px 28px 34px;
}

.mlb-pro-panel {
  display: none;
}

.mlb-pro-panel.active {
  display: block;
}

.mlb-pro-kpis {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.mlb-pro-kpis article {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(6, 31, 57, .04);
  min-height: 118px;
  padding: 18px;
}

.mlb-pro-kpis article.gold {
  background: #fff9e8;
  border-color: #efd473;
}

.mlb-pro-kpis article.reminder {
  background: #eef6ff;
  border-color: #b8d7f5;
}

.mlb-pro-kpis span,
.mlb-pro-kpis small {
  color: var(--mlb-muted);
  display: block;
  font-size: 11px;
}

.mlb-pro-kpis strong {
  color: var(--mlb-navy);
  display: block;
  font-size: 27px;
  line-height: 1.2;
  margin: 7px 0 4px;
}

.mlb-pro-summary-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .7fr);
  margin-top: 15px;
}

.mlb-pro-card {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(6, 31, 57, .04);
  margin-top: 15px;
  padding: 21px;
}

.mlb-pro-card h2 {
  color: var(--mlb-navy);
  font-size: 20px;
  margin: 0 0 7px;
}

.mlb-pro-card p {
  color: var(--mlb-muted);
}

.mlb-pro-reminder-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.mlb-pro-reminder-list button {
  align-items: center;
  background: #f7faff;
  border: 1px solid var(--mlb-line);
  border-radius: 11px;
  color: var(--mlb-navy);
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.mlb-pro-reminder-list button:hover {
  border-color: var(--mlb-gold);
  box-shadow: 0 6px 18px rgba(6, 31, 57, .08);
}

.mlb-pro-reminder-list span,
.mlb-pro-reminder-list small {
  display: block;
}

.mlb-pro-reminder-list small {
  color: var(--mlb-muted);
  margin-top: 2px;
}

.mlb-pro-welcome {
  align-items: stretch;
  background: var(--mlb-navy);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  overflow: hidden;
  padding: 0;
}

.mlb-pro-welcome > div {
  align-self: center;
  padding: 30px;
}

.mlb-pro-welcome h2 {
  color: #fff;
  font-size: 30px;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.mlb-pro-welcome p {
  color: #cfdeea;
  font-size: 13px;
}

.mlb-pro-welcome img {
  height: 100%;
  max-height: 330px;
  object-fit: cover;
  width: 100%;
}

.mlb-pro-steps {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

.mlb-pro-steps li {
  align-items: center;
  border-top: 1px solid #edf1f5;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  padding: 11px 0;
}

.mlb-pro-steps b {
  align-items: center;
  background: #fff3c8;
  border-radius: 50%;
  color: #7a5800;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.mlb-pro-card-head,
.mlb-pro-page-title {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.mlb-pro-page-title {
  margin-bottom: 18px;
}

.mlb-pro-page-title h2 {
  color: var(--mlb-navy);
  font-size: 30px;
  letter-spacing: -.03em;
  margin: 0 0 5px;
}

.mlb-pro-page-title p,
.mlb-pro-card-head p {
  color: var(--mlb-muted);
  font-size: 12px;
  margin: 0;
}

.mlb-pro-link {
  appearance: none;
  background: transparent;
  border: 0;
  color: #0b568d !important;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.mlb-pro-client-card,
.mlb-pro-upload,
.mlb-pro-batch-toolbar,
.mlb-pro-case-actions,
.mlb-pro-recover,
.mlb-pro-share-card {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(6, 31, 57, .04);
  padding: 20px;
}

.mlb-pro-field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mlb-pro-field-grid label,
.mlb-pro-review-grid label {
  color: #344054;
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.mlb-pro-field-grid input,
.mlb-pro-field-grid select,
.mlb-pro-review-grid input,
.mlb-pro-review-grid select,
.mlb-pro-recover input {
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: 9px;
  color: var(--mlb-ink);
  display: block;
  font: inherit;
  font-size: 13px;
  margin-top: 6px;
  min-height: 42px;
  padding: 9px 10px;
  width: 100%;
}

.mlb-pro-upload {
  background: linear-gradient(135deg, #fbfdff, #f4f8fc);
  border: 2px dashed #b9c9d8;
  margin-top: 15px;
  padding: 34px;
  position: relative;
  text-align: center;
}

.mlb-pro-upload.is-dragging {
  background: #fff8df;
  border-color: var(--mlb-gold-dark);
}

.mlb-pro-upload input[type=file] {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.mlb-pro-upload .mlb-pro-button,
.mlb-pro-upload h3,
.mlb-pro-upload p,
.mlb-pro-upload-icon {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.mlb-pro-upload-icon {
  align-items: center;
  background: var(--mlb-navy);
  border-radius: 50%;
  color: var(--mlb-gold);
  display: inline-flex;
  font-size: 24px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.mlb-pro-upload h3 {
  color: var(--mlb-navy);
  font-size: 20px;
  margin: 13px 0 4px;
}

.mlb-pro-upload p {
  color: var(--mlb-muted);
  font-size: 11px;
  margin: 0 0 15px;
}

.mlb-pro-batch-toolbar,
.mlb-pro-case-actions,
.mlb-pro-share-card,
.mlb-pro-recover {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 15px;
}

.mlb-pro-batch-toolbar span,
.mlb-pro-case-actions span {
  color: var(--mlb-muted);
  display: block;
  font-size: 11px;
}

.mlb-pro-supplies {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.mlb-pro-supply {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(6, 31, 57, .045);
  overflow: hidden;
}

.mlb-pro-supply-head {
  align-items: center;
  border-bottom: 1px solid #edf1f4;
  display: flex;
  gap: 13px;
  justify-content: space-between;
  padding: 16px 19px;
}

.mlb-pro-supply-title {
  align-items: center;
  display: flex;
  gap: 11px;
  min-width: 0;
}

.mlb-pro-supply-number {
  align-items: center;
  background: var(--mlb-navy);
  border-radius: 10px;
  color: var(--mlb-gold);
  display: inline-flex;
  flex: 0 0 38px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
}

.mlb-pro-supply-title strong,
.mlb-pro-supply-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mlb-pro-supply-title small {
  color: var(--mlb-muted);
  font-size: 10px;
}

.mlb-pro-supply-state {
  background: #eef2f6;
  border-radius: 999px;
  color: #526273;
  font-size: 10px;
  font-weight: 900;
  padding: 7px 10px;
}

.mlb-pro-supply-state.running {
  background: #fff3c8;
  color: #745400;
}

.mlb-pro-supply-state.ready {
  background: #eaf8f2;
  color: #116443;
}

.mlb-pro-supply-state.error {
  background: #fff0ef;
  color: var(--mlb-red);
}

.mlb-pro-supply-body {
  padding: 18px;
}

.mlb-pro-review-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mlb-pro-review-note {
  background: #fff8df;
  border: 1px solid #efd575;
  border-radius: 10px;
  color: #6d5200;
  font-size: 11px;
  margin: 12px 0;
  padding: 10px 12px;
}

.mlb-pro-supply-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 13px;
}

.mlb-pro-results {
  border-top: 1px solid #edf1f4;
  margin-top: 17px;
  padding-top: 17px;
}

.mlb-pro-results h4 {
  color: var(--mlb-navy);
  font-size: 17px;
  margin: 0 0 10px;
}

.mlb-pro-offers {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mlb-pro-offer {
  background: #fafcfd;
  border: 1px solid #dfe7ee;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 14px;
  position: relative;
}

.mlb-pro-offer:hover,
.mlb-pro-offer.selected {
  border-color: var(--mlb-gold-dark);
  box-shadow: inset 0 0 0 1px var(--mlb-gold), 0 8px 20px rgba(6, 31, 57, .06);
}

.mlb-pro-offer.selected::after {
  align-items: center;
  background: var(--mlb-gold);
  border-radius: 50%;
  color: var(--mlb-navy);
  content: "✓";
  display: flex;
  font-weight: 900;
  height: 25px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 25px;
}

.mlb-pro-offer-badge {
  color: #15704f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.mlb-pro-offer h5 {
  color: var(--mlb-navy);
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
  padding-right: 25px;
}

.mlb-pro-offer > small {
  color: var(--mlb-muted);
  font-size: 10px;
  margin-top: 3px;
}

.mlb-pro-offer-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  padding-top: 12px;
}

.mlb-pro-offer-metrics span {
  background: #fff;
  border-radius: 9px;
  padding: 8px;
}

.mlb-pro-offer-metrics small,
.mlb-pro-offer-metrics strong {
  display: block;
}

.mlb-pro-offer-metrics small {
  color: var(--mlb-muted);
  font-size: 8px;
}

.mlb-pro-offer-metrics strong {
  color: var(--mlb-navy);
  font-size: 14px;
}

.mlb-pro-offer-metrics .saving strong {
  color: var(--mlb-green);
}

.mlb-pro-keep-current {
  background: #fff;
  border: 1px dashed #b8c6d3;
  border-radius: 12px;
  color: var(--mlb-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  margin-top: 10px;
  padding: 11px;
  text-align: center;
}

.mlb-pro-keep-current.selected {
  background: #eef6ff;
  border-color: #6fa6d0;
  color: #174d77;
}

.mlb-pro-live-status {
  border-radius: 10px;
  font-size: 12px;
  margin-top: 12px;
  min-height: 18px;
  padding: 0 2px;
}

.mlb-pro-live-status.ok {
  background: #eaf8f2;
  color: #116443;
  padding: 11px 13px;
}

.mlb-pro-live-status.error {
  background: #fff0ef;
  color: var(--mlb-red);
  padding: 11px 13px;
}

.mlb-pro-case-code {
  background: var(--mlb-navy);
  border-radius: 10px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 12px;
}

.mlb-pro-table-wrap {
  overflow-x: auto;
}

.mlb-pro-table {
  border-collapse: collapse;
  width: 100%;
}

.mlb-pro-table th,
.mlb-pro-table td {
  border-bottom: 1px solid #edf1f4;
  color: #344054;
  font-size: 11px;
  padding: 11px 9px;
  text-align: left;
  vertical-align: middle;
}

.mlb-pro-table th {
  color: var(--mlb-muted);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mlb-pro-table td small {
  color: var(--mlb-muted);
  display: block;
  margin-top: 2px;
}

.mlb-pro-table code {
  background: #eef2f6;
  border-radius: 5px;
  font-size: 10px;
  padding: 4px 6px;
}

.mlb-pro-state {
  background: #eef2f6;
  border-radius: 999px;
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  padding: 6px 8px;
}

.mlb-pro-state.accepted,
.mlb-pro-state.submitted {
  background: #eaf8f2;
  color: #116443;
}

.mlb-pro-state.proposal_sent {
  background: #eef6ff;
  color: #17527e;
}

.mlb-pro-recover {
  justify-content: flex-start;
  margin-bottom: 15px;
}

.mlb-pro-recover input {
  margin: 0;
  max-width: 290px;
}

.mlb-pro-share-card {
  background: var(--mlb-navy);
  color: #fff;
  margin-bottom: 16px;
}

.mlb-pro-share-card small,
.mlb-pro-share-card code {
  display: block;
}

.mlb-pro-share-card small {
  color: #bcd0e1;
  font-size: 10px;
}

.mlb-pro-share-card code {
  color: #fff;
  font-size: 12px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.mlb-pro-creative-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mlb-pro-creative {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 15px;
  overflow: hidden;
}

.mlb-pro-creative-preview {
  align-items: center;
  background: #edf2f6;
  display: flex;
  justify-content: center;
  min-height: 235px;
  overflow: hidden;
  padding: 15px;
}

.mlb-pro-creative-preview img {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(6, 31, 57, .17);
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
}

.mlb-pro-creative > div:last-child {
  padding: 16px;
}

.mlb-pro-creative h3 {
  color: var(--mlb-navy);
  font-size: 16px;
  margin: 0;
}

.mlb-pro-creative p {
  color: var(--mlb-muted);
  font-size: 10px;
}

.mlb-pro-creative textarea {
  background: #f7f9fb;
  border: 1px solid var(--mlb-line);
  border-radius: 8px;
  display: block;
  font: 10px/1.4 ui-monospace, monospace;
  height: 64px;
  margin-bottom: 9px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

.mlb-pro-help-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mlb-pro-help-grid article {
  background: #fff;
  border: 1px solid var(--mlb-line);
  border-radius: 15px;
  padding: 19px;
}

.mlb-pro-help-grid article > b {
  align-items: center;
  background: var(--mlb-gold);
  border-radius: 10px;
  color: var(--mlb-navy);
  display: flex;
  font-size: 17px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.mlb-pro-help-grid h3 {
  color: var(--mlb-navy);
  font-size: 15px;
  margin: 14px 0 6px;
}

.mlb-pro-help-grid p {
  color: var(--mlb-muted);
  font-size: 11px;
  margin: 0;
}

/* Panel de Dirección */
.mlb-ceo,
.mlb-pro-admin {
  color: var(--mlb-ink);
  max-width: 1500px;
}

.mlb-ceo-hero,
.mlb-pro-admin-hero {
  align-items: center;
  background: linear-gradient(115deg, #041f3a, #0b416e);
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  overflow: hidden;
  padding: 24px 28px;
  position: relative;
}

.mlb-ceo-hero::after,
.mlb-pro-admin-hero::after {
  background: radial-gradient(circle, rgba(255, 189, 0, .28), transparent 70%);
  content: "";
  height: 280px;
  position: absolute;
  right: -80px;
  top: -130px;
  width: 280px;
}

.mlb-ceo-hero span,
.mlb-pro-admin-hero span {
  color: var(--mlb-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.mlb-ceo-hero h1,
.mlb-pro-admin-hero h1 {
  color: #fff;
  font-size: 31px;
  margin: 3px 0;
}

.mlb-ceo-hero p,
.mlb-pro-admin-hero p {
  color: #d9e7f2;
  margin: 0;
}

.mlb-ceo-mode {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: 12px 16px;
  position: relative;
  z-index: 2;
}

.mlb-ceo-mode small,
.mlb-ceo-mode strong,
.mlb-ceo-mode a {
  display: block;
}

.mlb-ceo-mode a {
  color: var(--mlb-gold);
  font-size: 11px;
  margin-top: 2px;
}

.mlb-ceo-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.mlb-ceo-kpis article,
.mlb-ceo-card,
.mlb-pro-admin-card {
  background: #fff;
  border: 1px solid #dce4eb;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(6, 31, 57, .045);
  padding: 17px;
}

.mlb-ceo-kpis span,
.mlb-ceo-kpis small {
  color: var(--mlb-muted);
  display: block;
  font-size: 11px;
}

.mlb-ceo-kpis strong {
  color: var(--mlb-navy);
  display: block;
  font-size: 25px;
  margin: 5px 0;
}

.mlb-ceo-kpis a {
  color: #0b568d;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.mlb-ceo-grid,
.mlb-pro-admin-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.mlb-ceo-card h2,
.mlb-pro-admin-card h2 {
  color: var(--mlb-navy);
  margin-top: 0;
}

.mlb-ceo-alert {
  align-items: center;
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  color: var(--mlb-ink) !important;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 9px;
  padding: 11px 13px;
  text-decoration: none !important;
}

.mlb-ceo-alert strong {
  font-size: 18px;
}

.mlb-ceo-alert.warning {
  background: #fff8df;
  border-color: #efd271;
}

.mlb-ceo-alert.ok {
  background: #edf9f4;
  border-color: #bce5d3;
}

.mlb-ceo-companies,
.mlb-ceo-shortcuts {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mlb-ceo-companies a,
.mlb-ceo-shortcuts a {
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  color: var(--mlb-navy) !important;
  padding: 12px;
  text-decoration: none !important;
}

.mlb-ceo-companies span {
  color: var(--mlb-muted);
  display: block;
  font-size: 10px;
  margin-top: 3px;
}

.mlb-pro-admin-card label {
  display: block;
  font-weight: 700;
  margin: 13px 0;
}

.mlb-pro-admin-card input:not([type=checkbox]),
.mlb-pro-admin-card select {
  display: block;
  margin-top: 6px;
  min-height: 38px;
  width: min(100%, 560px);
}

.mlb-pro-admin-switches {
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  margin: 14px 0;
  padding: 5px 13px;
}

/* Referidos adopta el mismo lenguaje visual, sin mezclar permisos. */
.mlb-rd-shell {
  border-color: var(--mlb-line) !important;
  box-shadow: var(--mlb-shadow) !important;
}

.mlb-rd-tabs {
  background: linear-gradient(180deg, #041a30 0%, var(--mlb-navy) 55%, #082e50 100%) !important;
}

.mlb-rd-side-title,
.mlb-rd-tab.active {
  color: var(--mlb-gold) !important;
}

.mlb-rd-head {
  border-bottom-color: var(--mlb-line) !important;
}

.mlb-rd-head h1,
.mlb-rd-card h2,
.mlb-rd-kpi strong,
.mlb-rd-banner-hero h2 {
  color: var(--mlb-navy) !important;
}

.mlb-rd-kpi.gold {
  background: #fff9e8 !important;
  border-color: #efd473 !important;
}

.mlb-rd-copy.alt,
.mlb-ref-btn,
.mlb-rd-side-help a {
  background: var(--mlb-gold) !important;
  color: var(--mlb-navy) !important;
}

@media (max-width: 1240px) {
  .mlb-pro-kpis,
  .mlb-pro-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mlb-ceo-kpis {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .mlb-pro-field-grid,
  .mlb-pro-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mlb-pro {
    display: block;
    border-radius: 14px;
  }

  .mlb-pro-sidebar {
    display: block;
    min-height: 0;
    padding: 12px;
  }

  .mlb-pro-sidebar-logo,
  .mlb-pro-side-title,
  .mlb-pro-side-help {
    display: none;
  }

  .mlb-pro-sidebar nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
  }

  .mlb-pro-tab {
    flex: 0 0 auto;
    width: auto;
  }

  .mlb-pro-header {
    min-height: 84px;
  }

  .mlb-pro-main {
    padding: 20px;
  }

  .mlb-pro-summary-grid,
  .mlb-pro-login,
  .mlb-pro-welcome,
  .mlb-ceo-grid,
  .mlb-pro-admin-grid {
    grid-template-columns: 1fr;
  }

  .mlb-pro-login-brand {
    min-height: 460px;
  }

  .mlb-pro-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mlb-pro-offers,
  .mlb-pro-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mlb-pro-login {
    display: block;
    margin: 12px;
    width: calc(100% - 24px);
  }

  .mlb-pro-login-brand {
    min-height: 0;
    padding: 30px;
  }

  .mlb-pro-login-form {
    padding: 30px;
  }

  .mlb-pro-header {
    padding: 13px 16px;
  }

  .mlb-pro-header .mlb-pro-button {
    display: none;
  }

  .mlb-pro-main {
    padding: 14px;
  }

  .mlb-pro-kpis,
  .mlb-pro-field-grid,
  .mlb-pro-review-grid,
  .mlb-pro-offers,
  .mlb-pro-help-grid,
  .mlb-pro-creative-grid,
  .mlb-ceo-kpis,
  .mlb-ceo-companies,
  .mlb-ceo-shortcuts {
    grid-template-columns: 1fr;
  }

  .mlb-pro-welcome {
    display: block;
  }

  .mlb-pro-welcome img {
    max-height: 230px;
  }

  .mlb-pro-batch-toolbar,
  .mlb-pro-case-actions,
  .mlb-pro-share-card,
  .mlb-pro-recover,
  .mlb-ceo-hero,
  .mlb-pro-admin-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .mlb-pro-case-actions .mlb-pro-button {
    width: 100%;
  }
}

/* 6.21.4: WordPress can relocate notices after the first h1, inside a dark hero. */
.mlb-pro-admin .mlb-pro-access-notice,
.mlb-pro-admin-hero .mlb-pro-access-notice { background: #fff; color: #10233b; flex-basis: 100%; width: auto; }
.mlb-pro-admin .mlb-pro-access-notice p,
.mlb-pro-admin-hero .mlb-pro-access-notice p,
.mlb-pro-admin .mlb-pro-access-notice strong { color: #10233b; opacity: 1; }
.mlb-pro-admin .mlb-pro-access-notice a:not(.button-primary) { color: #124f85; }
.mlb-pro-admin .mlb-pro-access-notice .button-primary { color: #fff; background: #174f7d; border-color: #174f7d; }
.mlb-pro-admin .mlb-pro-access-notice .button { margin: 4px 4px 4px 0; white-space: normal; height: auto; }
.mlb-pro-authority-fields [hidden], .mlb-pro-authority-evidence [hidden] { display: none !important; }
.mlb-pro-authority-hint { margin: 12px 0; padding: 12px 16px; background: #f3f7fb; border-left: 3px solid #ffbd00; color: #10233b; font-size: 13px; line-height: 1.6; }
.mlb-pro-authority-hint p { margin: 0; }

/* v6.22.43 · campaña visual septiembre 2026 */
.mlb-pro-login-campaign{margin:24px 0 0;border:1px solid rgba(255,255,255,.18);border-radius:18px;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.18)}
.mlb-pro-login-campaign img{display:block;width:100%;height:auto;max-height:315px;object-fit:cover}
.mlb-pro-campaign-wide{margin:0 0 20px;border:1px solid #dfe6ee;border-radius:18px;overflow:hidden;background:#061f39;box-shadow:0 12px 34px rgba(6,31,57,.08)}
.mlb-pro-campaign-wide img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.mlb-pro-creative-preview img[src*="campaign-2026-09-15"]{width:100%;height:auto;max-height:320px;object-fit:contain;background:#061f39}
@media(max-width:760px){.mlb-pro-login-campaign img{max-height:none}.mlb-pro-campaign-wide img{max-height:none}}
