:root {
  --zp-primary: #164b8f;
  --zp-ink: #172033;
  --zp-muted: #667085;
  --zp-bg: #f5f7fb;
  --zp-surface: #ffffff;
  --zp-border: #dfe6ef;
  --zp-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--zp-ink);
  background: var(--zp-bg);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.flash-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(92vw, 620px);
  transform: translateX(-50%);
}

.flash {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: var(--zp-radius);
  background: #fff;
  border: 1px solid var(--zp-border);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}

.flash-success {
  border-color: #9ad5b0;
  color: #11633a;
}

.flash-danger {
  border-color: #f4b4b4;
  color: #9f1d1d;
}

.flash-warning {
  border-color: #f2d38b;
  color: #8a5a00;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--zp-primary);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--zp-ink);
  border-color: var(--zp-border);
}

.btn-danger {
  background: #fff;
  color: #9f1d1d;
  border-color: #f0b4b4;
}

.btn-danger:hover,
.btn-danger:focus {
  background: #9f1d1d;
  color: #fff;
  border-color: #9f1d1d;
}

.auth-shell,
.panel-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.auth-card,
.panel-card {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  background: var(--zp-surface);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.auth-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--zp-ink);
  font-weight: 900;
  text-decoration: none;
}

.auth-card h1,
.panel-card h1 {
  margin: 18px 0 8px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
}

.auth-card p,
.panel-card p {
  color: var(--zp-muted);
  line-height: 1.6;
}

.stack-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.stack-form label {
  font-weight: 800;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.auth-foot {
  margin-bottom: 0;
}

.zentro-login-page {
  --login-ink: #0f253a;
  --login-ink-soft: #274860;
  --login-card: rgba(255, 255, 255, 0.84);
  --login-edge: rgba(95, 136, 168, 0.55);
  --login-accent: #0b7a7a;
  --login-accent-strong: #0a6161;
  --login-danger: #c4302b;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--login-ink);
  background-image: url("../img/dash-theme/FONDO_HTML_BIENVENIDO.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.public-shell.zentro-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--login-ink);
  background-image: url("../img/dash-theme/FONDO_HTML_BIENVENIDO.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.public-shell.zentro-register-page {
  place-items: center;
  padding: 28px;
  background-image:
    linear-gradient(110deg, rgba(7, 25, 42, 0.52) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(7, 25, 42, 0.14) 100%),
    url("../img/dash-theme/FONDO_HTML_BIENVENIDO.jpg");
}

.zentro-login-page .login-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  margin: auto;
}

.zentro-login-page .brand-panel,
.zentro-login-page .form-panel {
  padding: 26px 24px;
  background: var(--login-card);
  border: 1px solid var(--login-edge);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(12, 31, 49, 0.2);
  backdrop-filter: blur(7px);
}

.zentro-login-page .brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.zentro-login-page .brand-logo {
  width: 72px;
  height: 72px;
  padding: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(127, 163, 188, 0.55);
  border-radius: 12px;
}

.zentro-login-page .brand-copy h1 {
  margin: 0;
  color: var(--login-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

.zentro-login-page .brand-tagline {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin: 8px 0 0;
  padding: 6px 11px;
  color: var(--login-accent-strong);
  background: linear-gradient(135deg, rgba(11, 122, 122, 0.14), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(11, 122, 122, 0.28);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 6px 14px rgba(12, 31, 49, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.zentro-login-page .brand-body h2,
.zentro-login-page .form-panel h2 {
  margin: 0 0 8px;
}

.zentro-login-page .brand-body h2 {
  color: var(--login-ink);
  font-size: 24px;
}

.zentro-login-page .form-panel h2 {
  color: var(--login-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
}

.zentro-login-page .brand-body p,
.zentro-login-page .hint {
  margin: 0;
  color: var(--login-ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.zentro-login-page .hint {
  margin: 6px 0 16px;
  font-size: 15px;
}

.zentro-login-page .brand-bullets {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: #12324a;
  font-size: 16px;
}

.zentro-login-page .brand-footer,
.zentro-login-page .support-note {
  color: #35607e;
  font-size: 13px;
  font-weight: 600;
}

.zentro-login-page .brand-footer {
  margin: 22px 0 0;
}

.zentro-login-page label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--login-ink);
  font-size: 15px;
  font-weight: 600;
}

.zentro-login-page input,
.zentro-login-page select,
.zentro-login-page button {
  font: inherit;
  font-size: 16px;
}

.zentro-login-page input,
.zentro-login-page select {
  width: 100%;
  padding: 11px 12px;
  color: var(--login-ink);
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(42, 89, 126, 0.34);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 4px 12px rgba(12, 31, 49, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.zentro-login-page input:focus,
.zentro-login-page select:focus {
  background: #ffffff;
  border-color: rgba(11, 122, 122, 0.86);
  box-shadow: 0 0 0 4px rgba(11, 122, 122, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: 0;
}

.zentro-login-page button {
  width: 100%;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--login-accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.zentro-login-page button:hover,
.zentro-login-page button:focus-visible {
  background: var(--login-accent-strong);
  transform: translateY(-1px);
}

.zentro-login-page .error {
  min-height: 22px;
  margin: 10px 0 4px;
  color: var(--login-danger);
  font-size: 14px;
}

.zentro-login-page .support-note {
  margin: 0;
}

.zentro-login-page .login-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(95, 136, 168, 0.28);
  font-size: 12px;
}

.zentro-login-page .login-legal-links a,
.zentro-login-page .auth-foot a {
  color: var(--login-accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.zentro-login-page .login-legal-links a:hover,
.zentro-login-page .auth-foot a:hover {
  text-decoration: underline;
}

.zentro-login-page .auth-foot {
  margin: 14px 0 0;
  color: var(--login-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.zentro-register-page .register-shell {
  width: min(1260px, calc(100vw - 56px));
  grid-template-columns: minmax(320px, 410px) minmax(620px, 740px);
  align-items: stretch;
  justify-content: center;
  gap: 24px;
}

.zentro-register-page .register-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 252, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(11, 122, 122, 0.13), transparent 32%);
  box-shadow: 0 24px 58px rgba(12, 31, 49, 0.24);
}

.zentro-register-page .register-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0b7a7a, #1d9aaa, #164b8f);
}

.zentro-register-page .register-panel > h2 {
  margin-bottom: 4px;
  font-size: clamp(32px, 3vw, 42px);
}

.zentro-register-page .register-panel > .hint {
  max-width: 58ch;
  margin-bottom: 16px;
  font-size: 14px;
}

.zentro-register-page .register-form {
  gap: 16px;
  margin-top: 14px;
}

.zentro-register-page .brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(9, 31, 50, 0.94), rgba(12, 63, 78, 0.86)),
    radial-gradient(circle at 90% 10%, rgba(83, 219, 211, 0.25), transparent 34%);
  color: #fff;
  box-shadow: 0 24px 58px rgba(12, 31, 49, 0.28);
}

.zentro-register-page .brand-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.zentro-register-page .brand-panel .brand-top,
.zentro-register-page .brand-panel .brand-body,
.zentro-register-page .brand-panel .brand-footer {
  position: relative;
  z-index: 1;
}

.zentro-register-page .brand-panel .brand-logo {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.zentro-register-page .brand-panel .brand-copy h1,
.zentro-register-page .brand-panel .brand-body h2 {
  color: #fff;
}

.zentro-register-page .brand-panel .brand-tagline {
  color: #dff8f4;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.zentro-register-page .brand-panel .brand-body p,
.zentro-register-page .brand-panel .brand-bullets,
.zentro-register-page .brand-panel .brand-footer {
  color: rgba(255, 255, 255, 0.78);
}

.zentro-register-page .brand-bullets {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.zentro-register-page .brand-bullets li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.45;
}

.zentro-register-page .brand-bullets li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #54d8cf;
  box-shadow: 0 0 0 5px rgba(84, 216, 207, 0.13);
}

.zentro-register-page .brand-footer {
  margin-top: auto;
  padding-top: 24px;
}

.zentro-register-page .register-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.zentro-register-page .register-trust-row article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(95, 136, 168, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 253, 0.72));
  box-shadow: 0 10px 24px rgba(12, 31, 49, 0.06);
}

.zentro-register-page .register-trust-row span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: #0b7a7a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.zentro-register-page .register-trust-row strong,
.zentro-register-page .register-trust-row small {
  display: block;
}

.zentro-register-page .register-trust-row strong {
  color: #0f253a;
  font-size: 13px;
}

.zentro-register-page .register-trust-row small {
  margin-top: 4px;
  color: #49667c;
  font-size: 11px;
  line-height: 1.35;
}

.zentro-register-page .register-section {
  position: relative;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 253, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(11, 122, 122, 0.08), transparent 34%);
  border: 1px solid rgba(95, 136, 168, 0.28);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(12, 31, 49, 0.08);
}

.zentro-register-page .register-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.zentro-register-page .register-section-heading > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, var(--login-accent), var(--login-accent-strong));
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(11, 122, 122, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.zentro-register-page .register-section-heading h3 {
  margin: 0;
  color: var(--login-ink);
  font-size: 19px;
  line-height: 1.2;
}

.zentro-register-page .register-section-heading p {
  margin: 3px 0 0;
  color: var(--login-ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.zentro-register-page .register-field-list {
  display: grid;
  gap: 9px;
}

.zentro-register-page .field-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(95, 136, 168, 0.22);
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.zentro-register-page .field-row:focus-within {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(11, 122, 122, 0.46);
  box-shadow: 0 0 0 4px rgba(11, 122, 122, 0.08);
}

.zentro-register-page .field-label {
  color: var(--login-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.zentro-register-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zentro-register-page .form-grid:first-of-type {
  grid-template-columns: 1.18fr 1fr 1fr;
}

.zentro-register-page .password-input-wrap,
.zentro-register-page .phone-input-wrap,
.zentro-register-page .subdomain-row {
  display: grid;
  grid-template-columns: minmax(140px, 50%) auto auto;
  align-items: stretch;
}

.zentro-register-page .phone-input-wrap {
  grid-template-columns: auto minmax(0, 1fr);
}

.zentro-register-page .password-input-wrap input {
  border-radius: 10px 0 0 10px;
}

.zentro-register-page .phone-input-wrap > span {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #ffffff;
  background: var(--login-accent);
  border: 2px solid var(--login-accent);
  border-radius: 10px 0 0 10px;
  font-size: 14px;
  font-weight: 900;
}

.zentro-register-page .phone-input-wrap input {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.zentro-register-page .password-toggle {
  width: auto;
  min-width: 82px;
  padding: 0 12px;
  color: var(--login-accent-strong);
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(42, 89, 126, 0.34);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  box-shadow: none;
}

.zentro-register-page .password-toggle:hover,
.zentro-register-page .password-toggle:focus-visible {
  color: #ffffff;
  background: var(--login-accent);
  transform: none;
}

.zentro-register-page .password-rules,
.zentro-register-page .subdomain-preview {
  margin: 10px 0 0;
  color: #35607e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.zentro-register-page .register-product-choice {
  display: grid;
  gap: 7px;
}

.zentro-register-page .register-product-label {
  display: block;
  margin: 0;
}

.zentro-register-page .register-product-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr);
  align-items: stretch;
  gap: 12px;
}

.zentro-register-page .register-product-control-row select,
.zentro-register-page .register-preview-button {
  min-height: 46px;
}

.zentro-register-page .register-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(145deg, #102a43, #164b8f);
  border: 2px solid rgba(16, 42, 67, 0.92);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(16, 42, 67, 0.2);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.zentro-register-page .register-preview-button:not(.is-disabled):hover,
.zentro-register-page .register-preview-button:not(.is-disabled):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(16, 42, 67, 0.26);
}

.zentro-register-page .register-preview-button.is-disabled {
  opacity: .52;
  cursor: not-allowed;
  filter: grayscale(.3);
  box-shadow: none;
}

.zentro-register-page .product-info {
  position: relative;
  margin-top: 12px;
  padding: 17px 17px 17px 18px;
  color: var(--login-ink-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(225, 247, 247, 0.86)),
    radial-gradient(circle at 92% 20%, rgba(219, 134, 28, 0.12), transparent 34%);
  border: 1px solid rgba(11, 122, 122, 0.34);
  border-left: 6px solid #0b7a7a;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(11, 122, 122, 0.09);
}

.zentro-register-page .product-info span {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 9px;
  color: #0b5e63;
  background: rgba(11, 122, 122, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.zentro-register-page .product-info strong {
  display: block;
  color: var(--login-ink);
  font-size: 16px;
}

.zentro-register-page .product-info p {
  margin: 5px 0 0;
  color: var(--login-ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.zentro-register-page .confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  padding: 13px 14px;
  background: linear-gradient(135deg, rgba(11, 122, 122, 0.11), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(11, 122, 122, 0.32);
  border-radius: 14px;
  line-height: 1.4;
}

.zentro-register-page .confirmation-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--login-accent);
}

@media (max-width: 720px) {
  .zentro-register-page .register-product-control-row {
    grid-template-columns: 1fr;
  }
}

.zentro-register-page .subdomain-row input {
  border-radius: 10px 0 0 10px;
}

.zentro-register-page .subdomain-availability-button {
  min-width: 142px;
  padding: 0 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ea8a18 0%, #cb6705 100%);
  border: 2px solid #cb6705;
  border-left: 0;
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.zentro-register-page .subdomain-availability-button:disabled {
  cursor: wait;
  opacity: .72;
}

.zentro-register-page .subdomain-availability-result {
  margin: 9px 0 0;
  color: #4b6680;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.zentro-register-page .subdomain-availability-result.is-checking {
  color: #7a5a24;
}

.zentro-register-page .subdomain-availability-result.is-available {
  color: #087451;
}

.zentro-register-page .subdomain-availability-result.is-unavailable {
  color: #a02b35;
}

.zentro-register-page .subdomain-availability-button:hover,
.zentro-register-page .subdomain-availability-button:focus-visible {
  background: linear-gradient(135deg, #f39a2b 0%, #d97008 100%);
}

.zentro-register-page .subdomain-availability-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(234, 138, 24, 0.28);
  outline-offset: 2px;
}

.zentro-register-page .subdomain-row .subdomain-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #ffffff;
  background: var(--login-accent);
  border: 2px solid var(--login-accent);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .zentro-register-page .subdomain-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .zentro-register-page .subdomain-row input {
    grid-column: 1 / -1;
    border-radius: 10px 10px 0 0;
  }

  .zentro-register-page .subdomain-availability-button {
    min-height: 42px;
    border-top: 0;
    border-left: 2px solid #cb6705;
    border-radius: 0 0 0 10px;
  }

  .zentro-register-page .subdomain-row .subdomain-suffix {
    border-top: 0;
    border-radius: 0 0 10px 0;
  }
}

.zentro-register-page label small {
  display: block;
  margin-top: 7px;
  color: #35607e;
  font-size: 12px;
  line-height: 1.35;
}

.zentro-register-page .register-submit {
  min-height: 52px;
  margin-top: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b7a7a, #0b8e8e);
  box-shadow: 0 18px 34px rgba(11, 122, 122, 0.24);
  font-size: 16px;
  font-weight: 900;
}

.zentro-register-page .register-capacity-notice {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid #c34c55;
  border-radius: 12px;
  background: #fff1f2;
  color: #842933;
}

.zentro-register-page .register-capacity-notice strong,
.zentro-register-page .register-capacity-notice span {
  display: block;
}

.zentro-register-page .register-submit:disabled {
  cursor: not-allowed;
  filter: grayscale(.35);
  opacity: .65;
}

.admin-register-preview {
  min-height: auto;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--zp-border);
  border-radius: 14px;
}

.admin-register-preview .register-shell {
  width: min(1160px, 100%);
  transform: none;
}

@media (min-width: 1200px) {
  .zentro-register-page .register-shell {
    transform: none;
  }

  .zentro-register-page.admin-register-preview .register-shell {
    transform: none;
  }
}

@media (max-width: 860px) {
  .zentro-login-page .login-shell {
    grid-template-columns: 1fr;
  }

  .zentro-login-page .brand-copy h1 {
    font-size: 32px;
  }

  .zentro-login-page .form-panel h2 {
    font-size: 30px;
  }

  .zentro-register-page .form-grid,
  .zentro-register-page .form-grid:first-of-type {
    grid-template-columns: 1fr;
  }

  .zentro-register-page .field-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .zentro-register-page .register-shell {
    width: 100%;
    transform: none;
  }
}

.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--zp-border);
  background: #0f172a;
  color: #e5eefb;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.app-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.app-brand span {
  display: grid;
}

.app-brand small {
  color: #9fb0c7;
  font-weight: 700;
}

.app-nav {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.app-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #dce5f2;
  font-weight: 800;
  text-decoration: none;
}

.app-nav a:hover {
  background: rgba(255, 255, 255, .08);
}

.app-main {
  min-width: 0;
  padding: 32px;
}

.page-head {
  margin-bottom: 24px;
}

.page-head h1 {
  margin: 16px 0 8px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.page-head p {
  max-width: 760px;
  color: var(--zp-muted);
  font-size: 17px;
  line-height: 1.6;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-grid article,
.admin-panel,
.table-card {
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #fff;
}

.kpi-grid article {
  padding: 18px;
}

.kpi-grid span {
  display: block;
  color: var(--zp-muted);
  font-weight: 800;
}

.kpi-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--zp-primary);
  font-size: 34px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel h2 {
  margin: 0 0 14px;
}

.action-row,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, .8fr)) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-bar input,
.filter-bar select {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
}

.table-card {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--zp-border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #475467;
  font-size: 13px;
  text-transform: uppercase;
}

.data-table td strong,
.data-table td small {
  display: block;
}

.data-table td small {
  margin-top: 4px;
  color: var(--zp-muted);
}

.admin-clients-card {
  border: 1px solid #d7e2ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 37, 63, 0.08);
}

.admin-clients-card::-webkit-scrollbar,
.admin-modal-table-wrap::-webkit-scrollbar {
  height: 12px;
}

.admin-clients-card::-webkit-scrollbar-thumb,
.admin-modal-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9fb2c5;
}

.admin-clients-table {
  min-width: 4550px;
  font-size: 14px;
}

.admin-clients-table th {
  white-space: nowrap;
  background: #f6f9fc;
  color: #244059;
  font-size: 13px;
  letter-spacing: .025em;
}

.admin-clients-table td {
  white-space: nowrap;
  vertical-align: middle;
  color: #10253f;
}

.admin-client-email,
.admin-client-title {
  font-weight: 800;
}

.admin-table-btn {
  min-width: 96px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  white-space: nowrap;
}

.admin-clients-table .admin-table-btn,
.admin-clients-table .btn-secondary.admin-table-btn,
.admin-clients-table .btn-primary.admin-table-btn {
  border-color: #102a43;
  background: #102a43;
  color: #fff;
}

.admin-clients-table .btn-danger.admin-table-btn {
  border-color: #efb4b4;
  background: #f7caca;
  color: #1f1717;
}

.admin-clients-table .btn-danger.admin-table-btn:hover,
.admin-clients-table .btn-danger.admin-table-btn:focus {
  border-color: #d88f8f;
  background: #f1b7b7;
  color: #1f1717;
}

.admin-reminder-sent {
  display: block;
  margin-top: 6px;
  color: #46705a;
  font-size: 11px;
  font-weight: 900;
}

.btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 25, 43, .64);
}

.admin-modal-backdrop[hidden] {
  display: none !important;
}

.admin-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #d7e2ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.admin-modal-large {
  width: min(1020px, calc(100vw - 32px));
}

.admin-modal-danger {
  border-top: 5px solid #d94b4b;
}

.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-modal-header h2 {
  margin: 0;
  color: #10253f;
  font-size: 22px;
}

.admin-modal-header p {
  margin: 6px 0 0;
  color: #5b7086;
  font-size: 14px;
  font-weight: 700;
}

.admin-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid #d6e0eb;
  border-radius: 999px;
  background: #f8fbfd;
  color: #10253f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal-form {
  display: grid;
  gap: 14px;
}

.admin-modal-form p,
.admin-danger-copy,
.empty-message {
  margin: 0;
  color: #405a74;
  line-height: 1.55;
}

.admin-danger-copy {
  padding: 12px 14px;
  border: 1px solid #f0b4b4;
  border-radius: 10px;
  background: #fff7f7;
  color: #8f1d1d;
  font-weight: 800;
}

.admin-modal-form label {
  display: grid;
  gap: 7px;
  color: #27425e;
  font-size: 14px;
  font-weight: 800;
}

.admin-modal-form input,
.admin-modal-form textarea,
.admin-modal-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #b8c7d7;
  border-radius: 8px;
  background: #fff;
  color: #10253f;
  font: inherit;
}

.admin-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}

.admin-edit-fields label {
  padding: 12px;
  border: 1px solid #d7e2ed;
  border-radius: 10px;
  background: #f8fbfd;
}

.admin-edit-fields span,
.admin-edit-fields strong {
  display: block;
}

.admin-edit-fields span {
  color: #52677e;
  font-size: 12px;
  text-transform: uppercase;
}

.admin-edit-fields strong {
  margin: 2px 0 8px;
  color: #10253f;
  font-size: 14px;
}

.admin-modal-actions,
.admin-modal-toolbar,
.admin-modal-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-modal-actions {
  justify-content: flex-end;
  padding-top: 4px;
}

.admin-modal-toolbar {
  justify-content: space-between;
  margin-bottom: 12px;
  color: #405a74;
  font-weight: 800;
}

.admin-reminder-modal {
  display: grid;
  gap: 14px;
}

.admin-reminder-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 14px;
  padding: 12px;
  border: 1px solid #d7e2ed;
  border-radius: 10px;
  background: #f8fbfd;
}

.admin-reminder-meta p {
  margin: 0;
  color: #405a74;
  line-height: 1.45;
}

.admin-reminder-message-label {
  display: grid;
  gap: 8px;
  color: #27425e;
  font-size: 14px;
  font-weight: 900;
}

.admin-reminder-message {
  width: 100%;
  min-height: 190px;
  padding: 12px;
  border: 1px solid #b8c7d7;
  border-radius: 10px;
  background: #fff;
  color: #10253f;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.admin-modal-table-wrap {
  max-height: 420px;
  overflow: auto;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
}

.admin-modal-data-table {
  min-width: 820px;
  font-size: 14px;
}

.admin-modal-data-table th {
  background: #f6f9fc;
}

.admin-modal-data-table td {
  white-space: normal;
  vertical-align: top;
}

.admin-modal-pager {
  justify-content: center;
  margin-top: 12px;
  color: #405a74;
  font-weight: 800;
}

.admin-modal-pager .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #164b8f;
  font-size: 12px;
  font-weight: 900;
}

.badge-success {
  background: #eaf8ef;
  color: #17643b;
}

.badge-failed,
.badge-blocked {
  background: #fff0f0;
  color: #932626;
}

.security-retention-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid #b9d8d7;
  border-left: 4px solid #168082;
  border-radius: 8px;
  background: #eef8f8;
  color: #274860;
}

.security-retention-note strong {
  color: #0f4e50;
}

.security-retention-note span {
  font-size: 13px;
  font-weight: 700;
}

.security-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.security-section-head h2 {
  margin: 6px 0 0;
  color: #10253f;
}

.security-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  background: #fff;
}

.security-filter-bar-compact {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
}

.security-filter-bar label {
  display: grid;
  gap: 6px;
  color: #364f68;
  font-size: 12px;
  font-weight: 800;
}

.security-filter-bar input,
.security-filter-bar select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #aebed0;
  border-radius: 6px;
  background: #fff;
  color: #10253f;
  font: inherit;
}

.security-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.security-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 30px;
  color: #52677e;
  font-size: 13px;
  font-weight: 800;
}

.security-pagination div {
  display: flex;
  gap: 8px;
}

.security-pagination a,
.security-pagination div span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #b8c8d9;
  border-radius: 6px;
  background: #fff;
  color: #164b8f;
  text-decoration: none;
}

.security-pagination div span[aria-disabled="true"] {
  background: #eef2f6;
  color: #8a98a8;
}

.security-table td {
  overflow-wrap: anywhere;
}

.admin-filter-four {
  grid-template-columns: 1.3fr repeat(2, minmax(160px, .8fr)) auto;
}

.admin-filter-five {
  grid-template-columns: 1.4fr repeat(3, minmax(145px, .8fr)) auto;
}

.admin-filter-six {
  grid-template-columns: 1.4fr repeat(4, minmax(135px, .75fr)) auto;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 30px;
  color: #52677e;
  font-size: 13px;
  font-weight: 800;
}

.admin-pagination div {
  display: flex;
  gap: 8px;
}

.admin-pagination a,
.admin-pagination div span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #b8c8d9;
  border-radius: 6px;
  background: #fff;
  color: #164b8f;
  text-decoration: none;
}

.admin-pagination div span[aria-disabled="true"] {
  background: #eef2f6;
  color: #8a98a8;
}

.admin-client-head,
.admin-detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-client-head .back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #164b8f;
  font-weight: 800;
}

.admin-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.admin-detail-summary article {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  background: #fff;
}

.admin-detail-summary span,
.admin-detail-summary small {
  display: block;
  color: #607389;
}

.admin-detail-summary span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-detail-summary strong {
  display: block;
  margin: 8px 0 5px;
  color: #10253f;
  overflow-wrap: anywhere;
  font-size: 20px;
}

.admin-detail-section {
  margin: 0 0 32px;
  padding-top: 24px;
  border-top: 1px solid #cfdbe7;
}

.admin-detail-title {
  align-items: flex-end;
  margin-bottom: 16px;
}

.admin-detail-title h2 {
  margin: 5px 0 0;
  color: #10253f;
}

.admin-detail-title p {
  max-width: 420px;
  margin: 0;
  color: #607389;
  text-align: right;
}

.admin-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  background: #d6e0eb;
}

.admin-definition-grid div {
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.admin-definition-grid dt {
  color: #607389;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-definition-grid dd {
  margin: 7px 0 0;
  color: #10253f;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-action-form {
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid #ccd9e5;
  border-radius: 8px;
  background: #fff;
}

.admin-action-form h3 {
  margin: 0;
  color: #10253f;
}

.admin-action-form p {
  min-height: 44px;
  margin: 0;
  color: #607389;
  line-height: 1.5;
}

.admin-action-form label,
.admin-delete-form label {
  display: grid;
  gap: 6px;
  color: #364f68;
  font-size: 12px;
  font-weight: 900;
}

.admin-action-form input,
.admin-action-form select,
.admin-delete-form input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #aebed0;
  border-radius: 6px;
  background: #fff;
  color: #10253f;
  font: inherit;
}

.admin-action-form .btn {
  margin-top: auto;
}

.admin-action-test {
  border-style: dashed;
  background: #f8fbfe;
}

.admin-danger-zone {
  border-top-color: #d99b9b;
}

.admin-delete-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid #efb3b3;
  border-radius: 8px;
  background: #fff8f8;
}

.admin-delete-form p {
  margin: 0;
  color: #713535;
  line-height: 1.5;
}

.admin-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-activity-list {
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  background: #fff;
}

.admin-activity-list article {
  position: relative;
  padding: 15px 100px 15px 15px;
  border-bottom: 1px solid #e2e8ef;
}

.admin-activity-list article:last-child {
  border-bottom: 0;
}

.admin-activity-list article .badge {
  position: absolute;
  top: 13px;
  right: 13px;
}

.admin-activity-list p,
.admin-activity-list small {
  display: block;
  margin: 6px 0 0;
  color: #607389;
}

.admin-history-table,
.admin-payments-table {
  min-width: 760px;
}

.empty-message {
  padding: 18px;
  border: 1px dashed #bccbda;
  border-radius: 8px;
  color: #607389;
}

@media (max-width: 1180px) {
  .security-filter-bar,
  .security-filter-bar-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-five,
  .admin-filter-six,
  .admin-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-delete-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .security-filter-bar,
  .security-filter-bar-compact {
    grid-template-columns: 1fr;
  }

  .security-filter-actions,
  .security-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-filter-four,
  .admin-filter-five,
  .admin-filter-six,
  .admin-detail-summary,
  .admin-definition-grid,
  .admin-action-grid,
  .admin-delete-form,
  .admin-detail-columns {
    grid-template-columns: 1fr;
  }

  .filter-actions,
  .admin-pagination,
  .admin-client-head,
  .admin-detail-title {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-reminder-meta {
    grid-template-columns: 1fr;
  }

  .admin-detail-title p {
    text-align: left;
  }
}

.badge-active {
  background: #e8f7ee;
  color: #11633a;
}

.badge-pending_email_verification {
  background: #fff7df;
  color: #8a5a00;
}

.badge-suspended,
.badge-cancelled {
  background: #fff0f0;
  color: #9f1d1d;
}

.empty-cell {
  color: var(--zp-muted);
  text-align: center;
}

.user-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-state {
  max-width: 760px;
}

.client-welcome {
  max-width: 980px;
  margin: 0 auto 24px;
  text-align: center;
}

.client-welcome h1 {
  max-width: 860px;
  margin: 16px auto 12px;
  color: #0f253a;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.client-welcome p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--zp-muted);
  font-size: 17px;
  line-height: 1.65;
}

.client-welcome-compact h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.client-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 22px;
  border: 1px solid var(--zp-border);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 253, 0.96)),
    radial-gradient(circle at top right, rgba(22, 75, 143, 0.1), transparent 40%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.client-status-card span,
.locked-product-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-status-card h2 {
  margin: 0 0 8px;
  color: #0f253a;
  font-size: 30px;
}

.client-status-card p {
  margin: 0;
  color: var(--zp-muted);
  line-height: 1.55;
}

.client-status-empty {
  align-items: flex-start;
}

.client-action-grid {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.client-action-grid a,
.client-action-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--zp-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  color: inherit;
  text-decoration: none;
}

.client-action-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #eef4ff;
  color: #164b8f;
  font-size: 12px;
  font-weight: 900;
}

.client-action-grid strong,
.locked-product-card strong {
  display: block;
  color: #0f253a;
  font-size: 19px;
}

.client-action-grid small,
.locked-product-card small {
  display: block;
  margin-top: 8px;
  color: var(--zp-muted);
  line-height: 1.5;
}

.client-action-grid a:hover {
  border-color: rgba(22, 75, 143, 0.32);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.locked-product-card {
  padding: 18px;
  border: 1px solid rgba(22, 75, 143, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fbff, #fff);
}

.style-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.style-pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--zp-border);
  border-radius: 999px;
  background: #fff;
  color: #0f253a;
  font-size: 13px;
  font-weight: 900;
}

.model-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.model-picker-card,
.user-model-panel {
  padding: 20px;
  border: 1px solid var(--zp-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.model-picker-card {
  align-self: start;
  padding: 16px;
}

.model-picker-card header span {
  color: #8a5a00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-picker-card h2 {
  margin: 5px 0 12px;
  color: #0f253a;
}

.model-picker-card form,
.user-model-panel form {
  display: grid;
  gap: 12px;
}

.model-picker-card form {
  gap: 9px;
}

.catalog-admin-preview-links {
  display: grid;
  gap: 9px;
  margin-top: 9px;
}

.catalog-admin-preview-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #173f73;
  background: #173f73;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.catalog-admin-preview-link:hover {
  background: #0f315d;
  color: #fff;
}

.model-picker-card label,
.user-model-panel label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 900;
}

.model-picker-card label {
  gap: 5px;
}

.model-picker-card select,
.user-model-panel select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.model-picker-card select {
  min-height: 40px;
}

.model-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.model-list div {
  padding: 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.model-list strong,
.model-list small {
  display: block;
}

.model-list small {
  margin-top: 4px;
  color: var(--zp-muted);
  line-height: 1.45;
}

.model-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 75, 143, 0.12);
}

.model-pagination:empty {
  display: none;
}

.model-pagination-status {
  margin-right: auto;
  color: #49667c;
  font-size: 12px;
  font-weight: 900;
}

.model-pagination button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(22, 75, 143, 0.18);
  border-radius: 9px;
  background: #ffffff;
  color: #0f253a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  box-shadow: none;
}

.model-pagination button:hover,
.model-pagination button:focus-visible,
.model-pagination button.is-active {
  border-color: #164b8f;
  background: #eef4ff;
  color: #164b8f;
  outline: 0;
}

.user-model-panel {
  max-width: 980px;
  margin: 0 auto 18px;
}

.user-model-list {
  margin-top: 18px;
}

.user-model-pagination {
  max-width: 980px;
  margin: 14px auto 0;
}

.onboarding-form {
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 900;
}

.form-grid input,
.form-grid select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.style-preview {
  padding: 18px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.style-preview h2 {
  margin: 0 0 14px;
}

.style-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.style-columns article {
  padding: 14px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #fff;
}

.style-columns strong {
  display: block;
  margin-bottom: 8px;
  color: var(--zp-primary);
}

.style-columns ol {
  margin: 0;
  padding-left: 18px;
  color: var(--zp-muted);
  line-height: 1.65;
}

.plan-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-summary-grid article {
  padding: 16px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.plan-summary-grid span,
.plan-summary-grid strong {
  display: block;
}

.plan-summary-grid span {
  color: var(--zp-muted);
  font-weight: 800;
}

.plan-summary-grid strong {
  margin-top: 6px;
  color: var(--zp-ink);
  font-size: 20px;
}

.editor-stack {
  display: grid;
  gap: 16px;
}

.section-editor {
  padding: 18px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .04);
}

.section-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-editor-head strong,
.section-editor-head small {
  display: block;
}

.section-editor-head small {
  margin-top: 4px;
  color: var(--zp-muted);
  font-weight: 700;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zp-ink);
  font-weight: 900;
}

.sort-input {
  width: 76px;
}

.editor-toggle {
  min-height: 40px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.full-label,
.form-panel label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #344054;
  font-weight: 900;
}

.full-label textarea,
.form-panel input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.publish-panel form {
  margin: 0;
}

.publish-panel p {
  color: var(--zp-muted);
}

.cta-editor {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.cta-editor > span {
  color: var(--zp-primary);
  font-weight: 900;
}

.cta-editor label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 900;
}

.cta-editor input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
}

.payment-panel {
  max-width: 920px;
}

.payment-panel h2 {
  margin-top: 0;
}

.payment-note {
  padding: 14px;
  border: 1px solid #f2d38b;
  border-radius: 8px;
  background: #fff9e8;
  color: #8a5a00;
  font-weight: 800;
}

.catalog-admin-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.mini-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #f8fbff;
}

.mini-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 900;
}

.mini-form input,
.mini-form select,
.mini-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
}

.image-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr) auto;
  gap: 14px;
  align-items: end;
}

.image-editor h2 {
  margin: 0 0 4px;
}

.image-editor p {
  margin: 0;
  color: var(--zp-muted);
}

.image-editor label,
.image-row-form {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 900;
}

.image-row-form {
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  margin-top: 8px;
}

.image-editor input,
.image-row-form input {
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--zp-border);
  border-radius: 8px;
  background: #fff;
}

.zentro-login-page .email-status-shell {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.email-status-panel {
  display: grid;
  align-content: center;
}

.email-status-panel .status-step {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(11, 122, 122, 0.22);
  border-radius: 999px;
  background: rgba(11, 122, 122, 0.11);
  color: #075d5d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.email-status-panel .status-ok {
  border-color: rgba(23, 130, 75, 0.28);
  background: rgba(23, 130, 75, 0.12);
  color: #12653d;
}

.email-status-panel .status-error {
  border-color: rgba(196, 48, 43, 0.28);
  background: rgba(196, 48, 43, 0.12);
  color: #9f1d1d;
}

.email-status-panel .email-pill {
  display: block;
  width: 100%;
  margin: 10px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 122, 122, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: #0f253a;
  font-weight: 900;
  word-break: break-word;
}

.mail-help-note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 143, 25, 0.28);
  border-radius: 8px;
  background: rgba(255, 247, 229, 0.82);
  color: #714300;
  line-height: 1.45;
}

.verified-summary-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.verified-summary-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(95, 136, 168, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.verified-summary-grid span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b7a7a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.verified-summary-grid strong {
  color: #102a43;
  font-weight: 900;
}

.verified-summary-grid small {
  color: #36556d;
  font-weight: 700;
}

.verified-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(11, 122, 122, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(241, 250, 250, 0.76)),
    radial-gradient(circle at top right, rgba(11, 122, 122, 0.15), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.verified-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #0b7a7a;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(11, 122, 122, 0.24);
}

.verified-next {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(95, 136, 168, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: #274860;
}

.verified-next strong {
  color: #0f253a;
}

.email-status-panel .status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.email-status-panel .status-button,
.email-status-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #0b7a7a;
  border-radius: 8px;
  background: #0b7a7a;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.email-status-panel .status-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  color: #0f253a;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 800px) {
  .image-editor,
  .image-row-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    height: auto;
  }

  .app-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-grid,
  .filter-bar,
  .form-grid,
  .style-columns,
  .plan-summary-grid,
  .client-action-grid,
  .model-admin-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-status-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .app-main {
    padding: 22px 16px;
  }

  .kpi-grid,
  .filter-bar,
  .form-grid,
  .style-columns,
  .plan-summary-grid,
  .client-action-grid,
  .model-admin-grid,
  .app-nav {
    grid-template-columns: 1fr;
  }

  .zentro-login-page .email-status-shell {
    grid-template-columns: 1fr;
  }
}

/* User workspace */
.app-nav a.is-active {
  border-left: 3px solid #db861c;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.app-nav a.is-return-step {
  border: 1px solid rgba(219, 134, 28, .42);
  border-left: 3px solid #db861c;
  background: rgba(219, 134, 28, .1);
  color: #fff3df;
}

.app-nav a.is-return-step:hover,
.app-nav a.is-return-step:focus-visible {
  background: rgba(219, 134, 28, .18);
  color: #fff;
  outline: 0;
}

.workspace-head,
.workspace-section-head,
.publish-workspace,
.plan-workspace > div:first-child,
.payment-workspace > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.workspace-head {
  margin-bottom: 24px;
}

.workspace-head h1,
.workspace-section-head h2,
.workspace-empty h2,
.publish-workspace h2,
.publish-actions h2,
.support-layout h2,
.support-history h2,
.plan-workspace h2,
.payment-workspace h2 {
  margin: 8px 0;
  color: #10253f;
  letter-spacing: 0;
}

.workspace-head h1 {
  max-width: 840px;
  font-size: 40px;
  line-height: 1.12;
}

.workspace-head p,
.workspace-status-copy p,
.workspace-empty > p,
.publish-actions p,
.support-channels p {
  max-width: 760px;
  margin: 0;
  color: var(--zp-muted);
  line-height: 1.6;
}

.workspace-overview,
.publish-workspace,
.workspace-empty,
.publish-actions,
.plan-workspace,
.payment-workspace,
.payment-blank-sheet,
.support-form,
.support-channels,
.support-history {
  border: 1px solid #ced9e7;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(15, 37, 63, .07);
}

.workspace-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 32px;
  padding: 24px;
}

.workspace-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #bed0e4;
  border-radius: 999px;
  background: #edf4fb;
  color: #244764;
  font-size: 12px;
  font-weight: 900;
}

.workspace-status.status-published {
  border-color: #9ed4b4;
  background: #eaf8ef;
  color: #17643b;
}

.workspace-status.status-review {
  border-color: #bed6f5;
  background: #edf5ff;
  color: #205c9f;
}

.workspace-status.status-warning {
  border-color: #f0ce8a;
  background: #fff6df;
  color: #81530a;
}

.workspace-status.status-blocked {
  border-color: #e9b4b4;
  background: #fff0f0;
  color: #932626;
}

.workspace-status-copy h2 {
  margin: 12px 0 6px;
  font-size: 28px;
}

[data-trial-countdown] {
  font-variant-numeric: tabular-nums;
}

[data-trial-countdown].is-expired {
  color: #9f1d1d;
}

.trial-countdown-line {
  display: grid;
  gap: 4px;
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid #d6e0eb;
}

.trial-countdown-line span {
  color: #607389;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-countdown-line strong {
  color: #10253f;
}

.workspace-progress {
  align-self: center;
}

.workspace-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.workspace-progress-head span,
.workspace-progress small {
  color: #52677e;
}

.progress-track {
  height: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8f2;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #167d7f, #db861c);
}

.workspace-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 28px;
}

.workspace-meta article,
.plan-summary-grid article {
  min-width: 0;
  padding: 15px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #f8fafc;
}

.workspace-meta span,
.workspace-meta strong,
.plan-summary-grid span,
.plan-summary-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.workspace-meta span,
.plan-summary-grid span,
.publish-dates span,
.support-channels span {
  margin-bottom: 5px;
  color: #64778e;
  font-size: 12px;
  font-weight: 800;
}

.workspace-flow {
  margin-top: 8px;
}

.workspace-steps {
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.workspace-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #fff;
}

.workspace-steps li.is-current {
  border-color: #db861c;
  box-shadow: inset 4px 0 #db861c;
}

.workspace-steps li.is-done {
  background: #f2f8f5;
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #183b60;
  color: #fff;
  font-weight: 900;
}

.is-done .step-number {
  background: #17805b;
}

.workspace-steps strong,
.workspace-steps small {
  display: block;
}

.workspace-steps small {
  margin-top: 4px;
  color: #66788c;
  line-height: 1.45;
}

.workspace-steps a {
  color: #174f83;
  font-weight: 900;
  text-decoration: none;
}

.save-publish-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid #cfd9e5;
  background: #eef4f8;
}

.save-publish-guide > div {
  padding: 18px 20px;
}

.save-publish-guide > div + div {
  border-left: 1px solid #cfd9e5;
}

.save-publish-guide p,
.workspace-rule {
  margin: 6px 0 0;
  color: #52677e;
  line-height: 1.55;
}

.workspace-rule {
  padding: 12px 14px;
  border-left: 3px solid #168082;
  background: #eef8f8;
}

.workspace-empty,
.publish-workspace,
.publish-actions,
.plan-workspace,
.payment-workspace,
.payment-blank-sheet,
.support-form,
.support-channels,
.support-history {
  padding: 24px;
}

.publish-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  margin-bottom: 16px;
}

.publish-dates {
  display: grid;
  gap: 10px;
}

.publish-dates p {
  margin: 0;
  padding: 12px;
  border-left: 3px solid #168082;
  background: #f4f8fb;
}

.publish-dates strong,
.support-channels strong {
  display: block;
}

.publish-actions {
  margin-top: 16px;
}

.plan-workspace,
.payment-workspace {
  display: grid;
  gap: 22px;
}

.plan-payment-workspace {
  gap: 18px;
}

.plan-payment-head {
  border-bottom: 1px solid #dce5ef;
  padding-bottom: 4px;
}

.plan-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-payment-summary,
.plan-payment-actions {
  min-width: 0;
}

.plan-payment-summary h3,
.plan-payment-actions h3 {
  margin: 0 0 14px;
  color: #10253f;
  font-size: 20px;
}

.plan-payment-divider {
  display: block;
  width: 1px;
  min-height: 100%;
  background: #cfd9e5;
}

.plan-line-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.plan-line-list div {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 12px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #f8fafc;
}

.plan-line-list dt {
  color: #50657d;
  font-weight: 900;
}

.plan-line-list dd {
  margin: 0;
  color: #10253f;
  font-weight: 800;
  line-height: 1.45;
}

.plan-payment-note,
.plan-payment-reminder {
  margin: 14px 0 0;
  color: #52677e;
  line-height: 1.55;
}

.plan-payment-reminder {
  padding: 12px 14px;
  border-left: 4px solid #168082;
  border-radius: 8px;
  background: #eef8f8;
}

.plan-pay-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background: #f8fafc;
}

.plan-pay-row + .plan-pay-row {
  margin-top: 12px;
}

.plan-pay-row strong,
.plan-pay-row small {
  display: block;
}

.plan-pay-row small {
  margin-top: 5px;
  color: #66788c;
  line-height: 1.4;
}

.payment-blank-sheet {
  min-height: min(52vh, 460px);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  gap: 16px;
}

.support-compact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: #273f59;
  font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #aebed0;
  border-radius: 6px;
  background: #fff;
  color: #10253f;
  font: inherit;
}

.support-form small {
  color: #64778e;
}

.support-channels a {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d3deea;
  border-radius: 8px;
  background: #f6f9fc;
  text-decoration: none;
}

.support-history {
  margin-top: 18px;
}

.support-history-compact {
  margin-top: 0;
}

.support-count {
  align-self: start;
  padding: 6px 10px;
  border: 1px solid #d3deea;
  border-radius: 999px;
  background: #f6f9fc;
  color: #52677e;
  font-size: 12px;
  font-weight: 900;
}

.support-request-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.support-request-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #dfe6ef;
}

.support-request-list strong,
.support-request-list small {
  display: block;
}

.support-request-list small {
  margin-top: 5px;
  color: #66788c;
}

.support-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dfe6ef;
  color: #52677e;
}

.support-pagination a,
.support-pagination span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #cdd9e6;
  border-radius: 8px;
  background: #fff;
  color: #174f83;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.support-pagination span.is-disabled {
  color: #8a9aab;
  background: #f1f5f9;
}

.page-head h1 {
  font-size: 40px;
}

@media (max-width: 900px) {
  .workspace-overview,
  .publish-workspace,
  .support-layout,
  .support-compact-layout,
  .plan-payment-layout {
    grid-template-columns: 1fr;
  }

  .plan-payment-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }

  .workspace-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .workspace-head,
  .workspace-section-head,
  .plan-workspace > div:first-child,
  .payment-workspace > div:first-child {
    flex-direction: column;
  }

  .workspace-head h1,
  .page-head h1 {
    font-size: 32px;
  }

  .workspace-meta,
  .save-publish-guide,
  .plan-line-list div,
  .plan-pay-row {
    grid-template-columns: 1fr;
  }

  .save-publish-guide > div + div {
    border-top: 1px solid #cfd9e5;
    border-left: 0;
  }

  .workspace-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .workspace-steps a {
    grid-column: 2;
  }

  .support-request-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared admin and user control panel shell */
.app-sidebar {
  z-index: 30;
  border-right-color: #26364d;
  background: #0b1425;
}

.app-main {
  min-height: 100vh;
  padding: 0;
  background: #07111f;
  color: #eaf2fb;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 14px 32px;
  border-bottom: 1px solid #2b3d56;
  background: #111d30;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.app-topbar p {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  color: #cbd7e6;
  overflow-wrap: anywhere;
  text-align: center;
}

.app-topbar strong {
  color: #fff;
}

.topbar-logout {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: #10253f;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.topbar-logout:hover,
.topbar-logout:focus-visible {
  border-color: #db861c;
  background: #db861c;
  color: #fff;
  outline: 0;
}

/* Panel usuario: las acciones secundarias mantienen contraste sin botones blancos. */
.public-shell .user-app-layout .btn-secondary {
  border-color: #294f75;
  background: #102f4f;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(5, 24, 43, 0.2);
}

.public-shell .user-app-layout .btn-secondary:hover,
.public-shell .user-app-layout .btn-secondary:focus-visible {
  border-color: #3b75aa;
  background: #174a76;
  color: #ffffff;
}

.public-shell .user-app-layout .btn-secondary:disabled {
  border-color: #294f75;
  background: #102f4f;
  color: #ffffff;
  opacity: 0.5;
}

.public-shell .user-app-layout .topbar-logout {
  border-color: #3b75aa;
  background: #174a76;
  color: #ffffff;
}

.public-shell .user-app-layout .topbar-logout:hover,
.public-shell .user-app-layout .topbar-logout:focus-visible {
  border-color: #db861c;
  background: #db861c;
  color: #ffffff;
}

.app-content {
  min-width: 0;
  padding: 32px;
}

.app-content > .page-head h1,
.app-content > .workspace-head h1,
.app-content > .client-welcome h1,
.app-content > .admin-section h1,
.app-content .workspace-section-head h2,
.app-content .security-section-head h2,
.app-content .admin-detail-title h2 {
  color: #fff;
}

.app-content > .page-head p,
.app-content > .workspace-head p,
.app-content > .client-welcome p,
.app-content > .admin-section p,
.app-content .admin-detail-title p {
  color: #b9c8da;
}

.app-content .admin-client-head .back-link {
  color: #9ec9f3;
}

.app-content > .filter-bar,
.app-content > .security-filter-bar {
  padding: 14px;
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  background: #fff;
}

.app-content .kpi-grid article,
.app-content .admin-panel,
.app-content .table-card,
.app-content .security-retention-note,
.app-content .admin-detail-summary article,
.app-content .admin-definition-grid div,
.app-content .admin-action-form,
.app-content .admin-delete-form,
.app-content .admin-activity-list,
.app-content .empty-message,
.app-content .client-status-card,
.app-content .client-action-grid a,
.app-content .client-action-grid article,
.app-content .locked-product-card,
.app-content .model-picker-card,
.app-content .user-model-panel,
.app-content .style-preview,
.app-content .style-columns article,
.app-content .section-editor,
.app-content .workspace-overview,
.app-content .workspace-meta article,
.app-content .workspace-steps li,
.app-content .save-publish-guide,
.app-content .workspace-empty,
.app-content .publish-workspace,
.app-content .publish-actions,
.app-content .plan-workspace,
.app-content .payment-workspace,
.app-content .payment-blank-sheet,
.app-content .support-form,
.app-content .support-channels,
.app-content .support-history,
.app-content .workspace-rule {
  background: #fff;
  color: #10253f;
}

.app-content .security-retention-note {
  border-left-color: #168082;
}

.app-content .save-publish-guide {
  border: 1px solid #cfd9e5;
  border-radius: 8px;
}

.app-content .workspace-rule {
  border: 1px solid #cfe0e2;
  border-left: 4px solid #168082;
  border-radius: 8px;
}

.app-content .security-pagination,
.app-content .admin-pagination {
  color: #dce6f2;
}

.app-content .admin-detail-section {
  border-top-color: #40526a;
}

.app-content .admin-danger-zone {
  border-top-color: #bf7474;
}

.app-nav-separator {
  display: block;
  height: 1px;
  margin: 12px 12px 4px;
  background: rgba(255, 255, 255, .14);
}

.user-step-head {
  align-items: flex-end;
}

.user-step-layout {
  display: grid;
  grid-template-columns: minmax(425px, 650px) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.user-step-card,
.user-step-copy {
  border: 1px solid #ced9e7;
  border-radius: 12px;
  background: #fff;
  color: #10253f;
  box-shadow: 0 16px 34px rgba(15, 37, 63, .08);
}

.user-step-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.user-step-card-compact {
  align-content: start;
}

.user-step-card h2,
.user-step-copy h2 {
  margin: 0;
  color: #10253f;
  letter-spacing: 0;
}

.user-step-card > p,
.user-step-copy p {
  margin: 0;
  color: #52677e;
  line-height: 1.6;
}

.user-step-card label {
  display: grid;
  gap: 8px;
  color: #273f59;
  font-size: 15px;
  font-weight: 900;
}

.user-step-card input,
.user-step-card select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #aebed0;
  border-radius: 8px;
  background: #fff;
  color: #10253f;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.user-step-card input[readonly],
.user-readonly-field {
  background: #f1f5f9;
  color: #40566d;
}

.user-step-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.user-step-inline.is-other-niche {
  grid-template-columns: minmax(0, 1fr) minmax(190px, .72fr);
}

.user-step-inline [data-other-niche-field][hidden] {
  display: none !important;
}

.user-edit-row.has-edit-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.user-edit-row.has-edit-toggle > label,
.user-edit-row.has-edit-toggle > .user-step-inline {
  min-width: 0;
}

.user-edit-row.has-edit-toggle .user-edit-toggle {
  min-width: 74px;
  min-height: 48px;
  padding-right: 10px;
  padding-left: 10px;
  white-space: nowrap;
}

.user-edit-row.has-edit-toggle.is-editing {
  grid-template-columns: minmax(0, 1fr) auto;
}

.user-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.user-step-actions form {
  margin: 0;
}

.user-step-actions .btn,
.user-step-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.user-step-layout .btn,
.user-step-layout button.btn {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.user-step-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.user-step-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(241, 247, 252, .94)),
    radial-gradient(circle at top right, rgba(22, 75, 143, .14), transparent 38%);
}

.user-step-copy span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf4f4;
  color: #0b6f72;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-step-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.user-step-copy p {
  max-width: 780px;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
}

.user-step-copy strong {
  color: #0d3558;
}

.user-step-table {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  overflow: hidden;
  border: 1px solid #d6e0eb;
  border-radius: 10px;
}

.user-step-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
}

.user-step-table div + div {
  border-top: 1px solid #dfe7ef;
}

.user-step-table dt,
.user-step-table dd {
  margin: 0;
}

.user-step-table dt {
  color: #607389;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-step-table dd {
  color: #10253f;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.user-publish-dates {
  margin-top: 2px;
}

.workspace-rule-warning {
  border-color: #d57b1a !important;
  background: #fff7e8 !important;
  color: #5d3608 !important;
}

.user-product-layout {
  grid-template-columns: minmax(550px, 850px) minmax(360px, 1fr);
}

.user-final-summary {
  margin-top: 8px;
}

.user-final-summary div {
  grid-template-columns: 180px minmax(0, 1fr);
}

.user-action-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.user-action-row {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d6e0eb;
  border-radius: 10px;
  background: #f8fbfd;
}

.user-action-row form {
  margin: 0;
}

.user-action-row .btn,
.user-action-row button {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  white-space: nowrap;
}

.user-action-row p {
  margin: 0;
  color: #40566d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.app-content .user-step-card,
.app-content .user-step-copy {
  background-color: #fff;
  color: #10253f;
}

.app-content .user-step-layout .user-step-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .2);
  background-color: #10253f;
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .28);
}

.user-step-layout-step-01 .user-step-copy {
  background-image:
    linear-gradient(135deg, rgba(3, 12, 25, .84), rgba(10, 63, 96, .58)),
    url("../img/user_steps/paso-01-modelo-tema.png");
}

.user-step-layout-step-02 .user-step-copy {
  background-image:
    linear-gradient(135deg, rgba(3, 17, 31, .86), rgba(13, 96, 101, .56)),
    url("../img/user_steps/paso-02-datos-negocio.png");
}

.user-step-layout-step-03 .user-step-copy {
  background-image:
    linear-gradient(135deg, rgba(5, 13, 29, .86), rgba(27, 67, 130, .58)),
    url("../img/user_steps/paso-03-edicion-web.png");
}

.user-step-layout-step-04 .user-step-copy {
  background-image:
    linear-gradient(135deg, rgba(4, 15, 30, .84), rgba(168, 82, 12, .54)),
    url("../img/user_steps/paso-04-publicacion.png");
}

.app-content .user-step-layout .user-step-copy h2,
.app-content .user-step-layout .user-step-copy p,
.app-content .user-step-layout .user-step-copy strong {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .62);
}

.app-content .user-step-layout .user-step-copy span {
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .9);
  color: #0b5961;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

@media (max-width: 1180px) {
  .user-step-layout {
    grid-template-columns: 1fr;
  }

  .user-step-copy p {
    font-size: 20px;
  }
}

@media (max-width: 620px) {
  .user-action-row,
  .user-final-summary div {
    grid-template-columns: 1fr;
  }

  .user-action-row .btn,
  .user-action-row button {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .app-main {
    padding: 0;
  }

  .app-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    gap: 12px;
    padding: 12px 16px;
  }

  .app-topbar p {
    grid-column: 1;
    text-align: left;
  }

  .topbar-logout {
    grid-column: 2;
    min-height: 38px;
    padding: 0 11px;
  }

  .app-content {
    padding: 22px 16px;
  }

  .user-step-inline,
  .user-edit-row.has-edit-toggle,
  .user-step-table div {
    grid-template-columns: 1fr;
  }
}

/* Admin dashboard comercial */
.dashboard-page-head {
  margin-bottom: 20px;
}

.dashboard-kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.dashboard-kpi-grid article {
  min-height: 126px;
  border-color: #cfdae7;
  box-shadow: 0 12px 28px rgba(4, 17, 35, .12);
}

.dashboard-kpi-grid span {
  min-height: 42px;
  color: #4b5f77;
  font-size: 15px;
  line-height: 1.35;
}

.dashboard-kpi-grid strong {
  margin-top: 5px;
  color: #123f78;
  font-size: 36px;
}

.dashboard-kpi-grid small,
.dashboard-kpi-grid em {
  display: block;
  margin-top: 7px;
  color: #5b6f86;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.dashboard-kpi-grid progress {
  width: 100%;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #dfe8f1;
  accent-color: #19725c;
}

.dashboard-storage-kpi.is-warning,
.dashboard-capacity-kpi.is-warning {
  border-color: #d89224;
  background: #fff9ec;
}

.dashboard-storage-kpi.is-warning progress,
.dashboard-capacity-kpi.is-warning progress {
  accent-color: #d17a0f;
}

.dashboard-storage-kpi.is-critical,
.dashboard-storage-kpi.is-full,
.dashboard-capacity-kpi.is-critical,
.dashboard-capacity-kpi.is-full {
  border-color: #c34c55;
  background: #fff2f3;
}

.dashboard-storage-kpi.is-critical progress,
.dashboard-storage-kpi.is-full progress,
.dashboard-capacity-kpi.is-critical progress,
.dashboard-capacity-kpi.is-full progress {
  accent-color: #b42330;
}

/* Registro administrativo de subdominios */
.admin-subdomain-kpis {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-subdomain-kpis small {
  display: block;
  margin-top: 6px;
  color: #587087;
  font-weight: 800;
}

.admin-subdomain-note {
  margin-bottom: 18px;
}

.admin-subdomain-note h2 {
  color: #102a43;
  font-size: 20px;
}

.admin-subdomain-note p {
  max-width: 980px;
  margin: 0;
  color: #4a6279;
  line-height: 1.55;
}

.admin-subdomain-table {
  min-width: 1500px;
}

.admin-subdomain-table td {
  vertical-align: middle;
}

.admin-subdomain-table td:nth-child(5),
.admin-subdomain-table td:nth-child(6) {
  min-width: 300px;
}

.admin-subdomain-open {
  display: inline-flex;
  margin-top: 7px;
  color: #0c5f92;
  font-size: 12px;
  font-weight: 900;
}

.admin-domain-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e6edf5;
  color: #314d68;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-domain-status.is-active {
  background: #dcf6ea;
  color: #087451;
}

.admin-domain-status.is-reserved,
.admin-domain-status.is-pending {
  background: #fff0d8;
  color: #8e5208;
}

.admin-domain-status.is-released,
.admin-domain-status.is-failed {
  background: #f4dfe2;
  color: #962f3a;
}

.admin-subdomain-form {
  display: grid;
  gap: 9px;
}

.admin-subdomain-form label {
  display: grid;
  gap: 5px;
  color: #415a72;
  font-size: 11px;
  font-weight: 900;
}

.admin-subdomain-form input {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid #aebed0;
  border-radius: 7px;
  color: #10253f;
  font: inherit;
}

.admin-subdomain-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-subdomain-input-row input {
  border-radius: 7px 0 0 7px;
}

.admin-subdomain-input-row b {
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 0 7px 7px 0;
  background: #102a43;
  color: #fff;
  font-size: 12px;
}

.admin-subdomain-empty {
  color: #708298;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-report-section {
  min-width: 0;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #cfdae7;
  border-radius: 12px;
  background: #fff;
  color: #10253f;
  box-shadow: 0 16px 34px rgba(3, 15, 31, .13);
}

.dashboard-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-section-head h2 {
  margin: 5px 0 5px;
  color: #10253f;
  font-size: 24px;
  line-height: 1.2;
}

.dashboard-section-head p {
  max-width: 780px;
  margin: 0;
  color: #53677e;
  font-size: 15px;
  line-height: 1.5;
}

.dashboard-eyebrow {
  color: #b5670d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-mini-card {
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #d3deea;
  border-radius: 10px;
  background: #f6f9fc;
}

.dashboard-mini-card-primary {
  border-color: #2f5f98;
  background: #153d6c;
  color: #fff;
}

.dashboard-mini-card span,
.dashboard-mini-card small {
  display: block;
  color: #53677e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.dashboard-mini-card-primary span,
.dashboard-mini-card-primary small {
  color: #dce9f7;
}

.dashboard-mini-card strong {
  display: block;
  margin-top: 8px;
  color: #123f78;
  font-size: 30px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dashboard-mini-card-primary strong {
  color: #fff;
}

.dashboard-mini-card small {
  margin-top: 7px;
}

.dashboard-ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-ranking-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d3deea;
  border-radius: 10px;
  background: #f7f9fc;
}

.dashboard-ranking-card header {
  padding: 16px 17px;
  border-bottom: 1px solid #d3deea;
  background: #eaf1f8;
}

.dashboard-ranking-card header span {
  color: #b5670d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-ranking-card h3 {
  margin: 4px 0 0;
  color: #10253f;
  font-size: 20px;
}

.dashboard-ranking-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-ranking-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 13px 16px;
}

.dashboard-ranking-list li + li {
  border-top: 1px solid #dce4ed;
}

.dashboard-ranking-list strong,
.dashboard-ranking-list span {
  display: block;
}

.dashboard-ranking-list strong {
  color: #17314e;
  font-size: 15px;
  line-height: 1.35;
}

.dashboard-ranking-list span {
  margin-top: 4px;
  color: #5c7087;
  font-size: 14px;
  line-height: 1.35;
}

.dashboard-ranking-list b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #153d6c;
  color: #fff;
  font-size: 17px;
}

.dashboard-empty-state {
  margin: 0;
  padding: 20px 17px;
  color: #5c7087;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.dashboard-section-head-with-filter {
  align-items: end;
}

.dashboard-year-filter {
  display: grid;
  grid-template-columns: auto 120px;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.dashboard-year-filter label {
  color: #314b68;
  font-size: 15px;
  font-weight: 900;
}

.dashboard-year-filter select {
  min-height: 43px;
  padding: 7px 11px;
  border: 1px solid #9fb1c4;
  border-radius: 8px;
  background: #fff;
  color: #10253f;
  font: inherit;
  font-weight: 800;
}

.dashboard-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #d3deea;
  border-radius: 10px;
}

.dashboard-table-scroll::-webkit-scrollbar {
  height: 12px;
}

.dashboard-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #91a6ba;
}

.dashboard-report-table {
  width: 100%;
  min-width: 1390px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #10253f;
  font-size: 14px;
}

.dashboard-report-table th,
.dashboard-report-table td {
  min-width: 78px;
  padding: 13px 10px;
  border-right: 1px solid #dce4ed;
  border-bottom: 1px solid #dce4ed;
  text-align: center;
  white-space: nowrap;
}

.dashboard-report-table tr:last-child th,
.dashboard-report-table tr:last-child td {
  border-bottom: 0;
}

.dashboard-report-table th:last-child,
.dashboard-report-table td:last-child {
  border-right: 0;
}

.dashboard-report-table thead th {
  background: #173b68;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-report-table thead th:first-child,
.dashboard-report-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 230px;
  text-align: left;
}

.dashboard-report-table thead th:first-child {
  z-index: 3;
}

.dashboard-report-table thead span,
.dashboard-report-table thead small {
  display: block;
}

.dashboard-report-table thead small {
  margin-top: 3px;
  color: #dbe8f6;
  font-size: 12px;
}

.dashboard-report-table tbody th {
  background: #f3f7fb;
  color: #203b59;
  font-size: 14px;
}

.dashboard-report-table tbody td {
  font-size: 15px;
  font-weight: 800;
}

.dashboard-report-table .dashboard-total-cell {
  background: #e9f1f9;
  color: #123f78;
  font-weight: 900;
}

.dashboard-conversion-row th,
.dashboard-conversion-row td {
  background: #f8f3e8;
}

.dashboard-conversion-row th {
  z-index: 2;
}

.dashboard-product-row-paid th,
.dashboard-product-row-paid td {
  background: #eef8f2;
}

.dashboard-report-note {
  margin: 13px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #168082;
  border-radius: 7px;
  background: #edf8f8;
  color: #36566a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.dashboard-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.dashboard-compact-table {
  min-width: 560px;
}

.dashboard-compact-table thead th:first-child,
.dashboard-compact-table tbody th {
  min-width: 130px;
}

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

.dashboard-operation-grid a,
.dashboard-operation-grid article {
  display: grid;
  align-content: space-between;
  min-height: 104px;
  padding: 14px;
  border: 1px solid #d3deea;
  border-radius: 9px;
  background: #f6f9fc;
  color: #10253f;
  text-decoration: none;
}

.dashboard-operation-grid a {
  border-color: #c9a260;
  background: #fff8e9;
}

.dashboard-operation-grid a:hover,
.dashboard-operation-grid a:focus-visible {
  border-color: #cf790d;
  box-shadow: 0 0 0 3px rgba(207, 121, 13, .14);
  outline: 0;
}

.dashboard-operation-grid span {
  color: #455d77;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.dashboard-operation-grid strong {
  margin-top: 8px;
  color: #123f78;
  font-size: 29px;
}

@media (max-width: 1450px) {
  .dashboard-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-ranking-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-ranking-card {
    display: grid;
    grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  }

  .dashboard-ranking-card header {
    border-right: 1px solid #d3deea;
    border-bottom: 0;
  }

  .dashboard-ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-ranking-list li + li {
    border-top: 0;
  }

  .dashboard-ranking-list li {
    border-bottom: 1px solid #dce4ed;
  }
}

@media (max-width: 1180px) {
  .dashboard-mini-grid,
  .dashboard-operation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-section-head,
  .dashboard-section-head-with-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-year-filter {
    grid-template-columns: 1fr;
  }

  .dashboard-ranking-card {
    grid-template-columns: 1fr;
  }

  .dashboard-ranking-card header {
    border-right: 0;
    border-bottom: 1px solid #d3deea;
  }

  .dashboard-ranking-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-kpi-grid,
  .dashboard-mini-grid,
  .dashboard-operation-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-report-section {
    padding: 17px;
  }

  .dashboard-section-head h2 {
    font-size: 21px;
  }
}
/* Control central de clientes */
.admin-control-head {
  margin-bottom: 18px;
}

.admin-control-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-control-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #cbd8e8;
  border-radius: 9px;
  background: #fff;
  color: #17355b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.admin-control-tabs a.is-active {
  border-color: #173f72;
  background: #173f72;
  color: #fff;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-control-panel {
  max-width: 980px;
}

.admin-control-list {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.admin-control-list div {
  display: grid;
  grid-template-columns: minmax(150px, .4fr) minmax(0, 1fr);
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #dbe4ef;
}

.admin-control-list dt {
  color: #536a85;
  font-weight: 800;
}

.admin-control-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #0c2445;
  font-weight: 800;
}

.admin-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-control-form {
  display: grid;
  gap: 12px;
}

.admin-control-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.admin-control-form input {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #b9c9dd;
  border-radius: 8px;
}

.admin-control-feed {
  display: grid;
  gap: 10px;
}

.admin-control-feed p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 11px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
}

.admin-control-feed span {
  color: #536a85;
  font-size: 12px;
}

.user-catalog-workspaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.user-catalog-workspaces article {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  border: 1px solid #cbd9e9;
  border-radius: 12px;
  background: #f6f9fc;
}

.user-catalog-workspaces article > span {
  color: #1d6f78;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.user-catalog-workspaces h3,
.user-catalog-workspaces p {
  margin: 0;
}

.user-catalog-workspaces p {
  min-height: 54px;
  color: #52667f;
  line-height: 1.5;
}

.user-catalog-workspaces .btn {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 900px) {
  .admin-control-grid {
    grid-template-columns: 1fr;
  }

  .user-catalog-workspaces {
    grid-template-columns: 1fr;
  }
}
