.shift-history-open{min-height:42px;margin:8px 0;padding:9px 14px;border:1px solid var(--line);border-radius:10px;font:inherit}
#shiftHistoryDialog{width:min(94vw,650px);max-height:85dvh}
.shift-history-card,.rule-summary{border:1px solid var(--line);border-radius:12px;padding:12px;margin:12px 0;background:var(--paper);overflow-wrap:anywhere}
.shift-history-card h3{font-size:15px;margin:0 0 6px}.shift-history-card small{color:var(--sub)}
.shift-history-change{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}.shift-history-change p{margin:5px 0;white-space:pre-wrap;line-height:1.5}.shift-history-change p:first-child{font-weight:600}
.rule-summary p{margin:8px 0 0;line-height:1.6}.rule-summary summary{cursor:pointer}#activeRulesList>p{font-size:13px;overflow-wrap:anywhere}
