/* Nov 2 2026: campaign calendar (Campaigns home + Campaign History calendar view). Brand colors only. */
.atcal{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.atcal-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.atcal-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.atcal-arrow,.atcal-today-btn{height:36px;border:1px solid #d9e2ec;background:#fff;border-radius:8px;color:#0a1f56;font:inherit;font-weight:600;cursor:pointer}
.atcal-arrow{width:36px;font-size:18px;line-height:1}
.atcal-today-btn{padding:0 14px;font-size:14px}
.atcal-arrow:hover,.atcal-today-btn:hover{border-color:#1872d2}
.atcal-title{font-size:17px;font-weight:600;color:#0a1f56;margin-left:6px}
.atcal-legend{display:flex;gap:16px;font-size:13px;color:#3f4f61}
.atcal-legend span{display:flex;align-items:center;gap:6px}
.atcal-legend i{width:14px;height:14px;border-radius:4px;display:inline-block}
.atcal-legend i.is-sent{background:#e8f1fb;border:1px solid #c5daf3}
.atcal-legend i.is-scheduled{background:#fff;border:1.5px dashed #1872d2}
.atcal-loading{font-size:13px;color:#3f4f61}
.atcal-grid-wrap{overflow-x:auto;border:1px solid #d9e2ec;border-radius:12px;background:#fff}
.atcal-grid{min-width:880px}
.atcal-dows,.atcal-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.atcal-dows{background:#f8fafc;border-bottom:1px solid #d9e2ec}
.atcal-dows div{padding:10px 12px;font-size:12px;font-weight:600;color:#3f4f61}
.atcal-day{min-height:124px;box-sizing:border-box;padding:8px;display:flex;flex-direction:column;gap:6px;border-right:1px solid #e6ebf1;border-bottom:1px solid #e6ebf1;background:#fff}
.atcal-day:nth-child(7n){border-right:0}
.atcal-day.is-outside{background:#f8fafc}
.atcal-day.is-outside .atcal-num{color:#8a97a6}
.atcal-day.is-today{background:#f4f9fe;box-shadow:inset 0 0 0 2px #1872d2}
.atcal-day.is-selected{background:#f4f9fe;box-shadow:inset 0 0 0 2px #0a1f56}
[data-atcal-mode="month"] .atcal-day{cursor:pointer}
.atcal-day-head{display:flex;align-items:center;justify-content:space-between}
.atcal-num{font-size:13px;font-weight:600;color:#0a1f56;background:none;border:0;padding:2px 4px;margin:-2px -4px;border-radius:6px;font-family:inherit;cursor:inherit}
button.atcal-num:hover{background:#e8f1fb}
.atcal-day.is-past:not(.is-today) .atcal-num{color:#5b6b7d}
.atcal-today{font-size:11px;font-weight:600;color:#1872d2}
.atcal-chip{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;font:inherit;border-radius:8px;padding:7px 8px;background:#e8f1fb;border:1px solid #c5daf3;cursor:pointer}
.atcal-chip:hover{border-color:#1872d2}
.atcal-chip.is-scheduled{background:#fff;border:1.5px dashed #1872d2}
.atcal-chip-name{font-size:12.5px;font-weight:600;line-height:16px;color:#0a1f56;overflow-wrap:anywhere}
.atcal-chip-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11.5px;color:#3f4f61}
.atcal-time{font-weight:600;color:#0a1f56}
.atcal-ch{font-weight:500}
.atcal-ch.is-email::before,.atcal-ch.is-sms::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;vertical-align:1px}
.atcal-ch.is-email::before{background:#1872d2}
.atcal-ch.is-sms::before{background:#28aaaf}
.atcal-scope{font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;color:#0a1f56;background:#e4e8ee}
.atcal-scope.is-leads{background:#d7eff0}
.atcal-scope.is-certs{background:#d4e5f8}
.atcal-status{font-weight:600;color:#0a1f56}
.atcal-status.is-failed,.atcal-status.is-stopped{color:#b42318}
.atcal-day-list-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 0}
.atcal-day-list-head h3{margin:0;font-size:17px;color:#0a1f56}
.uch-layout-toggle{display:inline-flex;border:1px solid #d9e2ec;border-radius:8px;background:#fff;padding:3px}
.uch-layout-toggle button{height:32px;padding:0 16px;border:0;border-radius:6px;background:transparent;color:#3f4f61;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.uch-layout-toggle button.is-active{background:#1872d2;color:#fff}
.campaign-leave-row{display:flex;justify-content:flex-end;margin:0 0 10px}
.campaign-leave-row button{height:34px;padding:0 14px;font-size:13px}
.campaign-history-main-head .uch-head-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px}