/* Schools / counsellor nomination kit (src/pages/schools.html, js/schools.js) */
.sc-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.sc-facts li { padding: var(--s4) 0; border-top: 1.5px solid var(--ink); }
.sc-facts b { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem) / 1 var(--font-display); letter-spacing: -0.02em; }
.sc-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }

.sc-maker { min-width: 0; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 0 var(--line); }
.sc-out { display: grid; gap: 6px; }
.sc-label { margin: 0; font: 600 0.78rem / 1.4 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sc-url { margin: 0 0 var(--s4); padding: 12px 14px; background: var(--butter); border-radius: 10px; font: 500 0.95rem / 1.45 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.sc-url.is-empty { background: var(--bone); color: var(--muted); font-family: var(--font); }
.sc-msg { margin: 0; overflow-wrap: anywhere; min-height: 3em; color: var(--ink-2); line-height: 1.55; }
.sc-maker .btn-row { flex-wrap: wrap; }
.sc-maker .btn { min-height: 44px; }
.sc-maker .btn:disabled { cursor: not-allowed; }

.sc-print { display: none; }

@media (max-width: 720px) {
  .sc-maker .btn { flex: 1 1 100%; justify-content: center; }
}

.sc-hint { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }
#sc-school::-webkit-search-cancel-button { cursor: pointer; }

/* the printed one-pager: one A4 sheet, navy head, facts, route, themes, selection, care, QR foot */
@page { size: A4; margin: 0; }
@media print {
  html, body { background: #fff !important; padding: 0 !important; margin: 0 !important; }
  body > *:not(main), .site-header, .sh-header, .sh-footer, .crumbs, main > section, .skip-link, .peek { display: none !important; }
  main { padding: 0 !important; margin: 0 !important; }
  .sc-print {
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    width: 210mm;
    height: 296mm;
    padding: 14mm 15mm 10mm;
    overflow: hidden;
    color: #0b1640;
    font: 9.5pt/1.45 var(--font);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sc-print h2, .sc-print h3, .sc-print p, .sc-print ul, .sc-print ol { margin: 0; padding: 0; }
  .sp-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6mm; border-bottom: 0.4mm solid #0b1640; }
  .sp-head img { height: 11mm; width: auto; }
  .sp-head div { display: grid; justify-items: end; }
  .sp-head b { font: 800 13pt/1 var(--font); letter-spacing: 0.02em; color: #1f37d6; }
  .sp-head span { font: 600 7.5pt/1.3 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: #4a5378; }
  .sp-hero { margin-top: 8mm; padding: 8mm 9mm; border-radius: 4mm; background: #0b1640; color: #fff; }
  .sp-k { font: 700 8pt/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: #ffb35c; }
  .sp-hero h2 { margin: 3.5mm 0 3mm; font: 800 20pt/1.1 var(--font); letter-spacing: -0.02em; color: #fff; }
  .sp-hero p:last-child { color: rgba(255, 255, 255, 0.85); font-size: 10pt; }
  .sp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3mm; margin-top: 5mm !important; list-style: none; }
  .sp-facts li { padding: 3.5mm 4mm; border: 0.3mm solid #d6daea; border-radius: 3mm; }
  .sp-facts b { display: block; font: 800 14pt/1 var(--font); color: #1f37d6; letter-spacing: -0.02em; }
  .sp-facts span { display: block; margin-top: 1.5mm; font-size: 7.5pt; line-height: 1.3; color: #4a5378; }
  .sp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 8mm; margin-top: 7mm; }
  .sc-print h3 { margin-bottom: 3mm; font: 800 8pt/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: #1f37d6; }
  .sp-route { list-style: none; counter-reset: r; border-left: 0.5mm solid #ffb35c; padding-left: 5mm !important; margin-left: 1.5mm !important; }
  .sp-route li { position: relative; counter-increment: r; margin-bottom: 3.5mm; font-size: 8.8pt; color: #39416a; }
  .sp-route li::before { content: counter(r); position: absolute; left: -8.4mm; top: 0; width: 5.4mm; height: 5.4mm; border-radius: 50%; background: #0b1640; color: #fff; font: 800 7pt/5.4mm var(--font); text-align: center; }
  .sp-route b, .sp-steps li { display: block; }
  .sp-route b { font: 800 10pt/1.25 var(--font); color: #0b1640; }
  .sp-tags { display: flex; flex-wrap: wrap; gap: 1.6mm; margin-bottom: 5mm !important; list-style: none; }
  .sp-tags li { padding: 1.3mm 2.8mm; border-radius: 99px; background: #eef0fb; font: 700 7.8pt/1.2 var(--font); color: #0b1640; }
  .sp-steps { list-style: none; display: grid; gap: 2mm; }
  .sp-steps li { display: grid; grid-template-columns: 6mm 1fr; align-items: start; font-size: 8.6pt; color: #39416a; }
  .sp-steps b { display: grid; place-items: center; width: 4.6mm; height: 4.6mm; border-radius: 50%; background: #ffb35c; color: #0b1640; font: 800 7pt/1 var(--font); }
  .sp-fine { margin-top: 3mm !important; font-size: 7.8pt; color: #4a5378; }
  .sp-care { margin-top: 5mm; padding: 4.5mm 6mm; border-radius: 3mm; background: #fff4e6; }
  .sp-care p { font-size: 8.8pt; color: #39416a; }
  .sp-foot { display: grid; grid-template-columns: 34mm 1fr auto; gap: 6mm; align-items: center; margin-top: auto; padding-top: 6mm; border-top: 0.4mm solid #0b1640; }
  .sp-qr { width: 34mm; height: 34mm; }
  .sp-qr svg { display: block; width: 100%; height: 100%; }
  .sp-apply b, .sp-contact b { display: block; font: 800 11pt/1.2 var(--font); }
  .sp-apply p, .sp-contact p { font-size: 8.4pt; color: #39416a; }
  .sp-url { margin-top: 2mm !important; font: 600 7.4pt/1.35 ui-monospace, Menlo, monospace !important; color: #1f37d6 !important; overflow-wrap: anywhere; }
  .sp-contact { padding-left: 6mm; border-left: 0.3mm solid #d6daea; }
  .sp-legal { margin-top: 4mm !important; font-size: 6.8pt; line-height: 1.35; color: #6b7394; }
}

/* 11-19 one-pager v2: wordmark beside the mark, four facts, short address + school code instead of the raw tracking url */
@media print {
  .sp-head .sp-brand { display: flex; justify-items: start; align-items: center; gap: 3mm; }
  .sp-brand span { display: grid; gap: 0.6mm; }
  .sp-head .sp-brand b { font: 800 12pt/1 var(--font); letter-spacing: -0.01em; text-transform: none; color: #0b1640; }
  .sp-head .sp-brand small { font: 600 6.8pt/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: #4a5378; }
  .sp-head .sp-prog { display: grid; justify-items: end; }
  .sp-head .sp-brand span { justify-items: start; }
  .sp-hero { position: relative; overflow: hidden; }
  .sp-hero::after { content: ""; position: absolute; right: -18mm; top: -18mm; width: 60mm; height: 60mm; border-radius: 50%; border: 0.6mm solid rgba(255, 179, 92, 0.55); box-shadow: 0 0 0 8mm rgba(255, 179, 92, 0.08), 0 0 0 16mm rgba(255, 179, 92, 0.05); }
  .sp-hero > * { position: relative; z-index: 1; max-width: 150mm; }
  .sp-url { font: 800 11pt/1.2 var(--font) !important; letter-spacing: -0.01em; }
  .sp-code { margin-top: 1mm !important; font: 600 7.6pt/1.3 ui-monospace, Menlo, monospace; color: #4a5378; }
  .sp-code:empty { display: none; }
}

/* ddgip site (11-28) */
:root { --font-display: var(--body); }
.sc-maker { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--paper); display: grid; gap: 18px; }
.sc-maker .field label { display: block; font-weight: 700; margin-bottom: 8px; }
.sc-url { border-radius: var(--r-sm); font-family: var(--mono); }
.sc-maker .btn-row { display: flex; gap: 8px; }
.sc-maker .btn:disabled { opacity: .45; transform: none; }
.sc-hint a { color: var(--red-ink); font-weight: 700; }

/* v3 one-pager (11-29): alpine pop theme. ink #101114, swiss red #d7191f, glacier #dfe8f1, sun #ffd9a8, rounded. */
@media print {
  @page { size: A4; margin: 0; }
  .sc-print { color: #101114 !important; font-family: "Manrope", sans-serif !important; background: #f2f5f8 !important; }
  .sp-head { border-bottom: 0 !important; padding-bottom: 4mm !important; }
  .sp-head img { height: 10mm !important; border-radius: 2mm; background: #fff; padding: 0.8mm; }
  .sp-head .sp-brand b, .sp-head b { color: #101114 !important; }
  .sp-head .sp-prog b { color: #d7191f !important; font-weight: 800; }
  .sp-head span, .sp-head small { color: #5a5c62 !important; }
  .sp-hero { background: #101114 !important; border-radius: 6mm !important; padding: 9mm 10mm !important; min-height: 62mm; display: flex; flex-direction: column; justify-content: flex-end; }
  .sp-hero::after { display: none !important; }
  .sp-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: 0 !important; max-width: none !important; }
  .sp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,17,20,.1), rgba(16,17,20,.85)); z-index: 0; }
  .sp-hero > *:not(.sp-photo) { position: relative; z-index: 1; }
  .sp-k { color: #fff !important; background: #d7191f; display: inline-block !important; padding: 1.6mm 3mm; border-radius: 99px; letter-spacing: .1em !important; }
  .sp-hero h2 { font-size: 21pt !important; letter-spacing: -0.035em !important; }
  .sp-facts li { border: 0 !important; background: #fff; border-radius: 4mm !important; }
  .sp-facts li:first-child { background: #d7191f; }
  .sp-facts li:first-child b, .sp-facts li:first-child span { color: #fff !important; }
  .sp-facts b { color: #101114 !important; font-size: 15pt !important; letter-spacing: -0.04em !important; }
  .sp-facts span { color: #5a5c62 !important; }
  .sc-print h3 { color: #d7191f !important; }
  .sp-grid > section { background: #fff; border-radius: 5mm; padding: 5mm 6mm; }
  .sp-route { border-left-color: #d7191f !important; }
  .sp-route li { color: #3a3c42 !important; }
  .sp-route li::before { background: #101114 !important; }
  .sp-route b { color: #101114 !important; }
  .sp-tags li { background: #dfe8f1 !important; color: #101114 !important; }
  .sp-steps li { color: #3a3c42 !important; }
  .sp-steps b { background: #d7191f !important; color: #fff !important; }
  .sp-fine { color: #5a5c62 !important; }
  .sp-care { background: #ffd9a8 !important; border-radius: 5mm !important; }
  .sp-care p, .sp-care h3 { color: #101114 !important; }
  .sp-foot { border-top: 0 !important; background: #fff; border-radius: 5mm; padding: 5mm 6mm !important; }
  .sp-url { color: #d7191f !important; }
  .sp-contact { border-left-color: #dfe8f1 !important; }
  .sp-apply p, .sp-contact p { color: #3a3c42 !important; }
  .sp-legal { color: #5a5c62 !important; }
}
@media print {
  .sp-k { align-self: flex-start; }
  .sc-print { padding: 11mm 13mm 8mm !important; }
  .sp-hero { min-height: 50mm; padding: 7mm 9mm !important; margin-top: 5mm !important; }
  .sp-hero h2 { font-size: 19pt !important; margin: 2.5mm 0 2mm !important; }
  .sp-facts { margin-top: 4mm !important; }
  .sp-grid { margin-top: 4mm !important; gap: 5mm !important; }
  .sp-grid > section { padding: 4.5mm 5.5mm; }
  .sp-route li { margin-bottom: 2.6mm !important; font-size: 8.4pt !important; }
  .sp-care { margin-top: 4mm !important; padding: 4mm 6mm !important; }
  .sp-foot { margin-top: 4mm !important; padding: 4mm 6mm !important; grid-template-columns: 28mm 1fr auto !important; }
  .sp-qr { width: 28mm !important; height: 28mm !important; }
  .sp-legal { margin-top: 2.5mm !important; }
}
.sc-maker .btn:disabled { opacity: 1; background: #e3e7ec !important; color: #4a4c52 !important; box-shadow: none !important; transform: none; }
