/*!*********************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/theme/reset.css ***!
  \*********************************************************************************************************************************/
*:not(:defined) {
    all: unset;
}

:root {
    font-family: Arial, sans-serif;
}

script, style {
    display: none;
}

p {
    text-align: justify;

    &:first-child {
        margin-top: 0;
    }
    &:last-child {
        margin-bottom: 0;
    }
}

ol > li > ol {
    list-style-type: lower-alpha;
}

div > ul, div > ol {
    margin-top: 0;
}

main {

    & > h1 {
        line-height: 26px;
    }

    h5 {
        font-size: inherit;
        font-style: italic;
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
    }

    div {
        margin-top: 1rem;
        margin-bottom: 1rem;

        text-align: justify;

        &:first-child {
            margin-top: 0;
        }
        &:last-child {
            margin-bottom: 0;
        }
    }
}

a[disabled] {
    color: gray;
    opacity: 0.5;
    font-style: italic;
    pointer-events: none;
}

/* for spoilers */
summary {
    cursor: pointer;

    & > :is(h2,h3,h4,h5,h6) {
        display: inline-block;
    }
}
/*!**********************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/layout/index.css ***!
  \**********************************************************************************************************************************/
@media print {
    @page {
        size  : A4;
        margin: 15px 0; /* top/bottom page margins */
    }
}

body.overview {
    
    overflow-y: hidden;

    margin-left: 0;
    margin-right: 0;
    margin-top: 0;

    main {

        margin: 0;

        border-left: none;
        border-right: none;

        columns: auto 210mm;

        overflow-x: auto;

        /* TODO: scale */
        --scale: calc( (var(--screen_width)/818) / var(--overview) );
        height: calc( 100vh / var(--scale) );
        width: calc( 100vw / var(--scale) );

        transform: scale( var(--scale) );
        transform-origin: top left;
    }

    & .menu_area {
        display: none;
    }
}

main {
    display   : block;
    box-sizing: border-box;
    width     :  210mm; /* A4 width */
    /*padding   : 0 12px; left-right page margins */
    border-left : 12px solid transparent;
    border-right: 12px solid transparent;

    overflow-x: visible;
    
    font-size: 14px; /* 16px is the default */
    line-height: 18px;
    /*
    margin-left : auto;
    margin-right: auto;
    */
}

/* scale down */
@media screen and (max-width: 210mm) {
    main {
        transform-origin: top left;
        scale: min(1, calc( var(--screen_width)/818 ) );
    }
}
/* scale up */
@media screen and (min-width: 210mm) and (display-mode: fullscreen) {
    main {
        transform-origin: top left;
        scale: max(1, calc( var(--screen_width)/818 ) );
    }
}
/* center */
@media screen and (min-width: 210mm) and (not (display-mode: fullscreen)) {
    main {
        margin-left: auto;
        margin-right: auto;
    }
}

@media print {
    .onscreen {
        display: none;
    }
}

@media screen {
    .onprint {
        display: none;
    }
}
/*!*********************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/theme/table.css ***!
  \*********************************************************************************************************************************/
table { 
    margin-left: auto;
    margin-right: auto;
}

table, th, td {
    border: 1px solid grey;
    border-collapse: collapse;
}
  
tbody th {
    text-align: left;
}

th,td {
    padding: 5px;
}
/*!****************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/lastmodified/index.css ***!
  \****************************************************************************************************************************************/
h1 {
    margin-bottom: 0;
}

.lastmodified {
    margin-top: 0;
    font-size: small;
    font-style: italic;
}
/*!********************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/menu/index.css ***!
  \********************************************************************************************************************************/
@media screen {

    :root {
        scroll-padding-top: 2.5em;
    }

    body {
        margin-top: 2.5em;
    }

    .menu_area {
        position: fixed;
        top : 0;

        font-family: Arial, sans-serif;

        background-color: light-dark(rgb(204, 204, 204), rgb(51, 51, 51));

        --menu_width: calc( 210mm );
        left: max(0px, calc( ( 100dvw - var(--menu_width) ) / 2 ) );
        width: var(--menu_width);

        border-radius: 5px;

        padding-left: 12px;
        z-index: 1;

        font-weight: bold;

        & > :is(.menu_page,.menu_pages) {


            white-space  : nowrap;
            /*
            // try popover ?
            overflow-x: clip;
            text-overflow: ellipsis;
            white-space  : nowrap;
            overflow-y: visible;
            */

            a, a:visited {
                text-decoration: none;
                color: light-dark(black, white);
            }

            & > span {
                position: relative;
            }

            & > span:not(:hover) > .menu {
                display: none;
            }
            & > span > .menu {
                position: absolute;
                z-index: 1;
                bottom: 0;
                transform: translate(0, 100%);
                left: 0;
                background-color: light-dark(white, black);
                border: 1px solid gray;
                border-top: none;
                & > a {
                    display: block;
                    white-space: nowrap;
                    padding: 5px 10px;
                    &:hover {
                        background-color: light-dark(#DDD, #222);
                    }
                }
            }

            /* body.hide_h1 & > span:first-child { */
            &.menu_pages > span:nth-child(2),
            &.menu_page  > span:first-child {
                display: none;
            }

            & > span:not(:first-child) {

                &::before {
                    content: " > ";
                }
        
                &:hover::before {
                    content: " v "
                }
            }
        }
    }
}

@media print {
    .menu_area {
        display: none;
    }
}


/* compteurs */
body {
    counter-reset: h1 h2 h3;
    counter-set: h1 var(--header_start_id);
}

h1::before {
    counter-set: h2 h3;
    counter-increment: h1;
    content: counter(h1, upper-roman) ". ";
}
h2::before {
    counter-set: h3;
    counter-increment: h2;
    content: counter(h1, upper-roman) "." counter(h2) ". ";
}
h3::before {
    counter-increment: h3;
    content: counter(h1, upper-roman) "." counter(h2) "." counter(h3, lower-alpha) ". ";
}

h1, h2, h3, h4, h5, h6 {
    cursor: pointer;

    &:hover::after {
        content: "🔗";
        opacity: 0.5;
    }
}
/*!****************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/color-switch/index.css ***!
  \****************************************************************************************************************************************/
:root {

    color: light-dark(black, white);

    @media screen {
        &.light-mode {
            color-scheme: light;
        }
        &.dark-mode {
            color-scheme: dark;
        }
    }

    @media print {
        & {
            color-scheme: light;
            print-color-adjust: exact;
        }
    }
}

.color-scheme-gui-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    cursor: pointer;
    font-size: 20px;
 
    :root.light-mode & {
        &::before {
            content: "🌘"; /*var(--color-scheme-gui-btn-icon);*/
        }
    }
    :root.dark-mode & {
        &::before {
            content: "🌖"; /*var(--color-scheme-gui-btn-icon);*/
        }
    }

    @media print {
        & {
            display: none;
        }
    }
}

.dark  {
    color-scheme: dark;
}
.light {
    color-scheme: light;
}
/*!*************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/theme/utilities.css ***!
  \*************************************************************************************************************************************/
.hidden {
    display: none;
}

.center {
    margin-left: auto;
    margin-right: auto;

    &.div {
        width: fit-content;
    }
}

.flex-2, .flex-3, .flex-4 {
    gap: 1px;
    display: grid;

    margin-top: 0;
    margin-bottom: 0;

    &.gap {
        gap: 10px;
    }

    & > .span-2 {
        grid-column: span 2;
    }

    & > div {
        margin-top: 0;
        margin-bottom: 0;
    }

    &.flex-2 {
        grid: auto / 1fr 1fr;
    }

    &.flex-3 {
        grid: auto / 1fr 1fr 1fr;
    }

    &.flex-4 {
        grid: auto / 1fr 1fr 1fr 1fr;
    }

    & img {
        width: 100%;
    }
}
/*!**********************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./libs/MWL@2026/src/components/page/blocks/index.css ***!
  \**********************************************************************************************************************************/

img {
    break-inside: avoid;

    max-width: 100%;

    &[src$=".svg"] {

        display: block;
        margin-left: auto;
        margin-right: auto;

        width:60%;
        border-radius:5px;
    }
}

quote, .quote {

    font-style: italic;

    &::before {
        content: "« "
    }
    &::after {
        content: " »"
    }
}

todo {
    display: block;

    background-color: yellow;
    color: black;
    padding: 2px;
    border-radius: 4px;

    &::before {
        content: "[TODO] "
    }
}

.quote {

    &:not(:is(div + &)) {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

.danger, .hint, .info, .exo, div.custom, .context {

    border-radius: 5px;
    border-left: 2px solid var(--block-color);
    padding-left: 4px;
    padding-right: 4px;

    background-color: color-mix(in srgb, var(--block-color) 40%, light-dark(white, black));

    &:not(:is(div + &)) {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    &::before {
        color: var(--block-color);
        content: var(--block-symbol) " ";
    }
}

.context {
    --block-color: #2196F3;
    --block-symbol: "ⓘ";
}
.danger {
    --block-color: red;
    --block-symbol: "⚠";
}

.hint {
    --block-color: yellow;
    --block-symbol: "💡";
}

.info {
    --block-color: orange;
    --block-symbol: "📚";
}

.exo {
    --block-color: green;
    --block-symbol: "🧩";

    font-style: italic;

    &::before {
        font-style: normal;
    }

    & summary {
        margin-top: 5px;
    }
}

div.custom {
    --block-color: gray;
    --block-symbol: "Ⓟ";
}

code-script.custom::before {
    content: "Ⓟ";
    background-color: black;
    border-radius: 5px;
    margin-right: 2px;
    padding-left: 1px;
    padding-right: 1px;
    color: white;
}
/*!***********************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/pages/templates/page@2026/index.css ***!
  \***********************************************************************************************************************/
.terminal {
    border: 1px solid gray; border-radius: 5px; padding: 5px;
    & > pre {
        margin: 0;
    }
}
/*!************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/pages/templates/cheat@2026/index.css ***!
  \************************************************************************************************************************/
body {
    margin-top: 24px;
}

h2 {
    font-size: medium;
}
h3 {
    font-size: medium;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

main > img {
    width: 100% !important;
}

main > div {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

ul {
    margin-top: 0.5rem !important;
}


/*# sourceMappingURL=index.css.map*/