.pf-activity{--pf-blue:#235f99;--pf-green:#2e715e;--pf-orange:#9c4f21;border:1px solid #b8cec4;padding:clamp(1rem,3vw,1.8rem);background:#f5f9f6}.pf-activity header h2{margin-top:0}.pf-activity header p{max-width:65ch}.pf-scene-choices{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.1rem 0}.pf-scene-choices button{min-height:44px;padding:.65rem 1rem;border:1px solid #7eaa99;color:#1e5143;background:#fff;font:inherit;font-weight:650;cursor:pointer}.pf-scene-choices button[aria-pressed=true]{color:#fff;background:#225b4b;border-color:#225b4b;box-shadow:inset 0 -3px #153d31}.pf-scene-choices button:focus-visible{outline:3px solid #ba691e;outline-offset:3px}.pf-panel[hidden]{display:none}.pf-panel{animation:pf-reveal .18s ease-out}.pf-diagram{--pf-blue:#235f99;--pf-green:#2e715e;--pf-orange:#9c4f21;margin:0;background:#fff;border:1px solid #cfddd6;padding:.8rem}.pf-diagram svg{display:block;width:100%;max-width:640px;max-height:330px;margin:auto;fill:none}.pf-diagram text{font-family:inherit;fill:#233f36;stroke:none}.pf-diagram .pf-label{font-size:22px;font-weight:650}.pf-diagram .pf-car-label{font-size:28px}.pf-identifiers{text-align:center;font-size:.85rem;margin:.4rem 0;line-height:1.5}.pf-diagram .pf-small{font-size:17px}.pf-diagram .pf-rank{font-size:23px;fill:var(--pf-blue);font-weight:700}.pf-diagram figcaption{margin-top:.7rem;line-height:1.65;font-size:.95rem;text-align:center;color:#314d42}.pf-legend{max-width:65ch;margin:.8rem auto 0;padding:.6rem .8rem;border-inline-start:3px solid var(--pf-blue);background:#f1f6fb;font-size:.9rem;line-height:1.65}.pf-car{stroke:var(--pf-green);fill:#e4f0e8;stroke-width:2.5}.pf-highlight .pf-car{stroke:var(--pf-blue);fill:#dbeaf8;stroke-width:4}.pf-wheel{fill:#fff;stroke:#314d42;stroke-width:2.5}.pf-line{stroke:#314d42;stroke-width:2.5}.pf-bundle-frame{stroke:var(--pf-blue);fill:#e8f1fb;stroke-width:2}.pf-stick{stroke:var(--pf-blue);stroke-width:3;stroke-linecap:round}.pf-band{stroke:#b46528;stroke-width:5}.pf-single{stroke:var(--pf-green);stroke-width:5;stroke-linecap:round}.pf-number-dot{stroke:var(--pf-blue);fill:var(--pf-blue);stroke-width:3}.pf-endpoint{fill:#fff;stroke:var(--pf-orange)}.pf-part-taken{fill:#dce9f6;stroke:var(--pf-blue);stroke-width:2.5}.pf-part-left{fill:#e2f0e8;stroke:var(--pf-green);stroke-width:2.5}.pf-person-head{fill:#fff5e7;stroke:#5d4a37;stroke-width:2}.pf-person-body{stroke:var(--pf-green);fill:#dcebe3;stroke-width:3;stroke-linecap:round}.pf-smile{stroke:#5d4a37;stroke-width:2}.pf-dialogue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:640px;margin:auto}.pf-speaker{padding:.8rem;border:1px solid #aac4d8;background:#f4f8fd;text-align:center}.pf-speaker svg{width:90px;height:90px}.pf-speaker strong,.pf-speaker p{display:block;margin:.45rem 0;overflow-wrap:anywhere}.pf-speaker p{font-size:clamp(1rem,2.4vw,1.4rem);color:#214f79}.pf-object-scene,.pf-family{max-width:640px;margin:auto;text-align:center}.pf-object-scene svg{max-height:200px}.pf-book{fill:#dceaf6;stroke:var(--pf-blue);stroke-width:3}.pf-pencil{fill:#f4e4bf;stroke:#755d2b;stroke-width:3}.pf-bottle-cap{fill:#dcebe3;stroke:var(--pf-green);stroke-width:3}.pf-target{font-size:clamp(1.2rem,3vw,1.7rem);font-weight:650;margin:.7rem 0;line-height:1.5}.pf-family{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:1rem}.pf-family>div{padding:.8rem;border:2px solid var(--pf-blue);background:#f4f8fd}.pf-family .pf-family-person{border-color:var(--pf-orange);background:#fdf7ef}.pf-family strong,.pf-family small,.pf-family span{display:block}.pf-family strong{font-size:1.25rem}.pf-family-person svg{height:90px}.pf-family .pf-target{grid-column:1/-1}.pf-explanation{border-inline-start:4px solid #2e715e;margin:1rem 0 0;padding:.65rem 1rem;background:#e9f1eb;line-height:1.8}@keyframes pf-reveal{0%{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.pf-panel{animation:none}}@media print{.pf-diagram{border:0;padding:0;--pf-blue:#222;--pf-green:#222;--pf-orange:#222}.pf-diagram svg{max-height:43mm}.pf-diagram figcaption{color:#111;font-size:9pt;margin-top:2mm}.pf-diagram .pf-small{font-size:17px}.pf-dialogue{gap:4mm}.pf-speaker,.pf-family>div{background:#fff;color:#111;border:1px solid #555;padding:2mm}.pf-speaker svg,.pf-family-person svg{height:16mm}.pf-speaker p,.pf-target{font-size:11pt}.pf-object-scene svg{max-height:30mm}}.g1p{--picture-blue: var(--subject-accent, #245bb0);--picture-line: var(--subject-line, #acc5eb);--picture-soft: var(--subject-soft, #eaf2ff);color:var(--ink)}.g1p>header{max-width:74ch}.g1p h3{margin:0 0 20px;color:var(--picture-blue);font-size:clamp(19px,3vw,24px)}.g1p-modes{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.g1p-modes button{flex:1 1 150px;text-align:left;border-color:var(--picture-line);color:var(--picture-blue)}.g1p-modes button[aria-pressed=true]{background:var(--picture-blue);border-color:var(--picture-blue);color:#fff;box-shadow:inset 0 -3px #0003}.g1p-panel{min-width:0;padding:clamp(14px,3vw,28px);border:2px solid var(--picture-line);border-radius:16px;background:#fff}.g1p-controls{display:flex;flex-wrap:wrap;align-items:end;gap:14px 22px;margin:18px 0 24px}.g1p-controls label,.g1p-boundary{display:grid;gap:6px;min-width:0;max-width:100%;font-weight:650}.g1p select{min-width:0;width:100%;min-height:44px;max-width:100%;padding:8px 12px;color:var(--ink);border:1px solid var(--picture-line);border-radius:8px;background:#fff;font:inherit}.g1p-controls label{flex:1 1 170px}.g1p-whole{border:2px solid var(--picture-blue);border-radius:12px;padding:14px;background:var(--picture-soft)}.g1p-whole-label{margin:0 0 10px;text-align:center;color:var(--picture-blue);font-weight:700}.g1p-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,18px)}.g1p-part{min-width:0;margin:0;padding:clamp(8px,2vw,16px);border:1px solid;border-radius:10px;background:#fff}.g1p-part figcaption{margin-bottom:12px;font-size:15px;font-weight:650;line-height:1.55}.g1p-red{border-color:#cf9186;background:#fff5ef}.g1p-green{border-color:#9bbd89;background:#f3f8ec}.g1p-apples{display:flex;flex-wrap:wrap;align-content:start;justify-content:center;gap:4px;min-height:86px}.g1p-apples img{display:block;width:clamp(38px,7vw,76px);height:auto;max-width:128px;object-fit:contain}.g1p-empty{align-self:center;text-align:center;font-size:14px}.g1p-result{margin:20px 0 12px;padding:12px 16px;border-left:4px solid var(--picture-blue);background:var(--picture-soft);font-weight:650}.g1p-equations{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0}.g1p-equations li{padding:6px 14px;border:1px solid var(--picture-line);border-radius:6px;font-variant-numeric:tabular-nums;background:#fff}.g1p-hidden-part{display:grid;place-content:center;min-height:86px;border:2px dashed #587949;border-radius:8px;font-size:36px;font-weight:700}.g1p-numberline{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;list-style:none;padding:12px 0;border-bottom:2px solid var(--picture-blue)}.g1p-numberline li{display:grid;place-content:center;min-height:42px;border:1px solid var(--picture-line);border-radius:5px;background:var(--picture-soft);font-variant-numeric:tabular-nums;font-size:clamp(13px,2.8vw,22px)}.g1p-numberline li[data-selected=true]{outline:2px solid var(--picture-blue);background:var(--picture-blue);color:#fff;font-weight:750}.g1p-comparison{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px;padding:20px 12px;background:var(--picture-soft);font-size:clamp(18px,3vw,27px);font-variant-numeric:tabular-nums}.g1p-comparison strong{color:var(--picture-blue);font-size:36px}.g1p-boundary{margin-top:28px;padding-top:20px;border-top:1px solid var(--picture-line)}.g1p-boundary select{width:min(100%,150px)}.g1p-pattern{display:flex;flex-wrap:wrap;align-items:center;gap:10px;list-style:none;padding:0}.g1p-pattern li{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:650}.g1p-pattern li+li:before{content:"→";font-size:21px;color:var(--picture-blue)}.g1p-say{margin:20px 0 0;padding:14px 18px;border:1px solid #d4bd87;border-radius:8px;background:#fff8e7}.g1p-print-diagram{margin:0}.g1p-print-diagram svg{display:block;width:100%;height:auto;max-height:36mm}.g1p-print-diagram p{margin:0 0 6px;font-size:13px}.g1p-print-diagram .g1p-apples{justify-content:start;min-height:0}.g1p-print-diagram .g1p-apples img{width:40px;height:40px}.g1p-print-diagram figcaption{font-size:12px;line-height:1.6;margin-top:8px}.g1p [hidden]{display:none!important}.g1p :focus-visible{outline:3px solid var(--focus, #ad5b20);outline-offset:4px}.g1p-related{margin-top:24px}.g1p-related ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}.g1p-related a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--picture-line, #afc8dc);border-radius:8px;color:#225b85;background:#eef6fc;text-decoration:none}#understanding-videos>.lesson-video{width:100%;margin-inline:0}@media(max-width:400px){.g1p-panel{padding:12px}.g1p-whole,.g1p-part{padding:8px}.g1p-apples{gap:2px}.g1p-apples img{width:38px}.g1p-numberline{gap:2px}.g1p-comparison{gap:8px;padding-inline:6px}}@media print{.g1p-print-diagram .g1p-parts{grid-template-columns:1fr 1fr}.g1p-print-diagram{break-inside:avoid}}
