/* activity.css: Activity feed and entry pages.
   Every colour comes from tokens.css (no literals here). Dark mode lives in tokens.css only. */
.act-tools { justify-content: space-between; }
.act-tools .ct-chips { margin: 0; }
.act-row { display: grid; grid-template-columns: 124px minmax(0, 1fr) 250px; gap: 28px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.act-when { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.act-when .d { font-weight: 500; color: var(--ink); white-space: nowrap; }
.act-kind { display: inline-block; max-width: 100%; padding: 2px 8px; background: var(--ink); color: var(--bg); font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.act-title { overflow-wrap: anywhere; }
.act-meta { margin-top: 2px; font-size: var(--t-meta); color: var(--muted); }
.act-sum { margin: 10px 0 0; padding-left: 18px; max-width: 64ch; }
.act-sum.big { margin-top: var(--s4); font-size: 16px; line-height: 1.5; }
.act-sum li + li { margin-top: 2px; }
.act-quote { margin: 10px 0 0; padding: 10px 12px; max-width: 64ch; background: var(--pf-soft); font-size: 14px; overflow-wrap: anywhere; }
.act-note { overflow-wrap: anywhere; }
.act-wait { margin: 10px 0 0; color: var(--muted); }
.act-plab { font-size: var(--t-meta); color: var(--muted); }
.act-pnum { font: 300 var(--t-h2)/1.1 var(--serif); color: var(--ink); }
.act-pnone { font-size: var(--t-meta); color: var(--muted); }
.act-ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.act-acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
a.btn.pf-btn { text-decoration: none; }
.act-tiles { margin: 0 0 36px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.act-fu { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.act-lines { margin-top: 6px; }
.act-line { display: grid; grid-template-columns: 56px 150px minmax(0, 1fr); gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); }
.act-line.plain { grid-template-columns: minmax(0, 1fr); }
.act-line.plain .t, .act-line.plain .w { display: none; }
.act-line .t { font-size: var(--t-meta); color: var(--muted); font-variant-numeric: tabular-nums; }
.act-line .w { font-size: var(--t-meta); font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.act-line .tx { overflow-wrap: anywhere; }
.act-gap { padding: 2px 0; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.act-hl { background: var(--hl-bg); color: var(--hl-ink); padding: 1px 0; }
.act-mark { display: inline-block; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 3px; box-sizing: border-box; background: var(--pf-accent); color: var(--pf-on-accent); font-size: 12px; line-height: 18px; text-align: center; vertical-align: 1px; }
.act-more { display: inline-block; min-height: 44px; margin-top: var(--s3); color: var(--ink); }
.act-dp { padding: 14px 0; border-bottom: 1px solid var(--line); }
.act-dphead { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); }
.act-dphead .l { font-size: var(--t-meta); color: var(--muted); }
.act-dphead .act-mark { margin: 0 4px 0 0; }
.act-dp .pf-tag { background: var(--bg); }
.act-dp .pf-tag.req, .act-dp .pf-tag.excl { background: var(--pf-accent); }
.act-dp .pf-tag.excl { background: var(--pf-no); }
.act-dp .v { margin-top: 4px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.act-dp .v .pf-tag { font-weight: 400; vertical-align: 1px; }
.act-dp .s { margin-top: 2px; font-size: var(--t-meta); color: var(--muted); }
.act-dp .s.act-warn { color: var(--ink); }
.act-dp.gone .v { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.act-dp .link { min-height: 44px; color: var(--ink); }
.act-dpacts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: 10px; }
.act-dpacts .btn.pf-btn { min-height: 40px; padding: 0 14px; }
.act-sel { width: 100%; height: 44px; margin-top: var(--s2); padding: 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 0; font: 400 var(--t-body)/1.3 var(--sans); color: var(--ink); }
@media (max-width: 1024px) {
  .act-grid { flex-direction: column; }
  .act-grid .pf-main, .act-grid .act-points { display: block; order: 0; }
  .act-grid .act-points { order: -1; margin-bottom: 36px; }
}
@media (max-width: 760px) {
  .act-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding: 18px 0; }
  .act-when { flex-direction: row; align-items: center; gap: var(--s2); }
  .act-line { grid-template-columns: 48px minmax(0, 1fr); gap: 2px var(--s2); }
  .act-line .tx { grid-column: 1 / -1; }
}
:is(#firm, #activity, #entry) .cm-hero h1.display, :is(#firm, #activity, #entry) .cm-hero .cm-lede { max-width: none; }
:is(#firm, #activity) .band .cm-mast .pf-cta .btn.primary { display: inline-flex; align-items: center; gap: 8px; height: 34px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 0; background: var(--white); color: var(--navy); font: 500 13.5px/1 var(--sans); width: auto; }
#entry .pf-cta { position: static; display: flex; gap: 12px; margin: 14px 0 0; }
#entry .pf-cta .btn { height: 36px; min-height: 36px; padding: 0 14px; border: 1px solid var(--bd-line2); border-radius: 0; background: var(--bd-paper); color: var(--bd-ink); font: 500 14px var(--sans); }
#entry .pf-cta .btn.primary { background: var(--bd-ink); color: var(--bd-on-ink); border-color: var(--bd-ink); }
@media (max-width: 640px) {
  :is(#firm, #activity, #entry) .cm-hero .hd-row { left: calc(var(--pm) + 26px); }
  #entry .pf-cta { flex-wrap: wrap; }
}
:is(#firm, #activity, #entry) .mnav-back { display: none; }
