/* Home (home.js). Tokens: tokens.css; rules: DESIGN.md. Flat surfaces on paper,
   hairlines, the person's ink for their own actions, household green for shared. */

.home { max-width: 760px; }
.hm-i { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hm-head { margin-bottom: var(--s6); }
.hm-head h1 { margin-bottom: var(--s1); }
.hm-date { margin: 0; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.hm-budget { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink-3); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.hm-dots { display: inline-flex; gap: 4px; }
.hm-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--budget); }
.hm-dots i.on { background: var(--budget); }

.hm-sec { margin-bottom: var(--s7); }
.hm-sec > h2 { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.hm-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; }
.hm-calm { display: flex; align-items: center; gap: var(--s2); margin: 0; padding: var(--s4) 0; color: var(--ink-2); }
.hm-calm .hm-i { color: var(--ink-3); width: 16px; height: 16px; }
.hm-list { display: grid; gap: var(--s3); }

/* ---- cards (Needs you, inbox groups) ---- */
.hm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4) var(--s5); }
.hm-card h3 { margin: 0 0 var(--s1); font-size: var(--step-1); line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.hm-body { margin: 0 0 var(--s2); color: var(--ink-2); max-width: 66ch; }
.hm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); margin-bottom: var(--s3); color: var(--ink-3); font-size: var(--step--1); }
.hm-tag.ink { color: var(--me); font-weight: 600; }
.hm-tag.pushed::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--budget); margin-right: 6px; vertical-align: 1px; }
.hm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2); }
.hm-actions { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.hm-actions .btn { padding: 7px 14px; }
.hm-srcs { display: flex; gap: var(--s1); flex-wrap: wrap; }
.hm-src { border: 1px solid var(--line); background: none; border-radius: var(--r-chip); padding: 3px 9px; font-size: var(--step--1); color: var(--ink-2); cursor: pointer; }
.hm-src:hover { border-color: var(--ink-3); color: var(--ink); }
.hm-why { margin: 0 0 var(--s2); font-size: var(--step--1); color: var(--ink-2); }
.hm-why summary { cursor: pointer; color: var(--ink-3); width: max-content; }
.hm-why p { margin: var(--s1) 0 0; max-width: 66ch; }
.hm-also { margin-top: var(--s3); }
.hm-also > summary { cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; }
.hm-also .hm-list { margin-top: var(--s2); }

/* ---- overflow menu ---- */
.hm-more { position: relative; display: inline-flex; }
.hm-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: var(--r-chip); background: none; color: var(--ink-3); cursor: pointer; }
.hm-icon:hover, .hm-icon[aria-expanded="true"] { background: var(--sunk); color: var(--ink); }
.hm-icon .hm-i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hm-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 15; min-width: 220px; padding: 6px; display: grid; gap: 1px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); box-shadow: var(--lift); }
.hm-menu button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: var(--r-chip); cursor: pointer; color: var(--ink); white-space: nowrap; }
.hm-menu button:hover, .hm-menu button:focus-visible { background: var(--sunk); }
.hm-menu button[aria-checked="true"]::after { content: "✓"; float: right; margin-left: var(--s3); color: var(--me); }

/* ---- Coming up ---- */
.hm-day { margin-bottom: var(--s4); }
.hm-day h3 { display: flex; align-items: baseline; gap: var(--s2); margin: 0 0 var(--s2); font-size: var(--step-0); font-weight: 600; }
.hm-day h3 span { color: var(--ink-3); font-weight: 400; font-size: var(--step--1); }
.hm-agenda { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.hm-agenda li + li { border-top: 1px solid var(--line); }
.hm-entry { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: 11px var(--s4); text-decoration: none; color: inherit; }
a.hm-entry:hover { background: var(--sunk); }
.hm-when { white-space: nowrap; color: var(--ink-2); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.hm-entry.due .hm-when { color: var(--me); font-weight: 600; }
.hm-what { display: grid; gap: 1px; min-width: 0; }
.hm-title { font-weight: 500; overflow-wrap: anywhere; }
.hm-ctx { color: var(--ink-3); font-size: var(--step--1); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.hm-whos { display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: flex-end; }
.hm-who { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--sunk); color: var(--k); font-size: var(--step--1); font-weight: 500; white-space: nowrap; }
.hm-who .hm-i { width: 12px; height: 12px; }
.hm-who.shared { background: var(--shared-wash); color: var(--shared); }
.hm-scope { display: inline-flex; align-items: center; gap: 3px; color: var(--k, var(--ink-3)); }
.hm-scope.shared { color: var(--shared); }
.hm-scope .hm-i { width: 11px; height: 11px; }

/* ---- Inbox ---- */
.hm-card.hm-group { padding: 0; }
.hm-group summary { display: flex; align-items: baseline; gap: var(--s3); padding: var(--s4) var(--s5); cursor: pointer; list-style: none; }
.hm-group summary::-webkit-details-marker { display: none; }
.hm-topic { font-weight: 600; font-size: var(--step-1); }
.hm-sum { color: var(--ink-3); font-size: var(--step--1); }
.hm-chev { margin-left: auto; align-self: center; width: 16px; height: 16px; color: var(--ink-3); transition: transform .15s ease-out; }
.hm-group details[open] .hm-chev { transform: rotate(90deg); }
.hm-asks, .hm-mails { list-style: none; margin: 0; padding: 0 var(--s3) var(--s3) var(--s5); }
.hm-asks { padding-bottom: var(--s2); }
.hm-ask, .hm-mail { display: flex; align-items: center; gap: var(--s2); min-height: 36px; }
.hm-ask > .hm-i { color: var(--me); width: 15px; height: 15px; }
.hm-mails { border-top: 1px solid var(--line); padding-top: var(--s2); }
.hm-link { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--ink); display: grid; gap: 1px; }
.hm-ask .hm-link { flex: 0 1 auto; font-weight: 500; }
.hm-link:hover .hm-subj, .hm-ask .hm-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.hm-subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-from { color: var(--ink-3); font-size: var(--step--1); }
.hm-due { color: var(--ink-2); font-size: var(--step--1); white-space: nowrap; margin-right: auto; }
.hm-more-note { color: var(--ink-3); font-size: var(--step--1); margin: var(--s3) 0 0; }
.hm-empty { display: flex; gap: var(--s4); align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); }
.hm-empty h3 { margin: 0 0 var(--s1); font-size: var(--step-1); }
.hm-empty p { margin: 0 0 var(--s4); color: var(--ink-2); max-width: 56ch; }
.hm-empty-i { width: 28px; height: 28px; color: var(--ink-3); fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; margin-top: 2px; }
.hm-empty .btn { text-decoration: none; }

/* ---- pick a project ---- */
.hm-dialog { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); padding: var(--s5); width: min(440px, 92vw); box-shadow: var(--lift); }
.hm-dialog::backdrop { background: rgb(29 29 27 / .24); }
.hm-dialog h2 { margin: 0; }
.hm-dlg-sub { color: var(--ink-3); margin: var(--s1) 0 var(--s4); font-size: var(--step--1); }
.hm-pick { display: grid; gap: var(--s1); max-height: 50vh; overflow: auto; }
.hm-pick button { display: flex; justify-content: space-between; gap: var(--s3); text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: none; cursor: pointer; font-weight: 500; }
.hm-pick button span { color: var(--ink-3); font-weight: 400; font-size: var(--step--1); }
.hm-pick button:hover { border-color: var(--me); background: var(--me-wash); }
.hm-dlg-foot { display: flex; justify-content: flex-end; margin-top: var(--s4); }

/* ---- shared console bits used by Home ---- */
.toast { display: flex; align-items: center; gap: var(--s4); }
.toast-undo { border: 0; background: none; color: inherit; font-weight: 700; cursor: pointer; padding: 2px 4px; text-decoration: underline; text-underline-offset: 3px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; margin: var(--s2) 0 var(--s5); background: var(--sunk); border-radius: var(--r-ctl); }
.seg a { padding: 6px 16px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.seg a:hover { color: var(--ink); }
.seg a[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

@media (max-width: 820px) {
  .hm-card { padding: var(--s4); }
  .hm-entry { grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s2); padding: 10px var(--s3); }
  .hm-group summary { padding: var(--s4); flex-wrap: wrap; }
  .hm-asks, .hm-mails { padding-left: var(--s4); }
}
.hm-ask .hm-more, .hm-mail .hm-more { margin-left: auto; }
.hm-ask .hm-due { margin-right: 0; }
.hm-src-more { align-self: center; color: var(--ink-3); font-size: var(--step--1); }
.hm-src { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Capture: words or a photo into homebox, and what a capture would add (docs/CAPTURE.md). */
.hm-cap { list-style: none; margin: var(--s2) 0 var(--s3); padding: 0; display: grid; gap: var(--s2); }
.hm-cap label { display: flex; gap: var(--s2); align-items: baseline; cursor: pointer; line-height: 1.4; }
.hm-cap input { accent-color: var(--me); transform: translateY(2px); }
.hm-cap b { font-weight: 600; color: var(--ink-2, var(--ink)); margin-right: 4px; }
.hm-cap-d { color: var(--ink-3, var(--ink)); }

/* Home is one screen: a small greeting, chips, then the top of Needs you and Coming up; no scrolling. */
.hm-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
.hm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 500; }
.hm-chip span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hm-chip span::before { content: "· "; }
.hm-chip:hover { background: var(--sunk); }
.hm-chip:focus-visible { outline: 2px solid var(--me); outline-offset: 2px; }
.hm-more-link { display: inline-block; margin-top: var(--s2); padding: 4px var(--s2); color: var(--ink-2); font-size: var(--step--1); text-decoration: none; border-radius: var(--r-ctl); }
.hm-more-link:hover { background: var(--sunk); color: var(--ink); }
.hm-page-title { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s4); }

/* Home: a briefing in a card grid that fits one 1280x800 screen. */
.home.brief .hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.home.brief .hm-head h1 { font-size: var(--step-2); margin: 0; }
.home.brief .hm-chips { margin: 0; justify-content: flex-end; }
.hm-grid { display: flex; gap: var(--s3); align-items: flex-start; }
.hm-col { flex: 1 1 0; display: grid; gap: var(--s3); align-content: start; min-width: 0; }
.hm-card2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s3) var(--s4) var(--s2); min-width: 0; }
.hm-card2 > h2 { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s1); font-size: var(--step-0); font-weight: 600; }
.hm-rows { list-style: none; margin: 0; padding: 0; }
.hm-row { display: flex; align-items: center; gap: var(--s2); border-top: 1px solid var(--line); }
.hm-row:first-child { border-top: 0; }
.hm-row-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--s3); padding: 7px 0; color: inherit; text-decoration: none; }
a.hm-row-in:hover .hm-title { text-decoration: underline; text-underline-offset: 3px; }
.hm-row .hm-when { flex: none; width: 4.6rem; font-size: var(--step--1); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hm-row .hm-when b { font-weight: 600; color: var(--ink); }
.hm-row .hm-when.late { color: var(--danger); font-weight: 600; }
.hm-row .hm-what { flex: 1; min-width: 0; display: grid; }
.hm-row .hm-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--step-0); }
.hm-row .hm-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--step--1); color: var(--ink-3); }
.hm-row .hm-who, .hm-row .hm-whos { flex: none; }
.hm-row .btn.sm { padding: 3px 10px; min-height: 28px; font-size: var(--step--1); flex: none; }
.hm-card2 .hm-more-link { margin-top: 2px; }
@media (max-width: 1100px) { .hm-grid { flex-wrap: wrap; } .hm-col { flex-basis: calc(50% - var(--s3)); } }
@media (max-width: 700px) { .hm-grid { flex-direction: column; } .hm-col { width: 100%; } .home.brief .hm-head { flex-direction: column; align-items: flex-start; } }
.hm-row .hm-when { display: grid; line-height: 1.25; }
.hm-whow { display: inline-flex; align-items: center; gap: 3px; color: var(--k, var(--ink-3)); }
.hm-whow.shared { color: var(--shared); }
.hm-whow svg { width: 12px; height: 12px; }
/* Your day: the day in a few sentences, then what to do about it. */
.hm-day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s3) var(--s4); margin-bottom: var(--s3); }
.hm-day-text { margin: 0 0 var(--s2); font-size: var(--step-1); line-height: 1.45; color: var(--ink); max-width: 90ch; }
.hm-ins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); }
.hm-ins-row { display: flex; align-items: center; gap: var(--s2); padding: 5px 0; border-top: 1px solid var(--line); min-width: 0; }
.hm-ins-row > span:first-child { flex: 1; min-width: 0; font-size: var(--step--1); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-ins-acts { display: inline-flex; gap: 4px; flex: none; }
.hm-ins-acts .btn.sm { padding: 2px 9px; min-height: 26px; font-size: var(--step--1); }
.hm-ins-remind { color: var(--ink-3); border-color: transparent !important; }
@media (max-width: 900px) { .hm-ins { grid-template-columns: 1fr; } }
/* A starred block on Home: the engine draws its body; the card has its project, a menu on hover, and can be dragged. */
.hm-fav > h2 { display: flex; align-items: baseline; gap: var(--s2); }
.hm-fav > h2 a { color: inherit; text-decoration: none; }
.hm-fav > h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm-fav-of { font-size: var(--step--1); font-weight: 400; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hm-fav-menu { margin-left: auto; opacity: 0; transition: opacity .12s; align-self: center; }
.hm-fav:hover .hm-fav-menu, .hm-fav:focus-within .hm-fav-menu, .hm-fav-menu[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .hm-fav-menu { opacity: 1; } }
.hm-fav.dragging { opacity: .5; }
.hm-fav.drop-before { box-shadow: 0 -3px 0 0 var(--me); }
@media (prefers-reduced-motion: reduce) { .hm-fav-menu { transition: none; } }

/* Coming up (the full list): a to-do's checkbox */
.hm-rcheck[aria-checked="true"] span { background: var(--me); border-color: var(--me); }
.hm-rcheck[aria-checked="true"] span::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--surface); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.hm-agenda li.done .hm-title { color: var(--ink-3); text-decoration: line-through; }

/* ---- Home's layout: the calendar first (left, the screen's height), the rest beside it; stacked when narrow ---- */
.home.brief { max-width: 1280px; }
.hm-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s3); align-items: start; }
.hm-split.stacked { grid-template-columns: minmax(0, 1fr); }
.hm-side { display: grid; gap: var(--s3); align-content: start; min-width: 0; }
.hm-side .hm-day { margin-bottom: 0; }
.hm-side .hm-ins { grid-template-columns: 1fr; }
.hm-side .hm-day-text { font-size: var(--step-0); }

/* ---- the calendar block (home.js, EventCalendar): month and arrows, the week strip, the day's agenda, add ---- */
.hm-cal { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.hm-cal-bar { display: flex; align-items: center; gap: 2px; padding: var(--s3) var(--s3) 0 var(--s4); }
.hm-cal-title { margin-right: auto; border: 0; background: none; padding: 4px 6px; margin-left: -6px; border-radius: var(--r-chip); color: var(--ink); font: inherit; font-weight: 600; font-size: var(--step-1); cursor: pointer; }
.hm-cal-title:hover { background: var(--sunk); }
.hm-cal-step { display: inline-flex; }
.hm-cal-today { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--step--1); font-weight: 500; padding: 5px 8px; border-radius: var(--r-chip); cursor: pointer; }
.hm-cal-today:hover { background: var(--sunk); color: var(--ink); }
.hm-cal .hm-icon .hm-i { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.hm-cal:not(.is-month) .hm-strip .ec-other-month .ec-day-head time { opacity: 1; }
.hm-cal-size .hm-i { transition: transform .15s; }
.hm-cal.is-month .hm-cal-size .hm-i { transform: rotate(180deg); }

.hm-cal .hm-strip { padding: var(--s1) var(--s2) var(--s2); touch-action: pan-y; user-select: none; }
.hm-cal .hm-strip .ec { --ec-highlight-color: transparent; --ec-today-bg-color: transparent; --ec-border-color: transparent; background: none; font-size: var(--step--1); }
.hm-cal .hm-strip .ec-main { border: 0; overflow: visible; }
.hm-cal .hm-strip .ec-header, .hm-cal .hm-strip .ec-col-head { background: none; }
.hm-cal .hm-strip .ec-col-head { color: var(--ink-3); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding-block: 2px 4px; }
.hm-cal .hm-strip .ec-day { border: 0; min-block-size: 0; cursor: pointer; }
.hm-cal .hm-strip .ec-day-head { display: flex; justify-content: center; padding: 2px 0 4px; }
.hm-cal .hm-strip .ec-day-head time { display: grid; justify-items: center; gap: 3px; }
.hm-cal .hm-strip .ec-events, .hm-cal .hm-strip .ec-day-foot { display: none; }
.hm-dnum { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: var(--step-0); font-variant-numeric: tabular-nums; color: var(--ink); transition: background .12s; }
.hm-cal .hm-strip .ec-day:hover .hm-dnum { background: var(--sunk); }
.hm-cal .hm-strip .ec-today .hm-dnum { color: var(--me); font-weight: 700; }
.hm-cal .hm-strip .ec-highlight .hm-dnum { background: var(--ink); color: var(--surface); font-weight: 600; }
.hm-cal .hm-strip .ec-today.ec-highlight .hm-dnum { background: var(--me); color: var(--on-ink, #fff); }
.hm-cal.is-month .hm-strip .ec-other-month .hm-dnum { color: var(--ink-3); }
.hm-ddots { display: flex; gap: 3px; height: 5px; }
.hm-ddots i { width: 5px; height: 5px; border-radius: 50%; background: var(--k); }
.hm-cal.is-month .hm-dnum { width: 26px; height: 26px; font-size: var(--step--1); }
.hm-cal.is-month .hm-strip .ec-day-head { padding: 1px 0 3px; }

.hm-cal-day { margin: 0; padding: var(--s2) var(--s4); border-top: 1px solid var(--line); font-size: var(--step-0); font-weight: 600; }
.hm-cal-day span { color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.hm-cal .hm-cal-list { flex: 1; min-height: 0; }
.hm-cal .hm-cal-list.cal-ec .ec { border: 0; border-radius: 0; background: none; }
.hm-cal .hm-cal-list .ec-list .ec-day-head { display: none; }
.hm-cal .hm-cal-list .ec-list .ec-day { border: 0; }
.hm-cal .hm-cal-list .ec-list .ec-event:first-of-type { border-top: 0; }

.hm-cal-add { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); padding: 6px var(--s3) 6px var(--s4); border-top: 1px solid var(--line); }
.hm-cal-plus { color: var(--ink-3); font-size: var(--step-1); line-height: 1; }
.hm-cal-add input[name="text"] { flex: 1; min-width: 0; border: 0; background: none; padding: 6px 0; font: inherit; color: var(--ink); outline: none; }
.hm-cal-add input[name="text"]::placeholder { color: var(--ink-3); }
.hm-cal-add:focus-within { box-shadow: inset 0 2px 0 -1px var(--me); }
.hm-cal-add .cal-seg { display: none; }
.hm-cal-add.typing .cal-seg { display: inline-flex; }
.hm-cal-prev { flex-basis: 100%; margin: 0 0 4px; padding-left: calc(var(--step-1) + var(--s2)); font-size: var(--step--1); color: var(--ink-2); }
.hm-cal-prev:empty { display: none; }
.hm-cal-prev strong { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hm-cal-size .hm-i, .hm-dnum { transition: none; } }
.hm-cal .cal-ec .ec-list .ec-event-time { width: 6.5rem; }
@media (max-width: 820px) { .hm-cal .cal-ec .ec-list .ec-event-time { width: 4.5rem; } }
