/* 종목 상세 리서치 노트 목록 — 공통 레이아웃은 analysis/results.css 를 함께 로드해 재사용한다. */

.page-description {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

.research-section {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f172a;
}

.section-count {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.section-note {
    margin: 0 0 14px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.pick-count {
    font-size: 13px;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* --- 노트 카드 --- */
.note-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.note-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.note-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.company-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.company-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.company-ticker {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.industry-tag {
    font-size: 12px;
    color: #3730a3;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 999px;
}

.note-badges {
    display: flex;
    gap: 6px;
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.badge-disqualified {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-truncated {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.verdict-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.verdict-chip {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.verdict-chip.confirmed {
    background: #f0fdf4;
    color: #15803d;
}

.verdict-chip.refuted {
    background: #fef2f2;
    color: #b91c1c;
}

.verdict-chip.unresolved {
    background: #fffbeb;
    color: #b45309;
}

.metric-chip {
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 999px;
}

.note-preview {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

/* --- 실행 중 / 실패 --- */
.plain-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #475569;
    line-height: 1.9;
}

.pending-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.pending-table th {
    text-align: left;
    padding: 10px 14px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.pending-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: top;
}

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

.error-message {
    color: #b91c1c;
    font-size: 12px;
    word-break: break-all;
}
