.rc-racer-hwb-wrap{max-width:1100px;margin:0 auto;padding:16px 0}.rc-racer-hwb-header{margin-bottom:24px}.rc-racer-hwb-header h2,.rc-racer-hwb-wrap h2,.rc-racer-hwb-wrap h3{margin:0 0 8px}.rc-racer-hwb-meta{color:#666;margin:0 0 16px}.rc-racer-hwb-section{margin:28px 0}.rc-racer-hwb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.rc-racer-hwb-card{display:block;padding:16px;border:1px solid #ddd;border-radius:12px;background:#fff;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:transform .15s ease,box-shadow .15s ease}.rc-racer-hwb-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.rc-racer-hwb-card-title{display:block;font-weight:600;color:#1f2937;margin-bottom:6px}.rc-racer-hwb-card-type{display:block;font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.rc-racer-hwb-table-wrap{overflow-x:auto}.rc-racer-hwb-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #ddd}.rc-racer-hwb-table th,.rc-racer-hwb-table td{padding:10px 12px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}.rc-racer-hwb-table th{background:#f7f7f7}.rc-racer-hwb-list-lines{border:1px solid #ddd;border-radius:12px;overflow:hidden;background:#fff}.rc-racer-hwb-line{padding:12px 14px;border-bottom:1px solid #eee}.rc-racer-hwb-line:last-child{border-bottom:none}.rc-racer-hwb-notice{padding:14px 16px;border:1px solid #ddd;border-radius:12px;background:#fffbe6}.rc-racer-hwb-chart-wrap{padding:16px;border:1px solid #ddd;border-radius:12px;background:#fff;overflow-x:auto}.rc-racer-hwb-chart{width:100%;height:auto;display:block;min-width:760px}.rc-racer-hwb-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px}.rc-racer-hwb-legend-item{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#1f2937}.rc-racer-hwb-legend-swatch{width:14px;height:14px;border-radius:999px;display:inline-block;flex:0 0 14px}.rc-racer-hwb-lap-table th:first-child,.rc-racer-hwb-lap-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.rc-racer-hwb-lap-table th:first-child{background:#f7f7f7;z-index:2}
.rc-racer-hwb-lap-wobble{background:#fef3c7}.rc-racer-hwb-lap-crash{background:#fee2e2}.rc-racer-hwb-table td.rc-racer-hwb-lap-wobble,.rc-racer-hwb-table td.rc-racer-hwb-lap-crash{font-weight:600}
.rc-racer-hwb-summary-stats{margin:0 0 18px}.rc-racer-hwb-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-bottom:10px}.rc-racer-hwb-summary-stack{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.rc-racer-hwb-summary-link{margin:0;padding:12px 16px;border-top:1px solid #eee;background:#fff}.rc-racer-hwb-summary-full-list{margin-top:16px}.rc-racer-hwb-summary-card{padding:0;border:1px solid #ddd;border-radius:12px;background:#fff;overflow:hidden}.rc-racer-hwb-summary-card h4{margin:0;padding:14px 16px;border-bottom:1px solid #eee;background:#f7f7f7}.rc-racer-hwb-summary-card .rc-racer-hwb-table{border:none}.rc-racer-hwb-summary-card .rc-racer-hwb-table th,.rc-racer-hwb-summary-card .rc-racer-hwb-table td{font-size:14px}


.rc-racer-hwb-window-links {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 16px;
}
.rc-racer-hwb-window-link {
    display:inline-block;
    padding:8px 12px;
    border:1px solid #d0d7de;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
}
.rc-racer-hwb-window-link--active {
    background:#eef4ff;
    border-color:#9cb6e6;
}


.rc-racer-hwb-hub-group {
    margin: 0 0 28px;
}
.rc-racer-hwb-hub-group-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin: 0 0 14px;
}
.rc-racer-hwb-hub-group-header h3 {
    margin:0;
    font-size: 1.4rem;
}
.rc-racer-hwb-group-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background:#eef2f6;
    color:#294766;
    font-weight:700;
    font-size: 0.85rem;
}
.rc-racer-hwb-grid--hub {
    gap: 18px;
}
.rc-racer-hwb-card--meeting {
    padding: 16px 16px 18px;
    text-decoration:none;
}
.rc-racer-hwb-card-topline {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom: 10px;
}
.rc-racer-hwb-badge {
    display:inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.rc-racer-hwb-badge--club {
    background:#e7f7ed;
    color:#1f7a42;
}
.rc-racer-hwb-badge--event {
    background:#ebf2ff;
    color:#2754c5;
}
.rc-racer-hwb-badge--other {
    background:#f2f4f7;
    color:#475467;
}
.rc-racer-hwb-latest-badge {
    display:inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background:#fff4cc;
    color:#8a5a00;
    font-size:12px;
    font-weight:700;
}
.rc-racer-hwb-card-date {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.rc-racer-hwb-card--meeting h4 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.2;
}
.rc-racer-hwb-card-meta {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    color:#5b6b7b;
}
.rc-racer-hwb-empty {
    border:1px dashed #c7d0d9;
    border-radius:12px;
    padding:18px;
    color:#5b6b7b;
    background:#fafbfc;
}
@media (max-width: 700px) {
    .rc-racer-hwb-card-topline {
        flex-wrap:wrap;
        justify-content:flex-start;
    }
    .rc-racer-hwb-card--meeting h4 {
        font-size: 1.2rem;
    }
}


.rc-racer-hwb-hover-table tbody tr:hover td {
    background: #eef4ff;
}
.rc-racer-hwb-hover-table tbody tr {
    transition: background-color 0.15s ease;
}


.rc-racer-hwb-card--series {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.rc-racer-hwb-series-rounds {
    margin-top: 10px;
    font-size: 12px;
    color: #5b6b7b;
}


.rc-racer-hwb-series-logo {
    margin: 4px 0 12px;
}
.rc-racer-hwb-series-logo img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    display: block;
}


.rc-racer-hwb-edit-row td {
    background: #f8fafc;
}


.rc-racer-hwb-stat-card {
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:14px 16px;
}
.rc-racer-hwb-stat-value {
    font-size:1.5rem;
    font-weight:700;
    color:#1f2937;
}
.rc-racer-hwb-stat-label {
    font-size:.9rem;
    color:#6b7280;
    margin-top:4px;
}


.rc-racer-hwb-driver-results {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #d0d7de;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    z-index:50;
    margin-top:6px;
    overflow:hidden;
}
.rc-racer-hwb-driver-result-item {
    display:block;
    padding:12px 14px;
    text-decoration:none;
    color:#1f2937;
    border-top:1px solid #eef2f6;
}
.rc-racer-hwb-driver-result-item:first-child {
    border-top:none;
}
.rc-racer-hwb-driver-result-item:hover {
    background:#eef4ff;
}


.rc-racer-hwb-card--series {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .rc-racer-hwb-card--series {
        grid-column: span 1;
    }
}


.rc-racer-hwb-card--meeting {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .rc-racer-hwb-card--meeting {
        grid-column: span 1;
    }
}


.rc-racer-hwb-progress-chart-wrap {
    overflow-x: auto;
    border: 1px solid #d0d7de;
    border-radius: 16px;
    background: #fff;
    padding: 12px;
}
.rc-racer-hwb-progress-chart {
    width: 100%;
    min-width: 760px;
    height: auto;
    display: block;
}
.rc-racer-hwb-chart-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: #475467;
    font-size: 0.95rem;
}
.rc-racer-hwb-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rc-racer-hwb-chart-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}
.rc-racer-hwb-chart-dot--qual {
    background: #2271b1;
}
.rc-racer-hwb-chart-dot--final {
    background: #16a34a;
}

.rc-racer-hwb-driver-hero{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 18px;padding:18px 20px;border:1px solid #ddd;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.rc-racer-hwb-driver-kicker{display:inline-block;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5b6b7b}
.rc-racer-hwb-driver-actions{display:flex;gap:10px;flex-wrap:wrap}
.rc-racer-hwb-summary-grid--compact{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.rc-racer-hwb-summary-grid--mini{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:14px}
.rc-racer-hwb-driver-grid,.rc-racer-hwb-driver-garage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rc-racer-hwb-panel{padding:18px;border:1px solid #ddd;border-radius:16px;background:#fff}
.rc-racer-hwb-panel h3,.rc-racer-hwb-panel h4{margin:0 0 12px}
.rc-racer-hwb-driver-notes{display:grid;gap:10px}
.rc-racer-hwb-driver-note{padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb}
.rc-racer-hwb-driver-list{margin:0;padding-left:18px}
.rc-racer-hwb-driver-list li{margin:0 0 8px}
.rc-racer-hwb-sortable-head{cursor:pointer;user-select:none;position:relative;padding-right:26px !important}
.rc-racer-hwb-sortable-head::after{content:'↕';position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px;color:#8a94a6}
.rc-racer-hwb-sortable-head.is-sorted::after{content:'▲';color:#294766}
.rc-racer-hwb-sortable-head.is-sorted.is-desc::after{content:'▼'}
.rc-racer-hwb-table--sortable-ready th[role="button"]:focus{outline:2px solid #9cb6e6;outline-offset:-2px}
@media (max-width: 768px){.rc-racer-hwb-driver-hero{align-items:flex-start;flex-direction:column}.rc-racer-hwb-driver-grid,.rc-racer-hwb-driver-garage-grid{grid-template-columns:1fr}}
