:root{--navy:#09273f;--navy2:#133c57;--red:#d82038;--gold:#b89c75;--ink:#143047;--muted:#617384;--line:#e4e9ec;--bg:#f5f7f7;--white:#fff;--radius:20px;--shadow:0 18px 48px rgba(13,43,60,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button,a{touch-action:manipulation}
button{cursor:pointer}
:focus-visible{outline:3px solid #e45e65;outline-offset:3px}
.topbar{background:#fff;border-bottom:1px solid #e9eeef}
.topbar-inner{max-width:1300px;margin:auto;min-height:94px;display:flex;justify-content:space-between;align-items:center;gap:28px;padding:15px 28px}
.identity{display:inline-flex;align-items:center;gap:14px;flex:0 0 auto}
.nav-wing{display:block;width:119px;max-height:34px;object-fit:contain}
.identity-name{font-size:19px;letter-spacing:.20em;color:var(--navy);font-weight:760;line-height:1.1}
.identity-name small{display:block;font-weight:550;letter-spacing:.15em;font-size:8px;margin-top:8px;color:#61788a}
.nav-actions{display:flex;align-items:center;gap:26px;font-weight:640;font-size:14px}
.nav-actions a:hover,.quiet:hover,.small-link:hover{text-decoration:underline}
.nav-actions form{margin:0}
.nav-actions .nav-new{background:var(--navy);color:white;border-radius:9px;padding:11px 18px;text-decoration:none}
.nav-actions .nav-new:hover{background:#204a65}
.quiet{border:0;background:transparent;color:var(--muted);padding:10px 0;font-size:14px;font-weight:570}
.container{max-width:1250px;margin:0 auto;min-height:calc(100vh - 160px);padding:55px 28px 80px}
.site-footer{max-width:1300px;margin:0 auto;padding:21px 28px 30px;border-top:1px solid var(--line);color:#71818d;font-size:12px;display:flex;gap:18px;justify-content:space-between}
.eyebrow{display:block;color:var(--red);font-size:11px;font-weight:780;letter-spacing:.20em;margin-bottom:16px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(34px,4.1vw,58px);line-height:1.08;font-weight:780;letter-spacing:-.04em;margin-bottom:19px;color:var(--navy)}
h2{color:var(--navy);font-size:22px;line-height:1.2;letter-spacing:-.025em}
h3{color:var(--navy);font-size:21px}
p{color:var(--muted)}
em{font-style:normal;color:var(--red)}
.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:46px;padding:11px 20px;font-size:14px;font-weight:750;border-radius:10px;white-space:nowrap;border:1px solid transparent}
.btn-primary{background:var(--red);color:white;box-shadow:0 8px 20px rgba(208,25,50,.13)}
.btn-primary:hover{background:#b61930}
.btn-secondary{color:var(--navy);background:#fff;border-color:#d8e0e5}
.btn-secondary:hover{border-color:#7e93a3}
.alerts{display:grid;gap:10px;margin-bottom:22px}
.alert{padding:12px 18px;border-radius:10px;border:1px solid #bacbd8;background:#eaf2f7;color:#11354d}
.alert.error{background:#fff0f0;border-color:#f5c4c5;color:#9d1428}
.alert.success{background:#ebf7ed;border-color:#b9e1c3;color:#216338}
.login-wrap{display:grid;grid-template-columns:1.04fr .96fr;gap:38px;align-items:stretch;max-width:1150px;padding-top:85px}
.login-panel{padding:25px 22px 40px 2px}
.login-panel h1{font-size:clamp(39px,4.8vw,65px)}
.login-panel>p{max-width:450px;font-size:16px}
.login-form{max-width:415px;margin:39px 0 18px;display:grid;gap:18px}
.login-form label{font-size:13px;font-weight:760;color:#355068;display:grid;gap:8px}
.login-form input,.flight-form input,.flight-form textarea,.search input{display:block;width:100%;height:48px;border:1px solid #cdd9df;border-radius:9px;padding:11px 13px;color:var(--navy);background:#fff;font-size:15px;outline:0}
.login-form input:focus,.flight-form input:focus,.flight-form textarea:focus,.search input:focus{border-color:#2b637d;box-shadow:0 0 0 3px rgba(46,103,132,.15)}
.login-form .btn-primary{justify-content:space-between;margin-top:8px}
.small{font-size:12px}.subdued{color:#798994}
.login-illustration{min-height:505px;display:flex;flex-direction:column;justify-content:space-between;border-radius:26px;overflow:hidden;background:linear-gradient(145deg,#0d304a,#091d31 73%);padding:50px 48px;color:#fff;position:relative}
.login-illustration:after{content:"";position:absolute;width:580px;height:580px;left:13%;top:18%;border:1px solid rgba(255,255,255,.10);border-radius:50%;box-shadow:0 0 0 84px rgba(255,255,255,.025),0 0 0 168px rgba(255,255,255,.018);pointer-events:none}
.preview-mark{position:relative;z-index:1;padding-top:100px}
.preview-mark img{width:100%;max-width:460px;filter:brightness(0) invert(1);opacity:.98}
.preview-mark span{display:block;font-size:14px;letter-spacing:.32em;line-height:2.1;margin-top:40px;color:#b9cbd7}
.illustration-foot{position:relative;z-index:1;letter-spacing:.05em;font-size:13px;color:#ced9e1}
.section-lead{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:34px}
.section-lead p{max-width:720px;margin-bottom:0}
.summary-strip{background:var(--navy);border-radius:17px;color:#fff;padding:29px 37px;display:flex;align-items:center;gap:34px;margin-bottom:51px}
.summary-strip>div{display:grid;align-content:center}
.summary-value{font-size:49px;line-height:1;font-weight:760}
.summary-label{font-size:12px;color:#bfd1da;margin-top:9px}
.summary-line{width:1px;height:62px;background:#426176}
.summary-subtitle{font-size:16px;font-weight:710;line-height:1.4}
.list-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:19px}
.list-top h2{margin:0}
.list-tools{display:flex;align-items:center;gap:20px}
.small-link{font-size:13px;color:var(--navy);font-weight:690;white-space:nowrap}
.search{display:flex;gap:5px;background:#fff;border:1px solid #dce5e8;border-radius:10px;padding:3px}
.search input{border:0;height:36px;min-width:220px;font-size:13px}
.search input:focus{box-shadow:none}
.search button{border:0;background:#e8edf0;border-radius:7px;padding:0 13px;color:var(--navy);font-size:13px;font-weight:700}
.flight-list{display:grid;gap:10px}
.flight-row{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid #e5ebed;border-radius:13px;min-height:102px;padding:18px 22px;transition:box-shadow .15s,border-color .15s}
.flight-row:hover{border-color:#b7cad4;box-shadow:var(--shadow)}
.flight-icon{height:50px;width:50px;border-radius:12px;background:#eff3f5;color:var(--navy);display:grid;place-items:center;font-size:24px}
.flight-route{display:grid;flex:1;min-width:0}
.flight-route strong{font-size:21px;color:var(--navy);letter-spacing:.04em}
.route-arrow{font-size:19px;color:var(--red);padding:0 6px}
.flight-route span:not(.route-arrow),.flight-meta span{font-size:13px;color:#728390;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flight-meta{display:grid;min-width:160px}
.flight-meta strong{color:var(--navy);font-size:14px}
.row-action{font-size:13px;color:var(--red);font-weight:750}
.empty-state{background:white;border:1px solid #e4eaed;border-radius:17px;padding:80px 30px;text-align:center;margin-top:17px}
.empty-state p{max-width:430px;margin:0 auto 25px}
.empty-icon{margin:0 auto 20px;background:#eef3f6;width:63px;height:63px;display:grid;place-items:center;border-radius:17px;color:var(--navy);font-size:31px}
.breadcrumbs{display:flex;gap:12px;align-items:center;font-size:13px;color:#6e7d89;margin-bottom:33px}
.breadcrumbs a{color:#36566d;text-decoration:underline;text-underline-offset:3px}
.form-heading{margin-bottom:32px}.form-heading p{max-width:640px}
.flight-form{background:#fff;border:1px solid #e2e9ec;border-radius:20px;padding:15px 37px 31px;box-shadow:var(--shadow)}
.flight-form fieldset{border:0;border-bottom:1px solid var(--line);padding:27px 0 35px;margin:0}
.flight-form legend{font-size:19px;color:var(--navy);font-weight:750;padding:0 0 4px}
.flight-form legend span{display:inline-grid;place-items:center;border-radius:50%;font-size:11px;background:#ecf0f2;width:32px;height:32px;margin-right:14px;color:#37546b}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px 29px;margin-top:19px}
.field-spacer{visibility:hidden}
.flight-form label{display:grid;gap:8px;font-size:13px;font-weight:720;color:#41576a}
.flight-form label b{color:var(--red)}
.flight-form label span{font-size:12px;color:#85939b;font-weight:450}
.flight-form textarea{height:auto;min-height:95px;resize:vertical}
.flight-form .wide{grid-column:1 / -1}
.form-actions{display:flex;justify-content:flex-end;gap:12px;padding:29px 0 7px}
.form-fineprint{font-size:12px;color:#7b8a94;margin:10px 0 0}
.pass-page{max-width:1380px;padding-top:37px}
.pass-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 36px}
.pass-intro h1{font-size:clamp(31px,3.5vw,47px);margin:0 0 9px}
.pass-intro p{margin:0}
.pass-tools{display:flex;flex-wrap:wrap;gap:9px}
.pass-tools .btn-primary,.pass-tools .btn-secondary{min-height:44px;padding:10px 14px}
.swipe-hint{display:none;font-size:12px;color:#5f7482;margin:0 0 10px}
.pass-holder{padding:29px;background:#e9edef;border:1px solid #e0e8eb;border-radius:19px;overflow-x:auto}
.boarding-ticket{width:100%;min-width:870px;min-height:468px;display:grid;grid-template-columns:minmax(0,1fr) 29%;background:#fff;box-shadow:0 20px 48px rgba(3,30,48,.13);border-radius:17px;overflow:hidden}
.ticket-body{padding:29px 40px 16px;position:relative;display:flex;flex-direction:column;min-width:0}
.ticket-top{display:flex;justify-content:space-between;align-items:start;gap:20px}
.ticket-brand{display:flex;gap:10px;align-items:center}
.ticket-brand img{width:116px;height:44px;object-fit:contain}
.ticket-brandname{font-weight:830;letter-spacing:.22em;font-size:18px;color:var(--navy);line-height:1.25}
.ticket-brandname small{display:block;letter-spacing:.20em;font-size:8px;font-weight:640;color:#84929b;margin-top:6px}
.ticket-type{color:var(--navy);font-size:11px;font-weight:760;letter-spacing:.17em;text-align:right;padding-top:7px}
.ticket-type small{font-size:8px;display:block;letter-spacing:.14em;color:var(--red);margin-top:5px}
.ticket-route{display:grid;grid-template-columns:1fr .65fr 1fr;gap:5px;align-items:end;margin:45px 0 24px}
.ticket-route>div:last-child{text-align:right}
.ticket-label{font-size:9px;font-weight:760;letter-spacing:.16em;color:#758793;display:block;margin-bottom:7px}
.ticket-route strong{font-size:clamp(43px,5.4vw,76px);line-height:.98;letter-spacing:-.04em;color:var(--navy);font-weight:810;display:block}
.ticket-location{font-size:13px;display:block;margin-top:12px;color:#587086;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-flightline{display:flex;align-items:center;gap:3px;color:var(--red);padding-bottom:35px}
.ticket-flightline i{height:2px;background:#d7e1e4;flex:1}
.ticket-flightline span:first-child{font-size:10px}.ticket-flightline span:last-child{font-size:32px;line-height:1}
.ticket-details{border-top:1px solid #dfe6e9;padding-top:22px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}
.ticket-details strong{display:block;color:var(--navy);font-size:19px;font-weight:760}
.ticket-people{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-top:22px}
.ticket-people strong{font-size:13px;display:block;color:var(--navy);overflow-wrap:anywhere}
.ticket-legal{font-size:9px;line-height:1.35;color:#687680;margin-top:auto;padding-top:20px;margin-bottom:0}
.ticket-stub{position:relative;background:var(--navy);color:white;padding:27px 28px;display:flex;flex-direction:column;justify-content:space-between;border-left:2px dashed #b6c3ca;min-width:0}
.stub-top{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px;letter-spacing:.20em;font-weight:760}
.stub-symbol{color:#d32a3d;font-size:27px;line-height:1}
.stub-caption{display:block;font-size:9px;color:#9eb9c9;font-weight:710;letter-spacing:.16em;margin-bottom:8px}
.stub-title{font-size:clamp(23px,2.6vw,39px);line-height:1.06;letter-spacing:-.04em;font-weight:820;display:block;color:#fff}
.stub-info{display:grid;gap:6px}
.stub-info strong{font-size:15px;color:#fff;overflow-wrap:anywhere}
.stub-info span:last-child{font-size:12px;color:#b9cbd3}
.gap-top{margin-top:19px}
.stub-bottom{font-size:8px;color:#bfced6;line-height:1.5;letter-spacing:.06em;border-top:1px solid #436173;padding-top:14px}
.below-ticket{display:flex;justify-content:space-between;gap:30px;padding:32px 0}
.below-ticket h2{font-size:18px}
.below-ticket p{white-space:pre-wrap;overflow-wrap:anywhere}
.danger-zone{font-size:12px;color:#687c8b;min-width:205px}
.danger-zone summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.danger-zone p{font-size:12px;color:#9d3341;margin-top:14px}
.delete-btn{border:1px solid #cd7180;border-radius:8px;padding:10px 12px;background:#fff1f3;color:#9c1b30;font-weight:700;font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.topbar-inner{flex-wrap:wrap}.nav-actions{gap:15px}.login-wrap{grid-template-columns:1fr}.login-illustration{min-height:280px}.preview-mark{padding-top:30px}.pass-intro,.section-lead{align-items:flex-start;flex-direction:column}.list-top{flex-direction:column;align-items:flex-start}.pass-holder{padding:14px}}
@media(max-width:700px){.container{padding:35px 17px 55px}.topbar-inner{padding:14px 17px;gap:11px}.nav-wing{width:86px}.identity-name{font-size:15px;letter-spacing:.13em}.identity-name small{font-size:7px}.nav-actions{width:100%;flex-wrap:wrap;gap:12px;justify-content:space-between}.nav-actions .nav-new{padding:9px 12px}.site-footer{padding:19px 17px;flex-direction:column;gap:6px}.summary-strip{padding:23px;gap:20px}.summary-value{font-size:40px}.summary-line{height:50px}.list-tools{width:100%;flex-wrap:wrap;justify-content:space-between}.search{width:100%}.search input{min-width:0}.flight-row{gap:12px;padding:14px}.flight-icon{display:none}.flight-meta{min-width:90px}.flight-route strong{font-size:16px}.row-action{display:none}.flight-form{padding:13px 19px}.form-grid{grid-template-columns:1fr;gap:18px}.field-spacer{display:none}.form-actions{flex-wrap:wrap}.form-actions .btn-primary{white-space:normal}.login-illustration{padding:24px}.pass-tools{width:100%}.pass-tools a,.pass-tools button{flex:1}.below-ticket{display:block}.danger-zone{margin-top:20px}.pass-holder{margin:0 -17px;border-radius:0}.swipe-hint{display:block}}
@media print{@page{size:A4 landscape;margin:14mm}html,body{background:white!important;margin:0;padding:0}.topbar,.site-footer,.no-print,.alerts{display:none!important}.container,.pass-page{padding:0!important;margin:0!important;max-width:none!important;min-height:0!important}.pass-holder{padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important}.boarding-ticket{width:265mm!important;min-width:265mm!important;min-height:130mm!important;border:1px solid #dce3e6!important;box-shadow:none!important;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.ticket-body{padding:10mm 10mm 7mm}.ticket-stub{padding:10mm 8mm}.ticket-route{margin:12mm 0 8mm}.ticket-route strong{font-size:58pt}.ticket-legal{font-size:7.5pt}.stub-title{font-size:28pt}.ticket-label{font-size:8pt}.ticket-brandname{font-size:16pt}}

/* Flight Memories 2.0: executive cards, GPS editor and responsive forms */
.preview-stack{display:grid;gap:25px;margin:25px 0 30px}
.preview-side{background:#fff;border:1px solid #e1e6e9;border-radius:19px;padding:18px;box-shadow:0 12px 35px rgba(9,39,63,.06)}
.preview-side-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px}
.preview-side-head h2{font-size:19px;margin:0;color:#09273f}
.preview-side-head a{font-size:14px;color:#b03d4b;font-weight:700;text-decoration:underline}
.preview-side img{width:100%;height:auto;display:block;border-radius:9px}
.card-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:#f3f6f6;padding:20px 23px;border-radius:13px}
.card-actions p{max-width:670px;color:#516471;margin:0;font-size:14px}
.gps-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);align-items:start;gap:25px;margin:22px 0 48px}
.gps-main,.gps-sidebar{min-width:0;display:flex;flex-direction:column;gap:18px}
.gps-card{border-radius:18px;padding:24px;background:white;border:1px solid #e1e8ec;box-shadow:0 9px 25px rgba(9,39,63,.04)}
.gps-card h2{font-size:20px;color:#09273f;margin:0 0 12px}
.gps-card p{font-size:14px;color:#526777;line-height:1.55}
.gps-card form:not(.segment-actions form){display:flex;flex-direction:column;gap:12px}
.gps-toolbar{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:15px 18px;background:#09273f;color:#fff;border-radius:13px}
.gps-toolbar strong{font-size:15px}.gps-toolbar p{font-size:12px;color:#d1dde5;margin:2px 0 0}
.gps-toolbar select{max-width:280px;min-width:185px;background:#fff;color:#0b2942;border-radius:10px;padding:11px;border:0;font-size:13px}
.gps-map{height:430px;background:#e9efef;border:1px solid #d1dcdf;border-radius:16px;position:relative;overflow:hidden}
.map-loading{padding:35px;color:#4b6879;font-size:15px}
.gps-pin{border:2px solid white;background:#09273f;color:white;box-shadow:0 3px 12px rgba(12,39,54,.24);font-size:12px;font-weight:800;min-width:28px;height:28px;border-radius:50%;display:grid;place-items:center;padding:2px}
.gps-pin.accent{background:#bf3c4a}
.map-foot,.form-fineprint{font-size:12px;color:#687c88;line-height:1.5;margin:6px 0 0}
.snapshot-form{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.snapshot-form .form-fineprint{flex:1}
.file-picker{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#163650}
.gps-card input[type='file'],.gps-card input:not([type='checkbox']),.gps-card select{max-width:100%;width:100%;border:1px solid #c6d1d8;border-radius:9px;padding:10px 11px;background:white;color:#15354d;font:inherit}
.gps-card input[type='file']{font-size:13px}
.gps-card label{display:flex;flex-direction:column;gap:5px;color:#1f3f56;font-size:13px;font-weight:600}
.gps-card button:focus-visible,.gps-card input:focus-visible,.gps-card select:focus-visible,.gps-toolbar select:focus-visible{outline:3px solid #c54a55;outline-offset:3px}
.gps-card button{cursor:pointer}
.gps-card .btn-primary,.gps-card .btn-secondary{align-self:start}
.segment-list,.highlight-list{display:flex;flex-direction:column;gap:0}
.segment-row,.highlight-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5eaf0;padding:14px 0;flex-wrap:wrap}
.segment-info{display:flex;flex-direction:column;gap:3px;min-width:160px}
.segment-info strong,.highlight-row strong{font-size:13px;color:#173954}
.segment-info small,.highlight-row small{font-size:11px;color:#6f8290;display:block}
.segment-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.segment-actions form{margin:0}.segment-actions button,.delete-mini{color:#1d4965;border:1px solid #d0dfe5;padding:6px 9px;border-radius:7px;background:white;font-size:12px}
.segment-actions button:hover,.delete-mini:hover{border-color:#b84c56;color:#b03240}
.highlight-row{justify-content:flex-start}.highlight-row>div{flex:1;min-width:130px}
.highlight-number{border:1px solid #bdcad6;border-radius:8px;padding:9px;font-weight:700;color:#102c43}
.highlight-form{margin-top:20px}.coords{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gps-card .confirm-checkbox{display:flex;flex-direction:row;align-items:flex-start;gap:12px;line-height:1.5;font-size:12px;font-weight:400}
.gps-card .confirm-checkbox input{width:17px;height:17px;flex:0 0 auto;margin:2px 0}
@media(max-width:920px){.gps-layout{grid-template-columns:1fr}.gps-toolbar{align-items:stretch;flex-direction:column}.gps-toolbar select{max-width:100%;width:100%}}
@media(max-width:560px){.gps-card{padding:18px}.preview-side{padding:8px}.preview-side-head{padding:8px}.gps-map{height:320px}.gps-toolbar{padding:13px}.segment-row{align-items:flex-start}.segment-actions{width:100%}.card-actions{padding:16px}}
