/* ============================================================
       Styles isolés pour l'Aide-mémoire LeanSe (Protection de thème)
       ============================================================ */
    @import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

    #leanse-thermal-app-root {
        all: initial;
        display: block;
        box-sizing: border-box;
        font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: #3d362e;
        background: #f8f3e7;
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        min-height: 100vh;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        line-height: 1.5;
        font-size: 15px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    #leanse-thermal-app-root *,
    #leanse-thermal-app-root *::before,
    #leanse-thermal-app-root *::after {
        box-sizing: border-box;
    }

    #leanse-thermal-app-root a {
        color: #5a6b3a;
        text-decoration: none;
        transition: color .15s ease;
    }
    #leanse-thermal-app-root a:hover {
        color: #3f4d24;
        text-decoration: underline;
    }

    #leanse-thermal-app-root button {
        font-family: inherit;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        outline: none;
        -webkit-appearance: none;
    }

    #leanse-thermal-app-root input[type=number] {
        -moz-appearance: textfield;
        font-family: inherit;
        outline: none;
    }
    #leanse-thermal-app-root input[type=number]::-webkit-inner-spin-button,
    #leanse-thermal-app-root input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Impression propre de la fiche */
    @media print {
        body * {
            visibility: hidden !important;
        }
        #leanse-thermal-app-root,
        #leanse-thermal-app-root * {
            visibility: visible !important;
        }
        #leanse-thermal-app-root {
            position: absolute !important;
            left: 0 !important;
            top: 0 !important;
            width: 100% !important;
            background: #fff !important;
        }
        #leanse-thermal-app-root [data-noprint] {
            display: none !important;
        }
        @page {
            margin: 0.8cm;
        }
        *, *::before, *::after {
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }
    }