/* Find Trip redesign (find-trip.html): search card, city strips, route card, request column, how it works, board band. Loads after kbt3.css and kbt-r.css. */
/* header block: title, line, Departures / Arrivals over the road to Malam Jabba (StoryBg) */
.rf-hero{--rf-sky:#eaf2fb;position:relative;isolation:isolate;z-index:5;padding:32px 0 24px;background:linear-gradient(180deg,var(--rf-sky) 0%,var(--bg) 100%)}
[data-theme=dark] .rf-hero{--rf-sky:#112146}
.rf-hero.sb{padding:44px 0 calc(var(--fb) + 4px)}
.rf-hero .sb-bg{--sc:linear-gradient(90deg,rgba(6,14,32,.68) 0%,rgba(6,14,32,.54) 45%,rgba(6,14,32,.3) 100%)}[dir=rtl] .rf-hero .sb-bg{--sc:linear-gradient(270deg,rgba(6,14,32,.72) 0%,rgba(6,14,32,.58) 45%,rgba(6,14,32,.3) 100%)}
@media (max-width:640px){.rf-hero .sb-bg,[dir=rtl] .rf-hero .sb-bg{--sc:linear-gradient(180deg,rgba(6,14,32,.72) 0%,rgba(6,14,32,.62) 30%,rgba(6,14,32,.35) 60%,rgba(6,14,32,.3) 100%)}}
.rf-hero.sb .rf-top h1{color:#fff;text-shadow:0 1px 3px rgba(3,8,20,.55)}
.rf-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px}
.rf-top h1{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.02em;font-weight:800;color:var(--head)}
.rf-seg{display:inline-flex;background:var(--surf);border:1px solid var(--line2);border-radius:12px;padding:4px;gap:4px}
.rf-seg button{border:0;background:transparent;font-weight:800;font-size:14.5px;padding:9px 18px;border-radius:9px;color:var(--ink2);display:flex;flex-direction:column;align-items:center;line-height:1.2}
.rf-seg button.on{background:var(--brand);color:var(--onbrand)}
.rf-seg small{font-family:var(--ur);font-weight:500;font-size:15px;line-height:1.5}
html[data-lang=en] .rf-seg small{display:none}html[data-lang=ur] .rf-seg button{font-size:0}html[data-lang=ur] .rf-seg small{font-size:16px}
/* search card: Going to (2 columns), Leaving on, Leaving at, Travellers (2 columns), Search */
.rf-form{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;background:var(--surf);border:1px solid var(--line2);border-radius:20px;padding:10px;box-shadow:var(--sh)}
.rf-form .fld{background:var(--bg2);padding:8px 16px;border-radius:12px}
.rf-form .fld:focus-within{outline:3px solid var(--brand);outline-offset:-3px}[data-theme=dark] .rf-form .fld:focus-within{outline-color:var(--mint)}
.rf-form .fld input{font-size:17px;font-weight:700;padding:3px 0}.rf-form .rf-city input{padding-inline-end:30px}
.rf-form .fld select{font-size:16px;font-weight:700}
.rf-city,.rf-px{grid-column:span 2}.rf-form.arr .rf-city{grid-column:span 4}
.rf-go{align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:16px;padding:14px 22px;border-radius:14px;border:0;background:var(--brand);color:var(--onbrand);white-space:nowrap;transition:transform .12s}
.rf-go:hover{transform:translateY(-1px);text-decoration:none}
.rf-px .pax3{gap:4px 12px;flex-wrap:wrap;padding:2px 0}.rf-px .px{gap:3px}
.rf-px .px-i{width:22px;height:28px}.rf-px .px-i svg{width:24px;height:24px}
.rf-px .px button{width:28px;height:28px;font-size:16px}.rf-px .px output{min-width:16px;font-size:15px}
/* browse: region chips, then strips of photo cards that scroll sideways (--n = cards, at least 3, so one or two cards do not stretch across) */
.rf-res{padding:8px 0 40px;overflow-x:clip}#ftOut:empty{min-height:100vh}/* the board band stays below the screen until kbt3-find.js fills the results */
.rf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.rf-tab{display:inline-flex;align-items:center;font-weight:700;font-size:13.5px;padding:8px 14px;border-radius:99px;border:1px solid var(--line2);background:var(--surf);color:var(--head);white-space:nowrap}
.rf-tab:hover{border-color:var(--brand)}.rf-tab.on{background:var(--brand);color:var(--onbrand);border-color:var(--brand)}
/* strip headers: large and heavy, a brand bar before the name; the Urdu companion 18 px */
.rf-strip{margin:0 0 26px;min-width:0}
.rf-sh{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;margin:0 0 12px;font-size:clamp(20px,2.2vw,24px);font-weight:800;color:var(--head);line-height:1.3;letter-spacing:-.01em}
.rf-sh::before{content:"";align-self:center;flex:none;width:5px;height:1.05em;border-radius:3px;background:var(--brand)}[data-theme=dark] .rf-sh::before{background:var(--mint)}
.rf-sh .t{white-space:nowrap}.rf-sh .u{font-family:var(--ur);font-size:18px;font-weight:600;line-height:1.9;direction:rtl;color:var(--ink2);white-space:nowrap;letter-spacing:0}
.rf-sh .n{margin-inline-start:auto;font-size:13.5px;font-weight:700;color:var(--ink2);letter-spacing:0}
/* strips with a faint blurred photo (or the map texture) behind them, edge to edge (kbt3-find.js copies template[data-sb]); .rf-res clips the overhang */
.rf-strip.sb{padding:26px 0 28px;margin:0}.rf-strip.sb+.rf-strip:not(.sb){margin-top:26px}
.rf-strip.sb>:is(.sb-bg,.sb-tex,.sb-soft){inset:0 calc(50% - 50vw)}
.rf-sw{position:relative}
.rf-sr{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);grid-auto-columns:minmax(200px,calc((100% - (var(--n,3) - 1)*10px)/var(--n,3)));gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.rf-cc{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:140px;padding:12px 14px;border:0;border-radius:16px;text-align:start;color:#fff;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 70%,#2f59a5),#16294d);scroll-snap-align:start}
.rf-cc img.ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:filter .15s}.rf-cc:hover img.ph{filter:brightness(1.08)}
.rf-scr{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,16,36,.05) 0%,rgba(8,16,36,.35) 40%,rgba(8,16,36,.88) 100%)}
.rf-pill{position:absolute;inset-inline-start:12px;top:10px;display:inline-flex;align-items:center;gap:6px;font-size:10.5px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.rf-pill i{width:6px;height:6px;border-radius:50%;background:var(--c)}
.rf-cc b{font-size:17px;font-weight:700;line-height:1.2;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.65);max-width:100%}
.rf-cc .u{font-family:var(--ur);font-size:15px;line-height:2;font-weight:500;text-shadow:0 1px 4px rgba(0,0,0,.65);white-space:nowrap}
.rf-cc small{font-size:12.5px;font-weight:600;opacity:.95;white-space:nowrap;text-shadow:0 1px 4px rgba(0,0,0,.65)}
html[data-lang=ur] .rf-cc small{white-space:normal}
html[data-lang=en] :is(.rf-cc .u,.rf-rh h2 .ur){display:none}
.rf-sa{position:absolute;top:50%;z-index:2;width:36px;height:36px;margin-top:-21px;display:none;place-items:center;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surf);color:var(--head);font-size:24px;line-height:1;box-shadow:0 4px 14px -6px rgba(0,0,0,.35)}
.rf-sp{inset-inline-start:-12px}.rf-sn{inset-inline-end:-12px}.rf-sa:hover{border-color:var(--brand)}
@media (hover:hover) and (min-width:641px){.rf-sw.ov .rf-sa:not(:disabled){display:grid}}
.rf-none{margin:0;font-size:14.5px;color:var(--ink)}
/* route card */
.rf-card{position:relative;isolation:isolate;background:var(--surf);border:1px solid var(--line);border-radius:22px;box-shadow:var(--sh)}
.rf-rh{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;padding:18px 24px;border-bottom:1px solid var(--line)}
.rf-rh-t{min-width:0}
.rf-rh h2{font-size:clamp(26px,3.2vw,38px);color:var(--head);line-height:1.08;letter-spacing:-.02em;font-weight:800;margin:2px 0 0}
.rf-rh h2 .ur{font-family:var(--ur);font-size:22px;font-weight:500;color:var(--ink2);margin-inline-start:10px;letter-spacing:0;line-height:1.6}
.rf-sts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-inline-end:-1px}
.rf-st{padding:14px 24px;border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.rf-st .v{font-weight:800;font-size:24px;color:var(--head);letter-spacing:-.02em;line-height:1.1}.rf-st .v small{font-size:13px;font-weight:700;letter-spacing:0;color:var(--ink2)}
.rf-st .k{font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ink2);margin-top:6px}
.rf-st .s{font-size:13px;color:var(--ink2);margin-top:2px}
.rf-empty{padding:14px 24px;border-bottom:1px solid var(--line);font-weight:700;color:var(--head)}
.rf-way{margin:0;padding:10px 24px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600;color:var(--head)}
.rf-body{display:grid}
.rf-ops,#request.rf-rq{padding:20px 24px;min-width:0}
.rf-rq{background:var(--bg2);border-radius:0 0 21px 21px}
/* two columns over 1020 px (kbt3-find.js shows 8 rows before Show more at that width) */
@media (min-width:1021px){.rf-body:not(.one){grid-template-columns:repeat(2,minmax(0,1fr))}.rf-body:not(.one) .rf-ops{border-inline-end:1px solid var(--line)}.rf-rq{border-radius:0;border-end-end-radius:21px}}
.rf-h4{font-size:19px;letter-spacing:-.01em;color:var(--head);margin:0 0 10px;font-weight:800;line-height:1.35}.rf-h4 .ur{font-family:var(--ur);font-size:17px;font-weight:600;color:var(--ink2);letter-spacing:0}
/* bus services: number, name and times, activity bar, Official / Unofficial; Book or Check trip under the bar */
.rf-ol{list-style:none;margin:0;padding:0}.rf-body.one .rf-ol{max-width:820px}
.rf-op{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) 90px auto;grid-template-areas:"n o t s";column-gap:12px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.rf-op.hx{grid-template-areas:"n o t s" "n o x x"}.rf-op[hidden]{display:none}.rf-op:has(.ckp){z-index:3}
.rf-n{grid-area:n;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--bg2);color:var(--ink2);font-size:12px;font-weight:800}
.rf-o{grid-area:o;min-width:0;font-weight:700;font-size:14.5px;color:var(--head);line-height:1.35;overflow-wrap:anywhere}
.rf-m{display:block;font-size:12.5px;color:var(--ink2);font-weight:600;line-height:1.45;margin-top:1px}.rf-m .tmv{font-weight:700;color:var(--head)}
.rf-bar{grid-area:t;height:8px;border-radius:99px;background:#f4ead6;overflow:hidden}.rf-bar i{display:block;height:100%;border-radius:99px;background:#e8b864}[data-theme=dark] .rf-bar{background:rgba(255,255,255,.12)}
.rf-op .st{grid-area:s;justify-self:end;font-size:11px;letter-spacing:.1em;padding:4px 8px;border-radius:8px}
.rf-x{grid-area:x;justify-self:end;margin-top:6px}
.rf-bk{display:inline-flex;align-items:center;font-weight:800;font-size:13px;padding:6px 14px;border-radius:10px;border:1.5px solid var(--brand);color:var(--brand);background:var(--surf)}.rf-bk:hover{background:var(--brand);color:var(--onbrand);text-decoration:none}
[data-theme=dark] .rf-bk{border-color:var(--mint);color:var(--mint);background:transparent}[data-theme=dark] .rf-bk:hover{background:var(--mint);color:#16294d}
.rf-mb{margin-top:8px;background:none;border:0;font-weight:800;font-size:14px;color:var(--link);padding:6px 0}.rf-mb:hover{text-decoration:underline}
/* phones: the name takes the full row; bar, tag and Book / Check trip share the second row (Check trip label over its two buttons) */
@media (max-width:560px){.rf-op,.rf-op.hx{grid-template-columns:24px minmax(0,1fr) auto auto;grid-template-areas:"n o o o" "n t s x";column-gap:8px;row-gap:6px}.rf-op .rf-n{align-self:start;margin-top:1px}.rf-x{margin:0}
  .rf-x .ck{display:grid;grid-template-columns:auto auto;gap:2px 4px;justify-items:end}.rf-x .ck-l{grid-column:1/-1;margin:0;line-height:1.3}}
/* request column: bus type, the WhatsApp message, Copy and Send, then the other details folded */
.rf-ty{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.rf-ty .chip{font-weight:700;font-size:13px;padding:7px 12px;border-radius:99px;border:1px solid var(--line2);background:var(--surf);color:var(--head);box-shadow:none;white-space:nowrap}
.rf-ty .chip.on{background:var(--brand);color:var(--onbrand);border-color:var(--brand)}
.rf-rq-n{margin:10px 0 0;font-size:12.5px;color:var(--ink2)}
.rf-rq .sent{padding:8px 0 0;font-size:13px}
.rf-more{margin-top:14px;padding-top:10px;border-top:1px solid var(--line2)}
.rf-more summary{cursor:pointer;width:max-content;max-width:100%;font-weight:800;font-size:16px;color:var(--link);padding:4px 0}.rf-more[open] summary{margin-bottom:12px}
.rf-more .want{margin:0 0 14px;background:var(--surf)}.rf-more h4{font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--head);margin-bottom:10px}
.rf-more .want-g{grid-template-columns:auto minmax(0,1fr);gap:8px 12px}.rf-more .want-g>.lab:not(:first-child){margin-top:0}
@media (max-width:359px){.rf-more .want-g{grid-template-columns:minmax(0,1fr)}}
.rf-more :is(.lab,h4) .ur{font-size:15px;text-transform:none;letter-spacing:0;font-weight:600}html[data-lang=ur] .rf-more h4{font-size:17px;letter-spacing:0}
/* how it works: poster and three steps, shown between the Historic sites and Major cities strips (kbt3-find.js moves it there; other views show it after the results) */
.rf-how{margin:4px 0 30px}#ftOut+.rf-how{margin-top:28px}
.rf-how-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:stretch}
.rf-poster{grid-row:span 3;position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:var(--bg2) center/cover no-repeat;min-height:280px}
.rf-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%}
.rf-step{display:flex;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surf)}
.rf-step-n{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brand);color:var(--onbrand);font-weight:800;font-size:14px;flex:none}
.rf-step>div{min-width:0}.rf-step b{display:block;font-size:15px;color:var(--head);font-weight:800}.rf-step>div>span{font-size:13.5px;color:var(--ink2)}
/* board band: folded behind its button; shown with a city too (synced to the city's region) */
body.city-on #lbSec{display:block}
.live.rf-lb{background:#04070d;color:#eaf5fc;padding:32px 0 36px;font-weight:400}
.rf-lb-h{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-bottom:14px}
.rf-lb h2{font-size:clamp(22px,2.6vw,30px);color:#fff;line-height:1.08;letter-spacing:-.02em;font-weight:600;margin:0}
.rf-screen{border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 80px -30px rgba(0,0,0,.8);background:#04070d}
.rf-screen iframe{display:block;width:100%;height:640px;border:0}
.rf-lb #ftNote .k3d{margin-top:0}
/* phones */
@media (max-width:640px){.rf-form{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-form .rf-city,.rf-form .rf-px,.rf-form.arr .rf-city{grid-column:1/-1}
  .rf-form .fld{padding:8px 12px}.rf-form #ftDateW input{font-size:16px}.rf-rh,.rf-way,.rf-ops,#request.rf-rq{padding-inline:18px}.rf-st{padding:12px 18px}}
/* Urdu: never under 15 px */
html[data-lang=ur] :is(.rf-st .k,.rf-st .s,.rf-st .v small,.rf-m,.rf-tab,.rf-ty .chip,.rf-rq-n,.rf-sh .n,.rf-cc small,.rf-pill,.rf-mb,.rf-way,.rf-op .st,.rf-more summary,.rf-bk,.rf-step>div>span){font-size:15px;letter-spacing:0}
html[data-lang=ur] .rf-o{font-size:15.5px}
[data-theme=dark] :is(.rf-st .s,.rf-m,.rf-rq-n,.rf-step>div>span){font-weight:400}
@media (prefers-reduced-motion:reduce){.rf-go,.rf-cc img.ph{transition:none}.rf-go:hover{transform:none}}
/* surfaces: one card style (kbt-r.css tokens); primary buttons carry the brand gradient; the board band photo (Faisal Mosque) */
.rf-form,.rf-step{background:var(--g-card);border-color:var(--card-b);border-radius:var(--rad);box-shadow:var(--card-sh)}.rf-poster{border-color:var(--card-b);border-radius:var(--rad);box-shadow:var(--card-sh)}
.rf-card{background:var(--g-card);border-color:var(--card-b);box-shadow:var(--card-sh)}
.rf-go{background:var(--brand) var(--g-btn)}
.rf-lb .sb-bg{--po:.36;--sc:linear-gradient(180deg,rgba(6,14,32,.35) 0%,rgba(6,14,32,0) 60%)}
/* city strips: the scrollbar thumb stays faint (the arrows scroll) and shows on hover, while scrolling (.rf-scl, kbt3-find.js) or with keyboard focus */
.rf-sr::-webkit-scrollbar-thumb{background:var(--sb-f)}
.rf-sw:hover .rf-sr::-webkit-scrollbar-thumb,.rf-sw.rf-scl .rf-sr::-webkit-scrollbar-thumb,.rf-sr:focus-within::-webkit-scrollbar-thumb{background:var(--sb-t)}
.rf-sr::-webkit-scrollbar-thumb:hover{background:var(--sb-h)}
@supports not selector(::-webkit-scrollbar){.rf-sr{scrollbar-color:var(--sb-f) transparent}.rf-sw:hover .rf-sr,.rf-sw.rf-scl .rf-sr,.rf-sr:focus-within{scrollbar-color:var(--sb-t) transparent}}
/* city view (html.rf-c, set before the first paint for ?to= links): the summary bar in place of the header; Change (html.rf-edit) opens the full search again */
.rf-sumw{display:none;padding:14px 0 0}
html.rf-c:not(.rf-edit) .rf-hero{display:none}
html.rf-c:not(.rf-edit) .rf-sumw{display:block}
html.rf-c:not(.rf-edit) .rf-res{padding-top:12px}
.rf-sum{display:flex;align-items:center;gap:10px 14px;min-height:62px;padding:8px 8px 8px 10px;border-radius:18px;background:var(--g-card);border:1px solid var(--card-b);box-shadow:var(--card-sh)}
.rf-sum:empty{display:none}
.rf-sb-bk{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:44px;padding:0 14px 0 10px;border:1.5px solid var(--line2);border-radius:12px;background:var(--surf);color:var(--link);font-weight:800;font-size:14.5px;cursor:pointer}
.rf-sb-bk .a{font-size:24px;line-height:1;margin-top:-3px}.rf-sb-bk:hover{border-color:var(--brand)}
.rf-sb-t{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 16px}
.rf-sb-t>b{font-size:19px;font-weight:800;color:var(--head);letter-spacing:-.01em;min-width:0;overflow-wrap:anywhere}
.rf-sb-m{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-width:0}
.rf-sb-m small{font-size:14.5px;font-weight:600;color:var(--ink2)}
.rf-sb-ch{display:inline-flex;align-items:center;gap:5px;padding:2px 0;border:0;background:none;color:var(--link);font:inherit;font-weight:800;font-size:14.5px;cursor:pointer;white-space:nowrap}
.rf-sb-ch svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rf-sb-ch:hover span{text-decoration:underline}
/* departures board button (search card, summary bar): dark like the board, the time in white digits */
.rf-bb{display:inline-flex;align-items:center;gap:12px;flex:none;min-height:54px;padding:6px 12px 6px 6px;border:1px solid rgba(255,255,255,.45);border-radius:14px;background:#04070d linear-gradient(135deg,#0d1d33 0%,#04070d 72%);color:#eaf5fc;font:inherit;text-align:start;cursor:pointer;box-shadow:0 12px 26px -14px rgba(4,7,13,.85),inset 0 1px 0 rgba(255,255,255,.06);transition:transform .12s,box-shadow .15s,border-color .15s}
.rf-bb:hover{transform:translateY(-1px);border-color:#fff;box-shadow:0 14px 30px -14px rgba(4,7,13,.9),0 0 0 1px rgba(255,255,255,.35)}
.rf-bb:focus-visible{outline:3px solid #fff;outline-offset:2px}
.rf-bb-c{display:grid;place-items:center;min-width:72px;height:42px;padding:0 8px;border-radius:10px;background:#050b15;border:1px solid rgba(255,255,255,.28)}
.rf-bb-t{font-family:var(--display);font-variant-numeric:tabular-nums;font-size:21px;font-weight:800;color:#fff;letter-spacing:.02em;text-shadow:0 0 14px rgba(255,255,255,.45);line-height:1}
.rf-bb-l{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.rf-bb-l b{font-size:15.5px;font-weight:800;color:#fff;white-space:nowrap}
.rf-bb-l small{font-size:13px;font-weight:500;color:#a9bdd0;white-space:nowrap}
.rf-bb-a{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:rgba(255,255,255,.14);color:#fff}.rf-bb-a svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
[data-theme=dark] .rf-bb{border-color:rgba(255,255,255,.6)}
.rf-form.arr .rf-city{grid-column:span 3}
/* city view: the route summary card and the Book Trip panel side by side over 1020 px; phones: the one-line summary, the panel, the bus services, then the summary card (route details) */
.cv{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"line" "book" "list" "sum";gap:14px}
.cv-sum{grid-area:sum;min-width:0}.cv-line{grid-area:line}.cv>.bt-sec{grid-area:book}.cv-list{grid-area:list;min-width:0}
.cv.cv-arr{grid-template-areas:"sum" "list"}
.cv-line{display:flex;flex-wrap:wrap;align-items:baseline;margin:0;padding:0 4px;font-size:14px;font-weight:600;color:var(--ink2);line-height:1.5}
.cv-line>span+span::before{content:"·";margin:0 8px}
.cv-line b{color:var(--head);font-weight:800}.cv-line[hidden]{display:none}
.cv-list .rf-ops{padding:16px 24px 18px}
@media (min-width:761px){.cv{grid-template-areas:"sum" "book" "list"}.cv-line{display:none}}
@media (min-width:1021px){.cv:not(.cv-arr){grid-template-columns:minmax(0,1fr) minmax(0,2.05fr);grid-template-areas:"sum book" "list list"}
  .cv:not(.cv-arr) .cv-sum .rf-sts{grid-template-columns:minmax(0,1fr)}.cv:not(.cv-arr) .cv-sum .rf-st{padding:12px 24px;border-inline-end:0}.cv:not(.cv-arr) .cv-sum .rf-way{border-bottom:0}}
/* the board band sits between the results (browse: after the first strip; city view: after the bus services) and the rest of the page */
.rf-res2{padding:28px 0 40px}.rf-res2 .rf-how{margin-top:0}
@media (max-width:640px){.rf-form .rf-go{grid-column:1/-1}
  .cv-list .rf-ops{padding:14px 16px 16px}.cv-line{font-size:13px;padding:0 2px}.cv-line>span+span::before{margin:0 6px}.cv{gap:10px}
  .rf-sumw{padding-top:10px}
  .rf-sum{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"bk t bb" "m m m";align-items:center;gap:4px 10px;min-height:0;padding:6px 7px 7px;border-radius:16px}
  .rf-sb-bk{grid-area:bk;width:34px;height:40px;padding:0}.rf-sb-bk .t{display:none}
  .rf-sb-t{display:contents}.rf-sb-t>b{grid-area:t;font-size:16px;line-height:1.25}.rf-sb-m{grid-area:m;gap:0 10px;padding:0 4px}.rf-sb-m small{font-size:13px;line-height:1.4}.rf-sb-ch{font-size:13.5px}
  .rf-sum .rf-bb{grid-area:bb;min-height:38px;gap:6px;padding:2px 8px 2px 2px;border-radius:11px}.rf-sum .rf-bb-c{min-width:50px;height:32px;padding:0 4px}.rf-sum .rf-bb-t{font-size:15px}
  .rf-sum .rf-bb-l b{max-width:76px;font-size:12.5px;line-height:1.2;white-space:normal}.rf-sum .rf-bb-l small,.rf-sum .rf-bb-a{display:none}}
html[data-lang=ur] :is(.rf-sb-bk,.rf-sb-m small,.rf-sb-ch,.rf-bb-l small,.cv-line){font-size:15px;letter-spacing:0}
html[data-lang=ur] .rf-bb-l b,html[data-lang=ur] .rf-sum .rf-bb-l b{font-size:15px}html[data-lang=ur] .rf-sb-t>b{font-size:18px}
[data-theme=dark] :is(.rf-sb-m small,.cv-line){font-weight:500}
@media (prefers-reduced-motion:reduce){.rf-bb{transition:none}.rf-bb:hover{transform:none}}
/* city view backdrop: the city photo (its city card photo) strong at the top, fading into the page; the summary bar and route card are frosted glass over it */
.rf-main{position:relative;isolation:isolate}
.rf-cbg{display:none;position:absolute;inset:0 0 auto;height:clamp(360px,42vw,560px);z-index:-1;overflow:hidden;pointer-events:none}
html.rf-c:not(.rf-edit) .rf-cbg{display:block}
.rf-cbg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%;filter:contrast(1.08) saturate(1.18);-webkit-mask-image:linear-gradient(180deg,#000 0,#000 42%,rgba(0,0,0,.55) 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 42%,rgba(0,0,0,.55) 70%,transparent 100%)}
.rf-cbg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,14,32,.3) 0%,rgba(6,14,32,.14) 45%,transparent 80%)}
[data-theme=dark] .rf-cbg::after{background:linear-gradient(180deg,rgba(6,14,32,.5) 0%,rgba(6,14,32,.32) 45%,transparent 85%)}
html.rf-c .rf-sum,html.rf-c .cv-sum{background:linear-gradient(180deg,color-mix(in srgb,var(--surf) 84%,transparent),color-mix(in srgb,var(--surf) 74%,transparent));-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}
.cv-line{justify-self:start;padding:3px 10px;border-radius:10px;background:color-mix(in srgb,var(--surf) 86%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
@media (min-width:1021px){html.rf-c:not(.rf-edit) .rf-sumw{padding-top:30px}}
/* board band: the normal section rhythm (28 px above and below, short fades); the results above it end without extra space */
main #lbSec.sb-band{--ft:28px;--fb:28px;padding-block:30px}
.rf-res{padding-bottom:28px}.rf-res2{padding-top:28px}
/* Urdu on phones: the summary bar on two short rows (the board label on one line) */
@media (max-width:640px){html[data-lang=ur] .rf-sb-t>b{font-size:16px;line-height:1.5}html[data-lang=ur] .rf-sb-m small,html[data-lang=ur] .rf-sb-ch{line-height:1.5}html[data-lang=ur] .rf-sum .rf-bb-l b{max-width:none;white-space:nowrap;line-height:1.4}}
@media (max-width:640px){html[data-lang=ur] .rf-sb-m{flex-wrap:nowrap}html[data-lang=ur] .rf-sb-m small{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* ===== calm pass (kbt-r.css tokens): the landing photo only at the top of the page (search header; city view: the summary band), plain page background below;
   cards: solid surface, hairline, soft shadow; labels above 48 px controls; no strip photos, region pills, glows or text shadows on cards ===== */
/* search header: the search card in the field style of the Book this trip card */
.rf-hero.sb{padding:clamp(32px,4vw,48px) 0 calc(var(--fb) * .55)}
.rf-top h1{font-size:var(--t-page);font-weight:var(--w-title)}
.rf-seg{border-radius:var(--r-md);border-color:var(--line)}.rf-seg button{font-weight:var(--w-btn);font-size:var(--t-label);border-radius:9px}
.rf-form{gap:var(--s3) var(--s2);padding:var(--s3);border-radius:var(--rad);background:var(--surf);border:1px solid var(--line);box-shadow:var(--card-sh);align-items:end}
.rf-form .fld{gap:6px;padding:0;background:none;border-radius:0;justify-content:flex-start}
.rf-form .fld:focus-within,[data-theme=dark] .rf-form .fld:focus-within{outline:0}
.rf-form .fld :is(input,select){width:100%;height:var(--ctl-h);padding:0 14px;border:1px solid var(--line2);border-radius:var(--r-md);background-color:var(--surf);color:var(--head);font-size:var(--t-ctl);font-weight:var(--w-label)}
.rf-form .fld input::placeholder{color:var(--muted);font-weight:var(--w-body);opacity:1}
.rf-form .fld select{-webkit-appearance:none;appearance:none;padding-inline-end:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347536b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px;background-position:right 14px center}
[dir=rtl] .rf-form .fld select{background-position:left 14px center}
[data-theme=dark] .rf-form .fld select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2cee5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.rf-form .fld :is(input,select):focus{outline:0;border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 22%,transparent)}
.rf-form .rf-city input{padding-inline-end:40px}
.rf-form .rf-city :is(.go-ico,.clr){top:auto;bottom:calc(var(--ctl-h) / 2);transform:translateY(50%);margin-top:0}
.rf-px .pax3{display:flex;align-items:center;flex-wrap:nowrap;gap:16px;height:var(--ctl-h);padding:0 12px;border:1px solid var(--line2);border-radius:var(--r-md);background:var(--surf)}
.rf-px .px{gap:5px}.rf-px .px-i{color:var(--muted)}.rf-px .px button{width:30px;height:30px;border:1px solid var(--line2);font-weight:var(--w-label)}.rf-px .px output{font-size:var(--t-ctl);font-weight:var(--w-card)}
.rf-go{height:var(--ctl-h);padding:0 22px;border-radius:var(--r-md);font-size:var(--t-btn);font-weight:var(--w-btn);background:var(--brand)}.rf-go:hover{transform:none}
.rf-bb{min-height:var(--ctl-h);padding:4px 12px 4px 4px;gap:10px;border-radius:var(--r-md);box-shadow:none}.rf-bb:hover{transform:none;box-shadow:none}
.rf-bb-c{height:38px;min-width:64px;border-radius:9px}.rf-bb-t{text-shadow:none;font-size:18px}.rf-bb-l b{font-size:var(--t-label);font-weight:var(--w-card)}.rf-bb-l small{font-size:12.5px}
/* browse: region filter as quiet text tabs (the active one underlined, like the header menu), strip headings without the bar */
.rf-tabs{gap:4px 6px;margin:0 0 var(--s4);padding-bottom:2px;border-bottom:1px solid var(--line)}
.rf-tab,.rf-tab:hover{padding:10px 12px;border:0;border-radius:0;background:none;color:var(--muted);font-size:var(--t-label);font-weight:var(--w-label);box-shadow:none}
.rf-tab:hover{color:var(--head)}
.rf-tab.on,.rf-tab.on:hover{background:none;color:var(--head);border:0;box-shadow:inset 0 -2px 0 var(--brand)}[data-theme=dark] .rf-tab.on{box-shadow:inset 0 -2px 0 var(--focus)}
.rf-strip,.rf-strip.sb{margin:0 0 var(--s5);padding:0}.rf-strip.sb+.rf-strip:not(.sb){margin-top:0}
.rf-sh{font-size:var(--t-sec);font-weight:var(--w-title);letter-spacing:-.015em;margin:0 0 var(--s2)}
.rf-sh::before{display:none}
.rf-sh .u{font-size:16px;font-weight:500;color:var(--muted)}
.rf-sh .n{font-size:var(--t-small);font-weight:var(--w-body);color:var(--muted)}
/* city cards: photo, name and distance; no region pill, no text shadow (the dark foot carries the white text) */
.rf-cc{border-radius:var(--rad);min-height:150px;padding:12px 14px}
.rf-pill{display:none}
.rf-scr{background:linear-gradient(180deg,rgba(8,16,36,0) 30%,rgba(8,16,36,.55) 62%,rgba(8,16,36,.86) 100%)}
.rf-cc b,.rf-cc .u,.rf-cc small{text-shadow:none}
.rf-cc b{font-size:var(--t-card);font-weight:var(--w-card)}.rf-cc small{font-size:var(--t-small);font-weight:var(--w-body);opacity:1;color:#e6ecf7}
.rf-sa{box-shadow:0 4px 14px -8px rgba(0,0,0,.35)}
/* how it works */
.rf-step{border-radius:var(--rad)}.rf-step b{font-size:var(--t-card);font-weight:var(--w-card)}.rf-step>div>span{font-size:var(--t-body);font-weight:var(--w-body);color:var(--muted)}
.rf-step-n{width:32px;height:32px;background:var(--chip);color:var(--head);font-weight:var(--w-card)}
.rf-poster{border-radius:var(--rad)}
/* departures board: a contained dark screen on the page background (no band, no photo) */
.rf-lb,.live.rf-lb{padding:var(--sec-y) 0 0;background:none;color:inherit}
.rf-lb-h{margin-bottom:var(--s3)}
.rf-lb h2{font-size:var(--t-sec);font-weight:var(--w-title);color:var(--head)}
.rf-screen{border:0;border-radius:var(--rad);box-shadow:var(--card-sh);background:#04070d}
.rf-res{padding-bottom:0}.rf-res2{padding:var(--sec-y) 0}
/* city view: the landing band (the city photo under a dark tint, the route and Change in white), then the cards on the plain page */
.rf-sumw{position:relative;isolation:isolate}
html.rf-c:not(.rf-edit) .rf-sumw{padding:clamp(24px,3.4vw,44px) 0 clamp(48px,6vw,88px)}
.rf-cbg{inset:0;height:auto;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 40%,rgba(0,0,0,.6) 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 40%,rgba(0,0,0,.6) 70%,transparent 100%)}
.rf-cbg img{-webkit-mask-image:none;mask-image:none;filter:none}
.rf-cbg::after,[data-theme=dark] .rf-cbg::after{background:linear-gradient(90deg,rgba(6,14,32,.66) 0%,rgba(6,14,32,.5) 50%,rgba(6,14,32,.34) 100%)}
[dir=rtl] .rf-cbg::after{background:linear-gradient(270deg,rgba(6,14,32,.66) 0%,rgba(6,14,32,.5) 50%,rgba(6,14,32,.34) 100%)}
html.rf-c .rf-sum{min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;gap:10px 18px}
html.rf-c .rf-sb-t>b{font-size:clamp(22px,2.4vw,32px);font-weight:var(--w-title);letter-spacing:-.02em;color:#fff;text-shadow:0 1px 3px rgba(3,8,20,.5)}
html.rf-c .rf-sb-m small{font-size:var(--t-body);font-weight:var(--w-body);color:#e8eef9;text-shadow:0 1px 3px rgba(3,8,20,.5)}
html.rf-c .rf-sb-ch{color:#fff;font-weight:var(--w-label);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.5);text-shadow:0 1px 3px rgba(3,8,20,.5)}
html.rf-c .rf-sb-ch:hover span{text-decoration:none}
html.rf-c .rf-sb-bk{height:40px;border:1px solid rgba(255,255,255,.45);border-radius:var(--r-md);background:rgba(255,255,255,.1);color:#fff;font-weight:var(--w-label)}
html.rf-c .rf-sb-bk:hover{border-color:#fff;background:rgba(255,255,255,.18)}
html.rf-c:not(.rf-edit) .rf-res:not(.rf-res2){padding-top:0}
@media (min-width:1021px){html.rf-c:not(.rf-edit) .rf-sumw{padding-top:clamp(28px,3vw,44px)}}
/* city view cards: the route card and Book this trip side by side (equal heights, the same title style and padding), then the bus services */
.cv{gap:var(--s3)}
.rf-card,html.rf-c .cv-sum{background:var(--surf);border-color:var(--line);border-radius:var(--rad);box-shadow:var(--card-sh);-webkit-backdrop-filter:none;backdrop-filter:none}
.cv-sum{display:flex;flex-direction:column}.cv-sum>#ftSts{flex:1 1 auto;display:flex;flex-direction:column}
.rf-rh{padding:var(--s4) var(--s4) 0;border-bottom:0}
.rf-rh h2{font-size:var(--t-sec);font-weight:var(--w-title);letter-spacing:-.015em;line-height:1.2;margin:0}
.rf-rh h2 .ur{font-size:17px;color:var(--muted)}
.rf-sts{gap:0}.rf-st{display:flex;flex-direction:column;gap:2px;padding:var(--s3) var(--s4) 0;border:0}
.rf-st .k{order:-1;margin:0 0 2px;font-size:var(--t-label);font-weight:var(--w-label);letter-spacing:0;text-transform:none;color:var(--muted)}
.rf-st .v{font-size:22px;font-weight:var(--w-title);letter-spacing:-.01em}
.rf-st .s{margin:0;font-size:var(--t-small);font-weight:var(--w-body);color:var(--muted)}
.rf-way{margin-top:auto;padding:var(--s3) var(--s4) var(--s4);border:0;font-size:var(--t-small);font-weight:var(--w-body);color:var(--muted)}
.rf-empty{padding:var(--s3) var(--s4);border:0;font-weight:var(--w-label)}
@media (min-width:1021px){.cv:not(.cv-arr) .cv-sum .rf-st{padding:var(--s3) var(--s4) 0}}
.cv-line,html.rf-c .cv-line{padding:0 2px;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:var(--t-small);font-weight:var(--w-body);color:var(--muted)}
.cv-line b{font-weight:var(--w-label)}
/* bus services on the route: calm rows (sentence-case tags, a soft activity bar in the brand tint) */
.cv-list .rf-ops{padding:var(--s4)}
.rf-h4{font-size:var(--t-sec);font-weight:var(--w-title);letter-spacing:-.015em;line-height:1.2;margin:0 0 var(--s2)}
.rf-h4 .ur{font-size:16px;font-weight:500}
.rf-op{padding:12px 0}
.rf-n{background:var(--bg2);font-weight:var(--w-label);color:var(--muted)}
.rf-o{font-size:var(--t-body);font-weight:var(--w-card)}
.rf-m{font-size:var(--t-small);font-weight:var(--w-body);color:var(--muted)}.rf-m .tmv{font-weight:var(--w-label)}
.rf-bar,[data-theme=dark] .rf-bar{height:6px;background:var(--chip)}.rf-bar i{background:color-mix(in srgb,var(--brand) 55%,transparent)}[data-theme=dark] .rf-bar i{background:rgba(157,188,242,.6)}
.rf-op .st{font-size:12.5px;letter-spacing:0;padding:2px 8px;border-radius:6px}
.rf-op .st.ex{border-color:transparent;background:var(--bg2);color:var(--muted)}
.rf-op .st.ok{border-color:transparent}
.rf-mb{font-weight:var(--w-label);font-size:var(--t-label)}
@media (max-width:640px){.rf-hero.sb{padding:24px 0 calc(var(--fb) * .45)}.rf-form{padding:var(--s2);gap:var(--s2) var(--s1)}
  html.rf-c:not(.rf-edit) .rf-sumw{padding:16px 0 40px}html.rf-c .rf-sb-t>b{font-size:19px}html.rf-c .rf-sb-m small{font-size:var(--t-small)}html.rf-c .rf-sb-bk{width:34px;height:38px}
  .rf-rh{padding:var(--s3) var(--s3) 0}.rf-st{padding:var(--s2) var(--s3) 0}.rf-way{padding:var(--s2) var(--s3) var(--s3)}.cv-list .rf-ops{padding:var(--s3)}.rf-tab{padding:8px 10px}}
html[data-lang=ur] :is(.rf-tab,.rf-st .k,.rf-sh .n,.rf-op .st,.cv-line,.rf-m){font-size:15px}
/* Extra services open: the route card keeps its own height instead of stretching beside the taller Book this trip card */
.cv:has(.bt-more[open]) .cv-sum{align-self:start}
/* phones: the region filter on one row that scrolls sideways */
@media (max-width:640px){.rf-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.rf-tabs::-webkit-scrollbar{display:none}.rf-tab{flex:none}}
/* the search card travellers field: the three steppers fit its width */
.rf-px .pax3{gap:8px;padding:0 10px;justify-content:space-between}.rf-px .px{gap:4px}.rf-px .px button{width:28px;height:28px}
html.rf-c:not(.rf-edit) .rf-res.rf-res2{padding-top:var(--sec-y)}
/* ===== critic pass ===== */
/* the board frame: one card (the board inside follows the theme), as tall as the board (kbt3-find.js); the contact line under it, as on Home */
.rf-screen{border:1px solid var(--line);border-radius:var(--rad);box-shadow:var(--card-sh);background:var(--surf);overflow:hidden}
.rf-screen iframe{height:560px}
.rf-lc{margin-top:var(--s3)}
/* search header: the photo ends just under the search card (no faded band before the region tabs) */
.rf-hero.sb{padding-bottom:var(--s5)}
/* search card: one row at desktop widths; the board link is a plain text link after Find trips */
@media (min-width:1101px){.rf-form{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.15fr) minmax(330px,2.2fr) auto}.rf-form .rf-city,.rf-form .rf-px,.rf-form .rf-go{grid-column:auto}.rf-form.arr .rf-city{grid-column:span 4}}
/* the board button on the city photo band: a white outline button like All cities (the time, the words, the arrow) */
.rf-sum .rf-bb,.rf-sum .rf-bb:hover{min-height:40px;padding:0 10px 0 4px;gap:8px;border:1px solid rgba(255,255,255,.45);border-radius:var(--r-md);background:rgba(255,255,255,.1);box-shadow:none;color:#fff}
.rf-sum .rf-bb:hover{border-color:#fff;background:rgba(255,255,255,.18)}
.rf-sum .rf-bb-c{min-width:0;height:30px;padding:0 6px;border:0;border-radius:var(--r-sm);background:rgba(255,255,255,.14)}
.rf-sum .rf-bb-t{font-size:15px;font-weight:var(--w-card);color:#fff;text-shadow:none;letter-spacing:0}
.rf-sum .rf-bb-l b{font-size:var(--t-label);font-weight:var(--w-label);color:#fff}
.rf-sum .rf-bb-a{width:auto;height:auto;background:none;color:#fff}
.rf-bb:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
/* city photo band: a stronger tint under the white text; the route on one line */
.rf-cbg::after,[data-theme=dark] .rf-cbg::after{background:linear-gradient(90deg,rgba(6,14,32,.78) 0%,rgba(6,14,32,.64) 55%,rgba(6,14,32,.5) 100%)}
[dir=rtl] .rf-cbg::after{background:linear-gradient(270deg,rgba(6,14,32,.78) 0%,rgba(6,14,32,.64) 55%,rgba(6,14,32,.5) 100%)}
html.rf-c .rf-sb-t>b{white-space:nowrap}
@media (max-width:459px){html.rf-c .rf-sb-t>b{white-space:normal}}/* a long name wraps before the arrow (the arrow stays with the city, kbt3-find.js) */
@media (max-width:640px){html.rf-c .rf-sb-t>b{font-size:18px}html[data-lang=ur] .rf-sb-t>b{font-size:16px}}
@media (max-width:459px){.rf-sum .rf-bb-l{display:none}.rf-sum .rf-bb{padding:0 8px 0 4px}.rf-sum .rf-bb-a{display:grid}}
#cStrips .rf-strip:last-child,#cStrips2 .rf-strip:last-child{margin-bottom:0}
/* the loose distance line under the band repeats the route card: gone */
.cv-line,html.rf-c .cv-line{display:none}
/* route card: its own height, the figures and the route line from the top (no stretched gap) */
.cv-sum,html.rf-c .cv-sum{align-self:start}
.rf-way{margin-top:0}
.rf-way .nw{white-space:nowrap}
/* bus services: name and details on the left; the tag above the actions on the right; Book always at the right end (Check trip icons before it) */
.rf-op,.rf-op.hx{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"o s" "o x";column-gap:var(--s3);row-gap:6px;align-items:start}
.rf-op:not(.hx){grid-template-areas:"o s"}
.rf-n,.rf-bar{display:none}
.rf-op .rf-o{grid-area:o}.rf-op .st{grid-area:s;justify-self:end;align-self:start}
.rf-x{grid-area:x;justify-self:end;margin:0;display:flex;align-items:center;gap:6px}
.rf-x .ck{display:inline-flex;gap:6px}
.rf-x .ck-b,.rf-x .ck-b.wa{width:34px;height:32px;color:var(--head)}
.rf-op .st,.rf-op .st.ex{font-size:var(--t-small);font-weight:var(--w-label)}
/* details line: separators drawn between the parts; a part that starts a line has none (clip), so no dot hangs at a line edge */
.rf-m{display:flex;flex-wrap:wrap;align-items:baseline;margin-inline-start:-14px;clip-path:inset(0 0 0 14px);margin-top:2px}
[dir=rtl] .rf-m{clip-path:inset(0 14px 0 0)}
.rf-m>span{position:relative;margin-inline-start:14px}
.rf-m>span::before{content:"·";position:absolute;inset-inline-start:-10px;color:var(--muted)}
@media (max-width:560px){.rf-op,.rf-op.hx{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"o o" "s x";row-gap:8px}.rf-op:not(.hx){grid-template-areas:"o o" "s ."}.rf-op .st{justify-self:start;align-self:center}}
/* browse: every city tile the same width in every strip; a darker foot under the white name */
.rf-sr{grid-auto-columns:200px}
@media (max-width:640px){.rf-sr{grid-auto-columns:168px}}
.rf-scr{background:linear-gradient(180deg,rgba(8,16,36,0) 18%,rgba(8,16,36,.6) 48%,rgba(8,16,36,.9) 100%)}
/* how it works: the three steps across the full width (no photo tile) */
.rf-poster{display:none}
.rf-how-g{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.rf-res2{padding-bottom:var(--s5)}
html.rf-c:not(.rf-edit) .rf-res.rf-res2{padding-bottom:var(--s5)}
/* Urdu never below 15 px */
html[data-lang=ur] :is(.rf-sb-m small,.rf-sb-m small *,.rf-op .st,.rf-m){font-size:15px}
.rf-sb-m small [lang=ur]{font-size:15px}
/* the city band: the tint stays full under the summary line and Change, then fades */
.rf-cbg{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 72%,rgba(0,0,0,.5) 86%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 72%,rgba(0,0,0,.5) 86%,transparent 100%)}

/* ===== glass pass (kbt-r.css glass tokens): the search card and Departures / Arrivals are glass over the mountain photo, which fades softly into the page;
   the region filter is a glass segmented track; city view: the city photo runs on behind the top of the route and Book this trip cards (glass), then fades out ===== */
.rf-form,.rf-step,.rf-card,html.rf-c .cv-sum{background:var(--g-card);border:1px solid var(--card-b);box-shadow:var(--card-sh);-webkit-backdrop-filter:var(--glass-f);backdrop-filter:var(--glass-f)}
.rf-form,html.rf-c .cv-sum{background:var(--g-card-ph)}
.rf-seg{background:var(--g-seg);border-color:var(--card-b);box-shadow:var(--card-sh);-webkit-backdrop-filter:var(--glass-f);backdrop-filter:var(--glass-f)}
.rf-seg button.on{background:var(--brand) var(--g-btn);box-shadow:var(--btn-hl)}
.rf-go{background:var(--brand) var(--g-btn);box-shadow:var(--btn-hl)}
.rf-screen{border-color:var(--card-b);box-shadow:var(--card-sh)}
/* region filter: one glass track, the chosen region in the brand gradient */
.rf-tabs{width:max-content;max-width:100%;padding:4px;gap:4px;border:1px solid var(--card-b);border-radius:var(--r-md);background:var(--g-seg);box-shadow:var(--card-sh)}
.rf-tab,.rf-tab:hover{padding:8px 14px;border-radius:9px}
.rf-tab:hover{background:var(--g-well)}
.rf-tab.on,.rf-tab.on:hover,[data-theme=dark] .rf-tab.on{background:var(--brand) var(--g-btn);color:var(--onbrand);box-shadow:var(--btn-hl)}
@media (max-width:640px){.rf-tab,.rf-tab:hover{padding:8px 12px}}
/* city view: the band keeps its tint under the white text; the photo continues under the cards and fades out */
html.rf-c:not(.rf-edit) .rf-sumw{padding-bottom:clamp(24px,3vw,40px)}
.rf-cbg{bottom:calc(-1 * clamp(160px,18vw,280px));-webkit-mask-image:linear-gradient(180deg,#000 0,#000 34%,rgba(0,0,0,.72) 52%,rgba(0,0,0,.36) 72%,rgba(0,0,0,.1) 88%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 34%,rgba(0,0,0,.72) 52%,rgba(0,0,0,.36) 72%,rgba(0,0,0,.1) 88%,transparent 100%)}
.rf-res{position:relative}
.rf-cbg::after{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 40%,rgba(0,0,0,.45) 62%,rgba(0,0,0,.25) 100%);mask-image:linear-gradient(180deg,#000 0,#000 40%,rgba(0,0,0,.45) 62%,rgba(0,0,0,.25) 100%)}
[data-theme=dark] .rf-cbg::after{-webkit-mask-image:none;mask-image:none}
@media (max-width:640px){html.rf-c:not(.rf-edit) .rf-sumw{padding-bottom:20px}.rf-cbg{bottom:-140px}}
/* text contrast on the photo: Departures / Arrivals on the denser glass; All cities and the board button on the city band as dark glass */
.rf-seg{background:var(--g-card-ph)}
html.rf-c .rf-sb-bk,.rf-sum .rf-bb{background:rgba(6,14,32,.42);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html.rf-c .rf-sb-bk:hover,.rf-sum .rf-bb:hover{background:rgba(6,14,32,.56)}
.rf-sum .rf-bb-c{background:rgba(255,255,255,.1)}

/* ===== Search Manzil (Discover Meri Manzil): the page as a Manzil section (merimanzil.pk look), inside the KBT header and footer.
   Manzil colours only (the logo's red #FC1D1E, navy #012A48 / #01142A, white). A dark Manzil hero in both themes (navy, a soft red and white glow, a white network and particle ribbon drawn in SVG,
   a red kicker, a large light heading, the Manzil logo, the search on glass); below it: light = white page, navy ink, white cards; dark = deep navy page and navy cards.
   Find trips and Arrivals = KBT blue; Departures, Book Trip and Request Booking = Manzil red ===== */
.rf-main{--head:#012A48;--g-card:#fff;--g-card-ph:#fff;--card-b:rgba(1,42,72,.14);--card-sh:0 1px 2px rgba(1,42,72,.05),0 16px 36px -26px rgba(1,42,72,.4);--link:#012A48;--focus:#012A48;--glass-f:none}
[data-theme=dark] .rf-main{--head:#fff;--ink:#e3ecf3;--ink2:#a9bccb;--muted:#a9bccb;--surf:#01223c;--bg2:rgba(255,255,255,.05);--chip:rgba(255,255,255,.07);--line:rgba(255,255,255,.09);--line2:rgba(255,255,255,.18);
 --g-card:linear-gradient(160deg,#033459 0%,#012A48 100%);--g-card-ph:var(--g-card);--card-b:rgba(255,255,255,.1);--card-sh:0 22px 48px -30px rgba(0,0,0,.85);--g-seg:#012A48;--g-well:rgba(255,255,255,.05);--link:#fff;--focus:#fff}
[data-theme=dark] body[data-page=find]{background:linear-gradient(180deg,#01142A 0,#011c38 45%,#012A48 100%)}
[data-theme=dark] body[data-page=find]::before{--glow-a:rgba(255,255,255,.04);--glow-b:rgba(252,29,30,.05);--glow-c:rgba(255,255,255,.03);--glow-d:rgba(1,20,42,.3)}
[data-theme=light] body[data-page=find]::before{display:none}
/* the hero */
main .rf-hero.mm-hero.sb{padding:clamp(24px,2.6vw,36px) 0 16px;color:#fff;color-scheme:dark;
 background:radial-gradient(46% 70% at 86% 18%,rgba(252,29,30,.16),transparent 70%),radial-gradient(40% 80% at 8% 110%,rgba(255,255,255,.08),transparent 70%),linear-gradient(180deg,#01142A 0%,#012A48 100%);
 --head:#fff;--ink:#e8eef9;--ink2:#c3cfdc;--muted:#c3cfdc;--surf:rgba(255,255,255,.07);--bg2:rgba(255,255,255,.09);--chip:rgba(255,255,255,.09);--line:rgba(255,255,255,.14);--line2:rgba(255,255,255,.26);--link:#fff;--focus:#fff;--card-b:rgba(255,255,255,.16)}
.mm-hero::before{content:none}
.mm-hero .rf-top{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"tt brand";align-items:center;gap:12px 28px}
.mm-tt{grid-area:tt;min-width:0}.mm-brand{grid-area:brand;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
html[data-theme] .mm-hero p.mm-k{margin:0 0 8px;font-family:var(--display);font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fc1e1e;line-height:1.3}
.mm-hero.sb .rf-top h1,.mm-hero .rf-top h1{margin:0;font-size:clamp(36px,4.4vw,64px);font-weight:400;letter-spacing:-.045em;line-height:1.02;color:#fff;text-shadow:none}
.mm-logo{display:block;width:auto;height:46px}
html[data-theme] .mm-hero p.mm-pwr{margin:0;font-size:12.5px;font-weight:600;color:#a9bdd0;white-space:nowrap}html[data-theme] .mm-hero .mm-pwr b{font-weight:800;color:#fff}
html[data-lang=ur][data-theme] .mm-hero p.mm-k{font-family:var(--ur);font-size:16px;letter-spacing:0;text-transform:none;line-height:1.6}
html[data-lang=ur] .mm-hero .rf-top h1{font-size:clamp(30px,3.4vw,46px);letter-spacing:0;line-height:1.5}
/* Departures | Arrivals: a dark glass track; Departures in the Manzil red, Arrivals in the KBT blue */
.mm-hero .rf-seg{grid-column:1/-1;justify-self:start;padding:3px;gap:3px;border:1px solid var(--line2);background:var(--bg2);box-shadow:none}
.mm-hero .rf-seg button{color:var(--muted)}.mm-hero .rf-seg button:hover:not(.on){color:var(--head)}
.mm-hero .rf-seg button.on[data-m=departures]{background:#c8161a var(--mz-red-btn);color:#fff;box-shadow:none}
.mm-hero .rf-seg button.on[data-m=arrivals]{background:#2f59a5 var(--kbt-btn);color:#fff;box-shadow:none}
/* the search on dark glass */
.mm-hero .rf-form{margin-top:16px;background:linear-gradient(160deg,rgba(1,42,72,.74) 0%,rgba(1,20,42,.68) 100%);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 30px 60px -32px rgba(0,0,0,.85);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2)}
.mm-hero .rf-form .fld select,[data-theme=dark] .mm-hero .rf-form .fld select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2cee5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.mm-hero .rf-form .fld select option{background:#012A48;color:#fff}
.mm-hero .combo-pop{background:#012A48;border-color:rgba(255,255,255,.16);box-shadow:0 26px 50px -20px rgba(0,0,0,.8)}
.rf-go,.rf-go:hover{background:#2f59a5 var(--kbt-btn);color:#fff;border-radius:var(--r-sm);box-shadow:none}
@media (max-width:640px){main .rf-hero.mm-hero.sb{padding:18px 0 12px}.mm-logo{height:30px}html[data-theme] .mm-hero p.mm-pwr{font-size:11.5px}.mm-hero .rf-top{gap:10px 12px}.mm-hero .rf-form{margin-top:12px}}
/* below the hero: region tabs on one white track, the chosen region in Manzil navy (dark: white); headings in the light large Manzil style */
.rf-main .rf-tabs{background:#fff;border-radius:var(--r-md);box-shadow:none}
[data-theme=dark] .rf-main .rf-tabs{background:#012A48}
.rf-main .rf-tab{border-radius:var(--r-sm)}
.rf-main .rf-tab.on,.rf-main .rf-tab.on:hover{background:#012A48;color:#fff;box-shadow:none}
[data-theme=dark] .rf-main .rf-tab.on,[data-theme=dark] .rf-main .rf-tab.on:hover{background:#fff;color:#012A48}
html[data-theme] .rf-main :is(.rf-sh,.rf-lb h2,.rf-rh h2,.rf-h4,.bt-hd h2){font-weight:500;letter-spacing:-.03em}
html[data-lang=ur] .rf-main :is(.rf-sh,.rf-lb h2,.rf-rh h2,.rf-h4,.bt-hd h2){letter-spacing:0}
/* city cards: dark navy photo cards with a hairline and the navy foot */
.rf-main .rf-cc{border:1px solid rgba(1,42,72,.2);box-shadow:0 14px 30px -22px rgba(1,42,72,.7)}
[data-theme=dark] .rf-main .rf-cc{border-color:rgba(255,255,255,.1)}
.rf-main .rf-scr{background:linear-gradient(180deg,rgba(1,20,42,0) 18%,rgba(1,20,42,.62) 50%,rgba(1,20,42,.94) 100%)}
.rf-main .rf-sa{background:#012A48;color:#fff;border:1px solid rgba(255,255,255,.2)}
/* city view: the summary band is the dark Manzil band (the city photo under a deep navy tint and a soft red glow), with the red kicker */
html.rf-c .rf-sumw{background:linear-gradient(180deg,#01142A 0%,#012A48 100%)}
.rf-cbg::after,[dir=rtl] .rf-cbg::after,[data-theme=dark] .rf-cbg::after{background:radial-gradient(40% 90% at 86% 10%,rgba(252,29,30,.14),transparent 70%),linear-gradient(90deg,rgba(1,12,30,.9) 0%,rgba(1,20,42,.76) 55%,rgba(1,30,56,.62) 100%)}
html.rf-c .rf-sumw>.kr-wrap::before{content:"Manzil · Search";display:block;margin:0 0 8px;font:800 13px/1.3 var(--display);letter-spacing:.14em;text-transform:uppercase;color:#fc1e1e}
html[data-lang=ur].rf-c .rf-sumw>.kr-wrap::before{content:"منزل · تلاش";font:500 16px/1.6 var(--ur);letter-spacing:0;text-transform:none}
[data-theme=light] .rf-cbg{bottom:0;-webkit-mask-image:none;mask-image:none}
[data-theme=light] .rf-cbg::after{-webkit-mask-image:none;mask-image:none}
html[data-theme=light].rf-c:not(.rf-edit) .rf-res:not(.rf-res2){padding-top:16px}
/* density */
main .rf-hero.mm-hero.sb{padding-top:clamp(16px,1.7vw,24px)}
.rf-tabs{margin-bottom:12px}
.rf-strip,.rf-strip.sb{margin-bottom:16px}
.rf-sh{margin-bottom:10px}
.rf-lb-h{margin-bottom:12px}
.rf-res2,html.rf-c:not(.rf-edit) .rf-res.rf-res2{padding-bottom:var(--sec-y)}
.cv,.rf-how-g{gap:12px}
html.rf-c:not(.rf-edit) .rf-sumw{padding:20px 0}
@media (min-width:1021px){html.rf-c:not(.rf-edit) .rf-sumw{padding-top:20px}}
@media (max-width:640px){html.rf-c:not(.rf-edit) .rf-sumw{padding:14px 0}.rf-strip,.rf-strip.sb{margin-bottom:12px}}
.rf-res:not(.rf-res2){padding-top:16px}
.rf-how{margin-bottom:16px}
/* light theme: the search on the dark hero is crisp white glass with navy text (dark theme: navy glass) */
[data-theme=light] .mm-hero .rf-form{color-scheme:light;--head:#012A48;--ink:#0d2236;--ink2:#47536b;--muted:#47536b;--surf:#fff;--bg2:#f2f6fb;--chip:#edf2fb;--line:#e2e8f2;--line2:#cfd8e6;--link:#012A48;--focus:#012A48;
 background:rgba(255,255,255,.93);border-color:rgba(255,255,255,.7);box-shadow:0 30px 60px -32px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2)}
[data-theme=light] .mm-hero .rf-form .fld select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347536b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
[data-theme=light] .mm-hero .rf-form .fld select option{background:#fff;color:#0d2236}
[data-theme=light] .mm-hero .combo-pop{background:#fff;border-color:#cfd8e6;box-shadow:0 26px 50px -20px rgba(6,14,32,.5)}
/* radius scale: the search card 24 px, city cards 20 px, Find trips like every button */
.rf-form{border-radius:24px}
.rf-cc{border-radius:20px}
.rf-go,.rf-go:hover{border-radius:var(--r-md)}
/* Search Manzil alignment: the title row (kicker and title left, the logo and Powered by right, centred); a faint network line only in the empty space between them;
   Departures | Arrivals as the first row of the search card; every control and the search button 48 px on one bottom edge; the button follows the mode
   (Departures: Manzil red, Find departures; Arrivals: KBT blue, Find arrivals); one left edge for the title, the card content, the region tabs and the headings (the card reaches out by its padding) */
.mm-hero .rf-top::after{content:"";position:absolute;top:50%;left:clamp(480px,48%,700px);right:clamp(280px,22vw,330px);height:96px;transform:translateY(-50%);pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M-10 65 16 68 42 73 68 78 93 82 119 86 145 88 171 87 197 85 222 80 248 74 274 66 300 58 326 50 352 44 378 40 403 38 429 38 455 41 481 45 507 50 532 56 558 61 584 64 610 67' stroke-opacity='0.32' stroke-dasharray='0 7'/%3E%3Cpath d='M-10 68 16 71 42 74 68 78 93 82 119 85 145 87 171 87 197 85 222 81 248 75 274 69 300 62 326 56 352 51 378 47 403 45 429 46 455 48 481 51 507 56 532 60 558 64 584 67 610 69' stroke-opacity='0.2' stroke-dasharray='0 10'/%3E%3Cpath d='M-10 71 16 73 42 76 68 79 93 82 119 84 145 86 171 86 197 84 222 81 248 77 274 71 300 66 326 61 352 57 378 54 403 53 429 53 455 55 481 57 507 61 532 64 558 68 584 70 610 72' stroke-opacity='0.11' stroke-dasharray='0 13'/%3E%3Cpath d='M-10 63 16 60 42 55 68 50 93 46 119 42 145 40 171 41 197 43 222 48 248 54 274 62 300 70 326 78 352 84 378 88 403 90 429 90 455 87 481 83 507 78 532 72 558 67 584 64 610 61' stroke-opacity='0.32' stroke-dasharray='0 7'/%3E%3Cpath d='M-10 66 16 63 42 60 68 56 93 52 119 49 145 47 171 47 197 49 222 53 248 59 274 65 300 72 326 78 352 83 378 87 403 89 429 88 455 86 481 83 507 78 532 74 558 70 584 67 610 65' stroke-opacity='0.2' stroke-dasharray='0 10'/%3E%3Cpath d='M-10 69 16 67 42 64 68 61 93 58 119 56 145 54 171 54 197 56 222 59 248 63 274 69 300 74 326 79 352 83 378 86 403 87 429 87 455 85 481 83 507 79 532 76 558 72 584 70 610 68' stroke-opacity='0.11' stroke-dasharray='0 13'/%3E%3C/g%3E%3Cpath d='M120 40L200 78M200 78L285 34M285 34L360 82M360 82L430 40M430 40L500 74M500 74L560 30M200 78L360 82M285 34L430 40M430 40L560 30' stroke='%23fff' stroke-opacity='.16' stroke-width='1'/%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Ccircle cx='120' cy='40' r='2.6'/%3E%3Ccircle cx='200' cy='78' r='2.6'/%3E%3Ccircle cx='285' cy='34' r='2.6'/%3E%3Ccircle cx='430' cy='40' r='2.6'/%3E%3Ccircle cx='500' cy='74' r='2.6'/%3E%3Ccircle cx='560' cy='30' r='2.6'/%3E%3C/g%3E%3Ccircle cx='360' cy='82' r='9' fill='%23FC1D1E' fill-opacity='.18'/%3E%3Ccircle cx='360' cy='82' r='3.6' fill='%23FC1D1E'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.9}
@media (max-width:1100px){.mm-hero .rf-top::after{content:none}}
.rf-form .rf-go{align-self:end;height:var(--ctl-h);min-height:var(--ctl-h)}
.rf-go .go-a,.rf-form.arr .rf-go .go-d{display:none}.rf-form.arr .rf-go .go-a{display:inline}
.rf-go,.rf-go:hover{background:#c8161a var(--mz-red-btn);color:#fff}
.rf-form.arr .rf-go,.rf-form.arr .rf-go:hover{background:#2f59a5 var(--kbt-btn);color:#fff}
.rf-main{--cp:16px}
.rf-main .kr-wrap{padding-left:max(var(--gut),calc(var(--cp) + 15px));padding-right:max(var(--gut),calc(var(--cp) + 15px))}
.mm-hero .rf-form{margin-inline:calc(-1 * (var(--cp) + 1px));padding:var(--cp)}
@media (max-width:640px){.rf-main{--cp:12px}}
/* phones: the title takes the row; the logo and Powered by under it */
@media (max-width:640px){.mm-hero .rf-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"tt" "brand"}.mm-brand{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px}html[data-theme] .mm-hero .rf-top h1{font-size:38px}}
/* Search Manzil: the Manzil logo and Powered by Meri Manzil Technologies in the hero's top-right corner (phones: the first row, at the right) */
.mm-brand{align-self:start;margin-top:calc(-1 * clamp(16px,1.7vw,24px) + 10px)}
@media (max-width:640px){.mm-hero .rf-top{grid-template-areas:"brand" "tt"}.mm-brand{justify-content:flex-end;margin-top:-8px;flex-wrap:wrap}}
/* dark: the Search Manzil cards on the same glass (a navy gradient, blur, hairline, the KBT blue top edge); the page keeps soft blue and red glows behind it */
[data-theme=dark] .rf-main{--g-card:linear-gradient(180deg,rgba(14,70,118,.56) 0%,rgba(4,42,76,.66) 55%,rgba(1,24,48,.76) 100%);--g-card-ph:var(--g-card);--card-b:rgba(170,205,255,.17);
 --card-sh:inset 0 2px 0 rgba(112,152,228,.55),inset 0 3px 8px -6px rgba(255,255,255,.18),0 22px 48px -30px rgba(0,0,0,.85);--glass-f:blur(16px) saturate(1.3);--g-seg:linear-gradient(180deg,rgba(14,70,118,.5) 0%,rgba(1,24,48,.66) 100%)}
[data-theme=dark] body[data-page=find]::before{--glow-a:rgba(47,89,165,.3);--glow-b:rgba(252,29,30,.07);--glow-c:rgba(64,112,204,.18);--glow-d:rgba(1,20,42,.3)}
[data-theme=dark] .rf-main :is(.rf-card,.cv-sum,.rf-step){-webkit-backdrop-filter:var(--glass-f);backdrop-filter:var(--glass-f)}
.rf-screen{background:transparent}
/* city view: only the Book this trip card is a card; the route summary and the bus service list sit directly on the page */
html .rf-card:is(.cv-sum,.cv-list),html.rf-c .rf-card:is(.cv-sum,.cv-list){background:none;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}
html .rf-card:is(.cv-sum,.cv-list)::before,html .rf-card:is(.cv-sum,.cv-list)::after{display:none}
html .cv-list .rf-ops{padding:var(--s2,8px) 0 0}
html .cv:not(.cv-arr) .cv-sum .rf-st{padding-inline:0}
html .cv-sum .rf-rh,html .cv-sum .rf-way{padding-inline:0}

/* Request seat (the service's request on Meri Manzil) in place of the status tag; call and WhatsApp beside it, large and filled */
.rf-op .st.rq{padding:0;border:0;border-radius:0;background:none;letter-spacing:0;font-size:inherit}
.rf-req{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;background:#E0191B;color:#fff;font-weight:800;font-size:15px;white-space:nowrap;text-decoration:none;box-shadow:0 6px 16px rgba(224,25,27,.3)}
.rf-req:hover,.rf-req:focus-visible{background:#C01416;color:#fff;text-decoration:none}
.rf-req svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rf-x .ck-b,.rf-x .ck-b.wa{width:44px;height:44px;border-radius:12px;border:0;background:var(--head);color:var(--surf)}
.rf-x .ck-b svg{width:22px;height:22px}

.rf-trip-plan { padding: clamp(16px, 3vw, 28px); }
.rf-trip-plan h2 { margin: 0 0 14px; }
.rf-trip-plan dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0 0 16px; }
.rf-trip-plan dl > div { padding: 10px 12px; border-radius: 10px; background: var(--bg2); }
.rf-trip-plan dt { color: var(--ink2); font-size: .87em; }
.rf-trip-plan dd { margin: 2px 0 0; font-weight: 750; }
.rf-plan-book { min-height: 44px; }
