/* GCSE past papers (gcse-papers.js): stage switch, board / tier chips, page viewer side panel */
.gp-stage { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--violet-soft); }
.gp-stage[hidden] { display: none; }
.gp-stage button { border: none; cursor: pointer; font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; background: transparent; color: var(--ink); }
.gp-stage button.is-active { background: var(--violet); color: #fff; }

.gp-home[hidden] { display: none; }
.gp-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.gp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-chip { border: none; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.gp-chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.gp-home .paper-btn { background: #f4f3f9; box-shadow: 0 4px 0 #e6e3f5; }
.gp-home .paper-btn.gp-online { background: var(--violet-soft); box-shadow: 0 4px 0 #ddd6fe; }

.is-gcse-view .lesson-progress { visibility: hidden; }
.gp-viewer { display: flex; flex-direction: column; gap: 12px; }
.gp-viewer p { margin: 0; }
.gp-links { display: flex; flex-direction: column; gap: 8px; }
.gp-links .btn { text-align: center; text-decoration: none; }
.gp-timer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gp-timer span { font-weight: 700; font-variant-numeric: tabular-nums; }
