.cl-hero { margin-bottom: 28px; }

.cl-hero .subtitle { margin-bottom: 0; }

.cl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border-soft);
}

.cl-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.cl-filter {
    height: 28px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--fg-4);
    font-size: 11.5px;
    font-weight: 500;
    transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.cl-filter:hover {
    color: var(--fg-2);
    background: var(--surface);
}

.cl-filter.is-active {
    color: var(--fg);
    background: var(--elevated);
    border-color: var(--border);
}

.cl-search {
    flex: 1;
    min-width: 190px;
    max-width: 280px;
    height: 32px;
    margin-left: auto;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--fg);
    font-size: 11.5px;
    outline: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.cl-search:focus {
    border-color: var(--accent-line);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.cl-list { border-top: 0; }

.cl-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border-soft);
}

.cl-side {
    position: relative;
    padding-top: 2px;
    padding-left: 16px;
}

.cl-side::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fg-5);
    box-shadow: 0 0 0 3px var(--bg);
}

.cl-item[data-type="added"] .cl-side::before { background: var(--ok); }
.cl-item[data-type="changed"] .cl-side::before { background: var(--accent); }
.cl-item[data-type="fixed"] .cl-side::before { background: #5b9dd9; }
.cl-item[data-type="removed"] .cl-side::before { background: var(--danger); }

.cl-date {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.02em;
    color: var(--fg-4);
    white-space: nowrap;
}

.cl-main { min-width: 0; }

.cl-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.cl-type {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cl-type[data-type="added"] {
    color: var(--ok);
    border-color: rgba(76, 195, 138, 0.28);
    background: rgba(76, 195, 138, 0.08);
}

.cl-type[data-type="changed"] {
    color: var(--accent-strong);
    border-color: var(--accent-line);
    background: var(--accent-soft);
}

.cl-type[data-type="fixed"] {
    color: #7db8ea;
    border-color: rgba(91, 157, 217, 0.3);
    background: rgba(91, 157, 217, 0.08);
}

.cl-type[data-type="removed"] {
    color: var(--danger);
    border-color: rgba(235, 111, 111, 0.28);
    background: rgba(235, 111, 111, 0.08);
}

.cl-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--fg);
    line-height: 1.35;
}

.cl-desc {
    margin: 0 0 13px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--fg-3);
    max-width: 68ch;
}

.cl-endpoints {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.cl-endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    color: var(--fg-3);
    transition: background 0.12s ease, color 0.12s ease;
}

.cl-endpoint + .cl-endpoint { border-top: 1px solid var(--border-soft); }

.cl-endpoint:hover { background: var(--elevated); color: var(--fg); }

.cl-endpoint.is-static { cursor: default; }

.cl-endpoint.is-static:hover {
    background: transparent;
    color: var(--fg-3);
}

.cl-endpoint .method-badge {
    min-width: 38px;
    height: 18px;
    font-size: 9px;
}

.cl-path {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-summary {
    margin-left: auto;
    font-size: 10.5px;
    color: var(--fg-4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cl-endpoint-arrow {
    flex-shrink: 0;
    color: var(--fg-5);
    font-size: 12px;
    line-height: 1;
    transition: color 0.12s ease, transform 0.12s ease;
}

.cl-endpoint:hover .cl-endpoint-arrow {
    color: var(--fg-2);
    transform: translateX(1px);
}

.cl-empty {
    padding: 40px 0;
    text-align: center;
}

.cl-empty-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--fg-2);
}

.cl-empty-desc {
    margin-top: 4px;
    font-size: 12px;
    color: var(--fg-4);
}

.cl-skeleton {
    height: 86px;
    margin: 20px 0;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--surface), var(--elevated), var(--surface));
    background-size: 200% 100%;
    animation: cl-shimmer 1.4s ease infinite;
}

@keyframes cl-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cl-filter,
    .cl-endpoint,
    .cl-endpoint-arrow,
    .cl-search { transition: none; }
    .cl-skeleton { animation: none; }
}

@media (max-width: 760px) {
    .cl-item {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 22px 0;
    }

    .cl-side {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 0;
    }

    .cl-side::before {
        position: static;
        flex-shrink: 0;
        box-shadow: none;
    }

    .cl-summary { display: none; }
    .cl-search { max-width: none; width: 100%; margin-left: 0; }
    .cl-toolbar { align-items: flex-start; }
}
