/* transportation.html: page styles moved out of the HTML (tools/extract-styles.js). Edit here, then bump ?v= in transportation.html. */
        /* ---------- Floating button ---------- */
        .route-lookup-fab {
            position: fixed; left: 24px; bottom: 24px; z-index: 9990;
            background: linear-gradient(135deg, #ff7e3f 0%, #ff6020 100%);
            color: #fff; border: none; padding: 12px 20px 12px 16px;
            border-radius: 50px; font-weight: 700; font-size: 15px;
            box-shadow: 0 8px 24px rgba(255,96,32,.45);
            display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
            transition: transform .2s, box-shadow .2s;
        }
        .route-lookup-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,96,32,.55); }
        .route-lookup-fab i { font-size: 16px; }

        /* ---------- Inline route verification panel ---------- */
        .route-verify-section { padding: 50px 0 30px; background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%); }
        .route-verify-card {
            background: #fff; border-radius: 18px; max-width: 1100px; margin: 0 auto;
            box-shadow: 0 18px 50px rgba(0,28,84,.10); overflow: hidden;
            border: 1px solid #e6ecf5;
        }
        .rv-card-head {
            background: linear-gradient(135deg, #001c54 0%, #0a2a7e 60%, #1a3a9e 100%);
            color: #fff; padding: 30px 36px; text-align: center; position: relative;
        }
        .rv-card-head::after {
            content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px;
            background: linear-gradient(90deg, #ff7e3f, #ffb37b, #ff7e3f);
        }
        .rv-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
            padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
            letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px;
        }
        .rv-badge i { color: #ffb37b; }
        .rv-title { color: #fff; margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.2; }
        .rv-sub   { color: rgba(255,255,255,.85); margin: 0 auto; font-size: 14px; max-width: 720px; line-height: 1.5; }
        .rv-card-body { padding: 32px 36px; }

        .rv-form .rv-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
        .rv-field { display: flex; flex-direction: column; min-width: 0; }
        .rv-field label { font-size: 13px; font-weight: 600; color: #001c54; margin-bottom: 6px; }
        .rv-field label .req { color: #e0533a; }
        .rv-field input, .rv-field select, .rv-field textarea {
            border: 1.5px solid #d9deea; background: #fff; padding: 12px 14px;
            border-radius: 10px; font-size: 14px; font-family: inherit; color: #001c54;
            transition: border-color .15s, box-shadow .15s; width: 100%;
        }
        .rv-field input:focus, .rv-field select:focus, .rv-field textarea:focus {
            outline: 0; border-color: #ff7e3f; box-shadow: 0 0 0 4px rgba(255,126,63,.15);
        }
        .rv-field.rv-grow { flex: 1 1 320px; }
        .rv-field.rv-btn-cell { flex: 0 0 auto; }
        .rv-row .rv-field:first-child { flex: 0 0 200px; }

        .rv-btn-primary {
            background: linear-gradient(135deg, #ff7e3f 0%, #ff6020 100%); color: #fff;
            border: 0; padding: 12px 24px; border-radius: 10px; font-weight: 700;
            font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
            box-shadow: 0 4px 14px rgba(255,96,32,.35); transition: transform .15s, box-shadow .2s;
        }
        .rv-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,96,32,.5); }
        .rv-btn-ghost {
            background: transparent; color: #001c54; border: 1.5px solid #d9deea;
            padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
            cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
        }
        .rv-btn-ghost:hover { border-color: #001c54; background: #f4f7fc; }
        .rv-btn-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

        .rv-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

        .rv-alert {
            display: flex; align-items: flex-start; gap: 12px;
            background: #fff4ec; border: 1px solid #ffd5b8; color: #8b3d11;
            padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px;
        }
        .rv-alert i { font-size: 18px; margin-top: 2px; }
        .rv-alert.success { background: #e8f7ee; border-color: #b8e3c6; color: #1d6536; }
        .rv-alert.error   { background: #fdecec; border-color: #f4b9b9; color: #8a1c1c; }

        .route-result {
            background: linear-gradient(135deg, #f5f8ff 0%, #eef3fc 100%);
            border: 1px solid #d6e0f5; border-radius: 14px;
            padding: 22px 24px; margin-bottom: 14px; position: relative; overflow: hidden;
        }
        .route-result::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
            background: linear-gradient(180deg, #ff7e3f, #ff6020);
        }
        .route-result .rr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
        .route-result .student-name { font-size: 20px; font-weight: 700; color: #001c54; margin: 0; }
        .route-result .route-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: linear-gradient(135deg, #ff7e3f, #ff6020); color: #fff;
            padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 14px;
            box-shadow: 0 4px 12px rgba(255,96,32,.3);
        }
        .route-result .grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 16px;
        }
        .route-result .grid > div { font-size: 14px; color: #2a3658; }
        .route-result .grid strong {
            display: block; color: #6a7390; font-size: 11px; text-transform: uppercase;
            letter-spacing: .5px; margin-bottom: 4px; font-weight: 600;
        }
        .route-result .grid .value { color: #001c54; font-weight: 600; }
        .route-result .grid .full { grid-column: 1 / -1; }

        @media (max-width: 768px) {
            .rv-card-head { padding: 24px 22px; }
            .rv-title { font-size: 22px; }
            .rv-card-body { padding: 22px; }
            .rv-row .rv-field:first-child { flex: 1 1 100%; }
            .rv-grid2 { grid-template-columns: 1fr; }
            .route-result .grid { grid-template-columns: 1fr; }
            .route-lookup-fab { left: 12px; bottom: 12px; padding: 10px 16px 10px 14px; font-size: 14px; }
        }

        /* ---------- Welcome modal ---------- */
        .rv-modal-backdrop {
            position: fixed; inset: 0; background: rgba(0,15,40,.65);
            display: none; align-items: center; justify-content: center;
            z-index: 10000; padding: 16px; backdrop-filter: blur(6px);
            animation: rvFadeIn .25s ease;
        }
        .rv-modal-backdrop.show { display: flex; }
        @keyframes rvFadeIn { from { opacity:0; } to { opacity:1; } }
        @keyframes rvPopIn { from { opacity:0; transform: translateY(20px) scale(.96); } to { opacity:1; transform:none; } }

        .rv-welcome {
            background: #fff; border-radius: 16px; width: 100%; max-width: 440px;
            overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45);
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            animation: rvPopIn .35s cubic-bezier(.2,.9,.3,1.2);
            position: relative;
        }
        .rv-welcome .close-x {
            position: absolute; top: 12px; right: 12px;
            background: rgba(0,0,0,.06); border: 0; color: #555;
            width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
            font-size: 18px; line-height: 1; z-index: 2; transition: background .2s;
        }
        .rv-welcome .close-x:hover { background: rgba(0,0,0,.12); }
        .rv-welcome .hero {
            background: linear-gradient(135deg, #001c54 0%, #0a2a7e 100%);
            color: #fff; padding: 28px 26px 22px; text-align: center; position: relative; overflow: hidden;
        }
        .rv-welcome .hero::before {
            content:''; position:absolute; top:-50px; right:-50px; width:160px; height:160px;
            background: radial-gradient(circle, rgba(255,126,63,.35) 0%, transparent 70%); border-radius:50%;
        }
        .rv-welcome .hero-eyebrow {
            display: inline-block; background: rgba(255,255,255,.12); color: #ffd9c2;
            font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
            padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; position: relative; z-index: 1;
        }
        .rv-welcome h2 { color: #fff; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; position: relative; z-index: 1; }
        .rv-welcome h2 span { color: #ff9c69; }
        .rv-welcome .body { padding: 22px 26px 24px; text-align: center; }
        .rv-welcome .body p.lead { color: #475063; font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
        .rv-welcome .feature-list {
            list-style: none; padding: 0; margin: 0 0 20px; text-align: left;
            font-size: 13.5px; color: #2a3658;
        }
        .rv-welcome .feature-list li {
            display: flex; gap: 10px; align-items: flex-start; padding: 6px 0;
        }
        .rv-welcome .feature-list i { color: #ff7e3f; margin-top: 3px; font-size: 14px; }
        .rv-welcome .verify-btn {
            display: inline-flex; align-items: center; gap: 10px;
            background: linear-gradient(135deg, #ff7e3f 0%, #ff6020 100%); color: #fff;
            border: 0; padding: 13px 28px; border-radius: 50px; font-weight: 700;
            font-size: 15px; cursor: pointer; box-shadow: 0 8px 22px rgba(255,96,32,.45);
            transition: transform .15s, box-shadow .2s; text-decoration: none;
        }
        .rv-welcome .verify-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,96,32,.55); }
        .rv-welcome .skip-link {
            display: block; margin: 12px auto 0; color: #8a90a3; font-size: 13px;
            background: none; border: 0; cursor: pointer; text-decoration: underline;
        }
        @media (max-width: 480px) {
            .rv-welcome .hero { padding: 22px 18px 18px; }
            .rv-welcome h2 { font-size: 19px; }
            .rv-welcome .body { padding: 20px; }
        }
