/* Reference geometry: 980px content width. Container units preserve its proportions. */
.privilege-hub[data-privilege-tab='flights']{max-width:1010px;padding-top:8px;color:#1d1d1f}
.privilege-hub[data-privilege-tab='flights'] .ph-return-home{min-height:32px;margin:0 0 10px;font-size:13px}
.fp-panel.fp-literal{container-type:inline-size;max-width:980px;padding:0;background:#fff;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif}
.fp-literal .fp-hero{height:30cqw;min-height:0;padding:0 2.8cqw 2cqw;background:#fff;color:#1d1d1f;border-radius:0;isolation:isolate;overflow:hidden}
.fp-hero-art{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.99) 52%,rgba(255,255,255,.05) 80%),url('/assets/mateosdetail/flight-panel-approved-reference.jpg');background-size:100% 100%,127.74% 596.9%;background-position:0 0,53.26% 0;background-repeat:no-repeat}
.fp-literal .fp-hero>div{position:relative;z-index:1}
.fp-literal h1#fp-title{font-size:7.1cqw;font-weight:700;line-height:1.05;letter-spacing:-.045em;margin:0 0 2.7cqw;color:#1d1d1f}
.fp-panel.fp-literal .fp-hero h2{font-size:6.4cqw;line-height:1.12;font-weight:400;margin:0 0 1.2cqw;letter-spacing:-.035em;color:#1d1d1f}
.fp-literal .fp-hero h2 strong{font-weight:700}
.fp-literal .fp-hero p:last-child{font-size:3.9cqw;line-height:1.2;letter-spacing:-.02em;color:#1d1d1f;margin:0}
.fp-literal .fp-stats{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25cqw;margin:0 0 1.6cqw}
.fp-literal .fp-stats>button{display:grid;grid-template-columns:7.6cqw minmax(0,1fr);grid-template-rows:auto auto auto;align-content:start;align-items:center;gap:0 1.9cqw;min-height:0;height:17.9cqw;padding:2.1cqw 1.9cqw;background:#f5f5f7;color:#1d1d1f;border:0;border-radius:2.3cqw;box-shadow:none}
.fp-literal .fp-stats>button>svg{grid-column:1;grid-row:1/3;width:4cqw;height:4cqw;padding:1.8cqw;margin:0;border-radius:50%;background:#e7e7eb;box-sizing:content-box}
.fp-literal .fp-stats>button>span{grid-column:2;grid-row:1;font-size:2.55cqw;line-height:1.2;white-space:nowrap}
.fp-literal .fp-stats>button>strong,.fp-literal .fp-stats>button>strong.fp-code-value{grid-column:2;grid-row:2;font-size:3.45cqw;line-height:1.15;font-weight:650;letter-spacing:-.035em;white-space:nowrap;margin:.7cqw 0 0;overflow-wrap:normal}
.fp-literal .fp-stats>button>strong.fp-code-value{font-size:3.1cqw;overflow-wrap:anywhere;white-space:normal}
.fp-literal .fp-stats>.fp-stat-dark>strong{font-size:3.05cqw}
.fp-literal .fp-share .fp-black{display:flex;align-items:center;justify-content:center;gap:1.2cqw;white-space:nowrap}
.fp-literal .fp-share .fp-black svg{width:3.3cqw;height:3.3cqw;flex-shrink:0}
.fp-literal .fp-stats>button>small{grid-column:1/-1;grid-row:3;font-size:2.2cqw;line-height:1.3;color:#6e6e73;margin:1.4cqw 0 0;white-space:nowrap}
.fp-panel.fp-literal .fp-stats .fp-stat-dark{background:linear-gradient(115deg,#f0f0f2,#e9e9ec);color:#1d1d1f}
.fp-literal .fp-stats .fp-stat-dark>svg{background:#dedee2!important}
.fp-literal .fp-block{padding:2.6cqw;border-radius:2.8cqw;margin:0 0 1.25cqw;background:#f5f5f7;box-shadow:none;border:0}
.fp-literal .fp-icon{display:flex;align-items:center;justify-content:center;width:9.4cqw;height:9.4cqw;border:0;border-radius:50%;background:#e5e5e9;color:#1d1d1f;flex-shrink:0;padding:2.1cqw}
.fp-literal .fp-icon svg{width:100%;height:100%}
.fp-literal .fp-progress{min-height:39.5cqw;padding:3cqw 2.8cqw 2.4cqw}
.fp-literal .fp-progress .fp-block-heading{display:grid;grid-template-columns:9.4cqw minmax(0,1fr) auto;column-gap:2.1cqw;row-gap:.7cqw;align-items:start;flex-wrap:nowrap}
.fp-literal .fp-progress .fp-block-heading>div{display:contents}
.fp-literal .fp-progress .fp-block-heading>.fp-icon{grid-column:1;grid-row:1/3;width:9.4cqw;height:9.4cqw}
.fp-panel.fp-literal .fp-block h2{font-size:3.55cqw;line-height:1.15;font-weight:650;letter-spacing:-.025em;margin:0}
.fp-panel.fp-literal .fp-progress .fp-block-heading h2{grid-column:2;grid-row:1;font-size:3.35cqw;white-space:nowrap}
.fp-literal .fp-progress .fp-block-heading>small{grid-column:3;grid-row:1;font-size:2.7cqw;line-height:1.3;margin:0;padding:0;width:auto;color:#6e6e73;white-space:nowrap}
.fp-literal .fp-progress .fp-block-heading p{grid-column:2/-1;grid-row:2;font-size:2.85cqw;line-height:1.4;color:#6e6e73;margin:0;max-width:none}
.fp-literal .fp-month-scroll{padding:3.5cqw .3cqw 0;overflow-x:auto}
.fp-literal .fp-months{min-width:0;gap:0}
.fp-literal .fp-months:before,.fp-literal .fp-months:after{top:4.3cqw;height:.4cqw}
.fp-literal .fp-months li{gap:1.15cqw;font-size:2.5cqw;line-height:1.2;color:#6e6e73}
.fp-literal .fp-month{width:8.3cqw;height:8.3cqw;font-size:3.3cqw;border:.3cqw solid #d1d1d6;background:#e9e9ed;color:#6e6e73}
.fp-literal .fp-month svg{width:4.7cqw;height:4.7cqw}
.fp-literal .is-complete .fp-month{background:#1d1d1f;color:#fff;border-color:#1d1d1f}
.fp-literal .is-current .fp-month{outline:.4cqw solid #b5b5bd;outline-offset:.45cqw}
.fp-literal .fp-months li>small{font-size:2.45cqw;line-height:1.2;border-radius:4cqw;padding:1cqw 2.8cqw;background:#e5e5e9;margin-top:-.1cqw}
.fp-literal .fp-months .is-complete>small{background:#1d1d1f;color:#fff}
.fp-literal .fp-invite{display:grid;grid-template-columns:9.4cqw minmax(0,1fr) 29.5cqw;gap:2.1cqw;align-items:start;min-height:22cqw;padding:2.7cqw 2.8cqw}
.fp-literal .fp-invite>.fp-icon{grid-column:1;grid-row:1}
.fp-literal .fp-invite>div:first-of-type{grid-column:2;grid-row:1;min-width:0}
.fp-panel.fp-literal .fp-invite h2{font-size:3.7cqw;margin:0 0 1cqw}
.fp-literal .fp-invite p{font-size:2.85cqw;line-height:1.4;color:#6e6e73;margin:0}
.fp-literal .fp-share{grid-column:3;grid-row:1;display:grid;gap:1.5cqw;align-self:start;min-width:0;width:100%;margin:0}
.fp-panel.fp-literal .fp-code{display:flex;justify-content:space-between;align-items:center;border:0;border-radius:5cqw;background:#e4e4e8;color:#1d1d1f;font-size:3cqw;line-height:1.2;padding:1.7cqw 2.5cqw;gap:1cqw;min-height:7.8cqw;white-space:nowrap}
.fp-literal .fp-code svg{width:3.5cqw;height:3.5cqw;flex-shrink:0}
.fp-panel.fp-literal .fp-black{font-size:3cqw;line-height:1.2;padding:1.7cqw 2.4cqw;min-height:7.8cqw;border:0;border-radius:5cqw;background:linear-gradient(115deg,#29292b,#1d1d1f);color:#fff}
.fp-literal button:disabled{opacity:.62}
.fp-literal .fp-destinations{padding:0 1.3cqw 2.1cqw;min-height:42cqw}
.fp-literal .fp-destination-heading{height:10.7cqw;padding:1.6cqw 1.5cqw;display:flex;gap:1cqw;align-items:center;justify-content:space-between}
.fp-panel.fp-literal .fp-destination-heading h2{display:flex;align-items:center;gap:2.1cqw;font-size:3.55cqw;margin:0;white-space:nowrap}
.fp-panel.fp-literal .fp-text{font-size:2.65cqw;line-height:1.3;min-height:4.4cqw;padding:.6cqw 0;background:none;color:#1d1d1f;border:0;white-space:nowrap}
.fp-literal .fp-reference-cities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3cqw;overflow:visible;padding:0}
.fp-panel.fp-literal .fp-reference-city{display:block;position:relative;min-height:0;min-width:0;width:100%;aspect-ratio:1.04;background:#fff;color:#1d1d1f;border-radius:1.8cqw;overflow:hidden;border:0;padding:0;isolation:isolate}
.fp-literal .fp-reference-city:before{display:none}
.fp-literal .fp-ref-art{position:absolute;inset:0 0 32%;display:block;background-image:url('/assets/mateosdetail/flight-panel-approved-reference.jpg');background-repeat:no-repeat;background-size:398.43% 911.05%;background-position:18.8% 78.975%;z-index:-1}
.fp-literal .fp-ref-art-rome{background-size:410% 911.05%;background-position:53.49% 78.975%}
.fp-literal .fp-ref-art-paris{background-size:423.67% 911.05%;background-position:86.71% 78.975%}
.fp-literal .fp-reference-city>.fp-reference-city-copy{position:absolute;inset:68% 0 0;padding:.6cqw 1.4cqw 0;background:#fff;color:#1d1d1f;text-align:left}
.fp-literal .fp-reference-city strong{display:block;font-size:3.4cqw;line-height:1.1;font-weight:650;letter-spacing:-.025em;overflow-wrap:normal;margin:0}
.fp-literal .fp-reference-city strong i{float:right;font-style:normal;font-weight:400}
.fp-literal .fp-reference-city small{display:block;font-size:2.4cqw;line-height:1.05;color:#6e6e73;margin:.3cqw 0 0}
.fp-panel.fp-literal .fp-discover{width:100%;display:flex;align-items:center;justify-content:center;gap:2.4cqw;min-height:8.9cqw;padding:1.8cqw 3cqw;border-radius:5cqw;font-size:3.55cqw!important;margin:0 0 1.35cqw}
.fp-literal .fp-discover svg{width:4.5cqw;height:4.5cqw}
.fp-panel.fp-literal .fp-information{display:flex;align-items:center;justify-content:center;gap:2.2cqw;min-height:8.8cqw;padding:1.8cqw 6cqw;border-radius:5cqw;background:#f5f5f7;color:#6e6e73;font-size:2.35cqw;line-height:1.35;margin:0}
.fp-literal .fp-information svg{width:4.3cqw;height:4.3cqw}
.fp-literal .fp-feedback:empty{display:none}
.fp-literal .fp-credits{font-size:10px;margin-top:10px;padding:4px 0;color:#6e6e73}
.fp-literal .fp-selected-details{margin:14px 3px 3px;padding:15px 0 0}
.fp-literal [data-fp-selection]:empty{display:none}
.fp-literal .fp-dialog{container-type:normal}
.fp-literal .fp-dialog .fp-city-rail{display:flex;flex-wrap:wrap;gap:10px}
.fp-panel.fp-literal .fp-dialog .fp-city{flex:0 0 calc(50% - 5px);min-height:180px;aspect-ratio:.8;color:white;background:#444}
.fp-literal .fp-dialog .fp-city strong{font-size:20px}.fp-literal .fp-dialog .fp-city small{font-size:12px}
.fp-panel.fp-literal .fp-dialog .fp-black{font-size:15px;padding:14px 20px;min-height:44px}
.fp-panel.fp-literal .fp-dialog .fp-text{font-size:14px;min-height:44px;white-space:normal}
@media(prefers-reduced-motion:reduce){.fp-literal *{transition:none!important;scroll-behavior:auto!important}}

/* Approved black reference theme; the 980px reference geometry above is retained. */
.fp-literal .fp-hero{background:#080809;color:#fff}
.fp-literal .fp-hero-art{background-image:linear-gradient(90deg,#080809 0%,#080809 36%,rgba(8,8,9,.99) 52%,rgba(8,8,9,.05) 80%),url('/assets/mateosdetail/flight-panel-approved-reference.jpg')}
.fp-literal h1#fp-title,.fp-panel.fp-literal .fp-hero h2,.fp-literal .fp-hero p:last-child{color:#fff}
.fp-literal .fp-stats{margin-top:-.25cqw}
.fp-literal .fp-stats>button{background:linear-gradient(115deg,#262628,#1d1d1f);color:#fff}
.fp-literal .fp-stats>button>small{color:#c9c9cf}
.fp-literal .fp-stats>button>svg,.fp-literal .fp-stats .fp-stat-dark>svg{background:linear-gradient(135deg,#951027,#65121e)!important;color:#fff}
.fp-literal .fp-stats>button:first-child{background:linear-gradient(115deg,#f5f5f7,#e8e8eb);color:#1d1d1f}
.fp-literal .fp-stats>button:first-child>small{color:#6e6e73}
.fp-literal .fp-stats>button:first-child>svg{background:#f3d9df!important;color:#0071e3}
.fp-panel.fp-literal .fp-stats .fp-stat-dark{background:linear-gradient(115deg,#262628,#1d1d1f);color:#fff}
.fp-literal .fp-block{background:linear-gradient(115deg,#101011,#0b0b0c);color:#fff}
.fp-panel.fp-literal .fp-block h2{color:#fff}
.fp-literal .fp-progress .fp-block-heading p,.fp-literal .fp-progress .fp-block-heading>small,.fp-literal .fp-invite p{color:#d2d2d7}
.fp-literal .fp-icon{background:linear-gradient(135deg,#951027,#65121e);color:#fff}
.fp-literal .fp-months:before{background:#444448}
.fp-literal .fp-months:after{background:#0071e3}
.fp-literal .fp-month{background:#242426;color:#c7c7cc;border-color:#545459}
.fp-literal .is-complete .fp-month{background:linear-gradient(135deg,#0077ed,#0071e3);border-color:#68b3ff;color:#fff}
.fp-literal .is-current .fp-month{outline-color:#68b3ff;background:linear-gradient(135deg,#0071e3,#004e9e)}
.fp-literal .fp-months li{color:#d2d2d7}
.fp-literal .fp-months li>small{background:#424245;color:#d2d2d7}
.fp-literal .fp-months .is-complete>small{background:#005bb8;color:#fff}
.fp-panel.fp-literal .fp-code{background:linear-gradient(115deg,#3c3c3e,#2c2c2e);color:#fff}
.fp-panel.fp-literal .fp-black{background:linear-gradient(110deg,#0071e3,#0077ed);color:#fff}
.fp-panel.fp-literal .fp-destination-heading .fp-text{color:#d2d2d7}
.fp-panel.fp-literal .fp-reference-city{background:#202022;color:#fff}
.fp-literal .fp-reference-city>.fp-reference-city-copy{background:linear-gradient(#242426,#1d1d1f);color:#fff}
.fp-literal .fp-reference-city small{color:#e1e1e5}
.fp-literal .fp-reference-city strong{color:#fff}
.fp-literal .fp-selected-details{border-top-color:#3b3b3f;color:#fff}
.fp-literal .fp-selected-details h3{color:#fff}
.fp-literal .fp-selected-details>p,.fp-literal .fp-selected-details small{color:#d2d2d7}
.fp-literal .fp-segments>div{background:#242426;color:#fff}
.fp-literal .fp-segments p{color:#d2d2d7}
.fp-panel.fp-literal .fp-dialog .fp-black{background:#1d1d1f;color:#fff}

/* Shared brand accents and real catalogue, same reference proportions. */
.fp-panel.fp-literal .fp-icon{background:linear-gradient(135deg,#0077ed,#005bb8);color:#fff}
.fp-panel.fp-literal .fp-stat:first-child .fp-icon{background:#e1efff;color:#0071e3}
.fp-panel.fp-literal .fp-city-rail{display:flex;gap:1.2cqw;overflow-x:auto;scroll-snap-type:x mandatory}
.fp-panel.fp-literal .fp-city{flex:0 0 calc((100% - 2.4cqw)/3);height:30cqw;min-width:0;position:relative;overflow:hidden;background:#242426;color:#fff;scroll-snap-align:start;border-radius:1.6cqw}
.fp-panel.fp-literal .fp-city img{width:100%;height:100%;object-fit:cover}
.fp-panel.fp-literal .fp-city>span{position:absolute;bottom:0;left:0;right:0;padding:1cqw;background:linear-gradient(transparent,#1d1d1f 35%);text-align:left}
.fp-panel.fp-literal .fp-city strong{font-size:2.8cqw}.fp-panel.fp-literal .fp-city small{font-size:2.1cqw}
.fp-panel.fp-literal .fp-referral-actions{min-width:0;max-width:100%}
.fp-panel.fp-literal .fp-referral-actions button{max-width:100%;white-space:normal}
.privilege-hub[data-privilege-tab="flights"] .ph-return-home{color:#fff!important}
.privilege-hub[data-privilege-tab="flights"]{background:#080809}
.privilege-hub[data-privilege-tab="flights"] .ph-content{background:#080809}

.fp-panel.fp-literal .fp-share .fp-black{padding:1.3cqw;font-size:2.45cqw;min-width:0;max-width:100%;white-space:normal}

/* Continuous black canvas, separated by the announcement bar's exact grey. */
body:has(.privilege-hub[data-privilege-tab='flights']){background:#000}
.privilege-hub[data-privilege-tab='flights'],
.privilege-hub[data-privilege-tab='flights'] .ph-content,
.fp-panel.fp-literal{background:#000;color:#fff}
.privilege-hub[data-privilege-tab='flights']{max-width:none}
.privilege-hub[data-privilege-tab='flights'] .ph-content{max-width:980px;margin-inline:auto}
.fp-panel.fp-literal .fp-block,
.fp-panel.fp-literal .fp-stats>button,
.fp-panel.fp-literal .fp-stats>button:first-child,
.fp-panel.fp-literal .fp-stats .fp-stat-dark,
.fp-panel.fp-literal .fp-information{background:#000;color:#fff;box-shadow:inset 0 0 0 1px #1d1d1f}
.fp-panel.fp-literal .fp-stats>button:first-child>small,
.fp-panel.fp-literal .fp-stats>button>small,
.fp-panel.fp-literal .fp-information span{color:#b8b8bd}
.fp-panel.fp-literal .fp-stats>button>svg,
.fp-panel.fp-literal .fp-stats .fp-stat-dark>svg,
.fp-panel.fp-literal .fp-stats>button:first-child>svg{background:#0071e3!important;color:#fff}
body:has(.privilege-hub[data-privilege-tab='flights']) .mateos-footer{background:#000;color:#b8b8bd}
