/* Shared county award presentation, extracted from NECA. */
main.award-main { padding-top: 4.75rem; }
.award-breadcrumb-card { margin-bottom: .75rem; }
.award-content-card { border-radius: .5rem; }
.award-content-card > .card-body { padding: 1rem; }
.award-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.award-heading h5 { margin: 0; color: #26383d; font-size: 1.25rem; font-weight: 700; }
.award-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.award-actions .btn { margin: 0; }
.award-table { width: 100%; margin-bottom: 0; font-size: .82rem; }
.award-table thead th { padding: .45rem .5rem; background: #e2f1f0; color: #26383d; font-weight: 700; border-bottom: 1px solid #c7dddf; white-space: nowrap; }
.award-table tbody td { padding: .36rem .5rem; vertical-align: middle; border-top-color: #e4ecee; }
.award-table tbody a { color: #006064; font-weight: 600; }
body.account-dark .award-heading h5, body.account-dark .award-table thead th { color: #e2f1f0; }
body.account-dark .award-table thead th { background: #314951; border-color: #52666a; }
body.account-dark .award-table tbody td { border-color: #40515a; }
body.account-dark .award-table tbody a { color: #8fd0d1; }
@media (max-width: 575.98px) {
            main.award-main { padding-top: 4rem; }
            .award-content-card > .card-body { padding: .75rem; }
        }
#awards { min-width: 820px; width: 100% !important; }
#awards tbody td:first-child { color: #52666a; }
#awards tbody td:nth-child(2) { white-space: nowrap; }
#awards tfoot { display: none; }
.award-content-card .dataTables_wrapper .row { align-items: center; }
#awards_wrapper .dataTables_filter,
        #awards_wrapper .dataTables_paginate { padding: 0 !important; margin: 0; }
#awards_wrapper .dataTables_filter label,
        #awards_wrapper .pagination { margin: 0 !important; }
#awards_wrapper .page-link { padding: .2rem .45rem; }
#awards_wrapper input[type="search"] { height: 24px; padding-top: 0; padding-bottom: 0; }
#awards_wrapper .dataTables_info { padding: 0 !important; font-size: .8rem; line-height: 1.25rem; }
#awards_wrapper > .row { margin-left: 0; margin-right: 0; }
#awards_wrapper > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
#awards_wrapper > .row:first-child,
        #awards_wrapper > .row:last-child { align-items: center; }
#awards_wrapper > .row:first-child > [class*="col-"],
        #awards_wrapper > .row:last-child > [class*="col-"] { display: flex; align-items: center; }
#awards_wrapper > .row:first-child > [class*="col-"]:nth-child(2) { justify-content: center; }
#awards_wrapper > .row:first-child > [class*="col-"]:last-child,
        #awards_wrapper > .row:last-child > [class*="col-"]:last-child { justify-content: flex-end; }
.award-content-card .dataTables_wrapper .dataTables_filter input { border: 1px solid #006064; border-radius: .3rem; color: inherit; }
body.account-dark .award-content-card .dataTables_wrapper .dataTables_filter input { background: #26383d; border-color: #7cc4c7; }
.award-award-list-card { height: 100%; border: 1px solid #c7dddf; border-radius: .45rem; overflow: hidden; }
.award-award-list-card h6 { margin: 0; padding: .6rem .75rem; color: #26383d; background: #e2f1f0; font-size: .95rem; font-weight: 700; }
.award-award-list-card .table-responsive { padding: .35rem .5rem .5rem; }
.award-award-list-card .award-table { min-width: 250px; }
.award-award-list-card .award-table thead th { background: transparent; }
body.account-dark .award-award-list-card { border-color: #52666a; }
body.account-dark .award-award-list-card h6 { color: #e2f1f0; background: #314951; }
.award-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.award-updated { color: #667085; font-size: .78rem; }
.award-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .75rem; }
.award-stat-group { padding: .65rem; border: 1px solid #d6e3e6; border-radius: .35rem; }
.award-stat-group h6 { margin: 0 0 .5rem; color: #26383d; font-size: .88rem; font-weight: 700; }
.award-stat-grid { display: grid; gap: .35rem; }
.award-mode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.award-band-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.award-stat { padding: .4rem .2rem; border-radius: .3rem; background: #e2f1f0; text-align: center; }
.award-stat span { display: block; color: #52666a; font-size: .7rem; font-weight: 700; }
.award-stat strong { display: block; color: #006064; font-size: 1.15rem; line-height: 1.3; }
.award-matrix-scroll { overflow: auto; }
.award-matrix-heading { margin: 1rem 0 .5rem; color: #26383d; font-size: 1.1rem; font-weight: 700; }
.award-legend { margin: -.25rem 0 .5rem; color: #52666a; font-size: .78rem; }
.award-legend strong { font-weight: 700; }
.award-mark { display: inline-block; min-width: 1.1rem; font-size: .85rem; font-weight: 700; cursor: help; }
.award-tooltip .tooltip-inner { max-width: 280px; padding: .65rem .75rem; background: #26383d; border-radius: .4rem; text-align: left; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.award-tooltip .award-tip-entity { color: #a6d7d9; font-size: .72rem; font-weight: 700; }
.award-tooltip .award-tip-qso { margin-top: .15rem; color: #fff; font-size: .95rem; font-weight: 700; }
.award-tooltip .award-tip-meta { margin-top: .2rem; color: #d1dcde; font-size: .75rem; }
.award-tooltip .award-tip-status { margin-top: .45rem; padding-top: .4rem; border-top: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .78rem; }
.award-tooltip .award-tip-status strong { display: inline-block; min-width: 1.1rem; color: #a6d7d9; }
.award-matrix-scroll { max-height: 70vh; border: 1px solid #d6e3e6; border-radius: .35rem; }
.award-matrix { width: 100%; min-width: 1260px; margin: 0; border: 0; table-layout: fixed; font-size: .8rem; }
.award-matrix thead th { padding: .25rem .2rem; background: #e2f1f0; text-align: center; font-weight: 700; }
.award-matrix thead tr:first-child th { position: sticky; top: 0; z-index: 3; }
.award-matrix thead tr:nth-child(2) th { position: sticky; top: 29px; z-index: 3; }
.award-matrix thead tr:first-child th:first-child { left: 0; z-index: 6 !important; }
.award-matrix td { padding: .24rem .3rem !important; vertical-align: middle; }
.award-matrix tr:nth-child(even) td { background: #f8fbfb; }
.award-matrix tbody td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; color: #26383d; font-weight: 600; }
.award-matrix tbody tr:nth-child(even) td:first-child { background: #f8fbfb; }
.award-matrix .teal-text { color: #006064 !important; }
.award-matrix .text-primary { color: #1565c0 !important; }
.award-matrix .text-danger { color: #b42318 !important; }
.award-overview { margin: .75rem 0 1.25rem; }
.award-overview-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .75rem; align-items: stretch; }
.award-overview-panel { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.award-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; flex: 1; }
.award-overview-tile { display: flex; flex-direction: column; justify-content: center; border: 1px solid #c7dddf; border-radius: .45rem; background: #eef7f7; border-left: 3px solid #006064; padding: .7rem .8rem; min-width: 0; }
.award-overview-tile .label { display: block; color: #52666a; font-size: .76rem; font-weight: 600; }
.award-overview-tile strong { display: block; color: #006064; font-size: 1.55rem; line-height: 1.2; }
.award-overview-tile small { color: #52666a; }
.award-county-status { display: flex; flex-wrap: wrap; gap: .15rem .65rem; align-items: baseline; color: #26383d; font-size: .82rem; font-weight: 600; }
.award-county-status strong { display: inline; margin-right: .15rem; }
.award-county-status .award-county-total { margin-right: 0; }
body.account-dark .award-county-status { color: #e2f1f0; }
.award-level { margin: 0; padding: .65rem .8rem; border: 1px solid #c7dddf; border-radius: .45rem; }
.award-level-label { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; color: #26383d; font-weight: 600; }
.award-level-track { height: .45rem; margin-top: .45rem; border-radius: 1rem; background: #d9e5e7; overflow: hidden; }
.award-level-fill { height: 100%; background: #006064; }
.award-map-wrap { display: flex; flex-direction: column; border: 1px solid #c7dddf; border-radius: .45rem; overflow: hidden; }
#award-county-map { flex: 1; min-height: 0; background: #f2f2ef; }
#award-county-map .leaflet-interactive:focus:not(:focus-visible) {
    outline: none;
}
.award-map-key { display: flex; gap: .2rem .75rem; flex-wrap: wrap; padding: .45rem .8rem .3rem; color: #52666a; font-size: .75rem; }
.award-map-key i { display: inline-block; width: .8rem; height: .8rem; margin-right: .25rem; border-radius: .15rem; vertical-align: middle; }
.award-map-key > span { display: inline-flex; align-items: center; gap: .35rem; }
.award-map-key > span > i { flex-shrink: 0; margin-right: 0; }
.award-map-attribution { padding: 0 .8rem .55rem; color: #667085; font-size: .68rem; }
.award-map-popup { color: #26383d; min-width: 170px; }
.award-map-popup strong { color: #006064; }
.award-map-popup .award-popup-line { margin-top: .2rem; }
body.account-dark .award-overview-tile, body.account-dark .award-level, body.account-dark .award-map-wrap { background: #26383d; border-color: #52666a; }
body.account-dark .award-overview-tile .label, body.account-dark .award-overview-tile small, body.account-dark .award-map-key, body.account-dark .award-map-attribution { color: #c4d5dc; }
body.account-dark .award-overview-tile strong, body.account-dark .award-level-label { color: #e2f1f0; }
body.account-dark #award-county-map { background: #202f37; }
body.account-dark .award-level-track { background: #40515a; }
.award-overview-grid { flex: 0 0 auto; }
.award-overview-tile { padding: .55rem .7rem; }
.award-overview-tile strong { font-size: 1.35rem; }
.award-breakdown, .award-detail-card { border: 1px solid #c7dddf; border-radius: .45rem; background: #f4fafa; padding: .65rem .8rem; }
.award-breakdown { flex: 0 0 auto; background: #fff; border-left: 3px solid #006064; }
.award-breakdown h6, .award-detail-card h6 { margin: 0 0 .5rem; color: #26383d; font-size: .9rem; font-weight: 700 !important; }
.award-breakdown-row { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 2.8rem; gap: .5rem; align-items: center; margin: .45rem 0; color: #26383d; font-size: .78rem; }
.award-breakdown-row strong { font-weight: 700; }
.award-breakdown-row .value { display: block; margin-bottom: .18rem; font-weight: 600; }
.award-stat-track { height: .45rem; border-radius: 1rem; overflow: hidden; background: #d9e5e7; }
.award-stat-fill { height: 100%; background: #006064; }
.award-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.award-detail-head, .award-detail-row { display: grid; grid-template-columns: minmax(0, 1.25fr) 5.8rem minmax(0, 1.2fr); gap: .45rem; align-items: center; }
.award-detail-head { padding: .28rem .35rem; background: #e2f1f0; color: #52666a; font-size: .7rem; font-weight: 700; }
.award-detail-row { padding: .35rem; border-bottom: 1px solid #d6e3e6; color: #26383d; font-size: .76rem; }
.award-detail-row:last-child { border-bottom: 0; }
.award-detail-row .progress-label { display: block; margin-bottom: .15rem; color: #52666a; font-size: .7rem; }
body.account-dark .award-breakdown, body.account-dark .award-detail-card { background: #26383d; border-color: #52666a; }
body.account-dark .award-overview-tile, body.account-dark .award-breakdown { background: #314951; border-left-color: #7cc4c7; }
body.account-dark .award-breakdown h6, body.account-dark .award-detail-card h6, body.account-dark .award-breakdown-row, body.account-dark .award-detail-row { color: #e2f1f0; }
body.account-dark .award-detail-head { background: #314951; color: #c4d5dc; }
body.account-dark .award-detail-row { border-color: #52666a; }
body.account-dark .award-detail-row .progress-label { color: #c4d5dc; }
body.account-dark .award-stat-track { background: #40515a; }
@media (max-width: 991.98px) {
            .award-overview-layout, .award-detail-grid { grid-template-columns: 1fr; }
            #award-county-map { flex: none; min-height: 0; height: 420px; }
        }
@media (max-width: 767.98px) {
            #award-county-map { height: 340px; }
        }
@media (max-width: 575.98px) {
            main.award-main { padding-top: 4rem; }
            .award-content-card > .card-body { padding: .75rem; }
            .award-stats { grid-template-columns: 1fr; }
            .award-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .award-band-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
.award-awards { margin: .75rem 0 1rem; }
.award-awards .card { border-radius: .4rem; }
.award-awards .card { background: #f9fbfb !important; color: #26383d !important; border: 1px solid #c7dddf; box-shadow: none; }
.award-awards > div:nth-child(1) .card { border-top: 3px solid #b58d38 !important; }
.award-awards > div:nth-child(2) .card { border-top: 3px solid #8b9aa5 !important; }
.award-awards > div:nth-child(3) .card { border-top: 3px solid #a56a3a !important; }
.award-awards .progress { background: #d9e5e7; }
.award-awards .progress-bar { background: #006064 !important; }
.award-awards .card a.white-text { color: #006064 !important; }
body.account-dark .award-awards .card { background: #26383d !important; color: #e2f1f0 !important; border-color: #52666a; }
body.account-dark .award-awards .card a.white-text { color: #a6d7d9 !important; }
.award-awards .card-body { padding: .75rem; }
.award-matrix { min-width: 1450px; }
.award-recent { margin-top: 1rem; }
.award-recent table thead th { background: #e2f1f0; color: #26383d; font-weight: 700; }
/* GB keeps its four country awards and existing table structure. */
.gb-award .award-content-card { padding: 1rem; }
.gb-award .award-awards > div .card { border-top: 3px solid #006064 !important; }
.gb-award #award-county-map { min-height: 460px; }
.gb-country-progress p { display: flex; justify-content: space-between; gap: .5rem; margin: .4rem 0; font-size: .82rem; }
.award-extra-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.award-extra-stats .award-next-award { font-size: 1.1rem; }
.award-progress-details .award-detail-head,
.award-progress-details .award-detail-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); }
.award-progress-details .award-detail-row > span { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .award-extra-stats { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .gb-award .award-content-card { padding: .75rem; }
    .gb-award #award-county-map { min-height: 340px; }
}
body.account-dark .award-map-popup { color: #e2f1f0; }
body.account-dark .award-map-popup strong { color: #a6d7d9; }
/* County matrices in the shared dark theme. */
body.account-dark .award-matrix-scroll { border-color: #52666a; }
body.account-dark .award-matrix tbody td,
body.account-dark .award-matrix tbody tr td:first-child { background: #26383d; color: #e2f1f0; }
body.account-dark .award-matrix tbody tr:nth-child(even) td { background: #2c4149; }
body.account-dark .award-matrix thead th { background: #314951 !important; color: #e2f1f0 !important; }
body.account-dark .award-matrix .teal-text { color: #7cc4c7 !important; }
body.account-dark .award-matrix .text-primary { color: #90caf9 !important; }
body.account-dark .award-matrix .text-danger { color: #ffab91 !important; }
body.account-dark .award-updated,
body.account-dark .award-legend { color: #c4d5dc; }
