@import "/css/slides.css";

section > aside.notes:last-child {
    bottom: 0ch;
    display: none;
    left: 0px;
    margin: 0;
    position: absolute;
    width: calc(100% - 2ch);
    background-color: color(srgb 0.75 0.75 0.75 / 0.75);
    color: black;
    font-size: 2vh;
    padding-inline: 1ch;
}

section > aside.notes:last-child > p {
    max-width: 40ic; /* JLREQ § 2.4.2 */
}

@media (prefers-color-scheme: dark) {
    section > aside.notes:last-child {
        background-color: color(srgb 0.25 0.25 0.25 / 0.75);
        color: white;
    }
}

.draft section > aside.notes:last-child {
    display: block;
}
