html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: #0f1720;
    color: #e8eef4;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.lab-bar {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    height: 52px;
    padding: 0 1rem;
    background: #13202c;
    border-bottom: 1px solid #243646;
    z-index: 2;
}

.lab-brand {
    font-weight: 650;
    letter-spacing: 0.01em;
}

.lab-lesson {
    color: #9fb0c0;
    font-size: 0.9rem;
}

#map {
    flex: 1 1 auto;
    min-height: 0;
}

#readout {
    height: 32px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    background: #13202c;
    border-top: 1px solid #243646;
    color: #c5d2de;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.ui-dialog {
    z-index: 20;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.panel-kicker {
    margin: 0.75rem 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6b78;
}

.panel-kicker:first-child {
    margin-top: 0;
}

.hint {
    margin: 0.75rem 0 0;
    color: #5c6b78;
    font-size: 0.82rem;
}

.lab-field {
    margin-bottom: 0.45rem;
}

.lab-field label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.78rem;
    color: #5c6b78;
}

.feature-popup {
    color: #13202c;
    font-size: 0.85rem;
}

.feature-popup strong {
    display: block;
}

.feature-popup button {
    margin-top: 0.4rem;
}

.maplibregl-ctrl-attrib,
.maplibregl-ctrl-scale {
    font-size: 11px;
}
