/* Flat patch-note styling for reference/changelog.md — scoped to the
   ".patch-notes" wrapper div so it never touches other doc pages.
   Relies on the toc extension's auto-generated heading ids (permalink:
   true) to tell "### Fixed" apart from "### Added" without needing
   attr_list markers in CHANGELOG.md, since that file is also parsed by
   the console's own release-notes JS and must stay plain markdown. */

.patch-notes h2 {
    font-size: 1.3rem;
    font-weight: 800;
    border-bottom: 1px solid var(--md-default-fg-color--lightest);
    padding-bottom: 0.6rem;
    margin: 2.4rem 0 1rem;
}
.patch-notes h2:first-of-type {
    margin-top: 1rem;
}

.patch-notes h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 1rem 0 0.4rem;
}
.patch-notes h3[id^="fixed"] { color: #16a34a; }
.patch-notes h3[id^="added"] { color: #2563eb; }

.patch-notes ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.5rem;
}
.patch-notes ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.5rem;
}
.patch-notes ul li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--md-default-fg-color--light);
}
