.cp-settings-dialog{width:min(760px,calc(100vw - 24px))}
.cp-legend .legend-fast>span{align-items:flex-start}
.cp-legend .legend small{display:inline;color:var(--muted);font-size:inherit;line-height:inherit}
.cp-legend .legend b{margin-top:1px}
.old-info .new-feast-reference{color:#3e6f9c}
html[data-theme="dark"] .old-info .new-feast-reference{color:#90b9e0}
.date-cell.yellow.fixed{--day-fill:var(--yellow-light)}
.date-cell.yellow.moving{--day-fill:var(--yellow-deep)}
.date-cell.blue.fixed{--day-fill:var(--blue-light)}
.date-cell.blue.moving{--day-fill:var(--blue-deep)}
.date-cell.fixed{--feast-fill:var(--feast-light)}
.date-cell.moving{--feast-fill:var(--feast-deep)}
:root{--old-fast-line:#b998cf;--new-icon-color:#9aa2a6;--new-mark-color:#d6dbdc;--new-feast-fill:#f8e2c2}
html[data-theme="dark"]{--old-fast-line:#ae8fc3;--new-icon-color:#c9c4bc;--new-mark-color:#e9e5dc;--new-feast-fill:#745b3e}
.date-cell.combined-day.yellow a,.date-cell.combined-day.blue a{position:relative;display:block;background:var(--day-fill)}
.date-cell.combined-day.new-feast a{background:var(--new-feast-fill)}
.date-cell.combined-day.old-feast a{background:var(--feast-fill)}
.date-cell.combined-day.new-feast.old-feast a{background:linear-gradient(135deg,var(--new-feast-fill) 50%,var(--feast-fill) 50%)}
.date-cell.combined-day.new-feast.old-feast:not(.new-fast-line):not(.old-fast-line) a{border-bottom-color:var(--feast-fill)}
.combined-day .day-number{position:absolute;inset:0;display:grid;place-items:center;justify-self:stretch;align-self:stretch;pointer-events:none}
.combined-day.new-feast .day-number,.combined-day.old-feast .day-number{color:var(--red)}
.combined-day .old-feast-mark,.combined-day .new-feast-mark{position:absolute;bottom:5px;display:grid;place-items:center;width:19px;height:19px}
.combined-day .old-feast-mark{right:2px}
.combined-day .new-feast-mark{left:2px;color:var(--new-icon-color)}
.combined-day .new-feast-mark .feast-mark{color:var(--new-icon-color)}
.combined-day .feast-mark{display:grid;grid-column:auto;grid-row:auto;place-items:center;place-self:center}
.combined-day .fast-info-button{top:2px;z-index:1;width:20px;height:20px}
.combined-day .old-fast-icon{right:2px}
.combined-day .new-fast-icon{left:2px;right:auto}
.combined-day .new-fast-icon img{opacity:.38}
html[data-theme="dark"] .combined-day .new-fast-icon img{opacity:.68}
.combined-day.new-fast-line a::after,.combined-day.old-fast-line a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;pointer-events:none}
.combined-day.new-fast-line a::after{background:var(--new-mark-color)}
.combined-day.old-fast-line a::after{background:var(--old-fast-line)}
/* A 64px day cell spans eight full diagonal stripe cycles, so adjacent days join cleanly. */
.combined-day.both-fast-lines a::after{background:repeating-linear-gradient(135deg,var(--new-mark-color) 0 2.828427px,var(--old-fast-line) 2.828427px 5.656854px)}

.old-only-day a{position:relative}
.old-only-day .julian-day-number{position:absolute;left:3px;bottom:2px;font:400 11px/1 Georgia,serif;text-align:center;color:var(--muted)}
