/* JACE interface typography; scientific layer colours remain defined separately. */
body,.report-mini,.maplibregl-popup{font-family:Arial,Helvetica,sans-serif}
button,input,select,textarea{font-family:inherit}
h1,h2,header,.numbers b{font-family:Arial,Helvetica,sans-serif}
h1{font-size:25px;font-weight:600;line-height:1.25;letter-spacing:-.4px}
header .jace-brand{display:flex;align-items:center;gap:12px;color:#6de2cd;text-decoration:none;font-size:20px;font-weight:700}
.brand-mark{display:block;position:relative;width:64px;height:42px;overflow:hidden;background:white;border-radius:5px;flex-shrink:0}
.brand-mark img{position:absolute;width:110px;height:auto;max-width:none;left:-23px;top:-21px}
header strong{font-size:13px;font-weight:500;text-align:right;max-width:440px}
:focus-visible{outline:2px solid #147a88;outline-offset:3px}
@media(max-width:760px){header{height:auto;min-height:76px;padding:10px 12px;gap:10px}header .jace-brand{font-size:17px;gap:8px;flex-shrink:0}header strong{font-size:11px;max-width:180px;line-height:1.35}.brand-mark{width:48px;height:36px}.brand-mark img{width:94px;left:-23px;top:-19px}h1{font-size:24px}}
/* Center the page title independently of the brand. */
header{display:grid;grid-template-columns:250px minmax(0,1fr) 250px;gap:12px}
header .map-title{grid-column:2;margin:0;max-width:none;font-size:22px;font-weight:600;line-height:1.2;text-align:center;color:white;letter-spacing:0}
.info-title{font-size:25px;font-weight:600;margin:10px 0 24px}
.map-settings{border:1px solid #a9cbd0;border-left:4px solid #147a88;background:#e8f2f3;border-radius:7px;padding:14px;margin:22px 0}
.map-settings summary{font-size:16px;font-weight:700;color:#174859;cursor:pointer}
.map-settings label{margin:16px 0 10px}.map-settings button{background:#147a88;color:white;font-weight:600;text-align:center;margin:14px 0 0}.map-settings button:hover{background:#0f626e}
@media(max-width:1100px){header{grid-template-columns:1fr;height:122px;gap:8px;padding:12px 18px;align-content:center}header .jace-brand{justify-self:start}header .map-title{grid-column:1;font-size:20px;justify-self:center;max-width:720px}main{height:calc(100dvh - 122px)}}
@media(max-width:760px){header{height:auto;min-height:122px;padding:12px;gap:10px}header .map-title{font-size:19px;line-height:1.3}main{height:auto}.info-title{font-size:24px}}
.depth-summary{border-top:1px solid #c8d7dd;padding-top:16px;margin-top:18px}.depth-summary b{font-size:29px;font-variant-numeric:tabular-nums}.depth-summary span{font-size:12px;color:#526a79}.depth-classes{list-style:none;padding:0;margin:12px 0}.depth-classes li{display:flex;align-items:center;gap:7px;margin:12px 0;font-size:13px}.depth-classes i{display:inline-block;width:15px;height:15px;border-radius:50%;flex:none;border:1px solid #0002}.depth-green{background:#278e4e}.depth-yellow{background:#f2c130}.depth-red{background:#cf3838}#ticks{line-height:1.6;display:block}
.simulation-toggle{position:absolute;bottom:40px;left:18px;width:auto;z-index:6;background:#147a88;color:white;font-weight:600;padding:11px 18px;box-shadow:0 2px 10px #10293630}body:not(.simulation-open) .legend{bottom:104px}body.simulation-open .simulation-toggle{bottom:285px}body.simulation-open .legend{bottom:345px}@media(max-width:760px){.simulation-toggle{left:10px;bottom:36px}body:not(.simulation-open) .legend{bottom:98px}body.simulation-open .simulation-toggle{bottom:288px}body.simulation-open .legend{bottom:345px}}

.map-event span{display:block}.map-event #last-update{margin-top:6px}.map-event #auto-status:empty{display:none}.station-marker{display:flex;align-items:center;gap:4px;cursor:pointer}.station-dot{width:10px;height:10px;background:#0d5e61;border:2px solid white;border-radius:50%;box-sizing:border-box;flex:none}.station-label{font:600 11px Arial,sans-serif;color:#123d49;background:#fffffff0;border:1px solid #a7c4c8;border-radius:3px;padding:2px 4px;white-space:nowrap}#dry-status{color:#185c32;background:#e3f3e7;border:1px solid #85bb95;border-radius:5px;padding:8px;margin:0 0 9px;font-weight:700}

.station-leader{position:absolute;left:13px;border-left:1px solid #466e73;pointer-events:none}.station-label{position:relative}

/* Guayas field desk: colour identifies controls, never changes model thresholds. */
body{color:#15364b;background:#f0f6f8}
body>header{background:#102f49;border-bottom:4px solid #28b9b0}
header .jace-brand{color:#9aece1}header .map-title{font-weight:700}
main>aside{background:#f5f9fb;border-right:1px solid #c5d9e3}
.info-title{color:#143e60;border-bottom:3px solid #d59527;padding-bottom:14px;margin-bottom:16px}
main>aside>details{background:#fff;border:1px solid #c5d9e3;border-left:4px solid #197aa0;border-radius:6px;box-shadow:0 2px 6px #102f4907}
main>aside>details>summary{color:#153f58;font-size:14px;line-height:1.5}
main>aside>#climate-stations{border-left-color:#087c72;background:#edf8f3}
main>aside>#event-gallery{border-left-color:#c56225;background:#fff5e8}
main>aside>#about-result{border-left-color:#64718c;background:#f0f2f8}
main>aside .event-card{background:#fff;border-color:#e2cba8}
main>aside p{color:#4e6574}.point.neighborhood,.legend,.timeline-panel{background:#fff;border:1px solid #c5d9e3;box-shadow:0 4px 16px #102f4920}
.point.neighborhood{border-top:4px solid #087c72;border-radius:7px}
.point.neighborhood h2{color:#143e60}.point.neighborhood #place-search-panel{background:#edf6fa;border-left-color:#197aa0}
.point.neighborhood #place-search-panel>summary{color:#153f58}
.point.neighborhood form button,.point.neighborhood #report-here,.map-settings button,.simulation-toggle{background:#086c63;color:#fff}
.point.neighborhood input{color:#15364b;background:#fff}.legend{border-top:3px solid #197aa0}.map-event{background:#102f49;color:#fff}
body .visit-counter{background:#e2edf5;color:#25475f;border-color:#bfd4e1}
body #future-map{background:#fff3da;color:#684414;border-color:#d59527}
button:hover:not(:disabled){filter:brightness(.95)}
:focus-visible{outline:3px solid #bc510f;outline-offset:3px}
@media(max-width:760px){main>aside>details>summary{font-size:15px}.point.neighborhood input{font-size:16px}.point.neighborhood form button{min-height:44px}}

/* Keep the complete institutional logo, without cropping or colour filters. */
header .jace-brand{font-size:17px;gap:10px}
header .brand-mark{display:flex;align-items:center;justify-content:center;width:96px;height:60px;padding:6px;background:#fff;border:2px solid #78d8ce;border-radius:8px;box-shadow:0 2px 8px #0002}
header .brand-mark img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
@media(max-width:760px){header .brand-mark{width:78px;height:50px;padding:5px}}
