.play-guide{max-width:900px;margin:4rem 0}.play-guide h3{font-size:1.15rem;margin-top:1.7rem}.play-guide p{max-width:78ch}.related-reading{margin:2rem 0}.related-reading ul{padding-left:1.2rem}.related-reading li{margin:.65rem 0}.learning-route{padding-bottom:2rem;max-width:1100px}.learning-route li{margin:.8rem 0}.learning-route a,.related-reading a,.technique-catalogue a,.printable-page a:not(.button){text-underline-offset:.18em}.technique-groups{display:grid;gap:1.1rem;margin:2rem 0}.technique-groups>section{border:1px solid var(--line,#d9ded3);padding:1.4rem;border-radius:14px}.technique-groups h2{margin-top:0}.technique-groups ul{padding-left:1.2rem}.technique-groups li{margin:1rem 0}.technique-groups li p{margin:.3rem 0;font-size:.96rem}.deduction-example{margin:2rem 0;padding:1.3rem;border:1px solid var(--line,#d9ded3);border-radius:14px;background:#fffdf7}.deduction-example h3{margin-top:0}.candidate-diagram{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));width:min(100%,350px);border:2px solid #284b45;margin:1.25rem auto;aspect-ratio:1}.candidate-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font:600 1rem/1 system-ui;border-right:1px solid #c2c9be;border-bottom:1px solid #c2c9be;color:#234a41}.candidate-cell:nth-child(3n){border-right:2px solid #284b45}.candidate-cell:nth-child(9n){border-right:0}.candidate-cell:nth-child(n+19):nth-child(-n+27),.candidate-cell:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #284b45}.candidate-cell:nth-child(n+73){border-bottom:0}.candidate-cell.source-unit{background:#f1edda}.candidate-cell.candidate-kept{background:#dce9ce;color:#204b39;font-size:1.2rem}.candidate-cell.candidate-removed{background:#f6ddd4;color:#963c30;text-decoration:line-through;font-size:1.2rem}.diagram-legend{display:grid;gap:.5rem;font-size:.9rem;overflow-wrap:anywhere}.editorial-sources{font-size:.92rem}.printable-download-options{display:flex;flex-wrap:wrap;gap:1.2rem;margin:1.3rem 0}.printable-download{flex:1 1 240px;padding:1.2rem;border:1px solid var(--line,#d9ded3);border-radius:14px}.printable-download .button{white-space:normal;text-align:center}.article-aside a{overflow-wrap:anywhere}@media(max-width:600px){.play-guide{margin:2.8rem 0}.deduction-example{padding:1rem}.candidate-diagram{max-width:310px}.learning-route{padding-inline:24px}.printable-download{flex-basis:100%}.prose h1{overflow-wrap:break-word}}
.article-layout>.prose,.article-layout>.article-aside{min-width:0}.deduction-example,.candidate-diagram{min-width:0;max-width:100%}.prose{overflow-wrap:anywhere}.exercise-options{flex-wrap:wrap}@media(max-width:900px){.article-layout{grid-template-columns:minmax(0,1fr)}}

/* The coordinates and crossed-out notes also work without colour. */
.candidate-diagram-layout{display:grid;grid-template-columns:1.8rem minmax(0,1fr);grid-template-rows:1.6rem auto;width:min(100%,390px);margin:1.2rem auto;color:#213c38;font:600 .72rem/1 system-ui}
.diagram-columns{grid-column:2;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));align-items:center;text-align:center}
.diagram-rows{grid-column:1;grid-row:2;display:grid;grid-template-rows:repeat(9,minmax(0,1fr));align-items:center;text-align:center}
.candidate-diagram-layout .candidate-diagram{grid-column:2;grid-row:2;width:100%;max-width:none;margin:0;background:#fffefa}
.candidate-diagram-layout .candidate-cell{min-width:0;min-height:0;font-size:1.05rem;text-decoration:none}
.candidate-diagram-layout .candidate-cell.has-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));padding:1px}
.candidate-diagram-layout .candidate-kept{outline:3px double #164f47;outline-offset:-4px}
.diagram-note{display:grid;place-items:center;font:600 clamp(.62rem,1.8vw,.82rem)/1 system-ui;color:#164f47}
s.diagram-note{color:#963c30;text-decoration-thickness:2px}
.note-1,.note-2,.note-3{grid-row:1}.note-4,.note-5,.note-6{grid-row:2}.note-7,.note-8,.note-9{grid-row:3}
.note-1,.note-4,.note-7{grid-column:1}.note-2,.note-5,.note-8{grid-column:2}.note-3,.note-6,.note-9{grid-column:3}
.diagram-legend p{margin:.2rem 0;font-size:.9rem;line-height:1.6}
.lesson-practice>div{min-width:0}.lesson-practice-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin:1rem 0}
.lesson-practice-actions .button{white-space:normal;text-align:center;min-height:44px}
#lesson-exercise{scroll-margin-top:2rem}#lesson-exercise:focus{outline:2px solid #164f47;outline-offset:4px}
@media(max-width:400px){.deduction-example{padding:.8rem}.candidate-diagram-layout{grid-template-columns:1.5rem minmax(0,1fr);font-size:.64rem}.lesson-practice-actions .button{width:100%}}
