.cc-detail-shell {
    min-height: calc(100vh - 78px);
    padding: 8px;
    background: #f4f6fb;
}

.cc-back-row {
    margin-bottom: 8px;
}

.cc-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    gap: 10px;
}

.cc-detail-main {
    display: grid;
    gap: 10px;
}

.cc-detail-card {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.cc-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cc-kicker {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.cc-detail-header h1 {
    margin: 2px 0 5px;
    color: #172033;
    font-size: 24px;
    font-weight: 900;
}

.cc-detail-meta,
.cc-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.cc-detail-tags {
    justify-content: flex-end;
}

.cc-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cc-profile-grid div,
.cc-mini-card {
    display: grid;
    gap: 3px;
}

.cc-profile-grid span,
.cc-mini-card span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.cc-profile-grid strong,
.cc-mini-card strong {
    min-width: 0;
    color: #172033;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.cc-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cc-section-title h2 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    font-weight: 900;
}

.cc-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-remark-form {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.cc-remark-list {
    display: grid;
    gap: 8px;
}

.cc-remark {
    border: 1px solid #edf1f6;
    border-radius: 7px;
    padding: 8px;
    background: #fbfcff;
}

.cc-remark p {
    margin: 0 0 5px;
    color: #243044;
    font-size: 13px;
}

.cc-remark span {
    color: #667085;
    font-size: 12px;
}

.cc-timeline {
    display: grid;
    gap: 10px;
}

.cc-timeline-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
}

.cc-timeline-dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #275bd8;
    box-shadow: 0 0 0 4px #eaf1ff;
}

.cc-timeline-item header,
.cc-timeline-item footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-timeline-item header {
    justify-content: space-between;
}

.cc-timeline-item strong {
    color: #172033;
    font-size: 13px;
}

.cc-timeline-item header span,
.cc-timeline-item footer span {
    color: #64748b;
    font-size: 12px;
}

.cc-timeline-item p {
    margin: 4px 0;
    color: #334155;
    font-size: 13px;
}

.cc-mini-stack {
    display: grid;
    align-content: start;
    gap: 8px;
}

.cc-mini-card {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

@media (max-width: 900px) {
    .cc-detail-layout,
    .cc-profile-grid {
        grid-template-columns: 1fr;
    }

    .cc-detail-header {
        flex-direction: column;
    }

    .cc-detail-tags {
        justify-content: flex-start;
    }
}
