/* Demos page — self-contained styles for the CogniDev playbook host UI.
   Inherits CogniDev tokens (--navy, --blue) where loaded from /styles.css. */

:root {
    --demo-bg:        #f6f7fc;
    --demo-card:      #ffffff;
    --demo-rule:      #e2e8f0;
    --demo-ink-1:     #0f172a;
    --demo-ink-2:     #334155;
    --demo-ink-3:     #64748b;

    --demo-blue:      #2563eb;
    --demo-blue-glow: #60a5fa;
    --demo-blue-soft: #eff6ff;

    --demo-bad:       #dc2626;
    --demo-warn:      #d97706;
    --demo-good:      #16a34a;

    --term-bg:        #0b1020;
    --term-bg-chrome: #111827;
    --term-text:      #e2e8f0;
    --term-dim:       #64748b;
    --term-ok:        #34d399;
    --term-warn:      #fbbf24;
    --term-err:       #f87171;
    --term-accent:    #60a5fa;
    --term-accent-2:  #818cf8;
}

.demo-page {
    background: var(--demo-bg);
    min-height: 100vh;
}

.demo-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 14px;
    padding: 0 20px 20px;
    max-width: 1640px;
    margin: 0 auto;
}
/* Collapse to a single column on small tablets / phones */
@media (max-width: 880px) {
    .demo-shell { grid-template-columns: 1fr; padding: 0 16px 16px; }
    .demo-artifacts { grid-column: auto; }
}

/* ── Top tab picker (replaces left rail) ─────────────────────────────────── */
.demo-picker {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 20px 14px;
}
.demo-picker-label {
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--demo-ink-3);
    margin-bottom: 8px;
}
.demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--demo-card);
    border: 1px solid var(--demo-rule);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font: inherit;
    color: var(--demo-ink-2);
    transition: background 160ms, border-color 160ms, color 160ms, box-shadow 160ms;
    min-width: 0;
}
.demo-tab:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.demo-tab.active {
    background: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.45);
}
.demo-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    min-width: 20px;
    padding: 0 5px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--demo-ink-2);
    font-family: var(--mono, monospace);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}
.demo-tab.active .demo-tab-num {
    background: rgba(129, 140, 248, 0.25);
    color: #c7d2fe;
}
.demo-tab-title {
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.demo-tab-pb {
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    color: #6d28d9;
}
.demo-tab.active .demo-tab-pb {
    color: #c4b5fd;
}
.demo-tab-meta {
    font-family: var(--mono, monospace);
    font-size: 10px;
    color: var(--demo-ink-3);
    padding-left: 4px;
    border-left: 1px solid var(--demo-rule);
}
.demo-tab.active .demo-tab-meta {
    color: #94a3b8;
    border-left-color: rgba(148, 163, 184, 0.3);
}
/* Legacy rail no longer rendered — drop the styles entirely */
.demo-rail { display: none; }

/* ── Demo rail ──────────────────────────────────────────────────────────── */
.demo-rail {
    background: var(--demo-card);
    border: 1px solid var(--demo-rule);
    border-radius: 12px;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 88px;
}
.demo-rail-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--demo-rule);
}
.demo-rail-header h2 {
    font-family: var(--mono, ui-monospace, monospace);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--demo-ink-3);
    margin: 0;
    font-weight: 600;
}
.demo-rail-header p {
    font-size: 11px;
    color: var(--demo-ink-3);
    margin: 4px 0 0;
}
.demo-rail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.demo-rail-item {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 16px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background 160ms;
}
.demo-rail-item:hover  { background: #f8fafc; }
.demo-rail-item.active { background: var(--demo-blue-soft); }
.demo-rail-item-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.demo-rail-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--demo-ink-2);
    font-weight: 600;
    font-size: 11px;
    font-family: var(--mono, monospace);
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid var(--demo-rule);
}
.demo-rail-item.active .demo-rail-num {
    background: var(--demo-blue);
    color: white;
}
.demo-rail-title {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--demo-ink-1);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.demo-rail-item.active .demo-rail-title { color: #1e3a8a; font-weight: 600; }
.demo-rail-meta {
    margin: 6px 0 0 30px;
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    color: var(--demo-ink-3);
}
.demo-rail-footnote {
    padding: 14px 16px;
    font-size: 11px;
    color: var(--demo-ink-3);
    line-height: 1.55;
}

/* ── Main column ─────────────────────────────────────────────────────────── */
.demo-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 12px;
}
.demo-header {
    background: var(--demo-card);
    border: 1px solid var(--demo-rule);
    border-radius: 12px;
    padding: 18px 20px;
}
.demo-header-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    color: var(--demo-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.demo-header-eyebrow .dot { color: #94a3b8; }
.demo-header h1 {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 22px;
    line-height: 1.2;
    margin: 6px 0 4px;
    font-weight: 700;
    color: var(--demo-ink-1);
}
.demo-header-sub {
    font-size: 13.5px;
    color: var(--demo-ink-2);
    margin: 0 0 10px;
    line-height: 1.5;
}
.demo-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.demo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-tag {
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--demo-blue-soft);
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    letter-spacing: 0.01em;
}
.demo-skin-tabs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border-radius: 8px;
    border: 1px solid var(--demo-rule);
    background: #f8fafc;
    padding: 3px;
}
.demo-skin-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 6px 10px;
    border-radius: 4px;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--demo-ink-2);
    cursor: pointer;
    transition: all 160ms;
}
.demo-skin-tab.active {
    background: white;
    color: var(--demo-ink-1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--demo-rule);
}
.demo-skin-tab:not(.active):hover { background: rgba(15, 23, 42, 0.04); }

/* ── Terminal ─────────────────────────────────────────────────────────────── */
.demo-terminal-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2937;
    box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.18), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
    background: var(--term-bg);
}
.demo-terminal-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--term-bg-chrome);
    border-bottom: 1px solid #1f2937;
}
.demo-terminal-chrome-left { display: flex; align-items: center; gap: 8px; }
.demo-traffic { display: flex; gap: 6px; }
.demo-traffic span {
    height: 12px;
    width: 12px;
    border-radius: 999px;
}
.demo-traffic .r { background: rgba(239, 68, 68, 0.7); }
.demo-traffic .y { background: rgba(234, 179, 8, 0.7); }
.demo-traffic .g { background: rgba(34, 197, 94, 0.7); }
.demo-terminal-path {
    margin-left: 12px;
    font-family: var(--mono, monospace);
    font-size: 11.5px;
    color: #94a3b8;
}
.demo-terminal-status {
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    color: #64748b;
}
.demo-terminal-status.done { color: var(--term-ok); }

.demo-terminal {
    flex: 1;
    min-height: 540px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 18px 20px;
    font-family: var(--mono, ui-monospace, monospace);
    font-size: 13px;
    line-height: 1.65;
    color: var(--term-text);
    background: var(--term-bg);
    scroll-behavior: smooth;
}
.demo-terminal::-webkit-scrollbar { width: 8px; }
.demo-terminal::-webkit-scrollbar-track { background: var(--term-bg); }
.demo-terminal::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 4px; }

.demo-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--term-bg-chrome);
    border-top: 1px solid #1f2937;
    padding: 8px 16px;
}
.demo-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #1f2937;
    background: #111827;
    color: var(--term-text);
    font: inherit;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 8px;
    transition: background 160ms;
    font-family: var(--mono, monospace);
    letter-spacing: 0.02em;
}
.demo-control-btn:hover { background: #1f2937; border-color: #374151; }
.demo-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono, monospace);
    font-size: 11px;
    color: #94a3b8;
}
.demo-progress-bar {
    width: 140px;
    height: 4px;
    background: #1f2937;
    border-radius: 2px;
    overflow: hidden;
}
.demo-progress-fill {
    height: 100%;
    background: var(--demo-blue);
    transition: width 250ms;
    width: 0;
}

/* ── Terminal entry types ────────────────────────────────────────────────── */
.t-prompt { color: #f5f3ff; }
.t-prompt .indicator { color: var(--term-ok); margin-right: 6px; }
.t-blank { height: 12px; }
.t-line { white-space: pre-wrap; }
.t-line.info { color: var(--term-text); }
.t-line.ok   { color: var(--term-ok); }
.t-line.warn { color: var(--term-warn); }
.t-line.err  { color: var(--term-err); }
.t-line.dim  { color: var(--term-dim); }

.t-phase {
    margin: 14px 0 8px;
}
.t-phase-eyebrow {
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(167, 139, 250, 0.85);
}
.t-phase-title {
    color: white;
    font-weight: 600;
    font-size: 15px;
    margin-top: 2px;
    font-family: var(--mono, monospace);
}
.t-phase-rule {
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0.08), transparent);
}

.t-subsec {
    margin-top: 10px;
    margin-bottom: 4px;
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 500;
}
.t-subsec .arrow { color: var(--term-accent-2); margin-right: 4px; }

.t-think {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    color: #94a3b8;
    font-style: italic;
}
.t-think .dots {
    display: inline-flex;
    gap: 3px;
}
.t-think .dots span {
    width: 6px; height: 6px; border-radius: 999px;
    background: var(--term-accent);
    animation: thinkPulse 1.4s infinite ease-in-out;
}
.t-think .dots span:nth-child(2) { animation-delay: 120ms; }
.t-think .dots span:nth-child(3) { animation-delay: 240ms; }
@keyframes thinkPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1); }
}

.t-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--term-text);
}
.t-spinner .sp { display: inline-block; width: 12px; height: 12px; }
.t-spinner .sp.spinning { animation: spin 1s linear infinite; color: var(--term-accent); }
.t-spinner .sp.done     { color: var(--term-ok); }
@keyframes spin { to { transform: rotate(360deg); } }

.t-progress { margin: 4px 0; }
.t-progress-label { color: var(--term-text); }
.t-progress-count { color: #64748b; font-size: 12px; margin-left: 6px; }
.t-progress-bar {
    width: 320px; height: 4px; margin-top: 4px;
    background: #1e293b; border-radius: 2px; overflow: hidden;
}
.t-progress-fill {
    height: 100%; background: var(--demo-blue);
    width: 0; transition: width 250ms;
}
.t-progress-current {
    color: #64748b; font-size: 12px;
    margin-top: 4px; padding-left: 8px;
}

.t-cursor {
    display: inline-block;
    height: 14px;
    width: 7px;
    background: var(--term-accent-2);
    margin-bottom: -2px;
    animation: cursorBlink 1.1s infinite;
}
@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ── Artifacts panel — sticky so it stays in view as the terminal scrolls ─ */
.demo-artifacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding-right: 4px;
}
.demo-artifacts::-webkit-scrollbar { width: 8px; }
.demo-artifacts::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

.art-empty {
    border: 1px dashed var(--demo-rule);
    border-radius: 12px;
    background: #f8fafc;
    padding: 32px;
    text-align: center;
    color: var(--demo-ink-3);
    font-size: 12.5px;
}

.art-card {
    background: var(--demo-card);
    border: 1px solid var(--demo-rule);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(15,23,42,0.04));
    animation: fadeUp 240ms ease-out;
}
.art-card.tone-bad   { border-color: #fecaca; }
.art-card.tone-warn  { border-color: #fed7aa; }
.art-card.tone-good  { border-color: #bbf7d0; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.art-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono, monospace);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--demo-ink-3);
    margin-bottom: 8px;
}
.art-row { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 12px; }
.art-row .l { color: var(--demo-ink-3); }
.art-row .v { color: var(--demo-ink-1); }
.art-row.mono .v { font-family: var(--mono, monospace); }
.art-row.small .v { font-size: 11px; text-align: right; }

.art-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.art-stat  { border: 1px solid #f1f5f9; background: #f8fafc; padding: 6px 10px; border-radius: 6px; }
.art-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--demo-ink-3); }
.art-stat-value { font-size: 18px; font-weight: 700; color: var(--demo-ink-1); font-variant-numeric: tabular-nums; }
.art-stat-value.bad   { color: var(--demo-bad); }
.art-stat-value.warn  { color: var(--demo-warn); }
.art-stat-value.good  { color: var(--demo-good); }

.art-list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.art-list li { padding: 3px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; animation: fadeIn 240ms; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.art-chip { display: inline-block; font-family: var(--mono, monospace); font-size: 10px; padding: 1px 6px; border-radius: 999px; }
.art-chip.bad  { background: #fee2e2; color: #991b1b; }
.art-chip.warn { background: #fef3c7; color: #92400e; }
.art-chip.ok   { background: #dcfce7; color: #166534; }
.art-chip.info { background: #dbeafe; color: #1e40af; }

.art-fw {
    border-left: 2px solid #e5e7eb;
    padding: 4px 8px;
    margin-bottom: 6px;
    animation: fadeIn 240ms;
}
.art-fw-head {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.art-fw-pkg  { font-family: var(--mono, monospace); font-weight: 600; color: var(--demo-ink-1); font-size: 11.5px; }
.art-fw-verdict { font-family: var(--mono, monospace); font-size: 9.5px; padding: 2px 6px; border-radius: 4px; }
.art-fw-verdict.behind  { background: #fef3c7; color: #92400e; }
.art-fw-verdict.stale   { background: #fee2e2; color: #991b1b; }
.art-fw-verdict.replace { background: #fee2e2; color: #991b1b; }
.art-fw-verdict.ok      { background: #dcfce7; color: #166534; }
.art-fw-info { font-size: 10.5px; color: var(--demo-ink-2); margin-top: 2px; }
.art-fw-note { font-size: 10px; color: var(--demo-ink-3); font-style: italic; margin-top: 2px; }

.art-tf {
    display: flex; flex-direction: column; gap: 2px;
    padding: 4px 0; animation: fadeIn 240ms;
}
.art-tf-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.art-tf-tag { font-family: var(--mono, monospace); font-size: 9px; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; flex-shrink: 0; }
.art-tf-tag.parser { background: #dbeafe; color: #1d4ed8; }
.art-tf-tag.llm    { background: #ede9fe; color: #6d28d9; }
.art-tf-before { color: var(--demo-bad); text-decoration: line-through; opacity: 0.7; font-size: 11.5px; }
.art-tf-after  { color: #047857; font-size: 11.5px; margin-left: 52px; }

.art-finish {
    border: 2px solid var(--demo-blue);
    background: linear-gradient(135deg, var(--demo-blue-soft), white);
    border-radius: 12px;
    padding: 14px 16px;
    animation: fadeUp 320ms;
}
.art-finish-head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
    color: #1e3a8a; font-size: 13px; font-weight: 700;
}
.art-finish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.art-finish-cell .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--demo-ink-3); }
.art-finish-cell .val { font-weight: 700; font-size: 14px; }
.art-finish-cell.time .val { color: #1d4ed8; }
.art-finish-cell.found .val { color: #047857; }

/* ── small icon shapes (no library, inline SVG sized) ─────────────────────── */
.ico { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }


/* ════════════════════════════════════════════════════════════════════════
   PLAYBOOK HOST CHROME — unified dark IDE panel
   ════════════════════════════════════════════════════════════════════════ */

/* ── rail meta · playbook id under demo title ───────────────────────────── */
.demo-rail-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}
.demo-rail-pb {
    color: #6d28d9;
    font-weight: 600;
}
.demo-rail-dot { opacity: 0.6; }

/* ── one dark workspace panel: banner + phase strip + terminal + scorecard ─ */
.pb-workspace {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: var(--term-bg);
    border: 1px solid #1e293b;
    box-shadow:
        0 24px 56px -20px rgba(2, 6, 23, 0.6),
        0 8px 24px -8px rgba(2, 6, 23, 0.45),
        inset 0 1px 0 rgba(148, 163, 184, 0.06);
}

/* nested terminal-wrap loses its outer chrome — pb-workspace owns it now */
.pb-workspace .demo-terminal-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

/* ── playbook banner (top strip of the workspace) ───────────────────────── */
.pb-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background:
        linear-gradient(180deg, rgba(99, 102, 241, 0.10), rgba(99, 102, 241, 0) 70%),
        linear-gradient(180deg, #0d1326, #0b1020);
    padding: 12px 16px;
    color: #cbd5e1;
    font-family: var(--mono, monospace);
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 200ms;
}
.pb-banner.active { opacity: 1; }
.pb-banner-left,
.pb-banner-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pb-event-tag {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}
.pb-name {
    color: #f8fafc;
    font-weight: 600;
    font-size: 13px;
}
.pb-version {
    color: #818cf8;
    font-size: 11px;
}
.pb-surface,
.pb-runid,
.pb-target {
    color: #94a3b8;
    font-size: 11px;
}
.pb-target { color: #cbd5e1; }
.pb-dot { color: #475569; }

/* ── phase strip (7 cells) — dark variant ───────────────────────────────── */
.phase-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    background: #0a0f1e;
    padding: 10px 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}
.ph-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.06);
    background: rgba(148, 163, 184, 0.03);
    transition: background 220ms, border-color 220ms, box-shadow 220ms;
    min-width: 0;
}
.ph-cell-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.ph-num {
    flex-shrink: 0;
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    color: #64748b;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 3px;
    padding: 1px 5px;
    font-weight: 600;
    transition: background 220ms, color 220ms;
}
.ph-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #334155;
    transition: background 220ms, box-shadow 220ms;
}
.ph-label {
    font-family: var(--mono, monospace);
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 220ms;
}
.ph-duration {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    color: #64748b;
    margin-left: 24px;
    min-height: 12px;
}
/* state colors — neon on dark */
.ph-cell.pending  .ph-dot { background: #334155; }
.ph-cell.active {
    background: rgba(96, 165, 250, 0.10);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.15);
}
.ph-cell.active .ph-dot {
    background: var(--term-accent);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.75), 0 0 0 4px rgba(96, 165, 250, 0.15);
    animation: phPulse 1.4s infinite;
}
.ph-cell.active .ph-num   { background: rgba(96, 165, 250, 0.2); color: #bfdbfe; }
.ph-cell.active .ph-label { color: #e0e7ff; font-weight: 600; }
.ph-cell.pass {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.3);
}
.ph-cell.pass .ph-dot   { background: var(--term-ok); box-shadow: 0 0 8px rgba(52, 211, 153, 0.55); }
.ph-cell.pass .ph-num   { background: rgba(52, 211, 153, 0.15); color: #86efac; }
.ph-cell.pass .ph-label { color: #a7f3d0; }
.ph-cell.warn {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}
.ph-cell.warn .ph-dot   { background: var(--term-warn); box-shadow: 0 0 8px rgba(251, 191, 36, 0.55); }
.ph-cell.warn .ph-num   { background: rgba(251, 191, 36, 0.15); color: #fde68a; }
.ph-cell.warn .ph-label { color: #fde68a; }
.ph-cell.fail {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.3);
}
.ph-cell.fail .ph-dot   { background: var(--term-err); box-shadow: 0 0 8px rgba(248, 113, 113, 0.55); }
.ph-cell.fail .ph-num   { background: rgba(248, 113, 113, 0.15); color: #fca5a5; }
.ph-cell.fail .ph-label { color: #fecaca; }
.ph-cell.skipped { opacity: 0.4; }
@keyframes phPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(96, 165, 250, 0.75), 0 0 0 4px rgba(96, 165, 250, 0.15); }
    50%      { box-shadow: 0 0 18px rgba(96, 165, 250, 0.55), 0 0 0 7px rgba(96, 165, 250, 0.05); }
}
@media (max-width: 1180px) {
    .phase-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
    .phase-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── intro / tutorial banner ─────────────────────────────────────────────── */
.t-intro-banner {
    margin: 16px 0 10px;
    padding: 14px 18px;
    background:
        linear-gradient(180deg, rgba(129, 140, 248, 0.15), rgba(129, 140, 248, 0.02) 80%),
        rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(129, 140, 248, 0.30);
    border-radius: 8px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(165, 180, 252, 0.08);
}
.t-intro-banner-step {
    font-family: var(--mono, monospace);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #a5b4fc;
    font-weight: 600;
}
.t-intro-banner-title {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #f8fafc;
    font-family: var(--mono, monospace);
}

/* ── terminal · pb-* event lines ─────────────────────────────────────────── */
.demo-terminal-status.warn { color: var(--term-warn); }

.t-pb-start,
.t-pb-phase,
.t-pb-subtask,
.t-pb-finding,
.t-pb-artifact,
.t-pb-score,
.t-pb-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0;
    font-size: 12.5px;
}

.t-pb-event,
.t-pb-event-sm {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}
.t-pb-event-sm {
    font-size: 9px;
    padding: 1px 5px;
    letter-spacing: 0.1em;
}

.t-pb-start { margin: 8px 0 6px; }
.t-pb-name  { color: #f8fafc; font-weight: 600; }
.t-pb-meta  { color: #94a3b8; font-size: 11px; }

/* phase begin/end lines */
.t-pb-phase {
    margin: 12px 0 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.t-pb-phase .t-pb-event { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; border-color: rgba(167, 139, 250, 0.3); }
.t-pb-stage {
    color: #f8fafc;
    font-weight: 600;
    font-size: 13px;
}
.t-pb-phase.pass .t-pb-event { background: rgba(34, 197, 94, 0.18); color: #6ee7b7; border-color: rgba(34, 197, 94, 0.35); }
.t-pb-phase.warn .t-pb-event { background: rgba(234, 179, 8, 0.18); color: #fde68a; border-color: rgba(234, 179, 8, 0.35); }
.t-pb-phase.fail .t-pb-event { background: rgba(248, 113, 113, 0.2);  color: #fecaca; border-color: rgba(248, 113, 113, 0.4); }

/* subtask line */
.t-pb-subtask {
    margin-left: 12px;
    color: var(--term-text);
    font-size: 12.5px;
}
.t-pb-subtask.pass .t-pb-event-sm { background: rgba(34, 197, 94, 0.18); color: #6ee7b7; border-color: rgba(34, 197, 94, 0.35); }
.t-pb-subtask.warn .t-pb-event-sm { background: rgba(234, 179, 8, 0.18); color: #fde68a; border-color: rgba(234, 179, 8, 0.35); }
.t-pb-subtask.fail .t-pb-event-sm { background: rgba(248, 113, 113, 0.2);  color: #fecaca; border-color: rgba(248, 113, 113, 0.4); }
.t-pb-stage-sm {
    color: #818cf8;
    font-family: var(--mono, monospace);
    font-size: 11px;
}
.t-pb-label { color: var(--term-text); }

/* finding line */
.t-pb-finding { color: var(--term-text); }
.t-pb-finding .t-pb-event-sm { background: rgba(248, 113, 113, 0.18); color: #fecaca; border-color: rgba(248, 113, 113, 0.35); }
.sev-pill {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}
.sev-pill.sev-critical { background: rgba(220, 38, 38, 0.25);  color: #fecaca; }
.sev-pill.sev-high     { background: rgba(248, 113, 113, 0.2); color: #fca5a5; }
.sev-pill.sev-med      { background: rgba(234, 179, 8, 0.2);   color: #fde68a; }
.sev-pill.sev-low      { background: rgba(96, 165, 250, 0.2);  color: #93c5fd; }
.sev-pill.sev-info     { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.t-pb-finding-title { color: #f8fafc; font-size: 12.5px; }
.t-pb-finding-file  { color: var(--term-dim); font-size: 11px; }

/* artifact line */
.t-pb-artifact .t-pb-event-sm { background: rgba(96, 165, 250, 0.18); color: #bfdbfe; border-color: rgba(96, 165, 250, 0.35); }
.t-pb-art-path { color: #93c5fd; font-size: 12px; }
.t-pb-art-kind {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    color: var(--term-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 6px;
    border-radius: 3px;
}

/* score line */
.t-pb-score .t-pb-event-sm { background: rgba(167, 139, 250, 0.18); color: #ddd6fe; border-color: rgba(167, 139, 250, 0.35); }
.t-pb-score-val  { color: #f8fafc; font-weight: 600; }
.t-pb-score-meta { color: var(--term-dim); font-size: 11px; }

/* end line */
.t-pb-end {
    margin: 14px 0 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.t-pb-end .t-pb-event { background: rgba(34, 197, 94, 0.2); color: #86efac; border-color: rgba(34, 197, 94, 0.4); }
.t-pb-end-verdict { color: #6ee7b7; font-weight: 600; font-size: 13px; }
.t-pb-end-meta { color: var(--term-dim); font-size: 11px; }

/* ── Q&A inline card (inside terminal) ───────────────────────────────────── */
.t-pb-question {
    margin: 14px 0 10px;
    padding: 14px 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.10), rgba(99, 102, 241, 0.03));
    border: 1px solid rgba(129, 140, 248, 0.25);
    box-shadow: inset 0 1px 0 rgba(165, 180, 252, 0.08);
}
.qa-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.qa-tag {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(196, 181, 253, 0.15);
    color: #ddd6fe;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(196, 181, 253, 0.3);
}
.qa-stage {
    font-family: var(--mono, monospace);
    font-size: 11px;
    color: #c4b5fd;
}
.qa-idx {
    margin-left: auto;
    font-family: var(--mono, monospace);
    font-size: 11px;
    color: var(--term-dim);
}
.qa-label {
    color: #f8fafc;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}
.qa-help {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}
.qa-choices {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qa-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.4);
    transition: background 200ms, border-color 200ms, transform 200ms;
}
.qa-choice.scanning {
    border-color: rgba(165, 180, 252, 0.4);
    background: rgba(99, 102, 241, 0.12);
}
.qa-choice.chosen {
    border-color: rgba(110, 231, 183, 0.55);
    background: rgba(34, 197, 94, 0.1);
    transform: translateX(2px);
}
.qa-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1.5px solid #475569;
    margin-top: 2px;
    transition: border-color 200ms;
}
.qa-radio-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: transparent;
    transition: background 200ms;
}
.qa-choice.scanning .qa-radio { border-color: #a5b4fc; }
.qa-choice.chosen   .qa-radio { border-color: #6ee7b7; }
.qa-choice.chosen   .qa-radio-dot { background: #6ee7b7; }
.qa-choice-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.qa-choice-label {
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 500;
}
.qa-choice.chosen .qa-choice-label { color: #d1fae5; }
.qa-choice-sub {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.4;
}
.qa-answer,
.qa-reasoning {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
    transition: opacity 360ms;
}
.qa-answer-tag,
.qa-reasoning-tag {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}
.qa-answer-tag {
    background: rgba(110, 231, 183, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.3);
}
.qa-reasoning-tag {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.qa-answer-text {
    color: #d1fae5;
    font-size: 12.5px;
    font-weight: 600;
}
.qa-reasoning-text {
    color: #94a3b8;
    font-size: 11.5px;
    font-style: italic;
    line-height: 1.5;
}

/* ── Scorecard footer — dark variant ─────────────────────────────────────── */
.scorecard {
    background: #0a0f1e;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.score-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}
.score-label {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
}
.score-val-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 2px;
}
.score-val {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 30px;
    font-weight: 700;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.score-val-suffix {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}
.score-bar {
    margin-top: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.10);
    overflow: hidden;
}
.score-bar-fill {
    height: 100%;
    width: 0;
    transition: width 400ms ease-out, background 200ms, box-shadow 200ms;
    background: rgba(148, 163, 184, 0.3);
}
.score-bar-fill.good {
    background: linear-gradient(90deg, #34d399, #10b981);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
}
.score-bar-fill.warn {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.55);
}
.score-bar-fill.bad {
    background: linear-gradient(90deg, #f87171, #dc2626);
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.55);
}
.score-bar-fill.pending { background: rgba(148, 163, 184, 0.20); }

.score-findings-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}
.findings-count {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 30px;
    font-weight: 700;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.findings-break {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}
.sev {
    font-family: var(--mono, monospace);
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}
.sev.sev-critical { background: rgba(220, 38, 38, 0.18);  color: #fecaca; border-color: rgba(220, 38, 38, 0.35); }
.sev.sev-high     { background: rgba(248, 113, 113, 0.16); color: #fca5a5; border-color: rgba(248, 113, 113, 0.30); }
.sev.sev-med      { background: rgba(251, 191, 36, 0.15); color: #fde68a; border-color: rgba(251, 191, 36, 0.30); }
.sev.sev-low      { background: rgba(96, 165, 250, 0.15); color: #93c5fd; border-color: rgba(96, 165, 250, 0.30); }
.sev.sev-info     { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.25); }

.score-dims {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}
.dim {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.04);
    border-left: 3px solid #334155;
    transition: border-left-color 220ms, background 220ms;
}
.dim-name {
    font-family: var(--mono, monospace);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}
.dim-val {
    font-size: 16px;
    font-weight: 700;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
}
.dim.pending { opacity: 0.55; }
.dim.good { border-left-color: var(--term-ok); background: rgba(52, 211, 153, 0.06); }
.dim.good .dim-val { color: #86efac; }
.dim.warn { border-left-color: var(--term-warn); background: rgba(251, 191, 36, 0.06); }
.dim.warn .dim-val { color: #fde68a; }
.dim.bad  { border-left-color: var(--term-err); background: rgba(248, 113, 113, 0.06); }
.dim.bad .dim-val { color: #fca5a5; }

@media (max-width: 1180px) {
    .score-dims { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .score-dims { grid-template-columns: repeat(2, 1fr); }
    .score-summary { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════════
   .cw/ FILE TREE ARTIFACTS PANEL
   ════════════════════════════════════════════════════════════════════════ */

.art-cw-root {
    background: var(--term-bg);
    border: 1px solid #1e293b;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    box-shadow:
        0 24px 56px -20px rgba(2, 6, 23, 0.6),
        0 8px 24px -8px rgba(2, 6, 23, 0.45),
        inset 0 1px 0 rgba(148, 163, 184, 0.06);
}
.art-cw-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background:
        linear-gradient(180deg, rgba(99, 102, 241, 0.10), rgba(99, 102, 241, 0) 70%),
        linear-gradient(180deg, #0d1326, #0b1020);
    color: #cbd5e1;
    font-family: var(--mono, monospace);
    font-size: 11.5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.art-cw-head .ico { color: #93c5fd; }
.art-cw-head b { color: #f8fafc; font-weight: 600; }
.art-cw-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    flex: 1 1 auto;
    min-height: 220px;
    overflow-y: auto;
    background: #0a0f1e;
    scroll-behavior: smooth;
}
.art-cw-list::-webkit-scrollbar { width: 6px; }
.art-cw-list::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 3px; }

.cw-row {
    display: grid;
    grid-template-columns: 16px 1fr auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    padding: 7px 10px;
    border-radius: 6px;
    animation: fadeUp 220ms ease-out;
    border-left: 2px solid transparent;
    transition: background 160ms;
}
.cw-row:hover { background: rgba(148, 163, 184, 0.06); }
.cw-icon {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cw-icon svg { width: 13px; height: 13px; }
.cw-path {
    font-family: var(--mono, monospace);
    font-size: 11.5px;
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cw-kind {
    font-family: var(--mono, monospace);
    font-size: 9px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}
.cw-kind.cw-html   { background: rgba(167, 139, 250, 0.15); color: #ddd6fe; border-color: rgba(167, 139, 250, 0.3); }
.cw-kind.cw-diff   { background: rgba(251, 146, 60, 0.15);  color: #fdba74; border-color: rgba(251, 146, 60, 0.3); }
.cw-kind.cw-json   { background: rgba(96, 165, 250, 0.15);  color: #bfdbfe; border-color: rgba(96, 165, 250, 0.3); }
.cw-kind.cw-patch  { background: rgba(251, 191, 36, 0.15);  color: #fde68a; border-color: rgba(251, 191, 36, 0.3); }
.cw-kind.cw-folder { background: rgba(148, 163, 184, 0.10); color: #94a3b8; border-color: rgba(148, 163, 184, 0.20); }
.cw-kind.cw-other  { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.25); }
.cw-row-dir .cw-icon { color: #93c5fd; }
.cw-row-dir .cw-path { color: #e0e7ff; font-weight: 600; }
.cw-desc {
    grid-column: 2 / -1;
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.4;
}

/* finish card (after pb-end) — dark with neon green */
.art-cw-finish {
    margin-top: 12px;
    border: 1px solid rgba(52, 211, 153, 0.4);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0) 60%),
        var(--term-bg);
    border-radius: 14px;
    padding: 16px;
    animation: fadeUp 320ms;
    box-shadow:
        0 0 0 1px rgba(52, 211, 153, 0.15),
        0 20px 40px -16px rgba(2, 6, 23, 0.5);
}
.art-cw-finish .art-finish-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #6ee7b7;
    font-size: 13px;
    font-weight: 700;
}
.art-cw-finish .art-finish-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.art-cw-finish .art-finish-cell {
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.10);
    border-radius: 8px;
    padding: 8px 10px;
}
.art-cw-finish .lbl {
    font-family: var(--mono, monospace);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}
.art-cw-finish .val {
    font-weight: 700;
    font-size: 14px;
    color: #f8fafc;
    margin-top: 2px;
}
.art-cw-finish .val.good { color: #6ee7b7; }
.art-cw-finish .art-finish-msg {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}
