
/* ── Desktop (default) ── */
.Sidebar__sidebar--CcEAE {
    padding: var(--dhp-space-lg) var(--dhp-space-sm);
    border-inline-end: none;
    background-color: var(--md-sys-color-surface);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}
body.has-admin-shell .Sidebar__sidebar--CcEAE {
        top: 41px;
        height: calc(100vh - 41px);
}

/* Styled via .sidebarOpen descendant selectors in mobile breakpoint */
.Sidebar__sidebarInner--lwoRe,
.Sidebar__sidebarContent--LsVWQ {
    /* declaration required for CSS Modules class name generation */
}

/* Hidden on desktop — only shown inside mobile drawer */
.Sidebar__backdrop--e3mjH {
    display: none;
}
.Sidebar__sidebarHeader--o4LTC {
    display: none;
}
.Sidebar__closeButton--F420P {
    display: none;
}
.Sidebar__backIcon--MWuWJ {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}
.Sidebar__sidebarSearch--P1jHd {
    position: relative;
    margin-block-end: var(--dhp-space-md);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 999px;
}
.Sidebar__sidebarSearch--P1jHd:focus-within {
        border-color: var(--md-sys-color-primary);
}
.Sidebar__sidebarSearchInput--KwqA3 {
    width: 100%;
    padding: 0.85rem 2.75rem 0.85rem 1rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    background: transparent;
}
.Sidebar__sidebarSearchButton--RQN5e {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.Sidebar__sidebarSearchButton--RQN5e:hover {
        color: var(--md-sys-color-on-surface);
        background: rgb(0, 0, 0, 0.06);
}
.Sidebar__sidebarSearchButton--RQN5e:focus-visible {
        outline: 2px solid var(--md-sys-color-primary);
        outline-offset: 2px;
}
.Sidebar__sidebarSearchIcon--iN2DB {
    width: 1.25rem;
    height: 1.25rem;
}
.Sidebar__backButtonSection--GuwuR {
    padding: var(--dhp-space-sm) 0 var(--dhp-space-md);
    border-block-end: 1px solid var(--md-sys-color-outline-variant);
}
.Sidebar__backButtonSectionWithTopBorder--GhCfl {
    border-block-start: 1px solid var(--md-sys-color-outline-variant);
}
.Sidebar__backButton--SwkV9 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1.5px solid var(--md-sys-color-on-surface);
    border-radius: 999px;
    transition: background-color 0.15s;
}
.Sidebar__backButton--SwkV9:hover {
        background-color: rgb(0, 0, 0, 0.04);
}
.Sidebar__backButton--SwkV9:focus-visible {
        outline: 2px solid var(--md-sys-color-primary);
        outline-offset: 2px;
}
.Sidebar__myPageMenuItem--bqUwg {
    display: none;
}
.Sidebar__attentionBadge--v2V3T {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: var(--dhp-status-overdue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding-inline: 0.25rem;
    line-height: 1;
    margin-inline-start: auto;
}
.Sidebar__iconMenu--gmuUb {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-block-start: var(--dhp-space-md);
}
.Sidebar__iconMenuWithSeparator--Xd3uX {
    border-block-start: 1px solid var(--md-sys-color-outline-variant);
    padding-block-start: var(--dhp-space-md);
}
.Sidebar__iconMenuItem--ww_zj {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.15s;
}
.Sidebar__iconMenuItem--ww_zj:hover {
        text-decoration: underline;
}
.Sidebar__iconMenuItem--ww_zj:focus-visible {
        box-shadow: inset 0 0 0 2px var(--md-sys-color-primary);
        outline: none;
}
.Sidebar__iconMenuItemActive--mGWy1 .Sidebar__menuIcon--K68s4 {
        color: var(--md-sys-color-primary);
}
.Sidebar__iconMenuItemActive--mGWy1 .Sidebar__iconMenuLabel--lD1IH {
        color: var(--md-sys-color-primary);
        font-weight: 650;
}
.Sidebar__menuIcon--K68s4 {
    width: 2.3rem;
    height: 2.3rem;
    flex-shrink: 0;
    color: var(--md-sys-color-on-surface-variant);
}
.Sidebar__iconMenuLabel--lD1IH {
    font-size: 0.85rem;
    font-weight: 450;
    color: var(--md-sys-color-on-surface);
    line-height: 1.3;
}

/* ── Mobile (≤768px) ── */
@media screen and (width <= 768px) {
.Sidebar__sidebar--CcEAE {
        display: none;
}
.Sidebar__sidebarOpen--xdPxs {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 99;
        background: none;
        border: none;
        padding: 0;
        overflow: visible;
}
body.has-admin-shell .Sidebar__sidebarOpen--xdPxs {
            top: 41px;
            height: calc(100vh - 41px);
}
body.has-admin-left-menu .Sidebar__sidebarOpen--xdPxs {
            left: 59px;
            width: calc(100vw - 59px);
}
@media (width <= 768px) {
body.has-admin-left-menu .Sidebar__sidebarOpen--xdPxs {
                left: 0;
                width: 100vw
}
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__backdrop--e3mjH {
        display: block;
        position: fixed;
        inset: 0;
        background: rgb(0, 0, 0, 0.5);
        z-index: 0;
}
body.has-admin-shell .Sidebar__sidebarOpen--xdPxs .Sidebar__backdrop--e3mjH {
            top: 41px;
}
body.has-admin-left-menu .Sidebar__sidebarOpen--xdPxs .Sidebar__backdrop--e3mjH {
            left: 59px;
}
@media (width <= 768px) {
body.has-admin-left-menu .Sidebar__sidebarOpen--xdPxs .Sidebar__backdrop--e3mjH {
                left: 0
}
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__sidebarInner--lwoRe {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-rows: auto 1fr;
        width: 280px;
        height: 100vh;
        background-color: var(--md-sys-color-surface);
        border-inline-end: 1px solid var(--md-sys-color-outline-variant);
        box-sizing: border-box;
        animation: Sidebar__slideIn--UBpZl 0.2s ease-out;
}
body.has-admin-shell .Sidebar__sidebarOpen--xdPxs .Sidebar__sidebarInner--lwoRe {
            height: calc(100vh - 41px);
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__sidebarHeader--o4LTC {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--dhp-space-sm) var(--dhp-space-md);
        border-block-end: 1px solid var(--md-sys-color-outline-variant);
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__closeButton--F420P {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        color: var(--md-sys-color-on-surface);
        border-radius: 0.5rem;
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__closeButton--F420P svg {
            width: 1.5rem;
            height: 1.5rem;
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__closeButton--F420P:hover {
            background-color: var(--md-sys-color-surface-container-low);
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__closeButton--F420P:focus-visible {
            outline: 2px solid var(--md-sys-color-primary);
            outline-offset: 2px;
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__sidebarContent--LsVWQ {
        min-height: 0;
        overflow-y: auto;
        padding: var(--dhp-space-md) var(--dhp-space-md) var(--dhp-space-md);
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__myPageMenuItem--bqUwg {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.5rem;
        border-radius: 0.5rem;
        border: none;
        background: none;
        color: var(--md-sys-color-on-surface);
        font: inherit;
        cursor: pointer;
        transition: background-color 0.15s;
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__myPageMenuItem--bqUwg .Sidebar__menuIcon--K68s4 {
            color: var(--md-sys-color-primary);
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__myPageMenuItem--bqUwg:hover {
            text-decoration: underline;
}
.Sidebar__sidebarOpen--xdPxs .Sidebar__myPageMenuItem--bqUwg:focus-visible {
            box-shadow: inset 0 0 0 2px var(--md-sys-color-primary);
            outline: none;
}
}
@keyframes Sidebar__slideIn--UBpZl {
from {
        transform: translateX(-100%);
}
to {
        transform: translateX(0);
}
}
@media print {
.Sidebar__sidebar--CcEAE {
        display: none;
}
}


.dhp-item-enter-active {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dhp-item-leave-active {
    transition: opacity 0.15s ease, transform 0.15s ease;
    position: absolute;
}
.dhp-item-enter-from,
.dhp-item-leave-to {
    opacity: 0;
    transform: scale(0.9);
}
.dhp-item-move {
    transition: transform 0.25s ease;
}


.SidebarPageHeader__header--kgJwN {
    grid-column: 1 / -1;
    background-color: var(--md-sys-color-surface);
    border-block-end: none;
    display: grid;
    grid-template-columns: 1fr minmax(0, var(--dhp-page-max-width)) 1fr;
    /*
     * `.page` in ArticleDetail is a `display: flex; flex-direction: column`
     * with header first and wrapper (article content) second, so flex
     * source order makes the wrapper paint on top of the header — and the
     * HeaderUserChip dropdown, living inside the header's paint layer, is
     * over-painted by later siblings. Third-party video iframes (Vimeo/
     * YouTube) make this especially visible because they composite onto
     * their own layer.
     *
     * Flex items support `z-index` without needing `position`, and it
     * creates a stacking context implicitly. A single `z-index: 1` on the
     * header is the architecturally correct fix here: the header is
     * persistent chrome that always belongs above its sibling content
     * row, and the dropdown inside inherits the same layer.
     */
    z-index: 1;
}
.SidebarPageHeader__headerContent--a9cxg {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    padding: 0.6rem 0;
}
.SidebarPageHeader__logo--xWFPT {
    flex: 0 0 var(--dhp-sidebar-width);
}
.SidebarPageHeader__breadcrumb--lUBKa {
    flex: 1 1 0;
    min-width: 0;
}
.SidebarPageHeader__menuButton--LC9EI {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    color: var(--md-sys-color-on-surface);
    border-radius: 0.5rem;
}
.SidebarPageHeader__menuButton--LC9EI svg {
        width: 1.5rem;
        height: 1.5rem;
}
.SidebarPageHeader__menuButton--LC9EI:hover {
        background-color: var(--md-sys-color-surface-container-low);
}
.SidebarPageHeader__menuButton--LC9EI:focus-visible {
        outline: 2px solid var(--md-sys-color-primary);
        outline-offset: 2px;
}
.SidebarPageHeader__actions--lhVMP {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.SidebarPageHeader__mobileBreadcrumb--FHK6W {
    display: none;
}
@media screen and (width <= 768px) {
.SidebarPageHeader__headerContent--a9cxg {
        justify-content: space-between;
}
.SidebarPageHeader__logo--xWFPT {
        flex: 0 1 auto;
}
.SidebarPageHeader__breadcrumb--lUBKa,
    .SidebarPageHeader__actions--lhVMP {
        display: none;
}
.SidebarPageHeader__menuButton--LC9EI {
        display: flex;
}
.SidebarPageHeader__mobileBreadcrumb--FHK6W {
        display: block;
        grid-column: 2;
        padding: 0.4rem var(--dhp-gutter) 0.6rem;
        border-block-start: 1px solid var(--md-sys-color-outline-variant);
        font-size: 0.7rem;
}
}
@media print {
.SidebarPageHeader__header--kgJwN {
        background: none;
        border: none;
        display: block;
}
.SidebarPageHeader__headerContent--a9cxg {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.4rem 0;
}
.SidebarPageHeader__actions--lhVMP,
    .SidebarPageHeader__menuButton--LC9EI,
    .SidebarPageHeader__mobileBreadcrumb--FHK6W {
        display: none;
}
}

