:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#17202a;background:#eef2f5}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:20px max(20px,4vw);background:#101820;color:white}h1{margin:0;font-size:1.7rem}header p{margin:.3rem 0 0;opacity:.72}button{border:0;border-radius:8px;padding:9px 12px;cursor:pointer}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.filters button.active{background:#101820;color:white}main{max-width:1500px;margin:auto;padding:0 20px 40px}.airport{background:white;border-radius:14px;margin:18px 0;box-shadow:0 2px 12px #0001;overflow:hidden}.airport-head{padding:16px 18px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:1px solid #e7ebef}.airport-title h2{margin:0}.meta{font-size:.8rem;color:#65717c}.weather{display:flex;gap:8px;flex-wrap:wrap}.wx{background:#f4f7f9;border-radius:9px;padding:7px 9px;font-size:.82rem}.tomorrow{background:#eaf2ff}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.88rem}th,td{padding:9px 10px;border-bottom:1px solid #edf0f2;text-align:left;white-space:nowrap}th{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;color:#65717c;background:#fafbfc;position:sticky;top:0}.status{font-weight:700}.st-new{background:#fff8c5}.st-highlight{background:#ffe1a8}.st-review{background:#fde8e7}.st-excluded{display:none}.actions{display:flex;gap:4px}.actions button{padding:4px 7px;font-size:.78rem}.empty{padding:25px;color:#65717c}.error{padding:9px 18px;background:#fff0f0;color:#8a2020}dialog{border:0;border-radius:14px;width:min(520px,90vw);padding:22px}.setting-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.hint{color:#65717c;font-size:.85rem}.loading{padding:40px;text-align:center}@media(max-width:700px){th:nth-child(6),td:nth-child(6),th:nth-child(7),td:nth-child(7){display:none}}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(430px,100%);background:var(--card,#fff);padding:28px;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.12)}.auth-card form,.account-form{display:grid;gap:14px}.auth-card label,.account-form label{display:grid;gap:6px;font-weight:600}.auth-card input,.account-form input{font:inherit;padding:10px 12px;border:1px solid #bbb;border-radius:8px}.auth-card .remember{display:flex;align-items:center;gap:8px;font-weight:400}.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button-link{display:inline-block;text-decoration:none;color:inherit;background:#eee;border:1px solid #ccc;border-radius:8px;padding:8px 12px}.account{max-width:760px;margin:0 auto}.success{padding:10px 12px;background:#e9f8ee;border:1px solid #a8dbb8;border-radius:8px;margin-bottom:14px}
.filter-bar{display:grid;gap:8px;margin:18px 0}.filter-bar .filters{margin:0}.filter-label{font-size:.78rem;color:#65717c;font-weight:700;align-self:center;margin-right:3px}.movement{display:inline-block;border-radius:999px;padding:3px 7px;font-size:.7rem;font-weight:800;letter-spacing:.02em}.movement.dep{background:#e8f0ff}.movement.arr{background:#e8f8ee}.movement.unknown{background:#f1f1f1;color:#777}.outside-daylight td{opacity:.72}.reg-link{font-weight:700;text-decoration:none;border-bottom:1px dotted currentColor}.reg-link:hover{text-decoration:underline}
.airport-jump{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:18px 0 8px;position:sticky;top:8px;z-index:20;width:max-content;max-width:100%;padding:7px 9px;border-radius:11px;background:rgba(255,255,255,.94);box-shadow:0 2px 10px #0002;backdrop-filter:blur(8px)}.airport-jump:empty{display:none}.airport-jump .jump-label{font-size:.72rem;font-weight:800;color:#65717c;text-transform:uppercase;letter-spacing:.04em;margin-right:2px}.airport-jump a{display:inline-block;text-decoration:none;font-weight:800;font-size:.8rem;color:#17202a;background:#eef2f5;border-radius:7px;padding:5px 8px}.airport-jump a:hover{background:#dfe6eb}html{scroll-behavior:smooth}.airport{scroll-margin-top:68px}

.route-point{white-space:nowrap;font-weight:600}.route-flag{font-size:1.15em;vertical-align:-.05em;margin-right:.15rem}
/* Airport-Stammdaten / Alias-Pflege */
#settings{max-width:820px;width:min(92vw,820px)}
#settings hr{margin:1.25rem 0;border:0;border-top:1px solid #d8dde5}
.directory-status{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.5rem 0}
.alias-form{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:.65rem;align-items:end;margin:.8rem 0 1rem}
.alias-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem}.alias-form input,.alias-form select{padding:.55rem;border:1px solid #cfd5df;border-radius:.45rem;background:inherit;color:inherit}
.alias-list{display:grid;gap:.35rem;max-height:220px;overflow:auto}.alias-row{display:flex;justify-content:space-between;gap:.75rem;align-items:center;padding:.45rem .55rem;border:1px solid #e0e4ea;border-radius:.45rem}.alias-row small{opacity:.7}.alias-row button{min-width:2rem}
.route-unresolved{border-bottom:1px dotted currentColor}
.dialog-actions{margin-top:1rem}.actions button{cursor:pointer}
@media(max-width:760px){.alias-form{grid-template-columns:1fr 1fr}.alias-form label:first-child,.alias-form label:nth-child(3){grid-column:1/-1}}


/* Direkte Airport-Zuordnung aus der Flugliste */
.route-match-link{font:inherit;font-weight:700;padding:2px 4px;margin:-2px -4px;background:transparent;color:inherit;border-radius:5px;border:0;border-bottom:1px dotted currentColor}.route-match-link:hover,.route-match-link:focus{background:#eef4ff;outline:2px solid transparent}.route-match-link span{font-size:.85em;opacity:.65}.route-match-dialog{width:min(650px,92vw)}.route-match-context{background:#f5f7f9;border-radius:9px;padding:10px 12px}.route-match-context span{font-size:.85rem;color:#65717c}.route-search-label{display:grid;gap:6px;font-weight:700}.route-search-label input{font:inherit;padding:10px 12px;border:1px solid #cfd5df;border-radius:8px}.route-match-results{display:grid;gap:6px;margin:10px 0;max-height:330px;overflow:auto}.route-candidate{display:grid;grid-template-columns:minmax(125px,auto) 1fr;gap:10px;text-align:left;align-items:center;background:#f7f9fb;border:1px solid #e0e5eb;padding:9px 11px}.route-candidate:hover,.route-candidate:focus{background:#eaf2ff;border-color:#b7c9e6}.candidate-code{font-size:.95rem}.candidate-code small{color:#65717c;font-weight:500}.candidate-name{white-space:normal;color:#3d4852}.route-global{display:flex;gap:8px;align-items:center;margin-top:10px}.error.compact{padding:8px 10px}.route-no-results{padding:10px 2px}@media(max-width:600px){.route-candidate{grid-template-columns:1fr}.candidate-name{font-size:.85rem}}
/* v4.0 Bewertungs- und Aktionslogik */
.st-interesting{background:#eef7ff}.st-standard{background:#f6f7f8;color:#69727c}.st-excluded{background:#eee;color:#858585;text-decoration-color:#aaa}.st-excluded td{opacity:.65}
.actions{align-items:center;position:relative}.action-quick{display:flex;gap:4px;align-items:center}.action-more{position:relative}.action-more summary{list-style:none;cursor:pointer;background:#eef2f5;border-radius:7px;padding:4px 8px;font-weight:800}.action-more summary::-webkit-details-marker{display:none}.action-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:50;min-width:220px;display:grid;gap:3px;padding:7px;background:white;border:1px solid #dbe1e6;border-radius:10px;box-shadow:0 10px 30px #0003}.action-menu button{text-align:left;white-space:nowrap;background:#f5f7f9}.action-menu button:hover{background:#eaf2ff}
.collection-dialog{width:min(760px,94vw)}.collection-dialog hr{border:0;border-top:1px solid #dde2e7;margin:20px 0}.livery-form,.reset-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.livery-form label,.reset-form label{display:grid;gap:5px;font-size:.88rem;font-weight:650}.livery-form input,.livery-form select,.reset-form input,.reset-form select{font:inherit;padding:9px 10px;border:1px solid #cfd5df;border-radius:8px}.check-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;justify-content:flex-start}.livery-form button,.reset-form button{align-self:end}.st-interesting .status,.st-standard .status,.st-excluded .status{font-size:.72rem}
@media(max-width:760px){.livery-form,.reset-form{grid-template-columns:1fr}.action-menu{right:auto;left:0}}
/* v4.1 Airline-Prüfplan */
.airline-review-list{display:grid;gap:5px;max-height:280px;overflow:auto;border:1px solid #e1e6eb;border-radius:10px;padding:6px}.airline-review-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 8px;border-bottom:1px solid #eef1f3}.airline-review-row:last-child{border-bottom:0}.airline-review-row>span:first-child{display:flex;align-items:baseline;gap:8px;min-width:0}.airline-review-row small{font-size:.72rem;color:#7b858e}.airline-review-controls{display:flex;align-items:center;gap:5px}.review-cycle{width:29px;height:29px;padding:0;border-radius:50%;font-size:.9rem;background:#eef2f5;color:#6c7680;opacity:.72}.review-cycle.on{color:#263746;opacity:1}.review-cycle.off{opacity:.35}.airline-review-controls select{font:inherit;font-size:.76rem;padding:4px 5px;border:1px solid #d5dbe1;border-radius:6px;background:white;color:inherit}.airline-review-controls select:disabled{opacity:.35}
/* v4.2: Aktionsmenü als echtes Viewport-Overlay, damit Tabellen-overflow/z-index es nicht abschneidet. */
.action-more{display:inline-flex;position:static}.more-actions-btn{padding:4px 8px;font-weight:800;background:#eef2f5}.action-menu-template{display:none!important}.action-menu-overlay{position:fixed!important;z-index:100000!important;right:auto!important;top:0;left:0;min-width:230px;max-width:min(320px,calc(100vw - 16px));display:grid;gap:3px;padding:7px;background:#fff;border:1px solid #dbe1e6;border-radius:10px;box-shadow:0 14px 38px #0005}.action-menu-overlay[hidden]{display:none!important}.action-menu-overlay button{text-align:left;white-space:nowrap;background:#f5f7f9}.action-menu-overlay button:hover{background:#eaf2ff}
.cache-refresh{padding:1px 5px;margin-left:4px;font-size:.75rem;background:transparent;color:inherit;opacity:.55}.cache-refresh:hover{opacity:1;background:#eef2f5}

.flight-time{white-space:nowrap}.time-kind{display:inline-block;min-width:1.1em;font-size:.72em;opacity:.62;font-weight:700;vertical-align:.08em}
/* v4.12: globale Prüfliste + Highlight-Zähler an Airport-Shortcuts */
.airport-jump .jump-review{display:inline-block;border:0;text-decoration:none;font-weight:800;font-size:.8rem;color:#6e3d00;background:#fff2cc;border-radius:7px;padding:5px 8px;cursor:pointer}.airport-jump .jump-review:hover,.airport-jump .jump-review.active{background:#ffe3a1}.queue-count{display:inline-flex;min-width:1.7em;height:1.7em;padding:0 .4em;align-items:center;justify-content:center;border-radius:999px;font-size:.68em;vertical-align:.12em;background:#fff2cc;color:#6e3d00}.review-queue .airport-head{background:#fffaf0}.review-queue td.actions{min-width:410px}
@media(max-width:900px){.review-queue td.actions{min-width:300px}}


/* v4.14: klare Registration-Aktionen */
.action-quick{flex-wrap:wrap}
.classify.active{font-weight:800;box-shadow:inset 0 0 0 2px currentColor}
.classify-highlight.active{background:#ffe3a1}
.classify-interesting.active{background:#dff0ff}
.classify-standard.active{background:#e9ecef}
.review-queue td.actions{min-width:470px}
/* v4.19 – Operations Center / konsolidierte UI */
.soc-dialog{width:min(920px,94vw);max-height:88vh;padding:0;overflow:hidden}.soc-dialog[open]{display:flex;flex-direction:column}.dialog-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #d9dde3;background:inherit;z-index:2}.dialog-head h2{margin:0}.dialog-x{font-size:22px;line-height:1;padding:4px 9px}.dialog-body{padding:18px 20px;overflow:auto;min-height:0}.soc-dialog>.dialog-actions{position:sticky;bottom:0;margin:0;padding:12px 20px;border-top:1px solid #d9dde3;background:inherit;display:flex;justify-content:flex-end;gap:8px}.auth-minimal{max-width:520px}.private-notice{margin-top:28px;padding-top:20px;border-top:1px solid #ddd;font-size:.9rem;line-height:1.45}.private-notice p{margin:8px 0}.overview-grid{display:flex;gap:8px;flex-wrap:wrap}.overview-cell{display:grid;grid-template-columns:auto auto;gap:2px 12px;min-width:110px;text-align:left}.overview-cell small{grid-column:1/-1}.news-panel{margin-top:18px}.news-row,.manage-row,.setting-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e4e7eb}.news-row>div:first-child,.manage-row>span:first-of-type{flex:1}.news-row b,.setting-row small{display:block}.day-selector{display:flex;gap:6px;overflow:auto;margin:10px 0}.reg-status{font-weight:700}.badge{display:inline-block;border:1px solid currentColor;border-radius:10px;padding:1px 6px;font-size:.75em}.livery-form textarea{width:100%;box-sizing:border-box}.movement{font-weight:700}.actions .action-quick{display:none}.actions{white-space:nowrap}
/* v4.19 Patch 1 */
.header-actions .button-link{display:inline-flex;align-items:center;background:#eef2f5;color:#17202a;border-radius:8px;padding:9px 12px;text-decoration:none}
body[data-page="overview"] #overview{margin-top:18px}
/* v4.20: häufige Spotter-Aktionen bleiben direkt in jeder Zeile erreichbar. */
.actions .action-quick{display:inline-flex;gap:3px;align-items:center}
.quick-action{min-width:28px;padding:4px 6px!important;border:1px solid #d8dde2;background:#f7f9fa;font-weight:700}
.quick-action.livery{font-size:.9rem!important}.quick-action.check{background:#eaf6ed}
.wl-badge{display:inline-block;padding:2px 6px;border-radius:10px;border:1px solid currentColor;font-size:.72rem;font-weight:800;cursor:pointer;background:#fff}
.wl-badge.suspected{border-style:dashed}.wl-badge.confirmed{background:#edf7ef}.wetlease-for{font-size:.82em;color:#65717c}.wx-sep{opacity:.45;padding:0 2px}
.overview-cell{grid-template-columns:auto;justify-items:start}.overview-cell b{font-size:.95rem}.overview-cell span{font-size:.9rem}
@media(max-width:900px){.actions .action-quick{gap:2px}.quick-action{min-width:25px;padding:3px 5px!important}}
/* v4.21.1: strukturierte Varianten / Condor-Farben */
.variant-field{display:grid;gap:6px}.field-label{font-size:.88rem;font-weight:650}.variant-buttons,.condor-colors{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.variant-buttons button.active,.condor-choice.active{box-shadow:inset 0 0 0 2px #222}.condor-colors>span{font-size:.82rem;margin-right:3px}.condor-choice{width:30px;height:30px;min-width:30px;padding:0!important;border-radius:999px!important;border:2px solid rgba(0,0,0,.25)!important}.condor-green,.condor-dot.condor-green{background:#3f8f62}.condor-yellow,.condor-dot.condor-yellow{background:#f2c94c}.condor-blue,.condor-dot.condor-blue{background:#4f7fb8}.condor-red,.condor-dot.condor-red{background:#c95858}.condor-beige,.condor-dot.condor-beige{background:#d8c4a1}.condor-dot{display:inline-block;width:12px;height:12px;border-radius:999px;border:1px solid rgba(0,0,0,.25);vertical-align:-1px}

/* v4.21.2: einheitliche Geometrie der oberen Navigation und Filter */
.header-actions>a.button-link,.header-actions>button{display:inline-flex;align-items:center;justify-content:center;height:38px;min-height:38px;padding:0 12px!important;border:1px solid #cfd5df;border-radius:8px;font:inherit;line-height:1;white-space:nowrap;vertical-align:middle}
.header-actions>a.button-link{background:#eef2f5;color:#17202a;text-decoration:none}.header-actions>button{background:#eef2f5;color:#17202a}
.filter-bar .filters button,.day-selector button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;height:36px;padding:0 12px;line-height:1}
.airport-jump a,.airport-jump .jump-review{display:inline-flex;align-items:center;justify-content:center;min-height:30px;height:30px;padding:0 8px;line-height:1}
/* v4.24: Sonderbemalung und Bemalungsvariante getrennt */
.entry-section{border:1px solid #d9dde3;border-radius:10px;padding:12px;margin:4px 0 10px}.entry-section legend{font-weight:700;padding:0 6px}.quick-action.variant{font-size:.9rem!important}

.info-livery-link{appearance:none;border:0;background:transparent;padding:0;color:inherit;font:inherit;text-decoration:underline;text-decoration-style:dotted;cursor:pointer}.info-livery-link:hover{text-decoration-style:solid}.special-presets{display:grid;gap:6px}.special-presets .field-label{font-weight:700}

/* v4.34: kompakte einzeilige Ansichtsfilter */
.filter-bar{display:flex;align-items:center;gap:0;margin:12px 0;flex-wrap:wrap;background:#f8fafb;border:1px solid #e2e7eb;border-radius:10px;padding:5px 7px}
.filter-bar .filters{display:flex;align-items:center;gap:5px;margin:0;padding:0 9px;flex-wrap:nowrap}
.filter-bar .filters+ .filters{border-left:1px solid #cfd6dc}
.filter-bar .filters:first-child{padding-left:2px}
.filter-bar .filters button{min-height:30px;height:30px;padding:0 9px;font-size:.78rem}
.filter-bar .filter-label{font-size:.72rem;white-space:nowrap}
.variant-free-label{display:grid;gap:4px;font-size:.82rem;color:#65717c}.variant-free{width:100%}
@media(max-width:850px){.filter-bar{align-items:stretch}.filter-bar .filters{flex-wrap:wrap}.filter-bar .filters+ .filters{border-left:0;border-top:1px solid #cfd6dc;padding-top:5px}}

/* v4.37: Airport-Quicklinks und Filter bleiben gemeinsam sichtbar. */
.sticky-controls{position:sticky;top:0;z-index:35;margin:8px 0 10px;padding:5px 0;background:rgba(238,242,245,.96);backdrop-filter:blur(8px);border-bottom:1px solid transparent}
.sticky-controls .airport-jump{position:static;top:auto;z-index:auto;margin:0 0 5px;width:100%;max-width:none;box-shadow:none;background:rgba(255,255,255,.94)}
.sticky-controls .filter-bar{margin:0;box-shadow:0 2px 10px #0001}
.sticky-controls.is-stuck{border-bottom-color:#d8dee4;box-shadow:0 5px 12px #0001}
th{top:0;z-index:10}
.airport{scroll-margin-top:calc(var(--sticky-controls-height,68px) + 8px)}
/* v4.40: geteilter Prüfmodus */
.review-mode-dialog{width:min(1500px,98vw)!important;height:min(920px,96vh);max-height:96vh!important}.review-mode-dialog .dialog-head{flex:0 0 auto}.review-split{display:grid;grid-template-columns:minmax(0,3fr) minmax(360px,2fr);min-height:0;flex:1}.review-photo-pane{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;background:#17191c;padding:18px;gap:14px}.review-photo-box{width:200px;max-width:100%;text-align:center}.review-photo-box img{display:block;width:auto;height:auto;max-width:200px;max-height:200px;margin:0 auto;border-radius:8px;background:#fff}.review-photo-credit{margin-top:7px;color:#e7ebef;font-size:.78rem;line-height:1.3}.review-photo-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.review-photo-pane .button-link{align-self:auto}.review-photo-state{padding:14px 18px;border-radius:9px;background:#fff;color:#17202a;box-shadow:0 5px 22px #0005;text-align:center;max-width:80%}.review-form-pane{overflow:auto;padding:14px;background:#fff}.review-aircraft-meta{display:grid;gap:3px;margin:0 0 12px;padding:10px 12px;background:#f4f7f9;border-radius:10px}.review-aircraft-meta strong{font-size:1.45rem}.review-aircraft-meta span{font-size:.86rem;color:#5f6b75}.review-class-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.review-class-buttons button{font-weight:800}.review-class-buttons button.active{box-shadow:inset 0 0 0 2px currentColor;background:#eaf2ff}.review-nav{justify-content:space-between!important}.review-nav #reviewSaveNext{margin-left:auto}.review-mode-start{align-self:center;font-weight:800;background:#fff2cc;color:#6e3d00}.review-form-pane .entry-section{display:grid;gap:9px}.review-form-pane label{display:grid;gap:4px}.review-form-pane input,.review-form-pane select{width:100%;box-sizing:border-box}.review-form-pane .check-row{display:flex;grid-template-columns:none;align-items:center}.review-form-pane .check-row input{width:auto}
@media(max-width:900px){.review-mode-dialog{height:96vh}.review-split{grid-template-columns:1fr;grid-template-rows:minmax(300px,45vh) 1fr}.review-photo-box img{max-width:200px;max-height:200px}.review-form-pane{padding:10px}}
.review-rule-section{border-color:#d8dee5}.review-rule-row{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:8px}.review-rule-row>span{font-size:.82rem;font-weight:800;color:#46515b}.review-rule-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.review-rule-buttons button{font-size:.78rem;padding:7px 5px}.review-rule-buttons button.active{box-shadow:inset 0 0 0 2px currentColor;background:#eaf2ff}@media(max-width:600px){.review-rule-row{grid-template-columns:1fr}.review-rule-buttons{grid-template-columns:repeat(3,1fr)}}

/* v4.48 Prüfmodus: Basisdaten links, WL?-Kandidaten deutlich markieren. */
.review-photo-pane{justify-content:flex-start!important;overflow:auto}
.review-aircraft-card{width:min(520px,92%);text-align:center;color:#f5f7f9;padding:6px 10px 2px}
.review-card-reg{font-size:2rem;font-weight:900;letter-spacing:.035em;line-height:1.05}
.review-card-airline{margin-top:8px;font-size:1.18rem;font-weight:800;line-height:1.25}
.review-card-type{margin-top:5px;font-size:1.08rem;font-weight:700;color:#d8dee4}
.review-card-wetlease,.review-wetlease-hint{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:999px;background:#eadcff;color:#4d1f78;font-size:.82rem;font-weight:900}
.review-wetlease-section.wetlease-candidate{border:2px solid #a67bd1!important;background:#f5edff!important;box-shadow:0 0 0 3px #a67bd133}
.review-wetlease-section.wetlease-candidate legend{color:#4d1f78;font-weight:900}
.review-wetlease-section.wetlease-candidate #reviewOperator{border-color:#9d73c8;box-shadow:0 0 0 1px #b995dc}
.review-wetlease-section.wetlease-candidate #reviewOperator:focus{outline:2px solid #8d5bb9;outline-offset:1px}
.review-wetlease-section.wetlease-candidate #reviewWetlease{accent-color:#7b4aa4}
.review-wetlease-hint{margin:0 0 0 6px}
.review-card-wetlease[hidden],.review-wetlease-hint[hidden]{display:none!important}

/* v4.61: kompaktere, besser ausgerichtete Wetter-/Vorschau- und News-Darstellung */
.weather{align-items:stretch}
.wx{display:flex;align-items:center}
.daylight-window{align-items:center;justify-content:center}
.overview-counts{display:flex;gap:10px;align-items:center;white-space:nowrap}
.news-card{overflow:hidden}
.news-items{padding:14px 18px 18px}
.news-item{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e4e7eb}
.news-item:first-child{padding-top:4px}
.news-item:last-child{border-bottom:0;padding-bottom:4px}
.news-item>div:first-child{flex:1;min-width:0;line-height:1.45}
.news-item>div:first-child small{display:block;margin:3px 0 7px;color:#65717c}
.news-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;min-width:270px}
.news-actions button,.news-actions .button-link{padding:9px 13px;min-height:38px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.news-item{flex-direction:column}.news-actions{min-width:0;width:100%;justify-content:flex-start}}


/* v4.62: Prüfliste als eigener Arbeitsmodus und kompakterer 50/50-Prüfmodus */
.review-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.review-card-existing{display:grid;gap:7px;margin:14px auto 4px;padding:10px 12px;max-width:390px;text-align:left;border:1px solid #ffffff2b;border-radius:9px;background:#ffffff0d}
.review-card-existing[hidden]{display:none!important}.review-card-existing>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:baseline}.review-card-existing span{font-size:.76rem;color:#aeb8c1;font-weight:700}.review-card-existing strong{font-size:.9rem;color:#f5f7f9;overflow-wrap:anywhere}
.review-queue td.actions{min-width:470px}.review-queue th:last-child{min-width:470px}
@media(max-width:900px){.review-split{grid-template-columns:1fr;grid-template-rows:minmax(300px,45vh) 1fr}.review-card-existing>div{grid-template-columns:1fr;gap:2px}}


/* v4.63: fokussierte Prüfliste und schnelle Bemalungs-Erfassung */
.entry-dialog{width:min(1050px,96vw)}
.entry-capture-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1fr);gap:18px;align-items:start}
.entry-reg-pane,.entry-paint-pane{min-width:0}
.entry-reg-pane label{display:grid;gap:7px;font-size:.9rem;font-weight:700}
.entry-reg-pane textarea{width:100%;min-height:300px;box-sizing:border-box;font:inherit;padding:11px 12px;border:1px solid #cfd5df;border-radius:10px;resize:vertical}
.entry-paint-pane{display:grid;gap:12px}
.entry-paint-pane .entry-section{margin:0}
@media(max-width:760px){.entry-capture-grid{grid-template-columns:1fr}.entry-reg-pane textarea{min-height:150px}}


/* v4.64: kompakter Textfilter direkt in der Flugplan-Filterzeile */
.text-filter-group{min-width:min(310px,100%)}
.text-filter-label{display:inline-flex;align-items:center;gap:4px;font-size:.72rem;color:#65717c;font-weight:700;white-space:nowrap}
#flightTextFilter{width:210px;max-width:32vw;height:30px;border:1px solid #cfd6dc;border-radius:7px;padding:0 9px;background:#fff;font:inherit;font-size:.8rem}
#flightTextFilter:focus{outline:2px solid #8bb8ee;outline-offset:1px}
@media(max-width:850px){.text-filter-group{width:100%}#flightTextFilter{width:100%;max-width:none;flex:1}}

/* v4.65: Datumswahl kompakt wie die übrigen Flugplanfilter. */
.sticky-controls .day-selector{display:flex;align-items:center;gap:5px;overflow:auto;margin:7px 0 5px;padding:5px 7px;background:#f8fafb;border:1px solid #e2e7eb;border-radius:10px}
.sticky-controls .day-selector button{min-height:30px;height:30px;padding:0 10px;font-size:.78rem;white-space:nowrap;background:#eef2f5}
.sticky-controls .day-selector button.active{background:#101820;color:#fff;font-weight:700;box-shadow:0 0 0 2px #10182022}

/* v4.68: Airport-Schnellfilter und kompakte Smartphone-Bedienung. */
.airport-jump .jump-airport{display:inline-flex;align-items:center;justify-content:center;min-height:30px;height:30px;padding:0 8px;border:0;border-radius:7px;background:#eef2f5;color:#17202a;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}
.airport-jump .jump-airport:hover,.airport-jump .jump-airport.active{background:#101820;color:#fff}
.mobile-menu-toggle{display:none}
@media(max-width:760px){
 header{position:relative;align-items:flex-start}
 .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border:1px solid #cfd5df;border-radius:8px;background:#eef2f5;font:inherit;font-weight:800}
 header .header-actions{display:none;position:absolute;right:12px;top:calc(100% - 4px);z-index:1000;min-width:210px;padding:8px;background:#fff;border:1px solid #d8dee4;border-radius:10px;box-shadow:0 12px 30px #0003}
 header .header-actions.mobile-open{display:grid;gap:5px}
 header .header-actions>a.button-link,header .header-actions>span.button-link,header .header-actions>button{width:100%;justify-content:flex-start}
 .airport table .airline-col,.airport table th:nth-child(4){display:none}
 .airport:not(.review-queue) td.actions .action-quick{display:none!important}
 .airport:not(.review-queue) td.actions{min-width:0;width:42px}
 .airport:not(.review-queue) .more-actions-btn{min-width:34px;min-height:30px;font-size:1.05rem}
 .sticky-controls .airport-jump{overflow-x:auto;flex-wrap:nowrap}
 .sticky-controls .airport-jump .jump-label{flex:0 0 auto}.sticky-controls .airport-jump .jump-airport{flex:0 0 auto}
}


/* v4.69: ruhigerer Header und stabile Prüflisten-Umschaltung. */
.title-mobile{display:none}
@media(max-width:760px){
 .title-full{display:none}.title-mobile{display:inline}
 header{padding-top:14px;padding-bottom:14px}
 .mobile-menu-toggle{min-width:34px;min-height:34px;width:34px;height:34px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:1.65rem;font-weight:400;line-height:1}
 .mobile-menu-toggle:hover,.mobile-menu-toggle:focus{background:transparent}
}
/* v4.71: per-Airport Abrufschalter und sichtbarer Cache-only-Zustand */
.plan-review-switch{text-align:center}
.airport-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.airport-head-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.fetch-switch{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:#65717c;cursor:pointer;user-select:none}
.fetch-switch input{position:absolute;opacity:0;pointer-events:none}
.fetch-switch span{width:30px;height:17px;border-radius:999px;background:#c9d0d6;position:relative;transition:.15s}
.fetch-switch span:after{content:"";position:absolute;width:13px;height:13px;left:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:.15s}
.fetch-switch input:checked+span{background:#3f7f54}
.fetch-switch input:checked+span:after{transform:translateX(13px)}
.airport-cache-stale>.airport-head{background:#fff0cf;border-bottom-color:#e6c77f}
.airport-cache-stale .airport-title .meta{color:#805b18;font-weight:600}
@media(max-width:700px){.airport-head-tools{width:100%;justify-content:flex-start;align-items:center}.airport-title-row{gap:9px}.fetch-switch b{font-size:.72rem}}

/* v4.72 Cargo/Frachter */
.cargo-mark{font-size:.9em;margin-left:.25rem;white-space:nowrap}

.master-data-missing{display:inline-block;padding:2px 7px;border:2px solid currentColor;border-radius:5px;font-weight:800;text-transform:uppercase}.review-card-airline.master-data-missing,.review-card-type.master-data-missing{padding:6px 9px;margin-top:4px}.share-readonly{font-size:.78rem;font-weight:700;opacity:.75}.share-view header{justify-content:flex-start}.share-view .airport-cache-stale .meta{font-weight:700}.share-view button,.share-view input{touch-action:manipulation}

/* v4.82: stabiler Prüfmodus mit klaren Prüfgründen und Merkmalen am Foto */
.review-aircraft-card{min-height:330px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px}
.review-card-reason{min-height:54px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;text-align:left}
.review-reason-badge{min-width:0;flex:1 1 220px;box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:9px 12px;border-radius:9px;border:1px solid transparent}
.review-reason-badge strong{font-size:.8rem;letter-spacing:.035em;white-space:nowrap}.review-reason-badge span{font-size:.82rem;font-weight:650;line-height:1.25}
.review-reason-badge.reason-wetlease{background:#eadcff;color:#4d1f78;border-color:#b99ad9}.review-reason-badge.reason-new{background:#dcecff;color:#164f8c;border-color:#96bee9}.review-reason-badge.reason-recheck{background:#ffe2c2;color:#7a3b00;border-color:#e9a55c}.review-reason-badge.reason-review{background:#ffd9de;color:#7a1826;border-color:#e79aa5}
.review-card-reg{min-height:36px;display:flex;align-items:center;justify-content:center}
.review-airline-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:65px}.review-airline-role{display:grid;align-content:center;gap:3px;padding:8px 10px;border:1px solid #ffffff2b;border-radius:8px;background:#ffffff0b;text-align:left}.review-airline-role span{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:#aeb8c1}.review-airline-role strong{font-size:.95rem;color:#f5f7f9;overflow-wrap:anywhere}.review-airline-role small{font-size:.68rem;color:#c9b6dc;line-height:1.2}.review-airline-role.wetlease-active{border-color:#a67bd1;background:#6e3b8d38}
.review-card-type{min-height:28px;display:flex;align-items:center;justify-content:center;margin-top:0}.review-flags-title{text-align:left;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#aeb8c1;margin-top:2px}
.review-card-existing{display:grid!important;min-height:58px;box-sizing:border-box;margin:0!important;width:100%;max-width:none!important}.review-flag-chip{display:grid!important;grid-template-columns:130px minmax(0,1fr) 34px!important;gap:8px!important;align-items:center!important;padding:5px 7px;border-radius:7px;background:#ffffff0a}.review-flag-chip button{min-width:30px;min-height:28px;padding:2px 7px;font-size:1.1rem;font-weight:900}.review-flag-chip.pending-remove{opacity:.5;text-decoration:line-through}.review-no-flags{display:flex;align-items:center;justify-content:center;min-height:36px;color:#8f9aa4;font-size:.8rem}
.review-reprocess{margin-top:auto}.review-wetlease-section .check-row small{font-weight:400;color:#65717c;margin-left:4px}
@media(max-width:600px){.review-card-reason{grid-template-columns:1fr;gap:3px}.review-airline-pair{grid-template-columns:1fr}.review-flag-chip{grid-template-columns:1fr auto!important}.review-flag-chip span{grid-column:1/-1}}

/* Prüfmodus: Wetlease-Airline-Regeln nach vermarktender und ausführender Airline trennen. */
.review-rule-role{display:grid;gap:8px;padding:8px 0}
.review-rule-role+.review-rule-role{margin-top:5px;padding-top:12px;border-top:2px solid #dac7ed}
.review-rule-role-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.review-rule-role-head strong{font-size:.9rem;color:#313b45}
.review-rule-role-head small{font-weight:800;color:#6c4a8d;text-align:right}
.review-rule-role-operator{padding:10px;border-radius:9px;background:#faf6ff}
.review-rule-buttons button:disabled{opacity:.45;cursor:not-allowed}
/* Unreleased: Prüfliste übernimmt die Farben der Prüfgründe aus dem Prüfmodus. */
.review-queue tbody tr.review-row-reason-wetlease>td{background:#eadcff;color:#4d1f78;border-color:#d6c2ec}
.review-queue tbody tr.review-row-reason-new>td{background:#dcecff;color:#164f8c;border-color:#c5dcf6}
.review-queue tbody tr.review-row-reason-recheck>td{background:#ffe2c2;color:#7a3b00;border-color:#f0c48f}
.review-queue tbody tr.review-row-reason-review>td{background:#ffd9de;color:#7a1826;border-color:#efbcc3}
.review-queue tbody tr[class*="review-row-reason-"]:hover>td{filter:brightness(.985)}
/* Unreleased: Frachter-Flag direkt am Flugzeugtyp im Prüfmodus editierbar. */
.review-card-type{gap:8px;flex-wrap:wrap}
.review-card-type-label{min-width:0}
.review-freighter-toggle{padding:3px 8px;border:1px solid #7d8790;border-radius:999px;background:#59616a;color:#d5d9dd;font-size:.72rem;font-weight:800;opacity:.58;cursor:pointer}
.review-freighter-toggle:hover{opacity:.8}
.review-freighter-toggle.active{background:#e8f2ff;color:#174f86;border-color:#72a5d6;opacity:1;box-shadow:0 0 0 1px #9ec3e6}

.header-actions .nav-current{display:inline-flex;align-items:center;opacity:.72;cursor:default;box-shadow:inset 0 -2px 0 currentColor}
