/* Isolation of standalone documents only. Source CSS files remain byte-identical. */
html:has(body.reference-extended),body.reference-extended{min-height:0;height:auto;scroll-behavior:auto}
body.reference-extended{margin:0;padding:0}
body.reference-extended .page-frame{border:0}
body.reference-extended .reference-scene-stage{max-width:480px;margin:0 auto;padding:24px}
body.reference-extended .reference-single-scene{grid-template-columns:minmax(0,1fr)}
body.reference-extended #main{border:0}
body.reference-extended .reference-chart-stage{grid-template-columns:minmax(0,1fr);max-width:420px;margin:0 auto;padding:24px}
body.reference-extended .reference-chart-stage .lpup__panel{margin:0}
body.reference-extended #metoda:not(:has(.reference-single-scene)){padding-block:48px}
.reference-demo-note{max-width:780px;margin:16px auto 24px;padding:0 24px;font:400 13px/20px General,Arial,sans-serif;color:#666}
/* Daniel: #FE4A23 and square boxes. Preserve circles and original SVG illustration geometry. */
body.reference-extended{--orange:#FE4A23;--color-live:#FE4A23;--color-youtube:#FE4A23;--radius-sm:0px;--radius-card:0px;--radius-pill:0px}
body.reference-extended :is(.fc-select,.fc-scope-panel,.sb-card,.sb-art,.sc-areas,.sc-area,.lp-results-grid article,.lp-before-after>div,.lp-ratio i,.lp-method-flow,.lp-method-flow>li,.lp-problem-art,.lp-problem-art>svg,.lpup__card,.lpup__panel,.lpup__ads,.lpup__bar){border-radius:0!important}
body.reference-extended #zakres.fc-scope-ready .fc-select[aria-expanded=true]{border-left-color:#FE4A23}
body.reference-extended #zakres.fc-scope-ready .fc-select:focus-visible{outline-color:#FE4A23}
body.reference-extended #zakres.fc-scope-ready .fc-select-chevron{color:#FE4A23}
