/* Topic booklets: extra pieces on top of css/print-sheet.css (fixed A4 pages).
   Load order: css/{subject}.css → css/print-sheet.css → booklets/assets/booklet.css */

/* ---------- Cover page ---------- */
.ps .cover { justify-content: flex-start; }
.ps .cv-band {
  margin: -9mm -12mm 0; padding: 12mm 12mm 8mm;
  background: var(--primary-color); color: #fff;
}
.ps .cv-kick { font-size: 9pt; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; font-weight: bold; }
.ps .cv-title { font-size: 30pt; font-weight: 800; line-height: 1.05; margin-top: 3mm; }
.ps .cv-sub { font-size: 13pt; margin-top: 2mm; opacity: .95; }
.ps .cv-strip { display: flex; height: 3mm; margin: 0 -12mm; }
.ps .cv-strip i { flex: 1; }
.ps .cv-name { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6mm; margin: 7mm 0 5mm; font-size: 10.5pt; }
.ps .cv-name div { border-bottom: 1px solid #111; padding-bottom: 1mm; }
.ps .cv-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7mm; }
.ps .cv-box { border: 1.5px solid var(--accent-color); border-radius: 2mm; padding: 2.5mm 3.5mm; }
.ps .cv-box h3 { margin: 0 0 1.5mm; font-size: 10.5pt; color: var(--primary-color); text-transform: uppercase; letter-spacing: .5px; }
.ps .contents { width: 100%; font-size: 10pt; }
.ps .contents td { padding: 1.1mm 0; border-bottom: 1px dotted #bbb; vertical-align: top; }
.ps .contents td.l { font-weight: bold; color: var(--primary-color); width: 7mm; }
.ps .contents td.p { text-align: right; width: 12mm; font-weight: bold; }
.ps .contents td.s { color: #555; font-size: 8.5pt; width: 22mm; }
.ps .speclist { font-size: 8.6pt; line-height: 1.3; margin: 0; padding-left: 4mm; }
.ps .speclist li { margin-bottom: .9mm; }
.ps .speclist b { color: var(--primary-color); }
.ps .legend { font-size: 9pt; display: grid; gap: 1.2mm; }
.ps .tracker { width: 100%; font-size: 9pt; margin-top: 2mm; }
.ps .tracker th, .ps .tracker td { border: 1px solid #888; padding: 1mm 1.5mm; text-align: center; }
.ps .tracker th { background: var(--accent-light); color: var(--primary-color); }
.ps .tracker td:first-child { text-align: left; }

/* ---------- Questions ---------- */
.ps .qq { margin: 1.6mm 0 0; break-inside: avoid; }
.ps .qq > .qt { display: flex; gap: 2mm; }
.ps .qq > .qt .n { font-weight: bold; color: var(--primary-color); min-width: 6mm; }
.ps .qq > .qt .t { flex: 1; }
.ps .mk { float: right; font-weight: bold; font-size: 9pt; color: #333; margin-left: 2mm; }
.ps .star { color: var(--accent-color); font-weight: bold; }
.ps .lines { margin: 0 0 0 8mm; }
.ps .lines > i { display: block; height: 7mm; border-bottom: 0.75pt solid #8a8a8a; }
.ps .box { border: 1px solid #777; border-radius: 1.5mm; position: relative; background: #fff; }
.ps .box .lab { position: absolute; top: .8mm; left: 2mm; font-size: 8pt; color: #666; }
.ps .sub-parts { margin: .6mm 0 0 8mm; }
.ps .sub-parts > div { margin-top: 1.1mm; }
.ps .sub-parts .pl { font-weight: bold; margin-right: 1mm; }
.ps .lines.inset { margin-left: 13mm; }
.ps .fig { display: flex; justify-content: center; }
.ps .fig svg { max-width: 100%; height: auto; }
.ps .cap { font-size: 8pt; color: #444; text-align: center; margin-top: .5mm; }
.ps .tab td, .ps .tab th { border: 1px solid #555; padding: 1mm 1.5mm; font-size: 9.2pt; text-align: center; height: 7mm; }
.ps .tab th { background: var(--accent-light); color: var(--primary-color); }
.ps .tab td.l { text-align: left; }
.ps .tab td.give { color: #555; font-style: italic; }
.ps .keybox { border: 1.5px solid var(--accent-color); background: var(--accent-lighter); border-radius: 2mm; padding: 1.8mm 3mm; font-size: 9.3pt; }
.ps .keybox .title { font-weight: bold; font-size: 9pt; color: var(--primary-color); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .8mm; }
.ps .keybox ul { margin: 0; padding-left: 4.5mm; }
.ps .keybox li { margin-bottom: .5mm; }
.ps .split { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; align-items: start; }
.ps .split3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3mm; align-items: start; }
.ps .wordbank { border: 1px dashed #888; padding: 1mm 2.5mm; font-size: 9pt; text-align: center; margin: 1mm 0 0 8mm; }
.ps .tickbox { display: inline-block; width: 3.6mm; height: 3.6mm; border: 1px solid #333; vertical-align: -0.6mm; margin-right: 1mm; }
.ps .grow { flex: 1; }

/* ---------- Mark scheme file ---------- */
.ps.ps-ms .msq { border-left: 3px solid var(--accent-color); padding: .8mm 0 .8mm 2.5mm; margin-bottom: 2.2mm; break-inside: avoid; font-size: 10pt; }
.ps.ps-ms .msq .iq { font-weight: bold; color: var(--primary-color); }
.ps.ps-ms .msq .a { color: var(--ps-answer); font-weight: bold; }
.ps.ps-ms .msq ul { margin: .5mm 0 0; padding-left: 5mm; }
.ps.ps-ms .msq li { margin-bottom: .3mm; }
.ps.ps-ms .cols { column-count: 2; column-gap: 6mm; }
.ps.ps-ms .tab td.a { color: var(--ps-answer); font-weight: bold; background: var(--ps-answer-bg); }
.ps .dc svg { width: 100%; height: 100%; }
.ps .nacl svg { max-height: 44mm !important; }
