/* Public customer auth and onboarding experience.
   Owns /login, /register, verification, and setup pages. */

:root {
  --cx-bg: #f7f8fa;
  --cx-surface: #ffffff;
  --cx-text: #111827;
  --cx-muted: #667085;
  --cx-border: rgba(17, 24, 39, 0.10);
  --cx-shadow: 0 22px 70px rgba(17, 24, 39, 0.08);
  --cx-green: #176a37;
  --cx-green-soft: #eaf7ed;
  --cx-gold: #b98210;
  --cx-error: #b42318;
  --cx-error-bg: #fff1f0;
  --cx-info-bg: #edf4ff;
}

body.mhk-customer-flow {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(23, 106, 55, 0.08), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--cx-bg) 62%, #eef3f0 100%);
  color: var(--cx-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.mhk-customer-flow .mhk-account-menu {
  position: relative;
}

.mhk-customer-flow .mhk-account-icon-link {
  min-height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cx-text);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 720;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  cursor: pointer;
}

.mhk-customer-flow .mhk-account-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 106, 55, 0.16), rgba(23, 106, 55, 0.06));
  border: 1px solid rgba(23, 106, 55, 0.24);
  position: relative;
  flex: 0 0 auto;
}

.mhk-customer-flow .mhk-account-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cx-green);
}

.mhk-customer-flow .mhk-account-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 4px;
  width: 10px;
  height: 5px;
  border-radius: 999px 999px 5px 5px;
  background: var(--cx-green);
}

.mhk-customer-flow .mhk-account-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--cx-green);
}

.mhk-customer-flow .mhk-account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 7px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.14);
  display: none;
  z-index: 80;
}

.mhk-customer-flow .mhk-account-menu.open .mhk-account-menu-panel {
  display: grid;
  gap: 4px;
}

.mhk-customer-flow .mhk-account-menu-panel a {
  min-height: 40px;
  border-radius: 13px;
  color: var(--cx-text);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 720;
}

.mhk-customer-flow .mhk-account-menu-panel a:hover {
  background: var(--cx-green-soft);
  color: var(--cx-green);
}

.mhk-edit-side-nav {
  display: none;
}

body.mhk-edit-surface .mhk-edit-side-nav {
  position: fixed;
  left: 18px;
  top: 96px;
  width: 196px;
  z-index: 35;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.035);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 2px;
  transition: width 160ms ease;
}

body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-side-nav {
  width: 196px;
}

.mhk-edit-nav-toggle,
.mhk-edit-nav-link {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #344054;
  background: transparent;
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.mhk-edit-nav-toggle {
  min-height: 36px;
  color: #667085;
  font-weight: 650;
}

.mhk-edit-nav-link:hover {
  background: rgba(17, 24, 39, 0.035);
  color: #111827;
}

.mhk-edit-nav-link.active {
  position: relative;
  background: rgba(23, 106, 55, 0.08);
  color: var(--cx-green);
  border-color: transparent;
}

.mhk-edit-nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--cx-green);
}

.mhk-edit-nav-icon,
.mhk-edit-nav-toggle-lines {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.16);
  color: var(--cx-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  font-weight: 800;
}

.mhk-edit-nav-link.active .mhk-edit-nav-icon,
.mhk-edit-nav-primary .mhk-edit-nav-icon {
  background: var(--cx-green);
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.08);
}

.mhk-edit-nav-toggle-lines {
  width: 16px;
  height: 12px;
  border-radius: 0;
  background: transparent;
}

.mhk-edit-nav-toggle-lines::before {
  content: "";
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: 0 4px 0 currentColor;
}

.mhk-edit-nav-group-label {
  margin: 10px 9px 3px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-label {
  opacity: 1;
  width: auto;
  overflow: visible;
}

body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-toggle,
body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-link {
  grid-template-columns: 18px 1fr;
  justify-content: stretch;
}

.mhk-edit-horse-nav-form {
  appearance: none;
  width: 100%;
}

.mhk-edit-horse-nav-form .mhk-edit-nav-label {
  align-self: end;
  line-height: 1;
}

.mhk-edit-horse-select {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  min-height: 22px;
  margin-top: -3px;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cx-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  outline: none;
  color-scheme: light;
  cursor: pointer;
}

.mhk-edit-horse-nav-form.active .mhk-edit-horse-select,
.mhk-edit-horse-nav-form:hover .mhk-edit-horse-select {
  color: var(--cx-green);
}

body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-horse-select {
  display: block;
}

@media (min-width: 1180px) {
  body.mhk-edit-surface .mhk-page {
    padding-left: 228px;
    transition: padding-left 160ms ease;
  }

  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-page {
    padding-left: 228px;
  }
}

@media (max-width: 1179px) {
  body.mhk-edit-surface .mhk-edit-side-nav {
    position: sticky;
    top: 0;
    width: min(1040px, calc(100% - 32px));
    margin: 8px auto 0;
    display: flex;
    overflow-x: auto;
    border-radius: 16px;
    gap: 6px;
    scrollbar-width: none;
  }

  body.mhk-edit-surface .mhk-edit-side-nav::-webkit-scrollbar {
    display: none;
  }

  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-side-nav {
    width: min(1040px, calc(100% - 32px));
  }

  body.mhk-edit-surface .mhk-edit-nav-toggle,
  body.mhk-edit-surface .mhk-edit-nav-group-label {
    display: none;
  }

  body.mhk-edit-surface .mhk-edit-nav-link,
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-link {
    grid-template-columns: 8px max-content;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
  }

  body.mhk-edit-surface .mhk-edit-horse-nav-form,
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-horse-nav-form {
    grid-template-columns: 8px minmax(118px, max-content);
    flex: 0 0 auto;
    min-width: 170px;
  }

  body.mhk-edit-surface .mhk-edit-horse-select,
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-horse-select {
    display: block;
    font-size: 12px;
    max-width: 132px;
  }

  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-label {
    opacity: 1;
    width: auto;
  }
}

@media (max-width: 700px) {
  body.mhk-edit-surface .mhk-edit-side-nav {
    position: sticky;
    top: 0;
    width: min(100% - 28px, 520px);
    margin: 8px auto 0;
    padding: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    overflow: visible;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.035);
    backdrop-filter: blur(16px);
  }

  body.mhk-edit-surface .mhk-edit-nav-toggle,
  body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle,
  body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle:not(.btn-primary) {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    min-width: 82px;
    padding: 0 12px;
    grid-template-columns: 14px max-content;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #344054;
    box-shadow: none;
  }

  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-side-nav .mhk-edit-nav-link:not(.active),
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-side-nav .mhk-edit-horse-nav-form:not(.active),
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-side-nav .mhk-edit-nav-group-label {
    display: none;
  }

  /* mobile owner-settings nav closed state: show current section plus Menu only. */
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-nav-link.active,
  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-horse-nav-form.active {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    min-height: 44px;
    width: 100%;
    min-width: 0;
    grid-template-columns: 8px minmax(0, max-content);
    padding: 0 12px;
    overflow: hidden;
  }

  body.mhk-edit-surface.mhk-edit-nav-collapsed .mhk-edit-horse-nav-form.active .mhk-edit-horse-select {
    display: none;
  }

  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-side-nav {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-nav-toggle {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
  }

  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-nav-group-label {
    display: block;
    margin-top: 8px;
  }

  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-nav-link,
  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-horse-nav-form {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  body.mhk-edit-surface:not(.mhk-edit-nav-collapsed) .mhk-edit-horse-select {
    display: block;
    max-width: 100%;
  }
}

.mhk-customer-flow .mhk-page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 22px 56px;
}

.mhk-customer-header {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mhk-customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.mhk-customer-brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mhk-customer-header-link {
  color: var(--cx-muted);
  font-size: 14px;
  font-weight: 600;
}

.mhk-customer-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mhk-customer-horse-switch-form {
  margin: 0;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown {
  width: 238px !important;
  min-width: 238px !important;
  position: relative !important;
  z-index: 50 !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-button {
  min-height: 42px !important;
  height: 42px !important;
  width: 100% !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--cx-text) !important;
  padding: 0 42px 0 16px !important;
  font-size: 14px !important;
  font-weight: 720 !important;
  text-align: left !important;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08) !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-button:hover,
.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown[data-open="true"] .mhk-horse-dropdown-button {
  border-color: rgba(23, 106, 55, 0.30) !important;
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.08), 0 12px 30px rgba(17, 24, 39, 0.10) !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-caret {
  border-top-color: var(--cx-green) !important;
  right: 17px !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-menu {
  top: calc(100% + 8px) !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.14) !important;
  padding: 7px !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-option {
  min-height: 40px !important;
  border-radius: 13px !important;
  background: transparent !important;
  color: var(--cx-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-option:hover {
  background: var(--cx-green-soft) !important;
  border-color: rgba(23, 106, 55, 0.12) !important;
  color: var(--cx-green) !important;
}

.mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown-option.active {
  background: var(--cx-green-soft) !important;
  border-color: rgba(23, 106, 55, 0.18) !important;
  color: var(--cx-green) !important;
}

@media (max-width: 680px) {
  .mhk-customer-header {
    align-items: flex-start;
  }

  .mhk-customer-header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .mhk-customer-flow .mhk-customer-header .mhk-horse-dropdown {
    width: min(220px, 52vw) !important;
    min-width: min(220px, 52vw) !important;
  }
}

.mhk-customer-flow .mhk-login-page,
.mhk-customer-flow .mhk-register-page,
.mhk-customer-flow .mhk-account-page,
.mhk-customer-flow .mhk-overview-page,
.mhk-customer-flow .mhk-horse-page,
.mhk-customer-flow .mhk-connectivity-page,
.mhk-customer-flow .mhk-camera-page,
.mhk-customer-flow .mhk-complete-page {
  width: 100%;
  min-height: calc(100vh - 142px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mhk-customer-flow .mhk-login-card,
.mhk-customer-flow .mhk-register-card,
.mhk-customer-flow .onboard-card,
.mhk-customer-flow .connectivity-card,
.mhk-customer-flow .mhk-camera-card,
.mhk-customer-flow .poly-dark-shell,
.mhk-customer-flow .mhk-complete-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--cx-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--cx-shadow);
  color: var(--cx-text);
}

.mhk-customer-flow .mhk-login-card,
.mhk-customer-flow .mhk-register-card {
  width: min(100%, 520px);
}

.mhk-customer-flow .mhk-camera-card,
.mhk-customer-flow .poly-dark-shell {
  width: min(100%, 980px);
}

.mhk-customer-flow .auth-title,
.mhk-customer-flow .onboard-title,
.mhk-customer-flow .connectivity-title {
  margin: 0;
  color: var(--cx-text);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 760;
}

.mhk-customer-flow .auth-subtitle,
.mhk-customer-flow .onboard-sub,
.mhk-customer-flow .connectivity-subtitle {
  margin: 12px 0 0;
  color: var(--cx-muted);
  font-size: 16px;
  line-height: 1.55;
}

.mhk-customer-flow .mhk-register-kicker,
.mhk-customer-flow .mhk-kicker {
  margin: 0 0 10px;
  color: var(--cx-green);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mhk-customer-flow form {
  margin-top: 24px;
}

.mhk-customer-flow .form-row,
.mhk-customer-flow .auth-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mhk-customer-flow .form-row {
  margin-top: 16px;
}

.mhk-customer-flow .auth-label,
.mhk-customer-flow .form-label {
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 680;
}

.mhk-customer-flow .auth-input,
.mhk-customer-flow .form-input,
.mhk-customer-flow input[type="text"],
.mhk-customer-flow input[type="email"],
.mhk-customer-flow input[type="password"],
.mhk-customer-flow input[type="tel"],
.mhk-customer-flow input[type="date"],
.mhk-customer-flow select,
.mhk-customer-flow textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--cx-border);
  border-radius: 16px;
  background: #fff;
  color: var(--cx-text);
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.02);
}

.mhk-customer-flow input:focus,
.mhk-customer-flow select:focus,
.mhk-customer-flow textarea:focus {
  border-color: rgba(23, 106, 55, 0.42);
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.10);
}

.mhk-customer-flow input[readonly],
.mhk-customer-flow select:disabled {
  background: #f2f4f3;
  color: #8a938e;
}

.mhk-customer-flow .auth-button,
.mhk-customer-flow .btn-primary,
.mhk-customer-flow button.btn-primary {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--cx-green);
  color: #fff;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 740;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(23, 106, 55, 0.20);
  text-align: center;
}

.mhk-customer-flow .btn-secondary,
.mhk-customer-flow .mhk-secondary-btn,
.mhk-customer-flow .mhk-link-btn {
  min-height: 44px;
  border: 1px solid var(--cx-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cx-text);
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mhk-customer-flow .auth-footer-links,
.mhk-customer-flow .mhk-register-actions,
.mhk-customer-flow .mhk-complete-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mhk-customer-flow .auth-footer-links a {
  color: var(--cx-green);
  font-weight: 700;
}

.mhk-customer-flow .auth-flashes,
.mhk-customer-flow .mhk-register-error,
.mhk-customer-flow .status-message,
.mhk-customer-flow .status-error,
.mhk-customer-flow .status-card,
.mhk-customer-flow .mhk-complete-note {
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 18px;
  background: var(--cx-error-bg);
  color: var(--cx-error);
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.45;
}

.mhk-customer-flow .flash {
  color: inherit;
}

.mhk-customer-flow .status-card,
.mhk-customer-flow .mhk-overview-block,
.mhk-customer-flow .mhk-overview-callout,
.mhk-customer-flow .mhk-camera-summary,
.mhk-customer-flow .mhk-camera-slot-card,
.mhk-customer-flow .poly-intro-card,
.mhk-customer-flow .mhk-complete-field,
.mhk-customer-flow .mhk-complete-camera-section,
.mhk-customer-flow .mhk-camera-objective-callout {
  border: 1px solid var(--cx-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--cx-text);
  box-shadow: none;
}

.mhk-customer-flow .mhk-overview-block,
.mhk-customer-flow .mhk-overview-callout,
.mhk-customer-flow .mhk-camera-summary,
.mhk-customer-flow .mhk-camera-slot-card,
.mhk-customer-flow .poly-intro-card,
.mhk-customer-flow .mhk-complete-camera-section,
.mhk-customer-flow .mhk-camera-objective-callout {
  padding: 16px;
  margin-top: 18px;
}

.mhk-customer-flow .status-card {
  margin-top: 14px;
}

.mhk-customer-flow .status-title,
.mhk-customer-flow .mhk-overview-block-title,
.mhk-customer-flow .mhk-camera-summary-title,
.mhk-customer-flow .mhk-camera-title,
.mhk-customer-flow .poly-intro-title,
.mhk-customer-flow .mhk-complete-value {
  color: var(--cx-text);
  font-weight: 740;
}

.mhk-customer-flow .status-help,
.mhk-customer-flow .meta-line,
.mhk-customer-flow .mhk-camera-summary-stats,
.mhk-customer-flow .mhk-camera-summary-note,
.mhk-customer-flow .mhk-camera-meta,
.mhk-customer-flow .poly-intro-text,
.mhk-customer-flow .mhk-overview-list,
.mhk-customer-flow .mhk-overview-footnote {
  color: var(--cx-muted);
}

.mhk-customer-flow .status-badge,
.mhk-customer-flow .status-green,
.mhk-customer-flow .mhk-camera-detected {
  border-radius: 999px;
  background: var(--cx-green-soft);
  color: var(--cx-green);
  border: 1px solid rgba(23, 106, 55, 0.12);
}

.mhk-customer-flow .mhk-overview-submit-row,
.mhk-customer-flow .mhk-horse-submit-row,
.mhk-customer-flow .mhk-camera-submit-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mhk-customer-flow .mhk-overview-submit-row > *,
.mhk-customer-flow .mhk-horse-submit-row > *,
.mhk-customer-flow .mhk-camera-submit-row > * {
  min-width: 0;
}

.mhk-customer-flow .mhk-complete-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mhk-customer-flow .mhk-complete-field {
  padding: 14px;
}

.mhk-customer-flow .poly-page-hero,
.mhk-customer-flow .poly-device-actions,
.mhk-customer-flow .poly-intro-grid,
.mhk-customer-flow .mhk-camera-slot-body {
  display: grid;
  gap: 16px;
}

.mhk-customer-flow .mhk-camera-slot-body {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
}

.mhk-customer-flow .mhk-stage-frame,
.mhk-customer-flow .mhk-camera-shot-button {
  border-color: var(--cx-border);
  background: #f3f5f4;
}

@media (max-width: 720px) {
  .mhk-customer-header {
    width: min(100% - 24px, 1040px);
    padding-top: 16px;
  }

  .mhk-customer-flow .mhk-page {
    padding: 18px 12px 36px;
  }

  .mhk-customer-flow .mhk-login-card,
  .mhk-customer-flow .mhk-register-card,
  .mhk-customer-flow .onboard-card,
  .mhk-customer-flow .connectivity-card,
  .mhk-customer-flow .mhk-camera-card,
  .mhk-customer-flow .poly-dark-shell,
  .mhk-customer-flow .mhk-complete-card {
    border-radius: 24px;
    padding: 22px;
  }

  .mhk-customer-flow .mhk-overview-submit-row,
  .mhk-customer-flow .mhk-horse-submit-row,
  .mhk-customer-flow .mhk-camera-submit-row,
  .mhk-customer-flow .mhk-complete-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mhk-customer-flow .auth-button,
  .mhk-customer-flow .btn-primary,
  .mhk-customer-flow .btn-secondary,
  .mhk-customer-flow .mhk-secondary-btn,
  .mhk-customer-flow .mhk-link-btn {
    width: 100%;
  }

  .mhk-customer-flow .mhk-camera-slot-body,
  .mhk-customer-flow .mhk-complete-grid {
    grid-template-columns: 1fr;
  }
}


/* Win against legacy dark onboarding wrappers in static/styles.css. */
.mhk-customer-flow .mhk-login-page,
.mhk-customer-flow .mhk-register-page,
.mhk-customer-flow .mhk-account-page,
.mhk-customer-flow .mhk-overview-page,
.mhk-customer-flow .mhk-horse-page,
.mhk-customer-flow .mhk-connectivity-page,
.mhk-customer-flow .mhk-camera-page,
.mhk-customer-flow .mhk-complete-page,
.mhk-customer-flow .poly-setup-page {
  background: transparent !important;
  padding: 0 !important;
}

.mhk-customer-flow .mhk-login-card,
.mhk-customer-flow .mhk-register-card,
.mhk-customer-flow .mhk-account-card,
.mhk-customer-flow .mhk-overview-card,
.mhk-customer-flow .mhk-horse-card,
.mhk-customer-flow .connectivity-card,
.mhk-customer-flow .mhk-camera-card,
.mhk-customer-flow .poly-dark-shell,
.mhk-customer-flow .mhk-complete-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--cx-border) !important;
  box-shadow: var(--cx-shadow) !important;
}


.mhk-customer-flow .mhk-setup-status-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 0;
}

.mhk-customer-flow .mhk-setup-status-card {
  border: 1px solid var(--cx-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.mhk-customer-flow .mhk-setup-phase-label,
.mhk-customer-flow .mhk-setup-progress-caption {
  color: var(--cx-muted);
  font-weight: 700;
}

.mhk-customer-flow .mhk-setup-progress-rail {
  background: rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .mhk-setup-progress-fill {
  background: linear-gradient(90deg, rgba(185, 130, 16, 0.28), rgba(23, 106, 55, 0.28));
}

.mhk-customer-flow .mhk-setup-progress-active {
  background: linear-gradient(90deg, rgba(185, 130, 16, 0.82), rgba(23, 106, 55, 0.62));
  box-shadow: 0 0 16px rgba(185, 130, 16, 0.25);
}

.mhk-customer-flow .mhk-setup-progress-pin {
  background: var(--cx-green);
  box-shadow: 0 0 0 5px rgba(23, 106, 55, 0.14);
}

.mhk-customer-flow .mhk-overview-device-summary {
  border: 1px solid var(--cx-border) !important;
  background: var(--cx-info-bg) !important;
  color: var(--cx-muted) !important;
  border-radius: 18px !important;
}

.mhk-customer-flow .mhk-overview-device-summary > div:first-child {
  color: var(--cx-text) !important;
}

.mhk-customer-flow .mhk-share-page {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 28px 18px 72px;
  display: grid;
  gap: 18px;
}

.mhk-customer-flow .mhk-share-card {
  border: 1px solid var(--cx-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cx-shadow);
  padding: clamp(22px, 4vw, 34px);
}

.mhk-customer-flow .mhk-share-hero {
  max-width: 720px;
}

.mhk-customer-flow .mhk-share-hero h1,
.mhk-customer-flow .mhk-share-section-head h2 {
  margin: 0;
  color: var(--cx-text);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 760;
}

.mhk-customer-flow .mhk-share-section-head h2 {
  font-size: clamp(24px, 4vw, 32px);
}

.mhk-customer-flow .mhk-share-hero p,
.mhk-customer-flow .mhk-share-fineprint,
.mhk-customer-flow .mhk-share-row span {
  color: var(--cx-muted);
  font-size: 16px;
  line-height: 1.55;
}

.mhk-customer-flow .mhk-share-hero p {
  margin: 12px 0 0;
}

.mhk-customer-flow .mhk-share-secondary-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--cx-green);
  font-weight: 720;
  text-decoration: none;
}

.mhk-customer-flow .mhk-share-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.mhk-customer-flow .mhk-share-field {
  display: grid;
  gap: 8px;
}

.mhk-customer-flow .mhk-share-field span {
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 700;
}

.mhk-customer-flow .mhk-share-primary {
  min-height: 50px;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--cx-green);
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(23, 106, 55, 0.20);
}

.mhk-customer-flow .mhk-share-note {
  margin-top: 18px;
  border: 1px solid rgba(23, 106, 55, 0.16);
  border-radius: 20px;
  background: var(--cx-green-soft);
  color: #245a36;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
}

.mhk-customer-flow .mhk-share-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mhk-customer-flow .mhk-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--cx-border);
  border-radius: 20px;
  background: #fff;
  padding: 14px 16px;
}

.mhk-customer-flow .mhk-share-row strong,
.mhk-customer-flow .mhk-share-row span {
  display: block;
}

.mhk-customer-flow .mhk-share-row strong {
  color: var(--cx-text);
  font-size: 16px;
}

.mhk-customer-flow .mhk-share-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.mhk-customer-flow .mhk-share-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--cx-info-bg);
  color: #264b7d;
  font-size: 13px;
  font-weight: 760;
}

.mhk-customer-flow .mhk-share-status-accepted {
  background: var(--cx-green-soft);
  color: var(--cx-green);
}

.mhk-customer-flow .mhk-share-status-revoked,
.mhk-customer-flow .mhk-share-status-expired {
  background: #f2f4f7;
  color: var(--cx-muted);
}

.mhk-customer-flow .mhk-share-small-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cx-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cx-text);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.mhk-customer-flow .mhk-share-danger {
  color: var(--cx-error);
  border-color: rgba(180, 35, 24, 0.22);
}

.mhk-customer-flow .mhk-share-empty {
  border: 1px dashed var(--cx-border);
  border-radius: 20px;
  color: var(--cx-muted);
  padding: 18px;
  text-align: center;
}

.mhk-customer-flow .mhk-share-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mhk-customer-flow .mhk-accept-card {
  width: min(100%, 640px);
  margin: 0 auto;
}

@media (max-width: 680px) {
  .mhk-customer-flow .mhk-share-page {
    padding: 18px 14px 52px;
  }

  .mhk-customer-flow .mhk-share-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mhk-customer-flow .mhk-share-row-actions {
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }

  .mhk-customer-flow .mhk-share-row-actions form,
  .mhk-customer-flow .mhk-share-small-button {
    width: 100%;
  }

  .mhk-customer-flow .mhk-share-small-button {
    justify-content: center;
  }

  .mhk-customer-flow .mhk-share-primary {
    width: 100%;
  }

  .mhk-customer-flow .mhk-share-two-col {
    grid-template-columns: 1fr;
  }
}

/* Logout */
.mhk-customer-flow .mhk-logout-page {
  min-height: calc(100svh - 112px);
  display: grid;
  align-items: center;
}

.mhk-customer-flow .mhk-logout-card {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.10);
}

.mhk-customer-flow .mhk-logout-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
}

/* Support Admin Console */
.mhk-customer-flow .mhk-admin-launcher-page {
  min-height: calc(100svh - 112px);
  display: grid;
  align-items: start;
}

.mhk-customer-flow .mhk-admin-launcher-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.10);
}

.mhk-customer-flow .mhk-admin-launcher-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.mhk-customer-flow .mhk-admin-identity {
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #f8faf9;
  color: #111827;
}

.mhk-customer-flow .mhk-admin-identity span,
.mhk-customer-flow .mhk-admin-identity small {
  display: block;
}

.mhk-customer-flow .mhk-admin-identity span {
  font-weight: 760;
}

.mhk-customer-flow .mhk-admin-identity small {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
}

.mhk-customer-flow .mhk-admin-launcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mhk-customer-flow .mhk-admin-launcher-action {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.mhk-customer-flow .mhk-admin-launcher-action:hover {
  border-color: rgba(23, 106, 55, 0.24);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.10);
}

.mhk-customer-flow .mhk-admin-launcher-action strong {
  font-size: 17px;
  letter-spacing: 0;
}

.mhk-customer-flow .mhk-admin-launcher-action span {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.mhk-customer-flow .mhk-admin-launcher-action.primary {
  background: linear-gradient(135deg, rgba(23, 106, 55, 0.10), #ffffff 72%);
  border-color: rgba(23, 106, 55, 0.20);
}

.mhk-customer-flow .mhk-admin-launcher-action.subtle {
  background: #f8faf9;
}

@media (max-width: 760px) {
  .mhk-customer-flow .mhk-admin-launcher-card {
    padding: 24px;
    border-radius: 26px;
  }

  .mhk-customer-flow .mhk-admin-launcher-head {
    display: block;
  }

  .mhk-customer-flow .mhk-admin-identity {
    margin-top: 18px;
  }

  .mhk-customer-flow .mhk-admin-launcher-grid {
    grid-template-columns: 1fr;
  }
}

/* Trial User Insights */
.mhk-customer-flow .mhk-insights-page {
  padding-top: 28px;
}

.mhk-customer-flow .mhk-insights-hero,
.mhk-customer-flow .mhk-insights-panel {
  width: min(100%, 1120px);
  margin: 0 auto 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 54px rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .mhk-insights-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.mhk-customer-flow .mhk-insights-window {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 999px;
  background: #eef4f1;
}

.mhk-customer-flow .mhk-insights-window a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #667085;
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
}

.mhk-customer-flow .mhk-insights-window a.active {
  background: #ffffff;
  color: #176a37;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .mhk-insights-kpis {
  width: min(100%, 1120px);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mhk-customer-flow .mhk-insights-kpi,
.mhk-customer-flow .mhk-insights-detail-row,
.mhk-customer-flow .mhk-insights-attention-row,
.mhk-customer-flow .mhk-insights-message {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  padding: 16px;
}

.mhk-customer-flow .mhk-insights-kpi span,
.mhk-customer-flow .mhk-insights-panel-head p,
.mhk-customer-flow .mhk-insights-detail-row span,
.mhk-customer-flow .mhk-insights-detail-row small,
.mhk-customer-flow .mhk-insights-table small,
.mhk-customer-flow .mhk-insights-message span {
  color: #667085;
}

.mhk-customer-flow .mhk-insights-kpi strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 24px;
  letter-spacing: 0;
}

.mhk-customer-flow .mhk-insights-kpi small {
  display: block;
  margin-top: 8px;
  color: #667085;
  line-height: 1.35;
}

.mhk-customer-flow .mhk-insights-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mhk-customer-flow .mhk-insights-panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
}

.mhk-customer-flow .mhk-insights-panel-head p {
  margin: 6px 0 18px;
}

.mhk-customer-flow .mhk-insights-funnel {
  display: grid;
  gap: 10px;
}

.mhk-customer-flow .mhk-insights-funnel div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .mhk-insights-attention-list,
.mhk-customer-flow .mhk-insights-panel {
  display: grid;
  gap: 12px;
}

.mhk-customer-flow .mhk-insights-attention-row {
  display: block;
  color: #111827;
  text-decoration: none;
}

.mhk-customer-flow .mhk-insights-attention-row span,
.mhk-customer-flow .mhk-insights-attention-row small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.mhk-customer-flow .mhk-insights-table-wrap {
  overflow-x: auto;
}

.mhk-customer-flow .mhk-insights-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.mhk-customer-flow .mhk-insights-table th {
  color: #667085;
  font-size: 12px;
  text-align: left;
  padding: 0 10px;
}

.mhk-customer-flow .mhk-insights-table td {
  background: #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  padding: 14px 10px;
  vertical-align: top;
}

.mhk-customer-flow .mhk-insights-table td:first-child {
  border-left: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px 0 0 16px;
}

.mhk-customer-flow .mhk-insights-table td:last-child {
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0 16px 16px 0;
}

.mhk-customer-flow .mhk-insights-table a {
  color: #176a37;
  font-weight: 760;
}

.mhk-customer-flow .mhk-insights-table small {
  display: block;
  margin-top: 4px;
}

.mhk-customer-flow .mhk-insights-detail-row strong,
.mhk-customer-flow .mhk-insights-detail-row span,
.mhk-customer-flow .mhk-insights-detail-row small {
  display: block;
}

.mhk-customer-flow .mhk-insights-detail-row span {
  margin-top: 5px;
}

.mhk-customer-flow .mhk-insights-detail-row small {
  margin-top: 4px;
}

.mhk-customer-flow .mhk-insights-message div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.mhk-customer-flow .mhk-insights-message p {
  margin: 10px 0 0;
  color: #344054;
  white-space: pre-wrap;
}

.mhk-customer-flow .mhk-insights-message-turn {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #ffffff;
}

.mhk-customer-flow .mhk-insights-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #667085;
  font-size: 14px;
}

.mhk-customer-flow .mhk-insights-message-meta strong {
  color: #176a37;
}

.mhk-customer-flow .mhk-insights-turn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mhk-customer-flow .mhk-insights-turn-grid section {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.mhk-customer-flow .mhk-insights-turn-grid h2 {
  margin: 0 0 8px;
  color: #667085;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mhk-customer-flow .mhk-insights-turn-grid p {
  margin: 0;
  color: #344054;
  white-space: pre-wrap;
}

.mhk-customer-flow .mhk-insights-turn-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.mhk-customer-flow .mhk-insights-turn-details div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(23, 106, 55, 0.06);
}

.mhk-customer-flow .mhk-insights-turn-details dt {
  margin: 0 0 4px;
  color: #667085;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mhk-customer-flow .mhk-insights-turn-details dd {
  margin: 0;
  color: #111827;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.mhk-customer-flow .mhk-insights-muted {
  color: #667085;
}

.mhk-customer-flow .mhk-admin-launcher-action em {
  font-style: normal;
  color: #176a37;
  font-size: 13px;
  font-weight: 760;
}

/* Device Runtime Health: scoped support-admin spot-check dashboard polish. */
.mhk-customer-flow .device-runtime-health-report {
  max-width: 1240px;
  padding-top: 18px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-hero,
.mhk-customer-flow .device-runtime-health-report .mhk-insights-panel,
.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpis {
  width: min(100%, 1200px);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-hero {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(23, 106, 55, 0.08), rgba(255, 255, 255, 0) 44%),
    rgba(255, 255, 255, 0.96);
}

.mhk-customer-flow .device-runtime-health-report .auth-title {
  font-size: clamp(30px, 4vw, 40px);
}

.mhk-customer-flow .device-runtime-health-report .auth-subtitle {
  max-width: 720px;
  font-size: 15px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-window {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #f5f7f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-window a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  line-height: 1;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-window a.active {
  color: #12562d;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.10);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpis {
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 10px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi {
  min-height: 118px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.055);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi:first-child {
  border-color: rgba(23, 106, 55, 0.24);
  background: linear-gradient(135deg, rgba(23, 106, 55, 0.09), #ffffff 68%);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #176a37;
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.10);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi:nth-child(2) span::before {
  background: #235ba6;
  box-shadow: 0 0 0 4px rgba(35, 91, 166, 0.10);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi:nth-child(3) span::before {
  background: #b98210;
  box-shadow: 0 0 0 4px rgba(185, 130, 16, 0.12);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi strong {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.1;
  text-transform: capitalize;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi small {
  color: #536170;
  font-size: 13px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-panel {
  padding: 20px;
  border-radius: 22px;
  gap: 10px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-panel-head h2 {
  font-size: 18px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-panel-head p {
  max-width: 620px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.mhk-customer-flow .device-runtime-health-report .mhk-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #f8fafc;
  scrollbar-width: thin;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  color: #111827;
  font-size: 13px;
  line-height: 1.45;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 10px 12px;
  background: #eef4f1;
  color: #536170;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td {
  padding: 13px 12px;
  vertical-align: top;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table tbody tr:hover td {
  background: #f4faf6;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table th:first-child,
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 178px;
  box-shadow: 1px 0 0 rgba(17, 24, 39, 0.08);
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table th:first-child {
  z-index: 4;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #176a37;
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.10);
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(3) strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(23, 106, 55, 0.18);
  border-radius: 999px;
  background: #eaf7ed;
  color: #176a37;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  text-transform: capitalize;
  white-space: nowrap;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(4),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(5),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(6),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(7) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #344054;
  white-space: nowrap;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(5),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(6),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(7) {
  line-height: 1.75;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(8),
.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(9) {
  max-width: 260px;
  color: #344054;
  overflow-wrap: anywhere;
}

.mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(9) {
  border-left: 1px solid rgba(17, 24, 39, 0.06);
  color: #1f2937;
  font-weight: 650;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-detail-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-detail-row span {
  margin: 0;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mhk-customer-flow .device-runtime-health-report .mhk-insights-detail-row strong {
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .mhk-customer-flow .device-runtime-health-report {
    padding-top: 10px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-hero,
  .mhk-customer-flow .device-runtime-health-report .mhk-insights-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-kpis {
    grid-template-columns: 1fr;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-kpi {
    min-height: 0;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-panel-head {
    display: block;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-panel-head p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-window {
    border-radius: 18px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-table-wrap {
    margin-inline: -2px;
    border-radius: 16px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table {
    min-width: 1040px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table th,
  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td {
    padding: 11px 10px;
  }
}

@media (max-width: 430px) {
  .mhk-customer-flow .device-runtime-health-report .auth-title {
    font-size: 30px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-window {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-window a {
    min-width: 0;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table th:first-child,
  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child {
    min-width: 124px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table {
    min-width: 980px;
    font-size: 12px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table th,
  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td {
    padding-inline: 8px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child strong {
    font-size: 13px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td:first-child span {
    font-size: 11px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-data-table td:nth-child(3) strong {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .mhk-customer-flow .device-runtime-health-report .mhk-insights-detail-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 820px) {
  .mhk-customer-flow .mhk-insights-hero {
    display: block;
  }

  .mhk-customer-flow .mhk-insights-window {
    margin-top: 18px;
  }

  .mhk-customer-flow .mhk-insights-kpis,
  .mhk-customer-flow .mhk-insights-grid {
    grid-template-columns: 1fr;
  }

  .mhk-customer-flow .mhk-insights-turn-grid,
  .mhk-customer-flow .mhk-insights-turn-details {
    grid-template-columns: 1fr;
  }

  .mhk-customer-flow .mhk-insights-message-meta {
    display: block;
  }
}

/* Owner mobile form contract: keep iOS/Android controls light and readable. */
.mhk-customer-flow input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.mhk-customer-flow select,
.mhk-customer-flow textarea {
  min-height: 48px !important;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  border-radius: 16px !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-size: 16px !important;
  line-height: 1.25;
  color-scheme: light;
  appearance: none;
  -webkit-appearance: none;
}

.mhk-customer-flow input[type="date"] {
  min-height: 48px !important;
  color-scheme: light;
}

.mhk-customer-flow select {
  padding-right: 42px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.mhk-customer-flow input:not([type="hidden"]):disabled,
.mhk-customer-flow input[readonly],
.mhk-customer-flow input[aria-readonly="true"],
.mhk-customer-flow select:disabled,
.mhk-customer-flow textarea:disabled {
  background: #f4f6f8 !important;
  background-color: #f4f6f8 !important;
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  opacity: 1;
}

.mhk-customer-flow .mhk-horse-page select.form-input:disabled,
.mhk-customer-flow .mhk-horse-page input.form-input[readonly],
.mhk-customer-flow .mhk-horse-page input.form-input[aria-readonly="true"] {
  background: #f4f6f8 !important;
  background-color: #f4f6f8 !important;
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  border-color: rgba(17, 24, 39, 0.10) !important;
}

.mhk-customer-flow input:-webkit-autofill,
.mhk-customer-flow textarea:-webkit-autofill,
.mhk-customer-flow select:-webkit-autofill {
  -webkit-text-fill-color: #111827 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  caret-color: #111827;
}

.mhk-customer-flow .mhk-owner-edit-page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 28px 18px 72px;
}

.mhk-customer-flow .mhk-owner-edit-card,
.mhk-customer-flow .mhk-owner-horse-card {
  border: 1px solid var(--cx-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cx-shadow);
  padding: clamp(22px, 4vw, 34px);
}

.mhk-customer-flow .mhk-owner-edit-hero,
.mhk-customer-flow .mhk-owner-horse-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mhk-customer-flow .mhk-owner-edit-links,
.mhk-customer-flow .mhk-owner-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mhk-customer-flow .mhk-owner-edit-form {
  margin-top: 22px;
}

.mhk-customer-flow .mhk-owner-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mhk-customer-flow .mhk-owner-horse-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.mhk-customer-flow .mhk-owner-horse-head h2 {
  margin: 0;
  color: var(--cx-text);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.1;
}

.mhk-customer-flow .mhk-owner-edit-actions {
  margin-top: 20px;
  justify-content: flex-end;
}

.mhk-customer-flow .poly-modal-card {
  background: #ffffff !important;
  color: #111827 !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.20) !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111827 !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.20) !important;
}

.mhk-customer-flow .poly-modal-title,
.mhk-customer-flow .poly-status-text,
.mhk-customer-flow .poly-card-title {
  color: #111827 !important;
}

.mhk-customer-flow .poly-modal-sub,
.mhk-customer-flow .poly-card-sub {
  color: #667085 !important;
}

.mhk-customer-flow .poly-tool-grid,
.mhk-customer-flow .poly-status-row {
  background: #f8fafc !important;
  background-image: none !important;
  border-color: rgba(17, 24, 39, 0.10) !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-status-row {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  background-image: none !important;
  border-color: rgba(17, 24, 39, 0.10) !important;
}

.mhk-customer-flow .mhk-rotation-row {
  gap: 8px !important;
}

.mhk-customer-flow .mhk-rot-chip {
  min-height: 44px !important;
  height: auto !important;
  min-width: 52px !important;
  padding: 10px 14px !important;
  justify-content: center;
  border-radius: 999px !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 15px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-rot-chip {
  min-height: 44px !important;
  height: auto !important;
  min-width: 52px !important;
  padding: 10px 14px !important;
  gap: 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.mhk-customer-flow .mhk-rot-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-rot-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mhk-customer-flow .mhk-rot-chip:has(input:checked) {
  background: rgba(23, 106, 55, 0.10) !important;
  border-color: rgba(23, 106, 55, 0.28) !important;
  color: #176a37 !important;
}

@media (max-width: 640px) {
  .mhk-customer-flow .mhk-owner-edit-page {
    padding: 18px 14px 56px;
  }

  .mhk-customer-flow .mhk-owner-edit-hero,
  .mhk-customer-flow .mhk-owner-horse-head {
    display: grid;
  }

  .mhk-customer-flow .mhk-owner-edit-grid {
    grid-template-columns: 1fr;
  }

  .mhk-customer-flow .mhk-owner-edit-links,
  .mhk-customer-flow .mhk-owner-edit-actions {
    width: 100%;
  }

  .mhk-customer-flow .mhk-owner-edit-links > *,
  .mhk-customer-flow .mhk-owner-edit-actions > * {
    width: 100%;
  }
}

/* Owner setup: polygon mapping should feel like a guided customer step, not an admin editor. */
.mhk-customer-flow .mhk-camera-page.poly-setup-page {
  background: #f6f8fb !important;
  color: #111827 !important;
  padding-bottom: 168px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-card.poly-dark-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-page-hero,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-block,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-stage-card {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08) !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-page-hero {
  gap: 14px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-kicker {
  color: #176a37 !important;
  -webkit-text-fill-color: #176a37 !important;
  letter-spacing: 0 !important;
  font-weight: 900 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .onboard-title {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-intro-card-secondary {
  margin-top: 14px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-intro-card-secondary .poly-intro-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-camera-count {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(23, 106, 55, 0.10);
  color: #176a37;
  font-weight: 800;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-objective-callout {
  position: relative !important;
  padding: 14px 48px 14px 16px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  color: #344054 !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06) !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-callout-close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 999px;
  background: #f8fafc;
  color: #667085;
  -webkit-text-fill-color: #667085;
  appearance: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-callout-close:hover {
  background: #eef4ff;
  color: #1d4f91;
  -webkit-text-fill-color: #1d4f91;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-mark-btn {
  min-height: 48px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation {
  justify-self: end;
  min-width: 0;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  -webkit-text-fill-color: #344054;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation summary::-webkit-details-marker {
  display: none;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation[open] {
  display: grid;
  gap: 8px;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation[open] .poly-rotation-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-link-btn,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-back-btn {
  min-height: 44px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  color: #344054 !important;
  -webkit-text-fill-color: #344054 !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-device-summary,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-device-summary *,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-title,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-title,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-zone-list-label {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-zone-list-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip {
  display: inline-grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 100% !important;
  background: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-text {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-main {
  font-weight: 800 !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  overflow-wrap: anywhere !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-sub,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-type,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-meta {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-meta,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-sub,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-summary-stats {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  text-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-camera-summary-title {
  color: #176a37 !important;
  -webkit-text-fill-color: #176a37 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-save-btn {
  min-height: 52px !important;
  border-radius: 18px !important;
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mhk-customer-flow.poly-modal-open {
  overflow: hidden;
}

.mhk-customer-flow.poly-modal-open .poly-modal:not(.mhk-hidden) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 14px !important;
}

.mhk-customer-flow.poly-modal-open .poly-modal:not(.mhk-hidden) .poly-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(17, 24, 39, 0.42) !important;
  backdrop-filter: blur(8px);
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-sheet {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 760px) !important;
  max-height: calc(100vh - 28px) !important;
  overflow: auto !important;
  border-radius: 28px 28px 22px 22px !important;
  padding: 14px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #111827 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 10px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-title {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-sub {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-done-btn {
  min-height: 44px !important;
  width: auto !important;
  min-width: 76px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #eef4ff !important;
  border-color: rgba(35, 91, 166, 0.12) !important;
  color: #1d4f91 !important;
  -webkit-text-fill-color: #1d4f91 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-editor-frame {
  margin: 0 0 10px !important;
  padding: 0 !important;
  width: 100% !important;
  aspect-ratio: var(--snapshot-aspect, 16 / 9) !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-editor-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  background: #f8fafc !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-tool-grid,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-status-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-status-row {
  margin-top: 12px !important;
  align-items: center !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-owner-flow {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-drawing-guidance {
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: #f0fdf4 !important;
  border: 1px solid rgba(34, 197, 94, 0.18) !important;
  color: #176a37 !important;
  -webkit-text-fill-color: #176a37 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-preset-block,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-name-row {
  display: grid !important;
  gap: 8px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-preset-label {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-preset-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-preset-btn {
  min-height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid #d0d5dd !important;
  background: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-preset-btn.is-selected {
  border-color: rgba(34, 197, 94, 0.35) !important;
  background: #dcfce7 !important;
  color: #176a37 !important;
  -webkit-text-fill-color: #176a37 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-action-row {
  display: grid !important;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr) !important;
  gap: 10px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-action-row .mhk-secondary-btn,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-action-row .mhk-primary-btn {
  min-height: 48px !important;
  border-radius: 16px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-settings {
  border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
  padding-top: 4px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-settings summary {
  cursor: pointer !important;
  list-style: none !important;
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 8px 2px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-settings summary::-webkit-details-marker {
  display: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding-top: 8px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-grid > div:nth-child(3),
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-actions {
  grid-column: 1 / -1 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-advanced-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-field-label {
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-input,
.mhk-customer-flow .mhk-camera-page.poly-setup-page select.mhk-input,
.mhk-customer-flow .mhk-camera-page.poly-setup-page input.mhk-input {
  min-height: 48px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-size: 16px !important;
  color-scheme: light !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-save-area-btn {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-save-area-btn:disabled {
  background: #d1fadf !important;
  border-color: #a6f4c5 !important;
  color: #4f8061 !important;
  -webkit-text-fill-color: #4f8061 !important;
  opacity: 1 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-tool-grid .mhk-secondary-btn,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-status-row .mhk-secondary-btn {
  min-height: 44px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #d0d5dd !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-clear-btn {
  background: #ffffff !important;
  border-color: rgba(180, 35, 24, 0.18) !important;
  color: #b42318 !important;
  -webkit-text-fill-color: #b42318 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-tool-grid .poly-clear-btn {
  background: #ffffff !important;
  border-color: rgba(180, 35, 24, 0.18) !important;
  color: #b42318 !important;
  -webkit-text-fill-color: #b42318 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-zoom-wrap {
  display: flex !important;
  gap: 8px !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-zoom-btn,
.mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-zoom-label {
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-rot-chip {
  min-height: 44px !important;
  cursor: pointer !important;
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(17, 24, 39, 0.12) !important;
  color: #344054 !important;
  -webkit-text-fill-color: #344054 !important;
  box-shadow: none !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-rot-chip:has(input:checked) {
  background: rgba(23, 106, 55, 0.10) !important;
  border-color: rgba(23, 106, 55, 0.30) !important;
  color: #176a37 !important;
  -webkit-text-fill-color: #176a37 !important;
}

.mhk-customer-flow .mhk-camera-page.poly-setup-page .mhk-zone-chip-delete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  justify-self: end !important;
  flex: 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  border-radius: 999px !important;
  appearance: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .mhk-customer-flow .mhk-camera-page.poly-setup-page {
    padding: 12px 12px 168px !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-page-hero {
    padding: 16px !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-intro-card-secondary {
    display: none !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-stage-card {
    padding: 12px !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-topbar {
    gap: 12px !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation {
    justify-self: stretch;
    width: 100%;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation summary {
    width: 100%;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-card-orientation[open] .poly-rotation-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .mhk-customer-flow.poly-modal-open .poly-modal:not(.mhk-hidden) {
    padding: 0 !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-modal-sheet {
    width: 100% !important;
    max-height: 100vh !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 12px !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-editor-svg {
    height: 100% !important;
    min-height: 0 !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-editor-frame {
    margin-bottom: 8px !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-tool-grid,
  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-status-row {
    grid-template-columns: 1fr !important;
  }

  .mhk-customer-flow .mhk-camera-page.poly-setup-page .poly-submit-row {
    position: sticky !important;
    bottom: 0 !important;
    background: rgba(246, 248, 251, 0.94) !important;
    backdrop-filter: blur(12px);
    padding: 12px 0 0 !important;
    z-index: 5 !important;
  }
}

/* Horse setup mobile fix: keep all owner-facing fields light, including the add-stable modal. */
.mhk-customer-flow .mhk-horse-page .form-input,
.mhk-customer-flow .mhk-horse-page input.form-input,
.mhk-customer-flow .mhk-horse-page select.form-input,
.mhk-customer-flow .mhk-horse-page textarea.form-input,
.mhk-customer-flow .mhk-stable-modal .form-input,
.mhk-customer-flow .mhk-stable-modal input.form-input,
.mhk-customer-flow .mhk-stable-modal input[type="text"],
.mhk-customer-flow .mhk-stable-modal select,
.mhk-customer-flow .mhk-stable-modal textarea {
  min-height: 48px !important;
  height: auto !important;
  width: 100% !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827 !important;
  color-scheme: light !important;
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, 0.02) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mhk-customer-flow .mhk-horse-page select.form-input {
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50% !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}

.mhk-customer-flow .mhk-horse-page .form-input:focus,
.mhk-customer-flow .mhk-stable-modal .form-input:focus,
.mhk-customer-flow .mhk-stable-modal input[type="text"]:focus {
  border-color: rgba(23, 106, 55, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(23, 106, 55, 0.10) !important;
  outline: none !important;
}

.mhk-customer-flow .mhk-horse-page .form-input:-webkit-autofill,
.mhk-customer-flow .mhk-stable-modal .form-input:-webkit-autofill,
.mhk-customer-flow .mhk-stable-modal input[type="text"]:-webkit-autofill {
  -webkit-text-fill-color: #111827 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  caret-color: #111827 !important;
}

.mhk-customer-flow .mhk-horse-page .form-input:disabled,
.mhk-customer-flow .mhk-horse-page .form-input[readonly],
.mhk-customer-flow .mhk-horse-page .form-input[aria-readonly="true"] {
  background: #f4f6f8 !important;
  background-color: #f4f6f8 !important;
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  opacity: 1 !important;
}

.mhk-customer-flow .mhk-stable-modal {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  color: #111827 !important;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.20) !important;
}

.mhk-customer-flow .mhk-stable-modal-title {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.mhk-customer-flow .mhk-stable-modal-kicker,
.mhk-customer-flow .mhk-stable-modal .form-label {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
}

.mhk-customer-flow .mhk-stable-modal-close {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
}

.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-back-btn {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
  color: #344054 !important;
  -webkit-text-fill-color: #344054 !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06) !important;
}

.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-save-btn {
  background: #176a37 !important;
  background-image: none !important;
  border: 1px solid #176a37 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(23, 106, 55, 0.20) !important;
}

.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-back-btn:hover,
.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-back-btn:focus {
  border-color: rgba(17, 24, 39, 0.18) !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-save-btn:hover,
.mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-save-btn:focus {
  background: #145c30 !important;
  border-color: #145c30 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Connectivity setup: narrow mobile must not overflow the viewport. */
@media (max-width: 430px) {
  .mhk-customer-flow .mhk-connectivity-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-back-btn,
  .mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-save-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .mhk-customer-flow .mhk-connectivity-actions .mhk-connectivity-save-btn {
    min-height: 48px !important;
    padding: 13px 18px !important;
  }
}

/* Owner edit nav must not inherit legacy dark/admin button styling. */
body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle,
body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle:not(.btn-primary) {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #667085;
  box-shadow: none;
}



@media (max-width: 700px) {
  body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle,
  body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle:not(.btn-primary) {
    min-height: 44px;
    min-width: 82px;
    color: #344054;
  }
}


body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-toggle:focus-visible,
body.mhk-customer-flow.mhk-edit-surface .mhk-edit-nav-link:focus-visible,
body.mhk-customer-flow.mhk-edit-surface .mhk-edit-horse-select:focus-visible {
  outline: 2px solid rgba(23, 106, 55, 0.28);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(23, 106, 55, 0.14);
}

.mhk-customer-flow .mhk-password-field {
  position: relative;
  display: block;
  width: 100%;
}

.mhk-customer-flow .mhk-password-field input {
  width: 100%;
  padding-right: 76px !important;
  box-sizing: border-box;
}

.mhk-customer-flow .mhk-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 54px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #176a37;
  -webkit-text-fill-color: #176a37;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
  cursor: pointer;
}

.mhk-customer-flow .mhk-password-toggle:hover {
  background: #ffffff;
  border-color: rgba(23, 106, 55, 0.28);
}

.mhk-customer-flow .mhk-password-toggle:focus-visible {
  outline: 2px solid rgba(23, 106, 55, 0.28);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(23, 106, 55, 0.14);
}
