body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #182230
}

header {
    background: #fff;
    padding: 14px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center
}

nav a {
    margin-left: 14px;
    text-decoration: none;
    color: #2457c5;
    font-weight: 700
}

main {
    padding: 16px
}

.grid,
.playback {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px
}

.panel {
    background: #fff;
    border: 1px solid #dde3e9;
    border-radius: 12px;
    box-shadow: 0 3px 12px #0000000d
}

.info {
    padding: 16px
}

.stat {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #eee
}

.controls {
    padding: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 14px
}

label {
    display: grid;
    gap: 5px;
    font-weight: 700;
    font-size: 13px
}

input,
select,
button {
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #ccd4dd
}

button {
    background: #2457c5;
    color: white;
    border: 0;
    font-weight: 700;
    cursor: pointer
}

.secondary {
    background: #e8edf4;
    color: #26384f
}

#map {
    height: calc(100vh - 110px);
    min-height: 520px;
    border-radius: 12px
}

.buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px
}

.notice {
    display: none;
    background: #fff4d6;
    color: #6c4a00;
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px
}

@media(max-width:900px) {

    .grid,
    .playback {
        grid-template-columns: 1fr
    }

    #map {
        height: 62vh;
        min-height: 420px
    }
}