.mcp-page {
    color: #212529;
}

.mcp-page-header {
    min-height: 166px;
}

.mcp-table th {
    white-space: nowrap;
}

.mcp-table td {
    white-space: normal;
}

.mcp-table td.text-end {
    white-space: nowrap;
}

.mcp-key-code {
    font-size: .875rem;
    color: #212529;
    word-break: break-all;
}

.mcp-secret-wrap {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: .5rem;
    padding: .625rem .75rem;
}

.mcp-secret-wrap code {
    color: #842029;
    word-break: break-all;
}

.mcp-tabs .nav-link {
    font-weight: 600;
}

.mcp-usage-month-wrap {
    min-width: 150px;
}

.mcp-usage-total {
    color: #6c757d;
    font-size: .9375rem;
}

.mcp-usage-total-value {
    margin-left: .5rem;
    color: #212529;
    font-size: 1.5rem;
    font-weight: 700;
}

.mcp-usage-chart {
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    background-color: #fff;
    min-height: 260px;
    padding: .75rem .75rem .5rem .75rem;
    display: grid;
    grid-template-columns: repeat(31, minmax(18px, 1fr));
    align-items: end;
    column-gap: 4px;
    overflow-x: auto;
}

.mcp-usage-bar-item {
    min-width: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: .25rem;
}

.mcp-usage-bar-value {
    font-size: .75rem;
    color: #6c757d;
    line-height: 1;
}

.mcp-usage-bar {
    width: 100%;
    min-height: 4px;
    border-radius: .35rem .35rem 0 0;
    background: linear-gradient(180deg, #5dade2 0%, #0d6efd 100%);
}

.mcp-usage-bar-day {
    font-size: .75rem;
    color: #6c757d;
    min-height: 1rem;
    line-height: 1;
}

.mcp-usage-empty {
    grid-column: 1 / -1;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.mcp-doc-card {
    background: #fff;
}

.mcp-doc-alert {
    border-radius: .5rem;
}

.mcp-doc-block {
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .875rem;
    margin-bottom: 1rem;
}

.mcp-doc-pre {
    margin: 0;
    padding: .75rem;
    border-radius: .5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    overflow-x: auto;
    font-size: .875rem;
}

.mcp-doc-pre code {
    color: #212529;
    white-space: pre;
}

.mcp-doc-list {
    margin: 0;
    padding-left: 1.25rem;
}

.mcp-doc-list li + li {
    margin-top: .375rem;
}

.mcp-doc-table th {
    white-space: nowrap;
}

.mcp-doc-table td {
    vertical-align: top;
}

.mcp-doc-table td code {
    word-break: break-word;
    white-space: normal;
}

.mcp-doc-table td:nth-child(2) {
    white-space: nowrap;
}

.mcp-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.mcp-doc-item {
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .75rem;
    background: #fff;
}

.mcp-doc-fields {
    margin-top: .375rem;
    color: #6c757d;
    line-height: 1.75;
}

.mcp-doc-subtitle {
    margin-top: .75rem;
    margin-bottom: .25rem;
    font-weight: 600;
    color: #212529;
}

.mcp-doc-layout {
    align-items: flex-start;
}

.mcp-doc-sidebar {
    position: static;
}

.mcp-doc-nav-title {
    font-size: .8125rem;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: .02em;
    margin-bottom: .5rem;
}

.mcp-doc-nav-link {
    font-size: .875rem;
    border-radius: .375rem;
}

@media (max-width: 767.98px) {
    .mcp-page-header {
        min-height: 0;
    }

    .mcp-table th,
    .mcp-table td {
        white-space: normal;
    }

    .mcp-usage-month-wrap {
        width: 100%;
    }

    .mcp-usage-chart {
        grid-template-columns: repeat(31, minmax(14px, 1fr));
        column-gap: 3px;
        min-height: 220px;
    }

    .mcp-doc-grid {
        grid-template-columns: 1fr;
    }

    .mcp-doc-table th {
        white-space: normal;
    }

    .mcp-doc-table td:nth-child(2) {
        white-space: normal;
    }

    .mcp-doc-sidebar {
        position: static;
    }
}
