/* Shared staff information hierarchy. Native disclosures own their state. */
@media screen {
    html:root body.layout-app .page-outline {
        clear: both;
        flex: none;
        order: -1;
        margin: 0 0 14px;
        padding: 0;
        border: 1px solid var(--block-border, #d7dde7);
        border-radius: 6px;
        background: var(--block-surface, #fbfcfe);
        color: inherit;
    }
    html:root body.layout-app .page-outline > summary {
        padding: 10px 12px;
        min-height: 44px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
    }
    html:root body.layout-app .page-outline__links { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0 10px 10px; }
    html:root body.layout-app .page-outline__links > a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        max-width: 100%;
        padding: 8px 10px;
        border: 1px solid var(--block-border, #d7dde7);
        border-radius: 4px;
        background: #fff;
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
        text-decoration: none;
    }
    html:root body.layout-app details.page-section { display: block; }
    html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section) {
        border: 1px solid var(--block-border, #d7dde7);
        border-radius: 6px;
        padding: 0;
        margin-top: 12px;
        background: #fff;
    }
    html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section) > summary {
        min-height: 48px;
        padding: 12px;
        margin: 0;
        background: var(--block-surface, #fbfcfe);
        border-radius: 6px;
        list-style-position: inside;
        cursor: pointer;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section) > summary :is(h2, h3) {
        display: inline;
        margin: 0;
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: normal;
    }
    html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section)[open] {
        padding: 0 12px 12px;
    }
    html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section)[open] > summary {
        margin: 0 -12px 12px;
        border-bottom: 1px solid var(--block-border, #d7dde7);
        border-radius: 6px 6px 0 0;
    }
    html:root body.layout-app .page-section__meta { display: inline-block; margin-left: 12px; font-size: 14px; font-weight: 400; color: var(--text-muted, #697386); }
    html:root body.layout-app [data-page-section],
    html:root body.layout-app [data-page-structure] [id] { scroll-margin-top: 12px; }
    html:root body.layout-app .page-outline summary:focus-visible,
    html:root body.layout-app .page-outline a:focus-visible,
    html:root body.layout-app details.page-section > summary:focus-visible { outline: 2px solid #3158ae; outline-offset: 2px; }
    html:root body.layout-app .executor-dashboard { gap: 12px; }
    html:root body.layout-app .executor-dashboard > .page-section { margin-top: 0; }
    html:root body.layout-app .executor-dashboard > #my-work-period { border-top: 1px solid var(--block-border, #d7dde7); padding-top: 16px; }
    html:root body.layout-app .dashboard-page > .page-section { margin-bottom: 12px; }
    html:root body.layout-app .report-group.page-section { margin-top: 12px; }
    @media (max-width: 760px) {
        html:root body.layout-app details:is(.page-section, .entity-card-section, .notification-category, .collapsible-section) > summary :is(h2, h3) { font-size: 17px; }
        html:root body.layout-app .page-section__meta { display: block; margin: 4px 0 0; }
        html:root body.layout-app .page-outline__links > a { flex: 1 1 160px; }
        html:root body.layout-app .dashboard-summary { grid-template-columns: minmax(0, 1fr); }
    }
}
/* Do not print the navigation helper or alter native document disclosures. */
@media print { .page-outline { display: none !important; } }
