/* ==============================================================================
   public.css - Public Information, Helplines, Candidate Guidance & PR Styles
   Edumorgan Ventures Online Exam Center
   ============================================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #059669;
    --accent-light: #ecfdf5;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --warning: #d97706;
    --warning-light: #fffbeb;
    --dark: #0f172a;
    --dark-muted: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.1);

    /* Route Map Theming Tokens */
    --paper: #f1f3ee;
    --card: #ffffff;
    --ink: #16261f;
    --muted: #55645c;
    --line: #d3d9d0;
    --sign: #0e5a47;
    --sign-ink: #ffffff;
    --route: #f2a60c;
    --route-dark: #7a4f00;
    --men: #1f5fa8;
    --women: #b0306f;
    --ground: #e6eadf;
    --field: #d3e3bf;
    --road: #ffffff;
    --road-edge: #c4cbc0;
    --hwy: #3fae82;
    --hwy-edge: #1f7a58;
    --bldg: #cfd3cc;
    --bldg-edge: #aab1a6;
    --roof: #b86a52;
    --tree: #9cc08a;
    --halo: #ffffff;
    --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Atkinson Hyperlegible", "Outfit", "Segoe UI", Verdana, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #f8fafc;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Top Navigation --- */
.pub-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
}

.pub-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--dark);
}

.pub-brand-logo-img {
    max-height: 48px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.pub-brand:hover .pub-brand-logo-img {
    transform: scale(1.02);
}

.pub-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.pub-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
    display: block;
    line-height: 1.15;
}

.pub-brand-sub {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

.pub-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.pub-nav-link {
    color: var(--dark-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pub-nav-link:hover {
    color: var(--primary);
}

.pub-nav-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.pub-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.pub-btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.pub-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
}

.pub-btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.pub-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.pub-btn-admin-edit {
    background: #0f172a;
    color: #f8fafc;
}

.pub-btn-admin-edit:hover {
    background: #1e293b;
    color: #38bdf8;
}

/* --- Today's Booking Exam Badge (Top Right Corner) --- */
.pub-today-exam-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    max-width: 320px;
    position: relative;
    user-select: none;
}

.pub-today-exam-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Active Exam State (Live Emerald Accent) */
.pub-today-exam-badge.active-exam {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.pub-today-exam-badge.active-exam:hover {
    border-color: #34d399;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
}

/* No Exam State */
.pub-today-exam-badge.no-exam {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.pub-today-exam-badge.no-exam:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Pulsing Live Dot Indicator */
.today-exam-pulse {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.today-exam-pulse .pulse-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    z-index: 2;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.today-exam-pulse .pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.4);
    animation: examPulseWave 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
}

.today-exam-pulse.calm .pulse-core {
    background-color: #94a3b8;
    box-shadow: none;
}

.today-exam-pulse.calm .pulse-ring {
    display: none;
}

@keyframes examPulseWave {
    0% {
        transform: scale(0.4);
        opacity: 0.9;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Details Text Structure */
.today-exam-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.today-exam-header-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2px;
}

.today-exam-tag {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #059669;
}

.pub-today-exam-badge.no-exam .today-exam-tag {
    color: #64748b;
}

.today-exam-slot {
    font-size: 0.625rem;
    font-weight: 700;
    background: #d1fae5;
    color: #065f46;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.today-exam-name {
    font-size: 0.875rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.pub-today-exam-badge.no-exam .today-exam-name {
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Announcement Banner --- */
.pub-announcement-banner {
    margin-top: 72px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    padding: 0.75rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 600;
    text-align: center;
}

.pub-announcement-banner.urgent {
    background: #fef2f2;
    border-bottom-color: #fecaca;
    color: #b91c1c;
}

.pub-announcement-banner.info {
    background: #eff6ff;
    border-bottom-color: #bfdbfe;
    color: #1e40af;
}

.announcement-badge {
    background: #dc2626;
    color: white;
    font-size: 0.675rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- Hero Section --- */
.pub-hero {
    padding: 4.5rem 5% 3.5rem;
    background: radial-gradient(circle at 80% 20%, #dbeafe 0%, #f8fafc 60%);
    position: relative;
    border-bottom: 1px solid var(--border);
}

/* --- Hero Two-Column Grid (Left: Guidance / Right: Today's Exam Card) --- */
.pub-hero-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-left-col {
    min-width: 0;
}

.hero-right-col {
    min-width: 0;
    display: flex;
    justify-content: center;
}

/* --- Hero Today's Exam Card (Green Marked Area) --- */
.hero-exam-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.85rem;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-exam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.14);
}

.hero-exam-card.active-exam {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px solid #86efac;
    box-shadow: 0 20px 45px -15px rgba(16, 185, 129, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.hero-exam-card.active-exam::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.hero-exam-card.no-exam {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.exam-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.exam-card-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exam-card-live-pill.calm {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.pulse-beacon {
    position: relative;
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pulse-beacon .beacon-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    z-index: 2;
}

.pulse-beacon .beacon-ring {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    animation: beaconPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
}

.pulse-beacon.calm .beacon-core {
    background: #94a3b8;
    box-shadow: none;
}

.pulse-beacon.calm .beacon-ring {
    display: none;
}

@keyframes beaconPulse {
    0% { transform: scale(0.5); opacity: 0.9; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

.exam-card-date {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.exam-card-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 0.35rem;
}

.hero-exam-card.no-exam .exam-card-label {
    color: #64748b;
}

.exam-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.exam-card-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.exam-card-shift-badge {
    background: #10b981;
    color: white;
    font-size: 0.725rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.exam-card-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.exam-meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.meta-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.meta-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.meta-val {
    font-size: 0.925rem;
    font-weight: 800;
    color: #0f172a;
}

.exam-card-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.card-action-btn.primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.card-action-btn.primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.card-action-btn.secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.card-action-btn.secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* --- Date Navigator Controls on Hero Card (Next 30 Days) --- */
.exam-date-navigator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.date-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.date-nav-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--primary);
    transform: scale(1.05);
}

.date-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.date-picker-box {
    flex: 1;
    position: relative;
    height: 36px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.date-picker-box:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.date-picker-icon {
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.date-picker-text {
    font-size: 0.825rem;
    font-weight: 700;
    color: #0f172a;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-picker-box input[type="date"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Quick Filter Chips */
.hero-date-chips {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.hero-date-chip {
    padding: 0.28rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}

.hero-date-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.hero-date-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.hero-date-chip.accent {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.hero-date-chip.accent:hover {
    background: #d1fae5;
    border-color: #34d399;
}

.exam-card-range-badge {
    font-size: 0.675rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- 30-Day Upcoming Schedule Modal --- */
.schedule-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.schedule-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.schedule-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: 1px solid #e2e8f0;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.schedule-modal-backdrop.open .schedule-modal-card {
    transform: translateY(0) scale(1);
}

.schedule-modal-header {
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.schedule-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.modal-close-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.schedule-modal-body {
    padding: 1.25rem 1.4rem;
    overflow-y: auto;
    flex: 1;
}

.schedule-booking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.65rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.schedule-booking-row:hover {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateX(3px);
}

.schedule-booking-row.current-selected {
    border-color: #10b981;
    background: #ecfdf5;
    box-shadow: 0 0 0 1px #10b981 inset;
}

.booking-row-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.booking-date-badge {
    padding: 0.35rem 0.6rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
}

.booking-date-badge .day {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.booking-date-badge .month {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.booking-details-wrap h4 {
    margin: 0 0 3px 0;
    font-size: 0.925rem;
    font-weight: 800;
    color: #0f172a;
}

.booking-meta-line {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.select-date-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.2s;
}

.schedule-booking-row:hover .select-date-arrow {
    color: #10b981;
    transform: translateX(3px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.02em;
    max-width: 820px;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    -webkit-background-clip: text;
    -webkit-fill-color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.dynamic-center-tagline {
    white-space: pre-line;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* --- Container & Section Styles --- */
.pub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.pub-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.pub-section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.pub-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pub-section-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Helpline Cards Grid --- */
.helplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.25rem;
}

.helpline-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.helpline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.helpline-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.helpline-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.helpline-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f1f5f9;
    color: #475569;
}

.helpline-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.helpline-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    line-height: 1.4;
}

.helpline-number-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.helpline-phone-val {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.copy-phone-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.copy-phone-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.helpline-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-call {
    flex: 1;
    background: #059669;
    color: white;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background 0.2s;
}

.btn-call:hover {
    background: #047857;
}

.btn-whatsapp {
    flex: 1;
    background: #25d366;
    color: white;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background 0.2s;
}

.btn-whatsapp:hover {
    background: #1ebc59;
}

.helpline-hours {
    font-size: 0.725rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- Candidate Guidance Section --- */
.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
}

.guidance-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.guidance-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.guidance-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.guidance-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.guidance-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}

.guidance-card-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.guidance-points-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.guidance-points-list li {
    font-size: 0.85rem;
    color: var(--dark-muted);
    line-height: 1.45;
    position: relative;
    padding-left: 1.35rem;
}

.guidance-points-list li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    top: 0;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}

/* --- Barred Items Visual Strip --- */
.barred-items-banner {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.barred-items-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #b91c1c;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.barred-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.barred-item-pill {
    background: white;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.barred-item-icon {
    font-size: 1.35rem;
    color: #dc2626;
}

.barred-item-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7f1d1d;
    line-height: 1.2;
}

/* --- Facilities & PR Section --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.facility-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.facility-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.facility-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.facility-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.facility-badge {
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.facility-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}

.facility-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- Location & Directions Section --- */
.directions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.directions-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.address-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.address-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.address-text {
    font-size: 0.85rem;
    color: var(--dark-muted);
    line-height: 1.5;
}

.transit-points-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.transit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.transit-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.transit-lbl {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.transit-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    min-height: 380px;
    background: #e2e8f0;
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item.active {
    border-color: #bfdbfe;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.faq-question-btn {
    width: 100%;
    padding: 1.15rem 1.25rem;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}

.faq-question-btn:hover {
    color: var(--primary);
}

.faq-chevron {
    transition: transform 0.25s ease;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer-panel {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    display: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
}

.faq-item.active .faq-answer-panel {
    display: block;
}

/* --- Footer --- */
.pub-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 3rem 5% 2rem;
    border-top: 1px solid #334155;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-sub {
    font-size: 0.825rem;
    line-height: 1.5;
    max-width: 380px;
    margin-bottom: 1rem;
}

.footer-links-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Floating Admin Edit Button */
.floating-admin-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0f172a;
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 999;
    transition: all 0.2s ease;
    border: 1px solid #334155;
}

.floating-admin-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* Toast */
.pub-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #0f172a;
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .pub-nav-links {
        gap: 1rem;
    }
    .pub-today-exam-badge {
        max-width: 250px;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 992px) {
    .pub-nav-links {
        display: none;
    }
    .pub-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-right-col {
        justify-content: flex-start;
    }
    .hero-exam-card {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.35rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .directions-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pub-navbar {
        padding: 0.65rem 3.5%;
    }
    .pub-brand-sub {
        display: none;
    }
    .pub-nav-actions {
        gap: 0.4rem;
    }
    .pub-today-exam-badge {
        max-width: 165px;
        padding: 0.3rem 0.6rem;
        gap: 0.45rem;
    }
    .today-exam-slot {
        display: none;
    }
    .today-exam-tag {
        font-size: 0.58rem;
    }
    .today-exam-name {
        font-size: 0.78rem;
    }
    .pub-btn span {
        display: none;
    }
    .pub-btn {
        padding: 0.45rem 0.65rem;
        font-size: 0.85rem;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .pub-section-title {
        font-size: 1.75rem;
    }
    .guidance-grid {
        grid-template-columns: 1fr;
    }
    .helplines-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================================
   Campus Route Map (Inside SSV College Campus: Gate to Exam Centre)
   ============================================================================== */
.campus-route-map-section {
    margin-top: 0;
    padding-top: 0;
}

.sign {
    background: var(--sign);
    color: var(--sign-ink);
    border-radius: 8px;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    border: 3px solid var(--sign-ink);
    outline: 3px solid var(--sign);
    outline-offset: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(14, 90, 71, 0.15);
}

.sign h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.sign p {
    margin: 4px 0 0;
    font-size: 15px;
    opacity: 0.92;
    color: #e6f4ea;
}

.eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 14px;
    opacity: 0.85;
    color: #d1fae5;
}

.from-to {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

.from-to .arrow {
    color: var(--route);
    font-size: 26px;
    line-height: 1;
}

/* Side by side grid for Graphical View and Satellite View */
.campus-maps-side-by-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .campus-maps-side-by-side {
        grid-template-columns: 1fr;
    }
}

.campus-map-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campus-map-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

.campus-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
}

.campus-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--sign);
}

.campus-map-badge.sat-badge {
    color: #0284c7;
}

.campus-map-tag {
    font-size: 0.725rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 99px;
}

.map-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ground);
    position: relative;
}

svg.map {
    display: block;
    width: 100%;
    height: auto;
}

svg.map text {
    font-family: var(--font-body);
}

.lbl {
    font-size: 14px;
    font-weight: 700;
    fill: var(--ink);
    paint-order: stroke;
    stroke: var(--halo);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.lbl-sm {
    font-size: 12px;
    font-weight: 400;
}

svg.map.sat .lbl {
    fill: #111;
    stroke: #fff;
    stroke-width: 4px;
}

.num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    fill: #fff;
    text-anchor: middle;
}

.flow {
    animation: flow 1.2s linear infinite;
}

/* Exam Centre Building Block */
.bldg-exam {
    fill: #dcfce7;
    stroke: #16a34a;
    stroke-width: 2.5;
    transition: all 0.2s ease;
}

:root[data-theme="dark"] .bldg-exam {
    fill: #14532d;
    stroke: #22c55e;
}

.sat-exam-highlight {
    fill: rgba(34, 197, 94, 0.25);
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    stroke-linejoin: round;
}

@keyframes flow {
    to {
        stroke-dashoffset: -28;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flow {
        animation: none;
    }
}

.key {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 14px;
    color: var(--muted);
    padding: 0.6rem 0.85rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    align-items: center;
}

.key span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.sw {
    width: 28px;
    height: 7px;
    border-radius: 3px;
    background: var(--route);
    box-shadow: 0 0 0 2px var(--halo);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* Steps and Washroom Container */
.campus-directions-details {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 1.5rem;
}

@media (max-width: 860px) {
    .campus-directions-details {
        grid-template-columns: 1fr;
    }
    .sign {
        padding: 16px;
    }
}

.steps-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 22px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.steps-card h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

ol.steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    align-items: flex-start;
}

ol.steps li:first-child {
    border-top: 0;
    padding-top: 4px;
}

.badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sign);
    color: var(--sign-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--route);
    flex-shrink: 0;
}

.badge.end {
    background: var(--route);
    color: #2a1b00;
}

.step-t {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    color: #0f172a;
}

.step-d {
    color: var(--muted);
    font-size: 14.5px;
    margin-top: 2px;
    line-height: 1.45;
}

.chip {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
}

.chip.men {
    background: var(--men);
}

.chip.women {
    background: var(--women);
}

.wash-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wash-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wash-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.wash-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.wbadge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    display: grid;
    place-items: center;
}

.wbadge.men {
    background: var(--men);
}

.wbadge.women {
    background: var(--women);
}

.note {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 2px;
}
