/* "Siden sidst" — the block above Overblik's list (docs/overview-spec.md
   addendum "Siden sidst (P17)"). Same discipline as overview.css: flat,
   monochrome, app tokens only, no effects and no motion. Red
   (--hq-needs-you) and green (--hq-live) are dot fills in .since-needs /
   .since-live and nothing else, so every word stays ink or muted. Mobile
   first: it is one column down to a 343 px viewport. Every selector starts
   with .since or .overview .ov-since. */

.overview .ov-since { display: block; margin: 0 0 12px; }
.overview .ov-since[hidden] { display: none; }

.since {
  padding: 10px 12px 4px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.35;
}
.since-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 6px; }
.since-h { margin: 0; font-size: 15px; }
.since-when { color: var(--muted); font-size: 13px; }
.since-seen {
  height: 32px; min-height: 32px; margin-left: auto; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2);
  color: var(--ink); font-family: var(--font); font-size: 13px; cursor: pointer;
}
.since-seen:hover { background: var(--surface-3); }
.since-empty { margin: 0 0 8px; color: var(--muted); overflow-wrap: anywhere; }
.since-cover { margin: 0 0 8px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

.since-block { margin: 0 0 8px; }
.since-bh { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.since-grp { margin: 0 0 6px; }
.since-app-h { margin: 0; color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }

.since-rows { list-style: none; margin: 0; padding: 0; }
.since-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
  min-height: 28px; padding: 3px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.since-rows .since-row:last-child { border-bottom: 0; }
.since-more { padding: 3px 0; color: var(--muted); font-size: 13px; list-style: none; }

.since-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.since-needs { background: var(--hq-needs-you); }
.since-live { background: var(--hq-live); }
.since-x { width: 12px; flex: none; color: var(--muted); font-size: 12px; text-align: center; }

.since-go {
  min-width: 0; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--ink); font-family: var(--font); font-size: 14px; text-align: left; cursor: pointer; overflow-wrap: anywhere;
}
.since-go:hover { text-decoration: underline; }
.since-txt { min-width: 0; overflow-wrap: anywhere; }
.since-key { font-family: var(--mono); font-size: 12px; }
.since-app { font-family: var(--mono); font-size: 12px; }
.since-sub, .since-note-in, .since-nocard { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

@media (min-width: 981px) {
  .since { padding: 12px 14px 6px; }
  .since-h { font-size: 16px; }
}

/* ---------- the phone's front page (P17b) ----------
   #since-hq is the first child of #layout and carries .since, so it is the
   same card as in Overblik. It is hidden everywhere by default; only a phone
   (≤ 980 px) on the HQ tab shows it, and the `hidden` attribute still wins,
   because style.css has `[hidden] { display: none !important }`. Nothing here
   touches the HQ scene below it — it is a sibling, never an ancestor. */
.since-hq { display: none; }
.since-c { min-width: 0; }
.since-clines { margin-top: 2px; }
/* The Åbn button is the only hit target on a need row: a 32 px touch target
   pushed to the end of the row, and it never shrinks the text next to it. */
.since-open {
  height: 32px; min-height: 32px; flex: none; margin-left: auto; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2);
  color: var(--ink); font-family: var(--font); font-size: 13px; cursor: pointer;
}
.since-open:hover { background: var(--surface-3); }
.since-cfoot { margin: 2px 0 6px; }

@media (max-width: 980px) {
  .layout[data-view="office"] > .since-hq { display: block; margin: 0 0 12px; }
}
