/* Application shell uses existing section spacing; ProAxis owns the form fields. */
.pg-application { scroll-margin-top: 100px; }
.pg-application .application-frame { width: 100%; border: 0; min-height: 600px; display: block; }
.pg-application .application-fallback { margin-top: 24px; color: var(--muted, #52686a); font-size: 14px; }
.pg-application .application-fallback a { color: var(--t-700, #075f65); text-decoration: underline; text-underline-offset: 3px; }
.pg-application .application-library { padding: 32px; border: 1px solid #d9e5e5; border-radius: 16px; }

/* Match ProAxis max-w-2xl (672px) and its responsive horizontal padding. */
.pg-application .pg-head,
.pg-application .application-fallback {
  width: calc(100% - 48px);
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (max-width: 639px) {
  .pg-application .pg-head,
  .pg-application .application-fallback { width: calc(100% - 32px); }
}

/* A quiet brand surface frames the hosted form without restyling its fields. */
.pg-application .application-panel {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 16px 24px;
  overflow: hidden;
  border: 1px solid #d5e6e5;
  border-radius: 20px;
  background: #f1f8f7;
}
.pg-application .application-frame { background: #fff; border-radius: 12px; }
.pg-application .application-panel .application-fallback { margin-bottom: 0; }
@media (max-width: 639px) {
  .pg-application .application-panel { padding: 12px 0 24px; border-radius: 16px; }
  .pg-application .application-frame { border-radius: 0; }
}

/* Publisher application (hero "form": true): the introduction shares the form's 800px column and sits close above it,
   so the page reads as one application rather than a page header plus a separate form. */
.pg-hero--form{border-bottom:0}
.pg-hero--form .pg-hero-grid{display:block}
.pg-hero--form .pg-hero-copy{max-width:800px;margin-inline:auto}
body.pg-family main>.pg-hero--form+section.pg-application{padding-top:8px}
