/* Identità condivisa con il sito istituzionale. Gli stati operativi conservano i propri colori. */
@font-face{font-family:Lovelo;src:local('Lovelo Black'),local('Lovelo');font-weight:700;font-display:swap}
:root{--club-navy:#020751;--club-gold:#f0be4f;--club-cream:#fbf8f1;--club-heading:Lovelo,'Segoe UI',Arial,sans-serif}
:root,:root[data-theme="day"]{--ui-bg:#fbf8f1;--ui-surface:#fffefa;--ui-surface-2:#f2eee3;--ui-border:#d8d4c8;--ui-text:#151939;--ui-muted:#55576a;--ui-action:#020751;--ui-link:#020751;--ui-action-soft:#ececf6}
:root[data-theme="night"]{--ui-bg:#060924;--ui-surface:#101437;--ui-surface-2:#191d46;--ui-border:#353a60;--ui-text:#f5f2e9;--ui-muted:#c2bfd0;--ui-action:#363b93;--ui-link:#f0be4f;--ui-action-soft:#292d55}
html[data-theme]{--font-sans:'Segoe UI',Arial,sans-serif;--surface-canvas:var(--ui-bg);--surface-header:var(--ui-surface);--surface-panel:var(--ui-surface);--bg-card:var(--ui-surface);--text-primary:var(--ui-text)}
html[data-theme] body{font-family:var(--font-sans);background:var(--ui-bg);color:var(--ui-text)}
html[data-theme] :is(h1,h2,h3,h4,h5,h6){font-family:var(--club-heading)!important}
html[data-theme] :is(.wb-page,.users-page,.fleet-page,.stralcio-page) :is(.card,fieldset,dialog){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] :is(.wb-page,.users-page,.fleet-page,.stralcio-page) :is(input,select,textarea){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
html[data-theme] :is(.wb-page,.users-page,.fleet-page,.stralcio-page)>header{background:var(--club-navy);color:#fff8e8;border-bottom:3px solid var(--club-gold)}
html[data-theme] :is(.wb-page,.users-page,.fleet-page,.stralcio-page)>header a{color:#fff8e8}
html[data-theme] :is(button.primary,.button.primary,#new-flight){background:var(--club-gold)!important;color:var(--club-navy)!important;border-color:var(--club-gold)!important}
html[data-theme] :is(.muted,.wb-muted,.page-title p){color:var(--ui-muted)}
html[data-theme] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--club-gold)!important;outline-offset:3px}
#header-club-logo,.wb-brand>img,.flight-brand>img{width:auto!important;height:66px!important;object-fit:contain}
.club-booking-wordmark{display:block;width:240px;max-width:100%;height:auto;object-fit:contain}
.booking-brand-mark{display:flex;align-items:center;gap:13px;text-decoration:none}
.booking-brand-mark>img{width:48px;height:66px;object-fit:contain}
.booking-brand-mark .club-booking-wordmark{width:235px}
.club-mark-gold{display:none!important}html[data-theme="night"] .club-mark-blue{display:none!important}html[data-theme="night"] .club-mark-gold{display:block!important}
.booking-brand-mark .club-mark-blue{display:none!important}.booking-brand-mark .club-mark-gold{display:block!important}
.academy-login{width:min(350px,85vw)}.academy-login img{height:auto!important;object-fit:contain}
@media(max-width:640px){#header-club-logo,.wb-brand>img,.flight-brand>img{height:52px!important}.club-booking-wordmark{width:190px}.booking-brand-mark .club-booking-wordmark{width:200px}}
@media print{html[data-theme] body{background:white!important;color:#111!important}.wb-paper,.sheet{background:white!important;color:#111!important}.wb-paper-header{background:white!important;color:var(--club-navy)!important;border-bottom-color:var(--club-gold)!important}.booking-brand-mark{display:none!important}}
