.app-nav > [data-module-nav][hidden] { display: none; }
.sidebar-navigation .app-nav:not(:has(a:not([hidden]))),
.sidebar-navigation .nav-label:not(:has(+ .app-nav > a:not([hidden]))) { display: none; }
.module-hub { --module-muted: color-mix(in srgb, var(--muted) 85%, var(--ink)); max-width: var(--admin-width-workspace, 82rem); }
.module-hub .page-header :is(.page-header__kicker, .page-header__lead) { color: var(--module-muted); }
.module-hub h2 { margin: 0; font-size: 1.125rem; }
.module-hub .section-card { min-width: 0; }
.module-icon { display: block; width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: currentColor; }
.module-access { border-block: 1px solid var(--line); }
.module-access > summary { display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .6rem 0; cursor: pointer; color: var(--module-muted); }
.module-access__label { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; font-size: .875rem; }
.module-access__label strong { color: var(--ink); font-size: 1rem; }
.module-access__role { font-size: .875rem; }
.module-access > div { max-width: 52rem; padding-bottom: .75rem; color: var(--module-muted); }
.module-access p { margin: .25rem 0; line-height: 1.5; }
.module-hub summary { list-style: none; }
.module-hub summary::-webkit-details-marker { display: none; }
.module-hub details[open] > summary > .module-icon:last-child { transform: rotate(180deg); }
.module-section-heading { display: flex; align-items: start; justify-content: space-between; gap: var(--space-4); }
.module-section-heading > div { min-width: 0; }
.module-section-heading p { max-width: 46rem; margin: .5rem 0 0; color: var(--module-muted); font-size: .9rem; line-height: 1.5; }
.module-hub .module-reset { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex-shrink: 0; min-height: 44px; max-width: 100%; padding: .5rem .65rem; border: 0; background: transparent; color: var(--green); font-size: .85rem; white-space: normal; }
.module-reset .module-icon { width: 1.125rem; height: 1.125rem; }
.module-hub .module-reset:hover:not(:disabled) { background: var(--green-soft); }
.module-navigation-status { min-height: 1.5em; margin: .75rem 0 1.25rem; font-size: .875rem; line-height: 1.5; color: var(--module-muted); }
.module-no-script { padding: 1rem; background: var(--amber-soft); color: var(--ink); }
.module-list { padding: 0; margin: 0; list-style: none; }
.module-list-heading, .module-row { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 1rem; align-items: center; }
.module-list-heading { padding-bottom: .5rem; color: var(--module-muted); font-size: .875rem; }
.module-list-heading > :last-child { text-align: center; }
.module-row { border-top: 1px solid var(--line); }
.module-row__open, .module-row__unavailable { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 1rem; gap: .875rem; align-items: center; min-height: 76px; padding: .875rem 0; color: var(--green); text-decoration: none; border-radius: 3px; }
.module-row__open:hover { background: var(--surface-soft); }
.module-row__open:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.module-row__content { min-width: 0; }
.module-row h3 { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 650; line-height: 1.35; }
.module-row p { margin: .25rem 0 0; max-width: 48rem; color: var(--module-muted); font-size: .875rem; line-height: 1.5; }
.module-row__arrow .module-icon { width: 1rem; height: 1rem; }
.module-choice { display: flex; align-items: center; justify-content: center; justify-self: center; width: 44px; min-height: 44px; margin: 0; cursor: pointer; border-radius: 4px; }
.module-choice__caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.module-choice:hover { background: var(--green-soft); }
.module-choice input[type="checkbox"] { flex-shrink: 0; width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0; accent-color: var(--green); cursor: inherit; }
.module-choice:has(input:disabled) { cursor: default; }
.module-row__no-choice { text-align: center; color: var(--module-muted); }
.module-hub .module-helper-heading { margin: 1.25rem 0 .5rem; color: var(--module-muted); font-size: .875rem; font-weight: 600; }
.module-row--unavailable { grid-template-columns: minmax(0, 1fr); background: var(--surface-soft); }
.module-row__unavailable { grid-template-columns: 1.5rem minmax(0, 1fr); padding-inline: .75rem; color: var(--module-muted); }
.module-row--unavailable h3 { color: var(--module-muted); }
.module-row .module-row__reason { display: flex; align-items: start; gap: .4rem; margin-top: .4rem; font-size: .875rem; }
.module-row__reason .module-icon { width: 1rem; height: 1rem; margin-top: .12rem; }
.module-restricted, .module-outlook { min-width: 0; padding: .5rem 0; }
.module-restricted > .module-list, .module-outlook > .module-outlook__details:first-of-type { margin-top: 1rem; }
.module-outlook__details { border-top: 1px solid var(--line); color: var(--module-muted); }
.module-outlook__details:last-child { border-bottom: 1px solid var(--line); }
.module-outlook__details > summary { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem; align-items: center; gap: .875rem; min-height: 44px; padding: .875rem 0; cursor: pointer; }
.module-outlook__details > summary:hover { background: var(--surface-soft); }
.module-outlook__details > summary > span { min-width: 0; }
.module-outlook__details strong { font-size: .9375rem; font-weight: 600; }
.module-outlook__details > summary > span > span { display: block; margin-top: .2rem; font-size: .875rem; font-weight: 400; line-height: 1.5; }
.module-outlook__details > summary > .module-icon:last-child { width: 1.25rem; height: 1.25rem; }
.module-outlook__details > div { max-width: 52rem; padding: 0 0 .75rem 2.375rem; }
.module-outlook__details > div p { margin: .25rem 0 .75rem; font-size: .9rem; line-height: 1.6; }
.module-empty { padding: 1rem 0; }
.module-hub :is(h2, h3, p, summary, strong, .module-access__role) { overflow-wrap: anywhere; }
.module-hub { container-type: inline-size; }
@container (max-width: 40rem) {
    .module-section-heading { flex-direction: column; gap: .5rem; }
    .module-hub .module-reset { align-self: start; padding-left: 0; }
    .module-row__open { grid-template-columns: 1.5rem minmax(0, 1fr); gap: .65rem; }
    .module-row__arrow { display: none; }
    .module-row__open h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
    .module-list-heading, .module-row { gap: .5rem; }
    .module-access > summary { flex-wrap: wrap; }
    .module-access__label { flex-basis: calc(100% - 3rem); }
    .module-access__role { margin-left: 2.25rem; flex: 1; }
}
@container (max-width: 19rem) {
    .module-list-heading { display: none; }
    .module-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .module-choice { width: auto; justify-self: start; gap: .65rem; margin: 0 0 .75rem 2.15rem; }
    .module-choice__caption { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; font-size: .875rem; }
    .module-row__no-choice { display: none; }
    .module-row__open { min-height: 44px; }
    .module-access__role { margin-left: 0; }
}
@media (forced-colors: active) {
    .module-row--unavailable { border-left: 2px dashed GrayText; }
}
