.local-history { margin-top: 26px; }
.local-history summary { cursor: pointer; font-weight: 650; padding-block: 3px; }
.local-history > p { color: var(--muted); margin: 10px 0; max-width: 64ch; }
.local-history .history-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.history-tools label { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; margin: 0; cursor: pointer; }
.history-tools input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.masthead-actions { display: flex; gap: 8px; align-items: center; }
.history-actions { position: relative; }
#history-more { min-width: 44px; padding-inline: 10px; font-size: 1.35rem; line-height: 1; }
.history-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 4; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 6px 18px rgb(20 10 45 / 12%); }
.history-menu button { min-width: 130px; border: 0; text-align: start; white-space: nowrap; }
.history-menu button:hover, .history-menu button:focus-visible { background: var(--soft); }
.history-rows { list-style: none; padding: 0; margin: 0; }
.history-rows li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-rows li div { display: grid; }
.history-rows li span { font-size: .87rem; color: var(--muted); }
.history-rows li .history-done { color: var(--ink); }
