.page-tool--http-status-code-reference .tool-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-tool--http-status-code-reference .tool-search__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-tool--http-status-code-reference .search--http .search__input {
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.page-tool--http-status-code-reference .tool-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.page-tool--http-status-code-reference .tool-hint code,
.page-tool--http-status-code-reference .tool-hint kbd {
    padding: 0.05rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--surface-3);
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.page-tool--http-status-code-reference .http-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-tool--http-status-code-reference .http-filter {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--muted);
    font: inherit;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.page-tool--http-status-code-reference .http-filter:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.page-tool--http-status-code-reference .http-filter[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.page-tool--http-status-code-reference .http-filter:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.page-tool--http-status-code-reference .tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-tool--http-status-code-reference .tool-workspace {
    display: grid;
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.page-tool--http-status-code-reference .tool-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.page-tool--http-status-code-reference .tool-pane__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.page-tool--http-status-code-reference .tool-status {
    min-height: 0;
    margin: 0;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
}

.page-tool--http-status-code-reference .tool-status.status {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.page-tool--http-status-code-reference .tool-status.status--error {
    background: var(--danger-soft);
    color: var(--danger);
}

.page-tool--http-status-code-reference .tool-status.status--success {
    background: var(--success-soft);
    color: var(--success);
}

.page-tool--http-status-code-reference .http-results {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 34rem;
    overflow: auto;
    background: var(--surface);
}

.page-tool--http-status-code-reference .http-result-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-tool--http-status-code-reference .http-result-item {
    margin: 0;
}

.page-tool--http-status-code-reference .http-result {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.page-tool--http-status-code-reference .http-result:hover {
    background: var(--surface-2);
}

.page-tool--http-status-code-reference .http-result:focus-visible {
    outline: none;
    background: var(--surface-2);
    box-shadow: inset 0 0 0 2px var(--accent);
}

.page-tool--http-status-code-reference .http-result.is-current {
    background: var(--accent-soft);
    border-left-color: var(--accent);
}

.page-tool--http-status-code-reference .http-result__code {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.page-tool--http-status-code-reference .http-result__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-tool--http-status-code-reference .http-cat {
    flex: 0 0 auto;
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--surface-3);
    color: var(--muted);
}

.page-tool--http-status-code-reference .http-cat--1xx {
    background: var(--surface-3);
    color: var(--muted);
}

.page-tool--http-status-code-reference .http-cat--2xx {
    background: var(--success-soft);
    color: var(--success);
}

.page-tool--http-status-code-reference .http-cat--3xx {
    background: var(--accent-soft);
    color: var(--accent);
}

.page-tool--http-status-code-reference .http-cat--4xx {
    background: var(--warning-soft);
    color: var(--warning);
}

.page-tool--http-status-code-reference .http-cat--5xx {
    background: var(--danger-soft);
    color: var(--danger);
}

.page-tool--http-status-code-reference .http-empty {
    margin: 0;
    padding: 2.5rem 1.25rem;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

.page-tool--http-status-code-reference #http-detail {
    gap: 14px;
    padding: 18px 20px 22px;
    overflow: auto;
    max-height: 34rem;
}

.page-tool--http-status-code-reference .http-detail__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-tool--http-status-code-reference .http-detail__code {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.page-tool--http-status-code-reference .http-detail__heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.page-tool--http-status-code-reference .http-detail__name {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
}

.page-tool--http-status-code-reference .http-detail__summary {
    margin: 0;
    padding: 10px 14px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    background: var(--surface-2);
    color: var(--ink-2);
    font-size: 0.92rem;
}

.page-tool--http-status-code-reference .http-detail__block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page-tool--http-status-code-reference .http-detail__block-title {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.page-tool--http-status-code-reference .http-detail__text {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.55;
}

.page-tool--http-status-code-reference .http-detail__notes {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.55;
}

.page-tool--http-status-code-reference .http-detail__notes li {
    margin-bottom: 4px;
}

.page-tool--http-status-code-reference .http-related {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-tool--http-status-code-reference .http-related__chip {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-2);
    font: inherit;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.page-tool--http-status-code-reference .http-related__chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-tool--http-status-code-reference .http-related__chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.page-tool--http-status-code-reference .tool-about__text {
    max-width: 80ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .page-tool--http-status-code-reference .tool-workspace {
        grid-template-columns: 1fr;
    }

    .page-tool--http-status-code-reference .http-results,
    .page-tool--http-status-code-reference #http-detail {
        max-height: 24rem;
    }
}
