@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
    --ink:#3f69ad;
    --muted:#536178;
    --paper:#f5f7f4;
    --white:#fff;
    --line:#d9e2dc;
    --green:#0057e4;
    --green-dark:#002259;
    --lime:#7caaf6;
    --sand:#eeede2;--blue:#e4eff0;--cu-blue:#2c6bac;--shadow:0 16px 44px rgba(20,47,44,.08);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}[v-cloak]{display:none}
    .site-header{
        /* height:78px; */
        background:var(--white);border-bottom:1px solid var(--line);
        display:flex;justify-content:space-between;
        align-items:center;padding:0 max(24px,calc((100vw - 1240px)/2));
        position:sticky;top:0;z-index:5}
    .brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:#fff;font-family:Manrope,sans-serif;font-weight:800;font-size:23px}.brand b,.brand small{display:block}.brand b{font:800 15px Manrope,sans-serif;letter-spacing:.09em}.brand small{font-size:11px;color:var(--muted);margin-top:2px}.site-header nav{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:600}
    .site-header nav button{background:none;border:0;color:var(--green);padding:8px 0}.site-header nav a{color:var(--ink)}main{max-width:1240px;margin:0 auto;padding:0 24px 30px}
    .intro {
        min-height: 100px;
        margin: 16px 0 15px;
        background: var(--cu-blue);
        color: white;
        border-radius: 20px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 30px;
        padding: 26px 28px;
        overflow: hidden;
        position: relative;
    }

    .intro:after{content:'';position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:6%;top:-65px;box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 80px rgba(255,255,255,.025)}
    .intro-copy {
        flex: 1;
        max-width: 900px;
        min-width: 0;
        position: relative;
        z-index: 1;
    }

    .eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:700;color:#779990;margin:0 0 8px}.intro .eyebrow{color:var(--lime)}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;margin:0;letter-spacing:-.035em}h1{font-size:clamp(32px,4.5vw,52px);line-height:1.08;max-width:710px}
    .intro-lede {
        max-width: 770px;
        color: #d6e2dd;
        font-size: 15px;
        line-height: 1.7;
        margin: 0 0 20px;
    }
    .intro-mark{z-index:1;display:flex;flex-direction:column;gap:9px;font:700 11px Manrope,sans-serif;letter-spacing:.16em;color:rgba(255,255,255,.68);text-align:right}
        
    .catalog-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 90%;
        box-sizing: border-box;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 12px;
        box-shadow: none;
        margin: 0;
    }

    .catalog-stats div {
        padding: 10px 15px;
        border-right: 1px solid rgba(255,255,255,.18);
        min-width: 0;
    }

    .catalog-stats div:last-child {
        border: 0;
    }

    .catalog-stats strong,
    .catalog-stats span {
        display: block;
    }

    .catalog-stats strong {
        font: 700 25px Manrope, sans-serif;
        color: white;
    }

    .catalog-stats span {
        font-size: 12px;
        color: #d6e2dd;
        margin-top: 4px;
    }

    .catalog-stats strong span {
        display: inline;
        font-size: 16px;
        font-weight: 400;
        color: #d6e2dd;
        margin-top: 0;
    }
    .search-panel,.category-overview,.metadata-card,.map-card{
        background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
        
    .search-panel{
        padding:15px 20px;
        
        margin-bottom:24px}

    .search-subtitle {
        margin: 5px 0 0;
        color: var(--muted);
        font-size: 13px;
        }

    .search-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        align-items: end;
        gap: 16px;
        }

    .search-input-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 46px;
        padding: 0 13px;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: #fff;
        }

    .search-icon {
        width: 15px;
        height: 15px;
        flex: 0 0 15px;
        border: 2px solid var(--muted);
        border-radius: 50%;
        position: relative;
        margin-right: 3px;
    }

    .search-icon::after {
        content: "";
        position: absolute;
        width: 6px;
        height: 2px;
        background: var(--muted);
        right: -5px;
        bottom: -2px;
        transform: rotate(45deg);
        border-radius: 2px;
    }

        
    .search-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 11px 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    }

    .search-input-wrap:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgb(0 103 72 / 8%);
    }

    .search-panel select {
    width: 100%;
    min-height: 40px;
    padding: 9px 30px 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: white;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    }

    .filter-divider {
    height: 1px;
    margin: 22px 0 16px;
    background: var(--line);
    }

    .filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    }

    .result-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    }
 

    .text-button {
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    }

    .text-button:hover {
    text-decoration: underline;
    }

    
    
    .search-heading,.section-heading{
        display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:5px}
        
    .search-heading h2,.section-heading h2{font-size:25px}
    .text-button,.back-link{border:0;background:none;color:var(--green);font-weight:700;font-size:12px;padding:8px 0}
    .filters{display:grid;grid-template-columns:2fr repeat(2,minmax(100px,2fr));gap:12px}
    .asset-filters label {
        display: flex;
        flex-direction: column;
        gap: 7px;
        font-size: 11px;
        color: var(--muted);
        font-weight: 700;
    }
    .filters input,.filters select,
    .asset-filters input,.asset-filters select{width:100%;height:42px;padding:0 12px;color:var(--ink);border:1px solid var(--line);border-radius:9px;background:#fbfcfa;font-size:12px;outline:none}.filters input:focus,.filters select:focus,.asset-filters input:focus,.asset-filters select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,103,95,.11)}.result-count{font-size:11px;color:var(--muted);margin:14px 0 0}.category-section,.results-section,.assets-section{margin:0 0 42px}
    .section-heading{align-items:center}
    .section-heading h2{font-size:25px}
    .section-heading>span,.section-heading>p{font-size:12px;color:var(--muted);margin:0}
    .category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
    .category-card{position:relative;text-align:left;display:flex;flex-direction:column;gap:10px;min-height:182px;padding:21px;background:white;border:1px solid var(--line);border-radius:15px;color:var(--ink);transition:transform .16s,border .16s,box-shadow .16s}
    .category-card:hover{transform:translateY(-2px);border-color:#9fbeb4;box-shadow:var(--shadow)}
    .category-card strong{font:700 18px Manrope,sans-serif}.category-count{color:var(--green);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
    .category-summary{
        font-size:12px;line-height:1.5;color:var(--muted);
        display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
    .category-arrow {
        margin-top: 0;
        margin-left: auto;
        flex-shrink: 0;
        white-space: nowrap;
        color: var(--green);
        font-size: 11px;
        font-weight: 700;
        }

        .category-arrow b {
        margin-left: 4px;
        }
        .category-overview {
        padding: 18px 22px;
        margin: 0 0 20px;
        background: var(--sand);
        }

        .category-overview h2 {
        font-size: 24px;
        margin: 0;
        }

        .category-overview > p:not(.eyebrow):not(.topic-line) {
        max-width: 800px;
        margin: 12px 0;
        color: #495d59;
        font-size: 13px;
        line-height: 1.5;
        }

        .category-overview-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        }

        .category-metrics {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        }

        .category-metrics b {
        font: 700 16px Manrope, sans-serif;
        color: var(--ink);
        margin-right: 4px;
        }

        .category-overview .topic-line {
        margin: 10px 0 0;
        padding-top: 10px;
        border-top: 1px solid var(--line);
        font-size: 12px;
        }


    .results-heading-controls {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .results-bottom-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        margin-top: 16px;
    }

    
    .filter-dropdown {
    position: relative;
    min-width: 0;
    }

    .filter-dropdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: white;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    list-style: none;
    }

    @media (max-width: 650px) {
        .category-overview-header {
            align-items: flex-start;
            flex-direction: column;
            gap: 12px;
        }
         .search-panel {
            padding: 18px;
        }

        .search-heading h2 {
            font-size: 22px;
        }

         
    }
    .topic-line{font-size:11px;color:var(--muted)}
    .detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:15px 0}
    .detail-title-row h2{font-size:clamp(26px,3.5vw,38px);max-width:1000px}.detail-title-row 
    .eyebrow{margin-bottom:8px}.version-badge,.mini-status{white-space:nowrap;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:700}.status-current{background:#e1f2e8;color:#176b45}.status-not_current{background:#f7e8d8;color:#8b4c1d}
    .status-unknown{
    /* background:#edf0ee;color:#60706d */
    display:none}
    .description{font-size:14px;color:#4c605c;line-height:1.75;max-width:980px}.doi-links{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.doi-links a{border:1px solid var(--line);background:white;padding:8px 11px;border-radius:8px;font-size:11px}.detail-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;margin-bottom:34px}
    .metadata-card,.map-card{padding:22px;box-shadow:none}
    .metadata-card{ max-height:550px;
            overflow-y:auto; }
    .card-heading{margin-bottom:17px}
    .card-heading h3{font-size:19px}
    .metadata-list{display:grid;grid-template-columns:minmax(50px, .34fr) 1fr;gap:0 15px;margin:0}.metadata-list dt,.metadata-list dd{margin:0;padding:5px 0;border-top:1px solid #edf1ee;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.metadata-list dt{color:var(--muted);font-weight:600}.metadata-list dd{color:var(--ink)}.map-wrap{height:360px;position:relative;border-radius:12px;overflow:hidden;background:#e7eeea}.map-wrap #coverage-map{position:absolute;inset:0}.map-message{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:20px;text-align:center;color:#5f726e;background:rgba(245,247,244,.74);font-size:13px;pointer-events:none}.map-caption,.bbox-text{font-size:10px;color:var(--muted);margin:10px 0 0}.bbox-text{font-family:ui-monospace,Consolas,monospace}.assets-section{background:white;padding:26px;border:1px solid var(--line);border-radius:17px}.sub-count{font:600 14px 'DM Sans';color:var(--muted);letter-spacing:0}
    .asset-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:15px 0}
    .asset-list{border-top:1px solid var(--line)}
    .asset-row{display:grid;grid-template-columns:36px 1fr auto;align-items:start;gap:13px;padding:5px 4px;border-bottom:1px solid #edf1ee}.asset-icon{width:32px;height:32px;display:grid;place-items:center;background:var(--blue);color:var(--green);border-radius:9px;font-size:15px}.asset-main>a{font-size:12px;font-weight:700;overflow-wrap:anywhere}.asset-main p{font-size:11px;color:var(--muted);line-height:1.5;margin:4px 0 7px;overflow-wrap:anywhere}.asset-meta{display:flex;flex-wrap:wrap;gap:6px}.asset-meta span{font-size:9px;color:#51635f;background:#f0f4f1;padding:4px 7px;border-radius:999px}.open-asset{font-size:10px;font-weight:700;padding:7px 9px;border:1px solid var(--line);border-radius:7px;white-space:nowrap}.pagination{display:flex;align-items:center;gap:8px}.pagination span{font-size:10px;color:var(--muted);padding:0 6px}.pagination button{border:1px solid var(--line);background:white;color:var(--green);border-radius:7px;padding:8px 11px;font-size:10px;font-weight:700}
    .pagination button:disabled{opacity:.4;cursor:default}
    .results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

    .result-card{min-height:172px;border:1px solid var(--line);border-radius:13px;background:white;text-align:left;padding:17px;display:flex;flex-direction:column;gap:10px;color:var(--ink);transition:border .16s,box-shadow .16s}
    .result-card:hover{border-color:#9fbeb4;box-shadow:var(--shadow)}
    .result-category{display:flex;justify-content:space-between;align-items:center;color:var(--green);font-size:10px;font-weight:700}
    .mini-status{font-size:9px;padding:4px 7px}
    .result-card strong{font:700 14px/1.4 Manrope,sans-serif}
    .result-description{font-size:11px;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .result-metadata {
    display: grid;
    gap: 8px; 
    font-size: 0.75rem;
    color: var(--muted);
    }

    .result-metadata > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    }

    .result-metadata span {

        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .metadata-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    }
    .result-foot{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:6px;color:#72807c;font-size:9px}
    .result-foot span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .empty-state{padding:38px;text-align:center;color:var(--muted);font-size:13px;background:#fafbf9;border:1px dashed var(--line);border-radius:12px}
    
    
    footer {
        border-top: 1px solid var(--line);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        padding: 10px 0 1px;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.6;
        }
    footer span:first-child {
        font-weight: 700;
        color: var(--ink);
        flex-shrink: 0;
        }
    footer a {
        color: inherit;
        text-decoration: none;
        }

    footer a:hover {
        color: var(--ink);
        text-decoration: underline;
        }

    .loading-screen,.error-banner{position:fixed;z-index:10;bottom:18px;left:50%;transform:translateX(-50%);padding:12px 16px;background:var(--green-dark);color:white;border-radius:10px;font-size:12px;box-shadow:var(--shadow)}
    .error-banner{background:#8c342e;max-width:min(640px,calc(100vw - 24px));line-height:1.5}


    .category-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid #e1e6e4;
    border-bottom: 1px solid #e1e6e4;
    }

    .category-card-stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    }

    .category-card-stats > div strong {
    font-size: 1rem;
    line-height: 1.2;
    }

    .category-card-stats > div span {
    font-size: 0.78rem;
    color: #64716d;
    }

    

    .category-card-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        }

    .category-title {
        margin: 0;
        min-width: 0;
        }

    .category-arrow {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    }

    .copy-link {
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
    }
 

    .filter-group {
    min-width: 0;
    }

    .filter-group-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 650;
    }

    .filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    }


    .filter-dropdown-content .filter-option {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        width: 100%;
        padding: 7px 3px;
        margin: 0;
        font-size: 12px;
        font-weight: 400;
        cursor: pointer;
    }

    .filter-dropdown-content .filter-option input[type="checkbox"] {
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
        margin: 0;
        accent-color: var(--green);
    }

    .filter-dropdown-content .filter-option span {
        flex: 1;
        text-align: left;
    }
    
    .filter-option-divider {
    border-top: 1px solid var(--line);
    margin: 6px 0;
    }

    .filter-option-divider {
    border-top: 1px solid var(--line);
    margin: 6px 0;
    }

    .sort-filter {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    align-items: right;
    gap: 8px;
    }

    .sort-filter .filter-dropdown-content {
        width: fit-content;
        min-width: max-content;
        }
    

    .filter-dropdown summary::-webkit-details-marker {
    display: none;
    }

    .filter-dropdown summary::after {
    content: "▾";
    color: var(--muted);
    }

    .filter-dropdown[open] summary::after {
    content: "▴";
    }

    .filter-count {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    }

    .filter-dropdown-content {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    }


    .filter-option input {
    accent-color: var(--accent);
    }

    .filter-dropdown-content select {
    width: 100%;
    }
     

    @media (max-width: 700px) {
    
    

            .toast-notification {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 9999;
            padding: 12px 18px;
            background: #263b3a;
            color: white;
            border-radius: 6px;
            font-size: 0.9rem;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
            animation: toast-fade 2s ease forwards;
            }
            .filters {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            align-items: start;
            }

    }
 

@keyframes toast-fade {
0%, 75% { opacity: 1; }
100% { opacity: 0; }
}

@media(max-width:1000px){
    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .query-label{grid-column:span 3}
    .category-grid{grid-template-columns:repeat(2,1fr)}
}
    
@media(max-width:720px){.site-header{height:auto;min-height:70px;padding:12px 18px;align-items:flex-start}.site-header nav{gap:12px;flex-wrap:wrap;justify-content:flex-end;font-size:11px}.brand-mark{width:37px;height:37px}.brand b{font-size:13px}
.intro{padding:32px 25px;min-height:280px}
.intro-mark{display:none}
.catalog-stats{grid-template-columns:repeat(2,1fr)}.catalog-stats div:nth-child(2){border-right:0}.catalog-stats div:nth-child(-n+2){border-bottom:1px solid var(--line)}.filters{grid-template-columns:repeat(2,1fr)}.query-label{grid-column:span 2}.category-grid{grid-template-columns:1fr}.detail-layout{grid-template-columns:1fr}.map-wrap{height:290px}.metadata-list{grid-template-columns:120px 1fr}.asset-filters{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.results-grid{grid-template-columns:1fr}.detail-title-row{flex-direction:column}.assets-section{padding:18px}.asset-row{grid-template-columns:30px 1fr}.open-asset{grid-column:2;width:max-content}.category-metrics{gap:12px;flex-wrap:wrap}
footer{flex-direction:column; align-items: flex-start; gap:5px;}main{padding:0 16px 38px}}

@media(max-width:430px){
    .filters {
        grid-template-columns: 1fr;
    }
    .site-header{flex-direction:column;gap:10px}
    .site-header nav{justify-content:flex-start}
    .filters{grid-template-columns:1fr}
    .query-label{grid-column:span 1}
    .intro{margin-top:20px}
    .search-panel{padding:18px}
    .metadata-list{grid-template-columns:1fr}
    .metadata-list dt{border-bottom:0;padding-bottom:0}.metadata-list dd{border-top:0;padding-top:4px}.catalog-stats div{padding:15px}.asset-row{gap:9px}}


