2026-03-23 22:32:33 +00:00
|
|
|
.row {
|
|
|
|
|
display: flex;
|
|
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
padding: 0.875rem 1rem;
|
|
|
|
|
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(8px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowMain {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Line 1: name+score on the left, actions pinned right */
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowTop {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Name + score grouped together on the left */
|
|
|
|
|
.nameScore {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.75rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
2026-03-23 22:44:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2026-03-23 22:44:39 +00:00
|
|
|
min-width: 0;
|
|
|
|
|
flex-shrink: 1;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName:hover {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Score block: value + label inline */
|
2026-03-23 22:32:33 +00:00
|
|
|
.scoreBlock {
|
|
|
|
|
display: flex;
|
2026-03-23 22:44:39 +00:00
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.3rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-shrink: 0;
|
2026-03-23 22:44:39 +00:00
|
|
|
white-space: nowrap;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scoreValue {
|
|
|
|
|
font-size: 1.0625rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.2rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scoreNA {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scoreLabel {
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.75rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Trend arrow */
|
|
|
|
|
.trend {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trendUp {
|
|
|
|
|
color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trendDown {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trendStable {
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Action buttons — pinned right, slightly larger on desktop */
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowActions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.5rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnView {
|
2026-03-23 22:44:39 +00:00
|
|
|
padding: 0.4375rem 0.875rem;
|
|
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnView:hover {
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
border-color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnCompare {
|
2026-03-23 22:44:39 +00:00
|
|
|
padding: 0.4375rem 0.875rem;
|
|
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 600;
|
|
|
|
|
color: white;
|
|
|
|
|
background: var(--accent-coral, #e07256);
|
|
|
|
|
border: none;
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnCompare:hover {
|
|
|
|
|
background: var(--accent-coral-dark, #c45a3f);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove {
|
2026-03-23 22:44:39 +00:00
|
|
|
padding: 0.4375rem 0.875rem;
|
|
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove:hover {
|
|
|
|
|
background: var(--border-color, #e5dfd5);
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Line 2: Meta tags */
|
|
|
|
|
.rowMeta {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.25rem 0;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowMeta span:not(:last-child)::after {
|
|
|
|
|
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;
|
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Line 3: Progress scores */
|
|
|
|
|
.rowProgress {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.25rem 1rem;
|
|
|
|
|
margin-top: 0.125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progressItem {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progressValue {
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
margin: 0 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progressBand {
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.row {
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowTop {
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* School name takes full width, score+actions wrap below */
|
|
|
|
|
.nameScore {
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-basis: 100%;
|
2026-03-23 22:44:39 +00:00
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
white-space: normal;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Score block stays inline with label visible */
|
2026-03-23 22:32:33 +00:00
|
|
|
.scoreBlock {
|
2026-03-23 22:44:39 +00:00
|
|
|
align-items: baseline;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scoreLabel {
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.7rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:44:39 +00:00
|
|
|
/* Actions move to end of the wrapped row */
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowActions {
|
|
|
|
|
margin-left: auto;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnView,
|
|
|
|
|
.btnCompare,
|
|
|
|
|
.btnRemove {
|
|
|
|
|
padding: 0.375rem 0.75rem;
|
|
|
|
|
font-size: 0.8125rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowProgress {
|
|
|
|
|
gap: 0.375rem 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
}
|