.comp-options { display: flex; flex-wrap: wrap; gap: 6px; margin-block: .55rem .9rem; }
.comp-options button { min-height: 44px; padding: .4rem .75rem; border: 1px solid #87988c; border-radius: 4px; color: var(--moss); background: var(--card); font: inherit; line-height: 1.35; cursor: pointer; }
.comp-options button[aria-pressed="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.comp-detail { padding: .85rem 1rem; background: var(--pale); border-left: 3px solid var(--moss); }
.comp-detail h4 { margin: 0 0 .55rem; font-size: 1.09rem; }
.comp-detail p { margin: .5rem 0 0; line-height: 1.7; }
.comp-detail .comp-prompt, .comp-detail .share-total { font-weight: 650; }
.share-scale, .comp-note, .event-time { color: var(--secondary); font-size: .9rem; }
.share-bars { list-style: none; padding: 0; margin: .65rem 0; }
.share-bars li, .share-scale { display: grid; grid-template-columns: 5.9rem minmax(38px, 1fr) 3rem; align-items: center; gap: .4rem; }
.share-bars li { padding: .24rem 0; }
.share-ticks { display: flex; justify-content: space-between; gap: 1px; font-size: .76rem; }
.share-name { font-size: .94em; }
.share-value { text-align: right; font-variant-numeric: tabular-nums; }
.share-track, .share-fill { display: block; height: 10px; border-radius: 1px; }
.share-track { background: #dae2d8; }
.share-fill { background: #406954; }
.share-other .share-fill { background: repeating-linear-gradient(135deg,#826a50 0 3px,#f4ede0 3px 5px); }
.comp-timeline { list-style: none; padding: 0 0 0 .8rem; margin: .7rem 0 1rem .15rem; border-left: 2px solid #9cae9f; }
.comp-timeline li { position: relative; margin: .85rem 0; }
.comp-timeline li::before { position: absolute; content: ''; left: calc(-.8rem - 5px); top: .55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }
.comp-timeline li > :is(span,strong) { display: block; }
.comp-timeline li p { margin-top: .15rem; }
@media (prefers-reduced-motion: no-preference) {
  .share-fill { transition: width 180ms ease-out; }
}
@media (max-width: 400px) {
  .comp-detail { padding: .7rem; }
  .comp-options button { padding-inline: .6rem; }
}
