/* Atelier autonome, palette du parcours arts existant. */
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 15% 10%, #642b75 0%, transparent 55%), linear-gradient(180deg, #1a0a1f, #2d1540 50%, #4a1f6a); color: #fff; font-family: 'Nunito', system-ui, sans-serif; line-height: 1.6; }
#suite7-arts-observation { box-sizing: border-box; max-width: 900px; margin: auto; padding: 24px; }
#suite7-arts-observation [hidden] { display: none !important; }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.2; margin: .4em 0; }
h2 { line-height: 1.3; }
a { color: #f9d5ed; text-underline-offset: .2em; }
nav, .s7-controls { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
nav a { padding: 8px 0; }
.s7-eyebrow { color: #ffdf97; font-weight: 800; }
.s7-note, figcaption { font-size: .95rem; }
#s7-exercise, #s7-finish { padding: clamp(14px, 4vw, 28px); border: 1px solid #a478b4; border-radius: 24px; background: #261735; box-shadow: 0 18px 40px #10091955; }
figure { margin: 20px 0; }
#s7-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #fffdf7; border-radius: 12px; }
figcaption { margin-top: 10px; color: #eedaf6; }
details { padding: 14px; border-radius: 12px; background: #3c2850; }
summary { cursor: pointer; font-weight: 700; min-height: 30px; }
fieldset { border: 0; padding: 0; margin: 24px 0 18px; min-width: 0; }
legend { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
#s7-choices { display: grid; gap: 10px; }
#s7-choices label { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid #a478b4; border-radius: 12px; cursor: pointer; overflow-wrap: anywhere; }
#s7-choices label:has(:checked) { background: #58336e; border-color: #ffdf97; }
input[type='radio'] { flex-shrink: 0; width: 22px; height: 22px; accent-color: #ffdf97; }
button { font: inherit; font-weight: 800; border: 2px solid transparent; border-radius: 12px; padding: 12px 18px; min-height: 48px; color: #30173c; background: #ffdf97; cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
:focus-visible { outline: 3px solid #7ae6ff; outline-offset: 4px; }
#s7-correction { padding: 16px; border-left: 4px solid #ffdf97; background: #3c2850; }
#s7-message { font-weight: 800; }
#s7-restart { margin-top: 20px; background: #eedaf6; }
@media (max-width: 400px) { #suite7-arts-observation { padding: 12px; } .s7-controls button { width: 100%; } }

#s7-enlarge { display: inline-block; padding: 10px 0; }
.s7-other-modes { margin-top: 24px; }
.s7-other-modes dd { margin: 0 0 12px; }

#s7-material-practice { margin-top: 28px; padding: clamp(14px, 4vw, 28px); border: 1px solid #a478b4; border-radius: 24px; background: #261735; }
.s7-material-card { margin-top: 24px; padding-top: 8px; border-top: 1px solid #a478b4; }
.s7-material-card h3 { color: #ffdf97; font-size: 1.25rem; line-height: 1.3; }
.s7-material-card ol { padding-left: 1.4em; }
.s7-material-card li { margin: 10px 0; }
.s7-material-diagram { margin: 16px 0; }
.s7-material-diagram svg { display: block; width: 100%; max-width: 520px; height: auto; background: #fff; border-radius: 8px; }
.s7-material-source { margin-top: 20px; font-size: .9rem; }
@media print {
    @page { size: A4; margin: 14mm; }
    body { background: #fff; color: #111; font-family: system-ui, sans-serif; font-size: 11pt; line-height: 1.4; }
    #suite7-arts-observation { max-width: none; padding: 0; margin: 0; }
    #suite7-arts-observation > :not(#s7-material-practice) { display: none !important; }
    #s7-material-practice { margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; }
    #s7-material-title { font-size: 16pt; margin: 0 0 3mm; }
    .s7-material-intro { margin: 0 0 4mm; }
    #s7-print-practice { display: none !important; }
    .s7-material-card { border: 0; padding: 0; margin: 0; break-inside: avoid; }
    .s7-material-card + .s7-material-card { break-before: page; }
    .s7-material-card h3 { font-size: 14pt; color: #111; margin: 0 0 4mm; }
    .s7-material-card p, .s7-material-card li { margin: 2mm 0; }
    .s7-material-diagram { margin: 3mm 0; break-inside: avoid; }
    .s7-material-diagram svg { max-width: 100mm; }
    .s7-material-diagram figcaption { color: #333; font-size: 10pt; margin: 2mm 0; }
    .s7-material-source { font-size: 9pt; margin-top: 5mm; }
    .s7-material-source a { color: #111; }
}
