/* Shared shell for shortcode form posts, independent of the selected WP template. */
body.tt-form-document-page { --ttf-header-height:60px; --ttf-admin-offset:0px; }
body.admin-bar.tt-form-document-page { --ttf-admin-offset:32px; }
body.tt-form-document-page #site-header.site-header {
  box-sizing:border-box;width:100%;max-width:1120px;height:60px;min-height:60px;
  max-height:60px;margin:0 auto;padding:3px 16px;display:flex;align-items:center;
  justify-content:flex-start;flex-wrap:nowrap;position:sticky;top:var(--ttf-admin-offset);
  z-index:50;overflow:visible;background:#fff;
}
body.tt-form-document-page #site-header .site-branding,
body.tt-form-document-page #site-header .custom-logo-link {
  display:flex;align-items:center;height:54px;min-height:0;max-height:54px;
  width:auto;margin:0;padding:0;line-height:1;
}
body.tt-form-document-page #site-header img.custom-logo {
  content:url("logo.png");display:block;width:73px;height:54px;max-width:100%;
  max-height:54px;object-fit:contain;object-position:right center;margin:0;
}
.tt-form-document { width:100%;max-width:none;margin:0;padding:0; }
.tt-form-document > .treetop-form-wrap { padding-top:24px;padding-bottom:40px; }
body.tt-form-document-page .treetop-form-progress-wrap {
  top:calc(var(--ttf-admin-offset) + var(--ttf-header-height) + 8px);
}
body.tt-form-document-page .treetop-step {
  scroll-margin-top:calc(var(--ttf-admin-offset) + var(--ttf-header-height) + 100px);
}
@media(max-width:782px) { body.admin-bar.tt-form-document-page { --ttf-admin-offset:46px; } }
@media(max-width:680px) { .tt-form-document > .treetop-form-wrap { padding-top:18px; } }
@media(max-width:600px) { body.admin-bar.tt-form-document-page { --ttf-admin-offset:0px; } }
