/* Shared Investor / Demo / Rehab campaign landing pieces */

.campaign-frames {
    display: grid;
    gap: 1rem;
    margin: 0;
}

@media (min-width: 768px) {
    .campaign-frames {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.15rem;
    }
}

.campaign-frame {
    margin: 0;
}

.campaign-frame-chrome {
    background: #0b1220;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    min-height: 11.5rem;
}

.campaign-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    background: #111827;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.campaign-frame-bar span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #334155;
}

.campaign-frame-bar span:nth-child(1) { background: #f87171; }
.campaign-frame-bar span:nth-child(2) { background: #fbbf24; }
.campaign-frame-bar span:nth-child(3) { background: #34d399; }

.campaign-frame-bar em {
    margin-left: 0.4rem;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.campaign-frame-body {
    padding: 0.9rem 0.9rem 1rem;
}

.campaign-frame-asset {
    margin: 0 0 0.75rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
}

.campaign-frame-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.campaign-frame-kpis div {
    background: rgba(37, 99, 235, 0.16);
    border-radius: 0.5rem;
    padding: 0.45rem 0.35rem;
    text-align: center;
}

.campaign-frame-kpis strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
}

.campaign-frame-kpis span {
    display: block;
    color: #93c5fd;
    font-size: 0.68rem;
    margin-top: 0.15rem;
}

.campaign-frame-note {
    margin: 0;
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.4;
}

.campaign-frame-bar-track {
    height: 0.4rem;
    border-radius: 999px;
    background: #1e2937;
    margin: 0 0 0.75rem;
    overflow: hidden;
}

.campaign-frame-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #2563eb);
}

.campaign-frame-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.campaign-frame-rows li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.28rem 0;
    color: #cbd5e1;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.campaign-frame-rows li:last-child {
    border-bottom: none;
}

.campaign-frame-rows b {
    color: #f8fafc;
    font-weight: 650;
}

.campaign-frame-rows b.is-ok { color: #34d399; }
.campaign-frame-rows b.is-warn { color: #fbbf24; }

.campaign-frame figcaption {
    margin-top: 0.55rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.campaign-landing-nav {
    padding: 2rem 0 6rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.campaign-landing-nav-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 1rem;
}

.campaign-landing-nav-links {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .campaign-landing-nav-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.campaign-landing-nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

.campaign-landing-nav-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}

.campaign-landing-nav-card.is-current {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.campaign-landing-nav-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2563eb;
}

.campaign-landing-nav-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.campaign-landing-nav-copy {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.45;
}

.campaign-pipeline {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .campaign-pipeline {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.45rem;
    }
}

.campaign-pipeline li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    padding: 0.65rem 0.55rem;
    text-align: center;
}

.campaign-pipeline strong {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.15rem;
}

.campaign-pipeline span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}
