2026-03-28 22:36:00 +00:00
|
|
|
.row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
border-radius: 8px;
|
2026-03-29 08:57:06 +01:00
|
|
|
padding: 1rem 1.25rem;
|
2026-03-28 22:36:00 +00:00
|
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
|
|
|
animation: rowFadeIn 0.3s ease-out both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.row:hover {
|
|
|
|
|
border-left-color: var(--accent-coral, #e07256);
|
|
|
|
|
box-shadow: 0 2px 8px rgba(26, 22, 18, 0.06);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowInCompare {
|
|
|
|
|
border-left-color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes rowFadeIn {
|
|
|
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
|
|
|
to { opacity: 1; transform: translateY(0); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Left content column ─────────────────────────────── */
|
|
|
|
|
.rowContent {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-03-29 08:57:06 +01:00
|
|
|
gap: 0.35rem;
|
2026-03-28 22:36:00 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 1: name + ofsted */
|
2026-03-28 22:36:00 +00:00
|
|
|
.line1 {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.625rem;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName:hover {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 2: context tags */
|
|
|
|
|
.line2 {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.25rem 0;
|
2026-03-28 22:36:00 +00:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line2 > span:not(.provisionTag):not(:last-child)::after {
|
|
|
|
|
content: '·';
|
|
|
|
|
margin: 0 0.4rem;
|
|
|
|
|
color: var(--border-color, #e5dfd5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Line 3: KS4 stats */
|
|
|
|
|
.line3 {
|
2026-03-28 22:36:00 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stat {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.statValueLarge {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.statValue {
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.statLabel {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.delta {
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deltaPositive { color: #3c8c3c; }
|
|
|
|
|
.deltaNegative { color: var(--accent-coral, #e07256); }
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
/* Line 4: location + distance */
|
|
|
|
|
.line4 {
|
2026-03-28 22:36:00 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-29 08:57:06 +01:00
|
|
|
gap: 0;
|
2026-03-28 22:36:00 +00:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line4 span:not(:last-child)::after {
|
2026-03-28 22:36:00 +00:00
|
|
|
content: '·';
|
|
|
|
|
margin: 0 0.4rem;
|
|
|
|
|
color: var(--border-color, #e5dfd5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.distanceBadge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background: var(--accent-teal, #2d7d7d);
|
|
|
|
|
color: white;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.provisionTag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
color: var(--text-secondary, #5c5650);
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
white-space: nowrap;
|
2026-03-29 08:57:06 +01:00
|
|
|
margin-left: 0.375rem;
|
2026-03-28 22:36:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selectiveTag {
|
|
|
|
|
background: rgba(180, 120, 0, 0.1);
|
|
|
|
|
color: #8a6200;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Ofsted badge ────────────────────────────────────── */
|
|
|
|
|
.ofstedBadge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.6875rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ofstedDate {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ofsted1 { background: var(--accent-teal-bg); color: var(--accent-teal, #2d7d7d); }
|
|
|
|
|
.ofsted2 { background: rgba(60, 140, 60, 0.12); color: #3c8c3c; }
|
|
|
|
|
.ofsted3 { background: var(--accent-gold-bg); color: #b8920e; }
|
|
|
|
|
.ofsted4 { background: var(--accent-coral-bg); color: var(--accent-coral, #e07256); }
|
|
|
|
|
|
|
|
|
|
/* ── Right actions column ────────────────────────────── */
|
|
|
|
|
.rowActions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowActions > * {
|
|
|
|
|
height: 2rem;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Mobile ──────────────────────────────────────────── */
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.row {
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-29 08:57:06 +01:00
|
|
|
padding: 0.875rem;
|
2026-03-28 22:36:00 +00:00
|
|
|
gap: 0.625rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowContent {
|
|
|
|
|
flex-basis: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
|
|
|
|
white-space: normal;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-29 08:57:06 +01:00
|
|
|
.line3 {
|
2026-03-28 22:36:00 +00:00
|
|
|
gap: 0 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowActions {
|
|
|
|
|
width: 100%;
|
|
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowActions > * {
|
|
|
|
|
flex: 1;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
}
|