.rdct-page{position:relative;isolation:isolate;background:#fff;color:#111;width:100%;margin:0 auto}.rdct-page .rdct-group{position:relative;background:#fff;margin:0;padding:0;min-height:0}.rdct-page .rdct-cell{position:absolute;box-sizing:border-box;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center}.rdct-page .rdct-cell>a{display:block;width:100%;height:100%}.rdct-page .rdct-cell img,.rdct-page .rdct-cell video{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:var(--rdct-fit,cover)}.rdct-page .rdct-text{width:100%;height:100%;overflow:auto;box-sizing:border-box;font-size:clamp(12px,1.3vw,18px);line-height:1.45;color:#111}.rdct-page .rdct-type-shortcode{display:block}.rdct-page .rdct-respiration{background:#fff;display:block;margin:0;padding:0}.rdct-page svg.rdct-cage{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:5;color:#111}.rdct-page svg.rdct-cage path{stroke-linecap:butt;stroke-linejoin:miter}
/* Navigation propre aux compositions : deux lignes, une en paysage smartphone. */
.rdct-document{box-sizing:border-box;width:100%;min-height:1px}.rdct-navigation{position:fixed;inset:auto 0 auto 0;top:var(--rdct-menu-top,0px);z-index:1200;color:var(--rdct-menu-color,#111);background:var(--rdct-menu-bg,#fff);font-family:Arial,Helvetica,sans-serif;font-size:var(--rdct-menu-font,14px);padding:var(--rdct-menu-pad,10px) 12px;box-sizing:border-box;border-bottom:1px solid #111;transition:transform .2s ease;transform:translateY(0)}.rdct-navigation .rdct-nav-main,.rdct-navigation .rdct-nav-category{display:flex;align-items:center;justify-content:safe center;gap:var(--rdct-menu-gap,20px);overflow-x:auto;white-space:nowrap;scrollbar-width:thin;padding:2px 0}.rdct-navigation .rdct-nav-link{flex:none;color:inherit!important;font:inherit!important;text-decoration:none;padding:5px 2px;line-height:1.3;background:transparent;border:0;border-radius:0}.rdct-navigation a.rdct-nav-link:hover,.rdct-navigation a.rdct-nav-link[aria-current=page]{text-decoration:underline;text-underline-offset:4px}.rdct-navigation span.rdct-nav-link{opacity:.65}.rdct-navigation[data-rdct-device=phone-landscape]{display:flex;gap:var(--rdct-menu-gap,14px);overflow-x:auto;align-items:center}.rdct-navigation[data-rdct-device=phone-landscape] .rdct-nav-main,.rdct-navigation[data-rdct-device=phone-landscape] .rdct-nav-category{display:flex;flex:none;overflow:visible;padding:0}.rdct-navigation.rdct-nav-hidden{transform:translateY(calc(-100% - var(--rdct-menu-top,0px)))}.rdct-navigation.rdct-nav-static{position:relative;inset:auto;z-index:1;transition:none;width:100%}.rdct-menu-space{height:85px}.rdct-shortcode-placeholder{font:13px Arial,sans-serif;color:#444;padding:12px}.rdct-composition-view #header,.rdct-composition-view #grille-sticky,.rdct-composition-view #grille-sticky-mobile{display:none!important}.rdct-composition-view #main{padding-top:0!important}.admin-bar .rdct-navigation{--rdct-menu-top:32px}@media(max-width:782px){.admin-bar .rdct-navigation{--rdct-menu-top:46px}}@media(prefers-reduced-motion:reduce){.rdct-navigation{transition:none}}
.rdct-respiration{position:relative}
.rdct-series-mount,.rdct-series{width:100%;height:100%;position:relative;overflow:hidden}
.rdct-series-stage{width:100%;height:100%;display:flex}
.rdct-series-stage>img,.rdct-series-stage>video{width:100%;height:100%;object-fit:var(--rdct-fit,cover);flex:0 0 100%;min-width:0}
.rdct-series-strip .rdct-series-stage{overflow-x:auto;overflow-y:hidden;scroll-snap-type:none!important;scroll-behavior:auto!important;overflow-anchor:none;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;touch-action:pan-y pinch-zoom;user-select:none}
.rdct-series-strip .rdct-series-stage::-webkit-scrollbar{display:none;width:0;height:0}
.rdct-series-strip .rdct-series-stage.rdct-dragging{cursor:grabbing;scroll-snap-type:none}
.rdct-series-strip .rdct-series-stage:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.rdct-series-strip .rdct-series-stage>*{flex-basis:70%;scroll-snap-align:none}
.rdct-series-controls{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;background:#fff;color:#234955;padding:3px 7px;border-radius:4px;font:12px Arial}
.rdct-series button{cursor:pointer;background:#fff;color:#234955;border:1px solid #bdd0d8;padding:4px 10px;border-radius:4px}
.rdct-series-cover>button{position:absolute;bottom:10px;left:10px}
.rdct-series-dialog{width:90vw;height:85vh;border:1px solid #bdd0d8;border-radius:8px;padding:12px}
.rdct-series-dialog>.rdct-series{height:calc(100% - 40px)}
/* Le fond des cases vides est celui de la page, y compris les respirations. */
.rdct-page,.rdct-page .rdct-group,.rdct-page .rdct-respiration{background:transparent}
body.rdct-composition-view{margin:0;min-height:100vh;background-image:none!important}

.rdct-project-anchor{display:block;height:0;scroll-margin-top:var(--rdct-anchor-offset,100px);pointer-events:none}

.rdct-cell>audio{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%)}


.rdct-page .rdct-type-text{display:block}
.rdct-text-shell{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:auto;box-sizing:border-box}
.rdct-richtext{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;flex:none;max-width:100%;outline-offset:-2px}
.rdct-richtext p,.rdct-richtext div{margin-top:0;margin-bottom:.6em}.rdct-richtext ul,.rdct-richtext ol{white-space:normal}
.rdct-richtext a{color:inherit;text-decoration:underline}.rdct-fold-toggle{flex:none;cursor:pointer;background:transparent;border:0;color:inherit;text-decoration:underline;padding:6px}
.rdct-richtext[contenteditable=true]{outline:2px solid #ed921f;min-height:60px;cursor:text;user-select:text}

.rdct-text-shell{background-attachment:local}

/* Folded text is a compact text-and-command group; the containing grid grows on opening. */
.rdct-text-shell.rdct-fold{overflow:hidden;gap:12px}
.rdct-fold .rdct-richtext{overflow:hidden;min-height:0}
.rdct-fold .rdct-richtext>:last-child{margin-bottom:0}
.rdct-fold .rdct-fold-toggle{margin:0!important;flex:none}

.rdct-series-zoom>.rdct-series-open{position:absolute;bottom:10px;left:10px}
.rdct-series-dialog::backdrop{background:rgba(0,0,0,.84)}
.rdct-series-dialog .rdct-series-stage>img{object-fit:contain}

/* Shared consultation, scoped to Ramdam; inline media keep their own settings. */
.rdct-series-controls{background:#303030!important;color:#fff!important;border:0}
.rdct-series .rdct-series-controls button{background:#303030!important;color:#fff!important;border-color:#666!important}
.rdct-series-stage img[role=button],img[data-rdct-zoom]{cursor:pointer}
.rdct-video-frame{position:relative;width:100%;height:100%;min-width:0;overflow:hidden}
.rdct-series-stage>.rdct-video-frame{flex:0 0 100%}
.rdct-series-strip .rdct-series-stage>.rdct-video-frame{flex-basis:70%}
.rdct-video-frame>.rdct-video-click{position:absolute;inset:0;z-index:2;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;cursor:zoom-in}
.rdct-video-frame:has(video[controls])>.rdct-video-click{bottom:min(48px,50%)}
.rdct-video-frame[data-rdct-no-expand]>.rdct-video-click{display:none!important}
.rdct-video-click:focus-visible{outline:2px solid white;outline-offset:-3px}
.rdct-video-frame>video{display:block;width:100%;height:100%;object-fit:var(--rdct-fit,cover)}
dialog.rdct-viewer{position:fixed;inset:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;background:#000!important;color:#fff!important;overflow:hidden!important;box-sizing:border-box;z-index:2147483000;font:14px Arial,sans-serif}
dialog.rdct-viewer[open]{display:grid!important;grid-template-rows:minmax(0,1fr) auto}
dialog.rdct-viewer::backdrop{background:#000}
.rdct-viewer-stage{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#000}
.rdct-viewer-frame{position:relative;flex:none;max-width:100%;max-height:100%}
.rdct-viewer-visuals>.rdct-viewer-media,.rdct-viewer-visuals>.rdct-viewer-previous{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;background:transparent}
.rdct-viewer-visuals>img.rdct-viewer-media{opacity:0;transition:opacity .25s ease}
.rdct-viewer-visuals>img.rdct-viewer-ready{opacity:1}
.rdct-viewer-previous{opacity:1;transition:opacity .25s ease}
.rdct-viewer-visuals>.rdct-viewer-fade-out{opacity:0}
.rdct-viewer-bar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#292929;color:#fff;box-sizing:border-box;min-width:0;line-height:1.3}
dialog.rdct-viewer button{box-sizing:border-box;cursor:pointer;box-shadow:none!important;text-shadow:none!important;margin:0!important;background:#333!important;color:#fff!important;border:1px solid #666!important;border-radius:4px!important;padding:5px 10px!important;min-width:36px;min-height:36px;font:18px Arial,sans-serif!important;line-height:1!important;flex:none}
dialog.rdct-viewer .rdct-viewer-bar button:hover{background:#494949!important}
dialog.rdct-viewer button[aria-pressed=true]{border-color:#fff!important;background:#555!important}
dialog.rdct-viewer button:disabled{opacity:.35;cursor:default}
dialog.rdct-viewer [hidden]{display:none!important}
.rdct-viewer-count{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
.rdct-viewer-bar label{display:flex;align-items:center;gap:5px;color:#fff!important;margin:0!important;font:13px Arial,sans-serif!important}
.rdct-viewer-bar input[type=number]{box-sizing:border-box;width:52px!important;max-width:52px!important;background:#333!important;color:#fff!important;border:1px solid #666!important;border-radius:4px;padding:5px!important;margin:0!important;font:14px Arial,sans-serif}
.rdct-viewer-progress{width:90px;height:4px;accent-color:#ddd;background:#555}
.rdct-viewer-progress::-webkit-progress-bar{background:#555}
.rdct-viewer-progress::-webkit-progress-value{background:#ddd}
.rdct-viewer-seek{flex:1 1 150px;min-width:80px;max-width:300px}
.rdct-viewer-volume{width:75px;max-width:75px}
.rdct-viewer-bar input[type=range]{accent-color:#ddd;margin:0!important;padding:0!important;background:transparent!important;height:24px}
.rdct-viewer-time{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
dialog.rdct-viewer .rdct-viewer-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:5;font-size:27px!important;background:#292929!important}
dialog.rdct-viewer .rdct-viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:rgba(35,35,35,.7)!important;border:0!important;font-size:30px!important;width:38px;height:46px}
.rdct-viewer-arrow-left{left:8px}
.rdct-viewer-arrow-right{right:8px}
.rdct-viewer-status{position:absolute;bottom:12px;left:10%;right:10%;text-align:center;background:#000;color:#fff;font:14px Arial}
.rdct-viewer-status:empty{display:none}
@media(max-width:600px){.rdct-viewer-bar{gap:7px;padding-top:8px}.rdct-viewer-progress{width:50px}.rdct-viewer-volume{max-width:60px}.rdct-viewer-bar button{padding:4px 8px!important;min-width:34px;min-height:34px}}
@media(prefers-reduced-motion:reduce){.rdct-viewer-visuals>img,.rdct-viewer-previous{transition:none!important}}

/* Native hand cursors follow the user's operating system. */
.rdct-series-strip .rdct-series-stage,.rdct-series-strip .rdct-series-stage img{cursor:grab!important}
.rdct-series-strip .rdct-series-stage.rdct-dragging,.rdct-series-strip .rdct-series-stage.rdct-dragging img{cursor:grabbing!important}
/* A strip uses the natural media ratio at the available height, without gaps. */
.rdct-series-strip .rdct-series-stage{gap:0;align-items:stretch}
.rdct-page .rdct-series-strip .rdct-series-stage>img,.rdct-series-strip .rdct-series-stage>img,.rdct-series-strip .rdct-series-stage>.rdct-video-frame{flex:0 0 auto;width:auto;max-width:none;min-width:0;height:100%;object-fit:contain}
.rdct-series-strip .rdct-series-stage>.rdct-video-frame{width:var(--rdct-strip-width,auto)}
.rdct-series-strip .rdct-video-frame>video{object-fit:contain}
.rdct-project-link{position:absolute!important;top:8px;right:8px;z-index:8;box-sizing:border-box!important;width:28px!important;height:28px!important;min-width:0!important;padding:2px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--rdct-project-link-color,#000)!important;box-shadow:none!important;cursor:pointer;opacity:0;transition:opacity .12s;line-height:1}
.rdct-project-link img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;pointer-events:none}
.rdct-document .rdct-project-link{pointer-events:none}
.rdct-document .rdct-type-text:hover>.rdct-project-link,.rdct-project-link:focus{opacity:1;pointer-events:auto}
.rdct-document .rdct-type-text>.rdct-project-link:focus{pointer-events:auto}
@media(hover:none){.rdct-project-link{display:none}}


.rdct-link-status{position:absolute;right:0;top:32px;background:#fff;color:#111;padding:5px;white-space:nowrap;font:12px Arial,sans-serif}

.rdct-project-link svg{display:block!important;width:100%!important;height:100%!important;pointer-events:none;fill:none;stroke:currentColor}

.rdct-image-frame{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;box-sizing:border-box;flex:0 0 auto}
.rdct-series-stage>.rdct-image-frame-strip{flex:0 0 auto;width:auto;height:100%;max-width:none}

.rdct-video-edge-viewport{position:relative;display:block;flex:0 0 auto;width:100%;height:100%;overflow:hidden;min-width:0;min-height:0}
.rdct-video-edge-window{position:absolute;display:block;left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden}

/* Keep playback controls inside the cell while the video pixels are enlarged. */
.rdct-video-framing-controls{position:absolute;left:4px;right:4px;bottom:4px;z-index:4;display:flex;align-items:center;gap:5px;padding:4px;background:#303030;color:#fff;box-sizing:border-box}
.rdct-video-framing-controls[hidden]{display:none!important}
.rdct-video-framing-controls button{flex:0 0 auto;border:1px solid #777;background:#303030;color:#fff;padding:3px;min-width:27px;min-height:27px;line-height:1;margin:0}
.rdct-video-framing-controls input[type=range]{flex:1 1 40px;min-width:0;width:0;max-width:none;margin:0;padding:0;accent-color:#ccc;pointer-events:auto}
.rdct-video-framing-controls .rdct-video-framing-volume{flex:0 1 64px!important}

/* The mounted Ramdam menu already reserves its height in the document flow. */
body#top.rdn-mounted.rdct-composition-view #main{margin-top:0!important}

.rdct-series-slideshow .rdct-series-stage{position:relative;overflow:hidden;cursor:pointer}
.rdct-series-slideshow .rdct-series-stage[data-slideshow-cursor="previous"]{cursor:url(cursors/previous.svg) 20 20,pointer}
.rdct-series-slideshow .rdct-series-stage[data-slideshow-cursor="play"]{cursor:url(cursors/play.svg) 20 20,pointer}
.rdct-series-slideshow .rdct-series-stage[data-slideshow-cursor="pause"]{cursor:url(cursors/pause.svg) 20 20,pointer}
.rdct-series-slideshow .rdct-series-stage[data-slideshow-cursor="next"]{cursor:url(cursors/next.svg) 20 20,pointer}
.rdct-slideshow-slide{position:absolute;inset:0;overflow:hidden}
.rdct-slideshow-slide[hidden]{display:none}
.rdct-slideshow-slide>img,.rdct-slideshow-slide .rdct-image-frame{pointer-events:none}
.rdct-slideshow-slide>img,.rdct-slideshow-slide>.rdct-video-frame{display:block;width:100%;height:100%;object-fit:var(--rdct-fit,cover)}
.rdct-slideshow-progress{position:absolute;z-index:2;left:50%;bottom:8px;transform:translateX(-50%);width:min(24%,80px);height:2px;background:#0007;pointer-events:none}
.rdct-slideshow-progress>span{display:block;width:100%;height:100%;background:#fff;transform:scaleX(0);transform-origin:left}

.rdct-fit-line .rdct-richtext :is(p,div,h2,h3,blockquote,ul,ol,li){display:inline;margin:0;white-space:nowrap}
.rdct-fit-line .rdct-richtext br{display:none}

/* Supplied Ramdam SVG artwork. Cursor rules never target the inline video player. */
.rdct-series-stage img[role=button],img[data-rdct-zoom]{cursor:url(cursors/view.svg) 20 20,pointer}
.rdct-series-strip .rdct-series-stage,.rdct-series-strip .rdct-series-stage img{cursor:url(cursors/drag.svg) 20 20,grab!important}
.rdct-series-strip .rdct-series-stage:active,.rdct-series-strip .rdct-series-stage:active img{cursor:url(cursors/click.svg) 15 7,pointer!important}
.rdct-series-strip .rdct-series-stage.rdct-dragging,.rdct-series-strip .rdct-series-stage.rdct-dragging img{cursor:url(cursors/drag.svg) 20 20,grabbing!important}
.rdct-page .rdct-cell>a,.rdct-page .rdct-cell>a *,.rdct-richtext a{cursor:url(cursors/link.svg) 20 20,pointer!important}
.rdct-text-shell .rdct-fold-toggle,#rdct-app .rdct-text-shell .rdct-fold-toggle{box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:0!important;line-height:0!important;text-decoration:none}
.rdct-text-shell .rdct-fold-toggle[aria-expanded=true],#rdct-app .rdct-text-shell .rdct-fold-toggle[aria-expanded=true]{--rdct-fold-icon:url(icons/text-collapse.svg)}
/* Viewer controls only. Native controls inside cells are preserved. */
dialog.rdct-viewer .rdct-viewer-bar{background:#484848;gap:18px;padding:12px 24px;color:#bfbfbf}
.rdct-viewer-actions,.rdct-viewer-slides,.rdct-viewer-timeline,.rdct-viewer-audio{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
.rdct-viewer-timeline{flex:1 1 300px;max-width:650px}
.rdct-viewer-audio{flex:0 1 220px}
.rdct-viewer-actions{flex:none}
dialog.rdct-viewer .rdct-viewer-bar button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:48px;height:48px;min-width:44px;min-height:44px;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;line-height:0!important}
dialog.rdct-viewer .rdct-viewer-bar button:hover{filter:brightness(1.15)}
dialog.rdct-viewer .rdct-viewer-bar button:focus-visible,.rdct-fold-toggle:focus-visible{outline:2px solid #fff;outline-offset:-3px}
dialog.rdct-viewer .rdct-control-icon{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;pointer-events:none;margin:0!important}
dialog.rdct-viewer .rdct-viewer-close{width:48px;height:48px}
dialog.rdct-viewer .rdct-viewer-arrow{width:48px;height:48px;background:transparent!important}
dialog.rdct-viewer .rdct-viewer-time{font:20px Arial,sans-serif;white-space:nowrap;flex:none;font-variant-numeric:tabular-nums}
dialog.rdct-viewer input[type=range]{appearance:none;-webkit-appearance:none;height:32px!important;min-width:0;margin:0!important;padding:0!important;background:transparent!important;cursor:pointer}
dialog.rdct-viewer .rdct-viewer-seek{flex:1 1 200px;max-width:none}
dialog.rdct-viewer .rdct-viewer-volume{flex:1 1 120px;width:120px;max-width:160px}
dialog.rdct-viewer input[type=range]::-webkit-slider-runnable-track{height:10px;border-radius:10px;background:linear-gradient(to right,#fff 0 var(--rdct-range-fill,0%),#ffffff80 var(--rdct-range-fill,0%) 100%)}
dialog.rdct-viewer input[type=range]::-moz-range-track{height:10px;border-radius:10px;background:#ffffff80}
dialog.rdct-viewer input[type=range]::-moz-range-progress{height:10px;border-radius:10px;background:#fff}
dialog.rdct-viewer input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:22px;height:22px;border:0;border-radius:50%;background:#fff;margin-top:-6px;box-shadow:none}
dialog.rdct-viewer input[type=range]::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border:0;border-radius:50%;background:#fff;box-shadow:none}
@media(max-width:700px){
 dialog.rdct-viewer .rdct-viewer-bar{gap:6px 12px;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 dialog.rdct-viewer .rdct-viewer-bar button,dialog.rdct-viewer .rdct-viewer-arrow{width:48px;height:48px}
 dialog.rdct-viewer .rdct-viewer-close{width:48px;height:48px}
 .rdct-viewer-actions{gap:2px;flex-wrap:wrap}
 .rdct-viewer-timeline{order:3;flex:1 0 100%;max-width:none;gap:8px}
 .rdct-viewer-audio{flex:0 1 145px;gap:2px}
 dialog.rdct-viewer .rdct-viewer-time{font-size:14px}
 .rdct-viewer-slides{gap:8px}
}

/* Same actions, quieter pictograms: series opens the viewer; video keeps its native controls. */
.rdct-series-cover .rdct-series-stage img[role=button],.rdct-series-cover .rdct-video-click{cursor:url(cursors/play.svg) 20 20,pointer}
.rdct-video-frame>.rdct-video-click{cursor:url(cursors/view.svg) 20 20,pointer}
.rdct-series-cover .rdct-video-frame>.rdct-video-click{cursor:url(cursors/play.svg) 20 20,pointer}

/* Full-window painted bands: shadows do not enlarge the scrollable layout. */
.rdct-section{position:relative;isolation:isolate;box-sizing:border-box;min-width:0;max-width:100%;margin:0;background:var(--rdct-band,transparent)}
/* Paint across the shared fractional boundary without changing layout or cage geometry. */
.rdct-section::before{content:"";position:absolute;inset:0 0 -1px;z-index:-1;pointer-events:none;background:var(--rdct-band,transparent);box-shadow:0 0 0 100vmax var(--rdct-band,transparent);clip-path:inset(0 -100vmax)}
.rdct-section .rdct-section{--rdct-band:inherit}
/* Keep page-level horizontal gestures out of the viewport; strips retain their own scroll. */
html:has(body.rdct-composition-view),body.rdct-composition-view{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
.rdct-document{min-width:0;max-width:100%;overflow-x:clip}
body.rdct-composition-view #rdn-root{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}

/* A single enlarged still closes on any click; gallery and video controls remain. */
dialog.rdct-viewer.rdct-viewer-still[open]{grid-template-rows:minmax(0,1fr)}
dialog.rdct-viewer.rdct-viewer-still .rdct-viewer-bar{display:none!important}
dialog.rdct-viewer.rdct-viewer-still,dialog.rdct-viewer.rdct-viewer-still *{cursor:url('image-close-cursor.svg') 24 24,pointer!important}

/* True drop capitals. The float is a fallback for engines without initial-letter. */
.rdct-richtext.rdct-dropcap,.rdct-richtext .rdct-dropcap{display:flow-root}
.rdct-richtext.rdct-dropcap::first-letter,.rdct-richtext .rdct-dropcap::first-letter{float:left;font-family:var(--rdct-cap-font,inherit);font-size:var(--rdct-cap-size,4em);font-weight:inherit;line-height:.72;color:var(--rdct-cap-color,inherit);margin:0 var(--rdct-cap-gap,8px) 0 0;letter-spacing:normal}
@supports (initial-letter:2) or (-webkit-initial-letter:2){
 .rdct-richtext.rdct-dropcap::first-letter,.rdct-richtext .rdct-dropcap::first-letter{float:none;font-size:inherit;line-height:normal;-webkit-initial-letter:var(--rdct-cap-lines,3);initial-letter:var(--rdct-cap-lines,3)}
}

/* 0.3.90: centred media over the visible, dimmed page. */
dialog.rdct-viewer{background:transparent!important;box-shadow:none!important;outline:none!important}
dialog.rdct-viewer::backdrop{background:rgba(0,0,0,.84)}
dialog.rdct-viewer[open],dialog.rdct-viewer.rdct-viewer-still[open]{display:flex!important;align-items:center;justify-content:center}
.rdct-viewer-panel{position:relative;flex:none;max-width:calc(100% - 24px);background:transparent}
.rdct-viewer-stage{display:block;background:transparent;overflow:visible}
.rdct-viewer-frame{max-height:none}
dialog.rdct-viewer .rdct-viewer-bar{position:relative;width:100%;padding:3px 8px 7px;gap:4px 8px;background:#242424;color:#999;min-height:50px;overflow:visible}
.rdct-viewer-actions{gap:8px;flex:0 1 auto;flex-wrap:wrap}
dialog.rdct-viewer .rdct-viewer-actions button{width:40px;height:44px;min-width:0;min-height:0;padding:5px!important;border-radius:5px!important}
dialog.rdct-viewer .rdct-viewer-actions .rdct-control-icon{width:25px!important;height:25px!important;max-width:none!important}
dialog.rdct-viewer .rdct-viewer-delay{position:relative;display:block}
dialog.rdct-viewer .rdct-viewer-delay button{font:12px Arial,sans-serif!important;line-height:1!important;color:#bfbfbf!important}
.rdct-viewer-delay-choices{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:8;padding:4px;background:#242424;box-shadow:0 0 0 1px #777}
dialog.rdct-viewer .rdct-viewer-delay-choices button{display:block}
dialog.rdct-viewer .rdct-viewer-slides{flex:1 0 100%;order:5;padding:0 3px}
dialog.rdct-viewer .rdct-viewer-progress{display:block;width:90px;max-width:100%;height:3px;border:0;accent-color:#bbb}
dialog.rdct-viewer .rdct-viewer-count{position:absolute;right:9px;top:20px;min-width:0;font:11px Arial,sans-serif}
dialog.rdct-viewer .rdct-viewer-zone{position:absolute;top:0;bottom:0;transform:none;z-index:2;width:50%;height:100%;min-height:0;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;cursor:pointer}
dialog.rdct-viewer .rdct-viewer-zone-left{left:0}
dialog.rdct-viewer .rdct-viewer-zone-right{right:0}
dialog.rdct-viewer .rdct-viewer-zone:disabled{cursor:default}
@media(max-width:760px){
 .rdct-viewer-actions{gap:2px}
 dialog.rdct-viewer .rdct-viewer-actions button{width:34px;height:44px}
 dialog.rdct-viewer .rdct-viewer-count{position:static;font-size:11px}
 dialog.rdct-viewer .rdct-viewer-timeline{flex:1 0 100%;order:3}
}

.rdct-viewer-bar{container-type:inline-size}
@container(max-width:450px){dialog.rdct-viewer .rdct-viewer-count{display:none}}

/* The dimmed page is the close target; media controls remain independent. */
dialog.rdct-viewer{cursor:url('image-close-cursor.svg') 24 24,pointer}
.rdct-viewer-panel{cursor:default}
dialog.rdct-viewer .rdct-viewer-zone{min-width:0;outline:0!important;appearance:none}

/* 0.3.91: state is shown by artwork tone, without a selected-button box. */
dialog.rdct-viewer button[data-rdct-icon="device-rotate"] .rdct-control-icon{filter:none}
dialog.rdct-viewer button[data-rdct-icon="device-rotate"][aria-pressed=true] .rdct-control-icon,
dialog.rdct-viewer button[data-rdct-icon="gallery-pause"] .rdct-control-icon{filter:brightness(0) invert(.75)}
dialog.rdct-viewer button[data-rdct-icon="device-rotate"]:hover,
dialog.rdct-viewer button[data-rdct-icon="gallery-pause"]:hover{filter:none}

/* Stable gallery hit layer, independent of loading/fading image elements. */
.rdct-viewer-visuals{position:absolute;inset:0;pointer-events:none}
dialog.rdct-viewer .rdct-viewer-zone,dialog.rdct-viewer .rdct-viewer-zone:disabled{cursor:pointer;touch-action:manipulation}

.rdct-section:has(.rdct-information-panel){z-index:6}
.rdct-information-panel{position:absolute;inset:0;z-index:20;overflow:hidden}
.rdct-information-panel .rdct-text-shell{height:100%}
[data-rdct-information-trigger]{cursor:pointer}
.rdct-information-mark{visibility:hidden;display:inline-block;vertical-align:.45em;margin-inline-start:12px;font:400 19px/1 Sora,sans-serif;letter-spacing:normal}
.rdct-information-mark::before{content:"i"}
.rdct-information-mark.rdct-information-before{margin-inline:0 12px}
.rdct-richtext[contenteditable="true"] .rdct-information-mark{display:none}
.rdct-document:not([data-rdct-format="phone-portrait"]) [data-rdct-information-trigger]:is(:hover,:focus-visible) .rdct-information-mark,
.rdct-document[data-rdct-format="phone-landscape"] .rdct-information-mark,
#rdct-app .paper:not([data-device="phone-portrait"]) .tile:hover .rdct-information-mark,
#rdct-app .paper[data-device="phone-landscape"] .rdct-information-mark{visibility:visible}
.rdct-document[data-rdct-format="phone-portrait"] .rdct-information-mark,
#rdct-app .paper[data-device="phone-portrait"] .rdct-information-mark{visibility:visible;font-size:11px;vertical-align:5px}

.rdct-page{container-type:inline-size}
.rdct-information-panel :is(.rdct-text-shell,.rdct-richtext){scrollbar-width:none}
.rdct-information-panel :is(.rdct-text-shell,.rdct-richtext)::-webkit-scrollbar{display:none}
.rdct-series-error{display:grid;place-content:center;justify-items:center;gap:.5rem;width:100%;height:100%;text-align:center}

@media (orientation:landscape) and (max-width:1100px) and (max-height:600px){
 body.rdct-composition-view:not([data-rdct-device]) :is(.rdct-navigation,.rdct-menu-space){display:none!important}
}


/* The two phone layouts share controls, with positions taken from each mockup. */
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-panel{max-width:100%}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-bar{
 --rdct-first:24%;--rdct-delay:67%;--rdct-last:75%;--rdct-loop:88%;--rdct-count:10%;
 --rdct-gallery-icon:clamp(20px,5.8vw,32px);
 height:68px;min-height:0;padding:0;gap:0;display:block;
 background:transparent;color:white;container-type:normal;pointer-events:none
}
dialog.rdct-viewer[data-gallery-orientation="landscape"]::backdrop{background:#000}
dialog.rdct-viewer[data-gallery-orientation="landscape"] .rdct-viewer-bar{
 --rdct-first:36%;--rdct-delay:60%;--rdct-last:64%;--rdct-loop:72%;--rdct-count:78%;
 --rdct-gallery-icon:clamp(20px,5.8dvh,32px);
 position:absolute;z-index:3;bottom:0;left:50%;transform:translateX(-50%);
 width:max(100%,min(100vw,360px))
}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions{display:contents}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-bar :is(button,.rdct-viewer-delay,.rdct-viewer-count,.rdct-viewer-slides){position:absolute}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions > button,
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) :is(.rdct-viewer-delay,.rdct-viewer-count,.rdct-viewer-slides){
 bottom:0;left:var(--rdct-control-x,50%);transform:translateX(-50%)
}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions > button{
 width:44px;height:44px;pointer-events:auto
}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions .rdct-control-icon{
 width:var(--rdct-gallery-icon)!important;height:var(--rdct-gallery-icon)!important;filter:brightness(0) invert(1)
}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions button:is([data-rdct-icon="gallery-prev"],[data-rdct-icon="gallery-next"],[data-rdct-icon="gallery-expand"]){display:none}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="gallery-first"]{--rdct-control-x:var(--rdct-first);opacity:.3}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="gallery-last"]{--rdct-control-x:var(--rdct-last);opacity:.3}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="device-rotate"]{--rdct-control-x:var(--rdct-loop)}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="device-rotate"][aria-pressed="false"]{opacity:.3}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button:is([data-rdct-icon="gallery-play"],[data-rdct-icon="gallery-pause"]){bottom:23px}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-delay{--rdct-control-x:var(--rdct-delay);width:44px;height:44px;pointer-events:auto}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-delay button{position:static;color:white!important}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-count{--rdct-control-x:var(--rdct-count);display:block;right:auto;top:auto;bottom:15px;opacity:.3;white-space:nowrap}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-slides{bottom:20px;width:min(22%,105px);padding:0}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-progress{width:100%;background:#ffffff4d;accent-color:white}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-progress::-webkit-progress-bar{background:#ffffff4d}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-progress::-webkit-progress-value{background:white}
dialog.rdct-viewer[data-gallery-orientation="landscape"] .rdct-viewer-slides{width:clamp(52px,12.6%,105px)}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-actions > button[data-rdct-icon="gallery-last"],
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-delay,
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) .rdct-viewer-delay > button{width:30px;min-width:0}

dialog.rdct-viewer .rdct-viewer-bar button:is(button,:hover,:active,[aria-pressed="true"]),
dialog.rdct-viewer button.rdct-viewer-close{
 background:transparent!important;border:0!important;box-shadow:none!important;
 -webkit-tap-highlight-color:transparent
}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="gallery-pause"] .rdct-control-icon{opacity:.3}
dialog.rdct-viewer[data-gallery-orientation]:not([data-gallery-orientation=""]) button[data-rdct-icon="gallery-play"] .rdct-control-icon{opacity:1}

dialog.rdct-viewer button.rdct-viewer-close{padding:0!important}
dialog.rdct-viewer button.rdct-viewer-close .rdct-control-icon{
 filter:invert(1) drop-shadow(0 0 2px #000)
}

dialog.rdct-viewer[data-phone-video] .rdct-viewer-panel{max-width:100%}
dialog.rdct-viewer[data-phone-video] .rdct-viewer-bar{background:transparent}
dialog.rdct-viewer[data-phone-video] .rdct-viewer-bar button[data-rdct-icon="gallery-expand"]{display:none}

dialog.rdct-viewer[data-video-overlay]::backdrop{background:#000}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-bar{
 position:absolute;z-index:3;bottom:max(4px,env(safe-area-inset-bottom));left:50%;
 transform:translateX(-50%);width:min(100%,520px);min-height:0;
 display:flex;flex-flow:row nowrap;gap:4px;padding:0 6px;
 pointer-events:none
}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-bar :is(button,input){pointer-events:auto}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-actions{flex:none;flex-wrap:nowrap;gap:0}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-actions button{width:30px;height:44px;padding:3px!important}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-timeline{order:0;flex:1 1 160px;gap:5px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-time{font-size:12px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-seek{min-width:24px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio{flex:0 1 86px;gap:2px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio button{width:32px;min-width:32px;height:44px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-volume{width:40px}
dialog.rdct-viewer[data-video-overlay][data-controls-hidden] .rdct-viewer-bar{visibility:hidden}

/* The shared grid stays above adjacent projects, with only the panel area cut out. */
.rdct-page svg.rdct-cage.rdct-cage-information{z-index:7}

dialog.rdct-viewer[data-video-overlay] .rdct-viewer-bar{
 bottom:max(6%,env(safe-area-inset-bottom));
 width:min(100%,520px);justify-content:center;gap:0
}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-actions{display:contents}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-actions > button{width:40px;min-width:0;height:44px;padding:3px!important}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-actions > button .rdct-control-icon{
 width:clamp(18px,7dvh,30px)!important;height:clamp(18px,7dvh,30px)!important
}
dialog.rdct-viewer[data-video-overlay] button[data-rdct-icon="gallery-first"]{order:0;margin-right:5px!important}
dialog.rdct-viewer[data-video-overlay] button:is([data-rdct-icon="gallery-play"],[data-rdct-icon="gallery-pause"]){order:1}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-timeline{order:2;flex:0 1 min(24cqw,150px);margin:0 10px;min-width:28px}
dialog.rdct-viewer[data-video-overlay] button[data-rdct-icon="device-rotate"]{order:3}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio{order:4;flex:none}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio button{width:40px;height:44px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio .rdct-control-icon{width:clamp(20px,8dvh,34px)!important;height:clamp(20px,8dvh,34px)!important}
dialog.rdct-viewer[data-video-overlay] :is(.rdct-viewer-time,.rdct-viewer-volume,.rdct-viewer-count),
dialog.rdct-viewer[data-video-overlay]:not([data-audio-present]) .rdct-viewer-audio{display:none}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-panel{container-type:inline-size}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-bar{container-type:normal}

.rdct-text-shell.rdct-fold-icon-only:not(.rdct-fold-open){gap:0}
.rdct-fold-position{display:flex;flex:1 0 auto;flex-direction:column}
.rdct-fold-position[data-vertical="center"]{justify-content:center}
.rdct-fold-position[data-vertical="bottom"]{justify-content:flex-end}

.rdct-fold-title-row{display:flex;flex:none;align-items:center;gap:6px;min-width:0;cursor:pointer}
.rdct-fold-title-row[data-align="center"]{justify-content:center}
.rdct-fold-title-row[data-align="right"]{justify-content:flex-end}
.rdct-fold-title-row>span{min-width:0;overflow-wrap:anywhere}
.rdct-fold-title-row>.rdct-fold-toggle{align-self:center!important}

.rdct-text-shell .rdct-fold-toggle::before{
 content:"";display:block;width:40px;height:40px;margin:auto;
 background:var(--rdct-fold-ink,#000);
 -webkit-mask:var(--rdct-fold-icon,url(icons/text-expand.svg)) center/contain no-repeat;
 mask:var(--rdct-fold-icon,url(icons/text-expand.svg)) center/contain no-repeat
}

.rdct-slideshow-timer{
 position:absolute;inset-inline:0;bottom:4px;margin-inline:auto;
 display:flex;align-items:center;gap:6px;width:min(58%,124px);pointer-events:none
}
.rdct-slideshow-timer[hidden]{display:none!important}
.rdct-slideshow-timer .rdct-slideshow-progress{
 position:static;transform:none;flex:1;width:auto;background:#ffffff59
}
.rdct-slideshow-timer button.rdct-slideshow-delay,
#rdct-app .rdct-slideshow-timer button.rdct-slideshow-delay{
 position:relative;z-index:2;flex:none;padding:4px 2px;min-height:32px;
 border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;
 color:#fff!important;mix-blend-mode:difference;text-shadow:none;
 font:12px Arial,sans-serif;cursor:pointer;pointer-events:auto
}
dialog.rdct-viewer .rdct-viewer-panel>.rdct-viewer-close{
 right:0;top:max(0px,env(safe-area-inset-top))
}
dialog.rdct-viewer .rdct-viewer-panel>.rdct-viewer-close.rdct-close-above{top:auto;bottom:100%}

dialog.rdct-viewer .rdct-viewer-zone-left{cursor:url(cursors/previous.svg) 20 20,pointer}
dialog.rdct-viewer .rdct-viewer-zone-right{cursor:url(cursors/next.svg) 20 20,pointer}

dialog.rdct-viewer .rdct-viewer-zone{width:calc(100% / 3)}
dialog.rdct-viewer .rdct-viewer-zone-center{left:calc(100% / 3);cursor:url(cursors/play.svg) 20 20,pointer}
dialog.rdct-viewer .rdct-viewer-zone-center[data-playing]{cursor:url(cursors/pause.svg) 20 20,pointer}

.rdct-page .rdct-cell::after,
#rdct-app .tile[data-cell]::after{
 content:"";
 position:absolute;
 inset:0;
 box-sizing:border-box;
 border:var(--rdct-cell-frame,0 solid transparent);
 pointer-events:none;
 z-index:5;
}

.rdct-video-frame>.rdct-video-click>.rdct-control-icon{display:none}
.rdct-video-frame[data-rdct-manual-play]>.rdct-video-click,
.rdct-video-frame[data-rdct-manual-play][data-rdct-no-expand]>.rdct-video-click{
 display:grid!important;
 place-items:center;
 cursor:pointer;
}
.rdct-video-frame[data-rdct-manual-play]:not([data-rdct-manual-playing])>.rdct-video-click>.rdct-control-icon{
 display:block;
 width:42px;
 height:42px;
 object-fit:contain;
}

dialog.rdct-external-confirm{width:min(420px,calc(100% - 32px));box-sizing:border-box;padding:22px;border:0;border-radius:8px;background:rgba(0,0,0,.8);color:white}
dialog.rdct-external-confirm::backdrop{background:rgba(0,0,0,.2)}
dialog.rdct-external-confirm h2{font:inherit;font-size:18px;color:inherit;margin:0;overflow-wrap:anywhere}
dialog.rdct-external-confirm p{margin:8px 0 16px}
dialog.rdct-external-confirm form{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0}
dialog.rdct-external-confirm form :is(button,a){display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;border:1px solid white;border-radius:5px;font:inherit;text-decoration:none}
dialog.rdct-external-confirm form button{background:transparent;color:white}
dialog.rdct-external-confirm form a{background:white;color:black}

dialog.rdct-viewer[data-rdct-rotated] .rdct-viewer-panel{max-width:none!important;transform:rotate(-90deg)}
dialog.rdct-viewer button[data-rdct-icon="device-rotate"]{background:transparent!important;border:0!important}
dialog.rdct-viewer[data-rdct-rotated][data-controls-hidden] .rdct-viewer-bar{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
dialog.rdct-viewer-still .rdct-viewer-panel>button[data-rdct-icon="device-rotate"]{position:absolute;bottom:8px;right:8px;z-index:6;width:44px;height:44px}

/* Section bands and illustrations share the page's stacking context. */
:is(.rdct-page,#rdct-app .page-content).rdct-illustrated { position: relative; isolation: isolate; }
.rdct-illustrated .rdct-section,
.rdct-illustrated .rdct-section:has(.rdct-information-panel) { isolation: auto; z-index: auto; background: transparent; }
.rdct-illustrated .rdct-section::before { z-index: -2; }
.rdct-illustration-layer { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.rdct-illustration-layer > img { position: absolute; display: block; height: auto; max-width: none; margin: 0; }

/* The cell keeps its grid height while the open text paints beyond it. */
.rdct-text-shell.rdct-fold-overlay { gap: 12px; }
.rdct-fold-overlay > .rdct-richtext { flex: none; }
.rdct-fold-overlay > .rdct-fold-fixed-command { flex: none; }
.rdct-text-shell.rdct-fold-overlay.rdct-fold-open { overflow: visible; }
.rdct-page [data-rdct-text]:has(> .rdct-fold-overlay.rdct-fold-open) { overflow: visible; }
.rdct-page .rdct-cell:has(.rdct-fold-overlay.rdct-fold-open) { overflow: visible; z-index: 9; }
.rdct-page:not(.rdct-illustrated) .rdct-section:has(.rdct-fold-overlay.rdct-fold-open) { z-index: 5; }

/* Compact sound controls in video viewers. */
dialog.rdct-viewer .rdct-viewer-audio{flex:0 0 auto;gap:6px}
dialog.rdct-viewer .rdct-viewer-audio .rdct-control-icon{width:20px!important;height:20px!important}
dialog.rdct-viewer .rdct-viewer-volume{flex:0 0 80px;width:80px;max-width:80px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio{gap:2px}
dialog.rdct-viewer[data-video-overlay] .rdct-viewer-audio .rdct-control-icon{width:18px!important;height:18px!important}

/* Keep an open fold clickable above following sections despite entry transforms. */
.rdct-page .rdct-group:has(.rdct-fold-overlay.rdct-fold-open) { z-index: 9; }
