/* Scoped article styles. Existing download and website controls retain their native styles. */
.worksheet-content .pt-article {
    --pt-ink:#142c2d;
    --pt-muted:#456162;
    --pt-accent:#205b53;
    --pt-soft:#edf3e9;
    --pt-paper:#fbfaf5;
    --pt-rule:#d9e3d9;
    color:var(--pt-ink);
}
.worksheet-content .pt-article[data-pt-tone="lake"] {--pt-accent:#244f77;--pt-soft:#e8f1f7;--pt-rule:#cbdde8}
.worksheet-content .pt-article[data-pt-tone="berry"] {--pt-accent:#803650;--pt-soft:#f6e9ee;--pt-rule:#ead5df}
.worksheet-content .pt-article[data-pt-tone="clay"] {--pt-accent:#8a4328;--pt-soft:#f8ede3;--pt-rule:#ecd9c8}
.worksheet-content .pt-article[data-pt-tone="plum"] {--pt-accent:#644282;--pt-soft:#f0eaf6;--pt-rule:#ded2e9}
.worksheet-content .pt-article[data-pt-tone="ochre"] {--pt-accent:#75501e;--pt-soft:#f6f0dd;--pt-rule:#e7dcc0}
 .worksheet-content .pt-article {margin:2rem 0 3.6rem;max-width:none}
.worksheet-content .pt-article .pt-lede {font-size:clamp(1.07rem,2.25vw,1.31rem);margin:0 0 1.5rem;line-height:1.64;color:var(--pt-ink)}
.worksheet-content .pt-article .pt-lede p {margin:0 0 1rem}
.worksheet-content .pt-article .pt-links {display:flex;gap:.55rem;flex-wrap:wrap;margin:0 0 2.5rem}
.worksheet-content .pt-article .pt-links a {min-height:44px;display:inline-flex;align-items:center;padding:.5rem .9rem;border:1px solid var(--pt-rule);border-radius:2rem;color:var(--pt-accent);text-decoration:none;font-weight:750;background:white;font-size:.84rem}
.worksheet-content .pt-article .pt-links a:hover {background:var(--pt-soft)}
.worksheet-content .pt-article .pt-section {padding:clamp(1.35rem,4vw,2.65rem) 0;border-top:1px solid var(--pt-rule)}
.worksheet-content .pt-article .pt-section h2 {font-weight:700;font-size:clamp(1.58rem,3.3vw,2.75rem);line-height:1.1;letter-spacing:-.028em;color:var(--pt-ink);margin:0 0 .9rem;text-wrap:balance;scroll-margin-top:5rem}
.worksheet-content .pt-article .pt-section h3 {color:var(--pt-ink);line-height:1.3;margin:.1rem 0 .6rem}
.worksheet-content .pt-article .pt-section .pt-copy {min-width:0;color:var(--pt-ink);font-size:1.01rem;line-height:1.69}
.worksheet-content .pt-article .pt-section p {margin:0 0 1rem}
.worksheet-content .pt-article .pt-section p:last-child {margin-bottom:0}
.worksheet-content .pt-article .pt-section ul, .worksheet-content .pt-article .pt-section ol {padding-left:1.2rem}
.worksheet-content .pt-article .pt-section li {padding:.16rem 0}
.worksheet-content .pt-article .pt-section a {color:var(--pt-accent);text-underline-offset:.2em}
.worksheet-content .pt-article .pt-split {display:flow-root}
.worksheet-content .pt-article .pt-figures {display:grid;min-width:0;gap:.85rem;margin:0 0 1rem}
.worksheet-content .pt-article .pt-art {margin:0;background:var(--pt-soft);padding:.65rem;border-radius:1rem;overflow:hidden;min-width:0}
.worksheet-content .pt-article .pt-art img {display:block;width:100%;height:auto;max-width:100%;border-radius:.55rem}
.worksheet-content .pt-article .pt-art figcaption {padding:.6rem .2rem .2rem;color:var(--pt-ink);font-size:.85rem;line-height:1.5}
.worksheet-content .pt-article .pt-art figcaption b, .worksheet-content .pt-article .pt-art figcaption span {display:block}
.worksheet-content .pt-article .pt-art figcaption span {color:var(--pt-muted);margin-top:.2rem}
.worksheet-content .pt-article .pt-art[data-pt-role="outline"] img {width:auto;max-height:28rem;margin-inline:auto;object-fit:contain;background:#fff}
.worksheet-content .pt-article .pt-art[data-pt-role="warm-up"] img {background:#fff}
.worksheet-content .pt-article .pt-activities {display:grid;gap:.7rem;list-style:none;padding:0!important}
.worksheet-content .pt-article .pt-activities>div, .worksheet-content .pt-article .pt-activities>li {border:1px solid var(--pt-rule);border-radius:.8rem;padding:1rem 1.15rem;background:var(--pt-paper)}
.worksheet-content .pt-article .pt-callout {background:var(--pt-paper);padding:clamp(1.1rem,4vw,2.2rem);border-radius:1rem;border:1px solid var(--pt-rule);margin:.7rem 0 1.1rem}
.worksheet-content .pt-article .pt-block[data-pt-role="help"] table {border-collapse:collapse;width:100%;margin:1rem 0;font-size:.85rem}
.worksheet-content .pt-article .pt-block[data-pt-role="help"] th, .worksheet-content .pt-article .pt-block[data-pt-role="help"] td {text-align:left;vertical-align:top;border-bottom:1px solid var(--pt-rule);padding:.5rem;overflow-wrap:break-word}
.worksheet-content .pt-article .pt-block[data-pt-role="help"] th {background:var(--pt-soft)}

.worksheet-content .pt-article .worksheet-toc {display:none}
.worksheet-content .pt-article :is(a,button):focus-visible {outline:3px solid var(--pt-accent);outline-offset:3px}
/* Let paragraphs reclaim the full measure immediately below a short figure. */
.worksheet-content .pt-article .pt-block[data-pt-role="help"]>.overflow-x-auto {clear:both}
@media(min-width:720px) {
    .worksheet-content .pt-article .pt-split>.pt-figures:has(>figure:only-child) {
        float:right;
        width:min(35%,20rem);
        margin:0 0 .75rem 1.3rem;
    }
    .worksheet-content .pt-article .pt-split[data-pt-align="reverse"]>.pt-figures:has(>figure:only-child) {
        float:left;
        margin:0 1.3rem .75rem 0;
    }
    .worksheet-content .pt-article .pt-split>.pt-figures:has(>figure[data-pt-role="outline"]:only-child) {
        width:min(30%,17rem);
    }
    .worksheet-content .pt-article .pt-split>.pt-figures:has(>figure:nth-child(2)) {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        align-items:center;
        padding:.6rem;
        border-radius:1rem;
        background:var(--pt-soft);
    }
    .worksheet-content .pt-article .pt-activities {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1050px) {
    .worksheet-content .pt-article[data-pt-layout="gallery"] .pt-activities {grid-template-columns:repeat(3,minmax(0,1fr))}
}
