/* A screen-printed space poster with a flight path running through the week. */
[data-theme="space"] .corner-sheet-head {
    display: grid;
    align-content: center;
    isolation: isolate;
    min-height: 30cqw;
    padding: 4cqw 50% 4cqw 5cqw;
    border: 0;
    border-bottom: 1.1cqw solid #f99c61;
    color: #fff4d9;
    background: radial-gradient(circle at 7% 16%, #ffd087 .2cqw, transparent .3cqw),
        radial-gradient(circle at 43% 83%, #fae9cc .25cqw, transparent .35cqw),
        #262446;
}
[data-theme="space"] .corner-theme-art {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 53%;
    height: 100%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
[data-theme="space"] .corner-sheet-head p {
    margin: 0 0 2cqw;
    color: #ffd08d;
    font: bold 2.4cqw/1.25 Consolas, monospace;
    letter-spacing: .1em;
}
[data-theme="space"] .corner-sheet-head h3 {
    font: 900 6.3cqw/.99 system-ui, sans-serif;
    letter-spacing: -.055em;
    text-transform: uppercase;
}
[data-theme="space"] .corner-week { padding: 5cqw 6cqw; gap: 3cqw 6cqw; }
[data-theme="space"] .corner-day,
[data-theme="space"] .corner-duties > div {
    position: relative;
    border-left: .25cqw dashed #9085af;
    padding-left: 2.5cqw;
}
[data-theme="space"] .corner-day::before,
[data-theme="space"] .corner-duties > div::before {
    content: "";
    position: absolute;
    top: 1.4cqw;
    left: -.77cqw;
    width: 1.25cqw;
    height: 1.25cqw;
    border-radius: 100%;
    background: #feae77;
    box-shadow: 0 0 0 .25cqw #443e67;
}
[data-theme="space"] .corner-day h4,
[data-theme="space"] .corner-duties dt {
    margin: 0 0 1.1cqw;
    padding: 0;
    border: 0;
    color: #3b365e;
    font: bold 3.25cqw/1.25 Consolas, monospace;
}
[data-theme="space"] .corner-duties > div { padding-block: .5cqw 2.2cqw; }
[data-theme="space"] .corner-rules {
    margin: 4cqw 5cqw;
    padding: 0 3cqw 1cqw 8cqw;
    border: .35cqw solid #50496e;
    border-top: 1cqw solid #50496e;
}
[data-theme="space"] .corner-rules li { border-color: #c8bfd9; }
[data-theme="space"] .corner-rules li::marker { font-family: Consolas, monospace; }

/* Laboratory observation book, with a specimen window and measured tables. */
[data-theme="science"] .corner-sheet-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 29%;
    grid-template-areas: "class sample" "title sample";
    align-content: center;
    padding: 4cqw 5cqw 5.5cqw;
    color: #104e4f;
    border: 0;
    border-top: .65cqw solid #126267;
    background: linear-gradient(to right, #9ec5b945 1px, transparent 1px),
        linear-gradient(#9ec5b945 1px, transparent 1px), #eff8ed;
    background-size: 2.6cqw 2.6cqw;
}
[data-theme="science"] .corner-sheet-head::after {
    position: absolute;
    content: "";
    inset: auto 0 0;
    height: 1.4cqw;
    background: repeating-linear-gradient(90deg, #24726d 0 .16cqw, transparent .16cqw 2cqw);
    border-bottom: .25cqw solid #24726d;
}
[data-theme="science"] .corner-theme-art {
    grid-area: sample;
    width: 100%;
    aspect-ratio: 1.25;
    align-self: center;
    border: .4cqw solid #fff;
    outline: .2cqw solid #27726a;
}
[data-theme="science"] .corner-sheet-head p {
    grid-area: class;
    align-self: end;
    margin: 0 2cqw 1.7cqw 0;
    font: bold 2.5cqw/1.25 Consolas, monospace;
}
[data-theme="science"] .corner-sheet-head h3 {
    grid-area: title;
    margin-right: 2cqw;
    font: 750 6.6cqw/1 system-ui, sans-serif;
    letter-spacing: -.05em;
}
[data-theme="science"] .corner-week,
[data-theme="science"] .corner-duties {
    display: block;
    padding: 4cqw;
}
[data-theme="science"] .corner-day,
[data-theme="science"] .corner-duties > div {
    display: grid;
    grid-template-columns: 29% minmax(0, 1fr);
    align-items: stretch;
    padding: 0;
    border: .18cqw solid #9cbcb5;
}
[data-theme="science"] .corner-day + .corner-day,
[data-theme="science"] .corner-duties > div + div { border-top: 0; }
[data-theme="science"] .corner-day h4,
[data-theme="science"] .corner-duties dt {
    margin: 0;
    padding: 1.8cqw 1.5cqw;
    border: 0;
    border-right: .18cqw solid #9cbcb5;
    background: #e6f2e8;
    color: #174f4a;
    font: bold 2.95cqw/1.3 Consolas, monospace;
}
[data-theme="science"] .corner-day ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4cqw 5cqw;
    padding: 1.5cqw 1.8cqw 1.5cqw 5.3cqw;
    font-size: 2.8cqw;
}
[data-theme="science"] .corner-duties dd { padding: 1.5cqw 2cqw; min-height: 8cqw; border: 0; }
[data-theme="science"] .corner-rules { margin: 4cqw; padding: 0 2cqw 0 8cqw; border-left: 1cqw solid #2a7c78; }
[data-theme="science"] .corner-rules li { border-bottom: .2cqw dashed #87afa3; }
[data-theme="science"] .corner-rules li::marker { color: #21665f; font-family: Consolas, monospace; }

/* A toy-block print. The robot occupies its own colour tile above the title. */
[data-theme="robots"] .corner-sheet-head {
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 36%;
    grid-template-areas: "class robot" "title title";
    align-items: end;
    border: 0;
    background: #103d71;
    color: #fff;
    padding: 0;
}
[data-theme="robots"] .corner-sheet-head p {
    grid-area: class;
    margin: 0;
    align-self: stretch;
    display: grid;
    align-content: end;
    padding: 4cqw;
    color: #153969;
    font: 850 4.3cqw/1.1 system-ui, sans-serif;
    background: linear-gradient(45deg, #ffae50 50%, transparent 50%) right top / 8cqw 8cqw no-repeat,
        radial-gradient(circle at top left, #ffb355 6cqw, transparent 6.1cqw) 0 0 / 12cqw 7cqw repeat-x,
        #a1dfcf;
}
[data-theme="robots"] .corner-theme-art { grid-area: robot; width: 100%; height: 18cqw; object-position: 50% 38%; }
[data-theme="robots"] .corner-sheet-head h3 {
    grid-area: title;
    width: 100%;
    padding: 1.9cqw 4cqw 2.4cqw;
    color: #fff9e7;
    font: 900 6.8cqw/1 system-ui, sans-serif;
    letter-spacing: -.055em;
}
[data-theme="robots"] .corner-week { gap: 2.2cqw; padding: 3.5cqw; }
[data-theme="robots"] .corner-day {
    border: .34cqw solid #214e7c;
    box-shadow: .6cqw .6cqw #c9dbdc;
    padding: 0 0 1cqw;
}
[data-theme="robots"] .corner-day h4,
[data-theme="robots"] .corner-duties dt {
    margin: 0;
    border: 0;
    padding: .9cqw 1.6cqw;
    background: #b5e7d9;
    color: #123a64;
    font: 800 3.3cqw/1.25 system-ui, sans-serif;
}
[data-theme="robots"] .corner-day:nth-child(even) h4,
[data-theme="robots"] .corner-duties > div:nth-child(even) dt { background: #ffcd8b; }
[data-theme="robots"] .corner-day ol { margin: 1.2cqw 1.4cqw 0 1.8cqw; }
[data-theme="robots"] .corner-duties,
[data-theme="robots"] .corner-rules { padding: 4cqw; }
[data-theme="robots"] .corner-duties > div {
    display: grid;
    grid-template-columns: 32% 1fr;
    border: .3cqw solid #255176;
    padding: 0;
    margin-bottom: 1.6cqw;
}
[data-theme="robots"] .corner-duties dt { align-content: center; }
[data-theme="robots"] .corner-duties dd { border: 0; margin: 0; padding: 1.2cqw; }
[data-theme="robots"] .corner-rules {
    counter-reset: robot-rule;
    list-style: none;
}
[data-theme="robots"] .corner-rules li {
    counter-increment: robot-rule;
    display: grid;
    grid-template-columns: 5.8cqw 1fr;
    gap: 2cqw;
    align-items: baseline;
    padding: 1.5cqw 0;
    border-color: #aabfcc;
}
[data-theme="robots"] .corner-rules li::before {
    content: counter(robot-rule);
    text-align: center;
    color: #173c67;
    background: #ffc273;
    font: bold 3.3cqw/1.6 Consolas, monospace;
}

/* A record sleeve and vinyl disc, with staff lines beside the weekday names. */
[data-theme="music"] .corner-sheet-head {
    isolation: isolate;
    display: grid;
    align-content: center;
    min-height: 31cqw;
    padding: 3.5cqw 4cqw 3.5cqw 45%;
    color: #4d153a;
    background: #f9ceb7;
    border: 0;
    border-bottom: .6cqw solid #692644;
}
[data-theme="music"] .corner-theme-art {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 24cqw;
    height: 24cqw;
    transform: translateY(-50%) rotate(-5deg);
    border: .35cqw solid #fff2d4;
    box-shadow: .45cqw .6cqw #653343;
}
[data-theme="music"] .corner-sheet-head::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 15%;
    width: 24cqw;
    height: 24cqw;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, #ffc78d 0 2%, #bd5059 2.5% 27%, transparent 28%),
        repeating-radial-gradient(circle, #332636 0 1.35cqw, #76546a 1.45cqw, #332636 1.62cqw);
}
[data-theme="music"] .corner-sheet-head p { font: 700 2.65cqw/1.3 system-ui, sans-serif; margin: 0 0 1.5cqw; }
[data-theme="music"] .corner-sheet-head h3 { font: italic bold 7.3cqw/.99 Georgia, serif; letter-spacing: -.045em; }
[data-theme="music"] .corner-week { gap: 3cqw 4cqw; padding: 4cqw; }
[data-theme="music"] .corner-day h4,
[data-theme="music"] .corner-duties dt {
    display: flex;
    align-items: center;
    gap: 1.3cqw;
    border: 0;
    padding: 0;
    color: #68254c;
    font: italic bold 3.8cqw/1.3 Georgia, serif;
}
[data-theme="music"] .corner-day h4::after,
[data-theme="music"] .corner-duties dt::after {
    content: "";
    flex: 1;
    height: 1.93cqw;
    background: repeating-linear-gradient(#b47a91 0 .14cqw, transparent .14cqw .44cqw);
}
[data-theme="music"] .corner-duties dd { border-color: #a77a8a; }
[data-theme="music"] .corner-rules { padding-left: 13cqw; background: linear-gradient(90deg, #f9dfd0 0 9.5%, transparent 9.5%); }
[data-theme="music"] .corner-rules li { border: 0; }
[data-theme="music"] .corner-rules li::marker { font: italic bold 1.22em Georgia, serif; color: #7d355a; }

/* Shadow-theatre playbill, with a gilt proscenium and a typeset programme. */
[data-theme="theatre"] .corner-sheet {
    color: #47283c;
    background: #fff9eb;
}
[data-theme="theatre"] .corner-sheet-head {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 1cqw;
    padding: 2.5cqw 4cqw 3cqw;
    border: 0;
    border-bottom: .7cqw double #ffe3a0;
    color: #ffe3a0;
    background: linear-gradient(90deg, #431b33, #681d3a 7%, #3e1d33 10%, #391a2e 90%, #681d3a 93%, #431b33);
}
[data-theme="theatre"] .corner-theme-art {
    grid-row: 1;
    width: 33cqw;
    height: 15cqw;
    border-radius: 50% 50% 0 0 / 64% 64% 0 0;
    border: .24cqw solid #eac27f;
    object-position: center 55%;
}
[data-theme="theatre"] .corner-sheet-head p {
    margin: 0;
    font: 600 2.5cqw/1.3 Georgia, serif;
    letter-spacing: .1em;
}
[data-theme="theatre"] .corner-sheet-head h3 {
    color: #fff3d4;
    font: 500 6.5cqw/1.05 Georgia, serif;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
[data-theme="theatre"] .corner-week {
    gap: 2.7cqw 5cqw;
    padding: 3.5cqw 6cqw 5cqw;
}
[data-theme="theatre"] .corner-day h4 {
    margin: 0 0 1.2cqw;
    padding: 0 0 .8cqw;
    text-align: center;
    border: 0;
    border-bottom: .45cqw double #9b7747;
    color: #682342;
    font: italic bold 3.8cqw/1.25 Georgia, serif;
}
[data-theme="theatre"] .corner-day ol { font: 400 3.1cqw/1.42 Georgia, serif; }
[data-theme="theatre"] .corner-duties,
[data-theme="theatre"] .corner-rules { margin: 3cqw 4cqw; padding: 1.2cqw 3cqw; border: .55cqw double #a57b48; }
[data-theme="theatre"] .corner-duties > div { display: grid; grid-template-columns: 33% 1fr; align-items: baseline; gap: 2cqw; }
[data-theme="theatre"] .corner-duties dt { color: #682342; font: bold italic 3.5cqw/1.2 Georgia, serif; }
[data-theme="theatre"] .corner-duties dd { border-bottom: .25cqw dotted #8d7059; font-family: Georgia, serif; }
[data-theme="theatre"] .corner-rules { list-style: upper-roman; padding-left: 12cqw; }
[data-theme="theatre"] .corner-rules li { color: #4c3040; border-color: #d8c7a5; font-family: Georgia, serif; }
