.ae-workload,
.ae-cut,
.ae-jar,
.ae-overdue,
.ae-wait-radar {
  margin-block: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ae-workload {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--forced) 9%, var(--paper));
  border-color: color-mix(in srgb, var(--forced) 34%, var(--line));
}
.ae-workload p { margin: 0; font-size: 13px; }
.ae-workload strong,
.ae-workload span,
.ae-jar small { display: block; }
.ae-workload span,
.ae-jar small,
.ae-evening { color: var(--muted); }
.ae-compact-list,
.ae-overdue-list { padding: 0; margin: 0; list-style: none; }
.ae-compact-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding-block: 4px;
  border-bottom: 1px solid var(--line);
}
.ae-compact-list > li > span { overflow-wrap: anywhere; }
.ae-compact-list .button { flex: none; }
.ae-cut > .button { margin-top: 8px; }
.ae-wait-radar h2,
.ae-overdue h3 { margin: 0 0 5px; font-size: 14px; }
.ae-wait-radar summary { cursor: pointer; padding-block: 6px; overflow-wrap: anywhere; }
.ae-stale-wait { margin-block: 4px; font-size: 13px; }
.ae-text-button {
  min-height: 36px;
  padding-inline: 0;
  border: 0;
  color: inherit;
  background: none;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.ae-jar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
}
.ae-jar > .button-row { grid-column: 2; }
.ae-jar-copy { overflow-wrap: anywhere; }
.ae-jar-result { margin: 4px 0 0; font-size: 14px; }
.ae-jar-result:empty { display: none; }
.ae-jar-dots {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forced);
}
.ae-jar-dots .dot-cluster { --point-color: var(--forced); }
.ae-jar-dots.is-rolling .dot-cluster { animation: ae-jar-roll 460ms ease-in-out infinite alternate; }
.ae-jar-dots.is-settled .dot-cluster { animation: ae-relight 600ms ease-out both; }
@keyframes ae-jar-roll {
  from { transform: translate(-4px, -3px) rotate(-50deg) scale(.7); }
  45% { transform: translate(0, 4px) rotate(80deg) scale(.9); }
  to { transform: translate(5px, -4px) rotate(200deg) scale(.7); }
}
.ae-evening { margin: 16px 0; font-size: 13px; }
.ae-errands-link { margin-top: 8px; }
.ae-overdue { padding-block-end: 2px; }
.ae-overdue-row { display: grid; grid-template-rows: 1fr; }
.ae-overdue-row > div { min-height: 0; overflow: hidden; }
.ae-overdue-row .task-list { margin-block: 0; }
.ae-overdue-row .task-list > li { border-bottom: 0; }
.ae-overdue-actions { padding-inline-start: var(--mark-column); padding-block: 0 6px; }
.ae-overdue-actions:empty { display: none; }
.ae-overdue-actions .button { min-height: 36px; }
.ae-overdue-row.is-burying .dot-cluster,
.ae-overdue-row.is-collapsing .dot-cluster { animation: ae-extinguish 450ms ease-out both; }
.ae-overdue-row.is-burying .task-card,
.ae-overdue-row.is-collapsing .task-card { pointer-events: none; }
.ae-overdue-row.is-collapsing { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 220ms ease, opacity 200ms; }
.ae-relit .dot-cluster { animation: ae-relight 650ms ease-out both; --point-color: var(--forced); }
@keyframes ae-extinguish {
  from { opacity: 1; filter: brightness(1.1); }
  to { opacity: 0; filter: brightness(.35); }
}
@keyframes ae-relight {
  from { opacity: .38; transform: scale(.86); }
  45% { opacity: 1; transform: scale(1.3); }
  to { opacity: 1; transform: scale(1); }
}
.ae-errands,
.ae-seasonal { margin-block: 12px; }
.ae-errands { scroll-margin-block-start: calc(var(--topbar-height) + 8px); }
.ae-errands .places-suggestion { overflow-wrap: anywhere; }
.ae-errands ol { margin: 0; padding-inline-start: 1.6rem; }
.ae-errands .places-suggestion button { justify-self: start; }
.ae-seasonal .ae-compact-list { margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) {
  .ae-jar-dots .dot-cluster,
  .ae-overdue-row .dot-cluster,
  .ae-relit .dot-cluster { animation: none !important; }
  .ae-overdue-row.is-collapsing { transition: none; }
}
