/* Bugün (satış brifingi) — briefing.js */
.br-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.br-stat { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  color: var(--ink); text-decoration: none; box-shadow: 0 2px 6px #282c4205; transition: border-color .15s, transform .15s; }
a.br-stat:hover { border-color: #d6d2f7; transform: translateY(-1px); }
.br-stat b { font: 800 24px Manrope, sans-serif; letter-spacing: -.5px; }
.br-stat span { color: var(--muted); font-size: 12px; }
.br-stat em { color: #c0392b; font-style: normal; font-weight: 600; }
.br-stat.reply b { color: #d35400; }
.br-stat.deal b { color: var(--purple); }
.br-stat.lead b { color: var(--green); }
.br-stat.meeting b { color: #2874a6; }
.br-stat.muted-stat { background: #fafafe; }

.br-plan { margin-bottom: 8px; }
.br-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.br-plan-head h2 { margin: 0 0 4px; font-size: 15px; }
.br-plan-head p { margin: 0; }
.br-ai { color: var(--purple); }
#brPlan { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; }
.br-plan-list { margin: 0; padding-left: 20px; }
.br-plan-list li { margin: 3px 0; }
.error-text { color: #c0392b; }
.br-hidden-info { margin: 4px 2px 12px; min-height: 1em; }

.br-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.br-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.br-section { scroll-margin-top: 80px; }
.br-section .panel-heading { margin-bottom: 10px; }
.br-section h2 { display: flex; align-items: center; gap: 8px; }
.br-count { padding: 2px 8px; border-radius: 20px; background: #f0eefc; color: var(--purple); font-size: 11px; font-weight: 700; }
.br-list { display: flex; flex-direction: column; gap: 8px; }
.br-empty { padding: 18px 8px; color: var(--muted); font-size: 13px; text-align: center; }
.br-empty.warn { color: #8a5a00; text-align: left; }
.br-more { margin: 10px 2px 0; }

.br-item { position: relative; padding: 11px 12px 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.br-item::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #d9dbe5; }
.br-item.prio-high::before { background: #e67e22; }
.br-item.prio-mid::before { background: #a99ff0; }
.br-item-head { display: flex; align-items: center; gap: 8px; }
.br-title { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 14px; text-align: left; }
.br-title:hover { color: var(--purple); text-decoration: underline; }
.br-kind { margin-left: auto; padding: 3px 7px; border-radius: 20px; font-size: 10px; font-weight: 600; white-space: nowrap; background: #f1f2f6; color: #6b6f82; }
.br-kind.reply { background: #fdf0e3; color: #b9580a; }
.br-kind.deal { background: #f0eefc; color: var(--purple); }
.br-kind.lead, .br-kind.new_contact { background: #e6f5ee; color: var(--green); }
.br-sub { margin-top: 2px; color: var(--muted); font-size: 12px; }
.br-reason { margin-top: 5px; font-size: 12.5px; color: #4b4f63; }
.br-preview { margin: 7px 0 0; padding: 6px 9px; border-left: 2px solid #e2e4ec; background: #fafbfd; color: #555a6e; font-size: 12px;
  line-height: 1.45; border-radius: 0 6px 6px 0; overflow-wrap: anywhere; }
.br-preview .msg-ch { margin-right: 6px; }
.br-deal { display: inline-block; margin-top: 7px; padding: 3px 8px; border: 1px solid #e4e1fa; border-radius: 6px; background: #f8f7fe;
  color: #5545c8; font-size: 11.5px; text-align: left; }
.br-deal:hover { background: #efecfd; }
.br-deal.inline { margin: 0 0 0 4px; }
.br-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.br-actions .text-button { font-size: 11.5px; }
.br-actions .text-button:hover { color: var(--ink); }
.br-spacer { flex: 1; }
.br-snooze { padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #6b6f82; font-size: 11.5px; }

.br-meeting .br-time { padding: 3px 7px; border-radius: 6px; background: #e8f1f8; color: #2874a6; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.br-meeting-title { font-size: 13.5px; }
.br-people { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; font-size: 12.5px; }
.br-person .link-button { font-size: 12.5px; }
.br-note { margin-top: 9px; padding: 9px 11px; border-radius: 8px; background: #f8f7fe; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; }
.br-note.error { background: #fdecea; color: #a93226; }

@media (max-width: 1100px) {
  .br-grid { grid-template-columns: minmax(0, 1fr); }
  .br-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .br-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-plan-head { flex-direction: column; }
}
