/* Earlier runs you can reopen (history.js). The count is quiet text in the dock; the list is Obsidian glass like the other menus. */
.hist-count{height:2rem;padding:0 var(--s-1);margin-left:calc(var(--s-2) * -1);border-radius:var(--r-sm);flex:none;white-space:nowrap;
  font:var(--type-menu-desc);color:var(--text-3);background:none;transition:color var(--d-1) var(--ease-out)}
.hist-count:hover,.hist-count[aria-expanded="true"]{color:var(--text-1)}
.hist-count:focus-visible{outline-offset:2px}

.hist-menu{width:22rem;max-width:calc(100vw - 16px);gap:var(--s-1);transform-origin:100% 100%}
.hist-head{font:var(--type-menu-desc);color:var(--text-3);padding:var(--s-1) var(--s-3) var(--s-1)}
.hist-row.mi{grid-template-columns:auto 1fr;align-items:baseline;column-gap:var(--s-3);font:var(--type-menu-desc);color:var(--text-2)}
.hist-row b{font:var(--type-menu-item);color:var(--text-1)}
.hist-line{text-wrap:pretty}
.hist-lamp{width:7px;height:7px;border-radius:50%;align-self:center;background:var(--lamp,var(--text-3));box-shadow:0 0 8px -1px var(--lamp,transparent)}
.hist-row[data-tone="ok"]{--lamp:var(--ok)}
.hist-row[data-tone="retry"]{--lamp:var(--retry)}
.hist-row[data-tone="stopped"]{--lamp:var(--text-2)}
.hist-row[data-tone="failed"]{--lamp:var(--error)}
.hist-row[aria-current="true"]{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
/* the guide line above the dock steps back while the list is open, so the two never overlap */
.f10-say{transition:opacity var(--d-2) var(--ease-out)}
html.hist-open .f10-say{opacity:0;pointer-events:none}
