/* Today: an operational brief for real follow-ups, tasks and quiet deals. */
.crm-brief { overflow: hidden; margin: 7px 0 34px; border: 1px solid #4d7164; border-radius: 16px; background: #18362e; color: #f1f2e9; }
.crm-brief * { box-sizing: border-box; }
.crm-brief-top { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); gap: 28px; min-height: 272px; padding: clamp(25px, 4vw, 43px); background: radial-gradient(circle at 92% 10%, #446e5c 0, transparent 40%), linear-gradient(110deg, #21493b, #17372e 68%); }
.crm-brief-top::before { content: ''; position: absolute; z-index: -1; right: -40px; bottom: -130px; width: 390px; height: 390px; border: 1px solid #a6d7bf4d; border-radius: 50%; box-shadow: 0 0 0 28px #c1e6c90b, 0 0 0 56px #c1e6c908, 0 0 0 84px #c1e6c905; }
.crm-brief-intro { align-self: center; }
.crm-brief-kicker { display: block; color: #b4e2c3; font-size: .65rem; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.crm-brief h1 { max-width: 570px; margin: 14px 0 12px; color: #f7f8ec; font-size: clamp(1.85rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.09; }
.crm-brief-intro p { max-width: 570px; margin: 0; color: #c3d6c8; font-size: .87rem; line-height: 1.6; }
.crm-brief-focus { align-self: center; min-width: 0; padding: 20px 22px; border: 1px solid #8cb6a3; border-radius: 16px; background: #17332cda; box-shadow: 0 20px 40px #07191147; }
.crm-brief-focus .crm-brief-kicker { color: #d7e9b8; }
.crm-brief-focus strong { display: block; margin: 9px 0 6px; overflow-wrap: anywhere; color: #fffbed; font-size: clamp(1.18rem, 2vw, 1.62rem); letter-spacing: -.035em; line-height: 1.2; }
.crm-brief-focus p { margin: 0; color: #bed0c1; font-size: .75rem; line-height: 1.5; }
.crm-brief-focus button { margin-top: 16px; padding: 9px 13px; border: 1px solid #c1e9b8; border-radius: 10px; background: #b7dfb0; color: #1b3325; font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.crm-brief-focus button:hover { background: #daf0cd; }
.crm-brief-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #4b7661; }
.crm-brief-lane { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-width: 0; padding: 19px 21px; border: 0; border-right: 1px solid #395d4b; background: #1b392f; color: #ebf2e7; font: inherit; text-align: left; cursor: pointer; }
.crm-brief-lane:last-child { border-right: 0; }
.crm-brief-lane:not(:disabled):hover { background: #294c3b; }
.crm-brief-lane:disabled { opacity: .68; cursor: default; }
.crm-brief-lane-count { color: #c6eac3; font-size: 1.9rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.crm-brief-lane.tasks .crm-brief-lane-count { color: #dce0ae; } .crm-brief-lane.deals .crm-brief-lane-count { color: #b9cced; }
.crm-brief-lane-label { font-size: .75rem; font-weight: 740; line-height: 1.35; }
.crm-brief-lane-arrow { color: #b2c9b6; }
.crm-brief :is(button, a):focus-visible { outline: 2px solid #e0ebca; outline-offset: -3px; }
.view[data-view="today"] > h2.section-title { display: flex; align-items: center; gap: 14px; margin: 31px 0 14px; scroll-margin-top: 25px; text-align: left; font-size: 1.21rem; letter-spacing: -.025em; }
.view[data-view="today"] > h2.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.view[data-view="today"] .card-list { gap: 11px; }
.view[data-view="today"] .item-card { padding: 18px 20px; border: 1px solid #4b5545; border-radius: 16px; background: linear-gradient(125deg, #252b23, #20231f); color: #f1f0e8; }
.view[data-view="today"] .chase-card.overdue { border-left: 3px solid #df9873; }
.view[data-view="today"] .chase-head { gap: 14px; }
.view[data-view="today"] .chase-head .row-main > .muted { color: #b9c1b6; font-size: .77rem; }
.view[data-view="today"] .person-name { color: #e3f5dd; font-size: 1.08rem; }
.view[data-view="today"] .due-badge { padding: 4px 8px; border-color: #759983; color: #c8e1cc; white-space: normal; text-align: center; }
.view[data-view="today"] .due-badge.late { border-color: #bb785f; background: #6a3f3042; color: #f4b69d; }
.view[data-view="today"] .chase-actions { padding-top: 12px; margin-top: 14px; border-top: 1px solid #3e4c3f; }
.view[data-view="today"] .chase-actions .btn { border-color: #6b806b; background: #344634; color: #edf3e7; }
.view[data-view="today"] .chase-actions .btn:hover { border-color: #aad7a4; background: #405941; }
.view[data-view="today"] .chase-actions .btn-quiet { border-color: transparent; background: transparent; color: #b4c0ae; }
.view[data-view="today"] .chase-actions .btn-quiet:hover { border-color: #758772; }
.view[data-view="today"] .quick-log { padding-top: 12px; border-top: 1px solid #3e4c3f; }
.view[data-view="today"] .quick-log input { min-width: 0; padding: 9px 11px; border: 1px solid #748671; border-radius: 10px; background: #15221a; color: #f1f0e8; font: inherit; font-size: .82rem; }
.view[data-view="today"] .quick-log input::placeholder { color: #a7b9a8; }
.view[data-view="today"] .task-row { align-items: flex-start; }
.view[data-view="today"] .task-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: #a7d7ab; }
.view[data-view="today"] .task-row .task-title { font-weight: 700; }
.view[data-view="today"] .task-row .task-meta { color: #c6c8b8; opacity: 1; }
.view[data-view="today"] .task-row.overdue .task-meta { color: #efac90; }
.view[data-view="today"] .stale-deal .muted { color: #b8c5b9; }
.view[data-view="today"] .stale-deal .btn { border-color: #718472; background: #304536; color: #eff4e9; }
.view[data-view="today"] .empty-state { padding: 28px; border-color: #718f74; background: #1f3428; color: #cbd9c5; }
.view[data-view="today"] .empty-title { color: #f4f4e8; }
@media (max-width: 760px) { .crm-brief-top { grid-template-columns: 1fr; gap: 22px; } .crm-brief-focus { width: 100%; } .crm-brief-lanes { grid-template-columns: 1fr; } .crm-brief-lane { min-height: 74px; border-right: 0; border-bottom: 1px solid #395d4b; } .crm-brief-lane:last-child { border-bottom: 0; } }
@media (max-width: 440px) { .crm-brief { border-radius: 16px; } .crm-brief-top { padding: 24px 21px; } .crm-brief h1 { font-size: 2rem; } .crm-brief-lane { padding: 15px 20px; } .view[data-view="today"] .item-card { padding: 15px; } .view[data-view="today"] .chase-head { flex-direction: column; } .view[data-view="today"] .chase-actions .btn { flex: 1 1 calc(50% - 8px); } }
@media (prefers-reduced-motion: reduce) { .crm-brief * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* tag chips inside the dark Today cards (they take the light workspace's muted grey otherwise) */
.view[data-view="today"] .item-card .chip { color: #d9e6d4; border-color: #6b806b; }
