/* Approved Clear Aviation Tracking tailfin. Scoped to branding only. */
.brand.clear-brand{display:flex!important;align-items:center!important;justify-content:flex-start;gap:10px!important;width:auto;min-width:0!important;grid-template:none!important;color:#eef7fc;text-decoration:none;white-space:nowrap;flex-shrink:0;}
.clear-brand .clear-brand-mark{display:block;width:54px!important;height:46px!important;flex:0 0 auto;object-fit:contain;transform:none;filter:none;}
.clear-brand .clear-brand-word{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;}
.clear-brand .clear-brand-name{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:22px;font-weight:750;line-height:1.08;letter-spacing:-.65px;color:inherit;}
.clear-brand .clear-brand-tracking{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;font-weight:400;line-height:1.1;letter-spacing:4px;color:#d6eaf6;}
.clear-brand:focus-visible{outline:2px solid #41baff;outline-offset:4px;}
/* Keep the existing controls and hit targets. */
.topbar .brand.clear-brand{width:208px;min-width:0!important;height:52px;}
.topbar .clear-brand .clear-brand-mark{width:44px!important;height:38px!important;}
.topbar .clear-brand .clear-brand-name{font-size:20px;}
.topbar .clear-brand .clear-brand-tracking{font-size:11px;letter-spacing:3.5px;}
body.cat-open-map .topbar .brand.clear-brand{width:208px;height:48px;gap:9px!important;padding:5px 12px!important;}
body.cat-open-map .topbar .clear-brand .clear-brand-mark{width:36px!important;height:32px!important;}
body.cat-open-map .topbar .clear-brand .clear-brand-name{font-size:19px;}
body.cat-open-map .topbar .clear-brand .clear-brand-tracking{font-size:10px;letter-spacing:3px;}
/* Use the tailfin alone on compact map headers to preserve flight-search space. */
@media(max-width:1100px){
 body.cat-open-map header.topbar{grid-template-columns:48px minmax(0,1fr) 44px!important;}
 body.cat-open-map .topbar .brand.clear-brand{width:48px!important;height:44px;justify-content:center;padding:5px!important;}
 body.cat-open-map .topbar .clear-brand .clear-brand-word{display:none!important;}
 body.cat-open-map .topbar .clear-brand .clear-brand-mark{width:31px!important;height:29px!important;}
}
@media(max-width:760px){
 .topbar:has(#brand.clear-brand){grid-template-columns:48px minmax(0,1fr) 44px!important;}
 .topbar #brand.clear-brand{width:48px!important;height:44px;justify-content:center;}
 .topbar #brand.clear-brand .clear-brand-word{display:none!important;}
 .topbar #brand.clear-brand .clear-brand-mark{width:34px!important;height:30px!important;}
 .brand.clear-brand{gap:8px!important;}
 .clear-brand .clear-brand-mark{width:43px!important;height:37px!important;}
 .clear-brand .clear-brand-name{font-size:18px;letter-spacing:-.5px;}
 .clear-brand .clear-brand-tracking{font-size:10px;letter-spacing:3px;}
}
@media(max-width:380px){
 header:has(>.clear-brand){gap:10px;}
 header:has(>.clear-brand)>.back,header:has(>.clear-brand)>.back-link,header:has(>.clear-brand)>.track{font-size:12px;}
 .clear-brand .clear-brand-name{font-size:16px;}
 .clear-brand .clear-brand-mark{width:35px!important;height:31px!important;}
}
@media print{.clear-brand .clear-brand-mark{content:url('/assets/clear-tailfin.svg');}.clear-brand .clear-brand-name,.clear-brand .clear-brand-tracking{color:#102b43;}}
