#reminderButton{font-size:12px;white-space:normal}
#reminderPopup{position:fixed;right:24px;bottom:24px;width:370px;max-width:calc(100vw - 24px);max-height:75vh;overflow-y:auto;background:white;border:1px solid #cfdfdb;border-radius:16px;padding:18px;box-shadow:0 14px 65px #10263040;z-index:9;color:#16333b;overflow-wrap:anywhere}
.reminder-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reminder-popup-head h2{font-size:16px;margin:0 0 12px}.reminder-popup-head button{flex:none}
.reminder-item{border:1px solid #dce7e4;border-left:4px solid #478c80;border-radius:10px;padding:16px;margin:12px 0;background:#fff;overflow-wrap:anywhere;min-width:0}
.reminder-item.critical{border-left-color:#b95745;background:#fffaf7}.reminder-item.today{border-left-color:#c18a29}
.reminder-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}.reminder-item strong{display:block}.reminder-item p{white-space:pre-wrap;margin:9px 0;font-size:13px}.reminder-item .link{display:block;margin:10px 0 0;font-size:13px;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.reminder-item-actions,.reminder-popup-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.reminder-item-actions button,.reminder-popup-actions button{font-size:12px;padding:9px 12px;max-width:100%;white-space:normal}.reminder-popup-error:empty{display:none}
.reminder-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.reminder-item details{font-size:12px;color:#5b7078}.reminder-item small{display:block;font-size:11px}
body:has(dialog[open]) #reminderPopup{display:none}
@media(max-width:720px){#reminderPopup{right:12px;bottom:12px;width:350px;max-height:62vh;padding:15px}.reminder-list{grid-template-columns:minmax(0,1fr)}}
