/* Activity page. Classes are prefixed act- ; shared tokens come from styles.css. */
.act-stack { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.act-stack > .grid { margin-top: 0; }
.act-dim { color: var(--ink-2); }
.act-small { font-size: 14px; color: var(--ink-2); margin: 4px 0 8px; }
.act-note { font-size: 14px; color: var(--ink-2); }
.act-h3 { margin: 4px 0 0; font: 600 24px/1.2 var(--cond); }
.act-big { font: 600 28px/1.1 var(--cond); }
.act-dot { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 6px; }

/* rhythm */
.act-readrow { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: 18px; }
.act-heat { margin-top: 16px; }
.act-heat .heat { min-width: 900px; grid-template-columns: 56px repeat(24, minmax(0, 1fr)); }
.act-ramp { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.act-ramp-c { width: 22px; height: 12px; border-radius: 2px; }

/* month by month */
.act-month-readout { min-width: min(320px, 100%); }
.act-mgrid { display: grid; min-width: 1040px; align-items: end; margin-top: 18px; }
.act-mlabel { display: flex; flex-direction: column; justify-content: flex-end; height: 72px; padding: 0 10px 4px 0; border-bottom: 1px solid var(--rule-strong); }
.act-mname { font-size: 14px; font-weight: 600; }
.act-mpeak { font-size: 12px; color: var(--ink-3); }
.act-mcell { display: flex; align-items: flex-end; height: 72px; padding: 0 0.5px; margin: 0; border: 0; border-bottom: 1px solid var(--rule-strong); background: transparent; cursor: default; min-width: 0; }
.act-mcell.on { background: #f1e4df; }
.act-mcell:focus-visible { outline: 2px solid var(--stamp); outline-offset: -2px; }
.act-mbar { display: block; width: 100%; background: var(--cat-1); border-radius: 2px 2px 0 0; }
.act-mcell.on .act-mbar { background: var(--stamp); }
.act-year { padding: 6px 0 0 4px; border-left: 1px solid var(--rule-strong); font: 500 12px/1.4 var(--mono); color: var(--ink-3); }

/* threads */
.act-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.act-legend span { display: flex; align-items: center; }
.act-threads { margin-top: 10px; border-top: 2px solid var(--ink); }
.act-thread { padding: 10px 0 9px; border-bottom: 1px solid var(--rule-soft); }
.act-thread-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.act-split { display: flex; gap: 2px; margin-top: 6px; height: 12px; }
.act-you { background: var(--cat-1); border-radius: 2px 0 0 2px; }
.act-them { background: var(--cat-2); border-radius: 0 3px 3px 0; }

/* side column */
.act-col { display: flex; flex-direction: column; gap: 24px; }
.act-card { padding: 24px 28px 22px; }
.act-also { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px 20px; }
.act-also-l { font-size: 13px; line-height: 1.4; color: var(--ink-on-dark-2); margin-top: 2px; }

/* inside the messages */
.act-inside { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 18px; }
.act-stats { flex: 3 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); align-self: flex-start; }
.act-stat { background: var(--sheet); padding: 14px 14px 12px; }
.act-stat-l { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 2px; }
.act-emoji { flex: 2 1 300px; }
.act-emoji-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.act-emoji-row { display: flex; align-items: center; gap: 10px; }
.act-emoji-k { flex: 0 0 28px; font-size: 20px; text-align: center; }
.act-emoji-bar { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; }
.act-emoji-fill { display: block; height: 12px; min-width: 2px; background: var(--cat-1); border-radius: 0 4px 4px 0; }

/* reels */
.act-reel-readout { margin-top: 14px; font-size: 14px; }
.act-reel-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; margin-top: 8px; border-bottom: 1px solid var(--rule-strong); }
.act-reel-cell { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; padding: 0; margin: 0; border: 0; background: transparent; cursor: default; }
.act-reel-cell:focus-visible { outline: 2px solid var(--stamp); outline-offset: -2px; }
.act-reel-bar { display: block; width: 100%; background: var(--cat-1); border-radius: 3px 3px 0 0; }
.act-reel-bar.on { background: var(--stamp); }
.act-reel-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.act-handle { font-size: 12px; color: var(--ink-3); }

/* signals */
.act-signals { margin-top: 12px; }
.act-signal { align-items: baseline; }
.act-signal-l { font-size: 15px; }
.act-signal-s { font-size: 13px; color: var(--ink-3); }
.act-signal-v { font: 600 22px/1 var(--cond); }

@media (max-width: 720px) {
  .act-card { padding: 20px 18px 18px; }
  .act-stats { flex-basis: 100%; }
}
