#ecs-installer-portal {
  --ecs-blue: #007f9e;
  --ecs-navy: #11364a;
  --ecs-ink: #173244;
  --ecs-muted: #536a78;
  --ecs-line: #d5e2e8;
  --ecs-wash: #f2f7fa;
  color: var(--ecs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  margin: 24px auto 64px;
  max-width: 1040px;
  padding: clamp(16px, 3vw, 36px);
  scroll-margin-top: 24px;
}
#ecs-installer-portal *, #ecs-installer-portal *::before, #ecs-installer-portal *::after { box-sizing: border-box; }
#ecs-installer-portal [hidden] { display: none !important; }
#ecs-installer-portal h1, #ecs-installer-portal h2, #ecs-installer-portal h3 { color: var(--ecs-navy); line-height: 1.2; }
#ecs-installer-portal h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; letter-spacing: -.025em; }
#ecs-installer-portal h2 { font-size: 26px; margin: 0 0 12px; }
#ecs-installer-portal h3 { font-size: 19px; }
#ecs-installer-portal p { margin: 0 0 16px; }
#ecs-installer-portal a { color: #006781; text-decoration: underline; text-underline-offset: 3px; }
#ecs-installer-portal .ecs-intro, #ecs-installer-portal .ecs-subtitle { color: var(--ecs-muted); max-width: 680px; }
#ecs-installer-portal .ecs-eyebrow { color: var(--ecs-blue); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 750; margin-bottom: 10px; }
#ecs-installer-portal .ecs-header, #ecs-installer-portal .ecs-portal-header { margin-bottom: 28px; }
#ecs-installer-portal button, #ecs-installer-portal .ecs-button,
#ecs-installer-portal input[type="submit"], #ecs-installer-portal .button {
  align-items: center;
  background: var(--ecs-blue);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: 650 15px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  text-decoration: none;
  text-transform: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}
#ecs-installer-portal button:hover, #ecs-installer-portal .ecs-button:hover,
#ecs-installer-portal input[type="submit"]:hover { background: #00647f; color: white; }
#ecs-installer-portal button:disabled { cursor: wait; opacity: .6; }
#ecs-installer-portal :focus-visible { outline: 3px solid #efae34; outline-offset: 3px; }
#ecs-installer-portal .ecs-button-secondary, #ecs-installer-portal [data-back], #ecs-installer-portal [data-prev] { background: white; border-color: var(--ecs-line); color: var(--ecs-ink); }
#ecs-installer-portal .ecs-button-secondary:hover, #ecs-installer-portal [data-back]:hover, #ecs-installer-portal [data-prev]:hover { background: var(--ecs-wash); color: var(--ecs-ink); }
#ecs-installer-portal .ecs-steps, #ecs-installer-portal .ecs-progress, #ecs-installer-portal .ecs-auth-tabs { display: flex; gap: 8px; margin: 22px 0; padding: 6px; background: var(--ecs-wash); border-radius: 12px; }
#ecs-installer-portal [data-step], #ecs-installer-portal [data-auth-tab] { flex: 1; background: transparent; color: var(--ecs-muted); border-color: transparent; }
#ecs-installer-portal [data-step]:hover, #ecs-installer-portal [data-auth-tab]:hover { background: #e1edf3; color: var(--ecs-ink); }
#ecs-installer-portal [data-step].is-active, #ecs-installer-portal [data-auth-tab].is-active,
#ecs-installer-portal [aria-current="step"], #ecs-installer-portal [data-auth-tab][aria-selected="true"] { background: white; color: var(--ecs-navy); box-shadow: 0 2px 8px #153e5114; border-color: var(--ecs-line); }
#ecs-installer-portal .ecs-paper-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; background: #e9f0f4; border: 1px solid var(--ecs-line); border-radius: 10px; padding: 18px; margin: 16px 0 24px; }
#ecs-installer-portal .ecs-pdf-page { position: relative; aspect-ratio: 612 / 792; width: 100%; max-width: 816px; min-width: 612px; margin: 0 auto; background: white; box-shadow: 0 2px 12px #1230441a; isolation: isolate; container-type: inline-size; }
#ecs-installer-portal .ecs-page-image { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; pointer-events: none; user-select: none; }
#ecs-installer-portal .ecs-field { position: absolute; z-index: 1; }
#ecs-installer-portal .ecs-pdf-page > .ecs-input { position: absolute; z-index: 1; }
#ecs-installer-portal .ecs-total-pay {
  position: absolute;
  z-index: 1;
  left: 73.85621%;
  top: 81.18687%;
  width: 19.60784%;
  height: 2.02020%;
  display: block;
  color: #0093d8;
  font: 700 8.5px/1 Arial, sans-serif;
  font-size: clamp(8.5px, 1.38889cqw, 11.35px);
  white-space: nowrap;
}
#ecs-installer-portal .ecs-total-pay > output {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}
#ecs-installer-portal .ecs-total-pay > output {
  background: #f2f7fa;
  border: 1px solid #b8dce8;
  color: #223b48;
  font-variant-numeric: tabular-nums;
  padding-right: 0.65359cqw;
}
#ecs-installer-portal .ecs-field .ecs-input { width: 100%; height: 100%; }
#ecs-installer-portal .ecs-input {
  background: rgba(227, 244, 252, .86);
  border: 1px solid rgba(0, 127, 158, .4);
  border-radius: 2px;
  box-shadow: none;
  color: #102b3a;
  font: 400 11px/1.15 Arial, sans-serif;
  font-size: clamp(9px, 1.45cqw, 12px);
  margin: 0;
  min-width: 0;
  min-height: 0;
  padding: 1px 3px;
  text-transform: none;
}
#ecs-installer-portal .ecs-input:focus { background: #fff; border-color: #007f9e; box-shadow: 0 0 0 2px #007f9e44; outline: none; }
#ecs-installer-portal .ecs-input::placeholder { color: #6c7c85; opacity: 1; }
#ecs-installer-portal select.ecs-input { appearance: none; -webkit-appearance: none; background-image: none; cursor: pointer; padding-right: 2px; text-align: center; }
#ecs-installer-portal input[type="number"].ecs-input { -moz-appearance: textfield; text-align: center; }
#ecs-installer-portal input[type="number"].ecs-input::-webkit-inner-spin-button,
#ecs-installer-portal input[type="number"].ecs-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#ecs-installer-portal textarea.ecs-input { resize: none; line-height: 1.45; padding: 6px; }
#ecs-installer-portal .ecs-input:disabled, #ecs-installer-portal .ecs-input[readonly] { background: #edf0f2; border-color: transparent; color: #7a8890; }
#ecs-installer-portal .ecs-field-label, #ecs-installer-portal .ecs-sr-only { border: 0; clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
#ecs-installer-portal .ecs-help, #ecs-installer-portal .ecs-scroll-hint, #ecs-installer-portal .ecs-security-note { font-size: 13px; color: var(--ecs-muted); }
#ecs-installer-portal .ecs-scroll-hint { display: none; }
#ecs-installer-portal .ecs-actions, #ecs-installer-portal .ecs-navigation, #ecs-installer-portal .ecs-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin: 22px 0; }
#ecs-installer-portal .ecs-confirmation, #ecs-installer-portal .ecs-confirm { display: flex; align-items: flex-start; gap: 12px; background: var(--ecs-wash); border-radius: 8px; padding: 18px; margin: 18px 0; font-size: 14px; }
#ecs-installer-portal input[type="checkbox"] { accent-color: var(--ecs-blue); width: 18px; height: 18px; min-width: 18px; margin: 3px 0 0; }
#ecs-status { padding: 16px 18px; margin: 20px 0; border-radius: 8px; border: 1px solid transparent; font-size: 15px; }
#ecs-status:empty { display: none; }
#ecs-status[data-state="pending"] { background: #edf6fb; border-color: #c4dfea; color: #21475b; }
#ecs-status[data-state="success"] { background: #edf8f2; border-color: #b9dfcb; color: #24543e; }
#ecs-status[data-state="error"] { background: #fff1ef; border-color: #edc1b8; color: #852d20; }
#ecs-installer-portal .ecs-auth-card { max-width: 560px; margin: 24px auto; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--ecs-line); border-radius: 16px; background: white; box-shadow: 0 12px 36px #183c5110; }
#ecs-installer-portal .ecs-auth-card form p { margin-bottom: 18px; }
#ecs-installer-portal .ecs-auth-card label, #ecs-installer-portal .ecs-register-form label { display: block; color: var(--ecs-ink); font-weight: 600; font-size: 14px; margin-bottom: 7px; }
#ecs-installer-portal .ecs-auth-card input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
#ecs-installer-portal .ecs-register-form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]) { background: #fff; border: 1px solid #b8cbd5; border-radius: 7px; box-shadow: none; color: var(--ecs-ink); font-family: inherit; font-size: 16px; line-height: 1.4; min-height: 48px; padding: 11px 13px; width: 100%; margin: 0; }
#ecs-installer-portal .ecs-auth-card input:focus, #ecs-installer-portal .ecs-register-form input:focus { border-color: var(--ecs-blue); box-shadow: 0 0 0 3px #007f9e15; }
#ecs-installer-portal .ecs-auth-card input[type="submit"], #ecs-installer-portal .ecs-auth-card button[type="submit"] { width: 100%; }
#ecs-installer-portal .login-remember label { display: flex; align-items: center; gap: 9px; font-weight: 400; }
#ecs-installer-portal .ecs-notice { padding: 16px 18px; border: 1px solid var(--ecs-line); border-radius: 8px; background: var(--ecs-wash); margin: 20px 0; }
#ecs-installer-portal .ecs-notice-error { background: #fff1ef; border-color: #edc1b8; color: #852d20; }
#ecs-installer-portal .ecs-notice-success { background: #edf8f2; border-color: #b9dfcb; color: #24543e; }
#ecs-installer-portal .ecs-auth-card .ecs-help { display: block; margin-top: 7px; font-weight: 400; line-height: 1.45; }
#ecs-installer-portal .ecs-password-wrap { display: block; position: relative; }
#ecs-installer-portal .ecs-auth-card .ecs-password-wrap input { padding-right: 76px !important; }
#ecs-installer-portal .ecs-auth-card .ecs-password-toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); min-height: 32px; min-width: 52px; padding: 6px 8px; background: #edf5f8; color: #165168; border-radius: 5px; font-size: 13px; }
#ecs-installer-portal .ecs-auth-card .ecs-password-toggle:hover { background: #dcecf3; color: #0b394b; }
#ecs-installer-portal .ecs-auth-back { margin-top: 18px; text-align: center; font-size: 14px; }
#ecs-installer-portal .ecs-auth-support { border-top: 1px solid var(--ecs-line); padding-top: 18px; margin-top: 26px; margin-bottom: 0; font-size: 13px; color: var(--ecs-muted); text-align: center; }
#ecs-installer-portal .ecs-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#ecs-installer-portal .ecs-start-another { margin-top: 4px; }
#ecs-installer-portal .ecs-account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--ecs-muted); font-size: 14px; }
#ecs-installer-portal .ecs-logout-form { display: inline-flex; align-items: center; margin: 0; }
#ecs-installer-portal .ecs-logout-form button { min-height: 34px; padding: 7px 12px; background: white; border-color: var(--ecs-line); color: var(--ecs-ink); font-size: 13px; }
#ecs-installer-portal .ecs-logout-form button:hover { background: var(--ecs-wash); color: var(--ecs-ink); }
@media (max-width: 720px) {
  #ecs-installer-portal { margin-top: 8px; padding: 18px 10px; }
  #ecs-installer-portal .ecs-paper-scroll { padding: 10px; border-radius: 7px; }
  #ecs-installer-portal .ecs-scroll-hint { display: block; }
  #ecs-installer-portal [data-step], #ecs-installer-portal [data-auth-tab] { padding: 11px 8px; font-size: 13px; }
  #ecs-installer-portal .ecs-auth-card { padding: 24px 18px; }
  #ecs-installer-portal .ecs-actions button, #ecs-installer-portal .ecs-navigation button, #ecs-installer-portal .ecs-form-actions button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #ecs-installer-portal *, #ecs-installer-portal *::before, #ecs-installer-portal *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  #ecs-installer-portal { display: none !important; }
}
