.wd-page-toc {
    width: calc(100% - 32px);
    max-width: 760px;
    margin: 12px auto;
    color: #062b67;
}
.wd-page-toc[hidden], .wd-toc-replaced {
    display: none !important;
}
.wd-page-toc details, .wd-page-toc-aside {
    background: #f7faff;
    border: 1px solid #dce5f0;
    border-radius: 10px;
}
.wd-page-toc details { padding: 0 12px 4px; }
.wd-page-toc summary {
    cursor: pointer;
    min-height: 44px;
    align-content: center;
    font-weight: 700;
}
.wd-page-toc nav a {
    display: block;
    padding: 8px;
    color: #062b67;
    line-height: 1.3;
    text-decoration: none;
    border-radius: 5px;
}
.wd-page-toc nav a[aria-current] {
    background: #e2eeff;
    font-weight: 700;
}
.wd-page-toc :is(a, summary):focus-visible {
    outline: 2px solid #0646b8;
    outline-offset: 2px;
}
.wd-page-toc-aside { display: none; }
.wd-page-toc-anchor {
    scroll-margin-top: var(--wd-page-toc-offset, 130px) !important;
}
.wd-google-summary { font-weight: 700; }
.wd-google-site-reviews {
    width: calc(100% - 32px);
    max-width: 760px;
    margin: 20px auto;
    padding: 14px 18px;
    color: #062b67;
    background: #f7faff;
    border: 1px solid #dce5f0;
    border-radius: 10px;
}
.wd-google-site-reviews > a { color: #0646b8; text-decoration: underline; }
.wd-google-widget-details { margin-top: 10px; }
.wd-google-widget-details summary { cursor: pointer; color: #0646b8; }
@media (min-width: 1200px) and (min-height: 460px) {
    .wd-page-toc {
        width: 0;
        height: 0;
        margin: 0;
    }
    .wd-page-toc details { display: none; }
    .wd-page-toc .wd-page-toc-aside {
        display: block;
        position: fixed;
        inset-inline-end: 14px;
        top: calc(var(--wd-page-toc-offset, 130px) + 10px);
        width: 166px;
        max-height: calc(100dvh - var(--wd-page-toc-offset, 130px) - 25px);
        padding: 8px;
        overflow: auto;
        z-index: 20;
        font-size: 13px;
    }
    .wd-page-toc-title { display: block; padding: 5px 8px; }
    .wd-page-toc-content { padding-inline-end: 194px !important; }
}
