:root{
    --wdm-ink:#082f3a;
    --wdm-muted:#5d7279;
    --wdm-line:#d9e5e8;
    --wdm-soft:#f4f9fa;
    --wdm-teal:#087f8c;
    --wdm-deep:#043d49;
    --wdm-gold:#c99618;
    --wdm-white:#ffffff;
    --wdm-shadow:0 18px 42px rgba(4,61,73,.12);
}

.wdm-page{
    background:
        radial-gradient(circle at 8% 3%,rgba(32,191,181,.10),transparent 24%),
        linear-gradient(180deg,#edf7f8 0,#f8fbfc 360px,#f8fbfc 100%);
    color:var(--wdm-ink);
}

.wdm-shell{
    width:min(1480px,calc(100% - 30px));
    margin:0 auto;
}

.wdm-hero{
    padding:42px 0 32px;
    background:
        radial-gradient(circle at 85% 12%,rgba(99,221,214,.22),transparent 28%),
        linear-gradient(135deg,#043d49,#08717c);
    color:#fff;
}

.wdm-kicker,
.wdm-mini-kicker{
    display:block;
    color:#4fd5cf;
    font-size:.74rem;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.wdm-hero h1{
    max-width:980px;
    margin:9px 0 12px;
    color:#fff;
    font-size:clamp(2rem,4vw,3.35rem);
    line-height:1.08;
}

.wdm-hero p{
    max-width:900px;
    margin:0;
    color:#dff7f5;
    font-size:1.05rem;
    line-height:1.7;
}

.wdm-workspace{
    display:grid;
    grid-template-columns:minmax(300px,390px) minmax(0,1fr);
    gap:20px;
    padding:24px 0 42px;
    align-items:start;
}

.wdm-sidebar,
.wdm-map-column{
    min-width:0;
}

.wdm-sidebar{
    position:sticky;
    top:16px;
    max-height:calc(100vh - 32px);
    display:flex;
    flex-direction:column;
    gap:13px;
}

.wdm-filter-panel,
.wdm-map-toolbar,
.wdm-map-frame,
.wdm-selected-card,
.wdm-legend-panel,
.wdm-result-summary{
    border:1px solid var(--wdm-line);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--wdm-shadow);
}

.wdm-filter-panel{
    padding:17px;
}

.wdm-filter-heading,
.wdm-map-toolbar,
.wdm-legend-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}

.wdm-filter-heading{
    margin-bottom:14px;
}

.wdm-filter-heading h2,
.wdm-map-toolbar h2,
.wdm-legend-heading h2{
    margin:3px 0 0;
    color:var(--wdm-ink);
    font-size:1.25rem;
}

.wdm-clear-button,
.wdm-map-reset{
    min-height:38px;
    padding:.48rem .78rem;
    border:1px solid #b9cdd1;
    border-radius:999px;
    background:#fff;
    color:#14515c;
    font-weight:800;
    cursor:pointer;
}

.wdm-clear-button:hover,
.wdm-clear-button:focus-visible,
.wdm-map-reset:hover,
.wdm-map-reset:focus-visible{
    border-color:#087f8c;
    background:#eaf7f7;
    outline:none;
}

.wdm-field{
    display:block;
    min-width:0;
}

.wdm-field-wide{
    margin-bottom:12px;
}

.wdm-field span{
    display:block;
    margin:0 0 5px;
    color:#405e65;
    font-size:.78rem;
    font-weight:850;
}

.wdm-field input,
.wdm-field select{
    width:100%;
    min-height:43px;
    padding:.62rem .7rem;
    border:1px solid #c9d9dd;
    border-radius:12px;
    background:#fff;
    color:#113d46;
    font:inherit;
}

.wdm-field input:focus,
.wdm-field select:focus{
    border-color:#087f8c;
    outline:3px solid rgba(8,127,140,.14);
}

.wdm-filter-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.wdm-check-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 10px;
    margin-top:13px;
}

.wdm-check{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    color:#34575f;
    font-size:.82rem;
    font-weight:750;
}

.wdm-check input{
    width:17px;
    height:17px;
    accent-color:#087f8c;
}

.wdm-result-summary{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:12px 15px;
}

.wdm-result-summary div+div{
    border-left:1px solid var(--wdm-line);
    padding-left:15px;
}

.wdm-result-summary strong,
.wdm-result-summary span{
    display:block;
}

.wdm-result-summary strong{
    color:#075e6b;
    font-size:1.35rem;
}

.wdm-result-summary span{
    margin-top:2px;
    color:#6c7f84;
    font-size:.75rem;
    font-weight:750;
}

.wdm-dataset-list{
    overflow:auto;
    padding-right:3px;
    scrollbar-width:thin;
}

.wdm-dataset-card{
    position:relative;
    width:100%;
    margin:0 0 10px;
    padding:15px 15px 14px 19px;
    border:1px solid var(--wdm-line);
    border-radius:16px;
    background:#fff;
    color:var(--wdm-ink);
    text-align:left;
    box-shadow:0 9px 22px rgba(4,61,73,.07);
    cursor:pointer;
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}

.wdm-dataset-card::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:6px;
    border-radius:16px 0 0 16px;
    background:var(--wdm-card-color,#087f8c);
}

.wdm-dataset-card:hover,
.wdm-dataset-card:focus-visible{
    transform:translateY(-2px);
    border-color:#89b6bd;
    box-shadow:0 14px 28px rgba(4,61,73,.12);
    outline:none;
}

.wdm-dataset-card.is-selected{
    border-color:var(--wdm-card-color,#087f8c);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--wdm-card-color,#087f8c) 18%,transparent),0 14px 28px rgba(4,61,73,.13);
}

.wdm-card-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:7px;
}

.wdm-card-category,
.wdm-card-coverage{
    font-size:.69rem;
    font-weight:900;
    letter-spacing:.035em;
    text-transform:uppercase;
}

.wdm-card-category{
    color:var(--wdm-card-color,#087f8c);
}

.wdm-card-coverage{
    color:#697e84;
}

.wdm-dataset-card h3{
    margin:0 0 7px;
    color:#092f39;
    font-size:1rem;
    line-height:1.35;
}

.wdm-dataset-card p{
    display:-webkit-box;
    overflow:hidden;
    margin:0 0 9px;
    color:#5a7076;
    font-size:.81rem;
    line-height:1.48;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
}

.wdm-card-provider{
    display:block;
    color:#274f58;
    font-size:.76rem;
    font-weight:800;
}

.wdm-empty,
.wdm-loading,
.wdm-error{
    padding:22px;
    border:1px dashed #b8cdd1;
    border-radius:16px;
    background:#fff;
    color:#5d747a;
    text-align:center;
}

.wdm-map-column{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.wdm-map-toolbar{
    padding:15px 17px;
}

.wdm-map-frame{
    position:relative;
    overflow:hidden;
}

.wdm-map{
    width:100%;
    height:min(67vh,700px);
    min-height:520px;
    background:
        radial-gradient(circle at 50% 36%,#f7fbfb,#dcecee 77%,#c9dfe2);
}

.wdm-map .leaflet-container{
    font:inherit;
}

.wdm-map .leaflet-control-zoom a{
    color:#075e6b;
}

.wdm-map-message{
    position:absolute;
    z-index:650;
    top:18px;
    left:50%;
    max-width:min(560px,calc(100% - 36px));
    transform:translateX(-50%);
    padding:11px 15px;
    border:1px solid rgba(4,61,73,.18);
    border-radius:999px;
    background:rgba(255,255,255,.95);
    color:#154650;
    font-size:.82rem;
    font-weight:800;
    text-align:center;
    box-shadow:0 8px 24px rgba(4,61,73,.15);
}

.wdm-map-help{
    position:absolute;
    z-index:610;
    right:12px;
    bottom:12px;
    max-width:360px;
    padding:8px 11px;
    border-radius:10px;
    background:rgba(3,45,56,.86);
    color:#e9fbfa;
    font-size:.7rem;
    line-height:1.4;
    pointer-events:none;
}

.wdm-selected-card{
    position:relative;
    display:grid;
    grid-template-columns:8px 1fr;
    overflow:hidden;
}

.wdm-selected-accent{
    background:#087f8c;
}

.wdm-selected-content{
    padding:21px;
}

.wdm-selected-topline{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:8px;
    color:#5c7278;
    font-size:.74rem;
    font-weight:850;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.wdm-selected-content h2{
    margin:9px 0 9px;
    color:#082f3a;
    font-size:clamp(1.35rem,2.7vw,2rem);
    line-height:1.25;
}

.wdm-selected-content>p{
    margin:0;
    color:#536b71;
    line-height:1.65;
}

.wdm-selected-meta{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin:19px 0;
}

.wdm-selected-meta div{
    min-width:0;
    padding:12px;
    border:1px solid #d9e6e8;
    border-radius:13px;
    background:#f7fbfb;
}

.wdm-selected-meta dt{
    margin-bottom:4px;
    color:#6d8186;
    font-size:.69rem;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.wdm-selected-meta dd{
    margin:0;
    color:#153f48;
    font-size:.84rem;
    font-weight:800;
    overflow-wrap:anywhere;
}

.wdm-open-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:.66rem 1rem;
    border-radius:999px;
    background:#087f8c;
    color:#fff!important;
    font-weight:900;
    text-decoration:none!important;
}

.wdm-open-button:hover,
.wdm-open-button:focus-visible{
    background:#055e69;
    outline:3px solid rgba(8,127,140,.17);
    outline-offset:2px;
}

.wdm-legend-panel{
    padding:19px;
}

.wdm-legend-heading{
    margin-bottom:15px;
}

.wdm-legend-heading p{
    max-width:480px;
    margin:0;
    color:#667b81;
    font-size:.81rem;
    line-height:1.5;
    text-align:right;
}

.wdm-category-legend{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px;
}

.wdm-legend-item{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    padding:9px 10px;
    border:1px solid #deeaec;
    border-radius:11px;
    background:#f9fcfc;
    color:#294f57;
    font-size:.76rem;
    font-weight:800;
}

.wdm-legend-dot{
    flex:0 0 auto;
    width:13px;
    height:13px;
    border-radius:50%;
    background:var(--wdm-legend-color,#087f8c);
    box-shadow:0 0 0 4px color-mix(in srgb,var(--wdm-legend-color,#087f8c) 16%,transparent);
}

.wdm-symbol-legend{
    display:flex;
    flex-wrap:wrap;
    gap:12px 20px;
    margin-top:16px;
    padding-top:15px;
    border-top:1px solid #dce8ea;
}

.wdm-symbol-legend span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#49656c;
    font-size:.76rem;
    font-weight:800;
}

.wdm-symbol{
    display:inline-block;
    width:17px;
    height:17px;
    border:2px solid #087f8c;
}

.wdm-symbol-global{border-radius:50%;box-shadow:inset 0 0 0 3px #fff;background:#087f8c}
.wdm-symbol-region{border-radius:5px;background:rgba(8,127,140,.2)}
.wdm-symbol-country{border-radius:3px;background:#087f8c}
.wdm-symbol-basin{border-radius:50% 45% 55% 35%;background:rgba(8,127,140,.25)}
.wdm-symbol-point{width:14px;height:14px;border-radius:50%;background:#087f8c;box-shadow:0 0 0 4px rgba(8,127,140,.16)}

.wdm-popup h3{
    margin:0 0 5px;
    color:#0b3741;
    font-size:1rem;
}

.wdm-popup p{
    margin:0 0 8px;
    color:#5a7177;
    line-height:1.45;
}

.wdm-popup a{
    color:#087f8c;
    font-weight:900;
}

@media(max-width:1180px){
    .wdm-workspace{grid-template-columns:330px minmax(0,1fr)}
    .wdm-category-legend{grid-template-columns:repeat(3,minmax(0,1fr))}
    .wdm-selected-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:920px){
    .wdm-workspace{grid-template-columns:1fr}
    .wdm-sidebar{position:static;max-height:none}
    .wdm-dataset-list{max-height:520px}
    .wdm-map{height:620px;min-height:480px}
}

@media(max-width:680px){
    .wdm-shell{width:min(100% - 20px,1480px)}
    .wdm-hero{padding:31px 0 26px}
    .wdm-workspace{padding-top:15px}
    .wdm-filter-grid,.wdm-check-grid{grid-template-columns:1fr}
    .wdm-map-toolbar,.wdm-legend-heading{align-items:flex-start;flex-direction:column}
    .wdm-map{height:68vh;min-height:430px}
    .wdm-map-help{right:8px;bottom:8px;left:8px;max-width:none}
    .wdm-selected-meta{grid-template-columns:1fr}
    .wdm-category-legend{grid-template-columns:repeat(2,minmax(0,1fr))}
    .wdm-legend-heading p{text-align:left}
}

@media(max-width:430px){
    .wdm-category-legend{grid-template-columns:1fr}
    .wdm-result-summary{grid-template-columns:1fr 1fr}
    .wdm-selected-content{padding:17px}
}


/* AQL_VISIBLE_MAP_CSS_V1_START */

/*
 * Protect Leaflet maps from general image, SVG and canvas rules
 * inherited from the main AquaLinked stylesheet.
 */
.wdm-map.leaflet-container {
    background: #dcecee;
}

.wdm-map .leaflet-tile,
.wdm-map .leaflet-marker-icon,
.wdm-map .leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
}

.wdm-map .leaflet-overlay-pane svg,
.wdm-map .leaflet-overlay-pane canvas {
    max-width: none !important;
    max-height: none !important;
}

.wdm-map .leaflet-pane,
.wdm-map .leaflet-control {
    font: inherit;
}

/* Make country boundaries clearly visible above the basemap. */
.wdm-map .leaflet-overlay-pane {
    z-index: 450;
}

/* AQL_VISIBLE_MAP_CSS_V1_END */


/* AQL_INTERACTIVE_LEGENDS_AND_TALL_RESULTS_V1_START */

/* A taller result browser: around seven to eight compact cards on desktop. */
@media (min-width: 921px) {
    .wdm-sidebar {
        position: relative;
        top: auto;
        max-height: none;
    }

    .wdm-dataset-list {
        flex: 0 0 auto;
        height: min(1120px, calc(100vh + 260px));
        min-height: 850px;
        max-height: 1120px;
        padding-right: 7px;
        overscroll-behavior: contain;
    }

    .wdm-dataset-card {
        padding: 12px 13px 11px 18px;
    }

    .wdm-dataset-card p {
        margin-bottom: 7px;
        -webkit-line-clamp: 2;
    }
}

.wdm-legend-item {
    appearance: none;
    width: 100%;
    justify-content: space-between;
    border: 1px solid #deeaec;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.wdm-legend-item:hover,
.wdm-legend-item:focus-visible,
.wdm-legend-item.is-active {
    border-color: var(--wdm-legend-color, #087f8c);
    background: color-mix(in srgb, var(--wdm-legend-color, #087f8c) 10%, #ffffff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdm-legend-color, #087f8c) 13%, transparent);
    outline: none;
}

.wdm-legend-item:active {
    transform: translateY(1px);
}

.wdm-legend-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.wdm-legend-count,
.wdm-symbol-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e8f4f5;
    color: #075e6b;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.wdm-symbol-legend button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 7px 9px;
    border: 1px solid #d7e5e8;
    border-radius: 11px;
    background: #ffffff;
    color: #49656c;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.wdm-symbol-legend button:hover,
.wdm-symbol-legend button:focus-visible,
.wdm-symbol-legend button.is-active {
    border-color: #087f8c;
    background: #eaf7f7;
    box-shadow: 0 0 0 3px rgba(8,127,140,.12);
    outline: none;
}

.wdm-symbol-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 920px) {
    .wdm-dataset-list {
        min-height: 560px;
        max-height: 760px;
    }
}

/* AQL_INTERACTIVE_LEGENDS_AND_TALL_RESULTS_V1_END */


/* AQL_MAP_COVERAGE_SYMBOLS_CSS_V1_START */

.wdm-map-coverage-key{
    display:grid;
    gap:6px;
    min-width:150px;
    padding:10px 12px;
    border:1px solid rgba(8,47,58,.18);
    border-radius:12px;
    background:rgba(255,255,255,.94);
    color:#173f48;
    box-shadow:0 8px 22px rgba(4,61,73,.18);
    backdrop-filter:blur(5px);
}

.wdm-map-coverage-key strong{
    display:block;
    margin-bottom:2px;
    color:#082f3a;
    font-size:12px;
}

.wdm-map-coverage-key span{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:11px;
    font-weight:800;
    line-height:1.2;
}

.wdm-key-shape{
    display:inline-block;
    flex:0 0 auto;
    width:15px;
    height:15px;
    border:2px solid #087f8c;
    background:rgba(8,127,140,.15);
}

.wdm-key-global{
    border-radius:50%;
    box-shadow:inset 0 0 0 3px #fff;
}

.wdm-key-regional{
    border-style:dashed;
    border-radius:3px;
    background:rgba(8,127,140,.08);
}

.wdm-key-country{
    border-radius:3px;
    background:#087f8c;
}

.wdm-key-basin{
    width:18px;
    border-width:3px;
    border-radius:50% 42% 55% 45%;
    background:rgba(8,127,140,.12);
}

.wdm-key-point{
    width:13px;
    height:13px;
    border:2px solid #fff;
    border-radius:50%;
    background:#087f8c;
    box-shadow:0 0 0 2px #087f8c;
}

.wdm-key-station{
    width:12px;
    height:12px;
    margin:1px 2px;
    transform:rotate(45deg);
    border:2px solid #fff;
    border-radius:2px;
    background:#087f8c;
    box-shadow:0 0 0 2px #087f8c;
}

.wdm-map-div-icon{
    border:0 !important;
    background:transparent !important;
}

.wdm-map-station-symbol{
    display:block;
    width:18px;
    height:18px;
    margin:4px;
    transform:rotate(45deg);
    border:3px solid #fff;
    border-radius:3px;
    background:var(--wdm-symbol-color,#087f8c);
    box-shadow:
        0 0 0 2px var(--wdm-symbol-color,#087f8c),
        0 5px 12px rgba(0,35,44,.32);
}

.wdm-map-global-symbol{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border:3px solid var(--wdm-symbol-color,#087f8c);
    border-radius:50%;
    background:rgba(255,255,255,.94);
    font-size:23px;
    line-height:1;
    box-shadow:0 7px 18px rgba(0,35,44,.26);
}

.wdm-map-point-symbol{
    filter:drop-shadow(0 4px 5px rgba(0,35,44,.30));
}

@media(max-width:700px){
    .wdm-map-coverage-key{
        min-width:132px;
        padding:8px 9px;
    }

    .wdm-map-coverage-key span{
        font-size:10px;
    }
}

/* AQL_MAP_COVERAGE_SYMBOLS_CSS_V1_END */


/* AQL_REMOVE_DISTRACTING_GLOBAL_BADGE_V1 */
.wdm-map-global-symbol{
    display:none !important;
}

/* The useful legend is now inside the Leaflet map. */
.wdm-symbol-legend{
    display:none !important;
}


/* AQL_COUNTRY_DATASET_DISCOVERY_CSS_V1_START */

.wdm-map .leaflet-interactive{
    cursor:pointer;
}

.wdm-country-popup-shell .leaflet-popup-content{
    margin:14px 15px 15px;
}

.wdm-country-discovery-popup{
    min-width:250px;
    color:#173f48;
}

.wdm-country-discovery-popup h3{
    margin:0 0 6px;
    color:#062f3a;
    font-size:16px;
    line-height:1.28;
}

.wdm-country-popup-summary,
.wdm-country-popup-empty,
.wdm-country-popup-more{
    margin:0;
    color:#526e75;
    font-size:12px;
    line-height:1.45;
}

.wdm-country-popup-list{
    display:grid;
    gap:7px;
    margin-top:10px;
}

.wdm-country-popup-dataset{
    display:block;
    padding:9px 10px 9px 12px;
    border:1px solid #d5e4e7;
    border-left:4px solid var(--wdm-popup-color,#087f8c);
    border-radius:10px;
    background:#ffffff;
    color:#083642 !important;
    text-decoration:none !important;
    box-shadow:0 4px 10px rgba(8,63,75,.07);
}

.wdm-country-popup-dataset:hover,
.wdm-country-popup-dataset:focus-visible{
    border-color:var(--wdm-popup-color,#087f8c);
    transform:translateY(-1px);
    box-shadow:0 7px 15px rgba(8,63,75,.13);
}

.wdm-country-popup-dataset.is-selected{
    background:#eefafa;
    box-shadow:0 0 0 2px color-mix(
        in srgb,
        var(--wdm-popup-color,#087f8c) 24%,
        transparent
    );
}

.wdm-country-popup-dataset strong,
.wdm-country-popup-dataset span{
    display:block;
}

.wdm-country-popup-dataset strong{
    font-size:12px;
    line-height:1.35;
}

.wdm-country-popup-dataset span{
    margin-top:4px;
    color:#5d747a;
    font-size:10px;
    line-height:1.35;
}

.wdm-country-popup-more{
    margin-top:9px;
    font-weight:700;
}

/* AQL_COUNTRY_DATASET_DISCOVERY_CSS_V1_END */


/* AQL_DYNAMIC_ACTIVE_COVERAGE_LEGEND_CSS_V1_START */

.wdm-map-coverage-key{
    --wdm-active-color:#087f8c;
    min-width:205px;
}

.wdm-map-key-active-label{
    display:block;
    max-width:230px;
    margin:-1px 0 4px;
    padding-bottom:7px;
    border-bottom:1px solid rgba(8,47,58,.13);
    color:#526f76;
    font-size:10px;
    font-weight:800;
    line-height:1.35;
}

.wdm-map-coverage-key [data-coverage-key]{
    position:relative;
    min-height:24px;
    padding:3px 42px 3px 5px;
    border:2px solid transparent;
    border-radius:8px;
    color:#425f66;
    transition:
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        transform .16s ease;
}

.wdm-map-coverage-key [data-coverage-key] b{
    font:inherit;
    font-weight:800;
}

.wdm-map-coverage-key [data-coverage-key] em{
    display:none;
    position:absolute;
    top:50%;
    right:5px;
    transform:translateY(-50%);
    padding:2px 5px;
    border-radius:999px;
    background:#d62828;
    color:#ffffff;
    font-size:8px;
    font-style:normal;
    font-weight:950;
    letter-spacing:.035em;
    text-transform:uppercase;
}

.wdm-map-coverage-key [data-coverage-key] .wdm-key-shape{
    border-color:#66858c;
    background:rgba(102,133,140,.12);
    box-shadow:none;
}

.wdm-map-coverage-key [data-coverage-key].is-active{
    transform:translateX(2px);
    border-color:#d62828;
    background:rgba(214,40,40,.10);
    color:#082f3a;
    box-shadow:0 4px 11px rgba(92,23,23,.12);
}

.wdm-map-coverage-key [data-coverage-key].is-active em{
    display:inline-block;
}

.wdm-map-coverage-key [data-coverage-key].is-active .wdm-key-shape{
    border-color:var(--wdm-active-color);
    background:var(--wdm-active-color);
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px var(--wdm-active-color);
}

.wdm-map-coverage-key [data-coverage-key].is-active .wdm-key-global{
    background:rgba(255,255,255,.92);
    box-shadow:
        inset 0 0 0 3px var(--wdm-active-color),
        0 0 0 2px #ffffff,
        0 0 0 4px var(--wdm-active-color);
}

.wdm-map-coverage-key [data-coverage-key].is-active .wdm-key-regional{
    border-style:dashed;
    background:rgba(8,127,140,.22);
}

.wdm-map-coverage-key [data-coverage-key].is-active .wdm-key-point,
.wdm-map-coverage-key [data-coverage-key].is-active .wdm-key-station{
    border-color:#ffffff;
    background:var(--wdm-active-color);
}

@media(max-width:700px){
    .wdm-map-coverage-key{
        min-width:185px;
    }

    .wdm-map-key-active-label{
        max-width:205px;
    }

    .wdm-map-coverage-key [data-coverage-key]{
        padding-right:37px;
    }
}

/* AQL_DYNAMIC_ACTIVE_COVERAGE_LEGEND_CSS_V1_END */


/* AQL_JUSTIFIED_SELECTED_DATASET_TEXT_V1_START */

/*
 * Justify the detailed dataset description and the values displayed in
 * Provider, Spatial Resolution, Temporal Coverage and Access.
 * Headings and short labels remain left-aligned for readability.
 */
.wdm-selected-content > p,
.wdm-selected-meta dd{
    text-align:justify;
    text-align-last:left;
    text-justify:inter-word;
    hyphens:auto;
    -webkit-hyphens:auto;
    overflow-wrap:anywhere;
    word-break:normal;
}

.wdm-selected-content > p{
    line-height:1.72;
}

.wdm-selected-meta dd{
    line-height:1.55;
}

/* Avoid excessive spacing in very narrow mobile columns. */
@media(max-width:520px){
    .wdm-selected-meta dd{
        text-align:left;
        hyphens:none;
    }
}

/* AQL_JUSTIFIED_SELECTED_DATASET_TEXT_V1_END */
