/* ==========================================================================
   Early Education Hub — design system
   Hand-rolled CSS (no framework, no build step, works offline).
   ========================================================================== */

:root {
  /* palette */
  --bg:          #f7f7f5;
  --surface:     #ffffff;
  --surface-2:   #faf9f7;
  --border:      #e7e5e0;
  --border-soft: #f0eeea;
  --ink:         #1c1a17;
  --ink-2:       #57534e;
  --ink-3:       #8a857d;

  --accent:      #4f46e5;   /* indigo */
  --accent-ink:  #4338ca;
  --accent-soft: #eef2ff;
  --teal:        #0d9488;
  --teal-soft:   #ecfdf5;

  --amber:       #b45309;
  --amber-soft:  #fef3c7;
  --good:        #15803d;
  --good-soft:   #dcfce7;

  --radius:   14px;
  --radius-sm: 9px;
  --shadow:   0 1px 2px rgba(28,26,23,.04), 0 4px 16px rgba(28,26,23,.05);
  --shadow-lg:0 8px 30px rgba(28,26,23,.10);
  --maxw: 1180px;

  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent-ink); text-decoration: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------- header + nav -- */
.site-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.header-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0 6px;
}
.brand h1 { font-size: 1.4rem; font-weight: 800; }
.brand .sub { color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.sync-badge { display: inline-block; margin-top: 6px; font-size: .68rem; font-weight: 700; color: #0f766e; background: var(--teal-soft); border: 1px solid #cdeee4; border-radius: 999px; padding: 2px 9px; }
.brand .logo {
  display: inline-flex; align-items: center; gap: 9px;
}
.brand .logo .mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--accent-soft);
  border: 1px solid #dfe3ff;
  display: grid; place-items: center; font-size: 17px;
}

/* stat pills */
.stats { display: flex; gap: 6px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 14px; text-align: center; min-width: 78px;
}
.stat .n { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.stat .l { font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.stat.visit .n { color: var(--accent); }
.stat.applied .n { color: var(--amber); }

/* tabs */
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 11px 14px 13px; font-size: .92rem; font-weight: 600; color: var(--ink-3);
  border-bottom: 2.5px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent-ink); border-bottom-color: var(--accent); }
.tab .badge {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 5px;
  font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center;
  background: var(--accent-soft); color: var(--accent-ink); border-radius: 9px;
}

/* --------------------------------------------------------------- layout -- */
main { flex: 1 0 auto; padding: 28px 0 64px; width: 100%; }
.view { display: none; }
.view.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.view-head { margin-bottom: 18px; }
.view-head h2 { font-size: 1.5rem; font-weight: 800; }
.view-head p { color: var(--ink-2); margin-top: 4px; font-size: .92rem; }
.view-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* printable report — hidden on screen, revealed only in print (see @media print) */
#print-report { display: none; }

/* ---------------------------------------------------- application deadlines */
.deadline-strip { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; box-shadow: var(--shadow); }
.dl-title { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 8px; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-chip { border: 1px solid var(--border); background: var(--surface-2); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--ink); cursor: pointer; transition: border-color .12s; }
.dl-chip span { color: var(--ink-3); }
.dl-chip:hover { border-color: var(--ink-3); }
.dl-chip.od   { background: #fef2f2; border-color: #fecaca; color: #991b1b; } .dl-chip.od span   { color: #b91c1c; }
.dl-chip.soon { background: var(--amber-soft); border-color: #fcd9a5; color: #92400e; } .dl-chip.soon span { color: #b45309; }

.dates-row { align-items: flex-end; }
.date-field { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.date-field .ml { font-size: .58rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
input.dl-od   { border-color: #fca5a5; }
input.dl-soon { border-color: #fcd34d; }

.dl-flag { font-size: .74rem; font-weight: 700; padding: 5px 9px; border-radius: var(--radius-sm); }
.dl-flag.od   { background: #fef2f2; color: #991b1b; }
.dl-flag.soon { background: var(--amber-soft); color: #92400e; }
.dl-flag.later { background: var(--surface-2); color: var(--ink-2); }

.cmp-due { font-size: .7rem; font-weight: 700; }
.cmp-due.od { color: #b91c1c; } .cmp-due.soon { color: var(--amber); }

.card.flash { animation: flash 1.3s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 25% { box-shadow: 0 0 0 3px var(--accent); } }

/* ------------------------------------------------------- your take (rating) */
.mytake { display: grid; gap: 8px; }
.rate-line { display: flex; align-items: center; gap: 8px; }
.rate-line .ml { font-size: .58rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.rate-stars { display: inline-flex; gap: 1px; }
.rate-star { appearance: none; border: 0; background: none; cursor: pointer; font-size: 1.15rem; line-height: 1; color: #d6d3cd; padding: 0 1px; transition: color .1s, transform .1s; }
.rate-star:hover { transform: scale(1.12); }
.rate-star.on { color: #f59e0b; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.proscons textarea { min-height: 52px; font-size: .82rem; }
.star-dim { color: #d6d3cd; }
.cmp-stars { color: #f59e0b; letter-spacing: 1px; }
.cmp-pc { white-space: pre-line; font-size: .82rem; }

@media (max-width: 720px) { .proscons { grid-template-columns: 1fr; } }

.tag.custom-tag { background: #eef2ff; border-color: #dfe3ff; color: var(--accent-ink); }
.btn.contacted-on { background: var(--teal-soft); border-color: #cdeee4; color: #0f766e; }
.lookup-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.lookup-links .btn { width: 100%; }
@media (max-width: 480px) { .lookup-links { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- modal form */
.modal-scrim { position: fixed; inset: 0; background: rgba(28,26,23,.45); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 50; }
.modal { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; background: var(--surface); }
.modal-head h3 { font-size: 1.1rem; font-weight: 800; }
.modal-x { appearance: none; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink-3); padding: 4px 6px; }
.modal-x:hover { color: var(--ink); }
.modal-body { padding: 18px; display: grid; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.fld .input { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--ink); font-size: .9rem; }
.fld .req { color: #b91c1c; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-note { font-size: .8rem; color: var(--ink-2); min-height: 1em; }
.modal-actions { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.btn.danger { color: #b91c1c; border-color: #fecaca; }
.btn.danger:hover { background: #fef2f2; border-color: #fca5a5; }

@media (max-width: 720px) { .form-2 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- controls -- */
.toolbar {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.field label {
  display: block; font-size: .66rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px;
}
.input, select.input, textarea.input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 11px; font-size: .88rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; min-height: 64px; line-height: 1.45; }

/* ------------------------------------------------------- results + views - */
.resultsbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rb-right { display: flex; align-items: center; gap: 10px; }
#result-count { font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.viewseg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.viewseg button { appearance: none; border: 0; border-left: 1px solid var(--border); background: none; cursor: pointer; padding: 7px 13px; font-size: .76rem; font-weight: 700; color: var(--ink-2); transition: background .12s, color .12s; }
.viewseg button:first-child { border-left: 0; }
.viewseg button.on { background: var(--accent); color: #fff; }
.viewseg button:not(.on):hover { background: var(--surface-2); }

/* ---------------------------------------------------------- school grid -- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.card-main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }

/* CARDS (default) — responsive grid; stretch so cards in a row share height and
   their action footers (status → archive) align at the bottom */
.grid.mode-cards { align-items: stretch; }

/* LIST — one compact full-width row per school */
.grid.mode-list { grid-template-columns: 1fr; gap: 12px; }

.meta-row { gap: 8px; }
.meta-row .btn { flex: 1; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card.is-shortlisted { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.card.is-passed { opacity: .6; }

.card-top { padding: 16px 16px 12px; border-bottom: 1px solid var(--border-soft); }
.card-titlerow { display: flex; align-items: flex-start; gap: 8px; }
.card h3 { font-size: 1.06rem; font-weight: 800; flex: 1; }
.card .addr { color: var(--ink-3); font-size: .8rem; margin-top: 4px; }

.star {
  appearance: none; border: 0; background: none; cursor: pointer; flex: none;
  font-size: 1.2rem; line-height: 1; color: var(--ink-3); padding: 2px;
  transition: transform .12s, color .12s;
}
.star:hover { transform: scale(1.15); }
.star.on { color: #f59e0b; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2);
}
.tag.rating { background: var(--accent-soft); border-color: #dfe3ff; color: var(--accent-ink); }
.tag.philo  { background: var(--teal-soft); border-color: #cdeee4; color: #0f766e; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 16px; }
.fact { font-size: .8rem; }
.fact .k { color: var(--ink-3); font-weight: 600; display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.fact .v { color: var(--ink); font-weight: 600; }

.card-body { padding: 0 16px 14px; }
.desc { font-size: .85rem; color: var(--ink-2); line-height: 1.5; }

details.disclosure { margin-top: 10px; }
details.disclosure > summary {
  cursor: pointer; list-style: none; font-size: .78rem; font-weight: 700; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 4px;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::after { content: "▾"; font-size: .7rem; transition: transform .15s; }
details.disclosure[open] > summary::after { transform: rotate(180deg); }
.bullets { margin: 10px 0 0; padding-left: 18px; font-size: .82rem; color: var(--ink-2); }
.bullets li { margin-top: 7px; line-height: 1.45; }
.bullets b { color: var(--ink); }

/* card action footer */
.card-actions { margin-top: auto; padding: 13px 16px; background: var(--surface-2); border-top: 1px solid var(--border-soft); display: grid; gap: 10px; }
.action-row { display: flex; gap: 8px; align-items: center; }
.action-row .field { flex: 1; }
.tour-note { font-size: .82rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-sm); padding: 8px 12px; font-size: .8rem; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-sm { padding: 6px 10px; font-size: .74rem; }
.btn-block { width: 100%; }

/* status select — colored by state via data attr */
.status-select { font-weight: 700; }
.status-select[data-status="no-action"] { background: #f3f4f6; color: #1f2937; }
.status-select[data-status="to-visit"]  { background: var(--accent-soft); color: var(--accent-ink); }
.status-select[data-status="tour-booked"]{ background: #e0f2fe; color: #075985; }
.status-select[data-status="toured"]     { background: var(--teal-soft); color: #0f766e; }
.status-select[data-status="applied"]    { background: var(--amber-soft); color: var(--amber); }
.status-select[data-status="waitlist"]   { background: #f3e8ff; color: #6b21a8; }
.status-select[data-status="accepted"]   { background: var(--good-soft); color: var(--good); }
.status-select[data-status="archived"]   { background: #fee2e2; color: #991b1b; }

/* ----------------------------------------------------------- compare ----- */
.compare-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; }
table.compare th, table.compare td { border-bottom: 1px solid var(--border-soft); padding: 12px 14px; text-align: left; vertical-align: top; font-size: .85rem; }
table.compare thead th {
  position: sticky; top: 0; background: var(--surface); z-index: 1;
  border-bottom: 2px solid var(--border); vertical-align: bottom;
}
table.compare tbody th {
  position: sticky; left: 0; background: var(--surface-2); z-index: 1;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
  font-weight: 700; white-space: nowrap; width: 130px;
}
.compare .col-name { font-size: 1rem; font-weight: 800; }
.compare .col-addr { font-size: .76rem; color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.compare td.best { background: var(--good-soft); }
.compare td.best .v::after { content: " ◀ closest"; font-size: .62rem; color: var(--good); font-weight: 700; letter-spacing: .03em; }
.compare .remove { color: #b91c1c; font-size: .72rem; font-weight: 700; cursor: pointer; background: none; border: 0; padding: 0; margin-top: 6px; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------------------------------------- empty ----- */
.empty {
  text-align: center; padding: 56px 24px; color: var(--ink-3);
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
}
.empty .big { font-size: 2rem; margin-bottom: 8px; }
.empty h3 { color: var(--ink); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }

/* --------------------------------------------------------------- map ----- */
#map-container { width: 100%; height: 70vh; min-height: 460px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.leaflet-popup-content { margin: 0; font-family: var(--sans); }
.pop { padding: 13px 14px; width: 230px; }
.pop h4 { font-size: .95rem; font-weight: 800; }
.pop .pop-tags { margin: 7px 0 9px; }
.pop .pop-facts { font-size: .76rem; color: var(--ink-2); display: grid; gap: 3px; margin-bottom: 10px; }
.pop .pop-facts span { color: var(--ink); font-weight: 600; }
/* Leaflet sets .leaflet-container a {color:#0078A8} which beats .btn-primary — force white */
.leaflet-popup-content a.btn-primary { color: #fff; }

/* --------------------------------------------------------- philosophy ---- */
.matrix { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); margin-bottom: 28px; }
table.matrix-tbl { border-collapse: collapse; width: 100%; min-width: 620px; }
table.matrix-tbl th, table.matrix-tbl td { padding: 13px 16px; text-align: left; font-size: .85rem; border-bottom: 1px solid var(--border-soft); }
table.matrix-tbl thead th { background: var(--surface-2); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
table.matrix-tbl td:first-child { font-weight: 800; }

.philo-deep { display: grid; gap: 16px; }
.philo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.philo-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.philo-card .lede { font-size: .88rem; color: var(--ink-2); margin-bottom: 12px; }
.philo-card .exp { font-size: .85rem; color: var(--ink-2); }
.philo-card .ctx { margin-top: 12px; padding: 13px 15px; border-radius: var(--radius-sm); font-size: .84rem; line-height: 1.5; }
.philo-card .ctx strong { display: block; margin-bottom: 3px; }
.c-indigo h4, .c-indigo a { color: var(--accent-ink); } .c-indigo .ctx { background: var(--accent-soft); color: #312e81; }
.c-teal h4 { color: #0f766e; } .c-teal .ctx { background: var(--teal-soft); color: #134e4a; }
.c-purple h4 { color: #7e22ce; } .c-purple .ctx { background: #faf5ff; color: #581c87; }
.c-slate h4 { color: #475569; } .c-slate .ctx { background: #f8fafc; color: #1e293b; }
.c-amber h4 { color: var(--amber); } .c-amber .ctx { background: var(--amber-soft); color: #78350f; }

.section-title { font-size: 1.15rem; font-weight: 800; margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }

/* --------------------------------------------------------------- misc ---- */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .82rem;
  font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

footer.site-foot { text-align: center; padding: 26px 0; color: var(--ink-3); font-size: .78rem; }

/* --------------------------------------------------------- responsive ---- */
@media (max-width: 720px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .field:first-child { grid-column: 1 / -1; }
  .header-top { padding-top: 14px; }
  .brand h1 { font-size: 1.2rem; }
  .stats { width: 100%; }
  .stat { flex: 1; min-width: 0; }
  .grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- print / PDF */
@media print {
  @page { margin: 14mm; }

  /* hide the live app; show only the generated report */
  body > *:not(#print-report) { display: none !important; }
  #print-report { display: block !important; }

  body { background: #fff; color: #000; font-size: 10.5pt; }

  .pr-head { border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 14px; }
  .pr-head h1 { font-size: 17pt; font-weight: 800; }
  .pr-meta { font-size: 9pt; color: #444; margin-top: 4px; }

  .pr-summary { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
  .pr-summary th, .pr-summary td { border: 1px solid #999; padding: 5px 7px; text-align: left; font-size: 9pt; vertical-align: top; }
  .pr-summary thead th { background: #eee; text-transform: uppercase; font-size: 7.5pt; letter-spacing: .04em; }

  .pr-h2 { font-size: 12pt; font-weight: 800; margin: 4px 0 10px; }

  .pr-school { break-inside: avoid; page-break-inside: avoid; border: 1px solid #ccc; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
  .pr-school h3 { font-size: 11.5pt; font-weight: 800; }
  .pr-rate { font-weight: 600; font-size: 8.5pt; color: #444; }
  .pr-addr { font-size: 8.5pt; color: #444; margin: 2px 0 7px; }
  .pr-facts { width: 100%; border-collapse: collapse; margin-bottom: 7px; }
  .pr-facts th { text-align: left; width: 14%; font-size: 8pt; text-transform: uppercase; color: #555; padding: 2px 6px 2px 0; vertical-align: top; }
  .pr-facts td { width: 36%; font-size: 9pt; padding: 2px 10px 2px 0; vertical-align: top; }
  .pr-desc { font-size: 9pt; margin-bottom: 6px; }
  .pr-rating { font-size: 9pt; margin-bottom: 4px; }
  .pr-pc { font-size: 9pt; margin-bottom: 4px; }
  .pr-notes { font-size: 9pt; background: #f4f4f4; border-left: 3px solid #888; padding: 5px 8px; margin-bottom: 6px; }
  .pr-bullets { font-size: 8.5pt; margin: 0; padding-left: 16px; }
  .pr-bullets li { margin-top: 3px; }

  .pr-foot { margin-top: 14px; padding-top: 8px; border-top: 1px solid #ccc; font-size: 8pt; color: #666; }

  a[href]::after { content: ""; } /* don't append URLs */
}
