.rq-hero {
    background: linear-gradient(135deg, #061e34 0%, #0b4d62 52%, #16836d 100%);
    color: #fff;
    padding: 46px 0;
}

.rq-hero-grid {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.rq-kicker {
    color: rgba(255, 255, 255, .72);
    display: block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.rq-result .rq-kicker {
    color: #64748b;
}

.rq-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 850;
    margin: 0 0 10px;
}

.rq-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    margin: 0;
    max-width: 680px;
}

.rq-hero-panel,
.rq-back {
    align-items: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: 12px;
    padding: 15px 16px;
    text-decoration: none;
}

.rq-hero-panel i,
.rq-back i {
    font-size: 1.6rem;
}

.rq-hero-panel span {
    color: rgba(255, 255, 255, .75);
    display: block;
    font-size: .88rem;
}

.rq-section {
    background: #f4f7fb;
    min-height: 58vh;
    padding: 28px 0 56px;
}

.rq-search {
    align-items: center;
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .1);
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    margin: -54px auto 24px;
    max-width: 920px;
    padding: 12px;
    position: relative;
}

.rq-search-icon {
    align-items: center;
    background: #eef6f7;
    border-radius: 8px;
    color: #0f6b5f;
    display: flex;
    height: 44px;
    justify-content: center;
}

.rq-search input {
    border: 0;
    color: #12263f;
    font-size: 1rem;
    min-height: 44px;
    outline: 0;
}

.rq-search button {
    align-items: center;
    background: #0f6b5f;
    border: 0;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
}

.rq-result {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(18, 38, 63, .1);
    margin: 0 auto;
    max-width: 1100px;
    padding: 24px;
}

.rq-result-head {
    align-items: flex-start;
    border-bottom: 1px solid #e7edf4;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.rq-result h2 {
    color: #12263f;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 850;
    margin: 0;
}

.rq-status {
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
    padding: 8px 12px;
    white-space: nowrap;
}

.rq-status-blue { background: #e8f3ff; color: #1769aa; }
.rq-status-green { background: #e8f5e9; color: #287d38; }
.rq-status-yellow { background: #fff8db; color: #936b00; }
.rq-status-orange { background: #fff1df; color: #b65300; }
.rq-status-purple { background: #f1e9ff; color: #6e3bb8; }

.rq-route {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e7edf4;
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin-bottom: 20px;
    padding: 18px;
}

.rq-point {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.rq-point small,
.rq-info span,
.rq-box p span {
    color: #64748b;
    display: block;
    font-size: .82rem;
    font-weight: 700;
}

.rq-point strong,
.rq-info strong,
.rq-box p strong {
    color: #12263f;
    display: block;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.rq-dot {
    border-radius: 50%;
    flex: 0 0 12px;
    height: 12px;
    margin-top: 6px;
    width: 12px;
}

.rq-dot-blue { background: #1769aa; }
.rq-dot-green { background: #0f8f64; }

.rq-line {
    color: #94a3b8;
    font-size: 1.2rem;
}

.rq-info-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.rq-info {
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 8px;
    padding: 15px;
}

.rq-info i {
    color: #0f6b5f;
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.rq-detail-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rq-box {
    border: 1px solid #e7edf4;
    border-radius: 8px;
    padding: 18px;
}

.rq-box h3 {
    align-items: center;
    color: #12263f;
    display: flex;
    font-size: 1rem;
    font-weight: 850;
    gap: 8px;
    margin: 0 0 14px;
}

.rq-box p {
    border-bottom: 1px solid #edf2f7;
    margin: 0;
    padding: 10px 0;
}

.rq-box p:last-child {
    border-bottom: 0;
}

.rq-person {
    border-bottom: 1px solid #edf2f7;
    padding: 10px 0;
}

.rq-person:last-child {
    border-bottom: 0;
}

.rq-person strong,
.rq-person span {
    display: block;
}

.rq-person span {
    color: #64748b;
    font-size: .9rem;
}

.rq-empty {
    align-items: center;
    background: #fff;
    border: 1px solid #f0d2d2;
    border-radius: 8px;
    color: #8a1f1f;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    max-width: 680px;
    padding: 34px 20px;
    text-align: center;
}

.rq-empty i {
    font-size: 2rem;
}

.rq-account-hero {
    background: linear-gradient(135deg, #071f36 0%, #12465d 55%, #1c7a73 100%);
}

@media (max-width: 992px) {
    .rq-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .rq-hero-grid,
    .rq-route,
    .rq-detail-grid {
        grid-template-columns: 1fr;
    }

    .rq-line {
        transform: rotate(90deg);
        width: fit-content;
    }

    .rq-search {
        grid-template-columns: 1fr;
        margin-top: -34px;
    }

    .rq-search-icon {
        display: none;
    }

    .rq-search button {
        justify-content: center;
        width: 100%;
    }

    .rq-result-head {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .rq-info-grid {
        grid-template-columns: 1fr;
    }
}
