/* Activity archives keep the page compact; only their expanded body scrolls. */
.unc-activity-history{min-width:0;max-width:100%;overflow-wrap:anywhere}
.unc-history-older{display:block;min-width:0;max-width:100%;margin:14px 0 0!important;padding:0!important;border:1px solid var(--unc-line,#315c40)!important;border-radius:12px;background:transparent!important;box-shadow:none!important;align-self:start}
.unc-history-summary{display:list-item!important;cursor:pointer;min-height:44px;padding:12px 16px!important;margin:0!important;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;color:var(--unc-gold,#ffb80d)!important;overflow-wrap:anywhere}
.unc-history-summary:focus-visible,.unc-history-body:focus-visible{outline:2px solid var(--unc-gold,#ffb80d);outline-offset:3px}
.unc-history-older:not([open])>.unc-history-body{display:none!important}
.unc-history-body{display:block;min-width:0;max-width:100%;max-height:min(480px,60dvh);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 16px 14px;contain:inline-size}
.unc-history-body>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.unc-history-body code,.unc-history-body pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.unc-history-body>article:first-child,.unc-history-body>.item:first-child{margin-top:10px}
.unc-history-body table{width:100%;min-width:680px}
@media(max-width:600px){.unc-history-body{max-height:min(400px,55dvh);padding-inline:12px}.unc-history-summary{padding:12px!important;min-height:48px}}

[data-unc-history] details:not(.unc-history-older)>pre{max-height:min(400px,55dvh);overflow:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere}
