.ogp-public-activity {
  --ogp-act-fg: #2c2c2b; --ogp-act-muted: #626260; --ogp-act-line: #e2e1de;
  --ogp-act-bg: #f7f7f5; --ogp-act-hover: #f0efed; --ogp-act-accent: #2474b9;
  --ogp-act-ok: #2e7d4f; --ogp-act-warn: #a65508;
  color: var(--ogp-act-fg); font-family: inherit; font-size: 16px; line-height: 1.5;
  width: 100%; max-width: 760px; min-width: 0; margin: 0 0 12px; box-sizing: border-box;
}
.ogp-public-activity *, .ogp-public-activity *::before, .ogp-public-activity *::after { box-sizing: border-box; }
.ogp-public-activity summary { list-style: none; cursor: pointer; }
.ogp-public-activity summary::-webkit-details-marker { display: none; }
.ogp-public-activity .ogp-act-heading { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 6px 8px 6px 4px; border-radius: 8px; width: fit-content; max-width: 100%; color: var(--ogp-act-muted); font-size: 14.5px; font-weight: 500; line-height: 20px; }
.ogp-public-activity summary.ogp-act-heading:hover { background: var(--ogp-act-hover); color: var(--ogp-act-fg); }
.ogp-public-activity .ogp-act-heading-label { white-space: nowrap; }
.ogp-public-activity .ogp-act-time, .ogp-public-activity .ogp-act-count { color: var(--ogp-act-muted); font-size: 14px; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ogp-public-activity .ogp-act-chevron { display: inline-block; flex: 0 0 16px; color: var(--ogp-act-muted); font-size: 20px; line-height: 20px; text-align: center; transition: transform .12s ease; }
.ogp-public-activity[open] > summary > .ogp-act-chevron, .ogp-public-activity .ogp-act-step[open] > summary > .ogp-act-chevron { transform: rotate(90deg); }
.ogp-public-activity .ogp-act-icon { display: block; flex: 0 0 16px; }
.ogp-public-activity .ogp-act-heading .ogp-act-icon { color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-heading .ogp-act-icon-failed, .ogp-public-activity .ogp-act-icon-failed { color: var(--ogp-act-warn); }
.ogp-public-activity .ogp-act-icon-completed { color: var(--ogp-act-ok); }
.ogp-public-activity .ogp-act-icon-unknown { color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-icon-running { color: var(--ogp-act-accent); transform-origin: 50% 50%; animation: ogp-act-spin .9s linear infinite; }
.ogp-public-activity .ogp-act-content { margin: 2px 0 0 11px; padding: 2px 0 2px 12px; border-left: 2px solid var(--ogp-act-line); min-width: 0; }
.ogp-public-activity .ogp-act-step { margin: 0; min-width: 0; }
.ogp-public-activity .ogp-act-step-head { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; margin: 0; padding: 8px; border-radius: 8px; }
.ogp-public-activity summary.ogp-act-step-head:hover { background: var(--ogp-act-hover); }
.ogp-public-activity .ogp-act-step-icon { display: inline-flex; align-items: center; flex: 0 0 16px; height: 22px; }
.ogp-public-activity .ogp-act-step-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ogp-public-activity .ogp-act-step-title { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--ogp-act-fg); overflow-wrap: anywhere; }
.ogp-public-activity .ogp-act-step-state { font-weight: 400; color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-step-failed .ogp-act-step-state { color: var(--ogp-act-warn); }
.ogp-public-activity .ogp-act-step-summary-text { font-size: 14px; line-height: 20px; color: var(--ogp-act-muted); overflow-wrap: anywhere; white-space: normal; }
.ogp-public-activity details.ogp-act-step:not([open]) .ogp-act-step-summary-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.ogp-public-activity .ogp-act-step-head > .ogp-act-chevron { margin-left: auto; font-size: 18px; line-height: 22px; }
.ogp-public-activity .ogp-act-step-body { padding: 0 8px 8px 34px; min-width: 0; max-width: 100%; }
.ogp-public-activity .ogp-act-detail, .ogp-public-activity .ogp-act-hint { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--ogp-act-muted); overflow-wrap: anywhere; }
.ogp-public-activity .ogp-act-earlier { margin: 0; padding: 8px; }
.ogp-public-activity .ogp-act-detail-failed { color: var(--ogp-act-warn); }
.ogp-public-activity .ogp-act-label { margin: 0 0 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-sources, .ogp-public-activity .ogp-act-code { margin: 0 0 8px; min-width: 0; }
.ogp-public-activity .ogp-act-source-list { margin: 0; padding: 0 0 0 20px; list-style: decimal; color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-source { margin: 0; padding: 2px 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.ogp-public-activity .ogp-act-source a { color: var(--ogp-act-accent); text-decoration: none; border-radius: 4px; }
.ogp-public-activity .ogp-act-source a:hover .ogp-act-source-title { text-decoration: underline; }
.ogp-public-activity .ogp-act-source-host { margin-left: 6px; color: var(--ogp-act-muted); font-size: 13px; }
.ogp-public-activity .ogp-act-code pre.ogp-act-pre { margin: 0; padding: 10px 12px; background: var(--ogp-act-bg); border: 1px solid var(--ogp-act-line); border-radius: 8px; max-width: 100%; max-height: 320px; overflow: auto; font: 13px/1.5 Menlo, Consolas, monospace; white-space: pre; color: var(--ogp-act-fg); }
.ogp-public-activity .ogp-act-code pre.ogp-act-pre code { font: inherit; white-space: inherit; color: inherit; background: none; padding: 0; }
.ogp-public-activity .ogp-act-copy-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.ogp-public-activity .ogp-act-copy { border: 0; background: transparent; color: var(--ogp-act-accent); font: inherit; font-size: 14px; min-height: 36px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.ogp-public-activity .ogp-act-copy:hover { background: var(--ogp-act-hover); }
.ogp-public-activity .ogp-act-copy-note { font-size: 14px; color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ogp-public-activity summary:focus-visible, .ogp-public-activity button:focus-visible, .ogp-public-activity pre:focus-visible, .ogp-public-activity a:focus-visible { outline: 2px solid var(--ogp-act-accent); outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ogp-public-activity { --ogp-act-fg: #f3f3f1; --ogp-act-muted: #b5b5b2; --ogp-act-line: #464643; --ogp-act-bg: #262626; --ogp-act-hover: #2e2e2c; --ogp-act-accent: #80b9ef; --ogp-act-ok: #74c69d; --ogp-act-warn: #f0b357; }
}
html[data-theme="dark"] .ogp-public-activity, body[data-theme="dark"] .ogp-public-activity, .dark .ogp-public-activity { --ogp-act-fg: #f3f3f1; --ogp-act-muted: #b5b5b2; --ogp-act-line: #464643; --ogp-act-bg: #262626; --ogp-act-hover: #2e2e2c; --ogp-act-accent: #80b9ef; --ogp-act-ok: #74c69d; --ogp-act-warn: #f0b357; }
@media (max-width: 480px) {
  .ogp-public-activity .ogp-act-content { margin-left: 7px; padding-left: 8px; }
  .ogp-public-activity .ogp-act-step-head { padding: 8px 4px; }
  .ogp-public-activity .ogp-act-step-body { padding: 0 4px 8px 30px; }
  .ogp-public-activity .ogp-act-earlier { padding: 8px 4px; }
}

/* Preserve the original shimmering thinking badge and animated dots. */
.ogp-public-activity .thinking-text-shimmer {
  background: linear-gradient(90deg, var(--ogp-act-muted), var(--ogp-act-muted) 40%, var(--ogp-act-fg), var(--ogp-act-muted) 60%, var(--ogp-act-muted)) !important;
  background-size: 250% 100% !important; -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; animation: ogp-act-shimmer 2.2s ease-in-out infinite;
}
.ogp-public-activity .ogp-thinking-elapsed { font-size: 14px; font-weight: 400; color: var(--ogp-act-muted); }
.ogp-public-activity .ogp-act-header-dots { display: inline-flex; flex: 0 0 23px; gap: 4px; padding: 0; align-items: center; }
.ogp-public-activity .ogp-act-header-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ogp-act-muted); animation: ogp-act-dot-pulse 1.1s ease-in-out infinite alternate; }
.ogp-public-activity .ogp-act-header-dots i:nth-child(2) { animation-delay: .15s; }
.ogp-public-activity .ogp-act-header-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ogp-act-shimmer { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }
@keyframes ogp-act-dot-pulse { from { opacity: .4; } to { opacity: 1; } }
@keyframes ogp-act-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ogp-public-activity *, .ogp-public-activity *::before { animation: none !important; transition: none !important; }
}
