/* ========== LocalEconomicOverview.vue ========== */
.led-page {
    padding: 20px 7%;
}

.led-shell {
    display: flex;
    min-height: 840px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #F3F6FA;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    color: #142D47;
}

.led-sidebar {
    width: 230px;
    flex-shrink: 0;
    background: #FFFFFF;
    border-right: 1px solid #DDE5EC;
    padding: 1.5rem 1.1rem;
    display: flex;
    flex-direction: column;
}

.led-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 1.75rem;
    padding: 0 6px;
}

.led-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #204990;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.led-brand-text {
    line-height: 1.15;
}

.led-brand-tag {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #204990;
}

.led-brand-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.led-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.led-nav-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14.5px;
    color: #52657A;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.led-nav-btn.active {
    background: #EAF1FB;
    color: #204990;
    font-weight: 600;
}

.led-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #204990;
    background: #204990;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.led-profile-btn:hover:not(:disabled) {
    background: #102F50;
    border-color: #102F50;
}

.led-profile-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.led-nav-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.led-source {
    margin-top: auto;
    padding: 12px 6px;
    font-size: 13px;
    color: #52657A;
    line-height: 1.6;
}

.led-content {
    flex: 1 1 0%;
    min-width: 0;
    padding: 1.75rem 2.1rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.led-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
    gap: 12px;
}

.led-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.led-topbar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.led-select {
    border: 1px solid #7B8DA3;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 14.5px;
    background: white;
}

.led-modal-method {
    display: inline-block;
    margin: 0 0 10px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #EAF1FB;
    color: #204990;
    font-size: 12.5px;
    font-weight: 600;
}

.led-year {
    font-size: 14.5px;
    color: #52657A;
    border: 1px solid #7B8DA3;
    border-radius: 8px;
    padding: 7px 11px;
    background: white;
}

.led-host {
    min-width: 0;
}

/* "?" button under the Pregled gauge — opens the IEA methodology modal. */
/* ---- IEA methodology modal ---- */
.led-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(20, 45, 71, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    z-index: 1050;
}

.led-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(20, 45, 71, 0.24);
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    color: #142D47;
}

.led-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1.2rem 1.45rem 0.9rem;
    border-bottom: 1px solid #DDE5EC;
}

.led-modal-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0;
}

.led-modal-close {
    border: none;
    background: transparent;
    color: #52657A;
    font-size: 26px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}

.led-modal-close:hover {
    color: #52657A;
}

.led-modal-body {
    padding: 1.1rem 1.45rem;
    overflow-y: auto;
}

.led-modal-intro {
    font-size: 14.5px;
    color: #52657A;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.led-iea-comp {
    border-top: 1px solid #DDE5EC;
    padding: 10px 0;
}

.led-iea-comp-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.led-iea-comp-name {
    font-size: 16px;
    font-weight: 600;
}

.led-iea-comp-weight {
    font-size: 13.5px;
    font-weight: 600;
    color: #204990;
    background: #EAF1FB;
    border-radius: 12px;
    padding: 2px 9px;
    white-space: nowrap;
}

.led-iea-comp-desc {
    font-size: 14.5px;
    color: #52657A;
    line-height: 1.65;
    margin: 4px 0 5px;
}

.led-iea-comp-formula {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13.5px;
    color: #142D47;
    background: #F3F6FA;
    border: 1px solid #DDE5EC;
    border-radius: 7px;
    padding: 6px 9px;
    margin: 0;
    overflow-x: auto;
}

.led-modal-note {
    font-size: 14px;
    color: #52657A;
    line-height: 1.7;
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid #DDE5EC;
}

.led-modal-foot {
    display: flex;
    justify-content: flex-end;
    padding: 0.9rem 1.45rem 1.2rem;
    border-top: 1px solid #DDE5EC;
}

.led-modal-btn {
    border: 1px solid #204990;
    background: #204990;
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 15px;
    cursor: pointer;
}

.led-modal-btn:hover {
    background: #102F50;
    border-color: #102F50;
}

.led-state {
    padding: 3rem 1rem;
    text-align: center;
    font-size: 16px;
    color: #52657A;
}

.led-state-error {
    color: #B42318;
}

@media only screen and (max-width: 768px) {
    .led-page {
        padding: 10px 3%;
    }

    .led-shell {
        flex-direction: column;
    }

    .led-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .led-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .led-source {
        display: none;
    }

    .led-title {
        font-size: 32px;
    }
}

/* ========== PregledTab.vue [scoped] ========== */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.pr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    margin-bottom: 1.4rem;
}

.pr-header {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: white;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.6rem 1.2rem;
}

/* Row 1: icon + municipality name and subtitle. */
.pr-header-top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #DDE5EC;
}

.pr-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EAF1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pr-min {
    min-width: 0;
}

.pr-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
}

.pr-subtitle {
    max-width: 560px;
    font-size: 14.5px;
    color: #52657A;
    margin: 0;
    line-height: 1.5;
}

/* Row 2: the gauge (unchanged) and the comparison sentence beside it. */
.pr-header-body {
    flex: 1;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: center;
    padding-top: 1rem;
}

.pr-gauge-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.pr-gauge-col .led-gauge {
    max-width: 170px;
}

.pr-gauge-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #52657A;
    line-height: 1.35;
    margin: 2px 0 0;
}

.pr-method-chip {
    margin-top: 6px;
    padding: 2px 9px;
    border-radius: 20px;
    background: #EAF1FB;
    color: #204990;
    font-size: 12px;
    font-weight: 600;
}

.pr-status {
    min-width: 0;
}

.pr-status-text {
    font-size: 14.5px;
    color: #142D47;
    line-height: 1.6;
    margin: 0 0 6px;
}

.pr-status-up {
    color: #18794E;
    font-weight: 600;
}

.pr-status-down {
    color: #B42318;
    font-weight: 600;
}

.pr-status-num {
    color: #52657A;
}

.pr-help-link {
    padding: 0;
    border: 0;
    background: none;
    color: #204990;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pr-help-link:hover,
.pr-help-link:focus {
    text-decoration: underline;
    outline: none;
}

.pr-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
    min-width: 0;
}

.pr-kpi-card {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
    gap: 14px;
    padding: 1.1rem 1.2rem;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(20, 45, 71, 0.04), 0 10px 24px -18px rgba(20, 45, 71, 0.2);
}

.pr-kpi-card .pr-kpi-icon {
    /* top edge level with the top of the number */
    margin-top: 5px;
}

.pr-kpi-body {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.pr-kpi-card .pr-kpi-label {
    margin-bottom: 8px;
}

.pr-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.pr-kpi-icon svg {
    width: 21px;
    height: 21px;
}

.pr-kpi-label {
    font-size: 14.5px;
    font-weight: 600;
    color: #52657A;
    margin: 4px 0 0;
}

.pr-kpi-value {
    font-size: 26px;
    white-space: nowrap;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
}

.pr-kpi-unit {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    margin-left: 5px;
}

.pr-kpi-firms .pr-kpi-icon {
    background: #204990;
}

.pr-kpi-firms .pr-kpi-value {
    color: #204990;
}

.pr-kpi-revenue .pr-kpi-icon {
    background: #0C7C86;
}

.pr-kpi-revenue .pr-kpi-value {
    color: #0C7C86;
}

.pr-kpi-employees .pr-kpi-icon {
    background: #7656A5;
}

.pr-kpi-employees .pr-kpi-value {
    color: #7656A5;
}

.pr-kpi-export .pr-kpi-icon {
    background: #985400;
}

.pr-kpi-export .pr-kpi-value {
    color: #985400;
}

.pr-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.pr-up {
    color: #18794E;
    background: #E8F5ED;
}

.pr-down {
    color: #B42318;
    background: #FDECE9;
}

.pr-trend-none {
    color: #52657A;
    background: #F3F6FA;
    cursor: help;
}

.pr-trend-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
}

.pr-trend-ref {
    font-size: 13px;
    font-weight: 600;
    color: #52657A;
}

.pr-mid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}

.pr-map-card {
    background: white;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.2rem 1.35rem;
    min-width: 0;
    margin-bottom: 1.4rem;
}

.pr-map-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.pr-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0;
}

.pr-card-title.pr-mb4 {
    margin-bottom: 4px;
}

.pr-card-title.pr-mb10 {
    margin-bottom: 10px;
}

.pr-card-title.pr-mb12 {
    margin-bottom: 12px;
}

.pr-info-tip {
    margin-left: auto;
    flex-shrink: 0;
}

.pr-card-sub {
    font-size: 14.5px;
    color: #52657A;
}

.pr-map-wrap {
    position: relative;
}

.pr-map {
    position: relative;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.pr-legend {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 215px;
    padding: 9px 14px 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    box-shadow: 0 8px 20px -10px rgba(20, 45, 71, 0.3);
    font-size: 13px;
    font-weight: 600;
    color: #52657A;
}

.pr-ramp {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #B6CDEB, #7FA3D6 33%, #4A78B8 66%, #204990);
}

.pr-insights {
    font-size: 16.5px;
    color: #52657A;
    line-height: 1.75;
}

/* Each insight is one bullet; wrapped lines hang under the text, not the dot. */
.pr-insights p {
    position: relative;
    margin: 0 0 11px;
    padding-left: 18px;
}

.pr-insights p::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.73em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7B8DA3;
}

.pr-insights p.pr-last {
    margin-bottom: 0;
}

.pr-street-card {
    display: flex;
    flex-direction: column;
}

.pr-street-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.3;
}

.pr-street-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: 15.5px;
    margin-top: auto;
}

.pr-muted {
    font-weight: 600;
    color: #52657A;
    margin: 0;
}

.pr-strong {
    font-size: 22px;
    font-weight: 800;
    margin: 3px 0 0;
    line-height: 1.2;
}

.pr-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.pr-sector {
    margin-bottom: 9px;
}

.pr-sector-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 15.5px;
    font-weight: 600;
    color: #52657A;
    margin-bottom: 4px;
}

.pr-sector-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pr-sector-pct {
    font-weight: 600;
    flex-shrink: 0;
}

.pr-track {
    height: 7px;
    background: #F3F6FA;
    border-radius: 4px;
}

.pr-fill {
    height: 100%;
    background: #204990;
    border-radius: 4px;
}

.pr-rest {
    font-size: 14px;
    color: #52657A;
    margin-top: 8px;
}

.pr-compare-label {
    font-size: 15px;
    color: #52657A;
    margin: 0 0 4px;
}

.pr-compare-group {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 8px;
    margin-bottom: 18px;
}

.pr-compare-group:last-child {
    margin-bottom: 0;
}

.pr-compare-group .pr-compare-label {
    grid-column: 1 / -1;
}

.pr-compare-row {
    display: contents;
}

.pr-compare-name {
    max-width: 130px;
    font-size: 13.5px;
    color: #52657A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-compare-track {
    position: relative;
    height: 9px;
    background: #F3F6FA;
    border-radius: 5px;
    overflow: hidden;
}

.pr-compare-bar {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 5px;
    background: #204990;
}

.pr-compare-bar.pr-compare-bar-alt {
    background: #7B8DA3;
}

.pr-compare-val {
    min-width: 3.2em;
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pr-compare-row-alt .pr-compare-val {
    color: #52657A;
}

@media only screen and (max-width: 1400px) {
    .pr-header-body {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 1.2rem;
    }

    .pr-kpi-value {
        font-size: 23px;
    }
}

/* Medium widths: the cards are too narrow for the icon beside the text, so it moves above it. */
@media only screen and (min-width: 1201px) and (max-width: 1440px) {
    .pr-kpi-card {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        padding: 1rem 1.1rem;
    }

    .pr-kpi-card .pr-kpi-icon {
        margin-top: 0;
    }

    .pr-kpi-body {
        flex: 0 0 auto;
    }

    .pr-kpi-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .pr-kpi-icon svg {
        width: 18px;
        height: 18px;
    }

    .pr-kpi-value {
        font-size: 22px;
    }

    .pr-kpi-unit {
        font-size: 13px;
        margin-left: 4px;
    }

    .pr-kpi-label {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1200px) {
    .pr-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* phones: one KPI card per row so numbers and labels are not cut */
@media only screen and (max-width: 600px) {
    .pr-kpis {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media only screen and (max-width: 900px) {
    .pr-mid,
    .pr-bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-header-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
        text-align: center;
    }

    .pr-map {
        height: 320px;
    }
}

.pr-bottom .led-card {
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 1px 2px rgba(20, 45, 71, 0.04), 0 10px 24px -16px rgba(20, 45, 71, 0.18);
}

.pr-bottom .pr-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
}

.pr-bottom .pr-card-title.pr-mb12 {
    margin-bottom: 16px;
}

.pr-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #EAF1FB;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.pr-title-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-trend-sub {
    margin: 0 0 14px 37px;
    font-size: 14px;
    color: #52657A;
}

.pr-bottom .pr-sector {
    margin-bottom: 13px;
}

.pr-bottom .pr-sector-head {
    color: #142D47;
    margin-bottom: 7px;
}

.pr-bottom .pr-sector-name b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    border-radius: 50%;
    background: #204990;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    vertical-align: middle;
}

.pr-bottom .pr-sector-pct {
    font-size: 16px;
    font-weight: 600;
    color: #204990;
}

.pr-bottom .pr-track,
.pr-bottom .pr-compare-track {
    height: 8px;
    background: #F3F6FA;
    border-radius: 999px;
}

.pr-bottom .pr-fill,
.pr-bottom .pr-compare-bar {
    background: #204990;
    border-radius: 999px;
}

.pr-bottom .pr-compare-bar.pr-compare-bar-alt {
    background: #DDE5EC;
}

/* negative values grow left of the zero line */
.pr-bottom .pr-compare-bar.pr-compare-bar-neg {
    background: #B42318;
}

.pr-bottom .pr-compare-bar.pr-compare-bar-alt.pr-compare-bar-neg {
    background: rgba(180, 35, 24, 0.4);
}

.pr-compare-zero {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 2px;
    margin-left: -1px;
    background: #7B8DA3;
    z-index: 1;
}

.pr-bottom .pr-rest {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #F3F6FA;
}

.pr-bottom .pr-compare-label {
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    margin-bottom: 6px;
}

/* ========== PregledTab.vue [global] ========== */
.led-map-area.leaflet-container {
    background: #EAF1FB;
    font: inherit;
    cursor: grab;
}

/* Desaturated, cooled-down tiles, so the coloured streets and pins carry the
   map rather than competing with it. */
.led-map-area .leaflet-tile-pane {
    filter: grayscale(1) sepia(0.42) hue-rotate(176deg) saturate(0.6) brightness(1.16) contrast(0.86);
}

/* The wide, blurred copy drawn underneath each street line. */
.led-map-area .led-street-glow {
    filter: blur(5px);
}

.led-map-area .leaflet-control-zoom {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px -10px rgba(20, 45, 71, 0.35);
}

.led-map-area .leaflet-control-zoom a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: #fff;
    color: #142D47;
    border-bottom: 1px solid #F3F6FA;
}

.led-map-area .leaflet-control-zoom a:last-child {
    border-bottom: none;
}

.led-map-area .leaflet-control-zoom a:hover {
    background: #F3F6FA;
    color: #142D47;
}

.led-map-area .leaflet-control-attribution {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.7);
}

.led-map-area .leaflet-tooltip {
    font-size: 13px;
    font-weight: 600;
    color: #142D47;
}

.led-map-area .led-bubble-wrap {
    background: transparent;
    border: none;
}

/* The fill and the tinted halo are set per pin, in the marker's own style
   attribute, because both are derived from that pin's heat colour. What stays
   here is only what every pin shares. */
.led-map-area .led-bubble {
    border: 3px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 120ms ease;
}

.led-map-area .led-bubble:hover {
    transform: scale(1.08);
}

/* ========== FinansijskaTab.vue ========== */
/* Mirrors the card() helper the remaining innerHTML tabs still use. */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

/* 8 tiles: 4 per row on wide screens, 2 per row below that, so no row is left short. */
.fin-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 1.4rem;
}

.fin-tiles .led-card {
    padding: 1.15rem 1.2rem;
}

@media (max-width: 1500px) {
    .fin-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .fin-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fin-tile-label {
    font-size: 15.5px;
    font-weight: 600;
    color: #52657A;
    margin: 0 0 8px;
}

.fin-tile-value {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.fin-tile-unit {
    font-weight: 600;
}

/* Value and sparkline share one line. The sparkline shrinks from 96px down to 48px to
   stay beside the value, and only wraps under it when even that does not fit. */
.fin-tile-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}

.fin-tile-main .fin-tile-value {
    white-space: nowrap;
}

.fin-tile-spark {
    flex: 1 1 48px;
    max-width: 96px;
}

.fin-tile-change {
    min-height: 18px;
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #142D47;
}

.fin-tile-change-ref {
    font-weight: 600;
    color: #52657A;
}

.fin-change-up {
    color: #18794E;
}

.fin-change-down {
    color: #B42318;
}

.fin-change-flat {
    color: #52657A;
}

.fin-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

/* Section header matches Struktura bilansa: title left, note right. */
.fin-section {
    margin-bottom: 1.4rem;
}

.fin-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 12px;
}

.fin-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0;
}

.fin-section-note {
    font-size: 13px;
    color: #52657A;
}

.fin-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.fin-group {
    display: flex;
    flex-direction: column;
}

.fin-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #142D47;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 8px;
}

.fin-group-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fin-group-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #DDE5EC;
}

.fin-group-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.fin-metric-label {
    font-size: 14px;
    color: #52657A;
    min-width: 0;
}

.fin-metric-value {
    font-size: 15.5px;
    font-weight: 600;
    color: #142D47;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .fin-groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========== SektoriTab.vue ========== */
/* Mirrors the card() helper the remaining innerHTML tabs still use. */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.sek-empty-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px;
}

.sek-empty-text {
    font-size: 14.5px;
    color: #52657A;
    margin: 0;
}

/* label column + one fixed-width select column: the oblast select sits right under the
   activity select with the same width, instead of wrapping wherever the row runs out */
.sek-select-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 640px);
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 1.2rem;
}

.sek-select-label {
    font-size: 13px;
    font-weight: 600;
    color: #52657A;
}

.sek-select {
    width: 100%;
    min-width: 0;
    border: 1px solid #DDE5EC;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14.5px;
    background: #fff;
    color: #142D47;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .sek-select-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

.sek-detail,
.sek-combo,
.sek-gap-b {
    margin-bottom: 1.4rem;
}

.sek-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.sek-card-title.sek-tight {
    margin-bottom: 4px;
}

.sek-card-sub {
    font-size: 14px;
    color: #52657A;
    margin: 0 0 10px;
}

.sek-detail-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sek-nkd-badge {
    padding: 3px 9px;
    border-radius: 6px;
    background: #EAF1FB;
    color: #204990;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sek-detail-name {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0;
}

.sek-detail-sub {
    margin: 6px 0 16px;
}

.sek-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.sek-stat {
    background: #F3F6FA;
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sek-stat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.sek-stat-label {
    font-size: 14.5px;
    line-height: 1.3;
    min-height: 2.6em;
    color: #52657A;
    margin: 0 0 4px;
}

.sek-stat-badge {
    flex: 0 0 auto;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sek-stat-badge-share {
    background: #EAF1FB;
    color: #204990;
}

.sek-stat-badge-above {
    background: #E8F5ED;
    color: #18794E;
}

.sek-stat-badge-below {
    background: #FDECE9;
    color: #B42318;
}

.sek-stat-badge-within {
    background: #DDE5EC;
    color: #52657A;
}

.sek-stat-value {
    flex: 0 0 auto;
    max-width: 100%;
    font-size: 19px;
    font-weight: 800;
    color: #142D47;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.sek-stat-foot {
    margin-top: auto;
    padding-top: 10px;
}

.sek-stat-track {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: #DDE5EC;
    overflow: hidden;
    margin-bottom: 6px;
}

.sek-stat-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: #204990;
}

.sek-stat-foot-text {
    font-size: 12.5px;
    color: #52657A;
    font-variant-numeric: tabular-nums;
}

.sek-cmp {
    margin-bottom: 1.4rem;
}

.sek-cmp-empty {
    font-size: 14px;
    color: #52657A;
    margin: 0;
}

.sek-cmp-summary {
    max-width: 640px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #142D47;
    margin: 4px 0 18px;
}

.sek-cmp-metric + .sek-cmp-metric {
    margin-top: 18px;
}

.sek-cmp-metric-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.sek-cmp-metric-title {
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    margin: 0;
}

.sek-cmp-badge {
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.sek-cmp-badge-above {
    background: #E8F5ED;
    color: #18794E;
}

.sek-cmp-badge-below {
    background: #FDECE9;
    color: #B42318;
}

.sek-cmp-badge-within {
    background: #F3F6FA;
    color: #52657A;
}

.sek-cmp-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 110px;
    align-items: center;
    column-gap: 12px;
    padding: 4px 0;
    font-size: 13.5px;
}

.sek-cmp-row-label {
    color: #52657A;
}

.sek-cmp-track {
    position: relative;
    display: block;
    height: 7px;
    border-radius: 999px;
    background: #F3F6FA;
    overflow: hidden;
}

.sek-cmp-fill {
    position: absolute;
    top: 0;
    display: block;
    height: 100%;
    border-radius: 999px;
}

.sek-cmp-fill-local {
    background: #204990;
}

.sek-cmp-fill-base {
    background: #7B8DA3;
}

/* negative values grow left of the zero line */
.sek-cmp-fill-local.sek-cmp-fill-neg {
    background: #B42318;
}

.sek-cmp-fill-base.sek-cmp-fill-neg {
    background: rgba(180, 35, 24, 0.4);
}

.sek-cmp-zero {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: #7B8DA3;
    z-index: 1;
}

.sek-cmp-row-value {
    text-align: right;
    font-weight: 600;
    color: #142D47;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .sek-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sek-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .sek-cmp-row {
        grid-template-columns: 76px minmax(0, 1fr) 96px;
        column-gap: 8px;
    }
}

.sek-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.4rem;
}

.sek-two-col.sek-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* narrow screens: the two charts stack instead of squeezing side by side */
@media (max-width: 900px) {
    .sek-two-col,
    .sek-two-col.sek-even {
        grid-template-columns: minmax(0, 1fr);
    }
}

.sek-treemap {
    position: relative;
    height: 340px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.sek-treemap-cell {
    position: absolute;
    border: 1.5px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sek-treemap-cell-dim {
    opacity: 0.26;
}

.sek-treemap-cell-hl {
    border-width: 2.5px;
    box-shadow: 0 6px 18px rgba(20, 45, 71, 0.3);
    z-index: 2;
}

.sek-treemap-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    font-size: 13.5px;
}

.sek-treemap-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
}

.sek-treemap-legend-rest {
    flex-basis: 100%;
}

.sek-treemap-legend-hl {
    font-weight: 600;
    color: #204990;
}

.sek-treemap-legend-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.sek-treemap-legend-label {
    color: #142D47;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sek-treemap-legend-pct {
    color: #142D47;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sek-treemap-label {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(20, 45, 71, 0.35);
    text-align: center;
    line-height: 1.3;
}

.sek-bm-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 2rem 0 1rem;
}

.sek-bm-title {
    font-size: 22px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}

.sek-bm-sub {
    font-size: 14px;
    color: #52657A;
    margin: 0;
}

.sek-bm-pill {
    flex: 0 0 auto;
    padding: 5px 14px;
    border: 1px solid #DDE5EC;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: #142D47;
    white-space: nowrap;
}

.sek-bm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.sek-bm-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    min-width: 0;
}

.sek-bm-table-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sek-bm-chart-card {
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
}

.sek-bm-chart-card .led-chart {
    flex: 1 1 auto;
}

.sek-bm-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #142D47;
    margin: 0 0 3px;
}

.sek-bm-card-sub {
    font-size: 13px;
    color: #52657A;
    margin: 0 0 12px;
}

.sek-bm-scroll {
    max-height: 600px;
    overflow: auto;
}

.sek-bm-table {
    width: 100%;
    min-width: 340px;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 14px;
}

.sek-bm-table.sek-bm-table-wide {
    min-width: 640px;
}

.sek-bm-table th.sek-bm-sector-col {
    width: 104px;
}

.sek-bm-table.sek-bm-table-wide th.sek-bm-sector-col {
    width: 104px;
}

.sek-bm-table.sek-bm-table-wide th.sek-bm-num {
    width: 84px;
}

/* long title: wraps onto several lines instead of being cut off */
.sek-bm-table.sek-bm-table-wide th.sek-bm-num.sek-bm-num-wide {
    width: 150px;
    white-space: normal;
    line-height: 1.35;
}

.sek-bm-table.sek-bm-table-wide th.sek-bm-num:nth-child(5) {
    width: 104px;
}

.sek-bm-table.sek-bm-table-wide th.sek-bm-num:nth-child(6) {
    width: 112px;
}

.sek-bm-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    padding: 12px 14px;
    border-bottom: 1px solid #DDE5EC;
    font-size: 11.5px;
    font-weight: 600;
    color: #52657A;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sek-bm-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #F3F6FA;
    color: #142D47;
}

.sek-bm-sector {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sek-bm-sector b {
    color: #142D47;
}

.sek-bm-table th.sek-bm-num,
.sek-bm-num {
    width: 100px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sek-bm-table th.sek-bm-num.sek-bm-num-wide,
.sek-bm-num.sek-bm-num-wide {
    width: 170px;
}

td.sek-bm-num {
    font-weight: 600;
    color: #142D47;
}

.sek-bm-avg td {
    position: sticky;
    bottom: 0;
    background: #F3F6FA;
    border-bottom: 0;
    border-top: 1px solid #DDE5EC;
    font-weight: 600;
    color: #142D47;
}

.sek-bm-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.sek-bm-dot-above {
    background: #18794E;
}

.sek-bm-dot-below {
    background: #7B8DA3;
}

.sek-bm-dot-negative {
    background: #B42318;
}

.sek-bm-row-hl {
    background: linear-gradient(90deg, rgba(32, 73, 144, 0.09), rgba(32, 73, 144, 0.02));
}

.sek-bm-row-hl td {
    color: #142D47;
    font-weight: 600;
}

.sek-bm-row-hl td:first-child b {
    color: #204990;
}

.sek-bm-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
    font-size: 12.5px;
    color: #52657A;
}

.sek-bm-legend span {
    display: inline-flex;
    align-items: center;
}

.sek-bm-legend-foot {
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #DDE5EC;
    color: #52657A;
}

.sek-bm-sq {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: 6px;
}

.sek-bm-sq-above {
    background: #18794E;
}

.sek-bm-sq-below {
    background: #7B8DA3;
}

.sek-bm-sq-negative {
    background: #B42318;
}

.sek-bm-sq-hl {
    background: #fff;
    box-shadow: 0 0 0 1px #DDE5EC, 0 2px 6px rgba(20, 45, 71, 0.38);
    width: 10px;
    height: 10px;
}

.sek-bm-sq-roa {
    background: #B6CDEB;
}

.sek-bm-sq-roe {
    background: #204990;
}

.sek-bm-dash {
    display: inline-block;
    width: 16px;
    margin-right: 6px;
    border-top: 1.5px dashed #4A78B8;
}

@media (max-width: 1100px) {
    .sek-bm-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .sek-bm-head {
        flex-direction: column;
    }
}

/* data protection notice: a letter or oblast with too few firms is not shown */
.sek-protected {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #F3F6FA;
    border: 1px dashed #7B8DA3;
    font-size: 14.5px;
    line-height: 1.55;
    color: #52657A;
}

.sek-protected::before {
    content: '🔒';
    flex: 0 0 auto;
}

.sek-div-scroll {
    max-height: 520px;
    overflow: auto;
}

.sek-div-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
}

.sek-div-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    padding: 10px 12px;
    border-bottom: 1px solid #DDE5EC;
    font-size: 11.5px;
    font-weight: 600;
    color: #52657A;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sek-div-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #F3F6FA;
    color: #142D47;
}

.sek-div-table th.sek-div-code-col {
    width: 70px;
}

.sek-div-row {
    cursor: pointer;
}

.sek-div-row:hover td {
    background: #F3F6FA;
}

.sek-div-row:focus {
    outline: 2px solid #B6CDEB;
    outline-offset: -2px;
}

.sek-div-code b {
    color: #142D47;
}

.sek-div-name {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sek-div-table th.sek-div-num,
.sek-div-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

td.sek-div-num {
    font-weight: 600;
    color: #142D47;
}

.sek-div-protected-cell {
    color: #52657A;
    font-style: italic;
}

.sek-div-row-hl td {
    background: rgba(32, 73, 144, 0.07);
}

.sek-div-row-hl .sek-div-code b {
    color: #204990;
}

/* ========== VelicinaTab.vue ========== */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.vel-gap {
    margin-bottom: 1.4rem;
}

.vel-subtitle {
    font-size: 14px;
    color: #52657A;
    margin: -0.6rem 0 1.1rem;
}

.vel-empty {
    font-size: 15px;
    color: #52657A;
    margin: 0;
}

/* ---- class cards ---- */
.vel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.vel-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    min-width: 0;
}

.vel-card-head {
    display: flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: #142D47;
    margin: 0 0 8px;
}

.vel-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    margin-right: 8px;
    flex: 0 0 auto;
}

.vel-card-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 10px;
}

.vel-card-main b {
    font-size: 30px;
    font-weight: 800;
    color: #204990;
    line-height: 1;
}

.vel-card-main span {
    font-size: 13px;
    color: #52657A;
}

.vel-card-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13.5px;
    color: #52657A;
    margin: 0 0 4px;
}

.vel-card-row b {
    color: #142D47;
    font-variant-numeric: tabular-nums;
}

.vel-pill {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.vel-pill-up {
    background: #E8F5ED;
    color: #18794E;
}

.vel-pill-down {
    background: #FDECE9;
    color: #B42318;
}

.vel-pill-flat {
    background: #DDE5EC;
    color: #52657A;
}

/* ---- titles, notes ---- */
.vel-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.vel-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    margin: 0 0 4px;
}

.vel-sub {
    font-size: 14px;
    color: #52657A;
    margin: 0 0 14px;
}

.vel-note {
    font-size: 12.5px;
    color: #52657A;
    margin: 10px 0 0;
}

.vel-note-tight {
    margin: -0.8rem 0 1.2rem;
}

.vel-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #52657A;
}

.vel-sq {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: -1px;
}

/* ---- composition bars ---- */
.vel-bar-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.vel-bar-label {
    font-size: 14px;
    color: #142D47;
}

.vel-bar {
    display: flex;
    height: 24px;
    border-radius: 7px;
    overflow: hidden;
    background: #F3F6FA;
}

.vel-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.vel-insight {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #EAF1FB;
    font-size: 14px;
    line-height: 1.6;
    color: #142D47;
}

/* ---- tables ---- */
.vel-scroll {
    overflow-x: auto;
}

.vel-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 14px;
}

.vel-table th {
    padding: 10px 12px;
    border-bottom: 1px solid #DDE5EC;
    font-size: 11.5px;
    font-weight: 600;
    color: #52657A;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.vel-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #F3F6FA;
    color: #142D47;
    vertical-align: middle;
}

.vel-table th.vel-num,
.vel-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.vel-num-last {
    font-weight: 600;
    color: #142D47;
}

.vel-perf-value {
    display: block;
    font-weight: 600;
    color: #142D47;
}

.vel-perf-fbih {
    display: block;
    font-size: 11.5px;
    color: #52657A;
}

.vel-arrow-above,
.vel-up {
    color: #18794E;
    font-style: normal;
}

.vel-arrow-below,
.vel-down {
    color: #B42318;
    font-style: normal;
}

.vel-up,
.vel-down {
    font-weight: 600;
}

.vel-insights {
    margin: 4px 0 0;
    padding-left: 1.2rem;
    font-size: 14.5px;
    line-height: 1.75;
    color: #142D47;
}

.vel-source {
    font-size: 12px;
    color: #52657A;
    margin: 0;
}

@media (max-width: 600px) {
    .vel-bar-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

/* ========== TrzisteTab.vue ========== */
/* Mirrors the card() helper the remaining innerHTML tab still uses. */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.trz-section {
    margin-bottom: 1.4rem;
}

.trz-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 12px;
}

.trz-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0;
}

.trz-section-note {
    font-size: 13px;
    color: #52657A;
}

.trz-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

/* 4 tiles per row on wide screens, 2 below that. */
.trz-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trz-tiles .led-card {
    padding: 1.05rem 1.15rem;
}

.trz-tile-label {
    font-size: 15px;
    font-weight: 600;
    color: #52657A;
    margin: 0 0 6px;
}

/* Value and sparkline share one line; the sparkline shrinks before it wraps. */
.trz-tile-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.trz-tile-value {
    font-size: 24px;
    font-weight: 800;
    color: #142D47;
    margin: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.trz-tile-spark {
    flex: 1 1 48px;
    max-width: 96px;
}

.trz-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.trz-badge-up {
    background: #E8F5ED;
    color: #18794E;
}

.trz-badge-down {
    background: #FDECE9;
    color: #B42318;
}

.trz-badge-flat {
    background: #F3F6FA;
    color: #52657A;
}

.trz-badge-none {
    padding-left: 0;
    font-weight: 600;
    color: #52657A;
}

.trz-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.trz-card-title.trz-tight {
    font-size: 16px;
    margin-bottom: 3px;
}

.trz-card-sub {
    font-size: 13px;
    color: #52657A;
    margin: 0 0 10px;
}

.trz-cmp-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    min-width: 0;
}

.trz-cmp-table-card {
    overflow: hidden;
}

.trz-cmp-scroll {
    overflow-x: auto;
}

.trz-cmp-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

.trz-cmp-table th {
    padding: 12px 16px;
    border-bottom: 1px solid #DDE5EC;
    font-size: 11.5px;
    font-weight: 600;
    color: #52657A;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.trz-cmp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F3F6FA;
    white-space: nowrap;
}

.trz-cmp-table tbody tr:last-child td {
    border-bottom: 0;
}

.trz-cmp-table .trz-num {
    text-align: right;
}

.trz-cmp-extra {
    margin-left: 4px;
    color: #52657A;
    font-size: 13px;
}

.trz-cmp-label {
    color: #142D47;
}

.trz-cmp-local {
    font-weight: 600;
    color: #142D47;
    font-variant-numeric: tabular-nums;
}

.trz-cmp-base {
    color: #52657A;
    font-variant-numeric: tabular-nums;
}

.trz-level {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.trz-level-above {
    background: #E8F5ED;
    color: #18794E;
}

.trz-level-below {
    background: #FDECE9;
    color: #B42318;
}

.trz-level-within {
    background: #F3F6FA;
    color: #52657A;
}

.trz-rank-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.trz-rank-card {
    padding: 1rem 1.2rem;
}

.trz-rank-card-title {
    font-size: 14px;
    color: #52657A;
    margin: 0;
}

.trz-rank-card-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.trz-rank-value {
    font-size: 40px;
    font-weight: 800;
    color: #204990;
    line-height: 1.1;
}

.trz-rank-value.trz-rank-missing {
    color: #52657A;
}

.trz-rank-card-prev {
    font-size: 13px;
    color: #52657A;
    margin: 6px 0 0;
}

.trz-rank-note {
    font-size: 12.5px;
    color: #52657A;
    margin: 12px 0 0;
}

@media (max-width: 1500px) {
    .trz-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .trz-rank-cards,
    .trz-charts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .trz-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========== TrendoviTab.vue ========== */
/* Mirrors the card() helper the remaining innerHTML tab still uses. */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.trd-subtitle {
    font-size: 14px;
    color: #52657A;
    margin: 0 0 1rem;
}

.trd-pick-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 10px;
}

.trd-pick-title {
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    margin: 0;
}

.trd-pick-note {
    font-size: 13px;
    color: #52657A;
}

.trd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.trd-tag {
    padding: 6px 14px;
    border: 1px solid #7B8DA3;
    border-radius: 999px;
    background: #fff;
    color: #142D47;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.trd-tag:hover:not(:disabled) {
    border-color: #204990;
}

.trd-tag.trd-tag-on {
    color: #fff;
}

.trd-tag:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.trd-empty {
    margin: 1.5rem 0 0.5rem;
    font-size: 14px;
    color: #52657A;
}

.trd-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 13.5px;
    color: #52657A;
}

.trd-legend li {
    display: inline-flex;
    align-items: center;
}

.trd-legend-line {
    display: inline-block;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    margin-right: 7px;
}

.trd-summary {
    margin: 12px 0 0;
    font-size: 14px;
    color: #142D47;
}

.trd-summary b {
    color: #142D47;
}

.trd-summary-fbih {
    color: #52657A;
}

/* ========== BenchmarkTab.vue ========== */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.bm-top {
    display: grid;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.bm-gauge-of {
    font-size: 13px;
    color: #52657A;
    margin: -2px 0 0;
}

.bm-warn {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 10px 12px;
    background: #FFF3DC;
    border: 1px solid rgba(138, 88, 0, 0.25);
    border-radius: 10px;
}

.bm-warn-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #8A5800;
    color: #8A5800;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    text-align: center;
    margin-top: 2px;
}

.bm-warn p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #8A5800;
}

.bm-sw {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.bm-sw-card {
    padding: 1rem 1.25rem;
}

.bm-sw-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 6px;
}

.bm-sw-strong {
    color: #204990;
}

.bm-sw-weak {
    color: #8A5800;
}

.bm-sw-list {
    font-size: 15px;
    color: #142D47;
    margin: 0;
    line-height: 1.5;
}

.bm-gauge-col {
    text-align: center;
}

.bm-gauge-label {
    font-size: 16px;
    font-weight: 600;
    color: #142D47;
    line-height: 1.4;
    margin: 6px 0 0;
}

.bm-method-chip {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 9px;
    border-radius: 20px;
    background: #EAF1FB;
    color: #204990;
    font-size: 12px;
    font-weight: 600;
}

.bm-incomplete {
    font-size: 13px;
    color: #B42318;
    margin: 6px 0 0;
}

.expl-body p.expl-note {
    font-size: 13px;
    color: #52657A;
    margin-top: 8px;
}

.expl-table.expl-bounds {
    margin-bottom: 4px;
}

.expl-table.expl-bounds td:first-child {
    width: auto;
}

.bm-bars {
    min-width: 0;
}

.bm-bar-gap {
    margin-bottom: 11px;
}

.bm-bars-sub {
    font-size: 14px;
    color: #52657A;
    margin: 0 0 10px;
}

.bm-bar-head {
    display: flex;
    justify-content: space-between;
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bm-bar-head.bm-muted {
    color: #52657A;
}

.bm-track {
    height: 10px;
    background: #F3F6FA;
    border-radius: 5px;
}

.bm-track.bm-track-sm {
    height: 8px;
    border-radius: 4px;
}

.bm-fill {
    height: 100%;
    border-radius: 5px;
}

.bm-track-sm .bm-fill {
    border-radius: 4px;
}

.bm-components {
    margin-bottom: 1.4rem;
}

.bm-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.bm-card-title.bm-card-title-tight {
    margin-bottom: 3px;
}

.bm-card-sub {
    font-size: 14px;
    color: #52657A;
    margin: 0 0 14px;
}

.bm-table-wrap {
    overflow-x: auto;
}

.bm-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.bm-table th {
    text-align: left;
    padding: 0 10px 8px;
    color: #52657A;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.bm-table td {
    padding: 11px 10px;
    border-top: 1px solid #DDE5EC;
    vertical-align: middle;
}

.bm-table tfoot td {
    border-top: 1.5px solid #7B8DA3;
    font-weight: 600;
    color: #142D47;
}

.bm-table .bm-num {
    text-align: right;
    white-space: nowrap;
}

.bm-comp-label {
    display: block;
    color: #142D47;
}

.bm-comp-weight {
    display: block;
    font-size: 12.5px;
    color: #52657A;
}

.bm-value b {
    font-weight: 600;
    color: #142D47;
    font-variant-numeric: tabular-nums;
}

.bm-unit {
    margin-left: 5px;
    font-size: 12px;
    color: #52657A;
}

.bm-median {
    color: #52657A;
    font-variant-numeric: tabular-nums;
}

.bm-points-col {
    width: 30%;
    min-width: 190px;
}

.bm-points {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* White track with a hairline, so the palest band (0–30) still reads as a bar. */
.bm-comp-track {
    flex: 1;
    height: 8px;
    background: #DDE5EC;
    border-radius: 999px;
    overflow: hidden;
}

.bm-comp-fill {
    height: 100%;
    border-radius: 999px;
}

.bm-fill-high {
    background: #204990;
}

.bm-fill-mid {
    background: #7FA3D6;
}

.bm-fill-low {
    background: #F58231;
}

.bm-comp-score {
    min-width: 54px;
    font-weight: 600;
    color: #142D47;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.bm-na {
    font-size: 13px;
    color: #52657A;
}

.bm-contrib {
    font-weight: 600;
    color: #204990;
    font-variant-numeric: tabular-nums;
}

.bm-table-note {
    font-size: 12.5px;
    color: #52657A;
    margin: 10px 0 0;
}

.expl-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0 0 7px;
}

.expl-intro {
    font-size: 14.5px;
    color: #52657A;
    line-height: 1.7;
    margin: 0 0 6px;
}

.expl-sec {
    border-top: 1px solid #DDE5EC;
}

.expl-sum {
    display: flex;
    align-items: center;
    gap: 9px;
    list-style: none;
    cursor: pointer;
    padding: 11px 2px;
    font-size: 16px;
    font-weight: 600;
    color: #142D47;
}

.expl-sum::-webkit-details-marker {
    display: none;
}

.expl-sum:hover {
    color: #204990;
}

.expl-more {
    margin-left: auto;
    font-size: 13.5px;
    font-weight: 400;
    color: #52657A;
}

.expl-sum::after {
    content: '';
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    margin-right: 3px;
    border-right: 1.6px solid #7B8DA3;
    border-bottom: 1.6px solid #7B8DA3;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.expl-sec[open] .expl-sum::after {
    transform: rotate(-135deg);
}

.expl-sec[open] .expl-sum {
    color: #204990;
}

.expl-body {
    padding: 2px 2px 16px;
    overflow-x: auto;
}

.expl-body p {
    font-size: 14.5px;
    color: #52657A;
    line-height: 1.7;
    margin: 0 0 10px;
}

.expl-body p.expl-last {
    margin-bottom: 0;
}

.expl-body p.expl-sub {
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    margin: 16px 0 8px;
}

.expl-formula {
    background: #F3F6FA;
    border: 1px solid #DDE5EC;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 0 0 11px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px;
    color: #142D47;
    text-align: center;
    overflow-x: auto;
}

.expl-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.expl-table th {
    text-align: left;
    padding: 0 10px 7px;
    color: #52657A;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.expl-table td {
    padding: 9px 10px;
    border-top: 1px solid #DDE5EC;
    vertical-align: top;
}

.expl-table td:first-child {
    width: 38%;
}

.expl-num {
    text-align: right;
}

.expl-weight {
    font-weight: 600;
    white-space: nowrap;
}

.expl-comp {
    font-weight: 600;
    color: #142D47;
}

.expl-muted {
    color: #52657A;
    line-height: 1.6;
}

.expl-mono {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13.5px;
    color: #142D47;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .bm-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .bm-sw {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========== LedChart.vue ========== */
.led-chart {
    position: relative;
    width: 100%;
}

/* ========== LedGauge.vue ========== */
.led-gauge {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

/* The filled part of the arc and the needle animate to a new score. */
.led-gauge-arc {
    transition: stroke-dasharray 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.led-gauge-needle {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* The 0 and 100 captions at the ends of the arc. */
.led-gauge-end {
    font-size: 13px;
    font-weight: 600;
    fill: #52657A;
}

.led-gauge-value {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ========== LedSparkline.vue ========== */
.led-spark-plot {
    position: relative;
}

.led-spark-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.led-spark-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid;
    border-radius: 50%;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

.led-spark-dot-last {
    width: 8px;
    height: 8px;
}

.led-spark-dot-subtle {
    opacity: 0;
}

.led-spark-dot-subtle.led-spark-dot-last {
    opacity: 1;
    width: 5px;
    height: 5px;
    border-width: 0;
}

.led-spark-years {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11.5px;
    color: #52657A;
}

.led-spark-empty {
    display: flex;
    align-items: center;
    min-height: 54px;
    margin: 0;
    font-size: 12.5px;
    color: #52657A;
}

/* ========== LedDonut.vue ========== */
.led-donut {
    position: relative;
    flex: 0 0 auto;
}

.led-donut-svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.led-donut-center {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.led-donut-value {
    font-size: 16px;
    font-weight: 600;
    color: #142D47;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.led-donut-label {
    margin-top: 2px;
    font-size: 10.5px;
    color: #52657A;
}

/* ========== BalanceStructure.vue ========== */
.bs {
    margin-bottom: 1.4rem;
}

.bs-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 12px;
}

.bs-title {
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    letter-spacing: -0.01em;
    margin: 0;
}

.bs-note {
    font-size: 13px;
    color: #52657A;
}

.bs-grid {
    display: grid;
    /* two cards side by side only while each is wide enough for its legend, otherwise stacked */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 14px;
}

.bs-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
}

.bs-card-title {
    font-size: 15.5px;
    font-weight: 600;
    color: #142D47;
    margin: 0;
}

.bs-card-sub {
    font-size: 13px;
    color: #52657A;
    margin: 3px 0 14px;
}

.bs-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 22px;
}

.bs-legend {
    /* legend drops below the donut when the card is too narrow for both */
    flex: 1 1 240px;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-legend-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto 3.6em;
    align-items: center;
    column-gap: 10px;
    padding: 5px 0;
    font-size: 14px;
}

.bs-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.bs-legend-label {
    color: #142D47;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.bs-legend-value {
    font-weight: 600;
    color: #142D47;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bs-legend-pct {
    color: #52657A;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bs-negative {
    color: #B42318;
}

.bs-empty {
    margin: 0;
    font-size: 13px;
    color: #52657A;
}

.bs-empty-chart {
    flex: 0 0 112px;
    text-align: center;
}

/* ========== LedInfoTip.vue ========== */
.led-tip {
    display: inline-block;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 6px;
    border-radius: 50%;
    border: 1px solid #7B8DA3;
    background: #fff;
    color: #52657A;
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    font-style: italic;
    line-height: 16px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    vertical-align: middle;
    cursor: help;
}

.led-tip:hover,
.led-tip:focus {
    border-color: #204990;
    color: #204990;
    outline: none;
}

.led-tip.led-tip-bare {
    width: auto;
    height: auto;
    min-width: 22px;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
}

.led-tip-pop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    box-sizing: border-box;
    width: 280px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #142D47;
    color: #F3F6FA;
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    box-shadow: 0 8px 24px -8px rgba(20, 45, 71, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s, visibility .15s;
}

.led-tip-pop.led-tip-open {
    opacity: 1;
    visibility: visible;
}

.led-tip-pop b {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-weight: 600;
}

/* ========== PregledInsights.vue [scoped] ========== */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.pi-frame {
    margin-top: 1.4rem;
}

.pi-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #142D47;
    margin: 0 0 4px;
}

.pi-title-icon {
    font-size: 16px;
}

.pi-subtitle {
    font-size: 14px;
    color: #52657A;
    line-height: 1.5;
    margin: 0;
    max-width: 760px;
}

.pi-section {
    font-size: 14px;
    font-weight: 800;
    color: #142D47;
    margin: 1.3rem 0 0.7rem;
}

.pi-section-sub {
    font-weight: 400;
    font-size: 12.5px;
    color: #52657A;
    margin-left: 10px;
}

.pi-columns {
    display: grid;
    gap: 14px;
}

.pi-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pi-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pi-columns-1 { grid-template-columns: minmax(0, 1fr); }

.pi-col {
    min-width: 0;
}

.pi-col-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 4px;
    padding: 7px 10px;
    border-radius: 8px;
    border-bottom: 2px solid currentColor;
}

.pi-col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    background: #fff;
}

.pi-col-strengths .pi-col-head { color: #18794E; background: #E8F5ED; }
.pi-col-opportunities .pi-col-head { color: #204990; background: #EAF1FB; }
.pi-col-watch .pi-col-head { color: #8A5800; background: #FFF3DC; border-bottom-color: #F58231; }

.pi-col-strengths .pi-hl { color: #18794E; }
.pi-col-opportunities .pi-hl { color: #204990; }
.pi-col-watch .pi-hl { color: #8A5800; }

.pi-item {
    padding: 10px 2px;
    border-bottom: 1px solid #DDE5EC;
}

.pi-item:last-child {
    border-bottom: none;
}

.pi-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #142D47;
    margin: 0 0 3px;
}

.pi-item-body,
.pi-card-text {
    font-size: 13px;
    color: #52657A;
    line-height: 1.5;
    margin: 0;
}

.pi-hl {
    font-weight: 800;
}

.pi-empty {
    font-size: 13.5px;
    color: #52657A;
    margin: 1rem 0 0;
}

.pi-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pi-card {
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pi-card-label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.pi-card-neutral .pi-card-label { color: #52657A; }
.pi-card-watch .pi-card-label,
.pi-card-watch .pi-hl { color: #8A5800; }
.pi-card-strengths .pi-card-label,
.pi-card-strengths .pi-hl { color: #18794E; }
.pi-card-opportunities .pi-card-label,
.pi-card-opportunities .pi-hl,
.pi-card-neutral .pi-hl { color: #204990; }

.pi-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #142D47;
    margin: 0;
    line-height: 1.35;
}

.pi-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pi-chip {
    font-size: 12px;
    color: #52657A;
    background: #F3F6FA;
    border: 1px solid #DDE5EC;
    border-radius: 8px;
    padding: 3px 8px;
    white-space: nowrap;
}

.pi-chip b {
    color: #142D47;
    font-weight: 600;
}

.pi-chip-change {
    margin-left: 4px;
}

.pi-bars {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pi-bar-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #52657A;
}

.pi-bar-track {
    height: 8px;
    background: #F3F6FA;
    border-radius: 4px;
    overflow: hidden;
}

.pi-bar {
    height: 100%;
    border-radius: 4px;
}

.pi-card-neutral .pi-bar-muni,
.pi-card-opportunities .pi-bar-muni { background: #204990; }
.pi-card-strengths .pi-bar-muni { background: #18794E; }
.pi-card-watch .pi-bar-muni { background: #985400; }
.pi-bar-fbih { background: #B6CDEB; }
.pi-bar.pi-bar-neg { background: #B42318; }

.pi-bar-val {
    text-align: right;
    font-weight: 600;
    color: #142D47;
}

.pi-source {
    font-size: 12px;
    color: #52657A;
    margin: 1.2rem 0 0;
    padding-top: 10px;
    border-top: 1px solid #DDE5EC;
}

@media (max-width: 1000px) {
    .pi-columns-3,
    .pi-columns-2,
    .pi-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========== PoredjenjeTab.vue [scoped] ========== */
.led-card {
    background: #fff;
    border: 1px solid #DDE5EC;
    border-radius: 12px;
    padding: 1.3rem 1.45rem;
    min-width: 0;
}

.cmp-intro {
    font-size: 14.5px;
    color: #52657A;
    line-height: 1.5;
    margin: 0 0 1rem;
    max-width: 760px;
}

.cmp-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 14px;
}

.cmp-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid;
    border-radius: 8px;
    padding: 4px 6px 4px 12px;
    min-width: 0;
    flex: 0 1 220px;
}

.cmp-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 6px;
}

.cmp-slot .cmp-dot {
    margin-right: 0;
}

.cmp-select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #142D47;
    padding: 6px 2px;
    cursor: pointer;
}

.cmp-select:focus {
    outline: 2px solid #204990;
    outline-offset: 2px;
}

.cmp-select-empty {
    font-weight: 400;
    color: #52657A;
}

.cmp-hint {
    border-style: dashed;
    text-align: center;
    padding: 2rem 1.5rem;
}

.cmp-hint-title {
    font-size: 16px;
    font-weight: 800;
    color: #142D47;
    margin: 0 0 4px;
}

.cmp-hint-text {
    font-size: 14px;
    color: #52657A;
    margin: 0;
}

.cmp-remove {
    border: none;
    background: transparent;
    color: #52657A;
    font-size: 18px;
    line-height: 1;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 6px;
}

.cmp-remove:hover {
    background: #F3F6FA;
    color: #142D47;
}

.cmp-add {
    border: 1.5px dashed #7B8DA3;
    background: #fff;
    color: #204990;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.cmp-add:hover {
    background: #EAF1FB;
}

.cmp-year {
    margin-left: auto;
    font-size: 13.5px;
    font-weight: 600;
    color: #142D47;
    border: 1px solid #DDE5EC;
    border-radius: 8px;
    padding: 6px 12px;
}

.cmp-state {
    font-size: 14px;
    color: #52657A;
    margin: 1rem 0;
}

.cmp-cards {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.cmp-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cmp-card {
    border-top: 4px solid;
}

.cmp-card-name {
    font-size: 17px;
    font-weight: 800;
    color: #142D47;
    margin: 0 0 2px;
}

.cmp-card-sub {
    font-size: 12.5px;
    color: #52657A;
    margin: 0 0 12px;
}

.cmp-card-iea {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 12.5px;
    color: #52657A;
}

.cmp-card-iea b {
    font-size: 26px;
    font-weight: 800;
}

.cmp-card-nodata {
    font-size: 13px;
    color: #8A5800;
    background: #FFF3DC;
    border-radius: 8px;
    padding: 6px 10px;
    margin: 0;
}

.cmp-iea-track {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: #F3F6FA;
}

.cmp-iea-fill {
    height: 100%;
    border-radius: 3px;
}

.cmp-iea-median {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 14px;
    background: #142D47;
    transform: translateX(-1px);
}

.cmp-block {
    margin-bottom: 14px;
}

.cmp-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 14px;
    margin-bottom: 10px;
}

.cmp-block-title {
    font-size: 16px;
    font-weight: 800;
    color: #142D47;
    margin: 0;
}

.cmp-block-note {
    font-size: 12.5px;
    color: #52657A;
}

.cmp-summary {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 14px;
    color: #142D47;
    line-height: 1.6;
}

.cmp-summary b {
    font-weight: 800;
}

.cmp-table-wrap {
    overflow-x: auto;
}

.cmp-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.cmp-table th {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #52657A;
    padding: 8px 10px;
    border-bottom: 1px solid #DDE5EC;
    white-space: nowrap;
}

.cmp-th-label {
    text-align: left;
}

.cmp-th-num {
    text-align: right;
}

.cmp-group-row td {
    background: #F3F6FA;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #142D47;
    padding: 7px 10px;
}

.cmp-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #DDE5EC;
    vertical-align: top;
}

.cmp-td-label {
    color: #142D47;
    min-width: 170px;
}

.cmp-td-sub {
    display: block;
    font-size: 11.5px;
    color: #52657A;
}

.cmp-td-num {
    text-align: right;
    white-space: nowrap;
    min-width: 120px;
}

.cmp-td-text {
    white-space: normal;
    font-weight: 600;
    color: #142D47;
}

.cmp-val {
    font-weight: 600;
    color: #142D47;
}

.cmp-val.cmp-neg {
    color: #B42318;
}

.cmp-val.cmp-best {
    font-weight: 800;
}

.cmp-star {
    font-size: 12px;
}

.cmp-bar-track {
    margin-top: 5px;
    height: 5px;
    border-radius: 3px;
    background: #F3F6FA;
}

.cmp-bar {
    height: 100%;
    border-radius: 3px;
}

.cmp-td-ref {
    color: #52657A;
    min-width: 80px;
}

.cmp-note {
    font-size: 12.5px;
    color: #52657A;
    line-height: 1.5;
    margin: 12px 0 0;
}

.cmp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 13px;
    color: #52657A;
}

.cmp-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cmp-legend-line {
    display: inline-block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
}

.cmp-legend-dash {
    background: repeating-linear-gradient(90deg, #7B8DA3 0 5px, transparent 5px 9px);
}

.cmp-source {
    font-size: 12px;
    color: #52657A;
    margin: 4px 0 0;
}

@media (max-width: 900px) {
    .cmp-cards-2,
    .cmp-cards-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cmp-slot {
        flex: 1 1 100%;
    }

    .cmp-year {
        margin-left: 0;
    }
}

/* ========== LedProfile.vue [scoped] ========== */
/* "Profil općine (PDF)": the modal with the A4 preview (js/profile-modal.js). */
.lp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(20, 45, 71, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.lp-modal {
    background: #fff;
    border-radius: 16px;
    width: calc(210mm + 48px);
    max-width: 100%;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(20, 45, 71, 0.3);
}

.lp-modal-head,
.lp-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    flex-shrink: 0;
}

.lp-modal-head {
    border-bottom: 1px solid #DDE5EC;
}

.lp-modal-foot {
    border-top: 1px solid #DDE5EC;
}

.lp-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #142D47;
}

.lp-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #52657A;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 8px;
}

.lp-close:hover {
    background: #F3F6FA;
    color: #142D47;
}

.lp-modal-body {
    overflow: auto;
    background: #F3F6FA;
    padding: 16px 0;
    flex: 1;
    min-height: 0;
}

/* the preview is the sheet at its real A4 size; narrow screens scroll sideways */
.lp-preview {
    width: 210mm;
    margin: 0 auto;
}

.lp-foot-note {
    font-size: 13px;
    color: #52657A;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-btn {
    border: none;
    background: #204990;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 9px 16px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.lp-btn:hover:not(:disabled) {
    background: #102F50;
}

.lp-btn:disabled {
    background: #7B8DA3;
    cursor: default;
}

.lp-state {
    text-align: center;
    color: #52657A;
    padding: 40px 0;
}

/* the sheet: always one A4 page */
.lp-page {
    width: 210mm;
    height: 297mm;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 9mm 11mm 7mm;
    background: #fff;
    color: #142D47;
    font-size: 9.9pt;
    line-height: 1.32;
    display: flex;
    flex-direction: column;
    gap: 2.6mm;
}

.lp-page p,
.lp-page h1,
.lp-page h2 {
    margin: 0;
}

.lp-head {
    display: flex;
    justify-content: space-between;
    gap: 8mm;
    padding-bottom: 2.5mm;
    border-bottom: 2px solid #204990;
}

.lp-org {
    font-size: 8pt;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #204990;
}

.lp-title {
    font-size: 24.1pt;
    font-weight: 800;
    line-height: 1.15;
}

.lp-sub {
    font-size: 10.3pt;
    color: #52657A;
}

.lp-head-right {
    text-align: right;
    font-size: 8.6pt;
    color: #52657A;
}

.lp-doc {
    font-size: 12.6pt;
    font-weight: 800;
    color: #142D47;
}

.lp-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2mm;
}

.lp-tile {
    border: 1px solid #DDE5EC;
    border-radius: 2mm;
    padding: 2mm 2.4mm;
}

.lp-tile-label {
    font-size: 8pt;
    color: #52657A;
    line-height: 1.2;
    min-height: 2.4em;
}

.lp-tile-value {
    font-size: 14.9pt;
    font-weight: 800;
    line-height: 1.2;
}

.lp-tile-value small {
    font-size: 8pt;
    font-weight: 600;
    color: #52657A;
}

.lp-tile-change,
.lp-tile-sub {
    font-size: 8pt;
    color: #52657A;
}

.lp-up { color: #18794E !important; }
.lp-down { color: #B42318 !important; }
.lp-flat { color: #52657A; }

.lp-section {
    min-width: 0;
}

.lp-h2 {
    font-size: 9.2pt;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #142D47;
    margin-bottom: 1.6mm !important;
}

.lp-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4mm;
}

/* an empty insight column is left out: the others share the width */
.lp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-cols-1 { grid-template-columns: minmax(0, 1fr); }

.lp-col-head {
    font-size: 9.8pt;
    font-weight: 800;
    padding-bottom: 1mm;
    margin-bottom: 1mm !important;
    border-bottom: 2px solid currentColor;
}

.lp-col-strengths .lp-col-head,
.lp-col-strengths .lp-ins b { color: #18794E; }
.lp-col-opportunities .lp-col-head,
.lp-col-opportunities .lp-ins b { color: #204990; }
.lp-col-watch .lp-col-head { color: #8A5800; border-bottom-color: #F58231; }
.lp-col-watch .lp-ins b { color: #8A5800; }

.lp-ins {
    padding: 0.6mm 0;
}

.lp-ins-title {
    font-weight: 800;
    font-size: 9.7pt;
}

.lp-ins-body {
    font-size: 8.7pt;
    color: #52657A;
}

.lp-ins-body b {
    font-weight: 800;
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.6mm 7mm;
}

.lp-cmp {
    display: grid;
    grid-template-columns: 30mm minmax(0, 1fr);
    gap: 2mm;
    align-items: center;
    padding: 0.8mm 0;
}

.lp-cmp-label {
    font-size: 9pt;
}

.lp-cmp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 27mm;
    gap: 2mm;
    align-items: center;
}

.lp-cmp-val {
    text-align: right;
    font-weight: 800;
    font-size: 9pt;
    white-space: nowrap;
}

.lp-cmp-row-ref .lp-cmp-val {
    font-weight: 400;
    font-size: 7.8pt;
    color: #52657A;
}

.lp-track {
    height: 1.6mm;
    background: #F3F6FA;
    border-radius: 1mm;
    overflow: hidden;
}

.lp-fill {
    height: 100%;
    background: #204990;
    border-radius: 1mm;
}

.lp-fill-ref { background: #B6CDEB; }
.lp-fill-neg { background: #B42318; }

.lp-act {
    padding: 0.8mm 0;
}

.lp-act-head {
    display: flex;
    align-items: center;
    gap: 1.6mm;
    margin-bottom: 0.6mm;
    font-size: 9pt;
}

.lp-act-code {
    flex-shrink: 0;
    width: 4.2mm;
    height: 4.2mm;
    border-radius: 50%;
    background: #204990;
    color: #fff;
    font-size: 7.5pt;
    font-weight: 800;
    /* a fixed line box, so the letter is not cut off in the PDF capture */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-act-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-act-firms {
    color: #52657A;
}

.lp-note {
    font-size: 7.8pt;
    color: #52657A;
    margin-top: 0.8mm !important;
}

.lp-chart {
    width: 100%;
    height: 29mm;
    display: block;
    overflow: visible;
}

.lp-chart-val {
    font-size: 10px;
    font-weight: 800;
    fill: #142D47;
}

.lp-chart-year {
    font-size: 9.5px;
    fill: #52657A;
}

.lp-focus {
    border: 1px solid #DDE5EC;
    border-left: 3px solid #204990;
    border-radius: 2mm;
    padding: 2mm 3mm;
    background: #F3F6FA;
}

.lp-focus-risk {
    border-left-color: #F58231;
    background: #FFF3DC;
}

.lp-focus-label {
    font-size: 8pt;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #204990;
}

.lp-focus-risk .lp-focus-label,
.lp-focus-risk .lp-focus-text b { color: #8A5800; }

.lp-focus-name {
    font-size: 10.3pt;
    font-weight: 600;
    margin: 0.6mm 0 !important;
}

.lp-focus-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1mm 3mm;
    font-size: 8.5pt;
    color: #52657A;
}

.lp-focus-stats b {
    color: #142D47;
}

.lp-focus-text {
    font-size: 8.7pt;
    color: #52657A;
    margin-top: 1mm !important;
}

.lp-ranks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3mm;
}

.lp-rank {
    display: flex;
    gap: 2.4mm;
    align-items: center;
    border: 1px solid #DDE5EC;
    border-radius: 2mm;
    padding: 2mm 3mm;
}

.lp-rank-num {
    font-size: 17.2pt;
    font-weight: 800;
    color: #204990;
    white-space: nowrap;
}

.lp-rank-num small {
    font-size: 8.6pt;
    color: #52657A;
    font-weight: 600;
}

.lp-rank-label {
    font-weight: 800;
    font-size: 9.2pt;
}

.lp-rank-sub {
    font-size: 8pt;
    color: #52657A;
}

.lp-foot {
    margin-top: auto;
    padding-top: 2mm;
    border-top: 1px solid #DDE5EC;
    font-size: 7.6pt;
    color: #52657A;
    display: flex;
    flex-direction: column;
    gap: 0.6mm;
}

