:root {
    --cp-bg: #090f1f;
    --cp-bg-soft: #0f1a33;
    --cp-card: #131f3d;
    --cp-border: rgba(153, 180, 255, 0.25);
    --cp-text: #eff5ff;
    --cp-muted: #b3c2e8;
    --cp-accent: #44d8ff;
    --cp-accent-2: #8e7dff;
}

body.bg-white:has(.cp-hero),
#main-content:has(.cp-hero) {
    background: var(--cp-bg);
}

#main-content:has(.cp-hero) {
    padding-top: 0;
    min-height: 100vh;
}

.cp-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: calc(72px + 1.75rem) 0 2rem;
    background: radial-gradient(circle at 18% 22%, rgba(68, 216, 255, 0.2), transparent 38%),
        radial-gradient(circle at 82% 12%, rgba(142, 125, 255, 0.2), transparent 30%),
        linear-gradient(140deg, var(--cp-bg) 0%, #070c18 100%);
}

.cp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.cp-hero__content {
    min-width: 0;
}

.cp-hero__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
}

.cp-hero__logo {
    display: block;
    width: clamp(168px, 18vw, 260px);
    height: auto;
    max-height: min(260px, 42vh);
    object-fit: contain;
    border-radius: 22px;
    filter: drop-shadow(0 18px 36px rgba(2, 8, 22, 0.45));
}

.cp-hero__halo {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.cp-hero__halo--left {
    top: -80px;
    left: -120px;
    background: #44d8ff;
}

.cp-hero__halo--right {
    top: -120px;
    right: -120px;
    background: #8e7dff;
}

.cp-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--cp-border);
    border-radius: 999px;
    color: var(--cp-accent);
    background: rgba(19, 31, 61, 0.55);
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.cp-title {
    margin: 0;
    color: var(--cp-text);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    letter-spacing: 0.03em;
}

.cp-subtitle {
    max-width: 760px;
    margin: 1rem 0 0;
    color: var(--cp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cp-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1.1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cp-btn--primary {
    color: #04142a;
    background: linear-gradient(90deg, var(--cp-accent), #65e8ff);
}

.cp-btn--ghost {
    color: var(--cp-text);
    border-color: var(--cp-border);
    background: rgba(19, 31, 61, 0.45);
}

.cp-btn:hover {
    transform: translateY(-1px);
}

.cp-section {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, #0a1225 0%, #0b142a 100%);
}

.cp-section--soft {
    background: linear-gradient(180deg, #0c1630 0%, #0a1225 100%);
}

.cp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cp-card {
    border: 1px solid var(--cp-border);
    border-radius: 16px;
    background: rgba(19, 31, 61, 0.72);
    padding: 1.25rem;
    color: var(--cp-text);
    box-shadow: 0 8px 26px rgba(2, 8, 22, 0.35);
}

.cp-card h2 {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
}

.cp-card p {
    margin: 0;
    color: var(--cp-muted);
    line-height: 1.7;
}

.cp-card.is-active {
    border-color: rgba(68, 216, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(68, 216, 255, 0.2), 0 14px 32px rgba(2, 8, 22, 0.45);
}

.cp-link {
    display: inline-flex;
    margin-top: 0.9rem;
    color: var(--cp-accent);
    text-decoration: none;
    font-weight: 600;
}

.cp-link:hover {
    color: #7ce8ff;
}

.cp-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.cp-section:last-of-type {
    padding-bottom: 4rem;
    margin-bottom: 0;
}

.cp-panel {
    border: 1px solid var(--cp-border);
    border-radius: 16px;
    background: rgba(14, 27, 55, 0.82);
    padding: 1.2rem 1.25rem;
    color: var(--cp-text);
}

.cp-panel > p {
    color: var(--cp-muted);
    line-height: 1.8;
}

.cp-panel h3 {
    margin: 0 0 0.7rem;
}

.cp-panel ul {
    margin: 0;
    padding-left: 1.15rem;
}

.cp-panel li {
    margin-bottom: 0.5rem;
    color: var(--cp-muted);
}

.cp-empty {
    color: var(--cp-muted);
}

.cp-version-block {
    border: 1px solid var(--cp-border);
    background: rgba(19, 31, 61, 0.5);
    border-radius: 12px;
    padding: 0.9rem;
}

.cp-version-actions {
    margin-top: 0.8rem;
}

.cp-version-line {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--cp-text);
}

.cp-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: #042638;
    background: linear-gradient(90deg, #44d8ff, #8deeff);
}

.cp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.5rem;
    color: var(--cp-muted);
    font-size: 0.9rem;
}

.cp-meta-wrap {
    margin-bottom: 0.7rem;
}

.cp-history-header {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cp-history-header h4 {
    margin: 0;
}

.cp-mini-btn {
    border: 1px solid var(--cp-border);
    border-radius: 10px;
    padding: 0.3rem 0.6rem;
    background: rgba(19, 31, 61, 0.6);
    color: var(--cp-text);
    cursor: pointer;
}

.cp-history-list {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 0;
}

.cp-history-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(153, 180, 255, 0.2);
}

.cp-history-list li a {
    color: var(--cp-accent);
    text-decoration: none;
    word-break: break-all;
}

.cp-history-list li span {
    color: var(--cp-muted);
    white-space: nowrap;
}

.cp-history-list.is-collapsed {
    max-height: 170px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.cp-docs-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1rem;
    align-items: stretch;
}

.cp-docs-nav,
.cp-docs-view {
    height: 72vh;
    min-height: 540px;
    max-height: 820px;
    display: flex;
    flex-direction: column;
}

.cp-docs-nav ul {
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 0.4rem;
}

.cp-docs-nav li {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
    margin-bottom: 0.5rem;
    background: rgba(19, 31, 61, 0.42);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cp-docs-nav li.is-current {
    border-color: rgba(68, 216, 255, 0.5);
    background: rgba(68, 216, 255, 0.08);
}

.cp-docs-nav li a {
    color: var(--cp-text);
    text-decoration: none;
    line-height: 1.45;
}

.cp-docs-nav li.is-current > a:first-child {
    color: #9cecff;
    font-weight: 600;
}

.cp-docs-nav .cp-raw-link {
    flex-shrink: 0;
    color: var(--cp-accent);
    font-size: 0.86rem;
    text-decoration: none;
}

.cp-docs-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(153, 180, 255, 0.2);
    padding-bottom: 0.7rem;
    margin-bottom: 0.9rem;
}

.cp-docs-head h3 {
    margin: 0;
}

.cp-markdown h1,
.cp-markdown h2,
.cp-markdown h3,
.cp-markdown h4 {
    color: var(--cp-text);
    margin: 1.35rem 0 0.75rem;
    line-height: 1.35;
    scroll-margin-top: 1rem;
}

.cp-markdown h1 {
    font-size: 1.65rem;
    border-bottom: 1px solid rgba(153, 180, 255, 0.2);
    padding-bottom: 0.45rem;
}

.cp-markdown h2 {
    font-size: 1.35rem;
}

.cp-markdown h3 {
    font-size: 1.15rem;
}

.cp-markdown p,
.cp-markdown li {
    color: var(--cp-muted);
    line-height: 1.95;
    font-size: 0.98rem;
}

.cp-markdown p {
    margin: 0.65rem 0;
}

.cp-markdown ul,
.cp-markdown ol {
    margin: 0.55rem 0 1rem 1.35rem;
    padding-left: 0.2rem;
}

.cp-markdown li {
    margin-bottom: 0.35rem;
}

.cp-markdown blockquote {
    margin: 0.8rem 0;
    padding: 0.65rem 0.9rem;
    border-left: 3px solid rgba(68, 216, 255, 0.55);
    background: rgba(68, 216, 255, 0.06);
    color: #c8d8f8;
}

.cp-markdown-table-wrap {
    margin: 0.85rem 0 1rem;
    overflow-x: auto;
    border: 1px solid rgba(153, 180, 255, 0.24);
    border-radius: 12px;
    background: rgba(9, 15, 31, 0.55);
}

.cp-markdown table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.cp-markdown th,
.cp-markdown td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(153, 180, 255, 0.18);
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.cp-markdown th {
    color: var(--cp-text);
    background: rgba(68, 216, 255, 0.08);
    font-weight: 600;
    white-space: nowrap;
}

.cp-markdown td {
    color: var(--cp-muted);
}

.cp-markdown tbody tr:last-child td {
    border-bottom: none;
}

.cp-markdown tbody tr:hover td {
    background: rgba(68, 216, 255, 0.04);
}

.cp-markdown a {
    color: #79e6ff;
}

.cp-markdown a:hover {
    color: #a4f0ff;
}

.cp-markdown code {
    background: rgba(68, 216, 255, 0.14);
    color: #b9f4ff;
    border-radius: 6px;
    padding: 0.12rem 0.36rem;
}

.cp-markdown pre {
    margin: 0.85rem 0;
    padding: 0.9rem 1rem;
    background: rgba(9, 15, 31, 0.85);
    border: 1px solid rgba(153, 180, 255, 0.24);
    border-radius: 12px;
    overflow-x: auto;
}

.cp-markdown pre code {
    background: transparent;
    padding: 0;
    color: #d7ebff;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cp-docs-view .cp-markdown {
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 0.55rem;
}

.cp-docs-view .cp-markdown::-webkit-scrollbar,
.cp-docs-nav ul::-webkit-scrollbar {
    width: 8px;
}

.cp-docs-view .cp-markdown::-webkit-scrollbar-thumb,
.cp-docs-nav ul::-webkit-scrollbar-thumb {
    background: rgba(121, 230, 255, 0.35);
    border-radius: 999px;
}

.cp-signature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.cp-signature code {
    color: #b9f4ff;
    background: rgba(68, 216, 255, 0.1);
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    word-break: break-all;
}

.cp-manifest-summary {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-top: 0.35rem;
}

.cp-manifest-summary__head {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cp-manifest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cp-manifest-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(153, 180, 255, 0.22);
    background: rgba(68, 216, 255, 0.06);
    color: var(--cp-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.cp-signature--block {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-bottom: 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(153, 180, 255, 0.2);
    border-radius: 12px;
    background: rgba(9, 15, 31, 0.55);
}

.cp-signature__label {
    color: var(--cp-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.cp-manifest-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cp-manifest-section__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cp-manifest-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(68, 216, 255, 0.12);
    border: 1px solid rgba(153, 180, 255, 0.24);
    color: #9de8ff;
    font-size: 0.78rem;
    font-weight: 600;
}

.cp-manifest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cp-manifest-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: rgba(19, 31, 61, 0.5);
    min-width: 0;
}

.cp-manifest-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.cp-manifest-card__head h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cp-manifest-badge {
    flex-shrink: 0;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(68, 216, 255, 0.14);
    border: 1px solid rgba(121, 230, 255, 0.28);
    color: #b9f4ff;
    font-size: 0.78rem;
    font-weight: 600;
}

.cp-kv {
    display: grid;
    grid-template-columns: 5.8rem minmax(0, 1fr);
    gap: 0.45rem 0.75rem;
    margin: 0;
    align-items: start;
}

.cp-kv dt {
    margin: 0;
    color: var(--cp-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.cp-kv dd {
    margin: 0;
    color: var(--cp-text);
    font-size: 0.88rem;
    line-height: 1.45;
    min-width: 0;
}

.cp-kv__full {
    grid-column: 1 / -1;
}

.cp-kv__path {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cp-kv__mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    word-break: break-word;
}

.cp-hash-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.cp-hash-value {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0.38rem 0.55rem;
    border-radius: 8px;
    background: rgba(9, 15, 31, 0.85);
    border: 1px solid rgba(153, 180, 255, 0.18);
    color: #b9f4ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.cp-mini-btn--compact {
    flex-shrink: 0;
    padding: 0.28rem 0.55rem;
    font-size: 0.78rem;
}

.cp-manifest-download {
    color: #9de8ff;
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    word-break: break-word;
}

.cp-manifest-download:hover {
    color: #d7f6ff;
    text-decoration: underline;
}

.cp-manifest-missing {
    display: inline-block;
    color: #ffb4b4;
    font-size: 0.78rem;
}

.cp-manifest-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    background: rgba(19, 31, 61, 0.35);
    -webkit-overflow-scrolling: touch;
}

.cp-manifest-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.cp-manifest-table th,
.cp-manifest-table td {
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(153, 180, 255, 0.14);
}

.cp-manifest-table th {
    color: var(--cp-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(9, 15, 31, 0.55);
    white-space: nowrap;
}

.cp-manifest-table tbody tr:last-child td {
    border-bottom: none;
}

.cp-manifest-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    color: #c5d4f5;
    word-break: break-word;
}

.cp-col-path {
    min-width: 10rem;
    max-width: 18rem;
}

.cp-col-hash {
    min-width: 14rem;
}

.cp-col-hash .cp-hash-bar {
    max-width: 18rem;
}

.cp-muted-dash {
    color: var(--cp-muted);
}

.cp-manifest-table--compact {
    min-width: 28rem;
}

.cp-manifest-path {
    margin: 0.3rem 0;
    color: var(--cp-muted);
    word-break: break-all;
}

.cp-manifest-list {
    margin-top: 1rem;
}

.cp-manifest-list h4 {
    margin: 0 0 0.4rem;
}

.cp-manifest-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-manifest-list li {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(120px, 180px) 1fr;
    gap: 0.7rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(153, 180, 255, 0.2);
}

.cp-manifest-list span,
.cp-manifest-list code {
    color: var(--cp-muted);
    word-break: break-all;
}

.cp-manifest-raw {
    margin-top: 1rem;
}

.cp-manifest-raw pre {
    margin: 0.6rem 0 0;
    max-height: 260px;
    overflow: auto;
    padding: 0.8rem;
    border: 1px solid rgba(153, 180, 255, 0.24);
    border-radius: 10px;
    background: rgba(9, 15, 31, 0.72);
    color: #b3c2e8;
    white-space: pre-wrap;
}

.cp-toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.22s ease;
    background: rgba(19, 31, 61, 0.95);
    color: var(--cp-text);
    border: 1px solid var(--cp-border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.86rem;
    z-index: 99;
    pointer-events: none;
}

.cp-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Intro video (home only) --- */
html.is-intro-active {
    overflow: hidden;
}

html.is-intro-active body {
    overflow: hidden;
}

.cp-intro {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.cp-intro.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.cp-intro__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    pointer-events: none;
}

.cp-intro__video::-webkit-media-controls {
    display: none !important;
}

.cp-intro__logo-proxy {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1101;
    object-fit: contain;
    border-radius: 22px;
    filter: drop-shadow(0 18px 36px rgba(2, 8, 22, 0.45));
    will-change: top, left, width, height, opacity;
}

.cp-intro.is-morphing .cp-intro__video {
    opacity: 0;
    visibility: hidden;
}

.cp-intro.is-morphing .cp-intro__logo-proxy {
    opacity: 1;
}

.cp-page--intro-pending .cp-hero__halo,
.cp-page--intro-pending .cp-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
}

.cp-page--intro-pending .cp-hero__logo {
    opacity: 0;
}

.cp-reveal {
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.cp-page--intro-done .cp-reveal.is-revealed,
.cp-page-wrap:not(.cp-page--intro-pending) .cp-reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cp-page--intro-done .cp-hero__halo {
    opacity: 0.35;
    visibility: visible;
    transform: none;
    transition: opacity 0.8s ease 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .cp-intro__logo-proxy,
    .cp-reveal {
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 900px) {
    .cp-grid {
        grid-template-columns: 1fr;
    }

    .cp-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .cp-hero__inner {
        grid-template-columns: 1fr;
    }

    .cp-hero__logo-wrap {
        order: -1;
        justify-content: flex-start;
    }

    .cp-hero__logo {
        width: clamp(140px, 42vw, 200px);
        max-height: 200px;
    }

    .cp-docs-grid {
        grid-template-columns: 1fr;
    }

    .cp-docs-nav,
    .cp-docs-view {
        height: auto;
        min-height: 0;
    }

    .cp-docs-nav ul,
    .cp-docs-view .cp-markdown {
        max-height: 48vh;
        min-height: 220px;
    }

    .cp-manifest-table {
        min-width: 0;
    }

    .cp-manifest-table thead {
        display: none;
    }

    .cp-manifest-table tbody tr {
        display: block;
        padding: 0.75rem 0.85rem;
        border-bottom: 1px solid rgba(153, 180, 255, 0.14);
    }

    .cp-manifest-table tbody tr:last-child {
        border-bottom: none;
    }

    .cp-manifest-table td {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.35rem 0;
        border-bottom: none;
    }

    .cp-manifest-table td::before {
        content: attr(data-label);
        color: var(--cp-muted);
        font-size: 0.74rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .cp-col-path,
    .cp-col-hash,
    .cp-col-hash .cp-hash-bar {
        min-width: 0;
        max-width: none;
    }

    .cp-hash-bar {
        flex-wrap: wrap;
    }

    .cp-hash-value {
        white-space: normal;
        word-break: break-all;
    }

    .cp-kv {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .cp-kv dt:not(.cp-kv__full) {
        font-size: 0.74rem;
        font-weight: 600;
    }

    .cp-manifest-list li {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

@media (max-width: 719px) {
    .cp-manifest-grid {
        grid-template-columns: 1fr;
    }

    .cp-manifest-chip {
        width: 100%;
        border-radius: 10px;
    }
}
