/* (c) Britt Innovations Inc., Monsieur Britt. Compact original activity artwork. */
body.grade-learning-playful #activityContent .fsl-art-heading {
    display: flow-root;
    min-height: 60px;
    margin-bottom: 12px;
}
body.grade-learning-playful #activityContent .fsl-activity-art {
    display: block;
    float: right;
    width: 96px;
    height: 58px;
    margin: 0 0 0 12px;
    line-height: 0;
    pointer-events: none;
    user-select: none;
}
body.grade-learning-playful #activityContent .fsl-activity-art svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
/* Legacy headers have a retry control at the right edge. Keep the drawing to the left. */
body.grade-learning-playful #activityContent .section-header .fsl-activity-art {
    float: left;
    margin: 0 12px 0 0;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-activity-art] {
    background: var(--activity-art-paper, #fffdf7);
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-activity-art] :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) {
    border-top: 5px solid var(--activity-art-ink, #116466);
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-activity-art] .fsl-art-heading {
    color: var(--activity-art-ink, #243b45);
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="desk"] .fsl-daily,
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="draft"] .fsl-daily,
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="journal"] .fsl-daily {
    border-radius: 10px 22px 22px 10px;
    box-shadow: 5px 5px 0 #e6d4bd;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="desk"] .fsl-art-heading,
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="draft"] .fsl-art-heading,
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="journal"] .fsl-art-heading {
    border-bottom: 2px dashed #bd936b;
    padding-bottom: 6px;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="detective"] .fsl-practice {
    border-radius: 24px 12px 24px 12px;
    border-left: 5px solid #146779;
    box-shadow: 3px 4px 0 #c9e2e6;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="stage"] .fsl-daily {
    border-radius: 24px 24px 12px 12px;
    border-bottom: 5px solid #bca8d6;
    box-shadow: 0 4px 0 #e2d7ef;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="blocks"] .fsl-practice {
    border-radius: 12px;
    box-shadow: 5px 5px 0 #e9ccb5;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="blocks"] .fsl-art-heading {
    border-bottom: 4px double #b38463;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="workshop"] .fsl-lesson-review {
    border-radius: 16px;
    box-shadow: 0 5px 0 #e5d8ad;
}
body.grade-learning-playful:not(.high-contrast) #activityContent[data-art-family="observatory"] .fsl-practice {
    border-radius: 26px 26px 14px 14px;
    box-shadow: 0 5px 0 #cdd5ee;
}
/* Preserve legacy header text contrast; the vignette changes its composition, not its controls. */
body.grade-learning-playful:not(.high-contrast) #activityContent[data-activity-art] .section-header .fsl-art-heading {
    color: inherit;
}
@media (max-width: 600px) {
    body.grade-learning-playful #activityContent .fsl-art-heading { min-height: 44px; }
    body.grade-learning-playful #activityContent .fsl-activity-art { width: 64px; height: 40px; margin-left: 8px; }
    body.grade-learning-playful #activityContent .section-header .fsl-activity-art { margin: 0 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.grade-learning-playful #activityContent .fsl-activity-art,
    body.grade-learning-playful #activityContent .fsl-activity-art * { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
    body.grade-learning-playful #activityContent .fsl-art-heading { border-color: CanvasText; }
    body.grade-learning-playful #activityContent .fsl-activity-art { forced-color-adjust: auto; }
}
@media print {
    body.grade-learning-playful #activityContent .fsl-activity-art { display: none; }
    body.grade-learning-playful #activityContent .fsl-art-heading { min-height: 0; }
}
