/* V18.7.1 · Sharp calendar reminders and white text on blue summary headers. */
.agenda-section{
  --agenda-navy:#173d86;
  --agenda-blue:#365f91;
  --agenda-cyan:#009fd1;
  --agenda-soft:#eef4fa;
}
.agenda-section .agenda-card,
.agenda-section .agenda-followup-details{
  border:2px solid var(--agenda-navy)!important;
  background:#fff;
  box-shadow:0 6px 20px rgba(23,61,134,.09),inset 0 3px var(--agenda-cyan);
}
.agenda-section .agenda-stat{
  border:1.5px solid var(--agenda-blue);
  border-top:4px solid var(--agenda-navy);
  background:linear-gradient(180deg,#eef4fa,#fff);
  box-shadow:0 3px 10px rgba(23,61,134,.07);
}
.agenda-section .agenda-stat:nth-child(even){border-top-color:var(--agenda-cyan)}
.agenda-section .agenda-stat b,
.agenda-section .agenda-month-title,
.agenda-section .agenda-form-title b,
.agenda-section .agenda-list-title b{color:var(--agenda-navy)}
.agenda-section .agenda-stat span{color:var(--agenda-blue)}
.agenda-section .agenda-calendar-head{
  padding-bottom:12px;
  border-bottom:2px solid var(--agenda-cyan);
}
.agenda-section .agenda-weekdays{margin-bottom:6px}
.agenda-section .agenda-weekdays div{
  color:var(--agenda-navy);
  background:#fff;
  border:1px solid var(--agenda-blue);
  border-radius:6px;
  padding:8px 0!important;
}
.agenda-section .agenda-day{
  border:1.5px solid var(--agenda-blue);
  background:#fff;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.agenda-section .agenda-day:hover{
  border-color:var(--agenda-cyan);
  box-shadow:0 0 0 1px var(--agenda-cyan);
}
.agenda-section .agenda-day.today:not(.due-today):not(.overdue-pending){
  border-color:var(--agenda-cyan);
  box-shadow:inset 0 0 0 1px var(--agenda-cyan);
}
.agenda-section .agenda-day.selected{
  outline:2px solid var(--agenda-navy);
  outline-offset:1px;
}
.agenda-section .agenda-day.selected:not(.due-today):not(.due-tomorrow):not(.overdue-pending){
  background:var(--agenda-soft);
  border-color:var(--agenda-navy);
  box-shadow:inset 0 3px var(--agenda-cyan);
}
.agenda-section .agenda-day-number{color:var(--agenda-navy)}
.agenda-section .agenda-day.due-today{
  border:2px solid #c62828!important;
  box-shadow:none!important;
}
.agenda-section .agenda-day.due-tomorrow{
  border:2px solid #e0ad43!important;
  box-shadow:none!important;
}
.agenda-section .agenda-day.overdue-pending{
  border:2px solid #b71c1c!important;
  box-shadow:none!important;
}
.agenda-section .agenda-day .agenda-day-number{font-weight:700}
.agenda-section .agenda-day .agenda-mini{font-weight:600;text-shadow:none}
@media(min-width:701px){
  .agenda-section .agenda-calendar-grid .agenda-mini{
    font-family:Arial,sans-serif;
    font-size:12px!important;
    line-height:1.35!important;
    padding:4px 6px!important;
  }
}
.agenda-section .agenda-mini.call{background:#e7eef9;color:#173d86;border-left:3px solid #173d86}
.agenda-section .agenda-mini.visit{background:#e5f6fc;color:#075c79;border-left:3px solid #009fd1}
.agenda-section .agenda-mini.task{background:#eef2f8;color:#365f91;border-left:3px solid #365f91}
.agenda-section .agenda-calendar-legend{color:var(--agenda-blue)}
.agenda-section .agenda-calendar-legend .l-call:before{background:var(--agenda-navy)}
.agenda-section .agenda-calendar-legend .l-visit:before{background:var(--agenda-cyan)}
.agenda-section .agenda-calendar-legend .l-task:before{background:var(--agenda-blue)}
.agenda-section .agenda-form-title{
  padding:4px 0 12px;
  border-bottom:2px solid var(--agenda-cyan);
  margin-bottom:14px!important;
}
.agenda-section .agenda-form-date-hint{
  border-left:3px solid var(--agenda-cyan);
  padding-left:9px;
}
.agenda-section .agenda-form-date-hint:empty{display:none}
.agenda-section .agenda-field>span{color:var(--agenda-blue)}
.agenda-section .agenda-field input,
.agenda-section .agenda-field select,
.agenda-section .agenda-field textarea,
.agenda-section .agenda-filters select{
  border:1.5px solid var(--agenda-blue);
  background:#fff;
}
.agenda-section .agenda-field input:focus,
.agenda-section .agenda-field select:focus,
.agenda-section .agenda-field textarea:focus,
.agenda-section .agenda-filters select:focus{
  border-color:var(--agenda-cyan);
  box-shadow:0 0 0 3px rgba(0,159,209,.14);
  outline:none;
}
.agenda-section .agenda-type span{
  border:1.5px solid var(--agenda-blue);
  color:var(--agenda-navy);
}
.agenda-section .agenda-type input:checked+span{
  border-color:var(--agenda-navy);
  color:#fff;
  background:var(--agenda-navy);
  box-shadow:inset 0 -3px var(--agenda-cyan);
}
.agenda-section .agenda-type input:focus-visible+span{outline:3px solid var(--agenda-cyan);outline-offset:2px}
.agenda-section .agenda-viewbar button,
.agenda-section .agenda-calendar-actions button,
.agenda-section .agenda-secondary,
.agenda-section .agenda-selected-day{
  border:1.5px solid var(--agenda-blue);
  color:var(--agenda-navy);
  background:#fff;
}
.agenda-section .agenda-viewbar button.active,
.agenda-section .agenda-primary{
  border:1.5px solid var(--agenda-navy);
  background:var(--agenda-navy);
  color:#fff;
  box-shadow:inset 0 -3px var(--agenda-cyan);
}
.agenda-section .agenda-calendar-actions button:hover,
.agenda-section .agenda-secondary:hover,
.agenda-section .agenda-viewbar button:not(.active):hover{border-color:var(--agenda-cyan);background:#e5f6fc}
.agenda-section .agenda-followup-details>summary{
  background:var(--agenda-navy);
  border-bottom:2px solid var(--agenda-cyan);
}
.agenda-section .agenda-view-day-title{
  border:1.5px solid var(--agenda-blue)!important;
  border-left:4px solid var(--agenda-cyan)!important;
  background:var(--agenda-soft);
}
.agenda-section .agenda-view-event,
.agenda-section .agenda-item{border:1.5px solid var(--agenda-blue);border-left-width:4px}
.agenda-section .agenda-item.call{border-left-color:var(--agenda-navy)}
.agenda-section .agenda-item.visit{border-left-color:var(--agenda-cyan)}
.agenda-section .agenda-item.task{border-left-color:var(--agenda-blue)}
.agenda-section .agenda-empty{border-color:var(--agenda-blue);background:#f8fbfe;color:var(--agenda-blue)}
.agenda-day-summary{border:2px solid #173d86;box-shadow:0 24px 80px #173d8640}
.agenda-day-summary-head{background:#173d86;border-bottom:3px solid #009fd1;color:#fff}
/* Override the global h3 color forced by v16-model-focus.css. */
.agenda-day-summary .agenda-day-summary-head h3,
.agenda-day-summary .agenda-day-summary-head span{color:#fff!important}
.agenda-day-summary-head button{border-color:#009fd1}
.agenda-day-summary-item{border:1.5px solid #365f91;border-left:4px solid #173d86;background:#f8fbfe}
.agenda-day-summary-item.visit{border-left-color:#009fd1}
.agenda-day-summary-item.task{border-left-color:#365f91}
.agenda-day-summary button{border-color:#365f91}
.agenda-day-summary-footer{border-top:2px solid #009fd1;background:#eef4fa}
@media(prefers-reduced-motion:reduce){.agenda-section .agenda-day{transition:none}}
@media(max-width:700px){
  .agenda-section .agenda-mini{border-left:0}
  .agenda-section .agenda-weekdays div{padding:7px 0!important}
}
