body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f6f9;
    color: #17212b;
}

a {
    color: #0b5cad;
    text-decoration: none;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.topbar {
    background: #10263d;
    color: #fff;
}

.topbar .shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.card,
.hero,
.table-wrap,
.flash,
.warning {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16, 38, 61, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.hero {
    background: linear-gradient(135deg, #173b5f, #245a84);
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.grid-span-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

input,
select,
textarea,
button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #c9d4df;
    margin-bottom: 14px;
    font: inherit;
}

button,
.button {
    background: #0b5cad;
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-block;
    width: auto;
    padding: 10px 16px;
}

.button.secondary {
    background: #546779;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e3eaf0;
    vertical-align: top;
}

.map-frame {
    height: 620px;
    border-radius: 12px;
    overflow: hidden;
}

.meta {
    color: #526271;
    font-size: 0.95rem;
}

.form-help {
    margin: 0 0 12px;
    color: #526271;
    font-size: 0.95rem;
}

.project-center-map {
    height: 360px;
    border: 1px solid #c9d4df;
    border-radius: 12px;
    overflow: hidden;
    background: #dfe7ef;
    min-height: 360px;
}

.map-picker-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 16px;
    color: #526271;
    text-align: center;
}

.grid-label {
    color: #10263d;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    padding: 2px 6px;
}

.warning {
    border-left: 5px solid #c78900;
}

.flash.success {
    border-left: 5px solid #18864b;
}

.flash.error {
    border-left: 5px solid #ba2d0b;
}

@media (max-width: 720px) {
    .topbar .shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-frame {
        height: 420px;
    }

    .project-center-map {
        height: 300px;
    }
}
