/* Phase 3: reserve viewport space only while the assessment is starting.
 * The loaded form and results retain their existing natural height.
 * Loaded only on page 829 for the verified assessment plugin version.
 */
body.page-id-829 #sra-v2-app:has(> .sra-loading-status) {
    min-height: 100vh;
    min-height: 100svh;
}

/* HubSpot's 101vw overlay must not widen the assessment viewport. */
body.page-id-829 #hs-interactives-modal-overlay {
    width: 100%;
    max-width: 100%;
}
body.page-id-829 #sc-sra-help {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 9988;
    max-width: min(280px, calc(100vw - 32px));
    font: 600 14px/1.4 system-ui, sans-serif;
    text-align: right;
}
body.page-id-829 #sc-sra-help[hidden] { display: none; }
body.page-id-829 #sc-sra-help-button {
    min-height: 44px;
    margin: 0;
    padding: 12px 18px;
    border: 2px solid #d4a72c;
    border-radius: 28px;
    background: #0a1f44;
    color: #fff;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
}
body.page-id-829 #sc-sra-help-button:focus-visible {
    outline: 3px solid #0a1f44;
    outline-offset: 3px;
}
body.page-id-829 #sc-sra-help-status:not(:empty),
body.page-id-829 #sc-sra-help-fallback:not([hidden]) {
    display: block;
    margin-top: 6px;
    padding: 8px 12px;
    border: 1px solid #d4a72c;
    border-radius: 8px;
    background: #fff;
    color: #0a1f44;
}
body.page-id-829 #sc-sra-help-fallback[hidden] { display: none; }

/* Wrap long navigation labels inside their existing dropdown width. */
body.page-id-829 .site-header .sub-menu a {
    white-space: normal !important;
    overflow-wrap: anywhere;
}
/* Keep the draft's help control above WPVibe's preview-only toolbar. */
body.page-id-829.wpvibe-preview-active #sc-sra-help {
    bottom: 80px;
}


