/* Social Studies 3–5 with Byte: the s5* scene styles (byte-soc35-scenes.js) and the lime unit colour. Loaded after
   byte.css. Colours follow byte.css; every tappable part keeps at least a 48 px target on a 390 px phone. Loads nothing. */
.by-u-lime{--u:#b6e35a}
.s5-t{fill:var(--ink);font-family:Figtree,system-ui;font-weight:800}
.s5-small{fill:var(--muted);font-family:Figtree,system-ui;font-weight:700}
.s5-cap{fill:var(--gold);font-family:Figtree,system-ui;font-weight:900}
.s5-card{fill:#2b1b15;stroke:var(--line);stroke-width:2}
.s5-pic .sc-hit,.s5-row .sc-hit{fill:transparent}
/* source cards */
.s5-paper{fill:#f6ead0;stroke:#c9a46a;stroke-width:2}
.s5-fold{fill:#e3cfa3}
.s5-doct{fill:#2a1a10;font-family:Figtree,system-ui;font-weight:900}
.s5-docby{fill:#6b4a2a;font-family:Figtree,system-ui;font-weight:700;font-style:italic}
.s5-docl{fill:#3a2618;font-family:Georgia,serif;font-style:italic}
/* the three branches */
.s5-gov-h{fill:var(--gold);font-family:Figtree,system-ui;font-weight:900}
.s5-branch-bg{fill:#2b1b15;stroke:var(--line);stroke-width:2}
.s5-branch.is-hl .s5-branch-bg{stroke:var(--gold);stroke-width:4}
.s5-branch-t{fill:var(--ink);font-family:Figtree,system-ui;font-weight:900}
/* maps */
.s5-sea{fill:#1d3b55;stroke:var(--line);stroke-width:2}
.s5-land{fill:#3f6b3f;stroke:#7fbf7f;stroke-width:1.5}
.s5-line line{stroke:#fff6ea;stroke-width:2;stroke-dasharray:6 5;opacity:.85}
.s5-lab{fill:#fff6ea;font-family:Figtree,system-ui;font-weight:800}
.s5-line.sc-tap:focus-visible line,.s5-line:hover line{stroke:var(--gold);opacity:1;stroke-width:3}
.s5-namechip rect{fill:var(--gold)}.s5-namechip .sc-tag-t{fill:#2a1a10}
.s5-place{fill:#fff6ea;font-family:Figtree,system-ui;font-weight:900}
.s5-rose-bg{fill:#fff6ea;stroke:#c9b79a;stroke-width:2}
.s5-rose-n{fill:#e8453c}.s5-rose-s{fill:#6b6f76}
.s5-rose-t{fill:var(--gold);font-family:Bungee,system-ui}
.s5-route{stroke:#ffd27a;stroke-width:5;stroke-linecap:round}
.s5-tick{stroke:#fff6ea;stroke-width:3}
.s5-inch.sc-counted .s5-route{stroke:var(--good)}
.s5-inch.sc-next .s5-route{stroke:#ffe9a8}
.s5-dot{fill:#ff6b5e;stroke:#fff6ea;stroke-width:2}
.s5-bar{stroke:#fff6ea;stroke-width:6}
/* tables and timelines */
.s5-row-bg{fill:#3a261c;stroke:var(--line);stroke-width:1.5}
.s5-rowt{fill:var(--ink);font-family:Figtree,system-ui;font-weight:700}
.s5-rowv{fill:var(--gold);font-family:Bungee,system-ui}
.s5-year{fill:var(--gold);font-family:Bungee,system-ui}
.s5-tl{stroke:var(--muted);stroke-width:4}
.s5-tl-arrow{fill:var(--muted)}
/* long sentence answers: one per row with its speaker beside it (as in Kids Life Skills), and text-only reason
   cards use the full width (as in Reading & Writing 3–5) */
body[data-course="social-studies-3-5"] .by-answers:has(.by-opt-w){grid-template-columns:1fr}
body[data-course="social-studies-3-5"] .by-opt-w{display:flex;gap:8px;align-items:stretch}
body[data-course="social-studies-3-5"] .by-opt-w .by-opt{flex:1}
body[data-course="social-studies-3-5"] .by-opt-read{flex-direction:row;justify-content:flex-start;gap:12px;text-align:left;min-height:64px;padding:8px 14px}
body[data-course="social-studies-3-5"] .by-opt-read span{font-weight:800;font-size:18px;overflow-wrap:anywhere}
body[data-course="social-studies-3-5"] .by-opt-w .by-say{align-self:center}
body[data-course="social-studies-3-5"] .by-reason.is-text{grid-template-columns:1fr}
/* long web addresses in the source list wrap instead of widening the page */
body[data-course="social-studies-3-5"] .by-card li,body[data-course="social-studies-3-5"] .by-card p{overflow-wrap:anywhere}
