@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
    color-scheme:dark;
    --bg:#111918;
    --panel:#17211f;
    --line:#31403a;
    --muted:#a1b2a8;
    --text:#eef2e9;
    --accent:#d2ed8a;
    font-family:'DM Sans',sans-serif;
    font-size:14px;
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
    background:var(--bg);
    color:var(--text);
}
header {
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 32px;
    border-bottom:1px solid var(--line);
}
a {
    color:var(--accent);
}
.brand {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--text);
    font:600 18px 'Space Grotesk',sans-serif;
    letter-spacing:2px;
}
.brand-icon {
    font-size:34px;
    color:var(--accent);
}
.phase {
    color:var(--muted);
    font-size:10px;
    letter-spacing:1.5px;
}
.phase b {
    color:var(--text);
    margin-left:24px;
    font-weight:500;
}
main {
    display:grid;
    grid-template-columns:350px 1fr;
    min-height:calc(100dvh - 124px);
}
aside {
    padding:34px 26px;
    border-right:1px solid var(--line);
    background:var(--panel);
}
.eyebrow {
    font-size:10px;
    letter-spacing:1.8px;
    color:var(--accent);
}
h1 {
    font:500 40px/1.08 'Space Grotesk',sans-serif;
    letter-spacing:-1.5px;
    margin:20px 0;
}
p {
    line-height:1.6;
}
.intro {
    color:var(--muted);
    margin-bottom:30px;
}
.section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
}
h2 {
    font-size:13px;
    font-weight:500;
}
.section-heading span {
    font-size:10px;
    color:var(--muted);
}
button {
    font:inherit;
    cursor:pointer;
    color:var(--text);
    border:1px solid var(--line);
    background:transparent;
    border-radius:7px;
    padding:11px 12px;
    text-align:left;
    transition:background .15s;
}
button:hover:not(:disabled) {
    background:#354438;
}
button:focus-visible,input:focus-visible,summary:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:3px;
}
button:disabled {
    cursor:wait;
    opacity:.45;
}
.landmark {
    width:100%;
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:8px;
    padding:14px;
}
.landmark.active {
    border-color:var(--accent);
    background:#26352a;
}
.landmark .number {
    font:12px 'Space Grotesk',sans-serif;
    color:var(--accent);
}
.landmark strong {
    display:block;
    font-weight:500;
}
.landmark small {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:5px;
}
.landmark .arrow {
    margin-left:auto;
    color:var(--muted);
}
.actions {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:20px;
}
.actions button {
    font-size:12px;
}
.actions #home {
    width:100%;
    background:var(--accent);
    color:#192316;
    border:none;
}
.small {
    font-size:11px;
    color:var(--muted);
    line-height:1.6;
}
details {
    border-top:1px solid var(--line);
    padding-top:18px;
    margin-top:22px;
}
summary {
    cursor:pointer;
    font-size:13px;
}
summary span {
    font-size:9px;
    color:var(--muted);
    float:right;
    padding-top:3px;
}
form label {
    display:block;
    font-size:11px;
    margin:12px 0 6px;
}
input[type=password] {
    width:100%;
    padding:10px;
    background:var(--bg);
    border:1px solid var(--line);
    color:var(--text);
    border-radius:5px;
    margin-bottom:8px;
}
form button {
    font-size:12px;
}
.note {
    display:flex;
    gap:10px;
    border-top:1px solid var(--line);
    margin-top:24px;
    padding-top:14px;
}
.note p {
    font-size:11px;
    color:var(--muted);
    margin:0;
}
.note strong {
    color:var(--text);
    font-weight:500;
}
.dot {
    display:inline-block;
    width:7px;
    height:7px;
    background:var(--accent);
    border-radius:50%;
    flex-shrink:0;
    margin:5px 6px 0 0;
}
.map-shell {
    position:relative;
    min-height:600px;
    background:radial-gradient(ellipse at 60% 45%,#354537,#121e1c);
    overflow:hidden;
}
#globe {
    position:absolute;
    inset:0;
}
.map-heading {
    position:absolute;
    top:28px;
    left:28px;
    pointer-events:none;
    background:#14201bd9;
    border:1px solid #5c6b4a66;
    padding:15px 20px;
    border-radius:8px;
}
.map-heading strong {
    display:block;
    font:500 20px 'Space Grotesk',sans-serif;
    margin-top:7px;
}
.map-footer {
    position:absolute;
    bottom:38px;
    left:20px;
    right:20px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    pointer-events:none;
    font-size:11px;
    color:#e4eadd;
    text-shadow:0 1px 4px #000;
    background:#15201de6;
    padding:10px 12px;
    border-radius:6px;
}
.map-footer .dot {
    margin-top:0;
}
footer {
    min-height:48px;
    padding:14px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:10px;
}
footer>span:first-child {
    letter-spacing:1.4px;
}
footer label {
    white-space:nowrap;
}
input[type=checkbox] {
    accent-color:var(--accent);
    vertical-align:middle;
}
.error-panel {
    position:absolute;
    top:40%;
    left:10%;
    right:10%;
    padding:24px;
    background:#18221ff5;
    border:1px solid var(--line);
    border-radius:8px;
    z-index:3;
}
.error-panel h2 {
    font-size:20px;
}
.error-panel p {
    color:var(--muted);
}
[hidden] {
    display:none!important;
}
.cesium-viewer-bottom {
    max-width:100%;
    background:#111918bb;
}
.cesium-credit-textContainer {
    font-size:10px!important;
}
@media(min-width:1500px) {
    main {
        grid-template-columns:390px 1fr;
    }
    aside {
        padding:42px 34px;
    }
}
@media(max-width:760px) {
    header {
        height:60px;
        padding:0 18px;
    }
    .phase {
        font-size:8px;
    }
    .phase b {
        margin-left:8px;
    }
    main {
        display:flex;
        flex-direction:column;
    }
    .map-shell {
        order:-1;
        height:55dvh;
        min-height:350px;
    }
    aside {
        border-right:0;
        padding:24px;
    }
    h1 {
        font-size:32px;
    }
    h1 br {
        display:none;
    }
    .intro {
        margin-bottom:20px;
    }
    footer {
        flex-wrap:wrap;
        padding:15px 20px;
    }
    .map-heading {
        top:16px;
        left:16px;
    }
    .map-footer {
        left:10px;
        right:10px;
        flex-wrap:wrap;
    }
    #coordinates {
        font-size:10px;
    }
}
.map-heading,.map-footer {
    z-index:500;
}
.flat-link {
    position:absolute;
    right:20px;
    top:100px;
    z-index:500;
    background:#17211fe8;
    border:1px solid var(--line);
    padding:8px 12px;
    border-radius:6px;
    font-size:11px;
    text-decoration:none;
}
.leaflet-container {
    background:#d8dccd;
    font-family:'DM Sans',sans-serif;
}
.leaflet-control-attribution {
    font-size:10px!important;
}
.error-panel {
    z-index:600;
}
.leaflet-control-zoom {
    margin-top:28px!important;
    margin-right:20px!important;
}
.basemap-switch {
    position: absolute;
    top: 118px;
    left: 28px;
    z-index: 500;
    display: flex;
    padding: 4px;
    gap: 4px;
    background: #17211ff2;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.basemap-switch button {
    font-size: 12px;
    padding: 9px 14px;
    border: 0;
}
.basemap-switch button[aria-pressed=true] {
    background: var(--accent);
    color: #17211f;
}
@media(max-width:760px) {
    .basemap-switch { top: 106px; left: 16px; }
}
