/* NB Content Engine - Generator Styles (Class-Only) */

.nb-faq-item .nb-faq-summary {
    cursor: pointer;
    padding: 10px 0;
    list-style: none;
    outline: none;
}

.nb-faq-item .nb-faq-summary::-webkit-details-marker {
    display: none;
}

.nb-faq-item .nb-faq-question-text {
    font-size: 1.15em;
    display: inline-block;
    transition: color 0.2s ease;
}

.nb-faq-item[open] .nb-faq-question-text {
    color: #0056b3;
}

.nb-faq-item .nb-faq-answer {
    margin-top: 10px;
    line-height: 1.6;
    color: #475569;
}

/* Key Points */
.nb-key-points {
    background-color: #f0f7ff;
    border: 1px solid #d0e7ff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.nb-key-points .nb-key-points-title {
    margin-top: 0;
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25em;
}

.nb-key-points .nb-key-points-list {
    margin-bottom: 0;
    padding-left: 20px;
}

.nb-key-points .nb-key-points-item {
    margin-bottom: 10px;
    color: #334155;
    line-height: 1.5;
}

/* Trend Agent AI */
.nb-trend-agent {
    background-color: #171924;
    color: #A6B0C3;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 0 35px 0;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #2A2E39;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-left: 4px solid #3b82f6;
}

.nb-trend-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nb-trend-name {
    font-weight: 600;
    color: #FFFFFF;
    font-size: 14.5px;
}

.nb-trend-badge {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.nb-trend-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
}

/* Inline Diagrams */
.nb-inline-diagram {
    margin: 42px 0;
}

.nb-diagram-card {
    background: linear-gradient(180deg,#fcfdff 0%,#f5f7ff 100%);
    border: 1px solid #dbe4ff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(15,23,42,0.08);
}

.nb-diagram-header {
    padding: 28px 28px 18px 28px;
    background: radial-gradient(circle at top left,rgba(129,140,248,0.12),transparent 36%),linear-gradient(135deg,#ffffff 0%,#eef2ff 100%);
    border-bottom: 1px solid #dbe4ff;
}

.nb-diagram-header-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.nb-diagram-title-box {
    max-width: 820px;
}

.nb-diagram-label {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4338ca;
}

.nb-diagram-title {
    margin: 0 0 10px 0;
    font-size: clamp(28px,3.4vw,40px);
    line-height: 1.08;
    color: #0f172a;
    border: none;
}

.nb-diagram-subtitle {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 16px;
}

.nb-diagram-purpose {
    margin: 12px 0 0 0;
    color: #334155;
    line-height: 1.7;
    font-size: 14px;
}

.nb-diagram-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid #c7d2fe;
}

.nb-diagram-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4338ca;
}

.nb-diagram-body {
    padding: 18px 18px 22px 18px;
}

.nb-diagram-footer {
    margin: 0 24px 22px 24px;
    color: #64748b;
    line-height: 1.7;
    font-size: 13px;
}
