/*
 * PFX1 / Alight Premium UI System 1.3
 * Canonical visual source for reusable frontend primitives.
 *
 * Ownership contract:
 * - This file owns reusable typography, fields, selects, notices, badges,
 *   buttons, pagination and premium surfaces.
 * - Section/domain files own composition only and consume these primitives.
 * - Elementor remains the typography source; no font family is hard-coded.
 * - No !important, no page/user/order hotfix, no hover scale/translation.
 */
:root {
  /* Elementor/site typography is the source of truth. If Elementor variables are
   * absent, `inherit` resolves to the active theme/body font. */
  --pfx-site-font-fallback: "IRANSansX","Vazirmatn",Tahoma,Arial,sans-serif;
  --pfx-ui-font: var(--pfx-site-runtime-font, var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, var(--pfx-site-font-fallback))));

  --pfx-ui-page: #020a13;
  --pfx-ui-page-soft: #03101d;
  --pfx-ui-surface: #061625;
  --pfx-ui-surface-2: #081c2e;
  --pfx-ui-surface-3: #0a2338;
  --pfx-ui-surface-hover: #0b2941;
  --pfx-ui-field: #051522;
  --pfx-ui-field-focus: #071a2a;

  --pfx-ui-line: rgba(102, 158, 201, .18);
  --pfx-ui-line-strong: rgba(48, 187, 235, .40);
  --pfx-ui-text: #edf5fb;
  --pfx-ui-text-strong: #ffffff;
  --pfx-ui-muted: #8da4b7;
  --pfx-ui-muted-2: #688196;

  --pfx-ui-accent: #22c9d4;
  --pfx-ui-accent-rgb: 34, 201, 212;
  --pfx-ui-blue: #2b9cff;
  --pfx-ui-blue-rgb: 43, 156, 255;
  --pfx-ui-success: #20d28a;
  --pfx-ui-success-rgb: 32, 210, 138;
  --pfx-ui-warning: #f0b84a;
  --pfx-ui-warning-rgb: 240, 184, 74;
  --pfx-ui-danger: #f06478;
  --pfx-ui-danger-rgb: 240, 100, 120;
  --pfx-ui-purple: #9b72ef;
  --pfx-ui-purple-rgb: 155, 114, 239;
  --pfx-ui-neutral: #8ba1b5;
  --pfx-ui-neutral-rgb: 139, 161, 181;

  --pfx-ui-radius-xs: 8px;
  --pfx-ui-radius-sm: 10px;
  --pfx-ui-radius-md: 14px;
  --pfx-ui-radius-lg: 18px;

  --pfx-ui-button-h: 36px;
  --pfx-ui-field-h: 42px;
  --pfx-ui-search-h: 34px;
  --pfx-ui-badge-h: 22px;

  --pfx-ui-field-font-size: 10.5px;
  --pfx-ui-search-font-size: 10px;
  --pfx-ui-label-font-size: 10px;
  --pfx-ui-help-font-size: 10px;
  --pfx-ui-filter-font-size: 10px;
  --pfx-ui-card-title-font-size: 10px;
  --pfx-ui-card-meta-font-size: 10px;
  --pfx-ui-card-value-font-size: 18px;

  --pfx-ui-shadow-card: 0 14px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .025);
  --pfx-ui-card-glow-alpha: .035;
  --pfx-ui-card-glow-size: 24px;
  --pfx-ui-card-glow-hover-alpha: .16;
  --pfx-ui-card-glow-hover-size: 34px;
  --pfx-ui-card-accent-rgb: var(--pfx-ui-accent-rgb);
  --pfx-ui-shadow-focus: 0 0 0 2px rgba(var(--pfx-ui-accent-rgb), .10), 0 0 18px rgba(var(--pfx-ui-accent-rgb), .06);
  --pfx-ui-transition: 160ms ease;
}

/* PFX1 typography contract. Controls and their generated UI inherit from one
 * site-level font token rather than defining local families. */
body.pfx1-dashboard-page .pfx1-a1,
body.pfx1-commerce-surface,
body.pfx1-identity-visual-page .pfx1-auth,
body.pfx1-frontend-field-contract :is(.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) {
  font-family: var(--pfx-ui-font);
}

body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface)
  :where(button,input,select,textarea,option,optgroup) {
  font-family: inherit;
  letter-spacing: 0;
}

/* 5.7.41 — canonical runtime typography consumption.
 * Elementor's active Kit is resolved in PHP into --pfx-site-runtime-font.
 * All PFX-owned dashboard descendants and the native Elementor header consume
 * that single token directly so browser/theme generic rules can never fall back
 * individual nodes to Times New Roman. This is a source contract, not a page fix. */
body.pfx1-dashboard-page .pfx1-a1-stage :where(
  a,button,input,select,textarea,option,optgroup,label,
  h1,h2,h3,h4,h5,h6,p,strong,b,small,span,div,li,dt,dd,code
),
body.pfx1-dashboard-page :is(.pfx1-a1-native-header-host,.elementor-location-header,[data-elementor-type="header"]) :where(
  a,button,label,h1,h2,h3,h4,h5,h6,p,strong,b,small,span,div,li
) {
  font-family: var(--pfx-ui-font);
}

body.pfx1-dashboard-page,
body.pfx1-commerce-surface { color: var(--pfx-ui-text); }

/* ---------------- Interaction motion ---------------- */
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface)
  :where(a,button,[role="button"]) {
  transform: none;
  translate: none;
  scale: none;
}
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface)
  :where(a,button,[role="button"]):is(:hover,:focus-visible,:active) {
  transform: none;
  translate: none;
  scale: none;
}

/* ---------------- Canonical dashboard card surface ----------------
 * Single source of truth for base card paint across the Dashboard, including
 * Support/Ticket. Section/integration CSS may own layout/content and semantic
 * accent variables, but must not redefine outer-card border/radius/background/
 * shadow. */
body.pfx1-dashboard-page .pfx1-a1 :is(
  .pfx1-a1-card,
  .pfx1-a1-mock-card,
  .pfx1-a1-mock-metric,
  .pfx1-a1-rail-card,
  .pfx1-a1-rail-profile,
  .pfx1-a1-purchase,
  .pfx1-a1-actions-card,
  .pfx1-a1-brief-card,
  .pfx1-a1-course-card,
  .pfx1-a1-download-card,
  .pfx1-a1-event-card,
  .pfx1-a1-inbox-card,
  .pfx1-a1-inbox-stat,
  .pfx1-a1-learning-card,
  .pfx1-a1-license-card,
  .pfx1-a1-license-detail,
  .pfx1-a1-license-revision-card,
  .pfx1-a1-market-card,
  .pfx1-a1-mini-card,
  .pfx1-a1-notification-hub__card,
  .pfx1-a1-referral-card,
  .pfx1-a1-renewal-license-card,
  .pfx1-a1-reward-card,
  .pfx1-a1-stories-card,
  .pfx1-a1-story-composer-card,
  .pfx1-a1-student-content-card,
  .pfx1-a1-support-card,
  .pfx1-a1-user-story-card
),
body.pfx1-dashboard-page [data-pfx1-section="account"] :is(
  .pfx1-v5-account-profile-card,
  .pfx1-v5-account-type-card,
  .pfx1-v5-completion-card,
  .pfx1-v5-verification-card,
  .pfx1-auth__verify-box
),
body.pfx1-commerce-surface :is(.pfx1-commerce-panel,.pfx1-purchase-detail,.pfx1-checkout-account),
.pfx1-ui-panel,
.pfx1-ui-card {
  border: 1px solid rgba(var(--pfx-ui-card-accent-rgb), .25);
  border-radius: var(--pfx-ui-radius-md);
  background: linear-gradient(180deg, rgba(8, 26, 44, .97), rgba(5, 18, 31, .98));
  box-shadow:
    var(--pfx-ui-shadow-card),
    0 0 var(--pfx-ui-card-glow-size) rgba(var(--pfx-ui-card-accent-rgb), var(--pfx-ui-card-glow-alpha)),
    inset 0 0 0 1px rgba(var(--pfx-ui-card-accent-rgb), .022);
}

/* Cards are quiet at rest and reveal their semantic tone on interaction.
 * Geometry is invariant: hover changes paint only. */
body.pfx1-dashboard-page .pfx1-a1 :is(
  .pfx1-a1-card,
  .pfx1-a1-mock-card,
  .pfx1-a1-mock-metric,
  .pfx1-a1-rail-card,
  .pfx1-a1-rail-profile,
  .pfx1-a1-purchase,
  .pfx1-a1-actions-card,
  .pfx1-a1-brief-card,
  .pfx1-a1-course-card,
  .pfx1-a1-download-card,
  .pfx1-a1-event-card,
  .pfx1-a1-inbox-card,
  .pfx1-a1-inbox-stat,
  .pfx1-a1-learning-card,
  .pfx1-a1-license-card,
  .pfx1-a1-license-detail,
  .pfx1-a1-license-revision-card,
  .pfx1-a1-market-card,
  .pfx1-a1-mini-card,
  .pfx1-a1-notification-hub__card,
  .pfx1-a1-referral-card,
  .pfx1-a1-renewal-license-card,
  .pfx1-a1-reward-card,
  .pfx1-a1-stories-card,
  .pfx1-a1-story-composer-card,
  .pfx1-a1-student-content-card,
  .pfx1-a1-support-card,
  .pfx1-a1-user-story-card
):where(:hover,:focus-within) {
  border-color: rgba(var(--pfx-ui-card-accent-rgb), .48);
  box-shadow:
    var(--pfx-ui-shadow-card),
    0 0 var(--pfx-ui-card-glow-hover-size) rgba(var(--pfx-ui-card-accent-rgb), var(--pfx-ui-card-glow-hover-alpha)),
    inset 0 0 0 1px rgba(var(--pfx-ui-card-accent-rgb), .035);
}

/* ---------------- Semantic tones ---------------- */
:where(.pfx1-ui-tone-cyan,.pfx1-ui-tone-info) { --pfx-ui-card-accent-rgb: var(--pfx-ui-accent-rgb); }
.pfx1-ui-tone-blue { --pfx-ui-card-accent-rgb: var(--pfx-ui-blue-rgb); }
.pfx1-ui-tone-green { --pfx-ui-card-accent-rgb: var(--pfx-ui-success-rgb); }
.pfx1-ui-tone-orange { --pfx-ui-card-accent-rgb: var(--pfx-ui-warning-rgb); }
.pfx1-ui-tone-danger { --pfx-ui-card-accent-rgb: var(--pfx-ui-danger-rgb); }
.pfx1-ui-tone-purple { --pfx-ui-card-accent-rgb: var(--pfx-ui-purple-rgb); }
.pfx1-ui-tone-indigo { --pfx-ui-card-accent-rgb: 118, 108, 255; }
.pfx1-ui-tone-gold { --pfx-ui-card-accent-rgb: 255, 196, 55; }

/* One shared presentation for intentionally unavailable surfaces. */
.pfx1-ui-unavailable {
  opacity: .48;
  filter: blur(.55px) saturate(.45);
  pointer-events: none;
  user-select: none;
}

/* Compact card action: one reusable source for “view / details” links.
 * It consumes the card semantic tone and never changes size on hover. */
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-card-action {
  width: max-content;
  max-width: 100%;
  min-height: 29px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(var(--pfx-ui-card-accent-rgb), .25);
  border-radius: 8px;
  background: rgba(var(--pfx-ui-card-accent-rgb), .055);
  color: color-mix(in srgb, rgb(var(--pfx-ui-card-accent-rgb)) 58%, white);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(var(--pfx-ui-card-accent-rgb), .035);
  transform: none;
  translate: none;
  scale: none;
  transition: color var(--pfx-ui-transition), background-color var(--pfx-ui-transition), border-color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition), filter var(--pfx-ui-transition);
}
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-card-action:where(:hover,:focus-visible) {
  outline: 0;
  border-color: rgba(var(--pfx-ui-card-accent-rgb), .55);
  background: rgba(var(--pfx-ui-card-accent-rgb), .10);
  color: #fff;
  box-shadow: 0 0 18px rgba(var(--pfx-ui-card-accent-rgb), .14);
  filter: brightness(1.035);
  transform: none;
  translate: none;
  scale: none;
}

/* ---------------- Reusable buttons ---------------- */
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime :is(.pfx1-auth__submit,.pfx1-auth__secondary),
body.pfx1-identity-visual-page .pfx1-auth :is(.pfx1-auth__submit,.pfx1-auth__secondary),
.pfx1-account-confirm__actions button,
:where(.pfx1-commerce-button,.pfx1-ui-button),
body.pfx1-commerce-surface :where(.button,button[type="submit"],.wc-block-components-button) {
  min-height: var(--pfx-ui-button-h);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(var(--pfx-ui-blue-rgb), .30);
  border-radius: var(--pfx-ui-radius-sm);
  background: rgba(var(--pfx-ui-blue-rgb), .10);
  color: var(--pfx-ui-text-strong);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
  transition: color var(--pfx-ui-transition), background-color var(--pfx-ui-transition), border-color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition), opacity var(--pfx-ui-transition), filter var(--pfx-ui-transition);
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button:hover,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button:focus-visible,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime :is(.pfx1-auth__submit,.pfx1-auth__secondary):hover,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime :is(.pfx1-auth__submit,.pfx1-auth__secondary):focus-visible,
body.pfx1-identity-visual-page .pfx1-auth :is(.pfx1-auth__submit,.pfx1-auth__secondary):hover,
body.pfx1-identity-visual-page .pfx1-auth :is(.pfx1-auth__submit,.pfx1-auth__secondary):focus-visible,
.pfx1-account-confirm__actions button:hover,
.pfx1-account-confirm__actions button:focus-visible,
:where(.pfx1-commerce-button,.pfx1-ui-button):hover,
:where(.pfx1-commerce-button,.pfx1-ui-button):focus-visible,
body.pfx1-commerce-surface :where(.button,button[type="submit"],.wc-block-components-button):hover,
body.pfx1-commerce-surface :where(.button,button[type="submit"],.wc-block-components-button):focus-visible {
  border-color: rgba(var(--pfx-ui-accent-rgb), .62);
  background: rgba(var(--pfx-ui-blue-rgb), .15);
  color: #fff;
  box-shadow: 0 0 18px rgba(var(--pfx-ui-accent-rgb), .12);
  filter: brightness(1.04);
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button:active,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime :is(.pfx1-auth__submit,.pfx1-auth__secondary):active,
body.pfx1-identity-visual-page .pfx1-auth :is(.pfx1-auth__submit,.pfx1-auth__secondary):active,
.pfx1-account-confirm__actions button:active,
:where(.pfx1-commerce-button,.pfx1-ui-button):active,
body.pfx1-commerce-surface :where(.button,button[type="submit"],.wc-block-components-button):active {
  filter: brightness(.98);
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-primary,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime .pfx1-auth__submit,
body.pfx1-identity-visual-page .pfx1-auth .pfx1-auth__submit,
.pfx1-account-confirm__actions .pfx1-account-confirm__accept,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-primary,
body.pfx1-commerce-surface :where(.checkout-button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button) {
  border-color: rgba(var(--pfx-ui-accent-rgb), .48);
  background: linear-gradient(90deg, #168dce, #1fc9cf);
  color: #fff;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-secondary,
body.pfx1-dashboard-page [data-pfx1-section="account"] .pfx1-a1-identity-runtime .pfx1-auth__secondary,
body.pfx1-identity-visual-page .pfx1-auth .pfx1-auth__secondary,
.pfx1-account-confirm__actions .pfx1-account-confirm__cancel,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-secondary {
  border-color: rgba(var(--pfx-ui-blue-rgb), .30);
  background: rgba(var(--pfx-ui-blue-rgb), .08);
  color: #cfeaff;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-ghost,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-ghost {
  border-color: var(--pfx-ui-line);
  background: transparent;
  color: #c7d7e5;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-success,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-success {
  border-color: rgba(var(--pfx-ui-success-rgb), .46);
  background: linear-gradient(90deg, rgba(9,145,105,.92), rgba(14,182,131,.92));
  color: #f3fff9;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-warning,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-warning {
  border-color: rgba(var(--pfx-ui-warning-rgb), .42);
  background: rgba(var(--pfx-ui-warning-rgb), .10);
  color: #ffe6ac;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-danger,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-danger,
:where(.pfx1-a1-button,.pfx1-commerce-button,.pfx1-ui-button).is-destructive {
  border-color: rgba(var(--pfx-ui-danger-rgb), .48);
  background: rgba(var(--pfx-ui-danger-rgb), .11);
  color: #ffd9df;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-danger-ghost,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-danger-ghost {
  border-color: rgba(var(--pfx-ui-danger-rgb), .38);
  background: rgba(var(--pfx-ui-danger-rgb), .055);
  color: #ffb8c3;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button.is-disabled,
:where(.pfx1-commerce-button,.pfx1-ui-button).is-disabled,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button[aria-disabled="true"],
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-button:disabled,
:where(.pfx1-commerce-button,.pfx1-ui-button)[aria-disabled="true"],
:where(.pfx1-commerce-button,.pfx1-ui-button):disabled {
  opacity: .48;
  cursor: default;
  filter: none;
}

/* ---------------- Reusable badges/status chips ---------------- */
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge) {
  min-width: 0;
  height: var(--pfx-ui-badge-h);
  min-height: var(--pfx-ui-badge-h);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgba(var(--pfx-ui-neutral-rgb), .28);
  border-radius: 999px;
  background: rgba(var(--pfx-ui-neutral-rgb), .08);
  color: #d4e1ec;
  font-family: inherit;
  font-size: 10px;
  font-weight: 620;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge.is-success,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-success {
  border-color: rgba(var(--pfx-ui-success-rgb), .40);
  background: rgba(var(--pfx-ui-success-rgb), .10);
  color: #7aefbb;
}
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge.is-warning,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-warning {
  border-color: rgba(var(--pfx-ui-warning-rgb), .40);
  background: rgba(var(--pfx-ui-warning-rgb), .09);
  color: #f8cf77;
}
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge.is-danger,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-danger,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-error {
  border-color: rgba(var(--pfx-ui-danger-rgb), .42);
  background: rgba(var(--pfx-ui-danger-rgb), .09);
  color: #ff9aaa;
}
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge.is-info,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-info {
  border-color: rgba(var(--pfx-ui-blue-rgb), .37);
  background: rgba(var(--pfx-ui-blue-rgb), .09);
  color: #91cbff;
}
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-badge.is-purple,
:where(.pfx1-ui-badge,.pfx1-ui-status-badge).is-purple {
  border-color: rgba(var(--pfx-ui-purple-rgb), .40);
  background: rgba(var(--pfx-ui-purple-rgb), .10);
  color: #ccb8ff;
}

/* ---------------- Canonical form anatomy ---------------- */
.pfx1-ui-form-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pfx1-ui-field-label,
body.pfx1-frontend-field-contract [data-pfx1-support] label > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-inline: 2px;
  color: #8fc9e8;
  font-family: inherit;
  font-size: var(--pfx-ui-label-font-size);
  font-weight: 650;
  line-height: 1.55;
}
.pfx1-ui-field-label small,
body.pfx1-frontend-field-contract [data-pfx1-support] label > span:first-child small {
  color: var(--pfx-ui-muted-2);
  font-size: var(--pfx-ui-help-font-size);
  font-weight: 500;
}
.pfx1-ui-field-help,
body.pfx1-frontend-field-contract [data-pfx1-support] label > small {
  display: block;
  padding-inline: 2px;
  color: var(--pfx-ui-muted-2);
  font-family: inherit;
  font-size: var(--pfx-ui-help-font-size);
  font-weight: 500;
  line-height: 1.7;
}

/* PFX1 field class is the common primitive. Broader selectors keep existing
 * PFX1-owned Commerce/Identity fields on the same contract without touching
 * third-party controls. */
.pfx1-ui-field,
body.pfx1-frontend-field-contract :is(
  .pfx1-a1,
  .pfx1-auth,
  .pfx1-education-page-shell,
  [data-pfx1-support],
  .pfx1-payment-panel,
  .pfx1-receipt-panel,
  .pfx1-license-panel,
  .pfx1-commerce-surface
) :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
  select,
  textarea
),
body.pfx1-commerce-surface :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
  select,
  textarea,
  .wc-block-components-text-input input,
  .wc-block-components-combobox-control input
) {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(87, 151, 199, .32);
  border-radius: var(--pfx-ui-radius-sm);
  outline: 0;
  background: var(--pfx-ui-field);
  color: var(--pfx-ui-text);
  -webkit-text-fill-color: var(--pfx-ui-text);
  caret-color: var(--pfx-ui-accent);
  font-family: inherit;
  font-size: var(--pfx-ui-field-font-size);
  font-weight: 500;
  line-height: 1.5;
  text-align: start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.012);
  transition: border-color var(--pfx-ui-transition), background-color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition);
}

.pfx1-ui-field:not(textarea),
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) :where(input,select),
body.pfx1-commerce-surface :where(input,select,.wc-block-components-text-input input,.wc-block-components-combobox-control input) {
  min-height: var(--pfx-ui-field-h);
  padding: 0 15px;
}

.pfx1-ui-field[type="search"],
body.pfx1-frontend-field-contract :is(.pfx1-a1,[data-pfx1-support]) input[type="search"] {
  font-size: var(--pfx-ui-search-font-size);
  font-weight: 500;
  padding-inline: 14px;
}

.pfx1-ui-field:is(textarea),
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) textarea,
body.pfx1-commerce-surface textarea {
  min-height: 112px;
  padding: 12px 15px;
  line-height: 1.8;
  resize: vertical;
}

.pfx1-ui-field:focus,
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) :where(input,select,textarea):focus,
body.pfx1-commerce-surface :where(input,select,textarea,.wc-block-components-text-input input,.wc-block-components-combobox-control input):focus {
  border-color: rgba(var(--pfx-ui-accent-rgb), .68);
  background: var(--pfx-ui-field-focus);
  box-shadow: var(--pfx-ui-shadow-focus);
}

.pfx1-ui-field::placeholder,
body.pfx1-frontend-field-contract :is(.pfx1-a1,.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) :where(input,textarea)::placeholder,
body.pfx1-commerce-surface :where(input,textarea)::placeholder {
  color: #6e879a;
  -webkit-text-fill-color: #6e879a;
  opacity: .88;
  font-family: inherit;
  font-size: 10px;
  font-weight: 440;
  line-height: 1.35;
}

/* Invalid controls are red. Warning is reserved for non-error state notices. */
.pfx1-ui-field.is-pfx1-invalid,
body.pfx1-frontend-field-contract :is(input,textarea,select).is-pfx1-invalid,
.pfx1-ui-select.is-invalid .pfx1-ui-select__trigger {
  border-color: rgba(var(--pfx-ui-danger-rgb), .72);
  box-shadow: 0 0 0 2px rgba(var(--pfx-ui-danger-rgb), .08), 0 0 18px rgba(var(--pfx-ui-danger-rgb), .06);
}

/* Browser autofill must retain the premium field surface. */
body.pfx1-frontend-field-contract :is(.pfx1-auth,.pfx1-education-page-shell,[data-pfx1-support],.pfx1-payment-panel,.pfx1-receipt-panel,.pfx1-license-panel,.pfx1-commerce-surface) input:-webkit-autofill,
body.pfx1-commerce-surface input:-webkit-autofill {
  -webkit-text-fill-color: var(--pfx-ui-text);
  -webkit-box-shadow: 0 0 0 1000px var(--pfx-ui-field) inset;
  transition: background-color 9999s ease-out 0s;
}

/* ---------------- Premium custom select ---------------- */
.pfx1-ui-select {
  position: relative;
  width: 100%;
  min-width: 0;
  font-family: inherit;
}
.pfx1-ui-select > .pfx1-ui-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: .001;
}
.pfx1-ui-select__trigger {
  width: 100%;
  min-height: var(--pfx-ui-field-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(87,151,199,.32);
  border-radius: var(--pfx-ui-radius-sm);
  background: var(--pfx-ui-field);
  color: var(--pfx-ui-text);
  font-family: inherit;
  font-size: var(--pfx-ui-field-font-size);
  font-weight: 520;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.012);
  transition: border-color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition), background-color var(--pfx-ui-transition), color var(--pfx-ui-transition);
}
.pfx1-ui-select__trigger:hover,
.pfx1-ui-select__trigger:focus-visible,
.pfx1-ui-select.is-open .pfx1-ui-select__trigger {
  outline: 0;
  border-color: rgba(var(--pfx-ui-accent-rgb), .60);
  background: var(--pfx-ui-field-focus);
  box-shadow: var(--pfx-ui-shadow-focus);
}
.pfx1-ui-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pfx1-ui-select__value.is-placeholder { color: var(--pfx-ui-muted-2); font-weight: 450; }
.pfx1-ui-select__chevron {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--pfx-ui-accent-rgb),.20);
  border-radius: 7px;
  color: #80dce7;
  background: rgba(var(--pfx-ui-accent-rgb),.05);
  font-size: 11px;
  line-height: 1;
  transition: border-color var(--pfx-ui-transition), background-color var(--pfx-ui-transition), color var(--pfx-ui-transition);
}
.pfx1-ui-select.is-open .pfx1-ui-select__chevron {
  border-color: rgba(var(--pfx-ui-accent-rgb),.40);
  background: rgba(var(--pfx-ui-accent-rgb),.10);
}
.pfx1-ui-select__menu {
  position: absolute;
  z-index: 10050;
  inset-inline: 0;
  top: calc(100% + 6px);
  display: grid;
  gap: 3px;
  max-height: 250px;
  padding: 6px;
  overflow: auto;
  border: 1px solid rgba(var(--pfx-ui-accent-rgb), .30);
  border-radius: 11px;
  background: linear-gradient(180deg,rgba(7,24,40,.995),rgba(4,17,30,.995));
  box-shadow: 0 20px 52px rgba(0,0,0,.42), 0 0 24px rgba(var(--pfx-ui-accent-rgb),.06), inset 0 1px 0 rgba(255,255,255,.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--pfx-ui-transition), visibility var(--pfx-ui-transition);
}
.pfx1-ui-select.is-open .pfx1-ui-select__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pfx1-ui-select__option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #b9cada;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  cursor: pointer;
  box-shadow: none;
  transition: background-color var(--pfx-ui-transition), border-color var(--pfx-ui-transition), color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition);
}
.pfx1-ui-select__option:hover,
.pfx1-ui-select__option:focus-visible {
  outline: 0;
  border-color: rgba(var(--pfx-ui-accent-rgb), .24);
  background: rgba(var(--pfx-ui-accent-rgb), .08);
  color: #fff;
  box-shadow: 0 0 14px rgba(var(--pfx-ui-accent-rgb), .05);
}
.pfx1-ui-select__option[aria-selected="true"] {
  border-color: rgba(var(--pfx-ui-accent-rgb), .32);
  background: rgba(var(--pfx-ui-accent-rgb), .11);
  color: #f7ffff;
}
.pfx1-ui-select__option[aria-selected="true"]::after {
  content: "✓";
  flex: 0 0 auto;
  color: var(--pfx-ui-success);
  font-size: 10px;
}
.pfx1-ui-select.is-disabled .pfx1-ui-select__trigger { opacity: .48; cursor: default; }

/* ---------------- Field-local feedback ---------------- */
.pfx1-ui-field-message {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin: 8px 0 1px;
  padding: 6px 9px;
  border: 1px solid rgba(var(--pfx-ui-blue-rgb), .34);
  border-radius: 8px;
  background: rgba(var(--pfx-ui-blue-rgb), .07);
  color: #bfe0ff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.55;
}
.pfx1-ui-field-message::before {
  content: "i";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(var(--pfx-ui-blue-rgb), .10);
  color: #8fcaff;
  font-size: 10px;
  font-weight: 750;
}
.pfx1-ui-field-message.is-error {
  border-color: rgba(var(--pfx-ui-danger-rgb), .42);
  background: rgba(var(--pfx-ui-danger-rgb), .07);
  color: #ffc4cc;
}
.pfx1-ui-field-message.is-error::before {
  content: "!";
  background: rgba(var(--pfx-ui-danger-rgb), .11);
  color: #ff9aaa;
}
.pfx1-ui-field-message.is-warning {
  border-color: rgba(var(--pfx-ui-warning-rgb), .42);
  background: rgba(var(--pfx-ui-warning-rgb), .07);
  color: #ffe0a0;
}
.pfx1-ui-field-message.is-warning::before {
  content: "!";
  background: rgba(var(--pfx-ui-warning-rgb), .10);
  color: #f8cf77;
}
.pfx1-ui-field-message.is-success {
  border-color: rgba(var(--pfx-ui-success-rgb), .38);
  background: rgba(var(--pfx-ui-success-rgb), .07);
  color: #aef0d1;
}
.pfx1-ui-field-message.is-success::before {
  content: "✓";
  background: rgba(var(--pfx-ui-success-rgb), .10);
  color: #7aefbb;
}

/* Legacy global validation toast is intentionally not used by the new runtime.
 * Keep it inert if cached markup exists during a version transition. */
.pfx1-ui-validation-toast { display: none; }

/* ---------------- Semantic notices ---------------- */
.pfx1-ui-notice,
[data-pfx1-notice] {
  min-height: 42px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--pfx-ui-blue-rgb), .34);
  border-radius: var(--pfx-ui-radius-sm);
  background: rgba(var(--pfx-ui-blue-rgb), .07);
  color: #cfe8ff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.7;
}
.pfx1-ui-notice[data-type="success"],
.pfx1-ui-notice.is-success,
[data-pfx1-notice][data-type="success"] {
  border-color: rgba(var(--pfx-ui-success-rgb), .40);
  background: rgba(var(--pfx-ui-success-rgb), .08);
  color: #baf5d9;
}
.pfx1-ui-notice[data-type="warning"],
.pfx1-ui-notice.is-warning,
[data-pfx1-notice][data-type="warning"] {
  border-color: rgba(var(--pfx-ui-warning-rgb), .44);
  background: rgba(var(--pfx-ui-warning-rgb), .08);
  color: #ffe1a0;
}
.pfx1-ui-notice[data-type="error"],
.pfx1-ui-notice[data-type="danger"],
.pfx1-ui-notice.is-error,
.pfx1-ui-notice.is-danger,
[data-pfx1-notice][data-type="error"],
[data-pfx1-notice][data-type="danger"] {
  border-color: rgba(var(--pfx-ui-danger-rgb), .46);
  background: rgba(var(--pfx-ui-danger-rgb), .08);
  color: #ffc4cc;
}
.pfx1-ui-notice[data-type="info"],
.pfx1-ui-notice.is-info,
[data-pfx1-notice][data-type="info"] {
  border-color: rgba(var(--pfx-ui-blue-rgb), .36);
  background: rgba(var(--pfx-ui-blue-rgb), .07);
  color: #cfe8ff;
}

/* ---------------- Shared pagination ---------------- */
.pfx1-ui-pagination,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 9px 11px;
  border: 1px solid rgba(var(--pfx-ui-accent-rgb), .18);
  border-radius: 12px;
  background: linear-gradient(180deg,rgba(7,24,40,.82),rgba(5,18,31,.88));
  box-shadow: 0 12px 28px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.018);
}
.pfx1-ui-pagination__summary,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__summary {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: var(--pfx-ui-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.45;
}
.pfx1-ui-pagination__eyebrow,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__eyebrow { color: #72bde8; font-weight: 650; }
.pfx1-ui-pagination__controls,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}
.pfx1-ui-pagination__pages,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__pages {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pfx1-ui-pagination__nav,
.pfx1-ui-pagination__page,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__nav,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__page {
  box-sizing: border-box;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(102,158,201,.25);
  border-radius: 9px;
  background: rgba(8,28,46,.84);
  color: #c8d8e4;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: border-color var(--pfx-ui-transition), background-color var(--pfx-ui-transition), color var(--pfx-ui-transition), box-shadow var(--pfx-ui-transition);
}
.pfx1-ui-pagination__nav:hover,
.pfx1-ui-pagination__nav:focus-visible,
.pfx1-ui-pagination__page:hover,
.pfx1-ui-pagination__page:focus-visible,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__nav:hover,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__nav:focus-visible,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__page:hover,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__page:focus-visible {
  outline: 0;
  border-color: rgba(var(--pfx-ui-accent-rgb), .48);
  background: rgba(var(--pfx-ui-accent-rgb), .08);
  color: #fff;
  box-shadow: 0 0 14px rgba(var(--pfx-ui-accent-rgb), .08);
}
.pfx1-ui-pagination__page.is-current,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__page.is-current {
  border-color: rgba(var(--pfx-ui-accent-rgb), .58);
  background: rgba(var(--pfx-ui-accent-rgb), .13);
  color: #f8ffff;
  box-shadow: 0 0 14px rgba(var(--pfx-ui-accent-rgb), .08);
}
.pfx1-ui-pagination__nav.is-disabled,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__nav.is-disabled {
  opacity: .38;
  pointer-events: none;
  box-shadow: none;
}
.pfx1-ui-pagination__ellipsis,
body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__ellipsis {
  min-width: 18px;
  color: var(--pfx-ui-muted-2);
  text-align: center;
  font-size: 10px;
}

/* ---------------- Shared focus ---------------- */
:where(.pfx1-a1-button,.pfx1-commerce-button,.pfx1-ui-button,.pfx1-collection-search__submit,.pfx1-collection-search__clear):focus-visible {
  outline: 2px solid rgba(var(--pfx-ui-accent-rgb), .72);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .pfx1-ui-pagination,
  body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pfx1-ui-pagination__controls,
  body.pfx1-dashboard-page .pfx1-a1 .pfx1-a1-pagination__controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --pfx-ui-transition: .01ms linear; }
}

/* 5.7.55 — badge centering contract across dashboard/story/account surfaces. */
body.pfx1-dashboard-page .pfx1-a1-stage .pfx1-a1-badge,
body.pfx1-dashboard-page .pfx1-a1-stage .pfx1-ui-badge,
body.pfx1-dashboard-page .pfx1-a1-stage .pfx1-auth__status-badge{
  display:inline-grid;
  place-items:center;
  align-self:center;
  justify-self:center;
  min-height:28px;
  padding:0 11px;
  line-height:1.15;
  text-align:center;
  white-space:nowrap;
  font-style:normal;
}

/* PFX1 Site Studio 5.7.58 — canonical dashboard operation/confirmation layer.
 * Root repair: Inbox delete-all creates this shared PFX1 operation primitive on
 * document.body, so the dashboard premium stylesheet must own its viewport
 * geometry instead of relying on the retired shared-controls frontend skin. */
html.pfx1-ui-operation-open,
html.pfx1-ui-operation-open body{
  overflow:hidden!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer{
  --pfx-operation-border:rgba(var(--pfx-ui-danger-rgb),.48);
  --pfx-operation-glow:rgba(var(--pfx-ui-danger-rgb),.16);
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100dvh!important;
  min-width:100vw!important;
  min-height:100dvh!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:24px!important;
  box-sizing:border-box!important;
  direction:rtl!important;
  isolation:isolate!important;
  overflow:hidden!important;
  font-family:var(--pfx-a1-font,var(--pfx-ui-font,inherit))!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer > .pfx1-ui-operation-layer__backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:rgba(0,5,13,.82)!important;
  backdrop-filter:blur(9px) saturate(.82)!important;
  -webkit-backdrop-filter:blur(9px) saturate(.82)!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer > .pfx1-ui-operation-layer__card{
  position:relative!important;
  z-index:1!important;
  width:min(100%,520px)!important;
  max-width:520px!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:14px 16px!important;
  align-items:start!important;
  margin:0!important;
  padding:22px!important;
  box-sizing:border-box!important;
  border:1px solid var(--pfx-operation-border)!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 92% 2%,rgba(var(--pfx-ui-danger-rgb),.10),transparent 38%),
    linear-gradient(180deg,#081827 0%,#05111d 100%)!important;
  color:var(--pfx-ui-text,#f3f8fd)!important;
  text-align:right!important;
  box-shadow:0 28px 90px rgba(0,0,0,.58),0 0 34px var(--pfx-operation-glow)!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__icon{
  grid-column:1!important;
  grid-row:1!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  border:1px solid rgba(var(--pfx-ui-danger-rgb),.48)!important;
  border-radius:13px!important;
  background:rgba(var(--pfx-ui-danger-rgb),.10)!important;
  color:#ff9aa5!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__content{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__title{
  margin:0 0 7px!important;
  color:#f7fbff!important;
  font-family:inherit!important;
  font-size:17px!important;
  font-weight:780!important;
  line-height:1.6!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__message{
  margin:0!important;
  color:#9eb2c2!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:480!important;
  line-height:1.95!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  margin:4px 0 0!important;
  padding-top:14px!important;
  border-top:1px solid rgba(111,156,185,.13)!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions > button{
  min-width:126px!important;
  min-height:40px!important;
  height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  font-family:inherit!important;
  font-size:10.5px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions [data-pfx1-inbox-confirm-accept]{
  border-color:rgba(var(--pfx-ui-danger-rgb),.58)!important;
  background:linear-gradient(135deg,rgba(155,28,45,.96),rgba(216,50,68,.96))!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(var(--pfx-ui-danger-rgb),.12)!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions [data-pfx1-inbox-confirm-accept]:is(:hover,:focus-visible){
  border-color:rgba(255,144,155,.82)!important;
  filter:brightness(1.05)!important;
  box-shadow:0 0 0 2px rgba(var(--pfx-ui-danger-rgb),.08),0 12px 28px rgba(var(--pfx-ui-danger-rgb),.18)!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions [data-pfx1-inbox-confirm-cancel]{
  border-color:rgba(var(--pfx-ui-blue-rgb),.34)!important;
  background:rgba(8,30,49,.94)!important;
  color:#dcebf5!important;
  box-shadow:none!important;
}
body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions [data-pfx1-inbox-confirm-cancel]:is(:hover,:focus-visible){
  border-color:rgba(var(--pfx-ui-blue-rgb),.58)!important;
  background:rgba(var(--pfx-ui-blue-rgb),.10)!important;
  color:#fff!important;
  box-shadow:0 0 0 2px rgba(var(--pfx-ui-blue-rgb),.07)!important;
}
@media(max-width:620px){
  body.pfx1-dashboard-page > .pfx1-ui-operation-layer{padding:14px!important;}
  body.pfx1-dashboard-page > .pfx1-ui-operation-layer > .pfx1-ui-operation-layer__card{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:12px!important;
    padding:18px!important;
    border-radius:15px!important;
  }
  body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__icon{width:38px!important;height:38px!important;border-radius:11px!important;}
  body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions{display:grid!important;grid-template-columns:1fr!important;}
  body.pfx1-dashboard-page > .pfx1-ui-operation-layer .pfx1-ui-operation-layer__actions > button{width:100%!important;min-width:0!important;}
}

/* ========================================================================
   PFX1 Site Studio 5.8.14 — VERIFICATION PREMIUM RHYTHM
   Presentation-only. Jalali behavior/skin is owned by the canonical picker
   component loaded separately; no local date-picker override lives here.
   ======================================================================== */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form]{
  --pfx1-verification-field-h:48px;
  --pfx1-verification-field-radius:11px;
  --pfx1-verification-field-pad:20px;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] label:has(:is(input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),textarea,select)){
  align-content:start;
  gap:8px;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] label:has(:is(input,textarea,select)) > :where(span,strong):first-child{
  line-height:1.55;
  margin:0;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] :is(
  input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.pfx1-jalali-date),
  select
){
  box-sizing:border-box !important;
  width:100% !important;
  min-height:var(--pfx1-verification-field-h) !important;
  height:var(--pfx1-verification-field-h) !important;
  padding-block:0 !important;
  padding-inline:var(--pfx1-verification-field-pad) !important;
  border-radius:var(--pfx1-verification-field-radius) !important;
  line-height:1.45 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] textarea{
  box-sizing:border-box !important;
  width:100% !important;
  min-height:112px !important;
  padding:14px var(--pfx1-verification-field-pad) !important;
  border-radius:var(--pfx1-verification-field-radius) !important;
  line-height:1.9 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] :is(input,textarea)::placeholder{
  color:#6f8da4 !important;
  -webkit-text-fill-color:#6f8da4 !important;
  opacity:.90 !important;
  text-indent:0 !important;
  line-height:1.45 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] :is(input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),textarea,select):focus{
  border-color:rgba(61,194,244,.58) !important;
  background:#071a2a !important;
  box-shadow:0 0 0 2px rgba(43,156,255,.09),0 0 20px rgba(34,201,212,.06) !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form]{
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:14px 14px !important;
  margin-top:16px !important;
  align-items:start !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > label:not(.pfx1-education-file):not(.pfx1-education-check){
  display:grid !important;
  gap:8px !important;
  align-content:start !important;
  min-width:0 !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] .pfx1-education-field-label{
  min-height:20px !important;
  margin:0 !important;
  color:#edf5fb !important;
  font-size:11px !important;
  font-weight:750 !important;
  line-height:1.55 !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] .pfx1-education-form-section{
  min-height:0 !important;
  gap:10px !important;
  margin:2px 0 0 !important;
  padding:13px 15px !important;
  border:1px solid rgba(87,151,199,.24) !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,rgba(7,31,49,.78),rgba(5,20,33,.82)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018) !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] .pfx1-education-form-section__eyebrow{
  min-height:22px !important;
  padding:2px 8px !important;
  border-radius:999px !important;
  line-height:1.45 !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] textarea.pfx1-ui-field{
  min-height:104px !important;
  max-height:170px !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > .pfx1-education-form-section,
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > .pfx1-education-submit-row,
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > .pfx1-education-check,
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > label.is-wide:not(.pfx1-education-file){
  grid-column:1 / -1 !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > label:not(.pfx1-education-file):not(.pfx1-education-check):not(.is-wide){
  grid-column:span 6 !important;
}
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > .pfx1-education-file,
body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > label.pfx1-education-file.is-wide{
  grid-column:span 6 !important;
  min-width:0 !important;
}
@media(max-width:760px){
  body.pfx1-frontend-field-contract form[data-pfx1-verification-form]{
    --pfx1-verification-field-h:46px;
    --pfx1-verification-field-pad:16px;
  }
  body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > label,
  body.pfx1-frontend-field-contract .pfx1-education-page-shell .pfx1-education-verification-form[data-pfx1-verification-form] > .pfx1-education-file{
    grid-column:1 / -1 !important;
  }
}


/* ========================================================================
   PFX1 Site Studio 5.10.59 — LEGACY STUDENT VERIFICATION SELECT CONTRACT
   Scope: ONLY form[data-pfx1-verification-form].
   All selects on this verification surface share one premium trigger/menu
   contract. No dashboard, checkout, support, testimonials or other surface
   is changed.
   ======================================================================== */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form]{
  --pfx1-legacy-select-h:48px;
  --pfx1-legacy-select-radius:11px;
  --pfx1-legacy-select-bg:#061725;
  --pfx1-legacy-select-bg-focus:#071d2d;
  --pfx1-legacy-select-line:rgba(64,164,216,.34);
  --pfx1-legacy-select-line-strong:rgba(54,199,236,.72);
  --pfx1-legacy-select-accent:#22c9d4;
  --pfx1-legacy-select-accent-rgb:34,201,212;
}

/* The menu must be allowed to paint outside field/section boxes. */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form],
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] > label,
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-education-form-section{
  overflow:visible !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select{
  position:relative !important;
  z-index:auto;
  width:100% !important;
  min-width:0 !important;
  isolation:isolate;
  font-family:var(--pfx-ui-font) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select.is-open{
  z-index:2147481000 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select > select.pfx1-ui-select__native{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:1px !important;
  margin:0 !important;
  padding:0 !important;
  clip:rect(0 0 0 0) !important;
  clip-path:inset(50%) !important;
  overflow:hidden !important;
  opacity:.001 !important;
  pointer-events:none !important;
}

/* Hard reset because theme/Elementor button paint must not recolor selects. */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__trigger{
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  min-height:var(--pfx1-legacy-select-h) !important;
  height:var(--pfx1-legacy-select-h) !important;
  margin:0 !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  border:1px solid var(--pfx1-legacy-select-line) !important;
  border-radius:var(--pfx1-legacy-select-radius) !important;
  outline:0 !important;
  background:linear-gradient(180deg,rgba(7,27,43,.99),rgba(5,20,33,.99)) !important;
  background-color:var(--pfx1-legacy-select-bg) !important;
  background-image:linear-gradient(180deg,rgba(7,27,43,.99),rgba(5,20,33,.99)) !important;
  color:#edf7ff !important;
  -webkit-text-fill-color:#edf7ff !important;
  font-family:var(--pfx-ui-font) !important;
  font-size:12px !important;
  font-weight:650 !important;
  line-height:1.45 !important;
  text-align:right !important;
  cursor:pointer !important;
  transform:none !important;
  filter:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 22px rgba(0,0,0,.10) !important;
  transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__trigger:is(:hover,:focus-visible),
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select.is-open .pfx1-ui-select__trigger{
  border-color:var(--pfx1-legacy-select-line-strong) !important;
  background:linear-gradient(180deg,rgba(8,34,52,.995),rgba(6,24,38,.995)) !important;
  background-color:var(--pfx1-legacy-select-bg-focus) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  transform:none !important;
  filter:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 0 0 2px rgba(var(--pfx1-legacy-select-accent-rgb),.07),
    0 0 24px rgba(var(--pfx1-legacy-select-accent-rgb),.10) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__value{
  flex:1 1 auto !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:inherit !important;
  font:inherit !important;
  line-height:1.45 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__value.is-placeholder{
  color:#7595ab !important;
  -webkit-text-fill-color:#7595ab !important;
  font-weight:500 !important;
}

/* Restore a compact field affordance on this page only. */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__chevron{
  flex:0 0 26px !important;
  width:26px !important;
  height:26px !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid rgba(var(--pfx1-legacy-select-accent-rgb),.25) !important;
  border-radius:8px !important;
  background:rgba(var(--pfx1-legacy-select-accent-rgb),.07) !important;
  color:#87e9ef !important;
  -webkit-text-fill-color:#87e9ef !important;
  font-size:12px !important;
  line-height:1 !important;
  transform:none !important;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select.is-open .pfx1-ui-select__chevron{
  border-color:rgba(var(--pfx1-legacy-select-accent-rgb),.50) !important;
  background:rgba(var(--pfx1-legacy-select-accent-rgb),.13) !important;
  color:#c9fcff !important;
  transform:none !important;
}

/* Dropdown / sub-menu surface. */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__menu{
  position:absolute !important;
  z-index:2147481100 !important;
  inset-inline:0 !important;
  top:calc(100% + 8px) !important;
  bottom:auto !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  max-height:280px !important;
  margin:0 !important;
  padding:7px !important;
  display:grid !important;
  gap:4px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  border:1px solid rgba(var(--pfx1-legacy-select-accent-rgb),.34) !important;
  border-radius:12px !important;
  background:linear-gradient(180deg,rgba(5,22,36,.998),rgba(3,15,27,.998)) !important;
  background-color:#051624 !important;
  color:#dcebf5 !important;
  box-shadow:
    0 24px 56px rgba(0,0,0,.48),
    0 0 30px rgba(var(--pfx1-legacy-select-accent-rgb),.09),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:none !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(var(--pfx1-legacy-select-accent-rgb),.38) transparent;
  transition:opacity .15s ease,visibility .15s ease !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select.is-open .pfx1-ui-select__menu{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select.is-drop-up .pfx1-ui-select__menu{
  top:auto !important;
  bottom:calc(100% + 8px) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__menu::-webkit-scrollbar{width:6px !important;height:0 !important;}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__menu::-webkit-scrollbar-thumb{
  border-radius:999px !important;
  background:rgba(var(--pfx1-legacy-select-accent-rgb),.32) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__option{
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-height:42px !important;
  margin:0 !important;
  padding:8px 11px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  border:1px solid transparent !important;
  border-radius:9px !important;
  outline:0 !important;
  background:rgba(255,255,255,.012) !important;
  color:#b9cfdd !important;
  -webkit-text-fill-color:#b9cfdd !important;
  font-family:var(--pfx-ui-font) !important;
  font-size:12px !important;
  font-weight:550 !important;
  line-height:1.55 !important;
  text-align:right !important;
  cursor:pointer !important;
  transform:none !important;
  filter:none !important;
  box-shadow:none !important;
  transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__option:is(:hover,:focus-visible){
  border-color:rgba(var(--pfx1-legacy-select-accent-rgb),.25) !important;
  background:rgba(var(--pfx1-legacy-select-accent-rgb),.085) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  transform:none !important;
  box-shadow:inset -3px 0 0 rgba(var(--pfx1-legacy-select-accent-rgb),.68),0 0 18px rgba(var(--pfx1-legacy-select-accent-rgb),.04) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__option[aria-selected="true"]{
  border-color:rgba(var(--pfx1-legacy-select-accent-rgb),.34) !important;
  background:linear-gradient(90deg,rgba(var(--pfx1-legacy-select-accent-rgb),.13),rgba(var(--pfx1-legacy-select-accent-rgb),.055)) !important;
  color:#f7feff !important;
  -webkit-text-fill-color:#f7feff !important;
  font-weight:700 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__option[aria-selected="true"]::after{
  content:"✓" !important;
  flex:0 0 21px !important;
  width:21px !important;
  height:21px !important;
  display:grid !important;
  place-items:center !important;
  border:1px solid rgba(42,221,166,.24) !important;
  border-radius:7px !important;
  background:rgba(42,221,166,.10) !important;
  color:#76f3c9 !important;
  font-size:11px !important;
  line-height:1 !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__option:disabled{
  opacity:.42 !important;
  cursor:not-allowed !important;
}

/* Native fallback if JS is delayed/disabled: never show the bright theme blue. */
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] select:not(.pfx1-ui-select__native){
  color-scheme:dark !important;
  border:1px solid var(--pfx1-legacy-select-line) !important;
  border-radius:var(--pfx1-legacy-select-radius) !important;
  background-color:var(--pfx1-legacy-select-bg) !important;
  color:#edf7ff !important;
  -webkit-text-fill-color:#edf7ff !important;
  font-family:var(--pfx-ui-font) !important;
  font-size:12px !important;
  font-weight:650 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
}
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] select:not(.pfx1-ui-select__native) option,
body.pfx1-frontend-field-contract form[data-pfx1-verification-form] select:not(.pfx1-ui-select__native) optgroup{
  background:#051624 !important;
  color:#e8f5fb !important;
  font-family:var(--pfx-ui-font) !important;
  font-size:12px !important;
}

@media(max-width:760px){
  body.pfx1-frontend-field-contract form[data-pfx1-verification-form]{
    --pfx1-legacy-select-h:46px;
  }
  body.pfx1-frontend-field-contract form[data-pfx1-verification-form] .pfx1-ui-select__menu{
    max-height:240px !important;
  }
}
