.crm-calendar-card{margin-top:20px}.crm-calendar-note{font-size:12px;color:#778d85;margin:5px 0}.crm-calendar-toolbar{display:flex;align-items:center;gap:10px;margin:14px 0}.crm-calendar-toolbar button{min-height:30px;padding:4px 10px}.crm-calendar-toolbar b{min-width:115px;text-align:center;font-size:15px}.crm-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#dce7e1;border:1px solid #dce7e1;border-radius:9px;overflow:hidden}.crm-calendar-weekday{padding:8px;text-align:center;font-size:12px;background:#f1f6f3;color:#557266}.crm-calendar-day,.crm-calendar-blank{min-height:85px;padding:7px;background:#fff;min-width:0}.crm-calendar-day.is-today{background:#f0f8f3}.crm-calendar-date{display:block;border:0;background:none;padding:3px 7px;border-radius:5px;color:#3a5c4c;font-size:12px;cursor:pointer}.is-today .crm-calendar-date{background:#1f7956;color:#fff}.crm-calendar-event{display:block;width:100%;border:1px solid #d6e7df;border-radius:5px;background:#eaf4ef;text-align:left;padding:4px 5px;margin-top:4px;font-size:11px;line-height:1.5;color:#275e49;cursor:pointer;overflow-wrap:anywhere}.crm-calendar-event small{display:block;color:#6a8376;font-size:10px}.crm-calendar-dialog{width:min(560px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:1px solid #d2e2d8;border-radius:14px;padding:24px;box-sizing:border-box;background:#fff}.crm-calendar-dialog::backdrop{background:#183d3459}.crm-calendar-dialog h2{font-size:20px;margin:0 0 18px}.crm-calendar-grid button:focus-visible{outline:2px solid #308462;outline-offset:-2px}@media(max-width:760px){.crm-calendar-day,.crm-calendar-blank{padding:3px;min-height:65px}.crm-calendar-event{padding:3px;font-size:10px}.crm-calendar-event small{font-size:9px}.crm-calendar-dialog{padding:16px}.crm-calendar-card .section-head{flex-wrap:wrap}}

.crm-calendar-notify span{display:flex;align-items:center;gap:7px}.crm-calendar-notify input[type="checkbox"]{width:16px;min-height:16px}.crm-calendar-dialog [hidden]{display:none!important}

.crm-calendar-day{cursor:pointer}.crm-calendar-day:hover{background:#f5faf7}.crm-calendar-day.is-today:hover{background:#e8f5ec}

.dashboard-upcoming{display:flex;flex-direction:column;min-width:0;overflow:hidden}.dashboard-upcoming .section-head{flex-wrap:wrap;gap:9px}.dashboard-upcoming .section-head h2{font-size:18px}.dashboard-upcoming .section-head button{font-size:11px;white-space:nowrap;padding:6px 9px;min-height:32px}.crm-upcoming-list{flex:1;min-height:0;overflow:auto;margin-top:8px}.crm-upcoming-event{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #dce7e1;border-bottom:2px solid #cdded3;border-radius:8px;padding:11px 10px;margin-bottom:8px;background:linear-gradient(#fff,#f7faf8);color:#355748;cursor:pointer}.crm-upcoming-date{min-width:44px;text-align:center;font-size:15px;font-weight:700;color:#257052}.crm-upcoming-event small{display:block;font-size:11px;line-height:1.5;color:#7c9086;margin-top:3px}.crm-upcoming-description{flex:1;min-width:0;overflow-wrap:anywhere}.crm-upcoming-description b{font-size:13px;line-height:1.5}.crm-upcoming-empty{padding:30px 10px;font-size:12px;line-height:1.8;color:#83958c;text-align:center}.crm-upcoming-add{border:0;background:transparent;color:#237355;text-align:right;padding:10px 0 0;font-size:12px;cursor:pointer}.crm-calendar-popup{width:min(1080px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:1px solid #d5e3da;border-radius:16px;padding:24px;box-sizing:border-box;background:#fff;box-shadow:0 20px 70px #102f2940}.crm-calendar-popup::backdrop{background:#163a325c}.crm-calendar-popup-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.crm-calendar-popup-head h2{font-size:20px;margin:0}.crm-calendar-popup-head button{white-space:nowrap}.crm-upcoming-event:focus-visible,.crm-upcoming-add:focus-visible{outline:2px solid #27835c;outline-offset:2px}@media(max-width:1250px){#dashboardView .dashboard-upcoming{grid-column:1/-1;max-height:330px}}@media(max-width:700px){.crm-calendar-popup{padding:14px}#dashboardView .dashboard-upcoming{max-height:380px}}
