:root {
    --navy: #10233f;
    --navy-2: #183758;
    --blue: #176fbb;
    --blue-soft: #eaf4ff;
    --orange: #f28c28;
    --ink: #17243a;
    --muted: #68778b;
    --line: #dfe7ef;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --background: #f3f6f9;
    --danger: #ba3b45;
    --success: #18794e;
    --shadow: 0 16px 40px rgba(26, 54, 86, .08);
    --radius: 16px;
}
* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--background); }
body { margin: 0; min-width: 320px; background: var(--background); }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 242px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 13px 13px 17px; color: #fff; background: radial-gradient(circle at 15% 0, rgba(47,145,217,.32), transparent 28%), linear-gradient(170deg, #102943, #081725 82%); display: flex; flex-direction: column; z-index: 20; overflow-y: auto; box-shadow: 10px 0 34px rgba(7,25,43,.09); }
.brand { display: flex; gap: 11px; align-items: center; min-height: 58px; padding: 7px 8px; color: #fff; margin: 0 0 9px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-weight: 850; letter-spacing: -.04em; color: var(--navy); background: linear-gradient(145deg, #fff, #dcebf6); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.brand strong { display: block; font-size: 17px; }.brand small { display: block; color: #a9bdd2; margin-top: 2px; font-size: 11px; }
.nav { display: grid; gap: 3px; }
.nav a { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 5px 8px; border: 1px solid transparent; border-radius: 12px; color: #c8d7e6; font-size: 13px; font-weight: 680; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.nav a:hover { color: #fff; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.07); transform: translateX(2px); }.nav a.active { color: #fff; border-color: rgba(125,199,250,.25); background: linear-gradient(100deg, rgba(27,126,198,.92), rgba(36,124,186,.4)); box-shadow: 0 8px 20px rgba(0,0,0,.13), inset 1px 1px rgba(255,255,255,.13); }
.nav-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #a7cce8; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.09); }.nav a.active .nav-icon { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); }
.sidebar-footer { margin-top: auto; padding: 18px 8px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 8px; font-size: 12px; color: #7990a9; }
.sidebar-footer a { color: #b8cadc; }
.signed-in-user { display: grid; gap: 2px; color: #91a8bd; }.signed-in-user strong { color: #d7e5f0; font-size: 12px; }.logout-link { width: fit-content; padding: 0; border: 0; color: #b8cadc; background: none; font-size: 12px; }.logout-link:hover { color: #fff; text-decoration: underline; }
.main { min-width: 0; display: flex; min-height: 100vh; flex-direction: column; }
.topbar { height: 86px; padding: 16px clamp(22px, 4vw, 54px); display: flex; align-items: center; gap: 14px; background: color-mix(in srgb, var(--surface) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar h1 { margin: 2px 0 0; font-size: 23px; letter-spacing: -.025em; }.top-action { margin-left: 0; }.menu-toggle { display: none; }.theme-toggle { margin-left: auto; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.content { width: 100%; max-width: 1500px; padding: 34px clamp(22px, 4vw, 54px) 44px; margin: 0 auto; }
.footer { margin-top: auto; padding: 20px 40px; color: #8490a0; font-size: 12px; text-align: center; }
.hero { padding: clamp(26px, 4vw, 44px); margin-bottom: 24px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--navy-2), var(--blue)); box-shadow: var(--shadow); display: flex; align-items: end; justify-content: space-between; gap: 24px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -130px; border: 42px solid rgba(255,255,255,.08); border-radius: 50%; }.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: #9fd0f7; }.hero h2 { max-width: 690px; margin: 8px 0; font-size: clamp(26px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }.hero p { margin: 0; color: #cbddef; }.hero .button { background: #fff; color: var(--navy); white-space: nowrap; }
.ui-icon { width: 18px; height: 18px; display: block; flex: none; }
.button, .menu-toggle, .theme-toggle { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid #c5cfd7; border-radius: 12px; font-weight: 760; color: var(--ink); background: linear-gradient(145deg, #fff, #e3e8ec); box-shadow: 0 4px 11px rgba(39,58,74,.09), inset 0 1px rgba(255,255,255,.9); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.button:hover, .menu-toggle:hover, .theme-toggle:hover { transform: translateY(-1px); border-color: #aebcc7; box-shadow: 0 7px 17px rgba(39,58,74,.13), inset 0 1px rgba(255,255,255,.9); }.button.primary { color: #fff; border-color: #0f69ad; background: linear-gradient(145deg, #258bd3, #1268ad); box-shadow: 0 8px 18px rgba(23,111,187,.22), inset 0 1px rgba(255,255,255,.22); }.button.primary:hover { background: linear-gradient(145deg, #3298df, #0f619f); }.button.secondary { border-color: #c5cfd7; background: linear-gradient(145deg, #fff, #e3e8ec); }.button.text-danger { color: #a92d38; border-color: #e6c4c7; background: linear-gradient(145deg, #fffafa, #f4e5e6); }.button:focus-visible, .menu-toggle:focus-visible, .theme-toggle:focus-visible, input:focus, select:focus, textarea:focus { outline: 3px solid rgba(23,111,187,.18); border-color: var(--blue); }
.theme-toggle, .menu-toggle { width: 42px; padding: 0; }.theme-toggle .sun { display: none; }html[data-theme="dark"] .theme-toggle .moon { display: none; }html[data-theme="dark"] .theme-toggle .sun { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 12px 28px rgba(26,54,86,.08); }.stat-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 720; }.stat-card strong { display: block; margin-top: 8px; font-size: clamp(24px, 2.3vw, 35px); font-weight: 820; letter-spacing: -.045em; }.stat-card.accent { border-top-color: transparent; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }.span-2 { grid-column: span 2; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 9px 26px rgba(26,54,86,.05); }.panel h2 { margin: 4px 0 12px; font-size: 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }.panel-heading h2 { margin: 4px 0 0; }.table-panel > .panel-heading { min-height: 82px; margin: 0; padding: 20px 24px 14px; align-items: flex-end; }
.flight-list { display: grid; }.flight-row { display: grid; grid-template-columns: 95px 54px minmax(80px, 1fr) 54px minmax(140px, 1.1fr); align-items: center; gap: 11px; min-height: 67px; padding: 9px 5px; border-top: 1px solid var(--line); color: var(--ink); }.flight-row:first-child { border-top: 0; }.flight-row time { color: var(--muted); font-size: 13px; }.airport-code { font-size: 18px; font-weight: 850; }.route-line { display: flex; align-items: center; gap: 6px; color: var(--orange); }.route-line i { height: 1px; flex: 1; background: var(--line); }.route-line b { font-size: 12px; }.flight-meta { text-align: right; font-weight: 800; }.flight-meta small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.ranking { list-style: none; padding: 0; margin: 4px 0 0; counter-reset: rank; }.ranking li { counter-increment: rank; display: flex; align-items: center; gap: 9px; min-height: 39px; border-top: 1px solid var(--line); }.ranking li::before { content: counter(rank); color: #9ba9b8; font-weight: 800; width: 20px; }.ranking li span { flex: 1; }.ranking li strong { color: var(--blue); }
.toolbar { min-height: 48px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }.search { display: flex; gap: 9px; flex: 1; max-width: 850px; }.search input { flex: 1; }.result-count { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 12px; color: var(--ink); border: 1px solid #ccd7e1; border-radius: 10px; background: var(--surface); transition: .15s ease; } textarea { resize: vertical; }
.table-panel { padding: 0; overflow: hidden; }.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; white-space: nowrap; }th { padding: 13px 16px; text-align: left; color: var(--muted); background: var(--surface-soft); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }td { height: 59px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover { background: color-mix(in srgb, var(--blue-soft) 48%, var(--surface)); }
.muted { color: var(--muted); }.route { display: flex; align-items: center; gap: 8px; color: var(--ink); }.route span { color: var(--orange); }td.row-actions { display: table-cell; text-align: right; vertical-align: middle; white-space: nowrap; }td.row-actions > a, td.row-actions > form { display: inline-flex; vertical-align: middle; margin: 0 0 0 6px; }.icon-button { width: 36px; height: 36px; padding: 0; border: 1px solid #c5cfd7; border-radius: 11px; display: inline-grid; place-items: center; color: #176fbb; background: linear-gradient(145deg, #fff, #e4e9ed); box-shadow: 0 3px 9px rgba(39,58,74,.08), inset 0 1px rgba(255,255,255,.92); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }.icon-button .ui-icon { width: 16px; height: 16px; }.icon-button:hover { transform: translateY(-1px); border-color: #99b9ce; box-shadow: 0 6px 14px rgba(39,58,74,.13), inset 0 1px rgba(255,255,255,.92); }.icon-button.danger { color: #b33c45; border-color: #e5c8ca; background: linear-gradient(145deg, #fffafa, #f2e2e4); }.code-badge { display: inline-flex; padding: 5px 8px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); font-weight: 850; letter-spacing: .05em; }.status { display: inline-flex; align-items: center; gap: 5px; color: #7e5f22; }.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d3a443; }.status.active { color: var(--success); }.status.active::before { background: #2ba36d; }.source-badge, .cabin-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; color: #667887; background: #edf1f4; font-size: 10px; font-weight: 800; line-height: 1.25; box-shadow: inset 0 1px rgba(255,255,255,.7); }.source-badge.suggested { color: #17608f; background: #dff0fb; }.cabin-badge.business { color: #6f4d08; border: 1px solid #dfbe69; background: linear-gradient(135deg, #fff9df, #efd58a); box-shadow: inset 0 1px 0 rgba(255,255,255,.75); }.cabin-badge.premium-economy { color: #53606a; border: 1px solid #c2cbd2; background: linear-gradient(135deg, #fafcfd, #dce2e6); box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.registration-with-links { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; }.external-aircraft-links { display: inline-flex; gap: 4px; }.external-aircraft-links a { display: inline-grid; place-items: center; min-width: 29px; height: 22px; padding: 0 5px; border: 1px solid #b6d5e9; border-radius: 6px; color: #126392; background: #eef8fe; font-size: 9px; font-weight: 900; letter-spacing: -.02em; }.external-aircraft-links a.fr24 { color: #8b5410; border-color: #e5ca92; background: #fff7df; }
.editor { display: grid; gap: 20px; }.compact-editor { max-width: 980px; margin: 0 auto; }.editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 4px 2px 10px; }.editor-heading h2 { margin: 8px 0 5px; font-size: 28px; }.editor-heading p { margin: 0; color: var(--muted); }.back-link { font-size: 13px; font-weight: 700; }
.form-section { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 26px rgba(26,54,86,.04); }.section-title { display: flex; gap: 13px; margin-bottom: 22px; }.section-title > span { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 850; }.section-title h3 { margin: 0 0 3px; font-size: 18px; }.section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: 19px; }.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }.form-grid label > span:first-child { display: block; margin: 0 0 7px; color: #4e5f73; font-size: 12px; font-weight: 750; }.checkbox-field { min-height: 43px; display: flex; align-items: center; gap: 10px; align-self: end; padding-bottom: 2px; }.checkbox-field input { width: 19px; min-height: 19px; height: 19px; accent-color: var(--blue); }.checkbox-field span { margin: 0 !important; }.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.form-hint { margin: -3px 0 0; padding: 11px 13px; border-radius: 9px; color: #315a7d; background: var(--blue-soft); font-size: 12px; line-height: 1.5; }
.field-with-action { display: grid; gap: 7px; }.field-with-action label { display: grid; gap: 7px; }.compact-button { justify-self: start; padding: 7px 10px; font-size: 11px; }.quick-aircraft { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr; align-items: end; gap: 12px; padding: 15px; border: 1px solid #b9d9ef; border-radius: 12px; background: #f1f8fd; }.quick-aircraft > div { align-self: center; }.quick-aircraft strong, .quick-aircraft small { display: block; }.quick-aircraft small { margin-top: 3px; color: var(--muted); font-size: 11px; }.quick-aircraft label { display: grid; gap: 7px; }[hidden] { display: none !important; }
.empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; }.empty strong { color: var(--ink); font-size: 18px; }.empty .button { margin-top: 8px; }
.cards-grid, .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.trip-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }.trip-card-top, .trip-meta, .card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.trip-card-top, .trip-meta { color: var(--muted); font-size: 12px; }.trip-card h2 { margin: 18px 0 7px; }.trip-card p { min-height: 42px; color: var(--muted); }.trip-meta { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.card-actions { margin-top: 15px; }.card-actions form { margin: 0; }.about-hero { min-height: 250px; }.info-grid { margin-bottom: 18px; }.info-grid .panel p, .prose p { color: var(--muted); line-height: 1.65; }.prose code { padding: 2px 5px; border-radius: 4px; background: #eef2f6; }
.flash { margin: 18px clamp(22px, 4vw, 54px) -16px; padding: 13px 16px; border-radius: 10px; font-weight: 650; }.flash.success { color: #12663f; background: #ddf7e9; border: 1px solid #bce8d0; }.flash.error { color: #8e2631; background: #fde9eb; border: 1px solid #f4c6ca; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }

/* Erweiterte Desktop-Module */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.mini-metric { min-height: 108px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1268ad, #2394d8); box-shadow: 0 12px 28px rgba(23,111,187,.2), inset 0 1px rgba(255,255,255,.16); }
.mini-metric span { display: block; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 730; letter-spacing: .01em; }
.mini-metric strong { display: block; margin-top: 11px; font-size: clamp(20px, 1.7vw, 25px); font-weight: 820; letter-spacing: -.025em; line-height: 1.18; }
.mini-metric a { color: #fff; }
.audit-line { display: flex; gap: 22px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.linked-actions, .card-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.linked-actions form { margin: 0; }
.media-preview { display: flex; align-items: center; gap: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.media-preview img { width: 150px; height: 95px; object-fit: contain; border-radius: 8px; background: #fff; }
.table-logo { width: 54px; height: 36px; object-fit: contain; border-radius: 6px; background: #f4f7fa; }
.subtle-link { color: var(--primary); text-decoration: none; }.subtle-link:hover { text-decoration: underline; }
.info-field { display: grid; gap: 5px; }.info-field span, .analytics-controls label > span, .category-row label > span, .upload-form label > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.boarding-card { --card-primary: #10233f; --card-secondary: #176fbb; max-width: 1050px; margin: 18px auto 0; overflow: hidden; border: 1px solid #b8c9d8; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(16,35,63,.12); }
.boarding-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 36px; color: #fff; background: linear-gradient(120deg, var(--card-primary), var(--card-secondary)); }
.boarding-card header h2 { margin: 18px 0 4px; font-size: clamp(34px, 7vw, 65px); letter-spacing: -.05em; }.boarding-card header h2 span { color: rgba(255,255,255,.62); }.boarding-card header p { margin: 0; color: rgba(255,255,255,.82); }
.flight-card-brand { display: inline-flex; align-items: center; gap: 12px; }.flight-card-brand img { width: 70px; height: 46px; object-fit: contain; padding: 5px 8px; border-radius: 11px; background: rgba(255,255,255,.94); box-shadow: 0 5px 16px rgba(0,0,0,.15); }.flight-card-brand span { display: grid; gap: 2px; }.flight-card-brand b { font-size: 16px; }.flight-card-brand small { color: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.flight-number { text-align: right; font-size: 28px; font-weight: 850; }.flight-number small { display: block; margin-top: 5px; color: #b7d0e4; font-size: 13px; }
.boarding-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.boarding-grid > div { min-height: 112px; padding: 24px; border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }.boarding-grid > div:nth-child(4n) { border-right: 0; }
.boarding-grid span, .boarding-grid small { display: block; color: var(--muted); font-size: 11px; }.boarding-grid strong { display: block; margin: 8px 0 3px; font-size: 16px; }
.boarding-card > footer { display: flex; justify-content: space-between; gap: 18px; padding: 18px 24px; color: #fff; background: var(--card-primary); font-size: 12px; }
[data-relative-date] { cursor: help; text-decoration: underline dotted color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.light-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #b9d9e9; border-radius: 999px; color: #245c7a; background: #edf8fd; font-size: 10px; font-weight: 800; }.light-badge.level-0,.light-badge.level-1 { color: #e6edff; border-color: #45577d; background: #253452; }.light-badge.level-2 { color: #eee8ff; border-color: #877eae; background: #665c8b; }.light-badge.level-3 { color: #744a16; border-color: #e4b36f; background: #fff0d1; }
.flight-light-profile { padding: 26px 30px 24px; border-top: 1px solid var(--line); background: var(--surface-soft); }.flight-light-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }.flight-light-heading h3 { margin: 4px 0 0; font-size: 22px; }.flight-light-heading > small { max-width: 360px; color: var(--muted); text-align: right; line-height: 1.45; }.flight-light-sky { position: relative; height: 126px; overflow: hidden; border-radius: 16px 16px 6px 6px; background: linear-gradient(90deg,var(--light-start),var(--light-mid) 50%,var(--light-end)); box-shadow: inset 0 -28px 38px rgba(8,20,42,.2); }.flight-light-sky::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -46px; height: 75px; border-radius: 50% 50% 0 0; background: rgba(10,24,44,.34); }.sky-stars { position: absolute; inset: 13px 18px auto; color: rgba(255,255,255,.6); font-size: 16px; letter-spacing: .25em; }.sky-horizon { position: absolute; left: 0; right: 0; bottom: 25px; height: 1px; background: rgba(255,255,255,.38); }.sky-plane { position: absolute; left: 48%; top: 33%; color: #fff; font-size: 25px; transform: rotate(6deg); filter: drop-shadow(0 2px 4px rgba(0,0,0,.28)); }.flight-light-stages { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--line); overflow: hidden; }.flight-light-stages article { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 1px 9px; padding: 13px 15px; background: var(--surface); }.flight-light-stages article > i { grid-row: 1 / 4; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--sample-color); font-style: normal; box-shadow: 0 3px 9px color-mix(in srgb,var(--sample-color) 50%,transparent); }.flight-light-stages span,.flight-light-stages small { color: var(--muted); font-size: 10px; }.flight-light-stages strong { font-size: 13px; }.flight-light-profile > p { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.analytics-controls { justify-content: flex-start; flex-wrap: wrap; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.global-preferences-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: var(--muted); font-size: 12px; }.global-preferences-note strong { padding: 5px 8px; border-radius: 999px; color: #31516b; background: var(--blue-soft); }.global-preferences-note a { margin-left: auto; font-weight: 800; }
.analytics-controls label { min-width: 180px; display: grid; gap: 5px; }.analytics-controls .button { align-self: end; }
.compact-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab-strip { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 7px; margin: 0 0 20px; padding-bottom: 5px; }
.tab-strip a { min-width: 0; padding: 9px 6px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fff; font-size: 12px; font-weight: 750; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }.tab-strip a.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.analytics-grid { display: grid; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); gap: 20px; }
.bar-chart { display: grid; gap: 13px; }.bar-row { display: grid; grid-template-columns: minmax(100px, 165px) minmax(90px, 1fr) 45px; align-items: center; gap: 10px; font-size: 12px; }.bar-row > span, .bar-row > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.bar-row i { height: 10px; overflow: hidden; border-radius: 10px; background: #e9eff5; }.bar-row i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #62b0ea); }

/* Verknüpfte Auswertungen und visuelle Details */
.entity-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.entity-link:hover, .airport-code:hover { color: var(--blue); }
.airline-logo-thumb { width: 25px; height: 25px; flex: none; object-fit: contain; border-radius: 6px; padding: 2px; background: #fff; border: 1px solid rgba(16,35,63,.09); vertical-align: middle; }
.airline-logo-large { width: 52px; height: 52px; object-fit: contain; padding: 5px; border-radius: 13px; background: #fff; border: 1px solid var(--line); vertical-align: middle; margin-right: 10px; }
.flight-meta small a { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--muted); }
.country-flag { display: inline-flex; width: 24px; height: 18px; margin-right: 7px; overflow: hidden; border: 1px solid rgba(34,52,67,.18); border-radius: 4px; box-shadow: 0 1px 3px rgba(23,43,60,.14); line-height: 1; vertical-align: -4px; background: var(--surface-soft); }.country-flag img { width: 100%; height: 100%; object-fit: cover; }.country-flag .ui-icon { width: 14px; margin: auto; }.country-flag.large { width: 48px; height: 36px; margin-right: 12px; border-radius: 7px; vertical-align: -10px; }
select.has-country-flag { padding-left: 45px; background-repeat: no-repeat; background-size: 24px 18px; background-position: 12px center; }
.route-kind { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }.route-kind.domestic { color: #17633f; background: #ddf7e9; }.route-kind.international { color: #115f9a; background: #e2f1fc; }
.seat-map { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; vertical-align: middle; opacity: .82; }.seat-map i { width: 9px; height: 12px; border: 1px solid #aebdca; border-radius: 3px 3px 2px 2px; background: #f2f5f8; }.seat-map i.active { border-color: #3285bd; background: #8bc6ec; box-shadow: 0 0 0 1px #e1f0fa; }.seat-map .seat-aisle { width: 5px; }
.detail-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.detail-heading h2 { display: flex; align-items: center; margin: 7px 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }.detail-heading p { margin: 0; color: var(--muted); }
.entity-metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }.entity-metric-grid article { min-height: 108px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1268ad, #2394d8); box-shadow: 0 12px 28px rgba(23,111,187,.18), inset 0 1px rgba(255,255,255,.16); }.entity-metric-grid span { display: block; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 730; letter-spacing: .01em; }.entity-metric-grid strong { display: block; margin-top: 11px; font-size: clamp(20px, 1.6vw, 25px); font-weight: 820; letter-spacing: -.025em; line-height: 1.18; }
.timeline-panel { margin-bottom: 20px; overflow: hidden; }.timeline-chart { min-height: 255px; display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding: 25px 4px 2px; border-bottom: 1px solid var(--line); background: linear-gradient(to top, rgba(23,111,187,.04), transparent); }.timeline-chart a { min-width: 52px; height: 220px; display: grid; grid-template-rows: 28px minmax(0,1fr) 36px; align-items: end; text-align: center; color: var(--muted); font-size: 10px; }.timeline-chart a strong { align-self: start; color: var(--ink); font-size: 12px; }.timeline-chart a i { width: 72%; max-height: 150px; min-height: 4px; justify-self: center; border-radius: 7px 7px 0 0; background: linear-gradient(#62b0ea, var(--blue)); transition: .15s ease; }.timeline-chart a:hover i { background: linear-gradient(#f5ae64, var(--orange)); }.timeline-chart a span { padding-top: 6px; white-space: nowrap; }
.sortable-column { position: relative; padding-right: 27px; cursor: pointer; user-select: none; }.sortable-column::after { content: "↕"; position: absolute; right: 10px; color: #a9b6c4; font-size: 12px; }.sortable-column[aria-sort="ascending"]::after { content: "↑"; color: var(--blue); }.sortable-column[aria-sort="descending"]::after { content: "↓"; color: var(--blue); }.sortable-column:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }.map-panel { padding: 16px; }.map-info { display: flex; justify-content: space-between; gap: 15px; padding: 3px 4px 14px; color: var(--muted); font-size: 12px; }.interactive-map { position: relative; overflow: hidden; border-radius: 16px; background: #102d47; }.route-map { display: block; width: 100%; height: auto; border-radius: 16px; cursor: grab; touch-action: none; user-select: none; }.route-map.dragging { cursor: grabbing; }.map-controls { position: absolute; top: 13px; right: 13px; z-index: 3; display: grid; gap: 6px; }.map-controls button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(210,225,236,.72); border-radius: 11px; color: #174d72; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(220,229,235,.96)); box-shadow: 0 6px 18px rgba(4,19,31,.25), inset 0 1px #fff; }.map-controls button:hover { color: var(--blue); transform: translateY(-1px); }.map-controls .ui-icon { width: 17px; height: 17px; }.map-gesture-hint { position: absolute; left: 16px; bottom: 12px; z-index: 2; margin: 0; padding: 7px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: rgba(255,255,255,.8); background: rgba(7,28,45,.72); backdrop-filter: blur(8px); font-size: 10px; pointer-events: none; }.map-grid-line { stroke: rgba(255,255,255,.08); stroke-width: 1; }.map-country { fill: #1c405b; stroke: rgba(209,233,248,.52); stroke-width: .65; vector-effect: non-scaling-stroke; fill-rule: evenodd; transition: fill .18s ease, stroke .18s ease; }.map-country.visited { fill: #285f86; }.map-country[data-map-href], .map-route[data-map-href], .map-airport[data-map-href] { cursor: pointer; }.map-country[data-map-href]:hover, .map-country[data-map-href]:focus { fill: #3c83ae; stroke: #fff; outline: none; }.route-map.mode-countries .map-country { fill: #1a405e; }.route-map.mode-countries .map-country.visited { fill: #1688ca; stroke: #b9e7ff; stroke-width: 1.15; }.route-map.mode-countries .map-country[data-map-href]:hover { fill: #39a8e7; }.map-route { stroke: rgba(255,156,58,.82); stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: stroke; transition: stroke .15s ease; }.map-route:hover, .map-route:focus { stroke: #ffd19b; outline: none; }.map-airport { fill: #fff; stroke: #1688ca; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .15s ease, stroke .15s ease; }.map-airport:hover, .map-airport:focus { fill: #ffbd67; stroke: #fff; outline: none; }.map-ranking { align-self: start; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }.category-list, .stack-actions, .upload-form { display: grid; gap: 12px; }.category-row { display: grid; grid-template-columns: 1.2fr 1.6fr .75fr .75fr .75fr auto; align-items: end; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }.category-row label { display: grid; gap: 5px; }.category-row.new { margin-top: 4px; padding: 15px; border: 1px dashed #9fb5c8; border-radius: 12px; background: #f8fbfe; }.stack-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; }.upload-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }.upload-form label { display: grid; gap: 6px; }.danger-zone { padding: 16px; border: 1px solid #f1c4c8; border-radius: 12px; background: #fff8f8; }

/* Ruhige Highlight-Leiste statt einzelner farbiger Kacheln */
.stats-grid, .entity-metric-grid { gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 24px rgba(26,54,86,.055); }
.stat-card, .mini-metric, .entity-metric-grid article { position: relative; min-height: 92px; padding: 18px 20px 16px 24px; overflow: hidden; color: var(--ink); border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.stat-card:last-child, .entity-metric-grid article:last-child { border-right: 0; }
.stat-card::before, .entity-metric-grid article::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: color-mix(in srgb, var(--blue) 75%, var(--line)); }
.stat-card::after, .mini-metric::after, .entity-metric-grid article::after { display: none; }
.stat-card span, .mini-metric span, .entity-metric-grid span { color: var(--muted); }
.stat-card strong, .entity-metric-grid strong { margin-top: 7px; color: var(--ink); font-size: clamp(20px, 2vw, 28px); }
.stat-card a, .mini-metric a, .entity-metric-grid a { color: var(--ink); }

/* Routenspiel auf der Startseite */
.route-game-hero { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 52px); border: 1px solid #c8ddeb; border-radius: 24px; color: #fff; background: radial-gradient(circle at 92% 15%, rgba(111,198,245,.32), transparent 28%), linear-gradient(140deg, #102e49, #176fbb); box-shadow: 0 20px 48px rgba(18,69,108,.17); }
.route-game-hero h2 { margin: 8px 0 10px; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.045em; }.route-game-hero p { max-width: 770px; margin: 0; color: #d8e8f4; line-height: 1.6; }
.route-game-form { display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(220px,1fr) 135px auto; align-items: end; gap: 13px; margin-top: 30px; padding: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(4,26,44,.28); backdrop-filter: blur(9px); }
.route-game-form label { display: grid; gap: 7px; }.route-game-form label > span { color: #c9deec; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.route-game-form select { min-width: 0; border-color: rgba(255,255,255,.28); background-color: #fff; color: #17243a; }.route-game-arrow { align-self: center; padding-top: 21px; font-size: 24px; }.route-game-form .button { min-height: 44px; border-color: #fff; color: #125487; background: #fff; box-shadow: none; }
.route-game-results { margin-top: 27px; }.route-game-results > .panel-heading { padding-left: 0; padding-right: 0; }.connection-list { display: grid; gap: 12px; }.connection-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 7px 20px rgba(26,54,86,.045); }.connection-card header, .connection-card footer { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; color: var(--muted); background: var(--surface-soft); font-size: 12px; }.connection-card header strong { color: var(--ink); }.connection-chain { display: flex; align-items: center; gap: 12px; overflow-x: auto; padding: 20px 18px; }.connection-chain a { min-width: 66px; display: grid; gap: 3px; color: var(--ink); }.connection-chain b { font-size: 22px; }.connection-chain small { max-width: 120px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.connection-chain i { color: var(--orange); font-style: normal; }.route-game-intro { margin-top: 20px; }

/* Datengetriebene Überraschungsgrafik des Routenspiels */
.route-network-surprise { position: relative; min-height: 330px; margin-top: 24px; overflow: hidden; border-radius: 25px; color: #fff; background: radial-gradient(circle at 18% 10%, #154c70 0, transparent 34%), linear-gradient(145deg, #061827, #0b2b42 58%, #10233f); box-shadow: 0 20px 52px rgba(9,35,55,.2); isolation: isolate; }
.route-network-surprise::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,.08), transparent 28%, transparent 70%, rgba(103,196,247,.08)); }
.route-network-surprise > svg { position: absolute; inset: 0; width: 100%; height: 100%; }.network-glow { fill: url(#network-glow); filter: url(#network-soft); }.network-glow.two { opacity: .62; }
.network-grid { fill: none; stroke: rgba(167,216,244,.07); stroke-width: 1; }.network-lines { fill: none; stroke: rgba(117,205,255,.52); stroke-width: var(--route-weight, 1); stroke-linecap: round; }.network-lines path:nth-child(3n) { stroke: rgba(249,168,87,.58); }
.network-nodes circle:first-child { fill: #e8f7ff; stroke: #5cc3fa; stroke-width: 1.5; }.network-nodes .pulse { fill: none; stroke: #65c9ff; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: network-pulse 3.2s var(--delay) ease-out infinite; }.network-nodes text { fill: #dff4ff; font: 800 9px Inter,Arial,sans-serif; letter-spacing: .08em; text-anchor: middle; paint-order: stroke; stroke: #09263a; stroke-width: 3px; }
.network-plane { fill: #fff3d4; filter: drop-shadow(0 0 6px rgba(255,196,104,.75)); }.network-orbit-copy { position: relative; z-index: 2; width: min(300px, 78%); display: grid; gap: 4px; padding: 29px 32px; pointer-events: none; }.network-orbit-copy span { color: #85c9ee; font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }.network-orbit-copy strong { font-size: clamp(25px, 3vw, 38px); letter-spacing: -.04em; }.network-orbit-copy small { color: #bbd9e9; line-height: 1.45; }
.network-ticket { position: absolute; right: 28px; bottom: 24px; z-index: 2; width: 178px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 13px; background: rgba(228,246,255,.1); backdrop-filter: blur(8px); transform: rotate(-2deg); box-shadow: inset 0 1px rgba(255,255,255,.12); }.network-ticket::before { content: ""; position: absolute; left: 70%; top: 0; bottom: 0; border-left: 1px dashed rgba(255,255,255,.25); }.network-ticket span { grid-column: 1 / -1; color: #8fcae8; font-size: 7px; font-weight: 850; letter-spacing: .16em; }.network-ticket b { font-size: 17px; letter-spacing: .08em; }.network-ticket i { grid-row: 2; grid-column: 2; color: #ffa94f; font-size: 24px; font-style: normal; line-height: .8; }
@keyframes network-pulse { 0% { opacity: .65; transform: scale(.25); } 75%,100% { opacity: 0; transform: scale(1.65); } }

/* Technische Flugzeugansichten und Detailaufschlüsselungen */
.body-type { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #36566b; background: #e9f1f6; font-size: 10px; font-weight: 800; }.body-type.wide-body { color: #745211; background: #f9ebbe; }
.aircraft-comparison { margin-top: 22px; }
.aircraft-facts { display: flex; overflow-x: auto; margin: -10px 0 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.aircraft-facts span { min-width: 150px; padding: 3px 20px; border-right: 1px solid var(--line); }.aircraft-facts span:first-child { padding-left: 0; }.aircraft-facts small, .age-context { display: block; color: var(--muted); font-size: 10px; }.aircraft-facts strong { display: block; margin-top: 5px; }
.breakdown-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 24px; }.breakdown-grid .panel-heading { padding: 18px 18px 8px; }.breakdown-grid td, .breakdown-grid th { padding-left: 18px; padding-right: 18px; }.hub-route { color: var(--ink); letter-spacing: .02em; }
.icon-button .ui-icon { display: block; margin: auto; transform: none; }.row-actions .icon-button { align-items: center; justify-content: center; }

/* Echte interaktive Karte */
.leaflet-route-map { position: relative; z-index: 1; width: 100%; height: min(68vh, 650px); min-height: 480px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #e8eef2; }.leaflet-route-map .leaflet-control-attribution { font-size: 10px; }.leaflet-route-map .leaflet-interactive { cursor: pointer; }.map-provider-note { margin: 11px 3px 0; color: var(--muted); font-size: 11px; }.map-tile-error { position: absolute; z-index: 999; left: 50%; top: 12px; transform: translateX(-50%); margin: 0; padding: 8px 12px; border-radius: 8px; color: #7c3100; background: #fff0df; box-shadow: 0 4px 15px rgba(0,0,0,.16); font-size: 11px; pointer-events: none; }
.detail-map-panel { margin-bottom: 20px; padding: 0 16px 14px; }.detail-map-panel > .panel-heading { padding-left: 2px; padding-right: 2px; }.detail-route-map { height: min(55vh, 520px); min-height: 360px; }
html[data-theme="dark"] .leaflet-route-map { filter: brightness(.82) contrast(1.05); }html[data-theme="dark"] .body-type { color: #b9d8eb; background: #213746; }html[data-theme="dark"] .body-type.wide-body { color: #f3d88c; background: #493d20; }

/* Optionaler Nachtmodus */
html[data-theme="dark"] { color-scheme: dark; --navy: #071521; --navy-2: #0d2c43; --blue: #59b6ef; --blue-soft: #142c3e; --ink: #e8f0f7; --muted: #9aabb9; --line: #2a3b48; --surface: #14222d; --surface-soft: #101c25; --background: #0b141b; --danger: #ff8d96; --success: #5bd39d; --shadow: 0 18px 42px rgba(0,0,0,.25); }
html[data-theme="dark"] .topbar { background: rgba(16,29,39,.9); }
html[data-theme="dark"] .panel, html[data-theme="dark"] .form-section, html[data-theme="dark"] .trip-card, html[data-theme="dark"] .boarding-card, html[data-theme="dark"] .analytics-controls, html[data-theme="dark"] .setup-card { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .button, html[data-theme="dark"] .menu-toggle, html[data-theme="dark"] .theme-toggle, html[data-theme="dark"] .icon-button, html[data-theme="dark"] .tab-strip a { color: var(--ink); border-color: #3b4c59; background: linear-gradient(145deg, #263642, #172630); box-shadow: 0 5px 13px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.06); }
html[data-theme="dark"] .button.primary { color: #fff; border-color: #277bb4; background: linear-gradient(145deg, #2588ca, #155f91); }html[data-theme="dark"] .button.text-danger, html[data-theme="dark"] .icon-button.danger { color: #ff9fa6; border-color: #684047; background: linear-gradient(145deg, #38272c, #271c21); }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { color: var(--ink); border-color: #3a4b58; background: #101d26; }html[data-theme="dark"] select option { color: var(--ink); background: #101d26; }
html[data-theme="dark"] .form-hint, html[data-theme="dark"] .global-preferences-note strong { color: #a9d8f5; background: #163146; }html[data-theme="dark"] .quick-aircraft, html[data-theme="dark"] .category-row.new { border-color: #36566c; background: #112635; }html[data-theme="dark"] .danger-zone { border-color: #5f3940; background: #281b20; }
html[data-theme="dark"] .media-preview, html[data-theme="dark"] .table-logo { background: #101d26; }html[data-theme="dark"] .prose code { background: #1c2b36; }
html[data-theme="dark"] .airline-logo-thumb, html[data-theme="dark"] .airline-logo-large { background: #eef4f7; }html[data-theme="dark"] .timeline-chart { background: linear-gradient(to top, rgba(67,157,216,.07), transparent); }
html[data-theme="dark"] .route-kind.domestic { color: #8de0b7; background: #15392a; }html[data-theme="dark"] .route-kind.international { color: #9ed5f7; background: #153149; }html[data-theme="dark"] .source-badge { color: #c4ced6; background: #283741; }html[data-theme="dark"] .source-badge.suggested { color: #a9daf6; background: #173b52; }

/* Browser-Installation */
.setup-body { min-height: 100vh; padding: 36px 18px; background: radial-gradient(circle at top right, #d9edff, transparent 38%), var(--background); }.setup-shell { width: min(100%, 1040px); margin: 0 auto; }.setup-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }.setup-brand .brand-mark { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }.setup-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 25px 70px rgba(16,35,63,.13); }.setup-intro { padding: 44px; color: #fff; background: linear-gradient(155deg, var(--navy), var(--blue)); }.setup-intro h1 { margin: 12px 0; font-size: 35px; letter-spacing: -.04em; }.setup-intro p { color: #d4e4f3; line-height: 1.6; }.setup-steps { list-style: none; padding: 15px 0 0; }.setup-steps li { padding: 11px 0 11px 30px; position: relative; }.setup-steps li::before { content: "✓"; position: absolute; left: 0; color: #8ad5ff; font-weight: 900; }.setup-form { padding: 44px; }.setup-form h2 { margin: 0 0 7px; }.setup-form > p { color: var(--muted); }.checks { margin: 20px 0; padding: 0; list-style: none; }.checks li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }.checks b.ok { color: var(--success); }.checks b.fail { color: var(--danger); }.setup-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }.setup-fields label:nth-child(n+3) { grid-column: span 2; }.setup-note { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.setup-warning { margin-top: 20px; padding: 12px 14px; border: 1px solid rgba(255,206,135,.55); border-radius: 11px; color: #fff2dc; background: rgba(105,45,2,.32); font-size: 12px; line-height: 1.5; }.auth-shell { width: min(100%, 460px); margin: 8vh auto 0; }.auth-card { padding: 34px; }.auth-card h1 { margin: 8px 0; font-size: 31px; }.auth-card > p, .auth-card > small { color: var(--muted); }.auth-card form { display: grid; gap: 17px; margin: 25px 0 18px; }.auth-card label { display: grid; gap: 7px; }.auth-card label span { color: var(--muted); font-size: 12px; font-weight: 750; }.auth-card .button { margin-top: 5px; }

@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }.form-grid.four { grid-template-columns: repeat(2, 1fr); }.form-grid.three { grid-template-columns: repeat(2, 1fr); }.metric-grid { grid-template-columns: repeat(2, 1fr); }.analytics-grid, .map-layout { grid-template-columns: 1fr; }.category-row { grid-template-columns: repeat(3, 1fr); }.entity-metric-grid { grid-template-columns: repeat(3, 1fr); }.route-game-form { grid-template-columns: 1fr auto 1fr; }.route-game-stops, .route-game-form .button { grid-column: span 1; }.breakdown-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .app-shell { display: block; }.sidebar { position: fixed; left: -260px; width: 242px; transition: left .2s ease; box-shadow: 10px 0 35px rgba(0,0,0,.2); }.sidebar.open { left: 0; }.menu-toggle { display: inline-grid; place-items: center; }.topbar { height: 78px; padding: 12px 15px; gap: 9px; }.topbar h1 { font-size: 18px; }.topbar .eyebrow { display: none; }.top-action { padding: 9px 11px; font-size: 12px; }.content { padding: 22px 15px 35px; }.hero { align-items: flex-start; flex-direction: column; }.stats-grid { grid-template-columns: repeat(2, 1fr); }.dashboard-grid, .cards-grid, .info-grid, .settings-grid { grid-template-columns: 1fr; }.dashboard-grid .span-2, .settings-grid .span-2 { grid-column: auto; }.flight-row { grid-template-columns: 82px 46px minmax(55px, 1fr) 46px; }.flight-meta { grid-column: 2 / -1; text-align: left; }.flight-meta small a { justify-content: flex-start; }.search { flex-wrap: wrap; }.search input { min-width: 100%; }.toolbar { align-items: flex-start; }.editor-heading { align-items: flex-start; flex-direction: column; }.editor-heading > .button { display: none; }.form-grid.two, .form-grid.three, .form-grid.four, .quick-aircraft { grid-template-columns: 1fr; }.form-grid .span-2 { grid-column: auto; }.form-section { padding: 20px 16px; }.setup-card { grid-template-columns: 1fr; }.setup-intro, .setup-form { padding: 28px 24px; }.boarding-grid { grid-template-columns: repeat(2, 1fr); }.boarding-grid > div:nth-child(4n) { border-right: 1px dashed var(--line); }.boarding-grid > div:nth-child(2n) { border-right: 0; }.boarding-card > header, .boarding-card > footer, .card-toolbar, .linked-actions, .map-info { align-items: flex-start; flex-direction: column; }.category-row { grid-template-columns: 1fr; }.entity-metric-grid { grid-template-columns: repeat(2, 1fr); }.tab-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.map-gesture-hint { display: none; }.table-panel > .panel-heading { min-height: 76px; padding: 18px 16px 12px; }.route-game-form { grid-template-columns: 1fr; }.route-game-arrow { display: none; }.route-game-stops, .route-game-form .button { grid-column: auto; }.leaflet-route-map { min-height: 410px; }
}
@media (max-width: 440px) { .stats-grid { grid-template-columns: 1fr; }.top-action { width: 42px; padding: 0; }.top-action span { display: none; }.setup-fields { grid-template-columns: 1fr; }.setup-fields label:nth-child(n) { grid-column: auto; }.theme-toggle, .menu-toggle, .top-action { min-width: 39px; width: 39px; min-height: 39px; }.topbar { gap: 7px; }.topbar > div { min-width: 0; }.topbar h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media (max-width: 760px) { .route-network-surprise { min-height: 390px; }.network-orbit-copy { padding: 24px 22px; }.network-ticket { right: 18px; bottom: 17px; }.flight-light-profile { padding: 22px 16px; }.flight-light-heading { align-items: flex-start; flex-direction: column; }.flight-light-heading > small { text-align: left; }.flight-light-stages { grid-template-columns: 1fr; } }

/* Datumskontext, symbolische Lichtanzeige und Geografiestatistik */
[data-relative-date] { cursor: inherit; text-decoration: none; }
.date-with-context { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.date-context-icon { width: 14px; height: 14px; display: inline-grid; place-items: center; color: color-mix(in srgb, var(--muted) 82%, transparent); cursor: help; vertical-align: middle; }
.date-context-icon:hover, .date-context-icon:focus { color: var(--blue); outline: none; }
.date-context-icon .ui-icon { width: 11px; height: 11px; }
.flight-light-symbols { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.flight-light-symbols article { display: grid; justify-items: center; gap: 3px; text-align: center; }
.flight-light-symbols article > i { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 5px; border: 1px solid color-mix(in srgb,var(--sample-color) 65%,#fff); border-radius: 50%; color: #fff; background: var(--sample-color); font-size: 34px; font-style: normal; box-shadow: 0 9px 23px color-mix(in srgb,var(--sample-color) 32%,transparent), inset 0 1px rgba(255,255,255,.28); }
.flight-light-symbols article span, .flight-light-symbols article small { color: var(--muted); font-size: 10px; }
.flight-light-symbols article strong { font-size: 14px; }.flight-light-symbols > b { color: var(--muted); font-size: 21px; font-weight: 500; }
.light-stat-symbols { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.light-stat-symbols article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 10px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.light-stat-symbols i, .light-stat-icon { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--light-stat-color); font-style: normal; }
.light-stat-symbols i { grid-row: 1 / 3; width: 39px; height: 39px; font-size: 21px; }.light-stat-symbols span { color: var(--muted); font-size: 10px; }.light-stat-symbols strong { font-size: 18px; }.light-stat-symbols small { color: var(--muted); font-size: 9px; }
.light-stat-icon { width: 25px; height: 25px; margin-right: 7px; font-size: 14px; vertical-align: middle; }
.geography-method { display: grid; grid-template-columns: minmax(230px,.75fr) minmax(360px,1.25fr); gap: 12px 28px; align-items: center; margin-bottom: 20px; padding: 22px 24px; }.geography-method h2 { margin: 4px 0 0; }.geography-method p { margin: 0; color: var(--muted); line-height: 1.55; }.geography-method .source-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; }.source-links a { font-size: 11px; font-weight: 800; }
.geography-continent-panel { margin-bottom: 20px; }.geography-membership-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }.registration-history-panel { margin-bottom: 34px; }
@media (max-width: 900px) { .light-stat-symbols { grid-template-columns: repeat(2,minmax(0,1fr)); }.geography-method, .geography-membership-grid { grid-template-columns: 1fr; }.geography-method .source-links { grid-column: auto; } }
@media (max-width: 760px) { .flight-light-symbols { grid-template-columns: 1fr; }.flight-light-symbols > b { transform: rotate(90deg); }.light-stat-symbols { grid-template-columns: 1fr; } }

@media print {
    .sidebar, .topbar, .footer, .card-toolbar, .flash { display: none !important; }
    .app-shell, .main { display: block; min-height: 0; }.content { max-width: none; padding: 0; }.boarding-card { margin: 0; box-shadow: none; break-inside: avoid; }
}
