/* Migration containment only. Standard page typography/layout is source-owned. */
body > div[style*="padding: 20px; width: 100%; text-align: center"] { box-sizing: border-box; max-width: 100%; }
form[data-vt-form] button[type=submit] { appearance: none; border: 0; }
form[data-vt-form] .vt-form-status:empty { display: none; }
form[data-vt-form] .vt-form-status { color: #193453; line-height: 1.6; }
form[data-vt-form] button[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
  form[data-vt-form] :is(input,textarea,select) { box-sizing: border-box; max-width: 100%; }
}

/* Standard-page footer is already a root-level full-width block. Avoid 100vw
   including the scrollbar and creating horizontal overflow. Article UI is untouched. */
body:not(.vt-article-page) #vt-site-footer { width:100%; margin-left:0; margin-right:0; }
/* The inherited sticky script wraps the desktop nav even when source CSS hides
   that nav. Remove its empty grid slot at the same native mobile breakpoint. */
@media (max-width: 1180px) {
  body:not(.vt-article-page) #vt-site-menu .vt-nav-inner > .sticky-wrapper { display:none!important; }
}

/* Narrow source-content repairs for six observed 320px clipping cases only.
   Keep source copy, font sizes, colors and desktop/390px presentation intact. */
@media (max-width: 360px) {
  body.vt-native-page-about-us .vtes-wrap .vtes-grid,
  body.vt-native-page-about-us .vtes-wrap .vtes-related { grid-template-columns:minmax(0,1fr); }
  body.vt-native-page-about-us .vtes-wrap .vtes-btn,
  body.vt-native-page-faqs .vtes-faq-wrap .vtes-btn,
  body.vt-native-page-api-1169-exam-info #vtx1169 .vtx-btn,
  body.vt-native-page-api-1169-prep #vt-1169-online :is(.btn,.btn-orange),
  body.vt-native-page-index :is(#vt-simple-cards,#vt-included-stack2) .btn {
    box-sizing:border-box; max-width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.35;
  }
  body.vt-native-page-index :is(#vt-simple-cards,#vt-included-stack2) .btn { margin-right:0; }
  body.vt-native-page-about-us .vtes-wrap .vtes-table,
  body.vt-native-page-faqs .vtes-faq-wrap .vtes-table,
  body.vt-native-page-api-1169-exam-info #vtx1169 .vtx-facts,
  body.vt-native-page-contact #vt-contact .kv { width:100%; table-layout:fixed; }
  body.vt-native-page-about-us .vtes-wrap .vtes-table td,
  body.vt-native-page-faqs .vtes-faq-wrap .vtes-table td,
  body.vt-native-page-api-1169-exam-info #vtx1169 .vtx-facts :is(th,td),
  body.vt-native-page-contact #vt-contact .kv :is(th,td) { overflow-wrap:anywhere; }
  body.vt-native-page-api-1169-exam-info #vtx1169 .vtx-facts th { width:35%; }
  body.vt-native-page-contact #vt-contact .kv th { width:35%!important; }
  body.vt-native-page-contact #vt-contact .kv td { display:table-cell; width:auto!important; }
}
