/* Auth and cookie component rules adapted directly from ActiveBioBoost store.css.
   Keep their source dimensions; do not inherit marketing section sizing. */
:root {
 --store-orange:#ff6f3f; --store-orange-dark:#e85a2a; --store-green:#013c35;
 --store-green-soft:#025a50; --store-cream:#f7f6f3; --store-border:#e5e0d8;
 --store-text:#111111; --store-muted:#666666; --store-white:#ffffff;
}
.auth-modal {

  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(5px);

}

.auth-modal--open {

  opacity: 1;
  pointer-events: auto;

}

.auth-modal__panel {

  position: relative;
  width: min(480px, 100%);
  max-height: min(90svh, 820px);
  overflow-y: auto;
  border-radius: 22px;
  background: var(--store-white);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.26);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;

}

.auth-modal--open .auth-modal__panel {

  transform: none;

}

.auth-modal__close {

  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(1, 60, 53, 0.1);
  color: var(--store-green);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;

}

.auth-tabs {

  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--store-border);

}

.auth-tab {

  min-height: 54px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--store-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

}

.auth-tab--active {

  border-bottom-color: var(--store-orange);
  color: var(--store-orange);

}

.auth-pane,
.auth-profile {

  display: none;
  padding: clamp(26px, 5vw, 38px);

}

.auth-pane--active,
.auth-profile {

  display: block;

}

.auth-pane h2,
.auth-profile h2 {

  margin: 0 0 8px;
  color: var(--store-text);
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.14;
  letter-spacing: -0.04em;

}

.auth-pane p,
.auth-profile p {

  margin: 0 0 22px;
  color: var(--store-muted);
  font-size: 13px;
  line-height: 1.7;

}

.auth-form {

  display: grid;
  gap: 14px;

}

.auth-pane:has(.auth-form--register) {

  padding-block: clamp(22px, 4vw, 32px);

}

.auth-modal__panel:has(.auth-form--register) {

  width: min(640px, 100%);

}

.auth-form--register {

  gap: 11px;

}

.auth-form__row {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;

}

.auth-form__row--stack {

  grid-template-columns: 1fr;

}

.auth-form label {

  display: grid;
  gap: 7px;
  color: var(--store-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

}

.auth-form input {

  width: 100%;
  min-height: 44px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-white);
  color: var(--store-text);
  font: inherit;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;

}

.auth-form input:focus {

  border-color: var(--store-orange);
  box-shadow: 0 0 0 3px rgba(255, 111, 63, 0.12);

}

.auth-form--register label {

  gap: 6px;

}

.auth-form--register input {

  min-height: 41px;
  padding-block: 9px;

}

.auth-password {

  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-white);

}

.auth-password input {

  border: 0;
  border-radius: 0;

}

.auth-password button {

  border: 0;
  border-left: 1px solid var(--store-border);
  background: var(--store-cream);
  color: var(--store-green);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 0 11px;

}

.auth-check {

  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 12px 13px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-cream);
  color: var(--store-muted) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;

}

.auth-check input {

  width: 17px;
  min-height: auto;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--store-orange);

}

.auth-master-fields {

  display: grid;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: rgba(255, 111, 63, 0.06);

}

.auth-master-fields[hidden] {

  display: none;

}

.auth-master-fields > p {

  margin: 0;
  font-size: 12px;
  line-height: 1.5;

}

.auth-form .master-benefits {

  margin-top: -1px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 111, 63, 0.06);

}

.auth-form .master-benefits__note {

  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.45;

}

.auth-form .master-benefits__summary {

  margin: -1px 0;
  min-height: 28px;
  font-size: 12px;

}

.auth-form .master-benefits[open] .master-benefits__grid {

  margin-top: 9px;

}

.auth-form .master-benefits__grid {

  grid-template-columns: 1fr;
  gap: 6px;

}

.auth-form .master-benefits__item {

  padding: 8px 10px;
  border-radius: 9px;

}

.auth-form .master-benefits__item strong {

  font-size: 12px;

}

.auth-form .master-benefits__item span {

  font-size: 11px;

}

.auth-submit {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--store-orange);
  color: var(--store-white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease;

}

.auth-submit:hover {

  background: var(--store-orange-dark);
  transform: translateY(-1px);

}

.auth-submit--muted {

  background: var(--store-green);

}

.auth-submit--soft {

  background: var(--store-cream);
  color: var(--store-green);

}

.auth-submit--soft:hover {

  background: rgba(1, 60, 53, 0.12);

}

.auth-submit--muted:hover {

  background: var(--store-green-soft);

}

.auth-pane .auth-alert {

  margin: -10px 0 18px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;

}

.auth-field-error {

  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;

}

.auth-field-error button {

  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;

}

.auth-form input[aria-invalid="true"] {

  border-color: #dc2626;

}

.auth-form input[aria-invalid="true"]:focus {

  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);

}

.auth-forgot {

  justify-self: end;
  margin-top: -6px;
  color: var(--store-orange-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

}

.auth-forgot:hover {

  text-decoration: underline;

}

.auth-field-error a {

  color: inherit;
  font-weight: 800;
  text-underline-offset: 2px;

}

.auth-note {

  margin-top: 16px !important;
  text-align: center;

}

.auth-note button,
.auth-secondary-link {

  border: 0;
  background: transparent;
  color: var(--store-orange);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;

}

.auth-status {

  padding: 12px 14px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-cream);

}

.auth-status--master {

  border-color: rgba(255, 111, 63, 0.36);
  background: rgba(255, 111, 63, 0.1);
  color: var(--store-orange-dark) !important;
  font-weight: 800;

}

.auth-profile-head {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;

}

.auth-role-pill {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(1, 60, 53, 0.08);
  color: var(--store-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;

}

.auth-role-pill--master {

  background: rgba(255, 111, 63, 0.16);
  color: var(--store-orange-dark);

}

.auth-secondary-link--spaced {

  display: inline-block;
  margin: 2px 0 24px;

}

.auth-profile-meta {

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0 0 18px;
  padding: 0;

}

.auth-profile-meta dt {

  color: var(--store-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

}

.auth-profile-meta dd {

  margin: 0;
  color: var(--store-text);
  font-size: 14px;
  line-height: 1.5;

}

.auth-profile-actions {

  display: grid;
  gap: 10px;

}

.cookie-settings-open {

  overflow: hidden;

}

.cookie-banner {

  position: fixed;
  right: 0;
  bottom: calc(-100% - 24px);
  left: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(16px, 2.5vw, 24px) clamp(14px, 4vw, 48px) calc(clamp(16px, 2.5vw, 24px) + env(safe-area-inset-bottom));
  border-top: 3px solid var(--store-orange);
  background: var(--store-white);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  transition: bottom 0.45s cubic-bezier(0.34, 1.1, 0.64, 1);

}

.cookie-banner--show {

  bottom: 0;

}

.cookie-banner__text {

  flex: 1;
  min-width: 220px;

}

.cookie-banner__title {

  display: block;
  margin-bottom: 6px;
  color: var(--store-green);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 800;
  line-height: 1.35;

}

.cookie-banner__text p {

  margin: 0;
  color: var(--store-muted);
  font-size: clamp(12px, 1.2vw, 13px);
  line-height: 1.65;

}

.cookie-banner__text a {

  color: var(--store-orange);
  font-weight: 700;
  text-decoration: none;

}

.cookie-banner__text a:hover {

  text-decoration: underline;

}

.cookie-banner__actions {

  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

}

.cookie-btn {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: clamp(9px, 1vw, 11px) clamp(14px, 1.5vw, 22px);
  border-radius: 7px;
  border: 0;
  font: inherit;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;

}

.cookie-btn:hover {

  transform: translateY(-1px);

}

.cookie-btn--accept {

  background: var(--store-orange);
  color: var(--store-white);

}

.cookie-btn--accept:hover {

  background: var(--store-orange-dark);
  box-shadow: 0 6px 16px rgba(255, 111, 63, 0.3);

}

.cookie-btn--settings {

  border: 1px solid rgba(1, 60, 53, 0.25);
  background: transparent;
  color: var(--store-green);

}

.cookie-btn--settings:hover {

  border-color: var(--store-green);
  background: rgba(1, 60, 53, 0.05);

}

.cookie-btn--reject {

  border: 1px solid var(--store-border);
  background: transparent;
  color: var(--store-muted);

}

.cookie-btn--reject:hover {

  border-color: var(--store-muted);
  color: var(--store-text);

}

.cookie-settings {

  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

}

.cookie-settings--show {

  opacity: 1;
  pointer-events: auto;

}

.cookie-settings__box {

  display: flex;
  flex-direction: column;
  width: min(100%, 500px);
  max-height: min(90svh, 720px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--store-white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;

}

.cookie-settings--show .cookie-settings__box {

  transform: none;

}

.cookie-settings__head {

  position: relative;
  flex: 0 0 auto;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--store-green);

}

.cookie-settings__head h2 {

  margin: 0 40px 5px 0;
  color: var(--store-white);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.3;

}

.cookie-settings__head p {

  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.5;

}

.cookie-settings__close {

  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--store-white);
  cursor: pointer;
  transition: background 0.18s ease;

}

.cookie-settings__close:hover {

  background: rgba(255, 255, 255, 0.28);

}

.cookie-settings__close svg {

  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;

}

.cookie-settings__body {

  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(18px, 2.5vw, 28px) clamp(18px, 2.5vw, 32px);

}

.cookie-category {

  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--store-border);
  border-radius: 10px;

}

.cookie-category + .cookie-category {

  margin-top: 12px;

}

.cookie-category__text {

  min-width: 0;
  flex: 1;

}

.cookie-category__title {

  display: block;
  margin-bottom: 4px;
  color: var(--store-green);
  font-size: 13px;
  font-weight: 800;

}

.cookie-category__text p {

  margin: 0;
  color: var(--store-muted);
  font-size: 11px;
  line-height: 1.6;

}

.cookie-toggle {

  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  margin-top: 2px;

}

.cookie-toggle input {

  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;

}

.cookie-toggle__slider {

  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--store-border);
  cursor: pointer;
  transition: background 0.18s ease;

}

.cookie-toggle__slider::after {

  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--store-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;

}

.cookie-toggle input:checked + .cookie-toggle__slider {

  background: var(--store-orange);

}

.cookie-toggle input:checked + .cookie-toggle__slider::after {

  transform: translateX(20px);

}

.cookie-toggle input:disabled + .cookie-toggle__slider {

  opacity: 0.55;
  cursor: not-allowed;

}

.cookie-toggle input:focus-visible + .cookie-toggle__slider {

  outline: 2px solid var(--store-green);
  outline-offset: 3px;

}

.cookie-settings__footer {

  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(14px, 2vw, 20px) clamp(18px, 2.5vw, 32px) calc(clamp(14px, 2vw, 20px) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--store-border);
  background: var(--store-white);

}

.cookie-settings__save,
.cookie-settings__cancel {

  min-height: 42px;
  padding: 11px 22px;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;

}

.cookie-settings__save {

  border: 0;
  background: var(--store-orange);
  color: var(--store-white);
  font-weight: 800;

}

.cookie-settings__save:hover {

  background: var(--store-orange-dark);
  transform: translateY(-1px);

}

.cookie-settings__cancel {

  border: 1px solid var(--store-border);
  background: transparent;
  color: var(--store-muted);
  font-weight: 700;

}

.cookie-settings__cancel:hover {

  border-color: var(--store-muted);
  color: var(--store-text);

}

@media (max-width: 820px) {
.cookie-banner {

    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100svh - 16px);
    overflow-y: auto;

}

.cookie-banner__actions {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;

}

.cookie-btn {

    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;

}
}

@media (max-width: 680px) {
.auth-form__row {

    grid-template-columns: 1fr;

}

.auth-modal {

    align-items: end;
    padding: 0;

}

.cookie-settings {

    align-items: flex-end;
    padding: 12px;
    padding-bottom: 0;

}

.cookie-settings__box {

    width: 100%;
    max-height: 92svh;
    border-radius: 18px 18px 0 0;

}

.cookie-settings__footer {

    flex-direction: column-reverse;

}

.cookie-settings__save,
.cookie-settings__cancel {

    width: 100%;

}

.auth-modal__panel {

    width: 100%;
    max-height: 92svh;
    border-radius: 22px 22px 0 0;

}
}
/* Integration: common site header has a higher stacking level than ABB's header. */
.auth-modal{z-index:9200}
.auth-modal-open{overflow:hidden}
.auth-tab{display:flex;align-items:center;justify-content:center;text-decoration:none}
.auth-note a{color:var(--store-orange);font-weight:800;text-decoration:none}
.auth-page-panel{margin:48px auto;transform:none;width:min(640px,calc(100% - 32px))}
.auth-page-panel .auth-pane{min-height:0}
.auth-pane section{padding:0}
.auth-form .errorlist{margin:0;padding:0;list-style:none;color:#dc2626;font-size:12px;font-weight:500;text-transform:none;letter-spacing:0}
.auth-pane .auth-alert{color:#dc2626;font-size:13px;line-height:1.5;margin:0}
.auth-form [type=checkbox]{flex-shrink:0}
.jn-form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:680px){.auth-page-panel{border-radius:22px;margin:24px auto}.auth-modal .auth-form input{font-size:16px}}
/* ABB storefront has normal line-height at component roots. */
.auth-modal__panel,.cookie-banner,.cookie-settings{line-height:normal}
