/* V18.4: compact day summary and the chosen date in the quick-entry form. */
.agenda-form-date-hint{display:block;color:#173d86;font-size:15px;font-weight:700;margin:4px 0 8px;text-transform:capitalize}
.agenda-day[role="button"]{cursor:pointer}
.agenda-day[role="button"]:focus-visible,.agenda-view-day-title:focus-visible{outline:3px solid #009fd1;outline-offset:2px}
button.agenda-view-day-title{width:100%;text-align:left;cursor:pointer;font:inherit;color:#173d86;border:1px solid #a8bbd0!important;border-radius:8px;padding:12px!important;background:#eef4fa}
.agenda-day-summary{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #a8bbd0;border-radius:14px;color:#203548;background:#fff;box-shadow:0 24px 80px #173d8640;overflow:hidden}
.agenda-day-summary::backdrop{background:#14293d65}
.agenda-day-summary-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:2px solid #009fd1;background:#eef4fa}
.agenda-day-summary-head span{font-size:11px;font-weight:700;letter-spacing:.08em;color:#365f91}
.agenda-day-summary-head h3{font-size:19px;line-height:1.4;margin:5px 0 0;text-transform:capitalize;overflow-wrap:anywhere}
.agenda-day-summary button{font:700 13px Arial,sans-serif;min-height:42px;border:1px solid #a8bbd0;border-radius:7px;background:#fff;color:#173d86;padding:9px 15px;cursor:pointer}
.agenda-day-summary-head button{font-size:25px;width:42px;flex:none;padding:4px}
.agenda-day-summary-content{max-height:calc(100dvh - 244px);overflow:auto;padding:16px 20px;overscroll-behavior:contain}
.agenda-day-summary-item{border:1px solid #b7c9db;border-left:4px solid #365f91;border-radius:8px;padding:13px 15px;margin:0 0 12px;overflow-wrap:anywhere}
.agenda-day-summary-item:last-child{margin-bottom:0}
.agenda-day-summary-item.visit{border-left-color:#009fd1}.agenda-day-summary-item.task{border-left-color:#dd9a2e}
.agenda-day-summary-item-head{display:flex;gap:12px;align-items:baseline;justify-content:space-between;font-size:13px;color:#365f91}
.agenda-day-summary-item h4{margin:8px 0 5px;font-size:17px;line-height:1.4}
.agenda-day-summary-item p{margin:7px 0;font-size:14px;line-height:1.5;white-space:pre-wrap}
.agenda-day-summary-owner{color:#65788a}.agenda-day-summary-item button{margin-top:6px}
.agenda-day-summary-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 20px;border-top:1px solid #a8bbd0}
.agenda-day-summary-footer .agenda-day-summary-new{color:#fff;background:#173d86;border-color:#173d86}
@media(max-width:600px){.agenda-day-summary-head{padding:14px}.agenda-day-summary-head h3{font-size:17px}.agenda-day-summary-content{padding:12px}.agenda-day-summary-item-head{flex-wrap:wrap;gap:5px}.agenda-day-summary-footer{padding:12px}.agenda-day-summary-footer button{flex:1}}

.agenda-form-title{flex-wrap:wrap!important;gap:4px 10px!important}
.agenda-form-title b{flex:1 1 100%!important}
.agenda-form-date-hint{flex:1 1 100%;margin:0 0 3px}
.agenda-form-title small{flex:1 1 100%;max-width:none!important;text-align:left!important}
