.pb-app,
.pb-app * {
  box-sizing: border-box;
}

.pb-app {
  --pb-deep: #051426;
  --pb-navy: #0a2948;
  --pb-blue: #147da8;
  --pb-blue-light: #4cc5ee;
  --pb-gold: #82ddfa;
  --pb-gold-dark: #147da8;
  --pb-ink: #172b40;
  --pb-muted: #627084;
  --pb-border: rgba(10, 41, 72, 0.13);
  --pb-bg: #f3f7fa;
  --pb-white: #fff;
  position: relative;
  left: 0;
  width: 100vw !important;
  min-width: 100vw;
  max-width: none !important;
  margin: 0 !important;
  color: var(--pb-ink);
  background: var(--pb-bg);
  font-family: Manrope, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateX(var(--pb-viewport-shift, 0px));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.pb-app button,
.pb-app input,
.pb-app select,
.pb-app textarea {
  font: inherit;
}

.pb-app button,
.pb-app summary,
.pb-app label {
  -webkit-tap-highlight-color: transparent;
}

.pb-app__masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(24px, 5vw, 78px);
  color: #fff;
  background: var(--pb-deep);
  border-top: 4px solid var(--pb-blue-light);
  border-bottom: 1px solid rgba(130, 221, 250, 0.12);
}

.pb-app__portal-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pb-app__portal-identity > span:last-child,
.pb-app__portal-identity strong,
.pb-app__portal-identity small {
  display: block;
}

.pb-app__portal-identity strong {
  color: #f7fbff;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
}

.pb-app__portal-identity small {
  margin-top: 2px;
  color: #86bed6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pb-app__portal-icon {
  display: grid;
  flex: 0 0 34px;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid rgba(130, 221, 250, 0.28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(76, 197, 238, 0.17), rgba(10, 41, 72, 0.18));
  box-shadow: inset 0 0 18px rgba(76, 197, 238, 0.06);
}

.pb-app__portal-icon i {
  display: block;
  width: 5px;
  border-radius: 3px 3px 1px 1px;
  background: var(--pb-blue-light);
}

.pb-app__portal-icon i:nth-child(1) { height: 8px; }
.pb-app__portal-icon i:nth-child(2) { height: 14px; }
.pb-app__portal-icon i:nth-child(3) { height: 20px; }

.pb-app__secure {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 10px;
  min-width: 0;
  color: #c9dae8;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pb-app__secure-lock {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 12px;
  margin-top: 4px;
  border: 2px solid var(--pb-blue-light);
  border-radius: 3px;
}

.pb-app__secure-lock::before {
  position: absolute;
  top: -9px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--pb-blue-light);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  content: "";
}

.pb-app__hero {
  position: relative;
  display: block;
  min-height: 380px;
  padding: 42px clamp(24px, 5vw, 78px) 26px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 18%, rgba(76, 197, 238, 0.16), transparent 30%),
    linear-gradient(135deg, #020c19 0%, #06192d 52%, #0a2b4a 100%);
}

.pb-app__hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 12, 25, 0.99) 0%, rgba(3, 16, 31, 0.96) 31%, rgba(3, 17, 32, 0.72) 48%, rgba(3, 17, 32, 0.18) 74%, rgba(3, 17, 32, 0.08) 100%),
    linear-gradient(0deg, rgba(2, 12, 25, 0.86) 0%, rgba(2, 12, 25, 0.18) 48%, rgba(2, 12, 25, 0.38) 100%);
  content: "";
  pointer-events: none;
}

.pb-app__hero-copy,
.pb-app__hero-visual,
.pb-app__stats {
  position: relative;
  z-index: 1;
}

.pb-app__hero-copy {
  width: min(650px, 47vw);
  max-width: 100%;
}

.pb-app__hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 31%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 19%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 19%, #000 100%);
}

.pb-app__hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.96;
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

.pb-app__eyebrow {
  margin: 0 0 8px;
  color: var(--pb-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pb-app__hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.pb-app__hero h2 span {
  color: var(--pb-gold);
}

.pb-app__hero-copy > p:last-child {
  max-width: 660px;
  margin: 10px 0 0;
  color: #c7d9e7;
  font-size: 14px;
  line-height: 1.55;
}

.pb-app__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 1100px);
  margin-top: 26px;
  padding: 8px 6px;
  background: rgba(3, 15, 29, 0.58);
  border: 1px solid rgba(130, 221, 250, 0.22);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pb-app__stats > div {
  min-width: 0;
  padding: 8px 10px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.pb-app__stats > div:first-child {
  border-left: 0;
}

.pb-app__stats strong,
.pb-app__stats span {
  display: block;
}

.pb-app__stats strong {
  color: var(--pb-gold);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  line-height: 1.05;
}

.pb-app__stats > div:not(:first-child) strong {
  font-size: clamp(14px, 1.55vw, 20px);
  line-height: 2;
}

.pb-app__stats span {
  margin-top: 5px;
  color: #bdcedc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pb-app__account-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 0 max(32px, calc(50% - 720px));
	background: var(--pb-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pb-app__account-tabs button {
	display: grid;
	gap: 1px;
	min-height: 68px;
	padding: 13px 20px 11px;
	color: #a9bdce;
	background: transparent;
	border: 0;
	border-bottom: 4px solid transparent;
	cursor: pointer;
	text-align: left;
}

.pb-app__account-tabs button:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.035);
}

.pb-app__account-tabs button[aria-selected="true"] {
	color: var(--pb-gold);
	border-bottom-color: var(--pb-blue-light);
}

.pb-app__account-tabs button:focus-visible {
	outline: 3px solid rgba(76, 197, 238, 0.55);
	outline-offset: -3px;
}

.pb-app__account-tabs span {
	font-size: 14px;
	font-weight: 850;
}

.pb-app__account-tabs small {
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pb-app__saved-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1440px, calc(100% - 64px));
  margin: 18px auto 0;
  padding: 16px 20px;
  color: #344a63;
  background: #f8fbfe;
  border: 1px solid #d8e3ed;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(7, 33, 69, 0.05);
}

.pb-app__saved-actions strong,
.pb-app__saved-actions span {
  display: block;
}

.pb-app__saved-actions strong {
  margin-bottom: 3px;
  color: var(--pb-navy);
}

.pb-app__saved-actions span {
  font-size: 13px;
  line-height: 1.45;
}

.pb-app__step-nav {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--pb-border);
  box-shadow: 0 4px 18px rgba(30, 48, 82, 0.05);
  overflow-x: auto;
  scrollbar-width: thin;
}

.pb-app__step-nav ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  width: min(1440px, calc(100% - 64px));
  min-width: 930px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pb-app__mode-pane[data-step-count="9"] .pb-app__step-nav ol {
	grid-template-columns: repeat(9, minmax(130px, 1fr));
	width: max(1170px, calc(100% - 48px));
	max-width: 1560px;
}

.pb-app__mode-pane[data-step-count="5"] .pb-app__step-nav ol {
	grid-template-columns: repeat(5, minmax(150px, 1fr));
	width: min(1200px, calc(100% - 64px));
	min-width: 750px;
}

.pb-app__mode-pane[data-step-count="6"] .pb-app__step-nav ol {
	grid-template-columns: repeat(6, minmax(140px, 1fr));
	width: min(1320px, calc(100% - 64px));
	min-width: 840px;
}

.pb-app__step-nav li {
  position: relative;
}

.pb-app__step-nav li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 22px;
  height: 1px;
  background: #d9dee8;
  content: "";
}

.pb-app__step-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 74px;
  padding: 13px 10px;
  color: #728098;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: default;
  text-align: left;
}

.pb-app__step-nav button:disabled {
  opacity: 1;
}

.pb-app__step-nav button span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #7d8ba2;
  background: #e9edf4;
  border-radius: 50%;
  font-weight: 800;
}

.pb-app__step-nav button em {
  overflow: hidden;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-app__step-nav button[aria-current="step"] {
  color: var(--pb-navy);
  border-bottom-color: var(--pb-blue-light);
}

.pb-app__step-nav button[aria-current="step"] span,
.pb-app__step-nav button[data-complete="true"] span {
  color: var(--pb-deep);
  background: var(--pb-gold);
  box-shadow: 0 0 0 4px rgba(76, 197, 238, 0.1);
}

.pb-app__body {
  width: min(1440px, calc(100% - 64px));
  min-height: 640px;
  margin: 0 auto;
  padding: 28px 0 42px;
}

.pb-app__progress-copy {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 2px 8px;
}

.pb-app__progress-copy strong {
  color: var(--pb-navy);
  font-size: 14px;
}

.pb-app__progress-copy span {
  color: #95a0b2;
  font-size: 13px;
}

.pb-app__progress {
  width: 100%;
  height: 5px;
  margin-bottom: 25px;
  background: #e5e9f0;
  border-radius: 99px;
  overflow: hidden;
}

.pb-app__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pb-navy), var(--pb-blue-light));
  border-radius: inherit;
  transition: width 260ms ease;
}

.pb-app__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  color: var(--pb-muted);
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: 16px;
}

.pb-app__spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #d8deea;
  border-top-color: var(--pb-blue);
  border-radius: 50%;
  animation: pb-spin 0.8s linear infinite;
}

@keyframes pb-spin {
  to { transform: rotate(360deg); }
}

.pb-app__form {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(5, 20, 38, 0.09);
  overflow: hidden;
}

.pb-app__mode-pane > .pb-app__progress-copy {
	margin: 24px 46px 8px;
}

.pb-app__mode-pane > .pb-app__progress {
	width: calc(100% - 92px);
	margin: 0 46px 25px;
}

.pb-app__panel-heading {
  padding: 32px 46px 24px;
  border-bottom: 1px solid var(--pb-border);
}

.pb-app__panel-heading > p:first-child {
  display: none;
}

.pb-app__panel-heading h3 {
  margin: 0 0 2px;
  color: var(--pb-navy);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.2;
  outline: none;
}

.pb-app__panel-heading p {
  margin: 6px 0 0;
  color: var(--pb-muted);
}

.pb-app__panel-content {
  padding: 38px 46px 48px;
}

.pb-app__application-id-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  margin: 0 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #071a34, #0b3155);
  border: 1px solid rgba(76, 197, 238, 0.3);
  border-radius: 10px;
}

.pb-app__application-id-card > span {
  color: #82ddfa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pb-app__application-id-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(17px, 2.6vw, 23px);
  overflow-wrap: anywhere;
}

.pb-app__application-id-card small {
  color: #c9dae8;
}

.pb-app__notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 18px;
  margin: 0 0 28px;
  background: #f1faff;
  border-left: 4px solid var(--pb-blue-light);
  border-radius: 2px 9px 9px 2px;
}

.pb-app__notice > span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  place-items: center;
  color: var(--pb-deep);
  background: var(--pb-gold);
  border-radius: 50%;
  font-weight: 800;
}

.pb-app__notice p {
  margin: 0;
  color: #40516b;
  font-size: 14px;
}

.pb-manual-intake-notice {
  padding: 16px 18px;
  margin: 0 0 24px;
  color: #5f4818;
  background: #fff8e7;
  border: 1px solid #dfc77f;
  border-left: 4px solid #b58b2d;
  border-radius: 8px;
}

.pb-manual-intake-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #60470f;
}

.pb-manual-intake-notice p {
  margin: 0;
  line-height: 1.55;
}

.pb-app > .pb-manual-intake-notice {
	display: none !important;
}

.pb-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 26px;
}

.pb-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pb-field--wide {
  grid-column: 1 / -1;
}

.pb-field label,
.pb-field legend,
.pb-signature-label label {
  display: block;
  padding: 0;
  margin: 0 0 7px;
  color: #33445f;
  font-size: 13px;
  font-weight: 780;
}

.pb-field label span,
.pb-field legend span,
.pb-signature-label label span,
.pb-upload em,
.pb-acknowledgement b {
  color: #b13c35;
  font-style: normal;
}

.pb-field input:not([type="radio"]):not([type="checkbox"]),
.pb-field select,
.pb-field textarea,
.pb-signature-grid input {
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  color: var(--pb-ink);
  background: #fff;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pb-field textarea {
  min-height: 112px;
  resize: vertical;
}

.pb-field input:focus,
.pb-field select:focus,
.pb-field textarea:focus,
.pb-signature-grid input:focus {
  border-color: var(--pb-blue-light);
  box-shadow: 0 0 0 3px rgba(76, 197, 238, 0.18);
}

.pb-field [aria-invalid="true"],
.pb-signature-field[aria-invalid="true"] canvas {
  border-color: #b73535 !important;
  box-shadow: 0 0 0 3px rgba(183, 53, 53, 0.11) !important;
}

.pb-field--error,
.pb-field--invalid {
  padding: 12px;
  background: #fff8f8;
  border: 1px solid #e3aaaa;
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(183, 53, 53, 0.06);
}

.pb-field--error > label,
.pb-field--error > legend,
.pb-field--invalid > label,
.pb-field--invalid > legend {
  color: #8f2525;
}

.pb-field--error input:not([type="radio"]):not([type="checkbox"]),
.pb-field--error select,
.pb-field--error textarea,
.pb-field--error .pb-country-combobox__input,
.pb-field--error .pb-choice-grid,
.pb-field--invalid input:not([type="radio"]):not([type="checkbox"]),
.pb-field--invalid select,
.pb-field--invalid textarea,
.pb-field--invalid .pb-country-combobox__input,
.pb-field--invalid .pb-choice-grid {
  border-color: #b73535;
}

.pb-field-error,
.pb-field__error {
  min-height: 0;
  margin: 5px 0 0;
  color: #a62f2f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pb-field__error:empty,
.pb-field-error:empty {
  display: none;
}

.pb-country-combobox {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  width: 100%;
  min-width: 0;
}

.pb-country-combobox__input {
  grid-column: 1 / -1;
  padding-right: 54px !important;
}

.pb-country-combobox__input::-webkit-search-cancel-button {
  margin-right: 2px;
}

.pb-country-combobox__toggle {
  position: absolute;
  z-index: 2;
  top: 1px;
  right: 1px;
  display: grid;
  width: 44px;
  height: 47px;
  padding: 0;
  place-items: center;
  color: #34516c;
  background: transparent;
  border: 0;
  border-left: 1px solid #d6dde7;
  border-radius: 0 7px 7px 0;
  cursor: pointer;
}

.pb-country-combobox__toggle::before {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms ease;
}

.pb-country-combobox[aria-expanded="true"] .pb-country-combobox__toggle::before,
.pb-country-combobox[data-open="true"] .pb-country-combobox__toggle::before {
  transform: translateY(3px) rotate(225deg);
}

.pb-country-combobox__toggle:hover,
.pb-country-combobox__toggle:focus-visible {
  color: var(--pb-navy);
  background: #edf8fd;
}

.pb-country-combobox__toggle:focus-visible {
  outline: 3px solid rgba(76, 197, 238, 0.24);
  outline-offset: -2px;
}

.pb-country-combobox__listbox {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: min(320px, 48vh);
  padding: 6px;
  margin: 0;
  overflow: auto;
  color: var(--pb-ink);
  background: #fff;
  border: 1px solid #b9c8d7;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(5, 20, 38, 0.18);
  list-style: none;
  overscroll-behavior: contain;
  scrollbar-color: #8baac0 #edf3f7;
}

.pb-country-combobox__listbox[hidden] {
  display: none !important;
}

.pb-country-combobox__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #263d56;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.pb-country-combobox__option:hover,
.pb-country-combobox__option:focus-visible,
.pb-country-combobox__option[aria-selected="true"],
.pb-country-combobox__option[data-active="true"] {
  color: var(--pb-navy);
  background: #e9f8fe;
  outline: 0;
}

.pb-country-combobox__option small,
.pb-country-combobox__option-code {
  flex: 0 0 auto;
  color: #6b7f92;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pb-country-combobox__empty {
  padding: 12px;
  color: #65768a;
  font-size: 13px;
  text-align: center;
}

.pb-country-combobox__select,
.pb-country-combobox > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pb-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pb-field--radio_cards .pb-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pb-choice {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 13px !important;
  margin: 0 !important;
  color: #40516b !important;
  background: #f8fafc;
  border: 1px solid #d9dfe9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 680 !important;
  line-height: 1.42;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.pb-choice:hover {
  border-color: #aab7cb;
  transform: translateY(-1px);
}

.pb-choice:has(input:checked) {
  color: var(--pb-navy) !important;
  background: #eefaff;
  border-color: var(--pb-blue-light);
}

.pb-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pb-choice input:focus-visible + .pb-choice-control {
  box-shadow: 0 0 0 3px rgba(45, 87, 149, 0.25);
}

.pb-choice-control {
  display: inline-grid;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  place-items: center;
  background: #fff;
  border: 1px solid #9da9ba;
  border-radius: 4px;
}

.pb-field--radio_cards .pb-choice-control {
  border-radius: 50%;
}

.pb-choice input:checked + .pb-choice-control {
  background: var(--pb-blue-light);
  border-color: var(--pb-blue-light);
  box-shadow: inset 0 0 0 4px #fff;
}

.pb-field--checkbox_cards .pb-choice input:checked + .pb-choice-control {
  box-shadow: none;
}

.pb-field--checkbox_cards .pb-choice input:checked + .pb-choice-control::after {
  color: #fff;
  content: "✓";
  font-size: 13px;
  line-height: 1;
}

.pb-field--role-hidden {
  display: none !important;
}

.pb-role-reuse-summary {
  position: relative;
  grid-column: 1 / -1;
  padding: 14px 16px 14px 48px;
  color: #294d63;
  background: linear-gradient(135deg, #eef9fd, #f8fcfe);
  border: 1px solid #bcddea;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.pb-role-reuse-summary::before {
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  background: #187da7;
  border-radius: 50%;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.pb-role-reuse-summary strong {
  color: var(--pb-navy);
}

.pb-role-reuse-summary[hidden],
.pb-role-reuse-summary:empty {
  display: none !important;
}

.pb-document-help {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: #344a63;
  background: #f8fbfd;
  border: 1px solid #cfdde8;
  border-radius: 11px;
  overflow: hidden;
}

.pb-document-help > summary,
.pb-document-help__summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 48px 13px 50px;
  color: var(--pb-navy);
  background: linear-gradient(135deg, #f1f9fd, #fff);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.pb-document-help > summary::-webkit-details-marker,
.pb-document-help__summary::-webkit-details-marker {
  display: none;
}

.pb-document-help > summary::before,
.pb-document-help__summary::before {
  position: absolute;
  left: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--pb-blue);
  border-radius: 50%;
  content: "?";
  font-size: 14px;
  font-weight: 900;
}

.pb-document-help > summary::after,
.pb-document-help__summary::after {
  position: absolute;
  right: 17px;
  color: var(--pb-blue);
  content: "+";
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.pb-document-help[open] > summary,
.pb-document-help[data-open="true"] .pb-document-help__summary {
  border-bottom: 1px solid #d6e2eb;
}

.pb-document-help[open] > summary::after,
.pb-document-help[data-open="true"] .pb-document-help__summary::after {
  content: "−";
}

.pb-document-help__content {
  padding: 20px;
}

.pb-document-help__intro {
  margin: 0 0 15px;
  color: #4c6177;
  font-size: 13px;
  line-height: 1.6;
}

.pb-document-help__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pb-document-help__section,
.pb-document-help__card {
  min-width: 0;
  padding: 15px;
  background: #fff;
  border: 1px solid #dce5ed;
  border-radius: 9px;
}

.pb-document-help__section h5,
.pb-document-help__card h5 {
  margin: 0 0 9px;
  color: var(--pb-navy);
  font-size: 13px;
}

.pb-document-help__section ul,
.pb-document-help__card ul,
.pb-document-help__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pb-document-help__section li,
.pb-document-help__card li,
.pb-document-help__list li {
  position: relative;
  padding-left: 21px;
  margin-top: 7px;
  color: #4a5e73;
  font-size: 12px;
  line-height: 1.5;
}

.pb-document-help__section li::before,
.pb-document-help__card li::before,
.pb-document-help__list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  color: #168154;
  content: "✓";
  font-weight: 900;
}

.pb-document-help__section--avoid li::before,
.pb-document-help__card--avoid li::before,
.pb-document-help__list--avoid li::before {
  color: #b33a35;
  content: "×";
  font-size: 15px;
  line-height: 1;
}

.pb-document-help__tip,
.pb-document-help__note {
  padding: 12px 14px;
  margin: 14px 0 0;
  color: #5c491b;
  background: #fff8e7;
  border-left: 4px solid #c59a36;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.55;
}

.pb-document-help img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.pb-app__legal-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.pb-app__legal-stack details,
.pb-app__attestation {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: 10px;
}

.pb-app__legal-stack summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: var(--pb-navy);
  background: #f6f8fb;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.pb-app__legal-stack .pb-document-help > summary,
.pb-app__legal-stack .pb-document-help__summary {
  padding-inline-start: 50px;
}

.pb-app__legal-stack summary::-webkit-details-marker {
  display: none;
}

.pb-app__legal-stack summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "+";
  color: var(--pb-blue);
  font-size: 21px;
  transform: translateY(-50%);
}

.pb-app__legal-stack details[open] summary {
  border-bottom: 1px solid var(--pb-border);
  border-radius: 10px 10px 0 0;
}

.pb-app__legal-stack details[open] summary::after {
  content: "−";
}

.pb-app__legal-stack details > div {
  max-height: 440px;
  padding: 20px;
  overflow: auto;
}

.pb-legal-copy {
  color: #3f4e66;
  font-size: 13px;
  line-height: 1.65;
}

.pb-legal-copy h3,
.pb-legal-copy h4,
.pb-legal-copy h5 {
  color: var(--pb-navy);
}

.pb-legal-copy h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 780;
}

.pb-legal-copy h4 {
  margin: 23px 0 8px;
  font-size: 15px;
}

.pb-legal-copy h5 {
  margin: 17px 0 6px;
  font-size: 13px;
}

.pb-legal-copy p {
  margin: 0 0 10px;
}

.pb-legal-copy ul {
  margin: 8px 0 12px 20px;
}

.pb-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.pb-upload {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 13px;
  min-height: 112px;
  padding: 18px;
  background: #f8fafc;
  border: 1px dashed #aab6c9;
  border-radius: 10px;
  cursor: pointer;
}

.pb-upload:hover,
.pb-upload:focus-within {
  background: #eefaff;
  border-color: var(--pb-blue-light);
}

.pb-upload__icon {
  display: grid;
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--pb-deep);
  background: var(--pb-gold);
  border-radius: 50%;
  font-size: 20px;
}

.pb-upload strong {
  color: var(--pb-navy);
}

.pb-upload small {
  color: var(--pb-muted);
}

.pb-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pb-upload > [data-file-name] {
	align-self: end;
	margin-top: 7px;
	color: var(--pb-blue);
	font-size: 12px;
	font-weight: 750;
}

.pb-upload__type-status {
	grid-column: 2;
	margin-top: 3px;
	color: var(--pb-muted);
	font-size: 11px;
	line-height: 1.45;
}

.pb-upload__type-status[data-state="manual"] {
	color: #8a5b12;
	font-weight: 700;
}

.pb-upload__type-status[data-state="pending"] {
	color: #15688b;
	font-weight: 700;
}

.pb-upload__type-status[data-state="mismatch"] {
	color: #a62f2f;
	font-weight: 750;
}

.pb-upload > .pb-field-error {
	grid-column: 2;
	color: #a62f2f;
}

.pb-app__privacy-note {
  padding: 16px 18px;
  color: #486078;
  background: #f2f8f5;
  border: 1px solid #d3e8dc;
  border-radius: 9px;
}

.pb-app__privacy-note strong {
  color: #146442;
}

.pb-app__privacy-note p {
  margin: 4px 0 0;
  font-size: 13px;
}

.pb-app__review {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.pb-review-section {
  border: 1px solid var(--pb-border);
  border-radius: 10px;
  overflow: hidden;
}

.pb-review-section h4 {
  margin: 0;
  padding: 13px 16px;
  color: var(--pb-navy);
  background: #f4f6fa;
  font-size: 18px;
  font-weight: 780;
}

.pb-review-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.pb-review-section dl > div {
  padding: 11px 16px;
  border-top: 1px solid #edf0f4;
}

.pb-review-section dt {
  color: #6d798e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pb-review-section dd {
  margin: 3px 0 0;
  color: var(--pb-ink);
  overflow-wrap: anywhere;
}

.pb-app__attestation {
  margin: 0 0 18px;
  overflow: hidden;
}

.pb-app__attestation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  color: #fff;
  background: var(--pb-deep);
  border-bottom: 3px solid var(--pb-gold);
}

.pb-app__attestation-heading p,
.pb-app__attestation-heading h4 {
  margin: 0;
}

.pb-app__attestation-heading p {
  color: var(--pb-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pb-app__attestation-heading h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 780;
}

.pb-app__attestation-heading > span {
  color: #c8d1df;
  font-size: 11px;
}

.pb-app__terms {
  height: 430px;
  padding: 22px;
  overflow-y: auto;
  outline: 0;
  scrollbar-color: #9aa8bc #eef1f6;
}

.pb-app__terms:focus {
  box-shadow: inset 0 0 0 3px rgba(45, 87, 149, 0.22);
}

.pb-app__terms-status {
  margin: 0;
  padding: 10px 18px;
  color: #6a5010;
  background: #fff7df;
  border-top: 1px solid #eedca3;
  font-size: 12px;
  font-weight: 700;
}

.pb-app__terms-status[data-complete="true"] {
  color: #146442;
  background: #eaf7f0;
  border-top-color: #c9e7d6;
}

.pb-app__acknowledgements {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.pb-acknowledgement {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
  padding: 13px 15px;
  color: #34445f;
  background: #f8fafc;
  border: 1px solid var(--pb-border);
  border-radius: 9px;
  cursor: pointer;
}

.pb-acknowledgement:has(input:checked) {
  background: #f2f8f5;
  border-color: #7bb796;
}

.pb-acknowledgement input {
  position: absolute;
  opacity: 0;
}

.pb-acknowledgement > span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1px solid #98a5b7;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
}

.pb-acknowledgement input:checked + span {
  color: #fff;
  background: #167149;
  border-color: #167149;
}

.pb-acknowledgement input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(45, 87, 149, 0.22);
}

.pb-acknowledgement input:disabled + span,
.pb-acknowledgement input:disabled ~ em {
  opacity: 0.55;
}

.pb-acknowledgement em {
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.pb-app__signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.pb-signature-field {
  grid-column: 1 / -1;
}

.pb-signature-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pb-signature-label button {
  padding: 0;
  color: var(--pb-blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
}

.pb-signature-label > span {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px 14px;
}

.pb-signature-field canvas {
  display: block;
  width: 100%;
  height: 180px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(56, 81, 118, 0.07) 31px) border-box;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;
}

.pb-signature-field > p {
  margin: 6px 0 0;
  color: var(--pb-muted);
  font-size: 12px;
}

.pb-app__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 108px;
  padding: 24px 46px;
  background: #fbfcfd;
  border-top: 1px solid #e4e8ef;
}

.pb-app__footer-meta {
  min-width: min(100%, 330px);
}

.pb-app__save-status {
  display: block;
  max-width: 560px;
  min-height: 18px;
  margin-top: 7px;
  color: #52647a;
  font-size: 12px;
  line-height: 1.5;
}

.pb-app__save-status[data-state="saved"] {
  color: #17613b;
}

.pb-app__save-status[data-state="error"] {
  color: #9a2424;
}

.pb-app__manual-terms {
  margin: 0 0 20px;
  padding: 22px;
  color: #4f3d14;
  background: #fff8e7;
  border: 1px solid #dfc77f;
  border-left: 5px solid #b58b2d;
  border-radius: 10px;
}

.pb-app__manual-terms h4 {
  margin: 0 0 12px;
  color: #60470f;
}

.pb-recovery-dialog {
  position: fixed;
  z-index: 1000000;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  max-height: min(88vh, 850px);
  margin: 0;
  padding: 0;
  color: #24384f;
  background: #fff;
  border: 1px solid #cbd8e5;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(2, 20, 43, 0.34);
  overflow: auto;
  transform: translate(-50%, -50%);
}

.pb-recovery-dialog:not([open]) {
  display: none;
}

.pb-recovery-dialog::backdrop {
  background: rgba(3, 18, 38, 0.72);
  backdrop-filter: blur(3px);
}

.pb-recovery-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  color: #fff;
  background: linear-gradient(135deg, #071c37, #103b6d);
}

.pb-recovery-dialog__header p,
.pb-recovery-dialog__header h3 {
  margin: 0;
}

.pb-recovery-dialog__header p {
  margin-bottom: 4px;
  color: #9edcf3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pb-recovery-dialog__header h3 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 32px);
}

.pb-recovery-dialog__header button {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.pb-recovery-dialog > p,
.pb-recovery-dialog__warning,
.pb-recovery-dialog__fields,
.pb-recovery-dialog__actions,
.pb-recovery-dialog__code,
.pb-recovery-dialog__status {
  margin-right: 26px;
  margin-left: 26px;
}

.pb-recovery-dialog > p {
  margin-top: 22px;
  line-height: 1.6;
}

.pb-recovery-dialog__warning {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff8e7;
  border: 1px solid #dfc77f;
  border-radius: 9px;
}

.pb-recovery-dialog__warning strong {
  display: block;
  margin-bottom: 5px;
  color: #60470f;
}

.pb-recovery-dialog__warning p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.pb-recovery-dialog__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.pb-recovery-dialog__actions {
  margin-top: 20px;
}

.pb-recovery-dialog__code {
  margin-top: 20px;
  padding: 18px;
  background: #f2f7fc;
  border: 1px solid #d4e0eb;
  border-radius: 9px;
}

.pb-recovery-dialog__code > label {
  display: block;
  margin-bottom: 8px;
  color: var(--pb-navy);
  font-weight: 800;
}

.pb-recovery-dialog__code > div {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.pb-recovery-dialog__code input {
  width: 220px;
  min-height: 50px;
  padding: 9px 12px;
  color: #0b274d;
  background: #fff;
  border: 1px solid #becbd8;
  border-radius: 8px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.pb-recovery-dialog__code small {
  display: block;
  margin-top: 9px;
  color: #607489;
}

.pb-recovery-dialog__status {
  min-height: 24px;
  margin-top: 18px;
  margin-bottom: 26px;
  color: #0b3f72;
  font-weight: 700;
  line-height: 1.5;
}

.pb-app__footer-id {
  color: #7d8798;
  font-size: 12px;
}

.pb-app__footer-id strong {
  color: var(--pb-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pb-app__footer-id button {
  margin-left: 7px;
  padding: 3px 7px;
  color: var(--pb-blue);
  background: #fff;
  border: 1px solid #cdd4df;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pb-app__footer-id [data-copy-status] {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  color: #46617f;
}

.pb-app__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.pb-button {
  min-height: 50px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.pb-button:hover {
  transform: translateY(-1px);
}

.pb-button:focus-visible {
  outline: 3px solid rgba(76, 197, 238, 0.28);
  outline-offset: 2px;
}

.pb-button--primary {
  min-width: 220px;
  color: var(--pb-deep);
  background: var(--pb-gold);
  box-shadow: 0 8px 22px rgba(76, 197, 238, 0.2);
}

.pb-button--primary:hover {
  background: #a4e8fd;
  box-shadow: 0 10px 24px rgba(76, 197, 238, 0.25);
}

.pb-button--secondary {
  color: var(--pb-navy);
  background: #fff;
  border-color: #cdd4df;
}

.pb-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.pb-app__error-summary,
.pb-error-summary {
  margin: 22px 46px 0;
  padding: 16px 18px;
  color: #872c2c;
  background: #fff0f0;
  border: 1px solid #dda5a5;
  border-left: 5px solid #b73535;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(135, 44, 44, 0.07);
  font-size: 13px;
  line-height: 1.5;
}

.pb-app__error-summary:focus,
.pb-error-summary:focus {
  outline: 3px solid rgba(183, 53, 53, 0.18);
  outline-offset: 2px;
}

.pb-app__error-summary h4,
.pb-app__error-summary strong,
.pb-error-summary h4,
.pb-error-summary strong {
  display: block;
  margin: 0 0 7px;
  color: #7f2020;
  font-size: 14px;
  font-weight: 850;
}

.pb-app__error-summary p,
.pb-error-summary p {
  margin: 0;
}

.pb-app__error-summary ul,
.pb-error-summary ul {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 9px 0 0;
  list-style: none;
}

.pb-app__error-summary li,
.pb-error-summary li {
  margin: 0;
}

.pb-app__error-summary button,
.pb-app__error-summary a,
.pb-error-summary button,
.pb-error-summary a {
  display: block;
  width: 100%;
  padding: 7px 9px;
  color: #872c2c;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pb-app__error-summary button:hover,
.pb-app__error-summary button:focus-visible,
.pb-app__error-summary a:hover,
.pb-app__error-summary a:focus-visible,
.pb-error-summary button:hover,
.pb-error-summary button:focus-visible,
.pb-error-summary a:hover,
.pb-error-summary a:focus-visible {
  background: #fff;
  border-color: #d99b9b;
  outline: 0;
}

.pb-app__success {
  padding: 58px clamp(24px, 8vw, 100px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(22, 42, 78, 0.08);
  outline: none;
}

.pb-app__success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  place-items: center;
  color: #fff;
  background: #167149;
  border-radius: 50%;
  font-size: 30px;
}

.pb-app__success h3 {
  margin: 0 0 14px;
  color: var(--pb-navy);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 780;
  overflow-wrap: anywhere;
}

.pb-app__success > p:not(.pb-app__eyebrow) {
  max-width: 780px;
  margin: 0 auto 22px;
  color: var(--pb-muted);
  overflow-wrap: anywhere;
}

.pb-app__success .pb-app__notice {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.pb-app__footnote {
  padding: 26px 24px 30px;
  color: #8d98aa;
  font-size: 11px;
  text-align: center;
}

.pb-app__footnote strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
}

.pb-app__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pb-app [hidden] {
  display: none !important;
}

body.pb-direct-application-view .pb-direct-application-hidden {
  display: none !important;
}

body.pb-direct-application-view .pb-direct-application-host {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 0 0 -50vw !important;
  padding: 0 !important;
  gap: 0 !important;
}

body.pb-direct-application-view .pb-direct-application-host > .e-con-inner,
body.pb-direct-application-view .pb-direct-application-host .elementor-widget-shortcode,
body.pb-direct-application-view .pb-direct-application-host .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.pb-direct-application-view #application-form {
  scroll-margin-top: 12px;
}

body.admin-bar.pb-direct-application-view #application-form {
  scroll-margin-top: 44px;
}

@media (max-width: 1050px) {
  .pb-app__hero {
    min-height: 370px;
  }

  .pb-app__stats {
    max-width: 680px;
  }

  .pb-app__hero-visual {
    left: 27%;
  }
}

@media (max-width: 760px) {
  .pb-app {
    left: 0;
    border-radius: 0;
    font-size: 15px;
    margin-left: 0;
    transform: translateX(var(--pb-viewport-shift, 0px));
  }

  .pb-app__masthead {
    gap: 12px;
    min-height: 58px;
    padding: 8px 14px;
  }

  .pb-app__portal-identity {
    flex: 0 1 auto;
  }

  .pb-app__portal-identity small {
    display: none;
  }

  .pb-app__portal-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .pb-app__secure {
    flex: 0 0 auto;
    gap: 8px;
    max-width: none;
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .pb-app__secure-label {
    display: block;
    overflow-wrap: normal;
    text-align: right;
    white-space: nowrap;
  }

  .pb-app__secure::after {
    display: none;
    content: none;
  }

  .pb-app__hero {
    min-height: 470px;
    padding: 20px 18px 18px;
  }

  .pb-app__hero-copy {
    width: 100%;
  }

  .pb-app__hero-visual {
    inset: 118px -24px 80px 0;
    height: auto;
    margin: 0;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
  }

  .pb-app__hero-visual img {
    object-position: center;
  }

  .pb-app__stats {
    width: 100%;
    margin-top: 168px;
  }

  .pb-app__stats > div {
    padding: 8px 5px;
  }

  .pb-app__account-tabs {
    padding: 0 12px;
  }

  .pb-app__account-tabs button {
    min-height: 62px;
    padding: 10px 9px 8px;
  }

  .pb-app__account-tabs span {
    font-size: 12px;
  }

  .pb-app__account-tabs small {
    font-size: 8px;
  }

  .pb-app__step-nav ol {
    width: 850px;
    min-width: 850px;
    margin-left: 12px;
  }

  .pb-app__step-nav button {
    min-height: 64px;
  }

  .pb-app__body {
    width: calc(100% - 24px);
    padding-top: 20px;
  }

  .pb-app__panel-heading,
  .pb-app__panel-content,
  .pb-app__form-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pb-app__mode-pane > .pb-app__progress-copy {
    margin-right: 20px;
    margin-left: 20px;
  }

  .pb-app__mode-pane > .pb-app__progress {
    width: calc(100% - 40px);
    margin-right: 20px;
    margin-left: 20px;
  }

  .pb-field-grid,
  .pb-field--radio_cards .pb-choice-grid,
  .pb-app__signature-grid,
  .pb-review-section dl {
    grid-template-columns: 1fr;
  }

  .pb-app__form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pb-app__buttons,
  .pb-button {
    width: 100%;
  }

  .pb-app__buttons {
    flex-direction: column-reverse;
  }

  .pb-app__footer-id {
    text-align: center;
  }

  .pb-app__attestation-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pb-signature-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .pb-signature-label > span {
    justify-content: flex-start;
  }

  .pb-app__terms {
    height: 390px;
    padding: 17px;
  }

  .pb-app__error-summary {
    margin-right: 20px;
    margin-left: 20px;
  }

  .pb-error-summary {
    margin-right: 20px;
    margin-left: 20px;
  }

  .pb-country-combobox__listbox {
    max-height: min(280px, 44vh);
  }

  .pb-document-help__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .pb-app__portal-identity strong {
    font-size: 11px;
  }

  .pb-app__secure {
    max-width: none;
    font-size: 10px;
  }

  .pb-app__hero h2 {
    font-size: 31px;
  }

  .pb-app__hero-visual {
    inset: 122px -28px 76px -14px;
  }

  .pb-app__stats {
    margin-top: 152px;
  }

  .pb-app__stats strong {
    font-size: 22px;
  }

  .pb-app__stats > div:not(:first-child) strong {
    font-size: 14px;
  }

  .pb-app__stats span {
    font-size: 8px;
  }

  .pb-app__account-tabs small {
    display: none;
  }

  .pb-app__panel-heading h3 {
    font-size: 27px;
  }

  .pb-app__panel-content {
    padding-top: 26px;
  }

  .pb-document-help__content {
    padding: 15px;
  }

  .pb-document-help > summary,
  .pb-document-help__summary {
    padding-left: 48px;
    font-size: 12px;
  }
}

.pb-email-verification {
  display: grid;
  gap: 17px;
  margin-top: 24px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid #cbd8e5;
  border-left: 5px solid #2f8fbe;
  border-radius: 15px;
  background: linear-gradient(145deg, #f8fcff 0%, #fff 100%);
  box-shadow: 0 12px 30px rgba(7, 33, 69, 0.06);
}

.pb-email-verification[aria-invalid="true"],
.pb-email-verification[data-state="error"] {
  border-color: #d79b9b;
  border-left-color: #b63f3f;
  background: #fffafa;
}

.pb-email-verification[data-state="verified"] {
  border-color: #77b393;
  border-left-color: #238258;
  background: linear-gradient(145deg, #eefaf3 0%, #fff 100%);
}

.pb-email-verification__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pb-email-verification__heading > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #0b315c;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 0 0 6px rgba(47, 143, 190, 0.1);
}

.pb-email-verification__heading p,
.pb-email-verification__heading h4,
.pb-email-verification__heading small {
  margin: 0;
}

.pb-email-verification__heading p {
  color: #8a6418;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pb-email-verification__heading h4 {
  margin: 3px 0 6px;
  color: #0b274d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.5vw, 27px);
}

.pb-email-verification__heading small,
.pb-email-verification__send > span,
.pb-email-verification__code small {
  color: #52647a;
  line-height: 1.55;
}

.pb-email-verification__status {
  padding: 13px 15px;
  border: 1px solid #bfdbea;
  border-radius: 9px;
  background: #edf8fd;
  color: #244b68;
  font-weight: 700;
}

.pb-email-verification[data-state="sending"] .pb-email-verification__status,
.pb-email-verification[data-state="verifying"] .pb-email-verification__status {
  border-color: #d8c68f;
  background: #fff8e7;
  color: #6d5217;
}

.pb-email-verification[data-state="verified"] .pb-email-verification__status {
  border-color: #77b393;
  background: #e4f7ec;
  color: #17613b;
}

.pb-email-verification__send,
.pb-email-verification__code > div,
.pb-email-verification__resend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pb-email-verification__code {
  display: grid;
  gap: 8px;
}

.pb-email-verification__code label {
  color: #273d59;
  font-size: 14px;
  font-weight: 750;
}

.pb-email-verification__code input {
  width: min(240px, 100%);
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid #aebed0;
  border-radius: 8px;
  background: #fff;
  color: #0b274d;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-align: center;
}

.pb-email-verification__code input:focus {
  border-color: #1c6796;
  outline: 3px solid rgba(47, 143, 190, 0.18);
}

.pb-email-verification__code input[aria-invalid="true"] {
  border-color: #b63f3f;
}

.pb-email-verification__resend button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b3f72;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.pb-email-verification__resend button:disabled {
  color: #7c8b9b;
  cursor: default;
  text-decoration: none;
}

.pb-email-verification__resend span {
  color: #607489;
  font-size: 13px;
}

.pb-verification-section {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d8e0ea;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #fbfcfe 100%);
  box-shadow: 0 14px 36px rgba(7, 33, 69, 0.07);
}

.pb-verification-section + .pb-verification-section {
  margin-top: 8px;
}

.pb-verification-section__heading > span {
  display: block;
  margin-bottom: 7px;
  color: #a77e21;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pb-verification-section__heading h4 {
  margin: 0;
  color: #0b274d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.8vw, 31px);
  line-height: 1.15;
}

.pb-verification-section__heading p {
  max-width: 880px;
  margin: 9px 0 0;
  color: #52647a;
  line-height: 1.65;
}

.pb-payment-required {
  border-color: #d8c68f;
}

.pb-payment-required__notice {
  padding: 19px 21px;
  border-left: 4px solid #c89c37;
  border-radius: 8px;
  background: #fff8e7;
  color: #2e3d50;
}

.pb-payment-required__notice strong {
  display: block;
  margin-bottom: 6px;
  color: #0b274d;
  font-size: 18px;
}

.pb-payment-required__notice p {
  margin: 0;
  line-height: 1.65;
}

.pb-application-fee-summary {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid #b9d8e8;
  border-left: 5px solid #1c89b7;
  border-radius: 9px;
  background: #eef8fc;
  color: #173654;
}

.pb-application-fee-summary strong {
  display: block;
  margin-bottom: 5px;
  color: #0b274d;
  font-size: 17px;
}

.pb-application-fee-summary p {
  margin: 0;
  line-height: 1.55;
}

.pb-application-fee-summary[data-state="resolved"] {
  border-color: #9bc9b1;
  border-left-color: #18734b;
  background: #f0f9f4;
}

.pb-selfie-status {
  padding: 14px 16px;
  border: 1px solid #ccd7e4;
  border-radius: 9px;
  background: #f2f6fb;
  color: #344a63;
  font-weight: 700;
}

.pb-selfie-status[data-state="checking"] {
  border-color: #b58b2d;
  background: #fff8e7;
  color: #6d5217;
}

.pb-selfie-status[data-state="passed"] {
  border-color: #77b393;
  background: #eefaf3;
  color: #17613b;
}

.pb-selfie-status[data-state="manual"] {
  border-color: #dfc77f;
  background: #fff8e7;
  color: #6d5217;
}

.pb-selfie-status[data-state="failed"] {
  border-color: #d79b9b;
  background: #fff2f2;
  color: #8c2626;
}

.pb-selfie-camera {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 16px;
  overflow: hidden;
}

.pb-selfie-camera[hidden] {
  display: none;
}

.pb-selfie-camera__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 4 / 3;
  border: 3px solid #153d6f;
  border-radius: 16px;
  background: #071a34;
}

.pb-selfie-camera__viewport video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.pb-selfie-camera__guide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(46%, 300px);
  height: 78%;
  border: 3px solid rgba(234, 196, 100, 0.9);
  border-radius: 50% / 46%;
  box-shadow: 0 0 0 999px rgba(3, 17, 36, 0.22);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.pb-selfie-challenge {
  min-height: 24px;
  margin: 0;
  color: #0b274d;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.pb-live-selfie,
.pb-live-selfie > *,
.pb-live-selfie details,
.pb-live-selfie details > *,
.pb-selfie-camera__viewport,
.pb-selfie-status,
.pb-selfie-challenge {
  min-width: 0;
  max-width: 100%;
}

.pb-live-selfie h4,
.pb-live-selfie p,
.pb-selfie-status {
  overflow-wrap: anywhere;
}

body.pb-camera-capture-active .embedded-agent-container,
body.pb-camera-capture-active .cky-btn-revisit-wrapper,
body.pb-camera-capture-active #ast-scroll-top {
  display: none !important;
}

.pb-selfie-actions,
.pb-selfie-camera__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pb-upload__type-status[data-state="checking"] {
  color: #7a5a12;
}

.pb-upload__type-status[data-state="passed"] {
  color: #17613b;
}

.pb-upload__type-status[data-state="failed"],
.pb-upload__type-status[data-state="mismatch"] {
  color: #9a2424;
}

@media (max-width: 640px) {
  .pb-app__saved-actions {
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 24px);
  }

  .pb-app__saved-actions .pb-button {
    width: 100%;
  }

  .pb-recovery-dialog__fields {
    grid-template-columns: 1fr;
  }

  .pb-recovery-dialog__code > div {
    align-items: stretch;
    flex-direction: column;
  }

  .pb-recovery-dialog__code input,
  .pb-recovery-dialog__code .pb-button,
  .pb-recovery-dialog__actions .pb-button {
    width: 100%;
  }

  .pb-email-verification {
    padding: 18px 15px;
  }

  .pb-email-verification__send,
  .pb-email-verification__code > div,
  .pb-email-verification__resend {
    align-items: stretch;
    flex-direction: column;
  }

  .pb-email-verification__code input,
  .pb-email-verification__send .pb-button,
  .pb-email-verification__code .pb-button {
    width: 100%;
  }

  .pb-verification-section {
    gap: 17px;
    padding: 19px 16px;
    border-radius: 13px;
  }

  .pb-live-selfie {
    padding: 16px 12px;
    overflow: hidden;
  }

  .pb-live-selfie .pb-verification-section__heading,
  .pb-live-selfie details,
  .pb-live-selfie .pb-selfie-status,
  .pb-live-selfie .pb-selfie-camera,
  .pb-live-selfie .pb-selfie-actions,
  .pb-live-selfie .pb-field-error {
    width: 100%;
  }

  .pb-selfie-camera__viewport {
    width: min(100%, 420px);
    max-height: min(72svh, 520px);
    margin-inline: auto;
    aspect-ratio: 3 / 4;
    border-width: 2px;
    border-radius: 12px;
  }

  .pb-selfie-camera__guide {
    top: 50%;
    left: 50%;
    width: 68%;
    height: 78%;
    border-width: 2px;
    border-radius: 50% / 46%;
    transform: translate(-50%, -50%);
  }

  .pb-selfie-status,
  .pb-selfie-challenge {
    font-size: 14px;
    line-height: 1.45;
  }

  .pb-selfie-actions,
  .pb-selfie-camera__actions {
    flex-direction: column;
  }

  .pb-selfie-actions .pb-button,
  .pb-selfie-camera__actions .pb-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-app *,
  .pb-app *::before,
  .pb-app *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
