/* Decoration is painted behind the workspace, never over its text or controls.
   Background images add no hit targets, focus stops, or layout/scrolling space. */
html[data-studio-theme]{--studio-season-branch:none;--studio-season-corner:none}
html[data-studio-theme="spring"]{--studio-season-branch:url('/assets/seasons/spring-branch.svg');--studio-season-corner:url('/assets/seasons/spring-corner.svg')}
html[data-studio-theme="summer"]{--studio-season-branch:url('/assets/seasons/summer-branch.svg');--studio-season-corner:url('/assets/seasons/summer-corner.svg')}
html[data-studio-theme="fall"]{--studio-season-branch:url('/assets/seasons/fall-branch.svg');--studio-season-corner:url('/assets/seasons/fall-corner.svg')}
html[data-studio-theme="winter"]{--studio-season-branch:url('/assets/seasons/winter-branch.svg');--studio-season-corner:url('/assets/seasons/winter-corner.svg')}
@media screen{
  html[data-studio-theme] body:not(.calm-mode) .lesson-area{
    background-image:var(--studio-season-branch),var(--studio-season-corner);
    background-position:right top,left bottom;
    background-size:clamp(112px,16vw,220px) auto,clamp(104px,14vw,184px) auto;
    background-repeat:no-repeat;
  }
  /* Reading and action surfaces stay opaque, with the ornaments behind them. */
  html[data-studio-theme] body:not(.calm-mode) .lesson-toolbar{background-color:var(--studio-soft)}
  /* Keep the small editor gutter and narrow screens clear. */
  html[data-studio-theme] body.slide-editor-active:not(.calm-mode) .lesson-area{background-size:96px auto,80px auto}
  @media(max-width:600px){html[data-studio-theme] body:not(.calm-mode) .lesson-area{background-size:96px auto,80px auto}}
}
@media screen and (forced-colors:active){html[data-studio-theme] body .lesson-area{background-image:none!important}}
@media print{html[data-studio-theme] body .lesson-area{background-image:none!important}}
