.ctf-app{position:absolute;inset:0;background:#f0f2f5;color:#16191e;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}.ctf-app button,.ctf-dialog button{font-family:inherit;border:0;cursor:pointer;color:inherit}.ctf-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(22px,env(safe-area-inset-bottom))}.ctf-hero{height:220px;position:relative;overflow:hidden;background:linear-gradient(160deg,#c4e8fc 0%,#f3e9da 48%,#fcbd8c 100%)}.ctf-back{position:absolute;top:26px;left:18px;width:40px;height:40px;border-radius:50%;background:#ffffff69;font-size:45px!important;line-height:34px;color:#fff!important;z-index:1}.ctf-brand{position:absolute;top:24px;left:78px;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:750;color:#177cd2}.ctf-brand svg{width:24px;height:24px}.ctf-hero-plane{position:absolute;right:25px;top:21px;transform:rotate(-10deg);color:white;filter:drop-shadow(0 3px 4px #52708d50)}.ctf-hero-plane svg{width:64px;height:64px}.ctf-hero h2{position:absolute;top:85px;left:25px;margin:0;font-size:27px;font-style:italic;letter-spacing:-1px;color:#74476c}.ctf-hero p{position:absolute;top:124px;left:27px;font-size:13px;color:#875b54;font-weight:600;margin:0}.ctf-skyline{position:absolute;bottom:0;left:0;right:0;height:65px;background:linear-gradient(180deg,transparent,#6b827350);clip-path:polygon(0 40%,7% 40%,7% 25%,13% 25%,13% 50%,18% 50%,18% 15%,24% 15%,24% 48%,36% 48%,36% 30%,42% 30%,42% 53%,55% 53%,55% 15%,59% 15%,59% 0,61% 0,61% 14%,64% 14%,64% 35%,71% 35%,71% 18%,77% 18%,77% 51%,86% 51%,86% 28%,94% 28%,94% 45%,100% 45%,100% 100%,0 100%)}.ctf-card{position:relative;z-index:1;margin:-48px 12px 0;background:#fff;border-radius:20px;padding:16px 20px 12px;box-shadow:0 8px 25px #5068800c}.ctf-card h1{font-size:25px;color:#0c8edf;margin:0 0 21px;padding:0 4px 16px;position:relative}.ctf-card h1:after{content:'';position:absolute;bottom:0;left:4px;width:46px;height:4px;border-radius:4px;background:#1598e4}.ctf-trip-types{display:flex;padding:3px;background:#f1f2f6;border-radius:7px;margin-bottom:18px}.ctf-trip-types button{flex:1;min-width:0;font-size:18px;line-height:1.5;padding:6px 0;background:transparent;border-radius:6px}.ctf-trip-types .selected,.ctf-cabin .selected{background:#fff;box-shadow:0 2px 6px #5c667012;font-weight:650}.ctf-route{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:7px;align-items:center;padding:8px 0 16px;border-bottom:1px solid #f0f1f4}.ctf-route button{background:transparent;text-align:left;font-size:31px;line-height:1.4;font-weight:700;padding:0;overflow-wrap:anywhere;min-width:0}.ctf-route button:last-child{text-align:right}.ctf-route .ctf-swap{font-size:28px;font-weight:500;color:#ff8b5c;text-align:center;border-radius:50%;background:#fff0e8;line-height:42px}.ctf-date{display:flex;align-items:baseline;gap:6px;width:100%;text-align:left;padding:16px 0 19px;background:transparent;border-bottom:1px solid #f0f1f4!important;flex-wrap:wrap}.ctf-date b{font-size:28px;line-height:1.4;font-weight:650}.ctf-date span{font-size:15px}.ctf-date em{font-size:19px;color:#a3a8b0;font-style:normal}.ctf-details{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0 24px;flex-wrap:wrap}.ctf-cabin{display:flex;background:#f3f3f6;padding:3px;border-radius:6px;gap:3px}.ctf-cabin button{font-size:14px;line-height:1.6;padding:5px 7px;border-radius:5px;white-space:nowrap;background:transparent}.ctf-passengers{background:transparent;padding:0;font-size:15px;line-height:1.8}.ctf-query{width:100%;position:relative;display:block;overflow:hidden;border-radius:36px;background:linear-gradient(120deg,#ffb961,#ff5931 55%,#ff833e);color:#fff!important;text-shadow:0 1px 2px #dd553680;font-size:23px;line-height:1.6;padding:12px;font-weight:750}.ctf-query-fish{position:absolute;left:15px;top:11px;color:#fff4d9;transform:rotate(-14deg)}.ctf-query-fish svg{width:43px;height:43px}.ctf-balloons{position:absolute;right:22px;top:-9px;color:#ffdb9c;font-size:63px;font-weight:300;opacity:.8}.ctf-note{font-size:10px;color:#92959c;text-align:center;line-height:1.8;margin:20px 0 0}.ctf-dialog{color:#222!important;background:white;font-family:inherit}.ctf-dialog h3{margin:0 0 14px;font-size:20px;color:#222}.ctf-dialog h4{font-size:13px;margin:12px 0;color:#68788b}.ctf-dialog input{width:100%;box-sizing:border-box;border:1px solid #dce4ed;border-radius:9px;background:white;color:#222;color-scheme:light;padding:11px;font:15px inherit}.ctf-dialog label{display:block;margin:16px 0;color:#364454;font-size:14px}.ctf-dialog label input{display:block;margin-top:6px}.ctf-dialog>button{width:100%;padding:12px;margin:8px 0 0;border-radius:9px;font-size:15px;background:#1887ee;color:white}.ctf-dialog .ctf-cancel{background:#f1f5fa;color:#657a91}.ctf-dialog p{font-size:12px;color:#6a7a8e;line-height:1.8}.ctf-city-options{max-height:48vh;overflow:auto;overscroll-behavior:contain}.ctf-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ctf-options button{padding:9px 5px;background:#f4f7fb;border-radius:6px;font-size:13px;overflow-wrap:anywhere;min-width:0}.ctf-options small{display:block;font-size:10px;color:#8491a2;margin-top:4px}.ctf-leg-label{font-size:12px;color:#6580a0;display:flex;justify-content:space-between;padding:8px 0}.ctf-leg-label button{background:transparent;color:#7d8e9f;font-size:12px}.ctf-add{width:100%;padding:10px;background:#eef7ff;color:#1681d1!important;border-radius:6px;margin:8px 0}.ctf-results-head{display:flex;gap:15px;align-items:center;padding:15px;background:white}.ctf-results-head button{background:transparent;font-size:32px;line-height:1}.ctf-result-summary,.ctf-result-leg{background:white;padding:20px;margin:12px;border-radius:14px}.ctf-result-summary p,.ctf-result-leg p{font-size:14px;color:#65788d}.ctf-result-leg h3{font-size:22px;overflow-wrap:anywhere;margin:10px 0}.ctf-result-leg small{color:#8999aa}.ctf-result-leg button{background:#1987ed;color:#fff;padding:10px 18px;border-radius:7px;font-size:14px}.north-ios-home-safe .ctf-hero{padding-top:var(--north-ios-home-safe-top);height:calc(220px + var(--north-ios-home-safe-top))}.north-ios-home-safe .ctf-back{top:calc(26px + var(--north-ios-home-safe-top))}.north-ios-home-safe .ctf-brand{top:calc(24px + var(--north-ios-home-safe-top))}.north-ios-home-safe .ctf-hero h2{top:calc(85px + var(--north-ios-home-safe-top))}.north-ios-home-safe .ctf-hero p{top:calc(124px + var(--north-ios-home-safe-top))}@media(max-width:350px){.ctf-card{padding-left:15px;padding-right:15px}.ctf-hero h2{font-size:24px}.ctf-route button{font-size:26px}.ctf-date b{font-size:24px}.ctf-cabin button{font-size:12px}.ctf-passengers{font-size:14px}}

/* Style the modal container itself, not only its contents. */
#modal .sheet:has(.ctf-dialog),.preview-dialog:has(.ctf-dialog){background:#fff!important;background-image:none!important;color:#222!important;border:1px solid #e8edf5!important;backdrop-filter:none!important;box-shadow:0 12px 50px #0002!important;border-radius:18px!important}
#modal .sheet:has(.ctf-dialog):before,#modal .sheet:has(.ctf-dialog):after,.preview-dialog:has(.ctf-dialog):before,.preview-dialog:has(.ctf-dialog):after{display:none!important}
.ctf-companions{display:flex;gap:10px;align-items:center;width:100%;padding:0 0 19px;margin:0 0 8px;background:transparent;text-align:left;font-size:14px;line-height:1.6}.ctf-companions>span{flex:none;color:#66778b}.ctf-companions b{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:500;text-align:right}.ctf-companions i{font-style:normal;color:#9ca8b5;font-size:22px}.ctf-party-types{display:flex;gap:20px}.ctf-dialog .ctf-party-types label,.ctf-role-options label{display:flex;gap:9px;align-items:center;line-height:1.6}.ctf-dialog input[type=checkbox],.ctf-dialog input[type=radio]{width:17px;height:17px;margin:0;accent-color:#1887ee;padding:0;flex:none}.ctf-role-options{max-height:32vh;overflow:auto}.ctf-role-options span{overflow-wrap:anywhere;min-width:0}

/* Flight results: compact white rows with a shared blue fish identity. */
.ctf-list-app{display:flex;flex-direction:column;background:#fff;overflow:hidden;height:100%;color:#171a20}.ctf-flight-header{display:flex;align-items:center;gap:10px;padding:16px 12px;flex:none;background:#fff}.ctf-flight-header button{background:transparent;padding:4px;color:#1c2028}.ctf-flight-header>button:first-child{font-size:32px;line-height:1}.ctf-route-edit{flex:1;font-size:21px;font-weight:600;overflow-wrap:anywhere}.ctf-route-edit i{font-style:normal;color:#a3a8b0;margin:0 6px}.ctf-my-orders{color:#087fe4!important;font-size:13px}.ctf-date-strip{display:flex;gap:5px;padding:0 10px 10px;flex:none;overflow-x:auto}.ctf-date-strip button{flex:1;min-width:52px;background:white;border-radius:7px;padding:7px 3px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#202530}.ctf-date-strip small{font-size:11px}.ctf-date-strip b{font-size:19px}.ctf-date-strip span{font-size:12px}.ctf-date-strip .selected{background:#078de9;color:white}.ctf-date-strip .ctf-calendar{flex:0 0 30px;min-width:30px;justify-content:center}.ctf-calendar svg{width:25px;height:25px}.ctf-party-summary{padding:8px 14px;font-size:12px;background:#edf7ff;color:#2578b9;line-height:1.6;overflow-wrap:anywhere}.ctf-sort,.ctf-quick-filters,.ctf-leg-tabs{display:flex;gap:6px;padding:12px 10px;flex:none;overflow-x:auto;scrollbar-width:none}.ctf-sort button{background:white;flex:1;font-size:12px;padding:5px 0;white-space:nowrap}.ctf-sort .selected{color:#0586df}.ctf-quick-filters{padding-top:0;border-bottom:5px solid #f5f6f8}.ctf-quick-filters button,.ctf-leg-tabs button{font-size:11px;background:#f6f7fa;border-radius:4px;padding:9px 8px;white-space:nowrap;flex:1}.ctf-quick-filters .selected,.ctf-leg-tabs .selected{background:#eaf6ff;color:#0081dc}.ctf-flight-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:white}.ctf-flight-row{padding:21px 12px 15px;border-bottom:5px solid #f5f6f8}.ctf-flight-line{display:grid;grid-template-columns:23px minmax(0,1fr) 47px minmax(0,1fr) minmax(66px,.95fr);align-items:center;gap:6px}.ctf-fish{color:#0587e6}.ctf-fish svg{width:23px;height:25px}.ctf-time{display:flex;flex-direction:column;gap:6px;min-width:0}.ctf-time b{font-size:24px;white-space:nowrap}.ctf-time span{font-size:12px;overflow-wrap:anywhere}.ctf-time sup{font-size:9px}.ctf-flight-path{text-align:center;color:#9a9ea6;font-size:9px}.ctf-flight-path small{display:block;font-size:9px}.ctf-flight-path i{display:block;height:2px;background:#dddfe4;position:relative;margin:9px 0}.ctf-flight-path i:after{content:'';position:absolute;right:0;bottom:0;border-left:5px solid transparent;border-bottom:5px solid #dddfe4}.ctf-price{text-align:right;min-width:0;color:#0087e8}.ctf-price b{font-size:21px;display:block;overflow-wrap:anywhere;line-height:1.2}.ctf-price small{display:block;font-size:10px;color:#9199a5;margin-top:5px}.ctf-flight-meta{font-size:12px;color:#8a909a;margin:15px 0 10px 29px;line-height:1.6;overflow-wrap:anywhere}.ctf-flight-tags{display:flex;gap:5px;flex-wrap:wrap;margin-left:29px}.ctf-flight-tags span{border:1px solid #e8ebf0;padding:3px 5px;font-size:10px;color:#758292;border-radius:3px}.ctf-flight-actions{display:flex;gap:9px;align-items:center;margin:13px 0 0 29px}.ctf-flight-actions small{flex:1;font-size:11px;color:#8b95a1;overflow-wrap:anywhere}.ctf-book,.ctf-refund{background:#078bea;color:#fff;border-radius:6px;padding:7px 19px;font-size:14px}.ctf-refund{background:#edf7ff;color:#0486e5;border:1px solid #acd9fc}.ctf-book:disabled{background:#e9f1f8;color:#7895af}.ctf-flight-policy{font-size:11px;line-height:1.8;padding:12px;color:#8391a0;background:#f8fafc;margin:0}.ctf-flight-empty{padding:35px 20px;text-align:center;font-size:14px;color:#8190a2}.ctf-flight-empty button{display:block;margin:15px auto;background:#eaf5ff;padding:10px;color:#087edf;border-radius:6px}.ctf-order-row{padding:15px;border-bottom:5px solid #f5f6f8}.ctf-order-row .ctf-chat-flight{width:100%!important}.ctf-orders-entry{display:block;padding:15px;margin:0 12px 16px;border-radius:12px;background:#fff;color:#167ecb;font-size:15px}.north-ios-home-safe .ctf-flight-header,.north-ios-home-safe .ctf-list-app>.ctf-results-head{padding-top:calc(16px + var(--north-ios-home-safe-top))}@media(max-width:350px){.ctf-flight-line{gap:4px;grid-template-columns:19px minmax(0,1fr) 34px minmax(0,1fr) minmax(58px,.95fr)}.ctf-time b{font-size:21px}.ctf-price b{font-size:18px}.ctf-fish svg{width:19px}.ctf-sort button{font-size:11px}.ctf-quick-filters button{padding:8px 5px;font-size:10px}}

.ctf-price b{font-size:18px;white-space:nowrap;overflow-wrap:normal}.ctf-flight-line{grid-template-columns:23px minmax(0,1fr) 40px minmax(0,1fr) 89px}.ctf-app .ctf-book{color:#fff}.ctf-app .ctf-book:disabled{color:#7895af}.ctf-app .ctf-refund{color:#0486e5}.ctf-app .ctf-load-orders{display:block;margin:12px auto;padding:10px 20px;background:#edf7ff;color:#0783d9;border-radius:6px}@media(max-width:350px){.ctf-flight-line{grid-template-columns:19px minmax(0,1fr) 28px minmax(0,1fr) 78px}.ctf-price b{font-size:16px}}

.ctf-flight-path small{font-size:8px;white-space:nowrap}

.ctf-orders-wrap{margin:18px 12px 22px}.ctf-app .ctf-orders-entry{display:flex;width:100%;margin:0;align-items:center;justify-content:space-between;border-radius:12px;background:#fff;padding:21px 18px;color:#202632;text-align:left;box-sizing:border-box}.ctf-orders-entry b{font-size:17px;font-weight:650}.ctf-orders-entry span{font-size:25px;color:#8c98a6}.ctf-detail-app .ctf-flight-scroll{background:#f3f6fa;padding:15px 12px 24px}.ctf-detail-ticket{background:linear-gradient(130deg,#058aea,#2978ec);border-radius:17px;padding:20px;color:#fff;box-shadow:0 7px 20px #2a7dde1a}.ctf-detail-brand{display:flex;align-items:center;gap:7px}.ctf-detail-brand svg{width:27px;height:24px}.ctf-detail-brand span{margin-left:auto;font-size:11px;opacity:.85}.ctf-detail-status{margin:22px 0 14px;font-size:12px;opacity:.85}.ctf-detail-route{display:flex;align-items:center;justify-content:space-between;gap:15px}.ctf-detail-route>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:12px}.ctf-detail-route>div:last-child{text-align:right}.ctf-detail-route b{font-size:23px;overflow-wrap:anywhere}.ctf-detail-route strong{font-size:29px}.ctf-detail-route i{font-style:normal;opacity:.7;font-size:26px}.ctf-detail-route small{display:block;font-size:11px;margin-top:4px}.ctf-detail-ticket>p{font-size:12px;margin:18px 0 0;line-height:1.7}.ctf-detail-fields{background:#fff;border-radius:13px;padding:6px 17px;margin-top:16px}.ctf-detail-fields>div{display:flex;gap:20px;padding:14px 0;border-bottom:1px solid #edf1f6;align-items:flex-start;font-size:13px;line-height:1.7}.ctf-detail-fields>div:last-child{border:0}.ctf-detail-fields span{flex:0 0 85px;color:#8692a1}.ctf-detail-fields b{min-width:0;flex:1;text-align:right;font-weight:500;overflow-wrap:anywhere}.ctf-detail-refund{background:#fff;border-radius:13px;padding:18px;margin-top:16px}.ctf-detail-refund h3{font-size:15px;margin:0}.ctf-detail-refund p{font-size:12px;color:#7f8d9e;line-height:1.9}.ctf-app .ctf-detail-refund button{display:block;width:100%;padding:13px 10px;border-radius:9px;background:#078bea;color:#fff;font-size:15px}.ctf-detail-refunded{display:block;color:#0087de;font-size:14px}.ctf-chat-flight .cth-chat-name,.ctf-chat-flight p{overflow-wrap:anywhere;white-space:normal}

/* Center the vector chevron independently of font baselines. */
.ctf-back{display:flex;align-items:center;justify-content:center;padding:0!important;line-height:1!important}.ctf-back svg{display:block;width:24px;height:24px;flex:none}
