.activity-page { max-width: 1120px; min-height: 65vh; margin-inline: auto; padding-top: 32px; padding-bottom: 72px; color: #171b20; }
.activity-page[hidden] { display: none !important; }
.activity-page * { box-sizing: border-box; }
.activity-home { display: inline-block; padding: 8px 0; color: #586473; font-size: .9375rem; }
.activity-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 24px 0 28px; }
.activity-eyebrow { margin: 0 0 8px; color: #697482; font-size: .9375rem; }
.activity-heading h1 { margin: 0; font-size: 2rem; line-height: 1.4; font-weight: 550; letter-spacing: -.04em; }
.activity-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 6px; border: 1px solid #e2e6eb; border-radius: 16px; }
.activity-tabs a { display: flex; align-items: center; justify-content: center; padding: 14px 8px; min-height: 50px; border-radius: 11px; text-align: center; font-size: 1rem; color: #576270; word-break: keep-all; }
.activity-tabs a[aria-current="page"] { background: #fff4ed; color: #a93800; font-weight: 600; }
.activity-description { margin: 24px 0 18px; line-height: 1.7; font-size: 1rem; color: #5d6877; }
.activity-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.activity-filters button { font: inherit; font-size: .9375rem; padding: 9px 16px; min-height: 42px; border: 1px solid #dfe4eb; border-radius: 24px; background: #fff; color: #5d6877; cursor: pointer; }
.activity-filters button[aria-pressed="true"] { border-color: #222b35; color: #fff; background: #222b35; }
.activity-feedback { color: #596473; margin: 12px 0; font-size: .9375rem; line-height: 1.6; }
.activity-feedback:empty { display: none; }
.activity-content { display: grid; gap: 16px; }
.activity-card { border: 1px solid #dfe4eb; border-radius: 18px; background: #fff; padding: 24px; box-shadow: 0 12px 36px -20px rgba(34,44,58,.16); min-width: 0; }
.activity-card-top { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }
.activity-service { font-size: .875rem; color: #657181; }
.activity-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 7px; color: #475566; background: #f1f4f7; font-size: .875rem; line-height: 1.4; }
.activity-badge[data-tone="active"] { color: #a93800; background: #fff3eb; }
.activity-card h2, .activity-detail h2 { font-size: 1.25rem; font-weight: 550; line-height: 1.55; letter-spacing: -.025em; margin: 0 0 12px; overflow-wrap: anywhere; }
.activity-card-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 12px 0 16px; color: #657181; font-size: .9375rem; line-height: 1.7; }
.activity-card-address { color: #596473; margin: 0; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.activity-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.activity-amount { font-size: 1.25rem; font-weight: 550; }
.activity-button { min-height: 44px; border: 1px solid #dfe4eb; border-radius: 10px; background: #fff; color: #26303c; padding: 10px 17px; font: inherit; font-size: .9375rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.activity-button:hover { border-color: #a6b2c0; background: #fafbfc; }
.activity-button:disabled { opacity: .55; cursor: wait; }
.activity-more { display: flex; margin: 26px auto 0; min-width: 160px; }
.activity-more[hidden] { display: none; }
.activity-updated { margin: 24px 0 0; color: #6c7784; font-size: .875rem; text-align: right; line-height: 1.6; }
.activity-empty { padding: 60px 24px; text-align: center; border: 1px solid #e2e6eb; border-radius: 18px; }
.activity-empty h2 { font-size: 1.2rem; font-weight: 550; margin: 0 0 12px; }
.activity-empty p { color: #657181; line-height: 1.8; margin: 0 0 20px; font-size: 1rem; }
.activity-detail { min-width: 0; }
.activity-detail > .activity-button { margin-bottom: 20px; }
.activity-detail .activity-card { margin-bottom: 16px; }
.activity-fields { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 14px 22px; margin: 20px 0 0; font-size: 1rem; line-height: 1.75; }
.activity-fields dt { color: #6a7481; }
.activity-fields dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-terms { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.9; color: #343f4c; }
.activity-signatures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.activity-signature { border: 1px solid #e2e6eb; border-radius: 12px; padding: 18px; }
.activity-signature h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 550; }
.activity-signature svg { display: block; width: 100%; max-height: 140px; min-height: 80px; color: #171b20; }
.activity-signature p { color: #657181; font-size: .875rem; line-height: 1.6; }
.activity-note { padding: 16px 20px; border-radius: 12px; background: #f6f8fa; font-size: .9375rem; line-height: 1.8; color: #556170; }
.activity-page a:focus-visible, .activity-page button:focus-visible { outline: 2px solid #ad3d00; outline-offset: 4px; }
@media (max-width: 600px) {
  .activity-page { padding-top: 20px; padding-bottom: 48px; }
  .activity-heading { margin: 18px 0 22px; gap: 12px; }
  .activity-heading h1 { font-size: 1.65rem; }
  .activity-tabs { gap: 3px; padding: 4px; border-radius: 12px; }
  .activity-tabs a { font-size: .875rem; padding: 12px 4px; }
  .activity-card { padding: 20px 18px; }
  .activity-fields { grid-template-columns: 90px minmax(0,1fr); gap: 13px 12px; }
  .activity-signatures { grid-template-columns: 1fr; }
  .activity-updated { text-align: left; }
}
