/* Yazışmalar (js/communications.js). Öneri ekranının üstünde açılabilir (kanıtı aç). */
.com-overlay { z-index: 160; }
.com-box { width: 940px; max-width: 95vw; max-height: 88vh; }
.com-body { gap: 12px; }
.com-intro { font-size: 12.5px; color: var(--text-secondary, #475569); line-height: 1.5; }
.com-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.com-filters .prp-tabs { margin-right: auto; }
.com-filters select, .com-filters input, .com-link-form select, .com-link-form input {
    font-size: 12px; padding: 5px 8px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 7px;
    background: var(--bg-shell, #fff); color: var(--text-primary, #0f172a); font-family: inherit;
}
.com-filters input { width: 210px; }
.com-list { display: flex; flex-direction: column; gap: 8px; }
.com-item { text-align: left; width: 100%; border: 1px solid var(--border-light, #e2e8f0); border-left: 4px solid #0ea5e9; border-radius: 10px;
    padding: 10px 12px; background: var(--bg-shell, #fff); display: flex; flex-direction: column; gap: 5px; cursor: pointer; font-family: inherit; color: inherit; }
.com-item:hover { background: var(--sidebar-item-hover, #f1f4f8); }
.com-item.com-item-reviewed { border-left-color: #10b981; }
.com-item.com-item-archived { border-left-color: var(--text-muted, #94a3b8); opacity: 0.8; }
.com-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.com-subject { font-weight: 700; font-size: 13.5px; color: var(--text-primary, #0f172a); }
.com-meta { margin-left: auto; font-size: 11.5px; color: var(--text-muted, #94a3b8); }
.com-item-sub { font-size: 11.5px; }
.com-excerpt { font-size: 12.5px; color: var(--text-secondary, #475569); line-height: 1.45; }
.com-muted { color: var(--text-muted, #94a3b8); font-weight: 400; }
.com-badge { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 9999px; white-space: nowrap; }
.com-st-new { background: #e0f2fe; color: #0369a1; }
.com-st-reviewed { background: #ecfdf5; color: #047857; }
.com-st-archived { background: var(--border-light, #e2e8f0); color: var(--text-secondary, #475569); }
.com-finance, .prp-badge-finance { background: #fef3c7; color: #92400e; }
.com-chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.com-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 9px; border-radius: 9999px;
    background: var(--sidebar-bg, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); color: var(--text-primary, #0f172a); }
.com-chip-missing { text-decoration: line-through; opacity: 0.6; }
.com-chip-x { border: none; background: none; cursor: pointer; color: var(--text-muted, #94a3b8); font-size: 11px; padding: 0 0 0 2px; }
.com-chip-x:hover { color: #b91c1c; }
.com-back { align-self: flex-start; }
.com-detail { display: flex; flex-direction: column; gap: 12px; }
.com-detail-subject { font-size: 16px; font-weight: 800; color: var(--text-primary, #0f172a); }
.com-meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; font-size: 12.5px; }
.com-meta-item { display: flex; flex-direction: column; gap: 1px; word-break: break-word; }
.com-meta-label { font-size: 10.5px; font-weight: 700; color: var(--text-muted, #94a3b8); text-transform: uppercase; letter-spacing: 0.03em; }
.com-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.com-actions [disabled], .com-link-form [disabled] { opacity: 0.55; cursor: not-allowed; }
.com-section { display: flex; flex-direction: column; gap: 6px; }
.com-link-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.com-link-form select#com-link-obligation, .com-link-form input { min-width: 260px; flex: 1; }
.com-text { margin: 0; max-height: 420px; overflow: auto; font-family: inherit; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word;
    background: var(--sidebar-bg, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 8px; padding: 10px 12px; color: var(--text-primary, #0f172a); }
.com-attachments, .com-proposals { margin: 0 0 0 18px; font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.com-attachments a, .prp-diff a { color: var(--accent-blue, #2563eb); }
body.dark-mode .com-attachments a, body.dark-mode .prp-diff a { color: #93c5fd; }
.com-ob-section { margin-top: 14px; }
.com-ob-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.com-ob-row { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--border-light, #e2e8f0); border-radius: 8px;
    background: var(--bg-shell, #fff); padding: 6px 9px; cursor: pointer; font-family: inherit; font-size: 12.5px; color: var(--text-primary, #0f172a); }
.com-ob-row:hover { background: var(--sidebar-item-hover, #f1f4f8); }
.com-row-date { font-size: 11px; color: var(--text-muted, #94a3b8); white-space: nowrap; }
.com-row-title { flex: 1; }
.com-more { align-self: flex-start; font-size: 12px; }

/* Öneri ekranındaki kanıt bloğu (js/proposals.js) */
.prp-section-title { font-size: 11.5px; font-weight: 700; color: var(--text-secondary, #475569); }
.prp-evidence { display: flex; flex-direction: column; gap: 6px; }
.prp-ev { border: 1px solid #bae6fd; background: #f0f9ff; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; }
.prp-ev-hidden { border-color: #fde68a; background: #fffbeb; color: #92400e; font-size: 12.5px; }
.prp-ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-primary, #0f172a); }
.prp-ev-open { margin-left: auto; font-size: 11.5px; }
.prp-quote { margin: 0; padding: 4px 10px; border-left: 3px solid #0ea5e9; font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.prp-quote mark { background: #fef08a; color: #1f2937; padding: 0 2px; border-radius: 2px; }
.prp-badge-kind { background: #e0f2fe; color: #0369a1; }

body.dark-mode .com-st-new, body.dark-mode .prp-badge-kind { background: rgba(14, 165, 233, 0.18); color: #7dd3fc; }
body.dark-mode .com-st-reviewed { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
body.dark-mode .com-finance, body.dark-mode .prp-badge-finance { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
body.dark-mode .prp-ev { border-color: rgba(14, 165, 233, 0.35); background: rgba(14, 165, 233, 0.08); }
body.dark-mode .prp-ev-hidden { border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.1); color: #fcd34d; }
body.dark-mode .prp-quote mark { background: rgba(250, 204, 21, 0.35); color: #fef9c3; }
