astro-island,astro-slot,astro-static-slot{display:contents}

.devnote-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}
.devnote-authors__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.devnote-authors__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.devnote-authors__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.devnote-authors__name {
  font-weight: 600;
  font-size: 0.9rem;
}
.devnote-authors__description {
  font-size: 0.8rem;
  opacity: 0.75;
}


/* ── Nuke ALL Material-injected pseudo-elements on our details ── */
.md-typeset details.session-trace > summary,
.md-typeset .st-body details > summary {
    padding-left: 0 !important;   /* Material adds 2.4em for its icon */
    position: relative;
}
.md-typeset details.session-trace > summary::before,
.md-typeset details.session-trace > summary::after,
.md-typeset .st-body details > summary::before,
.md-typeset .st-body details > summary::after {
    display: none !important;
    content: none !important;
}

/* ── Arrow icon (real <span>, not pseudo-element) ── */
.st-arrow {
    display: inline-block;
    font-size: .55em;
    transition: transform .2s;
    flex-shrink: 0;
    color: var(--md-default-fg-color--light);
}
details[open] > summary > .st-arrow { transform: rotate(90deg); }

/* ── Session trace container ── */
.md-typeset details.session-trace { border: 1px solid var(--md-default-fg-color--lightest); border-radius: .4rem; margin: .6rem 0; overflow: hidden; }
.md-typeset details.session-trace > summary { padding: .65rem 1rem !important; background: var(--md-code-bg-color); cursor: pointer; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; list-style: none; user-select: none; font-size: .85rem; }
.st-badge { padding: .1rem .4rem; border-radius: .2rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.st-badge.skill { background: #76B900; color: #000; }
.st-badge.baseline { background: #f59e0b; color: #000; }
.st-name { font-weight: 600; }
.st-stats { display: inline-flex; gap: .3rem; flex-wrap: wrap; margin-left: auto; }
.st-stat { padding: .08rem .4rem; border-radius: 1rem; font-size: .68rem; font-family: var(--md-code-font-family); background: var(--md-default-fg-color--lightest); white-space: nowrap; }
.st-stat.err { background: rgba(239,68,68,.15); color: #ef4444; }
.st-stat.zero { background: rgba(118,185,0,.12); color: #76B900; }

/* ── Trace body / steps ── */
.st-body { padding: .25rem 0; }
.st-step { padding: .4rem 1rem; display: flex; gap: .6rem; align-items: baseline; border-top: 1px solid var(--md-default-fg-color--lightest); border-left: 3px solid transparent; font-size: .84rem; }
.st-step:first-child { border-top: none; }
.st-step.err { background: rgba(239,68,68,.06); border-left-color: #ef4444; }
.st-step.ok { border-left-color: #76B900; }
.st-num { min-width: 1.5rem; font-size: .7rem; color: var(--md-default-fg-color--lighter); font-family: var(--md-code-font-family); text-align: right; flex-shrink: 0; }
.st-tool { padding: .05rem .35rem; border-radius: .2rem; font-size: .68rem; font-family: var(--md-code-font-family); font-weight: 600; min-width: 2.8rem; text-align: center; flex-shrink: 0; white-space: nowrap; }
.st-tool.bash { background: #3b82f6; color: #fff; }
.st-tool.read { background: #8b5cf6; color: #fff; }
.st-tool.write { background: #10b981; color: #fff; }
.st-tool.edit { background: #f59e0b; color: #000; }
.st-tool.grep { background: #ec4899; color: #fff; }
.st-tool.glob { background: #a855f7; color: #fff; }
.st-tool.agent { background: #06b6d4; color: #000; }
.st-tool.msg { background: transparent; border: 1px solid var(--md-default-fg-color--lighter); color: var(--md-default-fg-color--light); font-weight: 500; font-style: italic; }
.st-desc { flex: 1; min-width: 0; }
.st-desc code { font-size: .78rem; }

/* ── Inner collapsible blocks ── */
.md-typeset .st-body details.st-expand { margin: .25rem 0 .1rem; border: none; box-shadow: none; }
.md-typeset .st-body details.st-expand > summary { cursor: pointer; color: var(--md-default-fg-color--light); font-size: .76rem; padding: .15rem 0 !important; list-style: none; min-height: 0; font-weight: normal; }
.md-typeset .st-body details.st-expand > summary:hover { color: var(--md-default-fg-color); }
.md-typeset .st-body details.st-expand > div { margin-top: .2rem; padding: .5rem .75rem; background: var(--md-code-bg-color); border-radius: .25rem; font-size: .73rem; font-family: var(--md-code-font-family); max-height: 30rem; overflow: auto; line-height: 1.45; white-space: pre; }
