/* Nassem flight engine — isolated styles shared by the home and flight pages. */
.nf-enabled { --nf-purple:#4b1e70; --nf-dark:#2d153d; --nf-orange:#ff7136; --nf-muted:#80748a; --nf-border:#e9e2ed; }
.nf-search,.nf-dialog { direction:rtl; font-family:"Segoe UI",Tahoma,Arial,sans-serif; color:var(--nf-dark,#2d153d); font-size:14px; line-height:1.6; }
.nf-search *,.nf-dialog * { box-sizing:border-box; }
.nf-search svg,.nf-dialog svg,.nf-airline-strip svg { width:22px; height:22px; flex:none; }
.nf-search button,.nf-dialog button { font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s; }
.nf-search button:disabled,.nf-dialog button:disabled { cursor:default; opacity:.4; }
.nf-search button:focus-visible,.nf-dialog button:focus-visible,.nf-dialog input:focus-visible,.nf-dialog select:focus-visible { outline:3px solid #a16ac0; outline-offset:3px; }
.nf-search [hidden],.nf-dialog [hidden],.nf-legacy { display:none!important; }
.nf-enabled .home-search-card { padding:0!important; overflow:visible!important; border-radius:24px; z-index:5; }
.nf-enabled .home-search-card:before { border-radius:24px 24px 0 0; }
.nf-search { padding:26px; border-radius:24px; background:linear-gradient(135deg,#fff 55%,#fbf7ff); box-shadow:0 18px 70px #3f185511; }
.nf-heading { display:flex; gap:18px; justify-content:space-between; align-items:center; margin-bottom:18px; }
.nf-kicker { display:flex; gap:7px; align-items:center; color:#a9552c; font-size:11px; font-weight:700; letter-spacing:.1px; }
.nf-kicker svg { width:17px;height:17px; }
.nf-heading h2 { margin:4px 0 0; font-size:25px; color:#351747; font-weight:750; line-height:1.5; }
.nf-assurance { display:flex; gap:6px; align-items:center; color:#668077; font-size:11px; white-space:nowrap; }
.nf-assurance svg { width:17px;height:17px; }
.nf-trip { display:inline-flex; padding:4px; gap:4px; border:1px solid var(--nf-border); border-radius:13px; background:#f6f1f8; margin-bottom:16px; }
.nf-trip button { display:flex; align-items:center; gap:9px; border:0; background:transparent; color:#7d6d86; border-radius:9px; padding:9px 18px; font-weight:700; font-size:13px; }
.nf-trip button svg { width:17px;height:17px; }
.nf-trip button.is-selected { background:var(--nf-purple); color:white; box-shadow:0 5px 12px #4b1e7020; }
.nf-fields { display:grid; grid-template-columns:minmax(300px,2.1fr) minmax(190px,1.3fr) minmax(150px,1fr) 110px; align-items:stretch; gap:10px; padding:10px; border:1px solid #ebe3ef; border-radius:19px; background:#f6f2f8; }
.nf-route { display:grid; grid-template-columns:1fr 1fr; position:relative; gap:14px; min-width:0; }
.nf-field { display:flex; align-items:center; gap:10px; min-width:0; width:100%; min-height:80px; padding:12px 14px; border:1px solid #e1d5e9; background:#fff; text-align:right; border-radius:12px; }
.nf-field:hover { border-color:#a97fbd; box-shadow:0 4px 15px #4b1e700a; }
.nf-field>svg { padding:8px; width:38px;height:38px; background:#f4edf8; border-radius:11px; color:#68348c; }
.nf-field[data-open=destination]>svg { color:#2796a0; background:#eaf7f7; }
.nf-field>span { min-width:0; flex:1; }
.nf-field small { display:block; color:#918397; font-size:10px; margin-bottom:3px; }
.nf-field strong { display:block; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.nf-field bdi { display:inline-block; color:#8c7c97; font-size:10px; font-weight:500; }
.nf-field em { display:block; color:#84738b; font-size:10px; font-style:normal; }
.nf-swap { position:absolute; top:50%; right:50%; transform:translate(50%,-50%); display:grid; place-items:center; border:4px solid #f6f2f8; background:var(--nf-purple); color:#fff; width:36px;height:36px;border-radius:50%;z-index:1; }
.nf-swap svg { width:16px;height:16px; }
.nf-swapping svg { animation:nf-swap .25s ease; }
@keyframes nf-swap { to { transform:rotate(180deg); } }
.nf-date-fields { display:flex; min-width:0; gap:6px; }
.nf-date-fields .nf-field { padding:10px; gap:7px; }
.nf-date-fields:has([data-open=return]:not([hidden])) .nf-field>svg { display:none; }
.nf-date-fields .nf-field strong { font-size:12px; }
.nf-submit,.nf-primary { display:flex; gap:9px; justify-content:center; align-items:center; border:0; border-radius:12px; background:linear-gradient(120deg,#ff623e,#ff9a25); color:#fff; font-weight:800!important; box-shadow:0 7px 20px #f8763726; padding:12px 24px; }
.nf-submit:hover,.nf-primary:hover { box-shadow:0 9px 24px #f8763740; transform:translateY(-1px); }
.nf-submit:active,.nf-primary:active { transform:translateY(1px); }
.nf-submit { font-size:16px!important; padding:10px; }
.nf-under { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:14px 3px 0; color:#9a8aa1; font-size:11px; }
.nf-under label { display:flex; align-items:center; gap:8px; cursor:pointer; color:#716078; }
.nf-under input { width:17px;height:17px; accent-color:#4b1e70; margin:0; }
.nf-stop { border:0;background:transparent;color:#ae4837;font-size:12px; }
.nf-message { color:#b74936; font-size:13px; margin-bottom:0; }
.nf-dialog-open { overflow:hidden; }
.nf-dialog { --nf-purple:#4b1e70; --nf-dark:#2d153d; --nf-border:#e9e2ed; padding:0; border:1px solid #eee5f2; background:#fff; border-radius:24px; width:min(580px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:90dvh; overflow:auto; box-shadow:0 30px 100px #24102c30; }
.nf-dialog[open] { animation:nf-open .2s cubic-bezier(.16,1,.3,1); }
.nf-dialog::backdrop { background:#25143165; backdrop-filter:blur(3px); }
@keyframes nf-open { from{opacity:0;transform:translateY(9px) scale(.99)} to{opacity:1;transform:none} }
.nf-dialog[data-panel=calendar] { width:min(850px,calc(100vw - 32px)); }
.nf-dialog[data-panel=passengers] { width:min(420px,calc(100vw - 32px)); }
.nf-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid #f0eaf3; background:#fff; position:sticky;top:0;z-index:4; }
.nf-dialog-head h2 { margin:2px 0 0; font-size:20px;color:#361747; }
.nf-dialog-head>button { display:grid;place-items:center; width:36px;height:36px; border-radius:50%; border:1px solid #e9e1ee; background:#faf7fc;color:#685174; }
.nf-dialog-head>button svg { width:17px;height:17px; }
.nf-dialog-content { padding:20px 24px 0; }
.nf-airport-input { display:flex; gap:10px; align-items:center; padding:12px 16px; border:1.5px solid #8f62a9; background:#faf7fc; border-radius:13px; }
.nf-airport-input svg { color:#906ba2; }
.nf-airport-input input { min-width:0;width:100%;font:inherit;font-size:16px;color:#34203f;border:0;outline:0!important;background:transparent; }
.nf-airport-state { color:#97899c;font-size:12px;margin:16px 0 10px; }
.nf-airport-list { max-height:410px;overflow:auto; margin:0 -8px; padding-bottom:18px; }
.nf-airport-option { width:100%;display:flex;align-items:center;gap:14px; padding:12px 10px;border:0;border-radius:12px;text-align:right;background:#fff;color:#382343; }
.nf-airport-option:hover,.nf-airport-option:focus-visible { background:#f5eef9; }
.nf-airport-option i { display:grid;place-items:center;width:40px;height:40px;background:#f8f4fa;border-radius:12px;color:#9266ac; }
.nf-airport-option>span { flex:1; }
.nf-airport-option strong { display:block;font-size:14px; }
.nf-airport-option small { display:block;font-size:11px;color:#928297; }
.nf-airport-option bdi { border:1px solid #ece4f1;padding:4px 9px;border-radius:7px;color:#7b5c8f;font-size:12px; }
.nf-date-summary { display:flex;gap:10px; }
.nf-date-summary button { flex:1; border:1px solid #ece5f0;background:#faf8fc;border-radius:12px;text-align:right;padding:12px 15px;color:#776382; }
.nf-date-summary button.is-active { border-color:#8e60a9;background:#f4ebfa; box-shadow:0 0 0 2px #f4ebfa; }
.nf-date-summary small { display:block;font-size:11px;color:#8c7895; }
.nf-date-summary strong { display:block;font-size:13px; }
.nf-calendar-nav { display:flex;align-items:center;justify-content:space-between;padding-top:18px; }
.nf-calendar-nav>button { display:grid;place-items:center;width:34px;height:34px;background:#fff;border:1px solid #e6dfea;border-radius:50%;color:#715380; }
.nf-calendar-nav>button[data-month="-1"] svg { transform:rotate(180deg); }
.nf-calendar-nav span { color:#8e7a99;font-size:12px; }
.nf-months { display:grid; grid-template-columns:1fr 1fr;gap:26px; }
.nf-month h3 { text-align:center;font-size:15px;color:#3f2650;margin:10px 0 18px; }
.nf-week,.nf-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr));text-align:center; }
.nf-week { color:#a496ac;font-size:10px;margin-bottom:8px; }
.nf-day { position:relative; min-height:54px; padding:5px 1px; background:transparent; border:1px solid transparent; border-radius:9px; color:#4b3657;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px; }
.nf-day b { font-size:14px;font-weight:600; }
.nf-day small { font-size:9px;line-height:1.3;color:#3c9d89;white-space:nowrap; }
.nf-day em { font-size:7px;color:#319382;font-style:normal;line-height:1;white-space:nowrap; }
.nf-day.is-today { border-color:#ccb3d9; }
.nf-day:hover:not(:disabled) { background:#eee0f6; }
.nf-day.is-range { background:#f1e6f7;border-radius:0; }
.nf-day.is-selected { background:#4b1e70!important;color:#fff;box-shadow:0 4px 10px #4b1e7024;border-radius:10px; }
.nf-day.is-selected small,.nf-day.is-selected em { color:#fff; }
.nf-day.is-limited:after { content:"";width:4px;height:4px;background:#f99b3b;border-radius:50%;position:absolute;top:4px; }
.nf-day:disabled { opacity:.27; }
.nf-price-note { color:#9987a3; font-size:10px; padding:8px 0;line-height:1.8; }
.nf-dialog-actions { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;position:sticky;bottom:0; background:#fff; border-top:1px solid #f0eaf3; z-index:3; }
.nf-text-button { border:0;background:transparent;color:#856491;padding:10px; }
.nf-dialog-actions:has([data-passengers-done]) .nf-primary { width:100%; }
.nf-mobile-label { display:none; }
.nf-counter-row { display:flex;gap:12px;align-items:center;padding:19px 0;border-bottom:1px solid #f1ebf4; }
.nf-counter-row>i { display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#8d65a1;background:#f8f2fb; }
.nf-counter-row>span { flex:1; }
.nf-counter-row>span strong { display:block;font-size:14px; }
.nf-counter-row small { display:block;color:#998aa2;font-size:11px; }
.nf-counter { display:flex;align-items:center;gap:10px;direction:ltr; }
.nf-counter button { display:grid;place-items:center;width:38px;height:38px;border:1px solid #e9ddf0;border-radius:11px;background:#fff;color:#683e80;font-size:22px; }
.nf-counter b { min-width:20px;text-align:center;font-size:18px; }
.nf-cabin-label { display:grid;gap:8px;padding:20px 0 0;font-size:13px;font-weight:600; }
.nf-cabin-label select { width:100%;height:46px;border:1px solid #e1d4e9;background:#faf7fc;border-radius:10px;padding:0 12px;color:#573069;font:inherit; }
/* Results keep the existing source / fare / booking rendering. */
.nf-flight-page { background:#f8f6fa; }
.nf-flight-page .search-shell { display:block!important; max-width:1320px;margin:26px auto 0;padding:0 24px!important;min-height:0;background:none!important;overflow:visible;border:0; }
.nf-flight-page .search-shell:before { display:none!important; }
.nf-flight-page .travel-photo,.nf-flight-page .title-row { display:none; }
.nf-flight-page .search-surface { max-width:none;width:100%;padding:0!important;border:1px solid #e9e0ef;border-radius:25px;background:#fff;box-shadow:none;overflow:visible; }
.nf-flight-page .results-shell { max-width:1320px;margin:26px auto;padding:0 24px; }
.nf-flight-page .results-head { border:0;background:none;padding:8px 0 18px; }
.nf-flight-page .results-head h2 { font-size:23px;color:#3f1b57; }
.nf-flight-page .results-head p { font-size:12px; }
.nf-flight-page .results-layout { gap:22px;grid-template-columns:250px minmax(0,1fr); }
.nf-flight-page .flight-filter-panel { background:#fff;border:1px solid #eae2ef;border-radius:18px;padding:18px;box-shadow:0 8px 32px #4b1e7005;align-self:start; }
.nf-flight-page .flight-filter-section h3 { font-size:13px; }
.nf-flight-page .flight-filter-section label { font-size:12px;min-height:36px; }
.nf-flight-page .flight-filter-section input { accent-color:#5a277c; }
.nf-flight-page .flight-filter-section select { border:1px solid #e8deee;padding:8px;background:white;color:#624373;border-radius:9px;font:inherit;width:100%; }
.nf-flight-page .search-date-navigator { direction:rtl;padding:8px 0 16px;background:none;border:0; }
.nf-flight-page .date-strip-arrow svg { display:block;width:18px;height:18px; }
.nf-flight-page .date-strip-card { border:1px solid #e9e0ee;background:#fff;border-radius:13px;min-width:112px;box-shadow:none; }
.nf-flight-page .date-strip-card.is-active { border-color:#7c489d;background:#f3eafa;box-shadow:inset 0 0 0 1px #7c489d; }
.nf-flight-page .date-strip-card small { font-size:10px;color:#8e7e97; }
.nf-flight-page .date-strip-card strong { font-size:13px; }
.nf-flight-page .date-strip-card em { font-size:11px; }
.nf-flight-page .date-strip-card i { font-size:8px; }
.nf-flight-page .date-strip-cards { display:flex!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;min-width:0;gap:8px;padding:3px 1px 12px;scroll-snap-type:x proximity; }
.nf-flight-page .date-strip-cards::-webkit-scrollbar { display:none;width:0;height:0; }
.nf-flight-page .date-strip-card { direction:rtl;flex:0 0 112px;scroll-snap-align:center; }
.nf-strip-compact { display:none; }
.nf-flight-page .flight-card { background:#fff;border:1px solid #e9e1ee!important;border-radius:18px!important;box-shadow:0 5px 22px #32104405;overflow:hidden;transition:border-color .2s,box-shadow .2s; }
.nf-flight-page .flight-card:hover { border-color:#cbb4d9!important;box-shadow:0 9px 30px #3210440d; }
.nf-flight-page .flight-leg-title { background:#faf6fc;color:#875c9e;font-size:11px;padding:7px 16px;border:0; }
.nf-flight-page .flight-leg-main { padding:18px; }
.nf-flight-page .flight-legs .airline-logo { width:44px;height:44px;object-fit:contain;border:1px solid #eee7f3;border-radius:10px;background:#fff;padding:5px; }
.nf-flight-page .airline-name { font-size:13px; }
.nf-flight-page .time-block>strong { font-size:26px;letter-spacing:-.7px;color:#392346; }
.nf-flight-page .time-block>span { font-size:10px;color:#98869f; }
.nf-flight-page .path-line>span:first-child { font-size:11px;color:#947d9f; }
.nf-flight-page .route-stop-pill { font-size:9px; }
.nf-flight-page .flight-total { padding:18px;border-color:#f1eaf5;background:#fcfaff; }
.nf-flight-page .price { color:#4b1e70;font-size:29px;font-weight:850;letter-spacing:-.5px; }
.nf-flight-page .price-block>span { color:#a290aa;font-size:10px; }
.nf-flight-page .flight-meta { border-top:1px solid #f1eaf5;gap:6px;padding:11px 16px; }
.nf-flight-page .flight-meta>span { font-size:10px;border-radius:7px;background:#faf6fc;border-color:#eee4f3;padding:5px 8px; }
.nf-flight-page .flight-meta>span.is-seats { background:#cf303d;border-color:#cf303d;color:#fff;font-weight:800; }
.nf-flight-page .weather-card { display:block;background:linear-gradient(120deg,#fff,#f7f4fb);border-color:#e8dff0; }
.nf-weather-overview { display:flex;align-items:center;gap:14px; }
.nf-weather-scene { width:80px;height:80px;flex-shrink:0;overflow:visible; }
.weather-card .nf-weather-heading small { display:block;color:#925c19;font-size:10px;font-weight:800; }
.weather-card .nf-weather-heading strong { font-size:16px;color:#4b1e70;line-height:1.7; }
.nf-weather-heading>bdi { font-size:10px;color:#786687; }
.nf-weather-temperature { margin-inline-start:auto;text-align:center; }
.nf-weather-temperature>bdi { font-size:32px;font-weight:900;color:#4b1e70;white-space:nowrap; }
.nf-weather-temperature>bdi>small { font-size:14px;color:#925c19; }
.weather-card .nf-weather-temperature span { font-size:11px;color:#6f607a; }
.nf-weather-retry { border:1px solid #e5dceb;border-radius:50%;min-width:34px;min-height:34px;background:white;color:#4b1e70;font:inherit;cursor:pointer; }
.nf-weather-retry:focus-visible { outline:3px solid #ffb83d;outline-offset:3px; }
.nf-weather-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px; }
.nf-weather-metrics>div { padding:9px;text-align:center;border-radius:10px;background:#f1edf6; }
.nf-weather-metrics small { display:block;color:#786687;font-size:10px; }
.nf-weather-metrics bdi { display:block;margin-top:3px;color:#4b1e70;font-size:12px;font-weight:800; }
.nf-weather-footer { display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:9px; }
.weather-card .nf-weather-footer span,.nf-weather-footer a { font-size:9px;color:#786687; }
.nf-weather-status { color:#786687;font-size:12px; }
.nf-weather-sun { transform-origin:48px 38px;animation:nf-weather-turn 35s linear infinite; }
.nf-weather-cloud { animation:nf-weather-float 4s ease-in-out infinite; }
.nf-weather-drops { animation:nf-weather-rain 1.6s ease-in-out infinite; }
@keyframes nf-weather-turn { to { transform:rotate(360deg); } }
@keyframes nf-weather-float { 50% { transform:translateX(3px); } }
@keyframes nf-weather-rain { 50% { transform:translateY(4px);opacity:.5; } }
@media(max-width:480px) { .nf-weather-overview{gap:8px;flex-wrap:wrap}.nf-weather-scene{width:52px;height:60px}.weather-card .nf-weather-heading strong{font-size:13px}.nf-weather-temperature>bdi{font-size:26px}.nf-weather-metrics bdi{font-size:11px}.nf-weather-retry{min-width:30px;min-height:30px} }
@media(prefers-reduced-motion:reduce) { .nf-weather-sun,.nf-weather-cloud,.nf-weather-drops{animation:none} }
.nf-flight-page .whatsapp-button { background:linear-gradient(120deg,#ff683a,#ff9630);border-radius:10px;padding:10px 18px;font-size:12px; }
.nf-flight-page .flight-transit-panel { margin:0 18px 15px;background:#faf7fc;border:1px solid #eee5f3;border-radius:12px;padding:12px; }
.nf-flight-page .flight-transit-panel>summary { cursor:pointer;list-style:none;color:#826190;font-weight:600;font-size:11px;display:flex;justify-content:space-between;align-items:center;min-height:30px; }
.nf-flight-page .flight-transit-panel>summary:after { content:"＋";font-size:16px; }
.nf-flight-page .flight-transit-panel[open]>summary:after { content:"−"; }
.nf-flight-page .flight-transit-segment { font-size:11px; }
.nf-flight-page .flight-transit-stop { background:#fff8ed;color:#a66e2a;border-color:#f8e7c9;border-radius:8px;margin:8px 0; }
.nf-airline-nav { display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;direction:rtl;margin-bottom:18px; }
.nf-airline-nav.has-overflow { grid-template-columns:40px minmax(0,1fr) 40px; }
.nf-airline-nav[hidden],.nf-airline-nav [hidden] { display:none!important; }
.nf-airline-strip { display:flex;gap:9px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:3px 1px;scrollbar-width:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain; }
.nf-airline-strip::-webkit-scrollbar { display:none;width:0;height:0; }
.nf-airline-arrow { display:grid;place-items:center;width:40px;height:44px;border:1px solid #e4d9eb;border-radius:50%;background:#fff;color:#4b1e70;cursor:pointer;transition:background .18s,border-color .18s; }
.nf-airline-arrow svg { width:18px;height:18px; }
.nf-airline-arrow:hover:not(:disabled) { border-color:#a77ebd;background:#f5eef9; }
.nf-airline-arrow:disabled { opacity:.35;cursor:default; }
.nf-airline-arrow:focus-visible { outline:3px solid #a16ac0;outline-offset:2px; }
.nf-airline-chip { direction:rtl;flex:0 0 auto;display:flex;align-items:center;gap:9px;border:1px solid #e9e0ef;background:#fff;border-radius:12px;padding:10px 14px;text-align:right;cursor:pointer;color:#5c386e;font:inherit;scroll-snap-align:start; }
.nf-airline-chip img { width:30px;height:30px;object-fit:contain; }
.nf-airline-chip span { display:grid;gap:3px; }
.nf-airline-chip b { font-size:11px; }.nf-airline-chip small{font-size:10px;color:#9b8aa4; }
.nf-airline-chip.is-active { border-color:#9466ad;background:#f5edf9; }
.nf-flight-page .loading-state { display:flex;flex-direction:row;align-items:center;gap:18px;text-align:right;padding:18px 22px;border:1px solid #e9dfef;border-radius:16px;background:#fff;margin:0 0 18px;box-shadow:none; }
.nf-flight-page .loading-state[hidden] { display:none; }
.nf-loading-route { display:flex;align-items:center;gap:12px;direction:ltr;font-size:13px;color:#846094; }
.nf-loading-route>i { display:block;width:70px;height:2px;background:#e9dcec;position:relative; }
.nf-loading-route svg { width:20px;height:20px;position:absolute;top:-9px;left:0;color:#f57d3d;animation:nf-flying 2.2s ease-in-out infinite; }
@keyframes nf-flying { 0%,100%{transform:translateX(0)}50%{transform:translateX(50px)} }
.nf-loading-copy { flex:1; }.nf-loading-copy strong{font-size:13px;display:block;color:#59346b}.nf-loading-copy small{font-size:11px;color:#a08ba9; }
.nf-results-count { color:#9b85a5;font-size:12px; }
.nf-load-more { display:block;margin:20px auto;padding:12px 28px;border:1px solid #d9c7e4;border-radius:11px;background:#fff;color:#6b3d85;cursor:pointer;font:inherit; }
.nf-flight-page .empty-state { border:1px dashed #ddcbe8;border-radius:20px;background:#fff;padding:40px 20px; }
.nf-flight-page .flight-filter-panel.is-mobile-open { height:100dvh!important;max-height:100dvh!important; }
@media(max-width:1150px){.nf-fields{grid-template-columns:1.6fr 1fr}.nf-route{grid-column:1}.nf-passengers{grid-column:1}.nf-submit{grid-column:2;grid-row:2}.nf-date-fields{grid-column:2;grid-row:1}.nf-flight-page .results-layout{grid-template-columns:220px minmax(0,1fr)}.nf-heading h2{font-size:22px}}
@media(max-width:760px){
  .nf-search{padding:18px 14px;border-radius:18px}.nf-heading{margin-bottom:15px}.nf-heading h2{font-size:20px}.nf-assurance{display:none}.nf-kicker{font-size:10px}.nf-trip{margin-bottom:12px}.nf-trip button{padding:8px 14px;font-size:12px}.nf-fields{padding:7px;gap:8px;grid-template-columns:1fr 100px;border-radius:16px}.nf-route{grid-column:1/-1;grid-row:1;gap:13px}.nf-field{min-height:74px;padding:10px;gap:7px}.nf-field>svg{width:30px;height:30px;padding:7px;border-radius:8px}.nf-field strong{font-size:12px}.nf-field small{font-size:9px}.nf-date-fields{grid-column:1/-1;grid-row:2}.nf-date-fields .nf-field{min-height:66px}.nf-passengers{grid-column:1;grid-row:3}.nf-submit{grid-column:2;grid-row:3;font-size:15px!important}.nf-submit svg{width:18px}.nf-under>span{display:none}.nf-under{font-size:10px;padding:12px 3px 0}.nf-swap{width:33px;height:33px;border-width:3px}.nf-field bdi{display:block;font-size:9px}.nf-date-fields .nf-field bdi{display:inline}
  .nf-dialog,.nf-dialog[data-panel=calendar],.nf-dialog[data-panel=passengers]{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;width:100%;max-width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border:0;animation:nf-sheet .25s cubic-bezier(.16,1,.3,1)}
  .nf-dialog[data-panel=airport]{height:94dvh}.nf-dialog-content{padding:16px 16px 0}.nf-dialog-head{padding:16px 20px}.nf-dialog-head h2{font-size:18px}.nf-airport-list{max-height:none}.nf-airport-input input{font-size:16px}.nf-months{grid-template-columns:1fr;gap:0}.nf-month{padding-top:10px}.nf-week{font-size:10px}.nf-day{min-height:54px}.nf-day b{font-size:16px}.nf-day small{font-size:10px}.nf-day em{font-size:7px}.nf-month h3{font-size:15px;margin:9px 0 17px}.nf-calendar-nav{padding-top:15px}.nf-date-summary button{padding:11px}.nf-date-summary strong{font-size:12px}.nf-dialog-actions{padding-bottom:max(16px,env(safe-area-inset-bottom));}.nf-mobile-label{display:inline}.nf-desktop-label{display:none}.nf-dialog-actions .nf-primary{flex:1}.nf-counter button{width:44px;height:44px}.nf-counter-row{padding:18px 0}
  @keyframes nf-sheet{from{transform:translateY(45px);opacity:0}to{transform:none;opacity:1}}
  .nf-flight-page .search-shell{padding:0 12px;margin-top:15px}.nf-flight-page .search-surface{border-radius:20px}.nf-flight-page .results-shell{padding:0 12px;margin-top:18px}.nf-flight-page .results-head{flex-wrap:wrap;gap:9px}.nf-flight-page .results-head h2{font-size:20px}.nf-flight-page .filters select{font-size:11px;min-height:38px}.nf-flight-page .results-layout{display:block}.nf-flight-page .results-list{gap:14px}.nf-flight-page .flight-filter-panel:not(.is-mobile-open){display:none}.nf-flight-page .flight-filter-panel.is-mobile-open{display:block;position:fixed;inset:0;z-index:2000;border-radius:0;padding:20px 20px 100px;overflow:auto;max-height:none;background:#fff}.nf-flight-page .mobile-filter-toggle{display:flex;align-items:center;gap:7px;min-height:40px}.nf-flight-page .mobile-filter-close{display:block}.nf-flight-page .mobile-filter-actions{display:block;position:fixed;bottom:0;right:0;left:0;padding:15px;background:white;border-top:1px solid #eee2f4;z-index:2}.nf-flight-page .mobile-filter-actions button{background:#4b1e70;color:white;border:0;border-radius:12px;width:100%;padding:13px;font:inherit}.nf-flight-page .flight-leg-main{padding:14px 12px;gap:13px}.nf-flight-page .flight-total{padding:14px;gap:10px}.nf-flight-page .price{font-size:26px}.nf-flight-page .time-block>strong{font-size:22px}.nf-flight-page .time-block>span{font-size:9px;line-height:1.7}.nf-flight-page .airline-name{font-size:12px}.nf-flight-page .flight-meta{padding:10px;gap:5px}.nf-flight-page .flight-meta>span{font-size:9px}.nf-flight-page .flight-transit-panel{margin:0 10px 10px;padding:10px}.nf-flight-page .flight-transit-segment{grid-template-columns:1fr;gap:6px}.nf-flight-page .flight-transit-airline{font-size:10px}.nf-flight-page .loading-state{padding:14px;gap:10px;flex-wrap:wrap}.nf-loading-route{gap:8px}.nf-loading-route>i{width:45px}.nf-loading-copy small{font-size:10px}.nf-airline-strip{gap:7px}.nf-airline-chip{padding:8px 10px}.nf-airline-chip b{font-size:10px}.nf-flight-page .date-strip-card{min-width:96px}
}
@media(max-width:360px){.nf-field>svg{display:none}.nf-fields{grid-template-columns:1fr 82px}.nf-heading h2{font-size:18px}.nf-search{padding:16px 10px}.nf-counter{gap:6px}.nf-counter-row>i{display:none}.nf-date-summary strong{font-size:11px}}
/* One viewport-sized mobile dialog, with only its inner content scrolling. */
@media(max-width:760px){
  body.nf-dialog-open { position:fixed;top:var(--nf-page-scroll,0px);left:0;right:0;width:100%;overflow:hidden; }
  .nf-search { padding:16px 12px;border-radius:18px; }
  .nf-heading { margin-bottom:12px;gap:8px; }
  .nf-heading h2 { font-size:18px;line-height:1.5; }
  .nf-fields { padding:6px;gap:7px;grid-template-columns:minmax(0,1fr) 88px; }
  .nf-field { min-height:64px;padding:9px 10px; }
  .nf-field strong { font-size:12px;line-height:1.5;overflow-wrap:normal; }
  .nf-route { gap:17px; }
  .nf-route .nf-field { gap:6px;padding:10px 8px; }
  .nf-route .nf-field>svg { width:24px;height:24px;padding:5px; }
  .nf-route .nf-field strong { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
  .nf-route .nf-field bdi { display:inline-block;font-size:9px;margin-inline-start:3px; }
  .nf-date-fields .nf-field { min-height:60px;flex:1; }
  .nf-passengers { min-height:60px; }
  .nf-submit { min-height:52px; }
  .nf-trip button { min-height:40px;padding:7px 14px; }
  .nf-under { padding-top:10px; }
  .nf-dialog,.nf-dialog[data-panel=calendar],.nf-dialog[data-panel=airport] {
    top:var(--nf-viewport-top,0px);bottom:auto;left:0;right:0;margin:0;
    width:100%;max-width:100%;height:var(--nf-viewport-height,100dvh);max-height:var(--nf-viewport-height,100dvh);
    border-radius:0;overflow:hidden;overscroll-behavior:none;animation:nf-sheet .2s ease-out;
  }
  .nf-dialog[open] { display:flex;flex-direction:column; }
  .nf-dialog[data-panel=passengers] { top:auto;bottom:var(--nf-viewport-bottom,0px);height:auto;max-height:var(--nf-viewport-height,100dvh);border-radius:20px 20px 0 0; }
  .nf-dialog-head { position:static;flex:none;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));gap:10px; }
  .nf-dialog-head h2 { font-size:17px;line-height:1.5; }
  .nf-dialog-head .nf-kicker { font-size:9px; }
  .nf-dialog-head>button { width:44px;height:44px; }
  .nf-dialog-content { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px 14px 0; }
  .nf-dialog[data-panel=airport] .nf-dialog-content,.nf-dialog[data-panel=calendar] .nf-dialog-content { display:flex;flex-direction:column;overflow:hidden; }
  .nf-airport-input { flex:none;padding:10px 12px;min-height:48px; }
  .nf-airport-input input { min-height:26px; }
  .nf-airport-state { flex:none;margin:10px 0 6px;font-size:11px; }
  .nf-airport-list { flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;margin:0 -4px;padding:0 4px max(16px,env(safe-area-inset-bottom)); }
  .nf-airport-option { min-height:60px;padding:9px 6px;gap:10px;border-bottom:1px solid #f5f0f7;border-radius:9px; }
  .nf-airport-option i { width:32px;height:32px;border-radius:9px; }
  .nf-airport-option i svg { width:18px;height:18px; }
  .nf-airport-option>span { min-width:0; }
  .nf-airport-option strong { font-size:13px;overflow-wrap:anywhere; }
  .nf-airport-option small { font-size:10px; }
  .nf-airport-option bdi { font-size:11px;padding:3px 7px;flex:none; }
  .nf-date-summary { flex:none;gap:8px; }
  .nf-date-summary button { padding:9px 10px;min-height:58px;min-width:0; }
  .nf-date-summary small { font-size:10px; }
  .nf-date-summary strong { font-size:12px;line-height:1.5; }
  .nf-calendar-nav { flex:none;padding-top:10px;min-height:50px; }
  .nf-calendar-nav>button { width:44px;height:44px; }
  .nf-months { flex:1;min-height:0;display:block;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 10px; }
  .nf-month { padding-top:0; }
  .nf-month h3 { font-size:15px;margin:10px 0 12px; }
  .nf-week { margin-bottom:5px;font-size:10px; }
  .nf-day { min-height:48px;gap:2px; }
  .nf-day b { font-size:15px; }
  .nf-day small { font-size:9px; }
  .nf-price-note { flex:none;margin:0;padding:6px 0;font-size:9px;line-height:1.6; }
  .nf-dialog-actions { position:static;flex:none;padding:10px 0 max(12px,env(safe-area-inset-bottom));gap:10px; }
  .nf-dialog-actions .nf-primary { min-height:46px;padding:10px 14px;font-size:13px; }
  .nf-dialog-actions .nf-text-button { min-height:44px; }
  .nf-counter-row { padding:13px 0;gap:9px; }
  .nf-counter-row>span strong { font-size:13px; }
  .nf-counter-row small { font-size:10px; }
  .nf-cabin-label { padding-top:14px; }
  .nf-cabin-label select { font-size:16px; }
  .nf-flight-page .search-shell { width:100%;padding:0 10px!important;margin-top:12px; }
  .nf-flight-page .search-surface { margin-top:0; }
  .nf-flight-page .results-shell { width:100%;padding:0 10px;margin-top:14px; }
  .nf-flight-page .results-head { display:grid;grid-template-columns:minmax(0,1fr) auto;padding-bottom:12px;gap:8px; }
  .nf-flight-page .results-head h2 { font-size:18px;margin:0; }
  .nf-flight-page .results-head p { font-size:11px; }
  .nf-flight-page .results-head .filters { grid-column:2;grid-row:1;width:auto;padding:2px; }
  .nf-flight-page .results-head .filters select { width:auto;min-width:95px;max-width:115px;font-size:11px; }
  .nf-flight-page .mobile-filter-toggle { grid-column:1/-1;justify-content:center;min-height:42px; }
  .nf-flight-page .search-date-navigator { grid-template-columns:32px minmax(0,1fr) 32px;gap:4px;padding:3px 0 10px;margin:0 0 6px;overflow:visible; }
  .nf-flight-page .date-strip-cards { gap:4px;padding:3px 1px 7px;overflow-y:hidden;scrollbar-width:none; }
  .nf-flight-page .date-strip-cards::-webkit-scrollbar { display:none; }
  .nf-flight-page .date-strip-card { flex:0 0 52px;min-width:52px;min-height:70px;padding:5px 2px;gap:2px;border-radius:9px; }
  .nf-flight-page .date-strip-card small { font-size:9px;line-height:1.2; }
  .nf-flight-page .date-strip-card strong { font-size:12px;line-height:1.4; }
  .nf-flight-page .date-strip-card em { min-height:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:1.3; }
  .nf-flight-page .date-strip-card i { position:static;font-size:7px;line-height:1.2; }
  .nf-flight-page .date-strip-arrow { position:relative;width:30px;height:34px;font-size:21px; }
  .nf-flight-page .date-strip-arrow:before { content:"";position:absolute;inset:-5px; }
  .nf-flight-page .nf-strip-full { display:none; }
  .nf-flight-page .nf-strip-compact { display:inline; }
  .nf-airline-nav { margin-bottom:12px;gap:4px; }
  .nf-airline-nav.has-overflow { grid-template-columns:32px minmax(0,1fr) 32px; }
  .nf-airline-arrow { width:32px;height:44px;border-radius:12px; }
  .nf-airline-strip { padding:3px 1px;gap:6px;scrollbar-width:none; }
  .nf-airline-chip { padding:8px;gap:6px; }
  .nf-airline-chip img { width:24px;height:24px; }
  .nf-airline-chip b { font-size:10px; }.nf-airline-chip small { font-size:9px; }
  .nf-flight-page .flight-leg-main { padding:12px 10px; }
  .nf-flight-page .flight-legs { padding:10px;gap:8px; }
  .nf-flight-page .timeline { grid-template-columns:minmax(0,1fr) minmax(60px,.8fr) minmax(0,1fr);gap:8px; }
  .nf-flight-page .path-line { min-width:0; }
  .nf-flight-page .time-block>strong { font-size:clamp(18px,5vw,22px);white-space:nowrap;letter-spacing:-.4px; }
  .nf-flight-page .time-block>span { font-size:9px;line-height:1.6; }
  .nf-flight-page .flight-total { padding:12px; }
}
@media(max-width:360px){
  .nf-heading h2{font-size:17px}.nf-fields{grid-template-columns:minmax(0,1fr) 78px}.nf-search{padding:14px 10px}
  .nf-flight-page .date-strip-card{flex-basis:46px;min-width:46px}.nf-counter-row>i{display:none}
  .nf-date-summary strong{font-size:11px}.nf-dialog-content{padding-inline:12px}
}
@media(max-width:760px) and (max-height:620px){ .nf-dialog-head{padding-block:8px}.nf-dialog-head .nf-kicker{display:none}.nf-calendar-nav{padding-top:6px;min-height:44px}.nf-date-summary button{min-height:52px;padding:6px 9px}.nf-month h3{margin-block:6px}.nf-day{min-height:44px}.nf-price-note{display:none} }
@media(prefers-reduced-motion:reduce){.nf-enabled *, .nf-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
