/* AMUSTAY Flight v68 — compact chip editor, automatic history, mobile two-column route grid. */
.flight-v68-legacy{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.cached-side-v51>h2{position:absolute!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
.flight-v68-panel{display:grid;gap:.38rem;min-width:0;margin:0}
.flight-v68-editor{display:flex;flex-wrap:wrap;align-content:flex-start;gap:.28rem;min-height:3rem;padding:.38rem;border:1px solid #94a3b8;border-radius:.75rem;background:#fff;cursor:text}
.flight-v68-editor:focus-within{outline:2px solid #38bdf8;outline-offset:1px}
.flight-v68-chip{display:inline-flex;align-items:center;gap:.26rem;min-width:0;max-width:100%;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;padding:.22rem .24rem .22rem .48rem;line-height:1}
.flight-v68-chip>b{font:800 .76rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
.flight-v68-chip>span{max-width:8.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:.66rem}
.flight-v68-chip>button{border:0;background:transparent;color:#64748b;font:900 .83rem/1 system-ui;cursor:pointer;padding:.08rem .24rem}
.flight-v68-inline-input{flex:1 1 3.2rem;min-width:2.8rem;width:4.5rem;border:0;outline:0;background:transparent;color:#0f172a;font:800 .78rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;padding:.2rem}
.flight-v68-inline-input::placeholder{color:#64748b}
.flight-v68-quick,.flight-v68-more-groups,.flight-v68-country-list{display:flex;flex-wrap:wrap;gap:.24rem}
.flight-v68-quick button,.flight-v68-more button,.flight-v68-toolbar button{border:1px solid #94a3b8;border-radius:.48rem;background:#fff;color:#0f172a;font:750 .66rem/1.05 system-ui;padding:.34rem .42rem;cursor:pointer}
.flight-v68-quick button:hover,.flight-v68-more button:hover,.flight-v68-toolbar button:hover{background:#e0f2fe;border-color:#38bdf8}
.flight-v68-recent{display:grid;gap:.2rem}
.flight-v68-history-row{display:grid;grid-template-columns:minmax(0,1fr) 1.65rem;gap:.2rem;align-items:center}
.flight-v68-history-row button{min-width:0;min-height:1.55rem;border:1px solid #d7dee8;border-radius:.42rem;background:#fff;font-size:.62rem;padding:.2rem .34rem;cursor:pointer}
.flight-v68-history-use{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.flight-v68-more{border-top:1px solid #e2e8f0;padding-top:.25rem}
.flight-v68-more summary{cursor:pointer;font-size:.68rem;font-weight:800;color:#334155}
.flight-v68-more h4{margin:.52rem 0 .24rem;font-size:.66rem}
.flight-v68-all-presets{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.28rem;align-items:center;margin:.2rem 0 .48rem}
.flight-v68-all-presets select,.flight-v68-country select{min-width:0;min-height:2rem;border:1px solid #94a3b8;border-radius:.46rem;background:#fff;padding:.3rem .38rem;font-size:.68rem}
.flight-v68-country{display:grid;grid-template-columns:auto minmax(5rem,1fr) auto;gap:.28rem;align-items:center}
.flight-v68-country h4{margin:0}.flight-v68-country-list{grid-column:1/-1;max-height:10rem;overflow:auto}.flight-v68-country-list button{font-weight:500;font-size:.61rem}
.flight-v68-location{margin-top:.4rem}.flight-v68-status{min-height:.8rem;margin:.22rem 0 0;font-size:.64rem;color:#475569}.flight-v68-status.is-error{color:#b91c1c;font-weight:700}
.flight-v68-toolbar{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:.42rem 0}.flight-v68-trip{display:inline-flex;gap:.2rem}.flight-v68-trip button{font-size:.66rem;padding:.36rem .52rem}.flight-v68-trip button.is-active,.flight-v68-trip button[aria-pressed="true"]{background:#0f172a;color:#fff;border-color:#0f172a;font-weight:800}.flight-v68-hidden-trip{display:none!important}
.flight-v68-swap{font-size:1.25rem!important;line-height:1!important;padding:.28rem .48rem!important;align-self:stretch;display:flex;align-items:center;justify-content:center}
#flight-v68-toolbar[data-trip-warning]::after{content:attr(data-trip-warning);font-size:.68rem;color:#9b1c1c;margin-left:.25rem}
/* Keep departure and arrival side-by-side on phones; chips wrap inside each half. */
@media(max-width:760px){
  .cached-shell-v51{padding-left:7px!important;padding-right:7px!important}
  .cached-hero-v51{padding:18px 9px!important}.cached-card-v51{padding:9px!important}
  .cached-grid-v51{grid-template-columns:minmax(0,1fr) 1.8rem minmax(0,1fr)!important;gap:.25rem!important;align-items:stretch!important}
  .cached-arrow-v51{transform:none!important;padding:0!important;text-align:center!important;line-height:1!important}
  .flight-v68-chip{padding-left:.38rem}.flight-v68-chip>b{font-size:.7rem}.flight-v68-chip>span{max-width:4.7rem;font-size:.59rem}.flight-v68-chip>button{padding-left:.13rem;padding-right:.13rem}
  .flight-v68-editor{min-height:4.1rem;padding:.28rem;gap:.2rem}.flight-v68-quick{gap:.18rem}.flight-v68-quick button{font-size:.57rem;padding:.29rem .31rem}
  .flight-v68-history-row button{font-size:.56rem}.flight-v68-more summary{font-size:.62rem}
  .flight-v68-all-presets{grid-template-columns:1fr}.flight-v68-all-presets button{width:100%}
  .flight-v68-country{grid-template-columns:1fr auto}.flight-v68-country h4{grid-column:1/-1}
}
@media(max-width:390px){.flight-v68-chip>span{display:none}.flight-v68-quick button{font-size:.54rem;padding:.27rem}.flight-v68-history-row{grid-template-columns:minmax(0,1fr) 1.45rem}}
