
.sg-calendar-history-badge{border:0;background:transparent;color:var(--sg-theme-muted,#68737e);font:inherit;font-size:10px;line-height:12px;cursor:pointer;padding:0 2px;white-space:nowrap;z-index:5;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left;container-type:inline-size}
.sg-calendar-history-badge>span{background:var(--sg-theme-surface,#f0f2f4);border-radius:4px;padding:0 1px}
.sg-calendar-history-badge:focus-visible{outline:2px solid #087f83;outline-offset:-2px}
.sg-calendar-history-day{grid-row:1;align-self:stretch;justify-self:stretch;text-align:right;padding-left:28px;padding-right:2px}
.sg-calendar-history-planner{position:absolute;height:12px}
.sg-calendar-history-panel{position:fixed;z-index:1600;width:350px;max-width:calc(100vw - 16px);max-height:min(440px,calc(100dvh - 24px));overflow:auto;box-sizing:border-box;background:var(--sg-surface,var(--sg-theme-surface,#fff));color:var(--sg-theme-text,#253345);border:1px solid var(--sg-theme-border,#dce3e9);border-radius:12px;padding:14px;box-shadow:0 8px 28px #10283b24;font:13px/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
.sg-calendar-history-panel header{display:flex;align-items:center;gap:8px;justify-content:space-between}
.sg-calendar-history-panel h3{font-size:15px;margin:0}
.sg-calendar-history-panel button{font:inherit;cursor:pointer;border:1px solid var(--sg-theme-border,#dce3e9);border-radius:7px;background:var(--sg-theme-surface,#fff);color:inherit;min-height:36px;padding:6px 10px}
.sg-calendar-history-panel header button{flex-shrink:0;white-space:nowrap}
.sg-calendar-history-panel ol{list-style:none;padding:0;margin:8px 0 0}
.sg-calendar-history-panel li{border-top:1px solid var(--sg-theme-border,#e8edf0);padding:10px 0}
.sg-calendar-history-panel p{margin:3px 0}
.sg-calendar-history-panel time,.sg-calendar-history-panel .sg-history-unknown{color:var(--sg-theme-muted,#68737e);font-size:11px}
@container(max-width:90px){.sg-calendar-history-badge .sg-history-long{display:none}}
@container(max-width:22px){.sg-history-many .sg-history-symbol{display:none}}
@media(max-width:1100px){.sg-calendar-history-day .sg-history-long{display:none}.sg-calendar-history-day{font-size:9px}}
