/* ── Info Tab Bar ── */
.info-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.info-tabs::-webkit-scrollbar { display: none; }

.info-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.info-tab:hover { color: var(--text); }
.info-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.info-panel { display: none; }
.info-panel.active { display: block; }

/* ── Guide Layout (sidebar + content) ── */
.guide-layout {
    display: flex;
    gap: 24px;
}

.guide-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.guide-sidebar-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: all 0.15s;
}

.guide-sidebar-btn:hover {
    background: var(--input-bg);
    color: var(--text);
}

.guide-sidebar-btn.active {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

.guide-sidebar-btn .expand-arrow {
    float: right;
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.guide-sidebar-btn.expanded .expand-arrow {
    transform: rotate(90deg);
}

.guide-sub-nav {
    display: none;
    padding-left: 12px;
}

.guide-sub-nav.open { display: block; }

.guide-sub-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 12px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.15s;
}

.guide-sub-btn:hover {
    background: var(--input-bg);
    color: var(--text-secondary);
}

.guide-sub-btn.active {
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

.guide-content {
    flex: 1;
    min-width: 0;
}

.guide-panel { display: none; }
.guide-panel.active { display: block; }
.guide-mobile-picker { display: none; }

/* ── Guide Typography (dark theme) ── */
.guide-content header {
    margin-bottom: 32px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 24px;
}

.guide-content header h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.guide-content .meta {
    font-size: 13px;
    color: #b0b0b0; /* WCAG AA 4.5:1 on #0D0D1A */
}

.guide-content h2 {
    font-size: 19px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 14px;
}

.guide-content h2:first-child { margin-top: 0; }

.guide-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 10px;
}

.guide-content p {
    font-size: 14px;
    color: #b8b8b8; /* WCAG AA 4.5:1 on #0D0D1A → 7.5:1 */
    margin-bottom: 14px;
    line-height: 1.75;
}

.guide-content strong { color: var(--text); }

.guide-content a { color: var(--primary); }

.guide-content .step-heading {
    font-size: 16px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 10px;
}

.guide-content .step-image {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    margin: 16px 0 20px;
    display: block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.guide-content .note {
    background: rgba(108, 99, 255, 0.06);
    border-left: 3px solid var(--primary);
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 13px;
    color: #b8b8b8;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.6;
}

.guide-content .warning {
    background: rgba(255, 210, 63, 0.06);
    border-left: 3px solid var(--warning);
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 13px;
    color: #b8b8b8;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.6;
}

.guide-content .callout-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10), rgba(59, 130, 246, 0.08));
    border-left: 4px solid #22c55e;
    padding: 16px 20px;
    margin: 20px 0 24px;
    font-size: 14px;
    color: #d8e8d8;
    border-radius: 0 var(--radius) var(--radius) 0;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.08);
}

.guide-content .callout-success .callout-title {
    font-weight: 600;
    color: #4ade80;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
}

.guide-content .callout-success ul {
    margin: 8px 0 8px 0;
    padding-left: 20px;
}

.guide-content .callout-success li {
    margin-bottom: 4px;
    line-height: 1.6;
}

.guide-content .callout-success .callout-best-for {
    margin-top: 10px;
    font-size: 13px;
    color: #b8c8b8;
    font-style: italic;
}

.guide-content .tips-list,
.guide-content .content-list {
    margin: 14px 0;
    padding-left: 22px;
    color: #b8b8b8;
    font-size: 14px;
}

.guide-content .tips-list li,
.guide-content .content-list li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.guide-content hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 40px 0;
}

.guide-content code {
    background: var(--input-bg);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
}

/* ── Guide: Feature table ── */
.guide-content .feature-table,
.guide-content .mc-api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 13px;
}

.guide-content .feature-table th,
.guide-content .feature-table td,
.guide-content .mc-api-table th,
.guide-content .mc-api-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--card-border);
}

.guide-content .feature-table th,
.guide-content .mc-api-table th {
    background: var(--input-bg);
    font-weight: 700;
    color: var(--text);
}

.guide-content .feature-table td:first-child {
    white-space: nowrap;
    font-weight: 700;
    color: var(--text);
}

/* ── Guide: Feature Card Grid (P3-1) ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 16px 0 28px;
}
.feat-card {
    background: var(--card, #1e1f36);
    border: 1px solid var(--card-border, rgba(255,255,255,0.08));
    border-radius: var(--radius, 10px);
    padding: 24px 20px;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.feat-card:hover {
    border-color: var(--primary, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12);
}
.feat-card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.feat-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text, #e0e0e0);
}
.feat-card p {
    font-size: 0.88rem;
    color: var(--text-secondary, #aaa);
    line-height: 1.55;
    margin-bottom: 8px;
}
.feat-card .feat-link {
    font-size: 0.82rem;
    color: var(--primary, #7c3aed);
    text-decoration: none;
    font-weight: 500;
}
.feat-card .feat-link:hover {
    text-decoration: underline;
}

/* ── Guide: Demo Cards (P3-2) ── */
.demo-showcase {
    margin: 28px 0;
}
.demo-showcase-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}
.demo-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--card, #1e1f36);
    border: 1px solid var(--card-border, rgba(255,255,255,0.08));
    border-radius: var(--radius, 10px);
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.demo-card:hover {
    border-color: var(--primary, #7c3aed);
}
.demo-card:nth-child(even) {
    flex-direction: row-reverse;
}
.demo-card-media {
    flex-shrink: 0;
    width: 320px;
}
.demo-card-media img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--card-border, rgba(255,255,255,0.08));
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.demo-card-info {
    flex: 1;
    min-width: 0;
}
.demo-card-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text, #e0e0e0);
}
.demo-card-info p {
    font-size: 0.9rem;
    color: var(--text-secondary, #aaa);
    line-height: 1.6;
    margin-bottom: 12px;
}
.demo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.demo-tag {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary, #7c3aed);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* ── Guide: Code / diagram blocks ── */
.guide-content .code-block {
    background: var(--card);
    color: #d4d4d4;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin: 12px 0;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre;
    border: 1px solid var(--card-border);
}

.guide-content .arch-mermaid {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
    overflow-x: auto;
}
.guide-content .arch-mermaid .mermaid {
    display: flex;
    justify-content: center;
}
.guide-content .arch-diagram,
.guide-content .file-tree {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin: 12px 0;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre;
    color: var(--text-secondary);
}

/* ── Guide: Badge row ── */
.guide-content .badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.guide-content .badge-row .badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
}

.badge-android { background: #3ddc84; color: #1a1a1a; }
.badge-license { background: #0969da; color: #fff; }
.badge-railway { background: #7c3aed; color: #fff; }

/* ── Guide: MC labels ── */
.mc-label {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.mc-label-user { background: rgba(21, 101, 192, 0.2); color: var(--accent-cyan); }
.mc-label-bot { background: rgba(198, 40, 40, 0.2); color: var(--entity-lobster); }
.mc-label-shared { background: rgba(230, 81, 0, 0.2); color: var(--warning); }

/* ── Guide: Screenshot ── */
.guide-content .mc-screenshot {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    margin: 12px 0 24px;
}

/* ── Guide: Why EClawbot cards ── */
.guide-content .why-eclaw-card {
    margin-top: 20px;
    padding: 20px 24px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.guide-content .why-eclaw-card .pain-point {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.guide-content .why-eclaw-card .solution {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.guide-content .why-eclaw-card .solution-desc {
    font-size: 13px;
    color: #b8b8b8;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── Guide: CTA ── */
.guide-content .cta-links {
    margin-top: 40px;
    padding: 24px;
    background: rgba(108, 99, 255, 0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.guide-content .cta-links h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
}

.guide-content .cta-links .cta-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #b8b8b8;
}

.guide-content .cta-links .cta-label {
    font-weight: 700;
    color: var(--text);
}

/* ── Guide: Slide preview link ── */
.guide-content .guide-slide-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 28px;
    padding: 14px 18px;
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.guide-content .guide-slide-link:hover {
    background: rgba(108, 99, 255, 0.14);
    border-color: rgba(108, 99, 255, 0.45);
    transform: translateY(-1px);
}
.guide-content .guide-slide-thumb {
    flex: 0 0 auto;
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    background: #1a1a1a;
}
.guide-content .guide-slide-cta {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
@media (max-width: 480px) {
    .guide-content .guide-slide-link { gap: 10px; padding: 10px 12px; }
    .guide-content .guide-slide-thumb { width: 92px; height: 52px; }
    .guide-content .guide-slide-cta { font-size: 14px; }
}

/* ── Guide: MC section ── */
.guide-content .mc-section {
    margin-top: 24px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
}

.guide-content .mc-section h3 {
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 10px;
}

.guide-content .mc-section p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.guide-content .mc-feature-list {
    margin: 8px 0 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.guide-content .mc-feature-list li {
    margin-bottom: 4px;
    line-height: 1.7;
}

.guide-content footer {
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ══════════════ FAQ Styles ══════════════ */
.faq-hero { text-align: center; padding: 32px 0 24px; }
.faq-hero-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.faq-hero-subtitle { font-size: 14px; color: #b8b8b8; max-width: 480px; margin: 0 auto; line-height: 1.6; }
/* FAQ Search + Chips */
.faq-toolbar { max-width: 600px; margin: 0 auto 16px; }
.faq-search { display: flex; align-items: center; gap: 8px; background: var(--input-bg); border: 1px solid var(--card-border); border-radius: var(--radius-pill); padding: 10px 16px; margin-bottom: 12px; transition: border-color 0.2s; }
.faq-search:focus-within { border-color: var(--primary); }
.faq-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 14px; font-family: inherit; }
.faq-search input::placeholder { color: #777; }
.faq-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.faq-chip { min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--input-bg); border: 1px solid var(--card-border); color: var(--text-secondary); font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; display: inline-flex; align-items: center; }
.faq-chip:hover { border-color: var(--primary); color: var(--text); }
.faq-chip.active { background: #6C63FF; color: #fff; border-color: #6C63FF; }
.faq-no-results { text-align: center; padding: 40px 20px; color: var(--text-muted); display: none; }
.faq-no-results .emoji { font-size: 36px; display: block; margin-bottom: 8px; }
.faq-section-title { font-size: 15px; font-weight: 700; color: var(--primary); margin: 24px 0 10px; padding-left: 4px; }
.faq-section-title.hidden { display: none; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-item.hidden { display: none; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); user-select: none; transition: background 0.2s; }
.faq-question:hover { background: var(--input-bg); }
.faq-arrow { font-size: 12px; color: var(--text-secondary); transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 14px 12px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--card-border); padding-top: 10px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--primary); }
.faq-cta { text-align: center; padding: 20px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); margin: 24px 0; }
.faq-cta-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }

/* ══════════════ Bot Boundaries Styles ══════════════ */
.bdy-hero { text-align: center; padding: 24px 0 20px; }
.bdy-hero-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.bdy-hero-subtitle { font-size: 13px; color: var(--text-secondary); max-width: 580px; margin: 0 auto; line-height: 1.7; }
.bdy-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.bdy-card { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 20px 22px 18px; }
.bdy-card-num { position: absolute; top: 14px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); }
.bdy-card-title { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 12px; padding-right: 40px; line-height: 1.4; }
.bdy-card-quote { background: rgba(108, 99, 255, 0.08); border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 0 6px 6px 0; font-style: italic; color: var(--text); font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; }
.bdy-card-row { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; }
.bdy-card-row:last-child { margin-bottom: 0; }
.bdy-card-row b { color: var(--text); font-weight: 700; margin-right: 4px; }
.bdy-cta { text-align: center; padding: 22px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); margin: 28px 0 12px; }
.bdy-cta-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }

/* ══════════════ Release Notes Styles ══════════════ */
.rn-hero { text-align: center; padding: 24px 0 20px; }
.rn-hero-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.rn-hero-subtitle { font-size: 13px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.rn-entry { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.rn-entry.latest { border-color: rgba(108, 99, 255, 0.4); }
.rn-entry summary { cursor: pointer; list-style: none; }
.rn-entry summary::-webkit-details-marker { display: none; }
.rn-entry .rn-changes { margin-top: 12px; }
.rn-entry:not([open]) .rn-changes { display: none; }
.rn-change-count { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.rn-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rn-version { font-size: 17px; font-weight: 800; }
.rn-date { font-size: 12px; color: var(--text-muted); }
.rn-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.rn-badge-latest { background: rgba(108, 99, 255, 0.2); color: var(--primary); }
.rn-changes { list-style: none; padding: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.rn-changes li { display: flex; align-items: flex-start; gap: 8px; }
.rn-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; flex-shrink: 0; margin-top: 3px; }
.rn-tag-feat { background: rgba(108, 99, 255, 0.15); color: var(--primary); }
.rn-tag-fix { background: rgba(76, 175, 80, 0.15); color: var(--success); }
.rn-tag-improve { background: rgba(255, 210, 63, 0.15); color: var(--warning); }
.rn-platforms { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.rn-platform { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--input-bg); color: var(--text-secondary); }

/* Channel Repair Log */
.crl-group { margin-bottom: 22px; }
.crl-group-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--card-border); }
.crl-group-title { font-size: 16px; font-weight: 800; }
.crl-group-entities { font-size: 12px; color: var(--text-muted); }
.crl-group-count { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.crl-entry { background: var(--card); border: 1px solid var(--card-border); border-left: 3px solid var(--card-border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.crl-entry.kind-fix { border-left-color: var(--success); }
.crl-entry.kind-guideline { border-left-color: var(--primary); }
.crl-entry.kind-risk { border-left-color: var(--danger, #e5534b); }
.crl-entry.kind-todo { border-left-color: var(--warning); }
.crl-entry-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crl-kind { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.crl-kind-fix { background: rgba(76, 175, 80, 0.15); color: var(--success); }
.crl-kind-guideline { background: rgba(108, 99, 255, 0.15); color: var(--primary); }
.crl-kind-risk { background: rgba(229, 83, 75, 0.15); color: var(--danger, #e5534b); }
.crl-kind-todo { background: rgba(255, 210, 63, 0.15); color: var(--warning); }
.crl-entry-title { font-size: 14px; font-weight: 700; }
.crl-time { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.crl-status { font-size: 10px; padding: 1px 7px; border-radius: 10px; background: var(--input-bg); color: var(--text-secondary); text-transform: uppercase; font-weight: 600; }
.crl-entry-detail { margin-top: 8px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.crl-entry-foot { margin-top: 8px; }
.crl-pr { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: rgba(108, 99, 255, 0.12); color: var(--primary); text-decoration: none; border: 1px solid rgba(108, 99, 255, 0.25); }
.crl-pr::before { content: "\01F517"; font-size: 10px; }
.crl-pr:hover { background: rgba(108, 99, 255, 0.2); }
.crl-empty { text-align: center; padding: 40px; color: var(--text-secondary); }

/* ══════════════ Compare Styles ══════════════ */
.cmp-hero { text-align: center; padding: 24px 0 20px; }
.cmp-hero-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.cmp-hero-title .vs { color: var(--text-muted); font-weight: 400; margin: 0 8px; }
.cmp-hero-subtitle { font-size: 13px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.cmp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.cmp-channel-header { text-align: center; padding: 20px 14px; border-radius: var(--radius); border: 1px solid var(--card-border); }
.cmp-channel-header.eclaw { background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05)); border-color: rgba(108,99,255,0.3); }
.cmp-channel-header.telegram { background: linear-gradient(135deg, rgba(0,136,204,0.15), rgba(0,136,204,0.05)); border-color: rgba(0,136,204,0.3); }
.cmp-channel-icon { font-size: 40px; margin-bottom: 6px; }
.cmp-channel-name { font-size: 18px; font-weight: 700; }
.cmp-channel-header.eclaw .cmp-channel-name { color: var(--primary); }
.cmp-channel-header.telegram .cmp-channel-name { color: #0088CC; }
.cmp-channel-tagline { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.cmp-table { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cmp-row-label { grid-column: 1 / -1; padding: 10px 14px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }
.cmp-cell { padding: 12px 14px; background: var(--card); font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.cmp-cell:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cmp-cell:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cmp-cell .highlight { color: var(--text); font-weight: 600; }
.cmp-cell .accent-eclaw { color: var(--primary); font-weight: 600; }
.cmp-cell .accent-tg { color: #0088CC; font-weight: 600; }
.cmp-cell .tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-top: 4px; }
.tag-yes { background: rgba(76,175,80,0.15); color: var(--success); }
.tag-no { background: rgba(244,67,54,0.15); color: var(--danger); }
.tag-partial { background: rgba(255,210,63,0.15); color: var(--warning); }
.cmp-cell .icon-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.cmp-cell .icon-row .ico { font-size: 16px; }
.cmp-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.cmp-summary-card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--card-border); }
.cmp-summary-card.eclaw { border-color: rgba(108,99,255,0.3); }
.cmp-summary-card.telegram { border-color: rgba(0,136,204,0.3); }
.cmp-summary-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.cmp-summary-card.eclaw .cmp-summary-title { color: var(--primary); }
.cmp-summary-card.telegram .cmp-summary-title { color: #0088CC; }
.cmp-summary-list { list-style: none; padding: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.cmp-summary-list li::before { content: "\2713 "; color: var(--success); font-weight: 600; }
.cmp-cta { text-align: center; padding: 20px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); margin-bottom: 24px; }
.cmp-cta-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.cmp-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══════════════ Onboarding (P2-2) ══════════════ */
.qs-promo-section {
    max-width: 880px;
    margin: 24px auto 8px;
    padding: 20px 16px 8px;
    text-align: center;
}
.qs-promo-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--primary), #4FC3F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.qs-promo-lede {
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 16px;
    line-height: 1.55;
}
.qs-promo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius, 14px);
    background: #05050d;
    border: 1px solid var(--card-border, rgba(255,255,255,.12));
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.qs-promo-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.qs-promo-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.qs-promo-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.qs-hero {
    text-align: center;
    padding: 48px 20px 36px;
    max-width: 720px;
    margin: 0 auto;
}
.qs-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), #4FC3F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.qs-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.qs-hooks-section {
    max-width: 980px;
    margin: 0 auto 36px;
    padding: 0 16px;
}
.qs-hooks-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.qs-hooks-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 20px;
    line-height: 1.55;
}
.qs-hooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.qs-hook-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(79, 195, 247, 0.05));
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 22px 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.qs-hook-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.18);
}
.qs-hook-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.qs-hook-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.qs-hook-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}
.qs-hook-cta {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}
.qs-intent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 0 auto 48px;
}
.qs-intent-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}
.qs-intent-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.qs-intent-icon { font-size: 2.2rem; margin-bottom: 12px; }
.qs-intent-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.qs-intent-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.qs-divider {
    border: none;
    border-top: 1px solid var(--card-border);
    max-width: 720px;
    margin: 0 auto 40px;
}
.qs-promo-video-section {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: center;
}
.qs-promo-video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.qs-promo-video-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 auto 20px;
    max-width: 600px;
    line-height: 1.5;
}
.qs-promo-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.qs-promo-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.qs-steps-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 48px;
}
.qs-steps-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}
.qs-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.qs-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}
.qs-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4FC3F7);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.qs-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.qs-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.qs-demo-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 48px;
}
.qs-demo-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}
.qs-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.qs-demo-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.qs-demo-card:hover { border-color: var(--primary); }
.qs-demo-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 1px solid var(--card-border);
}
.qs-demo-card .qs-demo-info {
    padding: 14px;
}
.qs-demo-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.qs-demo-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.qs-cta {
    text-align: center;
    padding: 40px 20px;
    max-width: 540px;
    margin: 0 auto;
}
.qs-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.qs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}
.qs-cta-btn:hover { opacity: 0.9; }

/* ── Quick Start Slides ── */
.qs-slides-section {
    max-width: 800px;
    margin: 32px auto 48px;
    padding: 0 20px;
}

.qs-slides-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin: 0 0 20px;
}

.qs-slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.qs-slide-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.qs-slide-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

.qs-slide-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
}

.qs-slide-info {
    padding: 16px;
    flex: 1;
}

.qs-slide-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.3;
}

.qs-slide-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ══════════════ Responsive ══════════════ */
@media (max-width: 768px) {
    .guide-layout { flex-direction: column; }
    .guide-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        display: flex;
        gap: 4px;
        overflow-x: auto;
        border-bottom: 1px solid var(--card-border);
        padding-bottom: 8px;
        margin-bottom: 16px;
        flex-wrap: nowrap;
    }
    .guide-sidebar-btn {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: var(--radius-sm);
        padding: 6px 12px;
        white-space: nowrap;
        font-size: 12px;
    }
    .guide-sidebar-btn.active { border-left: none; border-bottom-color: var(--primary); }
    .guide-sub-nav {
        padding-left: 0;
        display: flex !important;
        gap: 4px;
    }
    .guide-sub-nav:not(.open) { display: none !important; }
    .guide-sub-btn {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: var(--radius-sm);
        padding: 4px 10px;
        white-space: nowrap;
        font-size: 11px;
    }
    .guide-sub-btn.active { border-left: none; border-bottom-color: var(--primary); }
    .guide-sidebar-btn .expand-arrow { display: none; }
    .info-tab { padding: 8px 10px; font-size: 12px; }
    .info-tabs { -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    .info-tab { scroll-snap-align: start; flex-shrink: 0; }
    .cmp-channels { gap: 8px; }
    .cmp-channel-header { padding: 14px 10px; }
    .cmp-channel-icon { font-size: 32px; }
    .cmp-channel-name { font-size: 16px; }
    .cmp-cell { padding: 10px 12px; font-size: 12px; }
    .cmp-summary { grid-template-columns: 1fr; }
    .cmp-cta-buttons { flex-direction: column; }
    .cmp-cta-buttons .btn { width: 100%; justify-content: center; }
    .qs-hero h1 { font-size: 1.6rem; }
    .qs-promo-video-title { font-size: 1.25rem; }
    .qs-promo-video-subtitle { font-size: 0.9rem; }
    .qs-hooks-grid { grid-template-columns: 1fr; }
    .qs-hooks-title { font-size: 1.2rem; }
    .qs-intent-grid { grid-template-columns: 1fr; }
    .qs-steps { grid-template-columns: 1fr; }
    .qs-demo-grid { grid-template-columns: 1fr; }
    .qs-slides-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .demo-card,
    .demo-card:nth-child(even) { flex-direction: column; }
    .demo-card-media { width: 100%; }

    /* Mobile guide: replace the long clipped tab rail with a compact picker. */
    #panel-guide #guideSidebarUG {
        display: none;
    }
    #panel-guide .guide-mobile-picker {
        display: grid;
        gap: 6px;
        margin: 0 0 16px;
    }
    #panel-guide .guide-mobile-picker-label {
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    #panel-guide .guide-mobile-select {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        color: var(--text);
        background: var(--card);
        border: 1px solid var(--card-border);
        border-radius: var(--radius-sm);
        font: inherit;
    }

    /*
     * Mobile guide: keep only the active sidebar content visible (existing
     * .guide-panel logic) and collapse dense card groups into swipe carousels
     * so 10+ feature/slide cards do not become a five-screen vertical wall.
     */
    #panel-guide .guide-content .feat-grid,
    #panel-guide .guide-content .demo-showcase {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 2px 4px 12px;
        margin-left: -4px;
        margin-right: -4px;
    }
    #panel-guide .guide-content .feat-grid::after,
    #panel-guide .guide-content .demo-showcase::after {
        content: '';
        flex: 0 0 4px;
    }
    #panel-guide .guide-content .feat-grid > .feat-card,
    #panel-guide .guide-content .demo-showcase > .demo-card {
        flex: 0 0 min(82vw, 320px);
        scroll-snap-align: start;
        margin-bottom: 0;
    }
    #panel-guide .guide-content .feat-card {
        padding: 18px 16px;
    }
    #panel-guide .guide-content .demo-card,
    #panel-guide .guide-content .demo-card:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }
    #panel-guide .guide-content .demo-card-media {
        width: 100%;
    }
    #panel-guide .guide-content .guide-slide-link,
    #panel-guide .guide-content .info-slide-link {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .faq-hero-title, .rn-hero-title, .cmp-hero-title { font-size: 20px; }
    .guide-content header h1 { font-size: 18px; }
    .flow-diagram { flex-direction: column; align-items: center; }
    .flow-arrow { transform: rotate(90deg); }
}

/* ── Guide: Flow Diagram ── */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 28px;
    flex-wrap: wrap;
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    min-width: 110px;
    max-width: 140px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.flow-step:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.2);
}
.flow-step .flow-icon { font-size: 28px; }
.flow-step .flow-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.flow-step .flow-sub {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}
.flow-arrow {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.flow-step--primary { border-color: rgba(108, 99, 255, 0.3); }
.flow-step--success { border-color: rgba(76, 175, 80, 0.3); }
.flow-step--warning { border-color: rgba(255, 210, 63, 0.3); }
.config-val--success { color: var(--success); font-weight: 600; }

/* ── Guide: Mockup Card ── */
.mockup-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 16px 0;
}
.mockup-card .mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 12px;
}
.mockup-card .mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), rgba(108,99,255,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.mockup-card .mockup-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.mockup-card .mockup-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}
.mockup-card .mockup-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.mockup-card .mockup-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.mockup-card .mockup-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(108,99,255,0.12);
    color: var(--primary);
    font-weight: 600;
}
.mockup-card .mockup-field {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}
.mockup-card .mockup-field-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 80px;
    flex-shrink: 0;
}
.mockup-card .mockup-field-value {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ── Guide: Config Preview ── */
.config-preview {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 16px 0;
}
.config-preview .config-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--input-bg);
    border-bottom: 1px solid var(--card-border);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}
.config-preview .config-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.config-preview .config-body {
    padding: 14px 16px;
}
.config-preview .config-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
}
.config-preview .config-key {
    color: var(--primary);
    font-weight: 600;
    min-width: 100px;
}
.config-preview .config-val {
    color: var(--text-secondary);
}

/* ── @mention chip (used in chat-style examples inside guides) ── */
.mention-chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.92em;
}
.mention-chip-cross {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}
.mention-chip-all {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* ── Guide: Publisher platform status table ── */
.guide-content .api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 13.5px;
}
.guide-content .api-table th,
.guide-content .api-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    vertical-align: top;
}
.guide-content .api-table th {
    color: #b0b0b0;
    font-weight: 600;
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.02);
}
.guide-content .api-table code {
    font-size: 12px;
    padding: 1px 5px;
}
.guide-content .pub-row-retired td {
    color: #777;
    background: rgba(0, 0, 0, 0.15);
}
.pub-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 500;
    margin-right: 6px;
    white-space: nowrap;
}
.pub-badge-vault {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.pub-badge-env {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.35);
}
.pub-badge-skip {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.35);
}

/* ══════════════ Point-and-Edit Demo (Track A scaffold) ══════════════ */
#panel-point-and-edit-demo .ped-header {
    margin-bottom: 18px;
}
#panel-point-and-edit-demo .ped-header h1 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #f3f4f6;
}
#panel-point-and-edit-demo .ped-lede {
    margin: 0 0 12px;
    color: #cbd5e1;
    font-size: 14px;
}
.ped-mode-switch {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.ped-mode {
    background: rgba(124, 58, 237, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12.5px;
    cursor: pointer;
    transition: background 120ms;
}
.ped-mode:hover:not([disabled]) {
    background: rgba(124, 58, 237, 0.25);
}
.ped-mode.active {
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
}
.ped-mode[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.ped-status {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
}
.ped-status[data-state="picked"] {
    color: #86efac;
}
.ped-status[data-state="resolving"] {
    color: #fde68a;
}
.ped-status[data-state="error"] {
    color: #fca5a5;
}

.ped-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 14px;
    align-items: start;
}
@media (max-width: 760px) {
    .ped-layout {
        grid-template-columns: 1fr;
    }
}

.ped-sandbox {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 10px;
    padding: 14px;
    min-height: 320px;
    isolation: isolate;
}
.ped-block {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    padding: 12px 14px;
    color: #e2e8f0;
}
.ped-hero-title {
    margin: 0 0 4px;
    font-size: 17px;
    color: #f8fafc;
}
.ped-hero-sub {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
}
.ped-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: start;
}
.ped-feature-icon {
    grid-row: span 2;
    font-size: 22px;
    line-height: 1;
}
.ped-feature-title {
    margin: 0;
    font-size: 14px;
    color: #f3f4f6;
}
.ped-feature-body {
    margin: 4px 0 0;
    font-size: 13px;
    color: #cbd5e1;
}
.ped-cta-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ped-cta-btn {
    background: #7c3aed;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}
.ped-cta-foot {
    font-size: 12.5px;
    color: #94a3b8;
}
.ped-note p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
}
.ped-note p:last-child {
    margin: 0;
}
.ped-note em {
    color: #fde68a;
    font-style: normal;
    background: rgba(253, 230, 138, 0.1);
    padding: 0 3px;
    border-radius: 3px;
}
.ped-agent {
    display: grid;
    gap: 8px;
}
.ped-agent-head {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ped-agent-avatar {
    font-size: 18px;
}
.ped-agent-name {
    font-weight: 600;
    color: #f3f4f6;
    font-size: 14px;
}
.ped-agent-tag {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
}
.ped-agent-actions {
    display: flex;
    gap: 6px;
}
.ped-agent-action {
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #ddd6fe;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 12.5px;
    cursor: pointer;
}
.ped-agent-action.ped-tiny {
    padding: 4px 8px;
    font-size: 11px;
}

.ped-composer {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 320px;
}
.ped-composer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
}
.ped-clear {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11.5px;
    cursor: pointer;
}
.ped-clear:hover {
    color: #f3f4f6;
}
.ped-textarea {
    flex: 1;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    padding: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    line-height: 1.5;
    resize: vertical;
    min-height: 140px;
}
.ped-composer-foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
    color: #94a3b8;
}
.ped-payload-label {
    font-weight: 600;
    color: #cbd5e1;
}
.ped-payload {
    margin: 0;
    background: #020617;
    color: #a7f3d0;
    border-radius: 5px;
    padding: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    line-height: 1.45;
    max-height: 160px;
    overflow: auto;
    white-space: pre;
}

.ped-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border: 2px solid #c084fc;
    background: rgba(192, 132, 252, 0.12);
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
    transition: transform 60ms linear, width 60ms linear, height 60ms linear;
    z-index: 5;
}

/* ── Point-and-Edit Roadmap (3-track scenario walkthrough) ── */

.ped-roadmap {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(124, 58, 237, 0.25);
}

.ped-roadmap-head h2 {
    margin: 0 0 6px 0;
    color: #f3e8ff;
    font-size: 22px;
    font-weight: 700;
}

.ped-roadmap-lede {
    margin: 0 0 22px 0;
    color: #c7c9d6;
    font-size: 14px;
    max-width: 720px;
    line-height: 1.55;
}

.ped-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 760px) {
    .ped-roadmap-grid {
        grid-template-columns: 1fr;
    }
}

.ped-track {
    background: #1a1f2e;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ped-track-a {
    border-color: rgba(124, 58, 237, 0.55);
}

.ped-track-d {
    border-color: rgba(124, 58, 237, 0.4);
}

.ped-track-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ped-track-head h3 {
    margin: 0;
    color: #f3e8ff;
    font-size: 16px;
    font-weight: 600;
}

.ped-track-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ped-track-badge-live {
    background: #7c3aed;
    color: #fff;
}

.ped-track-badge-pending {
    background: #3a3a52;
    color: #c7c9d6;
}

.ped-track-pitch {
    margin: 0;
    color: #c7c9d6;
    font-size: 13px;
    line-height: 1.5;
}

.ped-track-steps {
    margin: 0;
    padding-left: 18px;
    color: #d4d6e3;
    font-size: 12.5px;
    line-height: 1.55;
}

.ped-track-steps li {
    margin-bottom: 4px;
}

.ped-track-steps code {
    background: #0f1320;
    color: #c084fc;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11.5px;
}

.ped-track-foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(124, 58, 237, 0.25);
    color: #a8acbe;
    font-size: 11.5px;
}

.ped-track-stat strong {
    color: #e9d5ff;
}

/* Comparison table */

.ped-roadmap-compare {
    margin-bottom: 28px;
}

.ped-roadmap-compare h3 {
    margin: 0 0 12px 0;
    color: #f3e8ff;
    font-size: 16px;
    font-weight: 600;
}

.ped-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1f2e;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.ped-compare-table th,
.ped-compare-table td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    color: #d4d6e3;
}

.ped-compare-table th {
    background: rgba(124, 58, 237, 0.15);
    color: #f3e8ff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ped-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.ped-compare-table td strong {
    color: #c084fc;
}

@media (max-width: 760px) {
    .ped-compare-table th,
    .ped-compare-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Loop diagram */

.ped-roadmap-loop h3 {
    margin: 0 0 12px 0;
    color: #f3e8ff;
    font-size: 16px;
    font-weight: 600;
}

.ped-loop-steps {
    margin: 0;
    padding-left: 22px;
    color: #d4d6e3;
    font-size: 13.5px;
    line-height: 1.65;
}

.ped-loop-steps li {
    margin-bottom: 8px;
}

.ped-loop-steps strong {
    color: #c084fc;
}

.ped-loop-steps code {
    background: #0f1320;
    color: #c084fc;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════
   Point-and-edit Track C — mock mind-map mini panel
   ═══════════════════════════════════════════════════ */
#panel-point-edit-demo .ped-mindmap {
    margin: 16px 0 0 0;
    padding: 14px 16px;
    border: 1px dashed rgba(124, 58, 237, 0.45);
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.05);
}
#panel-point-edit-demo .ped-mindmap[hidden] { display: none; }
#panel-point-edit-demo .ped-mindmap-head h3 {
    margin: 0 0 4px 0;
    font-size: 0.95em;
    color: #7c3aed;
}
#panel-point-edit-demo .ped-mindmap-lede {
    margin: 0 0 12px 0;
    font-size: 0.85em;
    opacity: 0.8;
}
#panel-point-edit-demo .ped-mindmap-canvas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#panel-point-edit-demo .ped-mindmap-node {
    appearance: none;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font: inherit;
    font-size: 0.85em;
    transition: background 120ms ease, border-color 120ms ease;
}
#panel-point-edit-demo .ped-mindmap-node:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.7);
}
#panel-point-edit-demo .ped-mindmap-node:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}
