:root {
  --paper: #e9edf2;
  --sheet: #fafbfc;
  --ink: #1b2233;
  --ink-soft: #3d475c;
  --muted: #677186;
  --rule: #d3d9e2;
  --rule-soft: #e4e8ee;
  --air-red: #c33b3b;
  --air-blue: #24479a;
  --stamp: #a8761a;
  --ok: #2c7a57;
  --select: #dfe6f4;
  --focus: #24479a;
  --radius-sm: 4px;
  --radius: 8px;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121723;
    --sheet: #1a2131;
    --ink: #e5e9f0;
    --ink-soft: #c2c9d6;
    --muted: #96a0b3;
    --rule: #2c3549;
    --rule-soft: #232b3c;
    --air-red: #e06461;
    --air-blue: #7d9cf0;
    --stamp: #d9a441;
    --ok: #5cc192;
    --select: #25304a;
    --focus: #7d9cf0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121723;
  --sheet: #1a2131;
  --ink: #e5e9f0;
  --ink-soft: #c2c9d6;
  --muted: #96a0b3;
  --rule: #2c3549;
  --rule-soft: #232b3c;
  --air-red: #e06461;
  --air-blue: #7d9cf0;
  --stamp: #d9a441;
  --ok: #5cc192;
  --select: #25304a;
  --focus: #7d9cf0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.45 var(--font);
  display: flex;
  flex-direction: column;
}
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
/* No tabular figures: in Schibsted Grotesk tnum also widens "." and "," */

/* ---- airmail stripe: the one loud element, used for every progress bar ---- */
.airmail, .bar {
  position: relative;
  background: var(--rule-soft);
  overflow: hidden;
}
.airmail-fill, .bar-fill {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(-45deg,
    var(--air-red) 0 9px, var(--sheet) 9px 13px,
    var(--air-blue) 13px 22px, var(--sheet) 22px 26px);
  background-size: 36.77px 100%;
  transition: width .5s ease;
}
.is-syncing .airmail-fill, .is-syncing .bar-fill { animation: crawl 1.2s linear infinite; }
@keyframes crawl { to { background-position: 36.77px 0; } }
@media (prefers-reduced-motion: reduce) {
  .airmail-fill, .bar-fill { transition: none; animation: none !important; }
}
.airmail { height: 12px; }
.bar { height: 5px; border-radius: 3px; }
.bar.thin { height: 3px; }
.bar.done .bar-fill { background: var(--ok); }

/* ---- header band ---- */
.band { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.band-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px 12px;
}
h1 { font-size: 26px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.summary { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.band-actions { display: flex; align-items: center; gap: 10px; }
.live { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.live.on::before { background: var(--ok); }

.stages { list-style: none; margin: 0; padding: 0 24px 14px; display: flex; gap: 0; flex-wrap: wrap; }
.stage { display: flex; align-items: baseline; gap: 8px; padding-right: 28px; position: relative; }
.stage + .stage { padding-left: 22px; }
.stage + .stage::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px;
  border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted);
  transform: translate(-6px, -40%) rotate(45deg);
}
.stage-num { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.stage-label { color: var(--muted); }
.stage.pending .stage-num { color: var(--muted); }

.btn {
  border: 1px solid var(--rule); background: var(--sheet); border-radius: var(--radius-sm);
  padding: 6px 12px; cursor: pointer; font-weight: 500; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-small { padding: 3px 9px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
a.btn { text-decoration: none; display: inline-block; }

/* ---- three panes ---- */
.panes {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr) minmax(360px, 1.15fr);
}
.rail, .list, .detail { min-height: 0; overflow: auto; }
.rail { border-right: 1px solid var(--rule); padding: 14px 0 24px; }
.list { display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--rule); background: var(--sheet); }
.detail { background: var(--sheet); display: flex; flex-direction: column; }

/* accounts */
.account { margin: 0 12px 10px; border-radius: var(--radius); }
.account-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 11px 12px 12px;
}
.account.selected .account-card { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--air-red); }
.account-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.account-label { font-weight: 600; font-size: 15px; }
.account-email { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 8px; }
.account-line { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.state { font-size: 12px; font-weight: 500; white-space: nowrap; }
.state.ok { color: var(--ok); }
.state.syncing { color: var(--air-blue); }
.state.error { color: var(--air-red); }
.state.needs_credentials, .state.waiting_browser { color: var(--stamp); }
.state.ready { color: var(--muted); }

/* folder tree */
.tree { list-style: none; margin: 6px 0 4px; padding: 0; }
.tree .tree { margin: 0; }
.folder {
  display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 4px;
  width: 100%; border: 0; background: none; text-align: left; cursor: pointer;
  padding: 4px 8px 4px calc(6px + var(--depth, 0) * 14px); border-radius: var(--radius-sm);
}
.folder:hover { background: var(--rule-soft); }
.folder.selected { background: var(--select); font-weight: 600; }
.folder.noselect { color: var(--muted); }
.folder-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-count { color: var(--muted); font-size: 12px; }
.folder .bar { grid-column: 2 / 4; margin-top: 2px; }
.twisty { width: 14px; height: 14px; display: grid; place-items: center; color: var(--muted); font-size: 10px; }
.tree-wrap { margin: 2px 12px 14px; }

/* message list */
.list-head { padding: 14px 16px 10px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; }
.list-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
h2 { font-size: 17px; margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.search {
  width: 100%; padding: 7px 10px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--paper);
}
.rows { overflow: auto; flex: 1; }
.row {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 1px;
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-soft); background: none; text-align: left;
  padding: 9px 16px 10px 10px; cursor: pointer;
}
.row:hover { background: var(--paper); }
.row.selected { background: var(--select); }
.dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; }
.row.unread .dot { background: var(--air-blue); }
.row-from { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.unread .row-from, .row.unread .row-subject { font-weight: 700; }
.row-date { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.row-subject { grid-column: 2 / 4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); }
.row-meta { grid-column: 2 / 4; display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.clip { width: 12px; height: 12px; vertical-align: -2px; }
.more { margin: 12px auto 20px; display: block; }

.empty { padding: 28px 20px; color: var(--muted); max-width: 46ch; }
.empty strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 15px; }

/* detail pane */
.detail-head { padding: 18px 22px 14px; border-bottom: 1px solid var(--rule); }
.detail-subject { font-size: 20px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; font-size: 13px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.attachments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.attachment { border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 2px 8px; font-size: 12.5px; }
.body-frame { flex: 1; width: 100%; min-height: 320px; border: 0; background: #fff; }
.body-text { flex: 1; margin: 0; padding: 18px 22px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.note { padding: 16px 22px; color: var(--muted); }
.parse-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.overview { padding: 20px 22px; display: grid; gap: 18px; }
.overview h3 { margin: 0; font-size: 20px; font-weight: 600; }
.overview .sub { color: var(--muted); margin-top: 2px; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px 18px; }
.figure-num { font-size: 22px; font-weight: 600; }
.figure-label { color: var(--muted); font-size: 12.5px; }
.callout { border-left: 3px solid var(--stamp); padding: 8px 12px; background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout.error { border-left-color: var(--air-red); }
.callout p { margin: 4px 0; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; background: var(--rule-soft); padding: 1px 5px; border-radius: 3px; }
.job { display: grid; gap: 6px; }
.job-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.log { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.log li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--rule-soft); }
.log time { color: var(--muted); }
.log .warn { color: var(--stamp); }
.log .error { color: var(--air-red); }
.section-title { font-size: 13px; font-weight: 600; margin: 0 0 6px; color: var(--ink-soft); }
/* sorting categories */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 16px;
  padding: 0 6px; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap;
}
.tag.c0 { color: var(--air-red); }
.tag.c1 { color: var(--stamp); }
.tag.c2 { color: var(--air-blue); }
.tag.c3, .tag.c-none { color: var(--muted); }
.sorting { display: grid; gap: 8px; }
.sorting p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--sheet); border-radius: var(--radius-sm); padding: 4px 8px;
}
.chip:hover { border-color: var(--muted); }
.chip.selected { background: var(--select); border-color: var(--ink); }
.chip-count { font-weight: 600; }
.account.all { background: var(--sheet); border: 1px solid var(--rule); }
.account.all .account-card { border: 0; background: none; padding-bottom: 6px; }
.account.all.selected { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--air-red); }
.account.all.selected .account-card { box-shadow: none; }
/* In the narrow rail the filters are a list: marker, name, count. */
.all-chips { display: grid; gap: 1px; padding: 0 6px 8px; }
.all-chips .chip { width: 100%; justify-content: space-between; border-color: transparent; background: none; padding: 4px 8px; }
.all-chips .chip:hover { background: var(--rule-soft); border-color: transparent; }
.all-chips .chip.selected { background: var(--select); border-color: transparent; }
.all-chips .tag { border: 0; padding: 0; font-size: 13.5px; font-weight: 600; }
.all-chips .tag::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: currentColor; margin-right: 8px; vertical-align: 1px;
}
.all-chips .chip-count { font-weight: 500; color: var(--ink-soft); }
/* Urgent, NTR, Info together: three markers, set apart from the single groups below. */
.all-chips .tagged-chip { border-bottom: 1px solid var(--rule); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 3px; padding-bottom: 6px; }
.tagged-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.markers { display: inline-flex; gap: 2px; }
.marker { width: 4px; height: 10px; border-radius: 1px; background: currentColor; }
.marker.c0 { color: var(--air-red); }
.marker.c1 { color: var(--stamp); }
.marker.c2 { color: var(--air-blue); }
.marker.c3 { color: var(--muted); }
.parse-note .tag { margin-right: 4px; }

/* Outlook-style filter and sort menu */
.list-head { position: relative; }
.filter-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.filter-btn svg { width: 14px; height: 14px; }
.filter-btn.active { border-color: var(--air-blue); color: var(--air-blue); }
.menu {
  position: absolute; right: 12px; top: 46px; z-index: 30; width: 260px; max-height: min(70vh, 560px); overflow: auto;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(12, 18, 32, 0.28); padding: 6px;
}
.menu-label { font-size: 12px; color: var(--muted); padding: 8px 10px 3px 36px; margin: 0; }
.menu-item {
  display: grid; grid-template-columns: 16px 18px 1fr auto; align-items: center; gap: 8px;
  width: 100%; text-align: left; border: 0; background: none; padding: 6px 10px; border-radius: var(--radius-sm); cursor: pointer;
}
.menu-item:hover, .menu-item:focus-visible { background: var(--rule-soft); outline: none; }
.menu-item .check { font-size: 13px; color: var(--ink); }
.menu-item svg { width: 16px; height: 16px; color: var(--ink-soft); }
.menu-item .hint { color: var(--muted); font-size: 12px; }
.menu-sub .menu-item { padding-left: 34px; }
.menu-sep { height: 1px; background: var(--rule); margin: 6px 6px; }
.flag-icon { width: 12px; height: 12px; color: var(--air-red); vertical-align: -2px; }

/* ---- PIN gate ---- */
.pin-gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--paper); padding: 16px; }
.pin-card {
  width: min(320px, 100%); display: grid; gap: 10px; background: var(--sheet);
  border: 1px solid var(--rule); border-top: 6px solid transparent; border-radius: var(--radius); padding: 22px 22px 20px;
  border-image: repeating-linear-gradient(-45deg, var(--air-red) 0 9px, var(--sheet) 9px 13px, var(--air-blue) 13px 22px, var(--sheet) 22px 26px) 6 0 0 0;
}
.pin-card h2 { font-size: 20px; margin: 0 0 4px; }
.pin-card label { font-weight: 600; font-size: 13px; }
.pin-card input { font-size: 18px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--paper); letter-spacing: 0.15em; }
.pin-error { min-height: 1.2em; margin: 0; color: var(--air-red); font-size: 13px; }

/* ---- tabs ---- */
.tabs { display: flex; gap: 2px; margin-top: 10px; }
.tab {
  border: 0; background: none; cursor: pointer; padding: 6px 12px 7px; font-weight: 600; color: var(--muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0; box-shadow: inset 0 -2px 0 transparent;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--air-red); }

/* ---- calendar ---- */
body.on-calendar .stages { display: none; }
/* One hue per account, kept apart from the sorting-category colours. */
:root { --acc0: #1f8580; --acc1: #6a4fc4; --acc2: #c9463c; --acc3: #b5770f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --acc0: #4fc2bb; --acc1: #a28cf0; --acc2: #ec7a70; --acc3: #e0a742; }
}
:root[data-theme="dark"] { --acc0: #4fc2bb; --acc1: #a28cf0; --acc2: #ec7a70; --acc3: #e0a742; }
.acc0 { --acc: var(--acc0); } .acc1 { --acc: var(--acc1); } .acc2 { --acc: var(--acc2); } .acc3 { --acc: var(--acc3); }

.calendar { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.cal-main { display: flex; flex-direction: column; min-height: 0; background: var(--sheet); border-right: 1px solid var(--rule); }
.cal-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.cal-title { font-size: 18px; font-weight: 600; margin: 0 6px; min-width: 9ch; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { border: 0; background: none; padding: 5px 11px; cursor: pointer; font-weight: 500; }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.legend { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.legend-item {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 12.5px;
  border: 1px solid var(--rule); background: var(--sheet); border-radius: var(--radius-sm); padding: 3px 8px;
}
.legend-item[aria-pressed="false"] { opacity: 0.45; }
.legend-item.blocked { border-style: dashed; }
.swatch { width: 9px; height: 9px; border-radius: 2px; background: var(--acc); }
.cal-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: auto; }

.month { flex: 1; min-height: 520px; display: grid; grid-template-rows: auto repeat(6, minmax(84px, 1fr)); }
.dow, .week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dow { border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.dow span { padding: 6px 8px; }
.week { border-bottom: 1px solid var(--rule-soft); min-height: 0; }
.day { border-right: 1px solid var(--rule-soft); padding: 4px 4px 3px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.day:last-child { border-right: 0; }
.day.other { background: var(--paper); }
.day.other .day-num { color: var(--muted); }
.day.selected { box-shadow: inset 0 0 0 2px var(--air-blue); }
.day-num { align-self: flex-start; border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 3px; }
.day.today .day-num { background: var(--air-red); color: #fff; }
.ev {
  display: block; width: 100%; text-align: left; cursor: pointer; font-size: 12px; line-height: 1.35;
  border: 0; border-left: 3px solid var(--acc); background: none; border-radius: 2px; padding: 1px 4px 1px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ev:hover { background: var(--rule-soft); }
.ev.all-day { background: color-mix(in srgb, var(--acc) 16%, transparent); }
.ev.selected { background: color-mix(in srgb, var(--acc) 28%, transparent); }
.ev time { color: var(--muted); margin-right: 4px; }
.more { border: 0; background: none; cursor: pointer; text-align: left; font-size: 11.5px; color: var(--muted); padding: 0 6px; }

.agenda { flex: 1; overflow: auto; }
.agenda-day h3 {
  position: sticky; top: 0; margin: 0; padding: 8px 16px; font-size: 13px; font-weight: 600;
  background: var(--sheet); border-bottom: 1px solid var(--rule-soft); z-index: 1;
}
.agenda-day.today h3 { color: var(--air-red); }
.agenda-row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; width: 100%; text-align: left; cursor: pointer;
  border: 0; border-bottom: 1px solid var(--rule-soft); background: none; padding: 8px 16px 8px 13px; border-left: 3px solid var(--acc);
}
.agenda-row:hover { background: var(--paper); }
.agenda-row.selected { background: var(--select); }
.agenda-time { color: var(--ink-soft); font-size: 13px; }
.agenda-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-meta { color: var(--muted); font-size: 12.5px; }

.cal-side { overflow: auto; background: var(--sheet); padding: 18px 20px; display: grid; align-content: start; gap: 14px; }
.cal-side h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.cal-side .acct { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 13px; }
.side-list { display: grid; gap: 2px; }
.cal-note { color: var(--muted); font-size: 12.5px; margin: 0; }

.back, .details-btn { display: none; }

@media (max-width: 1180px) {
  .panes { grid-template-columns: 280px minmax(0, 1fr); }
  .detail { display: none; }
  body.show-detail .detail { display: flex; position: fixed; inset: 0; z-index: 10; }
  body.show-detail .back { display: inline-block; margin: 12px 22px 0; align-self: flex-start; }
  .details-btn { display: inline-block; }
  .calendar { grid-template-columns: minmax(0, 1fr); }
  .cal-side { display: none; }
  body.show-cal-side .cal-side { display: grid; position: fixed; inset: 0; z-index: 10; }
  body.show-cal-side .cal-side .back { display: inline-block; justify-self: start; }
}
@media (max-width: 760px) {
  body { display: block; }
  .band-row, .stages { padding-left: 16px; padding-right: 16px; }
  .panes { display: block; }
  .rail { border-right: 0; overflow: visible; }
  .list { border-right: 0; min-height: 60vh; overflow: visible; }
  .rows { overflow: visible; }
  .stage { padding-right: 18px; }
  .calendar { display: block; }
  .legend { margin-left: 0; }
  .month { grid-template-rows: auto repeat(6, minmax(64px, 1fr)); min-height: 0; }
  .ev time { display: none; }
}
