/* Confidential Banner */
body {
    overflow-x: hidden;
}

.auth-copy {
    margin: 20px 0;
}

.auth-copy-muted,
.footer-note,
.comments-empty-help {
    color: var(--text-secondary);
}

.footer-note,
.comments-empty-help {
    margin-top: 8px;
}

.comments-empty-help {
    font-size: 12px;
}

.confidential-banner {
    background: #1e3a8a;
    border-radius: 6px;
    padding: 10px 16px;
    max-width: 900px;
    margin: 50px auto 24px auto;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Guide Header */
.guide-header {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.guide-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    }

.guide-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-meta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.guide-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #dbeafe;
    color: #1e40af;
}

.guide-tag.growth {
    background: #d1fae5;
    color: #065f46;
}

.guide-tag.retention {
    background: #fae8ff;
    color: #86198f;
}

.guide-tag.saas {
    background: #fef3c7;
    color: #92400e;
}

/* Content Sections */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.guide-content p {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.guide-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    }

.guide-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.guide-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 8px 0;
}

.guide-content ul, .guide-content ol {
    margin: 8px 0;
    padding-left: 24px;
}

.guide-content li {
    margin-bottom: 4px;
}

.executive-summary,
.access-summary,
.source-freshness {
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
    padding: 20px 0;
}

.executive-summary h2 {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.access-summary,
.guide-route-groups {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-label,
.source-label {
    color: var(--transcend-blue);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.guide-route-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 24px 0;
}

.guide-route-groups a {
    border-top: 3px solid var(--transcend-blue);
    color: var(--text-primary);
    padding-top: 12px;
    text-decoration: none;
}

.guide-route-groups strong {
    display: block;
    margin-bottom: 6px;
}

.guide-route-groups span {
    color: var(--text-secondary);
}

.guide-toc-columns {
    column-count: 2;
    column-gap: 32px;
    font-size: 0.9rem;
}

.guide-toc-columns ul {
    margin: 0;
    padding-left: 20px;
}

/* Key Concept Box */
.key-concept {
    background: var(--bg-secondary);
    border-left: 4px solid var(--transcend-blue);
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
}

.key-concept h3 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.key-concept p {
    margin: 0;
    color: var(--text-secondary);
}

/* Method Boxes */
.method-box {
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
    transition: box-shadow 0.2s ease;
}

.method-box:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.method-box.b2b {
    background: #e8f0f8;
}

.method-box.b2b h3 {
    color: #2d4a6d;
}

.method-box.b2c {
    background: #e8f4e8;
}

.method-box.b2c h3 {
    color: #2d5a2d;
}

.method-box.phase {
    background: #f0f4ff;
}

.method-box.phase h3 {
    color: #2d3a6d;
}

.method-box.ai {
    background: linear-gradient(135deg, #fae8ff 0%, #f5d0fe 100%);
    border: 1px solid #e879f9;
}

.method-box.ai h3 {
    color: #86198f;
}

.method-box p {
    margin: 0 0 12px 0;
}

.method-box p:last-child {
    margin-bottom: 0;
}

.method-box ul, .method-box ol {
    margin: 12px 0 0 0;
    padding-left: 24px;
}

.method-box li {
    margin-bottom: 8px;
}

/* Warning Box */
.warning-box {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-left: 4px solid #dc2626;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
}

.warning-box h3 {
    color: #8b2d2d;
    margin: 0 0 12px 0;
}

.warning-box p {
    margin: 0 0 12px 0;
}

.warning-box ul {
    margin: 12px 0;
    padding-left: 24px;
}

/* Compliance Box */
.compliance-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
}

.compliance-box h3 {
    color: #92400e;
    margin: 0 0 12px 0;
}

/* Success Box */
.success-box {
    background: linear-gradient(135deg, #e8f4e8 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-left: 4px solid #059669;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
}

.success-box h3 {
    color: #065f46;
    margin: 0 0 12px 0;
}

/* Table Wrapper for Mobile Overflow */
.table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
    -webkit-overflow-scrolling: touch;
}

.table-wrapper .guide-table {
    margin: 0;
}

/* Table */
.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    table-layout: fixed;
}

.guide-table th {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 8px 12px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.guide-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
    overflow-wrap: anywhere;
}

.guide-table tr:hover td {
    background-color: #f9fafb;
}

.guide-table tr:last-child td {
    border-bottom: none;
}

.guide-table .category {
    color: var(--transcend-blue);
    font-weight: 600;
}

.b2b-admin-request {
    background: #f0f4ff;
    border-left: 4px solid var(--transcend-blue);
    border-radius: 6px;
    margin: 16px 0;
    padding: 16px;
}

/* Do/Don't Columns */
.do-dont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.do-box {
    background: linear-gradient(135deg, #e8f4e8 0%, #d1fae5 100%);
    border-radius: 6px;
    padding: 16px 20px;
    border: 1px solid #a7f3d0;
}

.do-box h4 {
    color: #2d5a2d;
    margin: 0 0 12px 0;
}

.dont-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    border-radius: 6px;
    padding: 16px 20px;
    border: 1px solid #fecaca;
}

.dont-box h4 {
    color: #8b2d2d;
    margin: 0 0 12px 0;
}

.do-dont ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
}

.do-dont li {
    margin-bottom: 6px;
}

/* Stage Cards */
.stage-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.stage-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

.stage-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px 0;
}

.stage-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--transcend-blue) 0%, #1e4278 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(44, 90, 160, 0.3);
    flex-shrink: 0;
}

/* Visual Funnel */
.funnel-visual {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    padding: 32px 24px;
    margin: 24px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.funnel-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
    margin-bottom: 16px;
    min-width: max-content;
}

@media (min-width: 1100px) {
    .funnel-flow {
        justify-content: center;
    }
}

.funnel-stage {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.funnel-stage:hover {
    background: var(--transcend-blue);
    color: white;
    border-color: var(--transcend-blue);
}

.funnel-stage.highlight {
    background: var(--transcend-blue);
    color: white;
    border-color: var(--transcend-blue);
}

.funnel-arrow {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.funnel-branches {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.funnel-branch {
    text-align: center;
}

.funnel-branch-arrow {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.funnel-branch-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
}

.funnel-branch-label.recovery {
    background: #fef3c7;
    color: #92400e;
}

.funnel-branch-label.winback {
    background: #fee2e2;
    color: #991b1b;
}

/* Benchmark Table Styling */
.benchmark-good {
    color: #065f46;
    font-weight: 600;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.benchmark-warning {
    color: #92400e;
    font-weight: 600;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.benchmark-danger {
    color: #8b2d2d;
    font-weight: 600;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Metric Boxes (Leading/Lagging comparisons) */
.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.metric-box {
    border-radius: 8px;
    padding: 20px 24px;
}

.metric-box h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.metric-box .speed {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.metric-box p {
    margin: 0;
    font-size: 0.95rem;
}

.metric-box.leading {
    background: #ecfdf5;
    border: 2px solid #10b981;
}

.metric-box.leading h3 { color: #065f46; }
.metric-box.leading .speed { color: #10b981; font-weight: 600; }

.metric-box.lagging {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

.metric-box.lagging h3 { color: #92400e; }
.metric-box.lagging .speed { color: #d97706; font-weight: 600; }

/* Case Study Box */
.case-study {
    background: #fffbeb;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    position: relative;
}

.case-study-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 10px;
}

.case-study h3 {
    color: #92400e;
    margin: 8px 0 16px 0;
}

.timeline {
    margin: 16px 0;
}

.timeline-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.timeline-date {
    background: #fef3c7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
    min-width: 50px;
}

.timeline-content {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.case-study .anti-pattern {
    background: #fff5f5;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}

.case-study .anti-pattern h4 {
    color: #8b2d2d;
    margin: 0 0 8px 0;
}

.case-study .pattern {
    background: #ecfdf5;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}

.case-study .pattern h4 {
    color: #065f46;
    margin: 0 0 8px 0;
}

/* Diagnostic Flow Steps */
.diagnostic-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0;
}

.diagnostic-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    position: relative;
}

.diagnostic-step:first-child { border-radius: 8px 8px 0 0; }
.diagnostic-step:last-child { border-radius: 0 0 8px 8px; }
.diagnostic-step:not(:first-child) { border-top: none; }

.step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--transcend-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h4 {
    margin: 0 0 6px 0;
    color: var(--text-primary);
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .metric-row {
        grid-template-columns: 1fr;
    }
}

/* Action Items */
.action-items {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    border: 2px solid var(--transcend-blue);
    position: relative;
}

.action-items::before {
    content: "🚀";
    position: absolute;
    top: -14px;
    left: 24px;
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 1.1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.action-items h2 {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border: none !important;
    color: var(--transcend-blue);
}

.action-items ol {
    margin: 0;
    padding-left: 0;
    counter-reset: action-counter;
    list-style: none;
}

.action-items li {
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 36px;
    position: relative;
    counter-increment: action-counter;
}

.action-items li::before {
    content: counter(action-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--transcend-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Phase Checklist - Timeline Style */
.phase-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.phase-checklist {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phase-checklist:hover {
    border-color: var(--transcend-blue);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
}

.phase-checklist::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--transcend-blue) 0%, #60a5fa 100%);
    border-radius: 6px 6px 0 0;
}

.phase-checklist h4 {
    color: var(--transcend-blue);
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.phase-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-checklist li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
    line-height: 1.4;
}

.phase-checklist li:last-child {
    border-bottom: none;
}

.phase-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--transcend-blue);
    border-radius: 3px;
    background: white;
}

/* TOC */
.toc {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.toc h3 {
    margin: 0 0 16px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.toc li {
    margin: 0;
}

.toc a {
    color: var(--transcend-blue);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: color 0.15s ease;
}

.toc a::before {
    content: "→";
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: transform 0.15s ease, color 0.15s ease;
}

.toc a:hover {
    color: #1e4278;
}

.toc a:hover::before {
    transform: translateX(3px);
    color: var(--transcend-blue);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer a {
    color: var(--transcend-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .guide-route-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phase-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .guide-header h1 {
        font-size: 1.5rem;
    }

    .access-summary,
    .guide-route-groups {
        grid-template-columns: 1fr;
    }

    .guide-route-groups a,
    .method-box {
        min-width: 0;
    }

    .do-dont {
        grid-template-columns: 1fr;
    }

    .toc ul {
        grid-template-columns: 1fr;
    }

    .phase-timeline {
        grid-template-columns: 1fr;
    }

    .funnel-visual {
        padding: 24px 16px;
    }

    .funnel-flow {
        flex-direction: column;
        gap: 6px;
        min-width: auto;
    }

    .funnel-arrow {
        transform: rotate(90deg);
    }

    .funnel-branches {
        flex-direction: column;
        gap: 12px;
    }

    .funnel-stage {
        width: 100%;
        text-align: center;
    }
}

/* Cross-reference styling */
.cross-ref {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    padding: 8px 12px;
    background: #f9fafb;
    border-left: 3px solid #d1d5db;
    margin: 12px 0;
}
.cross-ref a {
    color: var(--transcend-blue);
}

/* ==================== FILTER SYSTEM ==================== */

/* Filter Bar */
.guide-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 24px;
    margin: 0 auto 24px auto;
    max-width: 900px;
    display: none;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    background: white;
    min-width: 140px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.filter-group select:hover {
    border-color: var(--transcend-blue);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--transcend-blue);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.filter-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.filter-save-status {
    font-size: 0.75rem;
    color: var(--metric-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-save-status.visible {
    opacity: 1;
}

.filter-save-status.saving {
    color: var(--text-secondary);
}

.filter-status.saving {
    color: var(--transcend-blue);
}

.filter-status.saved {
    color: #059669;
}

/* Section visibility - using opacity for Cmd+F compatibility */
.guide-section.filtered-out {
    display: none;
}

/* Platform-specific callout notes */
.platform-note {
    display: none;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 100%);
    border-left: 4px solid var(--transcend-blue);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
}

.platform-note.visible {
    display: block;
}

.platform-note::before {
    font-weight: 600;
    margin-right: 8px;
}

.platform-note[data-for-platform="mobile"]::before {
    content: "📱 Mobile:";
}

.platform-note[data-for-platform="web"]::before {
    content: "🖥️ Web:";
}

.platform-note[data-for-model="b2b"]::before {
    content: "🏢 B2B:";
}

.platform-note[data-for-model="b2c"]::before {
    content: "👤 B2C:";
}

.platform-note[data-for-trial="no-trial"]::before {
    content: "💳 No Trial:";
}

.platform-note[data-for-trial="freemium"]::before {
    content: "🆓 Freemium:";
}

.guide-section.revealed-for-comment {
    opacity: 0.85;
    border-left: 4px solid var(--warning-amber);
    padding-left: 20px;
    margin-left: -24px;
    background: linear-gradient(90deg, #fef3c7 0%, transparent 50%);
}

.revealed-banner {
    background: var(--warning-amber);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: inline-block;
}

/* Setup Modal */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.filter-modal.visible {
    opacity: 1;
    visibility: visible;
}

.filter-modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.filter-modal h2 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    border: none;
    padding: 0;
}

.filter-modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.filter-modal-note {
    background: #e0f2fe;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #0369a1;
    margin-bottom: 24px;
}

.filter-modal-note.personal {
    background: #fef3c7;
    color: #92400e;
}

.filter-modal .filter-group {
    margin-bottom: 16px;
}

.filter-modal .filter-group label {
    font-size: 0.8rem;
    margin-bottom: 6px;
    display: block;
}

.filter-modal .filter-group select {
    width: 100%;
}

.filter-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.btn-skip {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-skip:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.btn-apply {
    background: var(--transcend-blue);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-apply:hover {
    background: var(--transcend-blue-dark);
}

/* Settings Updated Toast */
.settings-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1f2937;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.settings-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.settings-toast a {
    color: #60a5fa;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group select {
        width: 100%;
    }

    .filter-actions {
        margin-left: 0;
        margin-top: 8px;
        flex-direction: column;
    }

}
