2026-07-13 23:49:17 +01:00
|
|
|
|
/* Shared layout for the compare screen's measure-first sections.
|
|
|
|
|
|
Mobile base: each row-label becomes a measure header and each school cell
|
|
|
|
|
|
stacks under it (colour-coded via the cell's ::before school tag).
|
|
|
|
|
|
Desktop (≥761px): the mockups' grid — 200px row-label column + one column
|
|
|
|
|
|
per school (2–4 columns supported via --school-count). */
|
|
|
|
|
|
|
|
|
|
|
|
.section {
|
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sectionTitle {
|
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
|
|
|
|
|
|
font-size: 1.45rem;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
padding-left: 0.75rem;
|
|
|
|
|
|
border-left: 3px solid var(--accent-coral-dark);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.how {
|
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
margin: 0.35rem 0 0 0.95rem;
|
|
|
|
|
|
max-width: 70ch;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.grid {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
gap: 0;
|
|
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-15 07:50:01 +01:00
|
|
|
|
/* Mobile base: each measure is a card; each cell is a school row led by a
|
|
|
|
|
|
colour dot + short name. `display: contents` at ≥761px dissolves the card
|
|
|
|
|
|
back into the shared grid. */
|
|
|
|
|
|
.measure {
|
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
|
border: 1px solid var(--border-light);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: var(--shadow-soft);
|
|
|
|
|
|
padding: 0.75rem 0.85rem;
|
|
|
|
|
|
margin-bottom: 0.6rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-13 23:49:17 +01:00
|
|
|
|
.rowLabel {
|
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
font-weight: 600;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
color: var(--text-primary);
|
2026-07-13 23:49:17 +01:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.35rem;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
padding: 0 0 0.1rem;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cell {
|
2026-07-15 07:50:01 +01:00
|
|
|
|
display: flex;
|
2026-07-15 08:57:21 +01:00
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
gap: 0.35rem 0.5rem;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
flex-wrap: wrap;
|
2026-07-15 08:57:21 +01:00
|
|
|
|
padding: 0.5rem 0;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
border-top: 1px solid var(--border-light);
|
2026-07-15 08:57:21 +01:00
|
|
|
|
margin-top: 0.5rem;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-15 08:57:21 +01:00
|
|
|
|
/* The school name gets its own full-width line above the value — real
|
|
|
|
|
|
school names are long and varied, so a fixed-width name column truncated
|
|
|
|
|
|
them ("Our Lady Queen of H…") or crowded the value. */
|
2026-07-15 07:50:01 +01:00
|
|
|
|
.cellTag {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.4rem;
|
2026-07-15 08:57:21 +01:00
|
|
|
|
flex-basis: 100%;
|
2026-07-18 15:06:18 +01:00
|
|
|
|
/* Slightly larger than the values below it so the school each row belongs
|
|
|
|
|
|
to is easy to read on mobile (hidden on desktop, where the column header
|
|
|
|
|
|
names the school). */
|
|
|
|
|
|
font-size: 0.9rem;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
font-weight: 600;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
color: var(--sc, var(--text-secondary));
|
2026-07-18 15:06:18 +01:00
|
|
|
|
margin-bottom: 0.2rem;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cellDot {
|
2026-07-18 15:06:18 +01:00
|
|
|
|
width: 10px;
|
|
|
|
|
|
height: 10px;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: var(--dot, var(--text-muted));
|
|
|
|
|
|
flex: none;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.big {
|
2026-07-15 07:50:01 +01:00
|
|
|
|
font-size: 1.05rem;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.small {
|
|
|
|
|
|
display: block;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
flex-basis: 100%;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
|
color: var(--text-muted);
|
2026-07-15 08:57:21 +01:00
|
|
|
|
margin-top: 0;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chip {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
padding: 0.15rem 0.6rem;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chipGood {
|
|
|
|
|
|
background: rgba(45, 125, 125, 0.14);
|
|
|
|
|
|
color: var(--accent-teal);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chipWarn {
|
|
|
|
|
|
background: var(--accent-gold-bg);
|
|
|
|
|
|
color: var(--accent-gold-text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chipBad {
|
|
|
|
|
|
background: var(--accent-coral-bg);
|
|
|
|
|
|
color: var(--accent-coral-dark);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chipNeutral {
|
|
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 0.25rem 0.7rem;
|
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badgeGood {
|
|
|
|
|
|
background: rgba(45, 125, 125, 0.14);
|
|
|
|
|
|
color: var(--accent-teal);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badgeWarn {
|
|
|
|
|
|
background: var(--accent-gold-bg);
|
|
|
|
|
|
color: var(--accent-gold-text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badgeBad {
|
|
|
|
|
|
background: var(--accent-coral-bg);
|
|
|
|
|
|
color: var(--accent-coral-dark);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rcList {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
|
margin-top: 0.2rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rcRow {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rcArea {
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chipStack {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
|
flex-wrap: wrap;
|
2026-07-15 08:57:21 +01:00
|
|
|
|
flex-basis: 100%;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.barMini {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
|
|
max-width: 140px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.barMini > i {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
|
border: 1px solid var(--border-light);
|
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
|
box-shadow: var(--shadow-soft);
|
|
|
|
|
|
padding: 1.25rem 1.5rem;
|
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.link {
|
|
|
|
|
|
color: var(--accent-coral-dark);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 761px) {
|
|
|
|
|
|
.grid {
|
|
|
|
|
|
grid-template-columns: 200px repeat(var(--school-count, 3), 1fr);
|
|
|
|
|
|
gap: 0 0.75rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-15 07:50:01 +01:00
|
|
|
|
/* Dissolve the per-measure card so its label + cells become grid items of
|
|
|
|
|
|
.grid, keeping columns aligned across every measure. */
|
|
|
|
|
|
.measure {
|
|
|
|
|
|
display: contents;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cellTag {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-13 23:49:17 +01:00
|
|
|
|
.rowLabel {
|
2026-07-15 07:50:01 +01:00
|
|
|
|
color: var(--text-secondary);
|
2026-07-13 23:49:17 +01:00
|
|
|
|
padding: 0.85rem 0.5rem 0.85rem 0;
|
|
|
|
|
|
border-bottom: 1px solid var(--border-light);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cell {
|
2026-07-15 07:50:01 +01:00
|
|
|
|
display: block;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
padding: 0.85rem 0.25rem;
|
2026-07-15 07:50:01 +01:00
|
|
|
|
border-top: none;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
border-bottom: 1px solid var(--border-light);
|
2026-07-15 07:50:01 +01:00
|
|
|
|
margin-top: 0;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-15 07:50:01 +01:00
|
|
|
|
.big {
|
|
|
|
|
|
font-size: 1.35rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.small {
|
|
|
|
|
|
flex-basis: auto;
|
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
margin-top: 0.1rem;
|
2026-07-13 23:49:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|