/* /Components/BaselineMap.razor.rz.scp.css */
.hex-svg[b-ngfhgl5w1l] {
    width: 100%;
    max-height: 500px;
}

.hex-cell[b-ngfhgl5w1l] {
    cursor: pointer;
    stroke: #fff;
    stroke-width: 1;
    transition: opacity 0.15s;
}

.hex-cell:hover[b-ngfhgl5w1l] {
    stroke: #333;
    stroke-width: 2;
    filter: brightness(1.15);
}

[b-ngfhgl5w1l] .province-label {
    font-size: 11px;
    font-weight: 600;
    fill: #333;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.placeholder[b-ngfhgl5w1l] {
    color: #999;
    font-size: 0.9rem;
    padding: 2rem;
    text-align: center;
}
/* /Components/CanadaMap.razor.rz.scp.css */
.canada-map[b-f8j2nancv4] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.canada-map h3[b-f8j2nancv4] {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: #333;
}

.map-legend[b-f8j2nancv4] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.legend-item[b-f8j2nancv4] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #666;
}

.legend-dot[b-f8j2nancv4] {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.view-toggle[b-f8j2nancv4] {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
}

.toggle-btn[b-f8j2nancv4] {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    border: 1px solid #ccc;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.toggle-btn:first-child[b-f8j2nancv4] {
    border-radius: 4px 0 0 4px;
}

.toggle-btn:last-child[b-f8j2nancv4] {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.toggle-btn.active[b-f8j2nancv4] {
    background: #333;
    color: #fff;
    border-color: #333;
}

.cartogram[b-f8j2nancv4] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.region-block[b-f8j2nancv4] {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 0.5rem;
}

.region-label[b-f8j2nancv4] {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.riding-grid[b-f8j2nancv4] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.riding-cell[b-f8j2nancv4] {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
}

.riding-cell:hover[b-f8j2nancv4] {
    transform: scale(1.8);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 1;
    position: relative;
}

.section-divider[b-f8j2nancv4] {
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.placeholder[b-f8j2nancv4] {
    color: #999;
    font-size: 0.9rem;
    padding: 2rem;
    text-align: center;
}
/* /Components/CloseRidingsTable.razor.rz.scp.css */
.close-ridings-table[b-f7s6stevnf] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.close-ridings-table h3[b-f7s6stevnf] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.subtitle[b-f7s6stevnf] {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-left: 0.5rem;
}

.table-scroll[b-f7s6stevnf] {
    overflow-x: auto;
}

table[b-f7s6stevnf] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th[b-f7s6stevnf] {
    text-align: center;
    padding: 0.5rem 0.6rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 700;
    font-size: 0.8rem;
}

th.col-province[b-f7s6stevnf],
th.col-riding[b-f7s6stevnf] {
    text-align: left;
}

th.col-projection[b-f7s6stevnf] {
    text-align: center;
}

td[b-f7s6stevnf] {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.col-province[b-f7s6stevnf] {
    white-space: nowrap;
    color: #666;
}

.col-riding[b-f7s6stevnf] {
    white-space: nowrap;
}

.col-projection[b-f7s6stevnf] {
    text-align: center;
}

tbody tr[b-f7s6stevnf] {
    cursor: pointer;
    transition: background 0.15s;
}

tbody tr:hover[b-f7s6stevnf] {
    background: #f8f9fa;
}

.badge[b-f7s6stevnf] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.vote-cell[b-f7s6stevnf] {
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    white-space: nowrap;
}

.vote-cell.empty[b-f7s6stevnf] {
    color: #ccc;
}

.pm[b-f7s6stevnf] {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.78rem;
}

.count-label[b-f7s6stevnf] {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
}

th.sortable[b-f7s6stevnf] {
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

th.sortable:hover[b-f7s6stevnf] {
    background: #f5f5f5;
}

th.sorted[b-f7s6stevnf] {
    background: #f0f4ff;
}

.no-close[b-f7s6stevnf] {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}
/* /Components/FlippedRidingsTable.razor.rz.scp.css */
.flipped-ridings-table[b-npmgnf19oq] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.flipped-ridings-table h3[b-npmgnf19oq] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.subtitle[b-npmgnf19oq] {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-left: 0.5rem;
}

.table-scroll[b-npmgnf19oq] {
    overflow-x: auto;
}

table[b-npmgnf19oq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th[b-npmgnf19oq] {
    text-align: center;
    padding: 0.5rem 0.6rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 700;
    font-size: 0.8rem;
}

th.col-province[b-npmgnf19oq],
th.col-riding[b-npmgnf19oq] {
    text-align: left;
}

th.col-from[b-npmgnf19oq],
th.col-to[b-npmgnf19oq] {
    text-align: center;
}

th.col-winprob[b-npmgnf19oq] {
    text-align: center;
}

td[b-npmgnf19oq] {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.col-province[b-npmgnf19oq] {
    white-space: nowrap;
    color: #666;
}

.col-riding[b-npmgnf19oq] {
    white-space: nowrap;
}

.col-from[b-npmgnf19oq],
.col-to[b-npmgnf19oq] {
    text-align: center;
}

.col-winprob[b-npmgnf19oq] {
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

tbody tr[b-npmgnf19oq] {
    cursor: pointer;
    transition: background 0.15s;
}

tbody tr:hover[b-npmgnf19oq] {
    background: #f8f9fa;
}

.party-badge[b-npmgnf19oq] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.vote-cell[b-npmgnf19oq] {
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    white-space: nowrap;
}

.vote-cell.empty[b-npmgnf19oq] {
    color: #ccc;
}

.pm[b-npmgnf19oq] {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.78rem;
}

.count-label[b-npmgnf19oq] {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
}

th.sortable[b-npmgnf19oq] {
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

th.sortable:hover[b-npmgnf19oq] {
    background: #f5f5f5;
}

th.sorted[b-npmgnf19oq] {
    background: #f0f4ff;
}

.no-flips[b-npmgnf19oq] {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}
/* /Components/HexCartogram.razor.rz.scp.css */
.hex-svg[b-zrnyh7cgbk] {
    width: 100%;
    max-height: 500px;
}

.hex-cell[b-zrnyh7cgbk] {
    cursor: pointer;
    stroke: #fff;
    stroke-width: 1;
    transition: opacity 0.15s;
}

.hex-cell:hover[b-zrnyh7cgbk] {
    stroke: #333;
    stroke-width: 2;
    filter: brightness(1.15);
}

[b-zrnyh7cgbk] .province-label {
    font-size: 11px;
    font-weight: 600;
    fill: #333;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.placeholder[b-zrnyh7cgbk] {
    color: #999;
    font-size: 0.9rem;
    padding: 2rem;
    text-align: center;
}
/* /Components/MajorityIndicator.razor.rz.scp.css */
.majority-indicator[b-x5zg1l10dn] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.majority-indicator h3[b-x5zg1l10dn] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.majority-grid[b-x5zg1l10dn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.majority-card[b-x5zg1l10dn] {
    padding: 0.75rem;
    background: #f8f8f8;
    border-radius: 6px;
}

.party-label[b-x5zg1l10dn] {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.prob-value[b-x5zg1l10dn] {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.prob-value.minority[b-x5zg1l10dn] {
    font-size: 1.1rem;
    font-weight: 600;
}

.prob-label[b-x5zg1l10dn] {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
}

.prob-bar-bg[b-x5zg1l10dn] {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
    position: relative;
}

.prob-bar-fill[b-x5zg1l10dn] {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

.prob-bar-fill.majority-segment[b-x5zg1l10dn] {
    opacity: 1;
}
/* /Components/PollInputPanel.razor.rz.scp.css */
.poll-input-panel[b-7reqrstxnc] {
    padding: 1rem;
}

.poll-input-panel h3[b-7reqrstxnc] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 600;
}

.section-header[b-7reqrstxnc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-header[b-7reqrstxnc] {
    cursor: pointer;
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.toggle-arrow[b-7reqrstxnc] {
    font-size: 0.75rem;
}

.btn-small[b-7reqrstxnc] {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-small:hover[b-7reqrstxnc] {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.slider-row[b-7reqrstxnc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.slider-row.compact[b-7reqrstxnc] {
    margin-bottom: 0.3rem;
}

.party-badge[b-7reqrstxnc] {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    min-width: 2rem;
    text-align: center;
}

.party-dot[b-7reqrstxnc] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.slider-row input[type="range"][b-7reqrstxnc] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.slider-row input[type="range"][b-7reqrstxnc]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 2px solid rgba(0,0,0,0.2);
}

.share-input[b-7reqrstxnc] {
    width: 3.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    padding: 0.15rem 0.3rem;
    outline: none;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}

.share-input[b-7reqrstxnc]::-webkit-outer-spin-button,
.share-input[b-7reqrstxnc]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.share-input:focus[b-7reqrstxnc] {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
}

.share-input.compact[b-7reqrstxnc] {
    width: 3rem;
    font-size: 0.75rem;
    padding: 0.1rem 0.25rem;
}

.total-row[b-7reqrstxnc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.5rem;
    margin: 0.25rem 0 0.5rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
}

.total-row.total-good[b-7reqrstxnc] {
    background: rgba(76, 175, 80, 0.15);
    color: #81c784;
}

.total-row.total-warn[b-7reqrstxnc] {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
}

.total-row.total-bad[b-7reqrstxnc] {
    background: rgba(244, 67, 54, 0.15);
    color: #e57373;
}

.total-value[b-7reqrstxnc] {
    font-variant-numeric: tabular-nums;
}

.total-status[b-7reqrstxnc] {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    opacity: 0.8;
}

.uncertainty-prefix[b-7reqrstxnc] {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.uncertainty-input[b-7reqrstxnc] {
    width: 2.8rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    padding: 0.1rem 0.25rem;
    outline: none;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}

.uncertainty-input[b-7reqrstxnc]::-webkit-outer-spin-button,
.uncertainty-input[b-7reqrstxnc]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.uncertainty-input:focus[b-7reqrstxnc] {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
}

.region-section[b-7reqrstxnc] {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.region-section h4[b-7reqrstxnc] {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0.5rem 0 0.3rem;
    font-weight: 500;
}
/* /Components/RegionBreakdownTable.razor.rz.scp.css */
.region-table[b-tf8v208xls] {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.region-table h3[b-tf8v208xls] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

table[b-tf8v208xls] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

th[b-tf8v208xls] {
    text-align: center;
    padding: 0.3rem 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 700;
    font-size: 0.75rem;
}

th:first-child[b-tf8v208xls] {
    text-align: left;
}

td[b-tf8v208xls] {
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.region-name[b-tf8v208xls] {
    white-space: nowrap;
}

.riding-count[b-tf8v208xls] {
    text-align: center;
    color: #999;
}

.seat-cell[b-tf8v208xls] {
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    position: relative;
    padding-right: 1.2rem;
}

.total-row td[b-tf8v208xls] {
    border-top: 2px solid #e0e0e0;
    border-bottom: none;
}

.seat-delta[b-tf8v208xls] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
}
/* /Components/RidingDetailPopup.razor.rz.scp.css */
.popup-overlay[b-gr86prti0c] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}

.popup-card[b-gr86prti0c] {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 320px;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
}

.close-btn[b-gr86prti0c] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.25rem;
}

.close-btn:hover[b-gr86prti0c] {
    color: #333;
}

.popup-card h3[b-gr86prti0c] {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #333;
    padding-right: 1.5rem;
}

.riding-meta[b-gr86prti0c] {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
}

/* Current MP */
.current-mp[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.mp-name[b-gr86prti0c] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
}

.mp-name.vacant-text[b-gr86prti0c] {
    color: #5d4037;
    font-style: italic;
}

.mp-party-badge[b-gr86prti0c] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

.prob-bars[b-gr86prti0c] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prob-row[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prob-party[b-gr86prti0c] {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 2.5rem;
}

.prob-bar-bg[b-gr86prti0c] {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.prob-bar-fill[b-gr86prti0c] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.prob-pct[b-gr86prti0c] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Previous result */
.prev-result-section[b-gr86prti0c] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.prev-result-section h4[b-gr86prti0c] {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.prev-result-row[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prev-winner[b-gr86prti0c] {
    font-weight: 700;
    font-size: 0.95rem;
}

.prev-vote-share[b-gr86prti0c] {
    font-size: 0.85rem;
    color: #555;
    font-variant-numeric: tabular-nums;
}

.flip-badge[b-gr86prti0c] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    margin-left: auto;
}

.flip-badge.hold[b-gr86prti0c] {
    background: #eceff1;
    color: #455a64;
}

.flip-badge.flip[b-gr86prti0c] {
    background: #fff8e1;
    color: #9e6d00;
}

.flip-badge.vacant[b-gr86prti0c] {
    background: #efebe9;
    color: #5d4037;
}

.prev-runners-up[b-gr86prti0c] {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.runner-up[b-gr86prti0c] {
    font-weight: 500;
}

/* Post-election events */
.post-election-section[b-gr86prti0c] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.post-election-section h4[b-gr86prti0c] {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.event-row[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.event-date[b-gr86prti0c] {
    font-size: 0.75rem;
    color: #999;
    min-width: 5rem;
}

.event-arrow[b-gr86prti0c] {
    font-size: 0.85rem;
    color: #999;
}

.event-type[b-gr86prti0c] {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.event-desc[b-gr86prti0c] {
    font-size: 0.75rem;
    color: #888;
    width: 100%;
    padding-left: 5rem;
}

.party-badge[b-gr86prti0c] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

.by-election-results[b-gr86prti0c] {
    margin: 0.25rem 0 0.5rem 5rem;
    font-size: 0.8rem;
}

.by-election-row[b-gr86prti0c] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.by-election-row .vote-count[b-gr86prti0c] {
    color: #999;
    font-size: 0.75rem;
}

/* Demographics */
.demographics-section[b-gr86prti0c] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.demographics-section h4[b-gr86prti0c] {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.demo-grid[b-gr86prti0c] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.demo-item[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.demo-label[b-gr86prti0c] {
    font-size: 0.75rem;
    color: #888;
    min-width: 5.5rem;
    text-decoration: underline dotted #ccc;
    text-underline-offset: 2px;
    cursor: help;
}

.demo-bar-bg[b-gr86prti0c] {
    flex: 1;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.demo-bar-fill[b-gr86prti0c] {
    height: 100%;
    background: #6b7280;
    border-radius: 3px;
}

.demo-value[b-gr86prti0c] {
    font-size: 0.75rem;
    color: #666;
    min-width: 2rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Vote share box plots */
.vote-share-section[b-gr86prti0c] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.vote-share-section h4[b-gr86prti0c] {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.box-plots[b-gr86prti0c] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.box-row[b-gr86prti0c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.box-party[b-gr86prti0c] {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 2.5rem;
}

.box-track[b-gr86prti0c] {
    flex: 1;
    height: 16px;
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
}

.box-whisker[b-gr86prti0c] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-top: 2px solid;
    box-sizing: border-box;
}

.box-whisker[b-gr86prti0c]::before,
.box-whisker[b-gr86prti0c]::after {
    content: '';
    position: absolute;
    top: -5px;
    width: 2px;
    height: 10px;
    background: inherit;
    border-color: inherit;
    background-color: currentColor;
}

.box-whisker[b-gr86prti0c]::before {
    left: 0;
}

.box-whisker[b-gr86prti0c]::after {
    right: 0;
}

.box-iqr[b-gr86prti0c] {
    position: absolute;
    top: 2px;
    height: 12px;
    border-radius: 3px;
    opacity: 0.35;
}

.box-median[b-gr86prti0c] {
    position: absolute;
    top: 1px;
    width: 3px;
    height: 14px;
    border-radius: 1px;
    transform: translateX(-1.5px);
}

.share-pip[b-gr86prti0c] {
    position: absolute;
    bottom: -6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.25px solid #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    z-index: 2;
    cursor: help;
}

.share-pip-election[b-gr86prti0c] {
    background: #333;
}

.share-pip-current[b-gr86prti0c] {
    background: #d4a017;
}

.box-pct[b-gr86prti0c] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.box-axis[b-gr86prti0c] {
    display: flex;
    justify-content: space-between;
    padding-left: calc(2.5rem + 0.5rem);
    padding-right: calc(3rem + 0.5rem);
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #aaa;
}
/* /Components/RidingSearchCard.razor.rz.scp.css */
.riding-search-card[b-mr799vi45t] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.riding-search-card h3[b-mr799vi45t] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.search-wrapper[b-mr799vi45t] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-input[b-mr799vi45t] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
}

.search-input:focus[b-mr799vi45t] {
    border-color: #888;
}

.clear-btn[b-mr799vi45t] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #999;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

.clear-btn:hover[b-mr799vi45t] {
    color: #333;
}

/* Autocomplete dropdown */
.autocomplete-dropdown[b-mr799vi45t] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 10;
    max-height: 280px;
    overflow-y: auto;
}

.autocomplete-item[b-mr799vi45t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.1s;
}

.autocomplete-item:hover[b-mr799vi45t],
.autocomplete-item.highlighted[b-mr799vi45t] {
    background: #f5f5f5;
}

.autocomplete-item:first-child[b-mr799vi45t] {
    border-radius: 6px 6px 0 0;
}

.autocomplete-item:last-child[b-mr799vi45t] {
    border-radius: 0 0 6px 6px;
}

.ac-name[b-mr799vi45t] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

[b-mr799vi45t] .ac-highlight {
    background: #fef08a;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

.ac-province[b-mr799vi45t] {
    font-size: 0.8rem;
    color: #999;
}

/* Riding detail inline */
.riding-detail-inline[b-mr799vi45t] {
    margin-top: 1rem;
}

.riding-meta[b-mr799vi45t] {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
}

/* MP section */
.mp-section[b-mr799vi45t] {
    margin-bottom: 0.75rem;
}

.current-mp-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.current-mp-label[b-mr799vi45t] {
    font-size: 0.75rem;
    color: #999;
    min-width: 4.5rem;
}

.current-mp-name[b-mr799vi45t] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.current-mp-name.vacant-text[b-mr799vi45t] {
    color: #5d4037;
    font-style: italic;
}

.mp-party-badge[b-mr799vi45t] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

.mp-history[b-mr799vi45t] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.25rem;
}

.mp-history-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mp-history-year[b-mr799vi45t] {
    font-size: 0.75rem;
    color: #999;
    min-width: 2.5rem;
    font-variant-numeric: tabular-nums;
}

.mp-history-name[b-mr799vi45t] {
    font-size: 0.8rem;
    color: #555;
}

/* Compare search */
.compare-search-section[b-mr799vi45t] {
    margin-bottom: 1rem;
}

.compare-input-wrapper[b-mr799vi45t] {
    margin-bottom: 0;
}

.compare-input[b-mr799vi45t] {
    font-size: 0.85rem !important;
    padding: 0.35rem 0.65rem !important;
}

.compare-riding-meta[b-mr799vi45t] {
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* Section labels for comparison mode */
.riding-section-label[b-mr799vi45t] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #eee;
}

.compare-section-label[b-mr799vi45t] {
    margin-top: 0.75rem;
}

.prob-bars[b-mr799vi45t] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prob-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prob-party[b-mr799vi45t] {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 2.5rem;
}

.prob-bar-bg[b-mr799vi45t] {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.prob-bar-fill[b-mr799vi45t] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.prob-pct[b-mr799vi45t] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Previous result / Radar */
.prev-result-section[b-mr799vi45t] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.prev-result-section h4[b-mr799vi45t] {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

[b-mr799vi45t] .demo-radar-label {
    font-size: 13px;
}

[b-mr799vi45t] .demo-radar-underline {
    text-decoration: underline dotted #aaa;
    text-underline-offset: 2px;
}

/* Side-by-side radar layout */
.radar-pair[b-mr799vi45t] {
    display: flex;
    flex-direction: column;
}

.radar-pair.has-demo[b-mr799vi45t] {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.radar-panel[b-mr799vi45t] {
    flex: 1;
    min-width: 0;
}

.radar-panel h4[b-mr799vi45t] {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-align: center;
}

.radar-container[b-mr799vi45t] {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0;
}

.radar-svg[b-mr799vi45t] {
    width: 100%;
    max-width: 450px;
    height: auto;
}

[b-mr799vi45t] .radar-grid-ring {
    fill: none;
    stroke: #c0c0c0;
    stroke-width: 0.75;
}

[b-mr799vi45t] .radar-axis-line {
    stroke: #c0c0c0;
    stroke-width: 0.5;
}

[b-mr799vi45t] .radar-label {
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.radar-legend[b-mr799vi45t] {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #666;
}

.legend-item[b-mr799vi45t] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.legend-swatch[b-mr799vi45t] {
    display: inline-block;
    width: 12px;
    height: 3px;
    border-radius: 1px;
}

.legend-swatch-dashed[b-mr799vi45t] {
    background: repeating-linear-gradient(
        90deg,
        currentColor 0px,
        currentColor 4px,
        transparent 4px,
        transparent 6px
    ) !important;
}

.radar-flip-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.prev-winner-name[b-mr799vi45t] {
    font-weight: 600;
    font-size: 0.85rem;
}

.flip-badge[b-mr799vi45t] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15em 0.5em;
    border-radius: 4px;
}

.flip-badge.hold[b-mr799vi45t] {
    background: #eceff1;
    color: #455a64;
}

.flip-badge.flip[b-mr799vi45t] {
    background: #fff8e1;
    color: #9e6d00;
}

/* Vote share box plots */
.vote-share-section[b-mr799vi45t] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.vote-share-section h4[b-mr799vi45t] {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.box-plots[b-mr799vi45t] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.box-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.box-party[b-mr799vi45t] {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 2.5rem;
}

.box-track[b-mr799vi45t] {
    flex: 1;
    height: 16px;
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
}

.box-whisker[b-mr799vi45t] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-top: 2px solid;
    box-sizing: border-box;
}

.box-whisker[b-mr799vi45t]::before,
.box-whisker[b-mr799vi45t]::after {
    content: '';
    position: absolute;
    top: -5px;
    width: 2px;
    height: 10px;
    background: inherit;
    border-color: inherit;
    background-color: currentColor;
}

.box-whisker[b-mr799vi45t]::before {
    left: 0;
}

.box-whisker[b-mr799vi45t]::after {
    right: 0;
}

.box-iqr[b-mr799vi45t] {
    position: absolute;
    top: 2px;
    height: 12px;
    border-radius: 3px;
    opacity: 0.35;
}

.box-median[b-mr799vi45t] {
    position: absolute;
    top: 1px;
    width: 3px;
    height: 14px;
    border-radius: 1px;
    transform: translateX(-1.5px);
}

.share-pip[b-mr799vi45t] {
    position: absolute;
    bottom: -6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.25px solid #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    z-index: 2;
    cursor: help;
}

.share-pip-election[b-mr799vi45t] {
    background: #333;
}

.share-pip-current[b-mr799vi45t] {
    background: #d4a017;
}

.box-pct[b-mr799vi45t] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.box-axis[b-mr799vi45t] {
    display: flex;
    justify-content: space-between;
    padding-left: calc(2.5rem + 0.5rem);
    padding-right: calc(3rem + 0.5rem);
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #aaa;
}

/* Election history section */
.election-history-section[b-mr799vi45t] {
    margin-top: 1.25rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.election-history-section h4[b-mr799vi45t] {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.mp-history-row .mp-party-badge[b-mr799vi45t],
.mp-event-row .mp-party-badge[b-mr799vi45t] {
    min-width: 2.2rem;
    text-align: center;
    display: inline-block;
}

/* Post-election event rows (floor crossings, vacancies, by-elections) */
.mp-event-row[b-mr799vi45t] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-left: 0.5rem;
    border-left: 2px solid #ddd;
    margin-left: 0.7rem;
}

.mp-event-date[b-mr799vi45t] {
    font-size: 0.75rem;
    color: #aaa;
    min-width: 3.5rem;
    font-variant-numeric: tabular-nums;
}

.mp-event-label[b-mr799vi45t] {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
}

.mp-badge-vacant[b-mr799vi45t] {
    background: #f3f4f6;
    color: #999;
    border: 1px solid #ddd;
}

/* Side-by-side history columns */
.history-columns.has-compare[b-mr799vi45t] {
    display: flex;
    gap: 1rem;
}

.history-column[b-mr799vi45t] {
    flex: 1;
    min-width: 0;
}
/* /Components/SeatBarChart.razor.rz.scp.css */
.seat-chart[b-5z8hu7ynen] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.seat-chart h3[b-5z8hu7ynen] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.majority-line-label[b-5z8hu7ynen] {
    text-align: right;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.bar-row[b-5z8hu7ynen] {
    margin-bottom: 0.75rem;
}

.bar-label[b-5z8hu7ynen] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.party-name[b-5z8hu7ynen] {
    font-weight: 600;
    font-size: 0.9rem;
}

.seat-mean-group[b-5z8hu7ynen] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
}

.seat-mean[b-5z8hu7ynen] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
}

.seat-delta[b-5z8hu7ynen] {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bar-container[b-5z8hu7ynen] {
    position: relative;
    height: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: visible;
}

.ci-95[b-5z8hu7ynen], .ci-68[b-5z8hu7ynen] {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 4px;
}

.mean-marker[b-5z8hu7ynen] {
    position: absolute;
    top: 2px;
    width: 3px;
    height: 20px;
    border-radius: 2px;
    transform: translateX(-1px);
}

.majority-line[b-5z8hu7ynen] {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 28px;
    background: #333;
    opacity: 0.3;
}

.pip[b-5z8hu7ynen] {
    position: absolute;
    bottom: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    z-index: 2;
    cursor: help;
}

.pip-election[b-5z8hu7ynen] {
    background: #333;
}

.pip-current[b-5z8hu7ynen] {
    background: #d4a017;
}

.bar-value[b-5z8hu7ynen] {
    position: absolute;
    top: -1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #333;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 0.2rem;
    border-radius: 3px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.bar-row:hover .bar-value[b-5z8hu7ynen] {
    opacity: 1;
}

.bar-range[b-5z8hu7ynen] {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.15rem;
    font-variant-numeric: tabular-nums;
}

.seat-annotation[b-5z8hu7ynen] {
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 0.5rem;
}

.vacant-annotation[b-5z8hu7ynen] {
    font-size: 0.8rem;
    color: #5d4037;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: #efebe9;
    border-radius: 4px;
    display: inline-block;
}

.placeholder[b-5z8hu7ynen] {
    color: #999;
    font-size: 0.9rem;
    padding: 2rem;
    text-align: center;
}
/* /Components/SeatHistogram.razor.rz.scp.css */
.seat-histogram[b-bfj41vyfc5] {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.seat-histogram h3[b-bfj41vyfc5] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.party-selector[b-bfj41vyfc5] {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.party-selector button[b-bfj41vyfc5] {
    padding: 0.3rem 0.7rem;
    border: 2px solid;
    border-radius: 4px;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.histogram-svg[b-bfj41vyfc5] {
    width: 100%;
    max-height: 200px;
}

.stats-row[b-bfj41vyfc5] {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.stat[b-bfj41vyfc5] {
    display: flex;
    flex-direction: column;
}

.stat-label[b-bfj41vyfc5] {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.stat-value[b-bfj41vyfc5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    font-variant-numeric: tabular-nums;
}
/* /Components/SectionNav.razor.rz.scp.css */
.section-nav[b-k4zrxbx3mw] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 0.6rem 0.75rem;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.section-nav[b-k4zrxbx3mw]::-webkit-scrollbar {
    display: none;
}

.section-nav-link[b-k4zrxbx3mw] {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s;
    flex-shrink: 0;
}

.section-nav-link:hover[b-k4zrxbx3mw] {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.section-nav-link.active[b-k4zrxbx3mw] {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}
/* /Components/SimulationControls.razor.rz.scp.css */
.sim-controls[b-aqya51q8t1] {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.control-row[b-aqya51q8t1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.control-row label[b-aqya51q8t1] {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.control-row select[b-aqya51q8t1] {
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color-scheme: dark;
}

.control-row select option[b-aqya51q8t1] {
    background: #2a2a2a;
    color: #fff;
}

.toggle-switch[b-aqya51q8t1] {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    cursor: pointer;
}

.toggle-switch input[b-aqya51q8t1] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-aqya51q8t1] {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: background 0.2s;
}

.toggle-slider[b-aqya51q8t1]::before {
    content: '';
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider[b-aqya51q8t1] {
    background: #D71920;
}

.toggle-switch input:checked + .toggle-slider[b-aqya51q8t1]::before {
    transform: translateX(16px);
}

.run-btn[b-aqya51q8t1] {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: #D71920;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.15s;
}

.run-btn:hover:not(:disabled)[b-aqya51q8t1] {
    background: #b5161c;
}

.run-btn:disabled[b-aqya51q8t1] {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner[b-aqya51q8t1] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-aqya51q8t1 0.6s linear infinite;
}

@keyframes spin-b-aqya51q8t1 {
    to { transform: rotate(360deg); }
}

.progress-container[b-aqya51q8t1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.progress-track[b-aqya51q8t1] {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill[b-aqya51q8t1] {
    height: 100%;
    background: #D71920;
    border-radius: 3px;
    transition: width 0.15s ease-out;
}

.progress-label[b-aqya51q8t1] {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    min-width: 2.5rem;
    text-align: right;
}

.share-btn[b-aqya51q8t1] {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.15s;
}

.share-btn:hover:not(:disabled)[b-aqya51q8t1] {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.share-btn:disabled[b-aqya51q8t1] {
    opacity: 0.4;
    cursor: not-allowed;
}

.error-msg[b-aqya51q8t1] {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(215,25,32,0.2);
    border: 1px solid rgba(215,25,32,0.4);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ff8a8a;
}
/* /Components/TrendChartCard.razor.rz.scp.css */
/* Styles in wwwroot/css/app.css — scoped CSS not reliably bundled for new files on server */
/* /Components/TrendLineChart.razor.rz.scp.css */
.trend-line-chart[b-w31dp77lkr] {
    position: relative;
}

.chart-title[b-w31dp77lkr] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

svg[b-w31dp77lkr] {
    width: 100%;
    height: auto;
    display: block;
}

.hover-col[b-w31dp77lkr] {
    cursor: pointer;
}

.tooltip[b-w31dp77lkr] {
    position: absolute;
    top: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    pointer-events: none;
    width: max-content;
}

.tooltip-date[b-w31dp77lkr] {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.35rem;
    white-space: nowrap;
}

.tooltip-row[b-w31dp77lkr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: nowrap;
    padding: 1px 0;
}

.tooltip-dot[b-w31dp77lkr] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tooltip-dot-dashed[b-w31dp77lkr] {
    background: transparent !important;
    border: 1.5px solid;
    width: 5px;
    height: 5px;
}

.tooltip-party[b-w31dp77lkr] {
    font-weight: 600;
    min-width: 28px;
}

.tooltip-label[b-w31dp77lkr] {
    text-align: right;
    min-width: 56px;
    color: #666;
    margin-left: auto;
}

.tooltip-value[b-w31dp77lkr] {
    color: #333;
    text-align: left;
    min-width: 40px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-5iaobuw5ve] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-5iaobuw5ve] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-5iaobuw5ve] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.content[b-5iaobuw5ve] {
    padding: 1.5rem;
    flex: 1;
}

.skip-link[b-5iaobuw5ve] {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #000;
}

.skip-link:focus[b-5iaobuw5ve] {
    top: 0;
}

@media (min-width: 769px) {
    .page[b-5iaobuw5ve] {
        flex-direction: row;
    }

    .sidebar[b-5iaobuw5ve] {
        width: 260px;
        min-height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        max-height: 100vh;
    }

    .content[b-5iaobuw5ve] {
        padding: 2rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.nav-header[b-0keo4yrrnw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand[b-0keo4yrrnw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.brand-icon[b-0keo4yrrnw] {
    font-size: 1.4rem;
}

.nav-toggle[b-0keo4yrrnw] {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

.nav-menu[b-0keo4yrrnw] {
    padding: 0.5rem 0;
}

[b-0keo4yrrnw] .nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

[b-0keo4yrrnw] .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

[b-0keo4yrrnw] .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-left-color: #D71920;
}

@media (max-width: 768.98px) {
    .nav-toggle[b-0keo4yrrnw] {
        display: block;
    }

    .nav-menu.collapse[b-0keo4yrrnw] {
        display: none;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.loading[b-fnobinu470] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    color: #666;
    font-size: 1.1rem;
}

.dashboard[b-fnobinu470] {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
}

.sidebar-panel[b-fnobinu470] {
    width: 350px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 8px;
    overflow: hidden;
    align-self: flex-start;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.main-panel[b-fnobinu470] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.bottom-row[b-fnobinu470] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.snapshot-banner[b-fnobinu470] {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-left: 4px solid #0f3460;
}

.snapshot-label[b-fnobinu470] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    font-weight: 600;
}

.snapshot-date[b-fnobinu470] {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.running-state[b-fnobinu470] {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.running-state .spinner[b-fnobinu470] {
    width: 32px;
    height: 32px;
    margin-bottom: 1.25rem;
}

.running-state h2[b-fnobinu470] {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.5rem;
}

.running-state p[b-fnobinu470] {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
}

.empty-state[b-fnobinu470] {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.empty-icon[b-fnobinu470] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h2[b-fnobinu470] {
    margin: 0 0 0.75rem;
    color: #333;
    font-size: 1.5rem;
}

.empty-state p[b-fnobinu470] {
    color: #666;
    max-width: 500px;
    margin: 0 auto 0.5rem;
    line-height: 1.5;
}

.empty-detail[b-fnobinu470] {
    font-size: 0.85rem;
    color: #999;
}

.trend-loading[b-fnobinu470] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: #888;
    font-size: 0.9rem;
}

.spinner[b-fnobinu470] {
    width: 20px;
    height: 20px;
    border: 3px solid #e0e0e0;
    border-top-color: #0f3460;
    border-radius: 50%;
    animation: spin-b-fnobinu470 0.8s linear infinite;
}

@keyframes spin-b-fnobinu470 {
    to { transform: rotate(360deg); }
}

[b-fnobinu470] .nav-target {
    scroll-margin-top: 3rem;
}

.version-label[b-fnobinu470] {
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .dashboard[b-fnobinu470] {
        flex-direction: column;
    }

    .sidebar-panel[b-fnobinu470] {
        width: 100%;
        position: static;
        max-height: none;
    }

    .bottom-row[b-fnobinu470] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Methodology.razor.rz.scp.css */
.methodology[b-6reinhuca9] {
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.methodology h1[b-6reinhuca9] {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.methodology h2[b-6reinhuca9] {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
    color: #1a1a2e;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.3rem;
}

.methodology h3[b-6reinhuca9] {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
    color: #333;
}

section[b-6reinhuca9] {
    margin-bottom: 1rem;
}

p[b-6reinhuca9] {
    margin: 0 0 0.75rem;
}

ul[b-6reinhuca9] {
    margin: 0 0 0.75rem;
    padding-left: 1.5rem;
}

li[b-6reinhuca9] {
    margin-bottom: 0.4rem;
}

.formula[b-6reinhuca9] {
    background: #f8f8f8;
    border-left: 3px solid #1A4782;
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 0.75rem 0;
    border-radius: 0 4px 4px 0;
}

code[b-6reinhuca9] {
    background: #f0f0f0;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85em;
}

table[b-6reinhuca9] {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

th[b-6reinhuca9], td[b-6reinhuca9] {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

th[b-6reinhuca9] {
    background: #f8f8f8;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #ddd;
}

tr:hover[b-6reinhuca9] {
    background: #fafafa;
}

.note[b-6reinhuca9] {
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
}
