/* Shared component geometry comes from the read-only Contour reference. */
/* VoidInteract keeps its approved blue/neutral theme variables and saved theme choice. */

#sidebar .nav-disclosure svg,.player-controls svg,.video-close svg{stroke-linecap:round;stroke-linejoin:round}
#sidebar .nav-disclosure:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.chapter-transcript{margin:14px 0 28px}
.chapter-transcript summary{display:flex;align-items:center;gap:9px;min-height:38px;width:fit-content;max-width:100%;padding:6px 9px;border-radius:7px;list-style:none;color:var(--muted);font-size:14px;line-height:1.5;cursor:pointer;user-select:none;transition:background-color .15s,color .15s}
.chapter-transcript summary::-webkit-details-marker{display:none}.chapter-transcript summary::marker{content:''}
.chapter-transcript summary:hover{background:var(--surface);color:var(--text)}
.chapter-transcript summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.chapter-transcript summary svg{width:14px;height:14px;flex:0 0 14px;transition:transform .18s ease}
.chapter-transcript[open]>summary svg{transform:rotate(90deg)}
html[dir=rtl] .chapter-transcript:not([open])>summary svg{transform:rotate(180deg)}
.transcript-body{padding:2px 9px 0 32px;max-width:72ch}
html[dir=rtl] .transcript-body{padding:2px 32px 0 9px}
.chapter-transcript[open] .transcript-body{animation:transcript-reveal .18s ease}
@keyframes transcript-reveal{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}
.player-controls .player-audio{width:34px;min-width:34px;height:34px;padding:0}
.player-seek{background:linear-gradient(to right,var(--green) 0%,var(--green) var(--played,0%),var(--line) var(--played,0%),var(--line) 100%)}
@media(max-width:800px){#sidebar .nav-disclosure{flex-basis:44px;width:44px;height:44px}}
@media(max-width:600px){.chapter-transcript summary{min-height:44px}.player-controls .player-audio{width:40px;min-width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.chapter-transcript summary,.chapter-transcript summary svg{transition:none}.chapter-transcript[open] .transcript-body{animation:none}}

/* Preserve the full 16:9 tutorial frame; Contour's original silent clips use a wider ratio. */
.narrated-clip .voidinteract-player>video{display:block;aspect-ratio:16/9}


/* Match the reference scrollbar geometry while keeping VoidInteract colors. */
*,html,#sidebar{scrollbar-width:thin}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-thumb{border:2px solid var(--bg);background-clip:padding-box}
*::-webkit-scrollbar-button{display:none;width:0;height:0}


/* Authored asset galleries use the existing Contour-derived image viewer. */
.tool-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.tool-image-gallery figure,.tool-image-gallery figure.portrait-media{margin:0;min-width:0;max-width:100%;width:100%}.tool-image-gallery .image-expand{width:100%}.tool-image-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--surface)}.tool-image-gallery figcaption{line-height:1.55;margin-top:9px}.tool-image-gallery+*{margin-top:24px}@media(max-width:600px){.tool-image-gallery{grid-template-columns:1fr;gap:22px}}

/* Entry points use the same quiet card hierarchy as Contour. */
.workflow-icon{display:grid;place-items:center;width:36px;height:36px;margin-block-end:14px;border-radius:8px;background:var(--soft);color:var(--green)}
.workflow-icon svg{width:21px;height:21px}.guide-card h3{margin:0}.guide-card .card-link{display:block;font-size:13px;color:var(--green)}
.release-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin:22px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.release-note strong{font-size:12px;padding:2px 7px;border:1px solid var(--line);border-radius:5px;color:var(--text)}
.header-status{white-space:nowrap;font-size:13px;color:var(--muted)}
@media(max-width:1000px){.header-status{display:none}}
@media(max-width:480px){.workflow-icon{margin-block-end:10px}}

.workflow-icon{width:56px;height:56px;border-radius:12px}.workflow-icon svg{width:34px;height:34px}
