/* Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */
/* Shared Heritage presentation for product reference maps and searchable libraries. */
.heritage-panel-library {
    min-width:0;
}
.heritage-panel-library .psm-section {
    margin:0;
}
.heritage-panel-library .psm-header {
    text-align:left;
    margin-bottom:18px;
}
.heritage-panel-library .psm-title {
    font-family:var(--hd-serif);
    font-weight:500;
    font-size:1.8rem;
    color:#213a2f;
}
.heritage-panel-library .psm-subtitle {
    max-width:900px;
    margin:0;
    font-size:14px;
    line-height:1.8;
    color:#5d6259;
    opacity:1;
}
.heritage-panel-library .psm-map-shell {
    border:1px solid #d6c7ad;
    border-radius:12px;
    box-shadow:none;
}
.heritage-panel-library .psm-map {
    height:480px;
    background:#e5ece5;
}
.heritage-panel-library .psm-transparency-note {
    text-align:left;
    color:#5d6259;
    opacity:1;
    line-height:1.8;
}
.heritage-panel-library .psm-transparency-badge {
    color:#705325;
    background:#e8dcc4;
}
.heritage-panel-library .psm-map-cluster-core {
    background:#213a2f;
    color:#fff;
    box-shadow:0 2px 5px #213a2f30;
}
.heritage-panel-library .psm-table-shell {
    background:#fff;
    border:1px solid #d6c7ad;
    border-radius:12px;
    padding:24px;
}
.heritage-panel-library .psm-table-heading {
    font:500 1.55rem/1.2 var(--hd-serif);
    color:#213a2f;
}
.heritage-panel-library .psm-table-search {
    min-height:46px;
    border:1px solid #bfb39c;
    border-radius:6px;
    color:#213a2f;
    background:#faf8f4;
    font-size:14px;
}
.heritage-panel-library .psm-table-search:focus-visible,.heritage-panel-library .psm-table-page-btn:focus-visible {
    outline:3px solid #85612d;
    outline-offset:3px;
    box-shadow:none;
}
.heritage-panel-library .psm-table-scroll {
    max-width:100%;
    border-color:#e1d8c8;
}
.heritage-panel-library .psm-table {
    min-width:800px;
    font:400 14px/1.65 var(--hd-sans);
    color:#213a2f;
}
.heritage-panel-library .psm-table thead th {
    background:#efe6d6;
    color:#213a2f;
    opacity:1;
    font-size:11px;
    padding:14px 16px;
    border-color:#d6c7ad;
}
.heritage-panel-library .psm-table-cell {
    padding:14px 16px;
    border-color:#e7e0d3;
}
.heritage-panel-library .psm-table-cell-name {
    min-width:270px;
}
.heritage-panel-library .psm-table-row:focus-visible {
    outline:2px solid #85612d;
    outline-offset:-3px;
    background:#f3eee4;
}
.heritage-panel-library .psm-table-row:hover {
    background:#f7f4ee;
}
.heritage-panel-library .psm-table-portrait {
    border-radius:8px;
    border:1px solid #d6c7ad;
    box-shadow:none;
}
.heritage-panel-library .psm-table-page-btn {
    min-height:44px;
    border-radius:6px;
    border-color:#bfb39c;
    color:#213a2f;
    padding:8px 16px;
}
.heritage-panel-library .psm-table-page-status,.heritage-panel-library .psm-table-portrait-notice {
    color:#5d6259;
    opacity:1;
}
.heritage-panel-library .psm-table-portrait-notice {
    text-align:left;
    line-height:1.8;
}
.heritage-panel-library .psm-table-pagination {
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
}


@media (max-width: 767px) {
    .heritage-panel-library .psm-map {
        height:340px;
    }
    .heritage-panel-library .psm-table-shell {
        padding:16px;
    }
    .heritage-panel-library .psm-table-search-wrap {
        min-width:0;
        width:100%;
        max-width:none;
    }
    .heritage-panel-library .psm-table-col-optional {
        display:table-cell;
    }
    .heritage-panel-library .psm-table-page-status {
        white-space:normal;
        font-size:12px;
        order:3;
        flex-basis:100%;
        text-align:center;
    }
    .heritage-panel-library .psm-table-page-btn {
        padding:8px 12px;
    }
}
