.bike-db-public {
    overflow-x: auto;
    color: #18212f;
}

.bike-db-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    padding: 12px;
    background: #f7f9fb;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
}

.bike-db-filter input,
.bike-db-filter select,
.bike-db-filter button {
    min-height: 36px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    padding: 6px 10px;
    background: #fff;
}

.bike-db-filter button {
    background: #223044;
    color: #fff;
    cursor: pointer;
}

.bike-db-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    overflow: hidden;
}

.bike-db-table th,
.bike-db-table td {
    border: 0;
    border-bottom: 1px solid #e7ebf0;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.bike-db-table th {
    background: #f3f6f9;
    color: #455466;
    font-weight: 600;
    white-space: nowrap;
}

.bike-db-table tbody tr:last-child td {
    border-bottom: 0;
}

.bike-db-table-rich tbody tr:hover {
    background: #f8fafc;
}

.bike-db-link-strong,
.bike-db-public a {
    color: #14558f;
    font-weight: 600;
    text-decoration: none;
}

.bike-db-public a:hover {
    text-decoration: underline;
}

.bike-db-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bike-db-link-card {
    display: block;
    min-height: 108px;
    padding: 16px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 38, 52, 0.06);
}

.bike-db-link-card strong,
.bike-db-link-card span {
    display: block;
}

.bike-db-link-card strong {
    margin: 0 0 8px;
    color: #18212f;
    font-size: 18px;
    line-height: 1.35;
}

.bike-db-link-card span {
    color: #667386;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.bike-db-meta {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 6px 14px;
}

.bike-db-meta dt {
    font-weight: 600;
}

.bike-db-meta dd {
    margin: 0;
}

.bike-db-section-head,
.bike-db-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin: 0 0 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(25, 38, 52, 0.06);
}

.bike-db-section-head h2,
.bike-db-hero h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
}

.bike-db-section-head p,
.bike-db-kicker {
    margin: 0;
    color: #667386;
}

.bike-db-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bike-db-chip-row,
.bike-db-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 14px;
}

.bike-db-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid #c7d7e8;
    border-radius: 999px;
    background: #eef5fb;
    color: #244664;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.bike-db-badge-muted {
    border-color: #d7dde5;
    background: #f4f6f8;
    color: #4d5b6b;
}

.bike-db-badge-warning {
    border-color: #ead7aa;
    background: #fff7e6;
    color: #7a5417;
}

.bike-db-badge-alert {
    border-color: #e5b8b8;
    background: #fff0f0;
    color: #8b2b2b;
}

.bike-db-score,
.bike-db-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 28px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #172233;
    color: #fff;
    font-weight: 700;
}

.bike-db-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 8px;
    min-width: 250px;
}

.bike-db-stat {
    padding: 10px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
}

.bike-db-stat span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.bike-db-stat small {
    color: #667386;
}

.bike-db-callout {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-left: 4px solid #376f9f;
    background: #f2f7fb;
    border-radius: 6px;
    font-weight: 600;
}

.bike-db-calendar-year {
    margin: 0 0 18px;
}

.bike-db-calendar-year h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.bike-db-calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bike-db-calendar-month {
    min-height: 118px;
    padding: 10px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #fff;
}

.bike-db-calendar-month.is-empty {
    background: #f8fafc;
}

.bike-db-calendar-title {
    margin: 0 0 8px;
    color: #667386;
    font-size: 12px;
    font-weight: 700;
}

.bike-db-calendar-item {
    display: block;
    margin: 0 0 8px;
    padding: 8px;
    border: 1px solid #d7e1eb;
    border-radius: 6px;
    background: #f7fbff;
}

.bike-db-calendar-item strong,
.bike-db-calendar-item small,
.bike-db-calendar-date {
    display: block;
}

.bike-db-calendar-item strong {
    margin: 2px 0;
    color: #18212f;
    font-size: 13px;
    line-height: 1.35;
}

.bike-db-calendar-item small,
.bike-db-calendar-date {
    color: #667386;
    font-size: 12px;
}

@media (max-width: 760px) {
    .bike-db-section-head,
    .bike-db-hero {
        display: block;
    }

    .bike-db-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
        margin-top: 12px;
    }

    .bike-db-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bike-db-link-grid {
        grid-template-columns: 1fr;
    }
}
