html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--pf-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}

.precision-install-app {
    box-sizing: border-box;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    width: min(560px, calc(100% - 24px));
    padding: 16px;
    border: 1px solid rgba(11, 92, 171, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(16, 42, 67, 0.22);
    color: #243b53;
}

.precision-install-app[hidden] {
    display: none;
}

.precision-install-app strong,
.precision-install-app span,
.precision-install-app small {
    display: block;
}

.precision-install-app strong {
    color: #062a63;
    font-weight: 900;
}

.precision-install-app span {
    margin-top: 3px;
    color: #627d98;
    font-size: 13px;
    line-height: 1.4;
}

.precision-install-app small {
    margin-top: 8px;
    padding: 9px 10px;
    border-left: 3px solid #06b6c8;
    color: #243b53;
    background: #eef7fd;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.precision-install-app small[hidden] {
    display: none;
}

.precision-install-app button,
.precision-install-app a[data-precision-install] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #1769e8, #062a63);
    font-weight: 900;
    cursor: pointer;
}

.precision-install-app button[data-precision-install-close] {
    color: #062a63;
    background: #eef7fd;
}

@media (max-width: 620px) {
    .precision-install-app {
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr 1fr;
    }

    .precision-install-app div {
        grid-column: 1 / -1;
    }
}

body,
button,
input,
select,
textarea {
    font-family: var(--pf-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
}

body #page,
body .site,
body .site-content,
body .site-main,
body .content-area,
body .ast-container,
body .container,
body .wp-site-blocks,
body main,
body article,
body .entry-content,
body .page-content,
body .wp-block-post-content,
body .is-layout-constrained,
body .is-layout-flow {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body .entry-content > *,
body .page-content > *,
body .wp-block-post-content > *,
body .is-layout-constrained > *,
body .is-layout-flow > * {
    max-width: none !important;
}

body .wp-block-group,
body .wp-block-group__inner-container,
body .wp-block-cover,
body .wp-block-cover__inner-container,
body .wp-block-columns,
body .wp-block-column,
body .wp-block-html,
body .wp-block-shortcode {
    width: 100% !important;
    max-width: none !important;
}

body.home.page-id-55 {
    margin: 0 !important;
    padding: 0 !important;
    --wp--style--block-gap: 0 !important;
    --wp--style--root--padding-top: 0 !important;
}

body.home.page-id-55 .wp-site-blocks,
body.home.page-id-55 main,
body.home.page-id-55 article,
body.home.page-id-55 .entry-content,
body.home.page-id-55 .wp-block-post-content,
body.home.page-id-55 .is-layout-flow,
body.home.page-id-55 .is-layout-constrained,
body.home.page-id-55 .has-global-padding {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home.page-id-55 .wp-site-blocks > header,
body.home.page-id-55 .wp-block-template-part,
body.home.page-id-55 .wp-block-post-title,
body.home.page-id-55 .entry-title {
    display: none !important;
}

body:has(.precision-student-login) .wp-site-blocks > header,
body:has(.precision-student-register) .wp-site-blocks > header,
body:has(.precision-support) .wp-site-blocks > header,
body:has(.pe-dashboard) .wp-site-blocks > header,
body:has(.pe-eval-page) .wp-site-blocks > header,
body:has(.pe-resources) .wp-site-blocks > header,
body:has(.pe-public-resources) .wp-site-blocks > header,
body:has(.pe-analytics) .wp-site-blocks > header,
body:has(.pe-exam-container) .wp-site-blocks > header,
body:has(.pe-results-page) .wp-site-blocks > header,
body:has(.pe-result-page) .wp-site-blocks > header,
body:has(.pe-profile-page) .wp-site-blocks > header,
body:has(.precision-student-login) .wp-block-post-title,
body:has(.precision-student-register) .wp-block-post-title,
body:has(.precision-support) .wp-block-post-title,
body:has(.pe-dashboard) .wp-block-post-title,
body:has(.pe-eval-page) .wp-block-post-title,
body:has(.pe-resources) .wp-block-post-title,
body:has(.pe-public-resources) .wp-block-post-title,
body:has(.pe-analytics) .wp-block-post-title,
body:has(.pe-exam-container) .wp-block-post-title,
body:has(.pe-results-page) .wp-block-post-title,
body:has(.pe-result-page) .wp-block-post-title,
body:has(.pe-profile-page) .wp-block-post-title,
body:has(.precision-student-login) .entry-title,
body:has(.precision-student-register) .entry-title,
body:has(.precision-support) .entry-title,
body:has(.pe-dashboard) .entry-title,
body:has(.pe-eval-page) .entry-title,
body:has(.pe-resources) .entry-title,
body:has(.pe-public-resources) .entry-title,
body:has(.pe-analytics) .entry-title,
body:has(.pe-exam-container) .entry-title,
body:has(.pe-results-page) .entry-title,
body:has(.pe-result-page) .entry-title,
body:has(.pe-profile-page) .entry-title {
    display: none !important;
}

body:has(.precision-student-login) .wp-site-blocks,
body:has(.precision-student-register) .wp-site-blocks,
body:has(.precision-support) .wp-site-blocks,
body:has(.pe-dashboard) .wp-site-blocks,
body:has(.pe-resources) .wp-site-blocks,
body:has(.pe-public-resources) .wp-site-blocks,
body:has(.pe-analytics) .wp-site-blocks,
body:has(.pe-exam-container) .wp-site-blocks,
body:has(.pe-results-page) .wp-site-blocks,
body:has(.pe-result-page) .wp-site-blocks,
body:has(.pe-profile-page) .wp-site-blocks,
body:has(.precision-student-login) main,
body:has(.precision-student-register) main,
body:has(.precision-support) main,
body:has(.pe-dashboard) main,
body:has(.pe-resources) main,
body:has(.pe-public-resources) main,
body:has(.pe-analytics) main,
body:has(.pe-exam-container) main,
body:has(.pe-results-page) main,
body:has(.pe-result-page) main,
body:has(.pe-profile-page) main {
    margin: 0 !important;
    padding: 0 !important;
}

body .pe-public-resources {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
}

body .alignwide,
body .alignfull {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.precision-floating-home {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(11, 92, 171, 0.12);
    border-radius: 999px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0b5cab, #0f8b8d);
    box-shadow: 0 10px 22px rgba(16, 42, 67, 0.18);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.precision-floating-home:hover,
.precision-floating-home:focus {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 42, 67, 0.24);
}

body .precision-page-inner,
body .pe-dashboard,
body .pe-resources,
body .pe-results-page,
body .pe-result-page,
body .pe-profile-page {
    width: min(var(--pf-container-max, 1120px), calc(100% - 24px)) !important;
    max-width: var(--pf-container-max, 1120px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 560px) {
    body .precision-page-inner,
    body .pe-dashboard,
    body .pe-resources,
    body .pe-results-page,
        body .pe-result-page,
        body .pe-profile-page {
        width: min(100% - 18px, var(--pf-container-max, 1120px)) !important;
    }

    .precision-floating-home {
        left: 10px;
        bottom: 10px;
        min-height: 32px;
        padding: 7px 10px;
        font-size: 11px;
    }
}

.pe-logo-home-link,.precision-logo-home-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:inherit}.pe-logo-home-link img,.precision-logo-home-link img{display:block}.pe-logo-home-link:focus-visible,.precision-logo-home-link:focus-visible{outline:2px solid #0b5cab;outline-offset:3px;border-radius:12px}
.precision-floating-home{display:none!important}
