/* 今日小结的几个小部件，网页和 Mac 顶部条共用。 */
.headline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.headline b { font: 700 24px/1.1 var(--digits); letter-spacing: .02em; }
.headline span { font-size: 14px; color: var(--ink-soft); }
#recap-copy { width: 146px; margin-left: auto; white-space: nowrap; }

.tl { margin: 8px 0 2px; }
.tl-bar { position: relative; height: 18px; border: 2px solid var(--line); border-radius: var(--wob); background: var(--paper-2); overflow: hidden; }
.tl-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.tl-ticks { position: relative; height: 16px; font: 11px/16px var(--digits); color: var(--ink-soft); }
.tl-ticks span { position: absolute; translate: -50% 0; }
.tl-ticks span:first-child { translate: 0 0; }
.tl-ticks span:last-child { translate: -100% 0; }

.alloc { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 5px; }
.alloc li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 2px 8px; font-size: 14px; }
.alloc li > i { width: 12px; height: 12px; border-radius: 50% 46% 54% 48%; }
.alloc .n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alloc .n em { font-style: normal; font-size: 12px; color: var(--focus); }
.alloc .d { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.alloc .bar { grid-column: 2 / 4; height: 5px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.alloc .bar b { display: block; height: 100%; border-radius: 3px; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; font-size: 12px; text-align: center; color: var(--ink-soft); }
.week span { display: flex; align-items: flex-end; height: 40px; border-bottom: 2px solid var(--line); }
.week b { display: block; width: 100%; border-radius: 5px 6px 0 0; background: var(--away); }
.week .today { color: var(--ink); }
.week .today b { background: var(--green); }

.hand { width: 1.25em; height: 1.25em; vertical-align: -0.25em; flex: none; }
/* 收尾和挥手用的小纸条 */
.slip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 8px; padding: 3px 12px 5px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--wob2); font-size: 15px; }
.slip button { padding: 1px 10px 2px; border-radius: var(--wob); background: var(--blue); font-size: 14px; }
.slip button.plain { background: none; color: var(--ink-soft); }
.slip button:hover { background: var(--yellow); }
