.channel-content{display:grid;grid-template-columns:var(--split-width,250px) minmax(0,1fr);gap:32px;padding:24px 0;min-width:0;color:var(--text)}
.channel-content__navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){min-width:0;align-self:start;border-right:1px solid var(--border);padding-right:20px;position:sticky;top:20px;max-height:calc(100dvh - 80px);overflow:auto}
.channel-content__navigation>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:none}.channel-content__heading:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;font-size:14px}
.channel-content__navigation ul:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){list-style:none;margin:0;padding:0}.channel-content__navigation ul ul:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-left:10px;padding-left:10px;border-left:1px solid var(--border)}
.channel-content__navigation li:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin:3px 0}.channel-content__navigation details>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer}.channel-content__navigation details>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *)::-webkit-details-marker{display:none}.channel-content__navigation details>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *)::before{content:'›';font-size:20px;line-height:1;width:12px;flex:0 0 12px;text-align:center;color:var(--text-3);transform:rotate(0deg)}.channel-content__navigation details[open]>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *)::before{transform:rotate(90deg)}
.channel-content__navigation a:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:block;min-width:0;overflow-wrap:anywhere;padding:9px 8px;color:var(--text);font-size:14px;line-height:1.4;text-decoration:none;border-radius:7px}.channel-content__navigation summary>a:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){flex:1}.channel-content__navigation a:hover:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){background:var(--surface-hover,rgba(127,127,127,.08))}.channel-content__navigation a[aria-current=page]:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:var(--text);background:var(--surface-hover,rgba(127,127,127,.1));font-weight:600}.channel-content__leaf>a:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:var(--text-3)}
.channel-content__quiet:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 8px;background:none!important;border:0!important;box-shadow:none!important;border-radius:6px;color:inherit;font:inherit;cursor:pointer;text-decoration:none}.channel-content__quiet:hover:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){background:var(--surface-hover,rgba(127,127,127,.08))!important}.channel-content__quiet:disabled:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){opacity:.5;cursor:wait}.channel-content__edit:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){font-size:20px;flex-shrink:0}.channel-content__main:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){min-width:0}.channel-content [data-content-search]{display:flex;align-items:center;gap:8px;margin-bottom:20px}.channel-content [data-content-search] input{flex:1;width:0}.channel-content input, .channel-content select{min-width:0;max-width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}.channel-content__item:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){padding:20px 0;border-bottom:1px solid var(--border)}.channel-content__item:first-child:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){padding-top:0}.channel-content__item h3:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){font-size:18px;line-height:1.4;margin:0 0 8px}.channel-content__item h3 a:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:inherit;text-decoration:none}.channel-content__item p:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:var(--text-3);font-size:14px;line-height:1.55;margin:6px 0;overflow-wrap:anywhere}.channel-content__assignment:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;align-items:center;gap:10px;margin-top:14px;font-size:12px;color:var(--text-3)}.channel-content__assignment select:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){max-width:100%;font-size:13px}.channel-content__hint:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *), .channel-content__empty:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:var(--text-3);font-size:14px;line-height:1.5}.channel-content [role=status]:empty{display:none}.channel-content__dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--border);border-radius:16px;padding:24px;background:var(--surface);color:var(--text)}.channel-content__dialog::backdrop{background:rgba(0,0,0,.35)}.channel-content__dialog h3{margin:0 0 20px}.channel-content__dialog label{display:grid;gap:7px;margin:16px 0;font-size:14px}.channel-content__actions:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;align-items:center;gap:8px;flex-wrap:wrap}.channel-content__danger:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){color:var(--danger,#be3544);margin-left:auto}.channel-content .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.channel-content--navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:block;padding:0}.channel-content--navigation .channel-content__main:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:none}.channel-content--navigation .channel-content__navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){position:static;border:0;padding:0;max-height:none}
@media(max-width:900px){.channel-content{display:block;padding-top:16px}.channel-content__navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){position:static;border:1px solid var(--border);border-radius:10px;padding:0;margin-bottom:20px;max-height:none}.channel-content__navigation>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;font-weight:600;list-style:none}.channel-content__navigation>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *)::-webkit-details-marker{display:none}.channel-content__navigation-body:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){padding:4px 12px 12px}.channel-content__heading:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-top:6px}.channel-content input, .channel-content select{font-size:16px}.channel-content__dialog{padding:18px}.channel-content__assignment:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){align-items:flex-start;flex-direction:column}.channel-content--navigation .channel-content__navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){border:1px solid var(--border)}}
@media(prefers-reduced-motion:reduce){.channel-content *{scroll-behavior:auto}}

.reader-layout.reader-layout--channel-tree:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){grid-template-columns:var(--split-width,250px) minmax(0,1fr);gap:0}.reader-layout--channel-tree>.split-layout__divider:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-left:-4px}.reader-channel-navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){padding:var(--page-top,24px) 16px 0;min-width:0;align-self:start;position:sticky;top:16px;max-height:calc(100dvh - 48px);overflow:auto}.reader-layout--channel-tree>.reader-paper:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){min-width:0}
@media(max-width:900px){.reader-layout.reader-layout--channel-tree:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){grid-template-columns:minmax(0,1fr);gap:0}.reader-channel-navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){position:static;padding:12px 0 0;max-height:none}.reader-channel-navigation .channel-content{padding:0}.reader-channel-navigation .channel-content__navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-bottom:12px}}

/* Structure is opt-in; the reading/list column uses the available width when closed. */
.channel-content:not(.channel-content--navigation):not(.structure-open){grid-template-columns:minmax(0,1fr)}
.reader-layout.reader-layout--channel-tree:not(.structure-open):where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){grid-template-columns:minmax(0,1fr)}
.reader-layout:not(.structure-open)>.reader-channel-navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *), .channel-content:not(.channel-content--navigation):not(.structure-open)>[data-content-menu]{display:none}
.reader-layout:not(.structure-open)>.split-layout__divider:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *), .channel-content:not(.structure-open)>.split-layout__divider{display:none!important}
.reader-structure-tools:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-bottom:12px}.content-structure-toggle:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){width:36px;height:36px;flex:0 0 36px;color:var(--text)}
.content-structure-toggle[aria-expanded=true]:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){background:var(--surface-hover,rgba(127,127,127,.08))!important}
.content-structure-dialog:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){box-sizing:border-box;margin:0 auto 0 0;width:min(360px,calc(100vw - 32px));height:100dvh;max-height:100dvh;max-width:100vw;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));border:0;border-right:1px solid var(--border);background:var(--surface,#fff);color:var(--text);overflow:auto}
.content-structure-dialog:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *)::backdrop{background:rgba(0,0,0,.35)}
.content-structure-close:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:flex;margin-left:auto;font-size:26px;width:36px;height:36px}
.content-structure-dialog [data-content-menu]:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:block!important;position:static;border:0!important;max-height:none;margin:0;padding:0}
.content-structure-dialog [data-content-menu]>summary:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:none}
.content-structure-dialog .channel-content__navigation-body:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){padding:12px 0}
@media(max-width:900px){
.reader-layout.reader-layout--channel-tree>.reader-channel-navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:contents}
.reader-channel-navigation>.channel-content--navigation:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){display:contents}
.reader-structure-tools:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){margin-bottom:8px}
}

.content-structure-dialog:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){overscroll-behavior:contain}body:has(.content-structure-dialog[open]){overflow:hidden}

.content-structure-dialog>.content-structure-close:where(.channel-content, .channel-content *, .channel-content__dialog, .channel-content__dialog *, .content-structure-dialog, .content-structure-dialog *, .reader-layout, .reader-layout *, .channel-page, .channel-page *){position:sticky;top:0;z-index:1;background:var(--surface,#fff)!important}
