* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a2e;
    color: #e0e0e0;
    min-height: 100vh;
}

/* Navigation tabs */
.tab-bar {
    display: flex;
    background: #16213e;
    border-bottom: 2px solid #0f3460;
    flex-wrap: wrap;
}

.tab {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: transparent;
    color: #8899aa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
}

.tab:hover {
    background: #1a2a4a;
    color: #c0d0e0;
}

.tab.active {
    background: #0f3460;
    color: #00d4ff;
    border-bottom: 3px solid #00d4ff;
}

/* Pages */
.page-container {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.page {
    display: none;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.page.active {
    display: block;
}

.page-wide {
    max-width: 1050px;
    text-align: left;
}

.page h1 {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* ── Side-by-side layout ── */
.layout-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.layout-left {
    flex: 1;
    min-width: 0;
}

.uspace-3d-slot {
    min-height: 360px;
}

.config-panel {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-panel {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 3D inside a slot */
.uspace-3d-slot #uspace-3d.visible {
    max-width: none;
    height: 360px;
    margin: 0 0 5px 0;
}

.uspace-3d-slot #pos-controls.visible {
    max-width: none;
    margin: 0;
    font-size: 10px;
    padding: 5px 8px;
    gap: 8px;
}

/* Indicators */
.indicators {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.indicators-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.indicators-col {
    align-items: stretch;
    margin-bottom: 0;
    gap: 12px;
}

.indicators-row .indicator {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    background: #16213e;
    border-radius: 10px;
    width: 100%;
    border: 2px solid #1a2a4a;
    transition: border-color 0.3s;
}

.indicator.on {
    border-color: currentColor;
}

/* Indicator lights */
.light {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
}

.light-green {
    background: #2a3a2a;
    box-shadow: none;
}

.light-green.on {
    background: #00e676;
    box-shadow: 0 0 15px #00e676, 0 0 30px rgba(0, 230, 118, 0.3);
}

.light-orange {
    background: #3a3a2a;
    box-shadow: none;
}

.light-orange.on {
    background: #ffa726;
    box-shadow: 0 0 15px #ffa726, 0 0 30px rgba(255, 167, 38, 0.3);
}

.light-red {
    background: #3a2a2a;
    box-shadow: none;
}

.light-red.on {
    background: #ef5350;
    box-shadow: 0 0 15px #ef5350, 0 0 30px rgba(239, 83, 80, 0.3);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.light-orange.blinking {
    background: #ffa726;
    box-shadow: 0 0 15px #ffa726, 0 0 30px rgba(255, 167, 38, 0.3);
    animation: blink 0.6s ease-in-out infinite;
}

.label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* DAR Button */
.btn-dar {
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #0f3460;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dar:hover {
    background: #00d4ff;
    color: #1a1a2e;
}

.btn-dar:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #0f3460;
    color: #00d4ff;
}

.side-panel .btn-dar {
    width: 100%;
}

/* ── Config panel (Tour ATC II) ── */
.config-current {
    font-size: 14px;
    padding: 10px 14px;
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #1a2a4a;
    text-align: center;
}

.config-current strong {
    color: #00d4ff;
}

#config-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.config-empty {
    color: #667;
    font-style: italic;
    padding: 15px;
    text-align: center;
}

.config-card {
    background: #16213e;
    border: 2px solid #1a2a4a;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color 0.3s;
}

.config-active-card {
    border-color: #00d4ff;
}

.config-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.config-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
}

.config-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: #00d4ff;
    color: #1a1a2e;
    border-radius: 3px;
    letter-spacing: 1px;
}

.config-volumes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.config-card-actions {
    display: flex;
    gap: 6px;
}

.btn-small {
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid;
}

.btn-apply {
    background: #0f3460;
    color: #00d4ff;
    border-color: #00d4ff;
}

.btn-apply:hover {
    background: #00d4ff;
    color: #1a1a2e;
}

.btn-delete {
    background: #3a1a1a;
    color: #ef5350;
    border-color: #ef5350;
}

.btn-delete:hover {
    background: #ef5350;
    color: #fff;
}

.config-form {
    background: #16213e;
    border: 2px solid #1a2a4a;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}

.config-form h3 {
    color: #00d4ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.config-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    background: #1a1a2e;
    color: #e0e0e0;
    border: 1px solid #0f3460;
    border-radius: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.config-input:focus {
    outline: none;
    border-color: #00d4ff;
}

.volume-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.vol-chk-row {
    display: flex;
    gap: 8px;
}

.vol-chk {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: #1a1a2e;
    border: 1px solid #333;
}

.vol-chk.vol-a1 { color: #FFD54F; border-color: #FFD54F44; }
.vol-chk.vol-a2 { color: #66BB6A; border-color: #66BB6A44; }
.vol-chk.vol-a3 { color: #42A5F5; border-color: #42A5F544; }
.vol-chk.vol-b1 { color: #EC407A; border-color: #EC407A44; }
.vol-chk.vol-b2 { color: #8D6E63; border-color: #8D6E6344; }
.vol-chk.vol-b3 { color: #AB47BC; border-color: #AB47BC44; }

.vol-chk input[type="checkbox"] {
    accent-color: #00d4ff;
}

/* ── Volume status display ── */
.vol-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #1a2a4a;
}

.vol-status-row {
    display: flex;
    gap: 6px;
}

.vol-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 26px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #2a2a3a;
    color: #555;
    border: 1px solid #333;
    transition: all 0.2s;
}

.vol-dot.on.vol-a1 { background: #FFE082; color: #333; border-color: #FFD54F; }
.vol-dot.on.vol-a2 { background: #A5D6A7; color: #1b5e20; border-color: #66BB6A; }
.vol-dot.on.vol-a3 { background: #90CAF9; color: #0d47a1; border-color: #42A5F5; }
.vol-dot.on.vol-b1 { background: #F48FB1; color: #880E4F; border-color: #EC407A; }
.vol-dot.on.vol-b2 { background: #BCAAA4; color: #3E2723; border-color: #8D6E63; }
.vol-dot.on.vol-b3 { background: #CE93D8; color: #4A148C; border-color: #AB47BC; }

/* Volume dot blinking during config DAR */
@keyframes vol-blink-on {
    50% { background: #00e676; color: #1a1a2e; border-color: #00e676; box-shadow: 0 0 8px #00e676; }
}

@keyframes vol-blink-off {
    50% { background: #ef5350; color: #fff; border-color: #ef5350; box-shadow: 0 0 8px #ef5350; }
}

.vol-dot.blink-on {
    animation: vol-blink-on 0.6s ease-in-out infinite;
}

.vol-dot.blink-off {
    animation: vol-blink-off 0.6s ease-in-out infinite;
}

/* ── Pilot controls help ── */
.pilot-controls-help {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.pilot-keys {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.pilot-key-row {
    font-size: 12px;
    color: #aab;
}

.pilot-key-row kbd {
    display: inline-block;
    min-width: 24px;
    padding: 2px 6px;
    background: #0d1b2a;
    border: 1px solid #335;
    border-radius: 4px;
    color: #4dd;
    font-family: monospace;
    font-size: 12px;
    text-align: center;
    margin-right: 6px;
}

/* ── 3D U-Space visualization ── */
#uspace-3d {
    display: none;
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 420px;
    margin: 0 auto;
    border-radius: 12px;
    background: #1a1a2e;
    border: 1px solid #1a2a4a;
    overflow: hidden;
    cursor: grab;
}

#uspace-3d:active {
    cursor: grabbing;
}

#uspace-3d.visible {
    display: block;
}

#uspace-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* 3D inside slot */
.uspace-3d-slot #uspace-3d.visible {
    max-width: none;
    height: 360px;
    margin: 0 0 5px 0;
    border-radius: 10px;
}

#pos-controls {
    display: none;
    max-width: 700px;
    margin: 10px auto;
    padding: 8px 12px;
    background: #16213e;
    border-radius: 6px;
    border: 1px solid #1a2a4a;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 700;
    color: #00d4ff;
}

#pos-controls.visible {
    display: flex;
}

.uspace-3d-slot #pos-controls.visible {
    max-width: none;
    margin: 0;
    font-size: 10px;
    padding: 5px 8px;
    gap: 6px;
}

#btn-raz {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    background: #0f3460;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    border-radius: 4px;
    cursor: pointer;
}

#btn-raz:hover {
    background: #00d4ff;
    color: #1a1a2e;
}

#pos-display {
    font-family: monospace;
    font-size: 11px;
}

.pos-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.pos-row span {
    width: 12px;
    text-align: center;
}

.pos-row button {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    background: #0f3460;
    color: #00d4ff;
    border: 1px solid #00d4ff;
    border-radius: 3px;
    cursor: pointer;
}

.pos-row button:hover {
    background: #00d4ff;
    color: #1a1a2e;
}

/* ── Page header with clock ── */
.page-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.page-header h1 {
    margin-bottom: 0;
}

.clock {
    position: absolute;
    right: 0;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
    color: #8899aa;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.clock.sim-active {
    color: #ffab40;
}

/* ── Sim time page ── */
.sim-time-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
}

.sim-time-status.active {
    border-color: #ffab40;
}

.sim-time-label {
    font-size: 13px;
    font-weight: 700;
    color: #8899aa;
}

.sim-time-value {
    font-size: 13px;
    font-weight: 700;
    color: #ef5350;
}

.sim-time-value.on {
    color: #66bb6a;
}

.sim-time-remaining {
    font-size: 12px;
    color: #ffab40;
    font-family: monospace;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    max-width: 500px;
}

.time-btn {
    padding: 12px 8px;
    background: #16213e;
    border: 2px solid #1a2a4a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 700;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.2s;
}

.time-btn:hover {
    border-color: #00d4ff;
    background: #1a2a4a;
}

.time-btn:active {
    background: #00d4ff;
    color: #1a1a2e;
}

.btn-reset-time {
    margin-top: 10px;
}

/* ── Helico main layout ── */
.helico-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* ── Météo page controls ── */
.meteo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.meteo-card {
    background: #16213e;
    border: 2px solid #1a2a4a;
    border-radius: 10px;
    overflow: hidden;
}

.meteo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.meteo-card-header:hover {
    background: #1a2a4a;
}

.meteo-card-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0;
}

.meteo-avail {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    background: #1a3a2a;
    color: #00e676;
    border: 1px solid #00e676;
}

.meteo-avail.unavailable {
    background: #3a1a1a;
    color: #ef5350;
    border-color: #ef5350;
}

.meteo-card-body {
    padding: 12px 16px 16px;
}

.meteo-slider-group {
    margin-bottom: 14px;
}

.meteo-slider-group:last-child {
    margin-bottom: 0;
}

.meteo-slider-group label {
    display: block;
    font-size: 12px;
    color: #8899aa;
    margin-bottom: 6px;
}

.meteo-slider-group strong {
    color: #00d4ff;
}

.meteo-slider-group input[type="range"] {
    width: 100%;
    accent-color: #00d4ff;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #667;
    margin-top: 2px;
}

.meteo-btn-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meteo-btn {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    background: #1a1a2e;
    color: #8899aa;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.meteo-btn:hover {
    background: #1a2a4a;
    color: #c0d0e0;
}

.meteo-btn.active {
    background: #0f3460;
    color: #00d4ff;
    border-color: #00d4ff;
}

/* ── Météo display on subscriber pages ── */
.meteo-display {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

.meteo-display-title {
    font-size: 11px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 10px;
}

.meteo-item {
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #1a1a2e;
    border: 1px solid #1a2a4a;
    transition: all 0.3s;
}

.meteo-item:last-child {
    margin-bottom: 0;
}

.meteo-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meteo-item-label {
    font-size: 10px;
    font-weight: 700;
    color: #8899aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meteo-item-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    margin-top: 2px;
}

.wind-rose-mini {
    flex-shrink: 0;
}

.meteo-item.unavailable {
    background: #2a1a1a;
    border-color: #5a2020;
}

.meteo-item.unavailable .meteo-item-label {
    color: #ef5350;
}

.meteo-item.unavailable .meteo-item-value {
    color: #ef5350;
    font-size: 11px;
}

/* ── ATC V3 options ── */
.atcv3-options {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

/* ── Pilot drone controls ── */
.pilot-drone-controls {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

/* ── Auto drone controls ── */
.auto-drone-controls {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

/* ── Flight plan form ── */
.flight-plan-form {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

.fp-field {
    margin-bottom: 8px;
}

.fp-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #8899aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.fp-select {
    width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    background: #1a1a2e;
    color: #e0e0e0;
    border: 1px solid #0f3460;
    border-radius: 4px;
}

.fp-input {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    background: #1a1a2e;
    color: #e0e0e0;
    border: 1px solid #0f3460;
    border-radius: 4px;
    font-family: monospace;
}

.fp-input:focus, .fp-select:focus {
    outline: none;
    border-color: #00d4ff;
}

.fp-color-picker {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.fp-color-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.2s;
}

.fp-color-btn:hover {
    transform: scale(1.15);
}

.fp-color-btn.selected {
    border-color: #00d4ff;
    box-shadow: 0 0 6px #00d4ff;
}

.fp-speed-picker {
    display: flex;
    gap: 4px;
}

.fp-speed-btn {
    flex: 1;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    background: #1a1a2e;
    color: #8899aa;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.fp-speed-btn:hover {
    background: #1a2a4a;
}

.fp-speed-btn.selected {
    background: #0f3460;
    color: #00d4ff;
    border-color: #00d4ff;
}

.fp-toggle-group {
    display: flex;
    gap: 4px;
}

.fp-toggle-btn {
    flex: 1;
    padding: 5px 6px;
    font-size: 10px;
    font-weight: 700;
    background: #1a1a2e;
    color: #8899aa;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fp-toggle-btn:hover {
    background: #1a2a4a;
}

.fp-toggle-btn.selected {
    background: #0f3460;
    color: #00d4ff;
    border-color: #00d4ff;
}

.fp-toggle-btn.selected.intrus-on {
    background: #3a1a1a;
    color: #ef5350;
    border-color: #ef5350;
}

.fp-toggle-btn.selected.important-on {
    background: #1a3a1a;
    color: #66bb6a;
    border-color: #66bb6a;
}

.fp-block-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.fp-block-btn {
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 700;
    background: #1a1a2e;
    color: #8899aa;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.fp-block-btn:hover {
    border-color: #00d4ff;
    color: #e0e0e0;
}

.fp-block-btn.in-route {
    background: #0f3460;
    color: #00d4ff;
    border-color: #00d4ff;
}

.fp-route-display {
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
    padding: 6px 8px;
    background: #1a1a2e;
    border-radius: 4px;
    margin-bottom: 6px;
    min-height: 28px;
    word-break: break-all;
}

.fp-duration {
    font-size: 11px;
    color: #ffab40;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0 4px;
}

.fp-actions {
    display: flex;
    gap: 6px;
}

.fp-actions .btn-small {
    flex: 1;
}

/* ── Flight plan list ── */
.fp-list-container {
    background: #16213e;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    padding: 12px;
}

.fp-card {
    background: #1a1a2e;
    border: 1px solid #1a2a4a;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.fp-card:last-child {
    margin-bottom: 0;
}

.fp-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.fp-card-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #555;
}

.fp-card-time {
    font-size: 12px;
    font-weight: 700;
    color: #e0e0e0;
    font-family: monospace;
}

.fp-card-speed {
    font-size: 10px;
    color: #8899aa;
    margin-left: auto;
}

.fp-card-route {
    font-size: 11px;
    color: #aab;
    margin-bottom: 4px;
}

.fp-card-duration {
    font-size: 10px;
    color: #ffab40;
    margin-bottom: 6px;
}

.fp-card-actions {
    display: flex;
    gap: 4px;
}

.fp-card-actions .btn-small {
    font-size: 9px;
    padding: 3px 8px;
}

.btn-duplicate {
    background: #1a2a3a;
    color: #aab;
    border-color: #556;
}

.btn-duplicate:hover {
    background: #2a3a4a;
    color: #e0e0e0;
}

.fp-card-tags {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.fp-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fp-tag-detect {
    background: #1a3a2a;
    color: #66bb6a;
    border: 1px solid #66bb6a;
}

.fp-tag-nodetect {
    background: #3a2a1a;
    color: #ffa726;
    border: 1px solid #ffa726;
}

.fp-tag-intrus {
    background: #3a1a1a;
    color: #ef5350;
    border: 1px solid #ef5350;
}

.fp-tag-nointrus {
    background: #1a2a3a;
    color: #8899aa;
    border: 1px solid #556;
}

.fp-tag-important {
    background: #1a3a1a;
    color: #66bb6a;
    border: 1px solid #66bb6a;
}

.fp-tag-noimportant {
    background: #1a2a3a;
    color: #8899aa;
    border: 1px solid #556;
}

.fp-empty {
    color: #667;
    font-size: 11px;
    font-style: italic;
    text-align: center;
    padding: 8px;
}

/* Responsive */
@media (max-width: 800px) {
    .layout-top {
        flex-direction: column;
    }

    .side-panel {
        width: 100%;
    }

    .config-panel {
        max-width: none;
    }

    .indicators-row {
        flex-direction: column;
        align-items: center;
    }

    .indicators-row .indicator {
        max-width: 420px;
    }

    .meteo-grid {
        grid-template-columns: 1fr;
    }

    .helico-main {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .tab {
        font-size: 10px;
        padding: 10px 5px;
        min-width: 0;
    }

    .page h1 {
        font-size: 18px;
    }

    .indicator {
        padding: 10px 14px;
    }

    .label {
        font-size: 13px;
    }
}
