/* Web-only layout wrapper for browser preview/deployment. */

@page {
    size: A4;
    margin: 13mm 15mm;
}

html,
body {
    background: #eef2f7;
}

body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

body {
    box-sizing: border-box;
    width: 210mm;
    min-height: 297mm;
    margin: 10mm auto;
    background: #ffffff;
}

.resume-toolbar {
    position: sticky;
    top: 16px;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 210mm;
    margin: 0 auto;
    padding: 16px 0 0;
    box-sizing: border-box;
}

.resume-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-family: "JetBrainsMono", monospace;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 25px rgb(15 23 42 / 0.18);
}

.resume-download-link:hover {
    background: #1e293b;
}

@media screen and (max-width: 900px) {
    .resume-toolbar {
        position: static;
        width: auto;
        margin: 0;
        padding: 12px 16px 0;
        justify-content: center;
    }

    body {
        width: auto;
        min-height: 0;
        margin: 0;
        box-shadow: none;
    }
}

@media print {
    html,
    body {
        background: #ffffff;
    }

    .no-print {
        display: none !important;
    }

    body {
        width: auto;
        min-height: 0;
        margin: 0;
        box-shadow: none;
    }
}
