.dfl-static-search-results {
    position: absolute;
    z-index: 50;
    top: calc(100% + 0.4rem);
    left: 0;
    width: min(32rem, calc(100vw - 2rem));
    max-height: min(28rem, 65vh);
    overflow-y: auto;
    padding: 0.45rem;
    border: 1px solid rgba(34, 78, 111, 0.2);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(24, 53, 75, 0.2);
    color: #18354b;
    text-align: left;
}

.dfl-static-search-results[hidden] {
    display: none;
}

.dfl-static-search-results__status {
    margin: 0;
    padding: 0.65rem 0.7rem;
    color: #5e7180;
    font-size: 0.82rem;
}

.dfl-static-search-results ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dfl-static-search-results a {
    display: block;
    padding: 0.7rem;
    border-radius: 7px;
    color: #224e6f;
    text-decoration: none;
}

.dfl-static-search-results a:hover,
.dfl-static-search-results a:focus-visible {
    background: #edf5f1;
    outline: none;
}

.dfl-static-search-results strong,
.dfl-static-search-results small {
    display: block;
}

.dfl-static-search-results strong {
    font-size: 0.9rem;
}

.dfl-static-search-results small {
    margin-top: 0.18rem;
    color: #6d7f8d;
    font-size: 0.75rem;
    line-height: 1.35;
}

#dw__search {
    position: relative;
}

.dfl-live-loading #dokuwiki__content {
    opacity: 0.72;
    transition: opacity 120ms ease;
}

.dfl-live-notice {
    margin: 0 0 1.15rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(79, 114, 79, 0.26);
    border-radius: 9px;
    background: rgba(254, 222, 165, 0.34);
    color: #3d625a;
    font-size: 0.86rem;
}

.dfl-live-notice strong {
    color: #224e6f;
}

@media (prefers-reduced-motion: reduce) {
    .dfl-live-loading #dokuwiki__content {
        transition: none;
    }
}

@media only screen and (max-width: 900px) {
    #dokuwiki__aside > .pad > h3.toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 1.7rem;
        margin: 0;
        padding: 0;
        border: 0;
        cursor: pointer;
    }

    #dokuwiki__aside > .pad > h3.toggle::after {
        content: "›";
        display: inline-block;
        color: #fedea5;
        font-size: 1.25rem;
        line-height: 1;
        transform: rotate(90deg);
        transition: transform 160ms ease;
    }

    #dokuwiki__aside > .pad > h3.toggle[aria-expanded="true"] {
        margin-bottom: 0.8rem;
        padding-bottom: 0.72rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    #dokuwiki__aside > .pad > h3.toggle[aria-expanded="true"]::after {
        transform: rotate(-90deg);
    }

    #dokuwiki__aside > .pad > h3.toggle:focus-visible {
        outline: 3px solid rgba(254, 222, 165, 0.72);
        outline-offset: 3px;
    }
}
