/* geometry-projects.css — Geometry Project Library (/courses/geometry/projects/):
   the hub, one page per project, the Team guide and the Rubric page.
   Same page vocabulary as the ESS Project Library. Token-only colours
   (studio-tokens.css); no literal colour values. */
html, body { max-width: 100%; overflow-x: clip; }
.gp-scope { overflow-wrap: anywhere; }
.gp-scope p, .gp-scope li, .gp-scope dd, .gp-scope td, .gp-scope th { overflow-wrap: break-word; }
.gp-scope a:focus-visible, .gp-scope summary:focus-visible, .gp-scope button:focus-visible, .gp-scope [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.gp-lede { max-width: 780px; margin: 0 auto 1.75rem; text-align: center; color: var(--ink-2); font-size: 1.03rem; line-height: 1.75; }
.gp-section { margin: 3rem 0; scroll-margin-top: 90px; }
.gp-section > .section-heading { margin-bottom: 1.1rem; }
.gp-back-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0 0 1.5rem; scroll-margin-top: 90px; }
.gp-back-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: .78rem; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 8px; padding: .45rem .9rem; text-decoration: none; background: var(--surface); }
.gp-back-link:hover { border-color: var(--accent); }
.gp-inline-link { color: var(--accent); font-weight: 700; }
.gp-note { color: var(--ink-2); font-size: .95rem; line-height: 1.65; margin: 1rem 0 0; }
.gp-note strong { color: var(--ink); }
.gp-lead { color: var(--ink); font-size: 1.05rem; line-height: 1.65; margin: 0 0 .7rem; }
.gp-loading { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: .8rem; padding: 3rem 1rem; }
.gp-error h2 { font-family: var(--font-display); color: var(--ink); font-size: 1.3rem; margin: 0 0 .5rem; }
.gp-error p { color: var(--ink-2); line-height: 1.65; margin: 0 0 .5rem; }

/* ---- buttons and small links ---- */
.gp-actions, .gp-top-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.2rem 0 0; }
.gp-top-actions { justify-content: center; margin: -.5rem 0 1.5rem; }
.gp-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: 10px; background: var(--accent); color: var(--surface); font-weight: 700; text-decoration: none; border: 1px solid var(--accent); }
button.gp-btn { font: inherit; font-weight: 700; cursor: pointer; }
.gp-btn:hover { filter: brightness(.94); }
.gp-btn--quiet { background: var(--surface); color: var(--accent); border-color: var(--line-strong); font-family: var(--font-mono); font-size: .8rem; }
.gp-btn--quiet:hover { border-color: var(--accent); filter: none; }
.gp-go { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.gp-go:hover { text-decoration: underline; }
.gp-foot-links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin-top: .4rem; }

/* ---- "On this page" ---- */
.gp-toc { max-width: 900px; margin: 0 auto 1rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.gp-toc-h { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; font-weight: 700; }
.gp-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .3rem; }
.gp-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .55rem; border-radius: 8px; color: var(--accent); font-size: .92rem; text-decoration: none; }
.gp-toc a:hover { background: var(--accent-tint); }

/* ---- numbered step cards (Start here, How it works, build log) ---- */
.gp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gp-steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gp-steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gp-steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gp-step { display: flex; flex-direction: column; gap: .55rem; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.15rem; }
.gp-num { display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--surface); font-family: var(--font-mono); font-weight: 700; font-size: .9rem; align-items: center; justify-content: center; flex-shrink: 0; }
.gp-step-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.gp-step-t { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.gp-step-d { color: var(--ink-2); line-height: 1.6; font-size: .95rem; }

/* ---- hub: quick links ---- */
.gp-quick { display: grid; gap: .8rem; grid-template-columns: 1fr; margin: 0 0 1rem; }
@media (min-width: 560px) { .gp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gp-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gp-quick-link { display: flex; flex-direction: column; gap: .2rem; min-width: 0; min-height: 44px; padding: .85rem 1rem; background: var(--accent-tint); border: 1px solid var(--line-strong); border-radius: 12px; text-decoration: none; transition: border-color .15s; }
.gp-quick-link:hover { border-color: var(--accent); }
.gp-quick-t { font-family: var(--font-heading); font-weight: 700; color: var(--accent); }
.gp-quick-t::after { content: " \2192"; }
.gp-quick-d { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }

/* ---- hub: project cards ---- */
.gp-module { margin: 1.6rem 0 0; }
.gp-module-h { font-family: var(--font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.gp-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .gp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1rem 1.1rem .4rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px; transition: border-color .15s, transform .15s; }
.gp-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.gp-card-k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.gp-card-t { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; color: var(--ink); margin: .25rem 0 .15rem; }
.gp-card-s { color: var(--accent); font-weight: 600; font-size: .9rem; margin: 0 0 .5rem; }
.gp-card-q { color: var(--ink-2); line-height: 1.55; font-size: .93rem; margin: 0 0 .3rem; }
.gp-card-go { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--accent); text-decoration: none; }
/* The whole card is the target; the link text stays the accessible name. */
.gp-card-go::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.gp-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.gp-card .gp-card-go:focus-visible { outline: none; }

/* ---- project: overview ---- */
.gp-eyebrow { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0; }
.gp-dq { border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); background: var(--accent-tint); border-radius: 10px; padding: .95rem 1.15rem; margin: 0 0 1rem; }
.gp-dq-k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0; }
.gp-dq-v { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); margin: .3rem 0 0; }
.gp-summary { max-width: 760px; color: var(--ink-2); line-height: 1.7; font-size: 1.02rem; margin: 0 0 1rem; }
.gp-chips { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.gp-chip { min-width: 0; display: flex; flex-direction: column; gap: .1rem; padding: .4rem .75rem; background: var(--recessed); border: 1px solid var(--line); border-radius: 10px; }
.gp-chip-k { font-family: var(--font-mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gp-chip-v { font-family: var(--font-heading); font-weight: 700; font-size: .88rem; color: var(--ink); }
.gp-sub-h { font-family: var(--font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 1.6rem 0 .7rem; }
.gp-mini-h { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .45rem; font-weight: 700; }
.gp-panel { margin: 0; min-width: 0; }
.gp-panel p { color: var(--ink-2); line-height: 1.7; margin: 0 0 .6rem; }
.gp-panel p:last-child { margin-bottom: 0; }
.gp-panel--accent { border-left: 4px solid var(--accent); }
.gp-list { margin: 0; padding-left: 1.2rem; color: var(--ink-2); line-height: 1.6; list-style: disc; }
.gp-list--num { list-style: decimal; }
.gp-list li { margin: .25rem 0; }

/* ---- project: day plan ---- */
.gp-days { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gp-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gp-days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-day { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.gp-day--build { border-top: 3px solid var(--accent); }
.gp-day--teach { background: var(--accent-tint); border-color: var(--line-strong); }
.gp-day-n { font-family: var(--font-mono); font-size: .76rem; font-weight: 700; color: var(--accent); }
.gp-day-t { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); margin: .25rem 0 .2rem; }
.gp-day-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; font-family: var(--font-mono); font-size: .74rem; color: var(--accent); }
.gp-day .gp-list { margin-top: .3rem; font-size: .93rem; }
.gp-checkpoint { margin: auto 0 0 !important; padding: .55rem .75rem; background: var(--recessed); border-radius: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.gp-day .gp-list + .gp-checkpoint, .gp-day .gp-day-link + .gp-checkpoint { margin-top: .7rem !important; }
.gp-day-p { color: var(--ink-2); font-size: .93rem; line-height: 1.55; margin: .2rem 0 0; }
.gp-every { margin: 0 0 1rem; padding: .9rem 1.1rem; background: var(--accent-tint); border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: 12px; }
.gp-every .gp-list { color: var(--ink); }
@media (min-width: 820px) { .gp-every .gp-list { columns: 2; column-gap: 2rem; } .gp-every .gp-list li { break-inside: avoid; } }
.gp-checkpoint strong { color: var(--ink); }

/* ---- project: builds ---- */
.gp-build { margin: 0 0 1.1rem; padding: 1.2rem 1.3rem 1rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px; box-shadow: var(--arch-shadow-sm); scroll-margin-top: 90px; min-width: 0; }
.gp-build-k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0; }
.gp-build-t { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; color: var(--ink); margin: .25rem 0 .1rem; }
.gp-build-l { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.gp-build-two { display: grid; gap: 1rem 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .gp-build-two { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.gp-build-col { min-width: 0; }
.gp-rule { margin: 1.1rem 0 0; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--paper); }
.gp-rule-sum { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .4rem; min-height: 44px; padding: .5rem .9rem; cursor: pointer; font-family: var(--font-heading); font-weight: 700; color: var(--accent); list-style: none; }
.gp-rule-sum::-webkit-details-marker { display: none; }
.gp-rule-sum::before { content: "\25B8"; display: inline-block; transition: transform .15s ease; }
.gp-rule[open] .gp-rule-sum::before { transform: rotate(90deg); }
.gp-rule-hint { font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--muted); }
.gp-discover { margin: 0 .9rem .9rem; padding: .7rem .9rem; border-left: 3px solid var(--accent); background: var(--accent-tint); border-radius: 8px; color: var(--ink); line-height: 1.65; }

/* ---- project: who teaches what ---- */
.gp-teach-intro .gp-list { columns: auto; }
.gp-lesson-group { margin: 1.6rem 0 0; }
.gp-lesson-h { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0 0 .7rem; scroll-margin-top: 90px; }
.gp-parts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .gp-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gp-part { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: .9rem 1.1rem .5rem; scroll-margin-top: 90px; }
.gp-part:target { border-color: var(--accent); background: var(--accent-tint); }
.gp-part-k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0; }
.gp-part-t { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin: .2rem 0 .45rem; }
.gp-part-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.gp-part-list strong { color: var(--ink); }
.gp-part-meta { display: block; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-top: .1rem; }
.gp-part-links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; margin-top: .3rem; }
.gp-guide { margin: .3rem 0 .5rem; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--paper); }
.gp-guide-sum, .gp-answer-sum { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .9rem; cursor: pointer; font-family: var(--font-heading); font-weight: 700; color: var(--accent); list-style: none; }
.gp-guide-sum::-webkit-details-marker, .gp-answer-sum::-webkit-details-marker { display: none; }
.gp-guide-sum::before, .gp-answer-sum::before { content: "\25B8"; display: inline-block; transition: transform .15s ease; }
.gp-guide[open] > .gp-guide-sum::before, .gp-answer[open] > .gp-answer-sum::before { transform: rotate(90deg); }
.gp-guide-body { display: grid; gap: .9rem; padding: 0 .9rem .9rem; color: var(--ink-2); line-height: 1.6; font-size: .95rem; }
.gp-guide-part { min-width: 0; }
.gp-guide-part p { margin: 0; }
.gp-guide-goal { color: var(--ink); font-weight: 600; }
.gp-words { margin: 0; display: grid; gap: .35rem; }
.gp-word { display: grid; gap: 0 .6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gp-word { grid-template-columns: minmax(7rem, 2fr) minmax(0, 5fr); } }
.gp-word dt { font-weight: 700; color: var(--ink); }
.gp-word dd { margin: 0; }
.gp-check-q { color: var(--ink); }
.gp-answer { margin: .4rem 0 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.gp-answer-sum { min-height: 40px; font-size: .92rem; }
.gp-answer-a { margin: 0 .9rem .7rem !important; padding: .55rem .75rem; border-left: 3px solid var(--accent); background: var(--accent-tint); border-radius: 6px; color: var(--ink); }
.gp-lesson-box { margin-top: 1rem; }

/* ---- turn-in, grading, standards, packets ---- */
.gp-deliv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 880px) { .gp-deliv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gp-deliv { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem .3rem; }
.gp-deliv-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.gp-deliv-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin: 0; min-width: 0; }
.gp-deliv-what { color: var(--ink-2); line-height: 1.6; margin: .5rem 0 0; font-size: .95rem; }
.gp-deliv-who { margin: .45rem 0 .5rem; color: var(--muted); font-size: .86rem; }
.gp-deliv .gp-go { margin-top: auto; }
.gp-tag { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .7rem; }
.gp-tag--plain { background: var(--recessed); color: var(--ink-2); }
.gp-grade-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .gp-grade-grid { grid-template-columns: 1fr 1fr; } }
.gp-grade-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; color: var(--ink-2); line-height: 1.55; font-size: .95rem; }
.gp-grade-list strong { color: var(--ink); }
.gp-std-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.gp-std { display: inline-block; font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); background: var(--accent-tint); border: 1px solid var(--line-strong); border-radius: 6px; padding: .25rem .55rem; white-space: nowrap; }
.gp-print-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.gp-packet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gp-packet-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gp-packet-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-packet { display: flex; flex-direction: column; gap: .1rem; min-height: 44px; padding: .65rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.gp-packet:hover { border-color: var(--accent); }
.gp-packet-k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gp-packet-t { font-family: var(--font-heading); font-weight: 700; color: var(--accent); }

/* ---- previous / next ---- */
.gp-pager { display: grid; gap: .7rem; grid-template-columns: 1fr; margin: 3rem 0 1rem; }
@media (min-width: 720px) { .gp-pager { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-pager-link { display: flex; flex-direction: column; gap: .15rem; min-width: 0; min-height: 44px; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.gp-pager-link:hover { border-color: var(--accent); }
.gp-pager-link--all { text-align: center; }
.gp-pager-link--next { text-align: right; }
@media (min-width: 720px) { .gp-pager-link--all:first-child { grid-column: 2; } }
.gp-pager-k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gp-pager-t { font-family: var(--font-heading); font-weight: 700; color: var(--accent); }

/* ---- Team guide ---- */
.gp-crews { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gp-crews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .gp-crews { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gp-crew { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; padding: .8rem .9rem; }
.gp-crew-n { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.gp-crew-name { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--ink); margin: .15rem 0 .3rem; }
.gp-crew-items { color: var(--ink-2); font-size: .88rem; line-height: 1.5; margin: 0; }
.gp-roles { margin: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gp-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .gp-roles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gp-role { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.gp-role dt { font-family: var(--font-heading); font-weight: 700; color: var(--ink); }
.gp-role dd { margin: .3rem 0 0; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.gp-surface-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 880px) { .gp-surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gp-surface { min-width: 0; display: flex; flex-direction: column; gap: .55rem; }
.gp-surface h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); margin: 0; line-height: 1.35; }
.gp-dl { margin: 0; }
.gp-dl dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
.gp-dl dd { margin: .2rem 0 0; color: var(--ink-2); font-size: .93rem; line-height: 1.6; }
.gp-policy { margin: .8rem 0 0; padding: .9rem 1.1rem; background: var(--accent-tint); border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: 10px; color: var(--ink); line-height: 1.65; }
.gp-policy strong { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .gp-scope *, .gp-scope *::before, .gp-scope *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .gp-card:hover { transform: none; }
}

@media print {
  #nav-root, #footer-root, .gp-back-row, .gp-toc, .gp-top-actions, .gp-actions, .gp-pager, .gp-foot-links, .gp-day-link, #gp-print, #gp-photos, .gp-go, .gp-quick { display: none !important; }
  html, body, main.site-main { background: none !important; }
  .light-band::before, .light-band::after { display: none !important; }
  .gp-section { margin: 1.2rem 0; }
  .gp-build, .gp-day, .gp-deliv, .gp-step, .gp-card, .panel { box-shadow: none !important; break-inside: avoid; }
  .gp-build { break-inside: auto; }
  .gp-rule { display: none; }
  .gp-card-go::after { display: none; }
  .pgp-wrap { overflow: visible !important; border: 0 !important; }
  .pgp-table { min-width: 0 !important; font-size: 9.5pt !important; }
  .pgp-table tr, .pgp-col, .pgp-note { break-inside: avoid; }
  a { color: inherit; }
}

/* ---- Graphic organizers page (/courses/geometry/organizers/) ---- */
.gp-org-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin: 1.5rem 0; }
.gp-org { display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px; padding: 1rem; min-width: 0; }
.gp-org-thumb { display: block; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--surface); max-width: 320px; }
.gp-org-thumb img { display: block; width: 100%; height: auto; }
.gp-org-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; color: var(--ink); margin: .15rem 0 .1rem; }
.gp-org-sub { color: var(--muted); margin: 0 0 .6rem; }
.gp-org-eq { color: var(--ink-2); margin: 0 0 .6rem; }
.gp-org-list { list-style: disc; padding-left: 1.2rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 .9rem; }
.gp-org-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin: 0; }
@media (min-width: 760px) { .gp-org { grid-template-columns: 240px 1fr; padding: 1.2rem; } }
