.calendar-grid a{position:relative;isolation:isolate}.calendar-grid a.has-record::after,.record-ring{content:'';position:absolute;inset:6px;border:5px solid #f2ce3880;border-radius:49% 52% 47% 54%;transform:rotate(-10deg);pointer-events:none;z-index:-1}.calendar-grid a.has-record[aria-current=date]::after{border-color:#ffe36ac9}.record-legend{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.6;color:#788394;margin:14px 0 6px}.record-legend .record-ring{position:relative;inset:auto;display:inline-block;width:22px;height:22px;box-sizing:border-box;flex:none;z-index:0}.record-calendar-status{font-size:12px;line-height:1.6;color:#788394;margin:8px 0;white-space:pre-line}.record-calendar-status[data-error=true],#records-status[data-error=true]{color:#b34d46}.records-footer{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:12px}.records-footer button{font-size:13px;min-height:40px;padding:8px 12px}#records-dialog{margin:auto;width:min(760px,calc(100% - 24px));max-width:760px;max-height:88dvh;box-sizing:border-box;background:#fff;color:#253041;border:1px solid #dce2ec;border-radius:20px;padding:24px;overflow:auto}#records-dialog::backdrop{background:#172a4255}.records-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.records-heading h2{font-size:20px;margin:0}.records-heading button{padding:8px 12px;min-height:40px}.records-intro,#records-status{font-size:13px;color:#788394;line-height:1.6}.record-group{margin:24px 0}.record-group h3{font-size:16px;margin:0 0 12px}.record-card{padding:14px 16px;border:1px solid #e1e6ee;border-radius:12px;margin:8px 0}.record-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.record-card-head strong{font-size:13px;color:#687487}.record-card-head button{font-size:12px;padding:6px 10px;min-height:36px;white-space:nowrap}.record-section{margin-top:10px}.record-section h4{margin:0 0 4px;color:#788394;font-size:12px;font-weight:500}.record-section p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;margin:0}.records-draft{font-size:11px;color:#97650b;margin-left:8px}#records-more{display:block;width:100%;min-height:44px;margin-top:18px}#records-refresh{font-size:13px;min-height:38px;padding:8px 12px}.records-empty{text-align:center;color:#788394;font-size:14px;padding:32px 8px;line-height:1.8}.records-footer [hidden],#records-more[hidden]{display:none}@media(max-width:480px){#records-dialog{padding:18px}.record-card{padding:12px}.day-nav-center{flex-wrap:wrap;justify-content:center}#records-open{font-size:12px;padding:8px}.record-card-head{gap:6px}}
.calendar-dialog{max-height:90dvh;overflow:auto;box-sizing:border-box}.records-footer button,#records-dialog button{border:1px solid #dce2ec;border-radius:9px;background:#f7f9fc;color:#52647d;font:inherit;cursor:pointer}.records-footer button{font-size:13px}#records-dialog .record-card-head button{font-size:12px}#records-dialog button:hover,.records-footer button:hover{background:#eef4ff}#records-dialog button:focus-visible,.records-footer button:focus-visible{outline:3px solid #79a8ff;outline-offset:2px}
