/* Tools hub — print + live preview. No Vite. */
.wl-tools-preview-paper {
    background: #fff;
    color: #0f172a;
}

.wl-cv-page button,
.wl-cv-page a,
.wl-cv-page label,
.wl-cv-page select,
.wl-cv-page summary,
.wl-cv-page [onclick],
.wl-cv-page input[type="checkbox"],
.wl-cv-page input[type="file"],
.wl-cv-page input[type="range"],
.wl-cv-page input[type="button"],
.wl-cv-page [role="button"] {
    cursor: pointer;
}

.wl-cv-shell {
    min-width: 0;
}

.wl-cv-page {
    overflow-x: hidden;
}

.wl-cv-tabs {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 -0.25rem 0.75rem;
    padding: 0.25rem;
    background: rgb(248 250 252 / 0.92);
    backdrop-filter: blur(8px);
}
html.dark .wl-cv-tabs {
    background: rgb(2 6 23 / 0.92);
}

@media (max-width: 1023px) {
    .wl-cv-preview-pane {
        display: none;
    }
    .wl-cv-preview-pane.is-open {
        display: block;
    }
    .wl-cv-form-pane.is-closed {
        display: none;
    }
    .wl-cv-page {
        padding-bottom: 5.5rem;
    }
    html.wl-print-cv .wl-cv-preview-pane {
        display: block;
    }
}

.wl-cv-mobile-cta {
    position: fixed;
    right: 1rem;
    left: 1rem;
    z-index: 45;
    bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) and (max-width: 1023px) {
    .wl-cv-mobile-cta {
        bottom: 1rem;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }
    .wl-tools-print,
    .wl-tools-print *,
    .cv-print-root,
    .cv-print-root * {
        visibility: visible !important;
    }
    .wl-tools-print,
    .cv-print-root {
        position: absolute !important;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff !important;
        box-shadow: none !important;
        border: none !important;
    }
    .wl-tools-no-print,
    .public-site-header,
    .public-app-bar,
    .wl-cv-mobile-cta,
    .wl-cv-tabs,
    .cookie-banner,
    footer.mt-8 {
        display: none !important;
    }
    .wl-tools-copy + .wl-tools-copy {
        break-before: page;
        page-break-before: always;
    }
}
