/* Shared accessible control for hosted pages and the portable studio. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--lc-line,var(--line,var(--line)));border-radius:50%;background:var(--lc-paper-raised,var(--raised));color:var(--lc-ink,var(--ink,var(--ink)));line-height:1;cursor:pointer}
.theme-toggle svg{display:block;width:22px;height:22px;flex:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;pointer-events:none}
.theme-toggle svg,.theme-toggle svg *{stroke:var(--lc-ink,var(--ink,var(--ink)))}
.theme-toggle:hover{background:var(--lc-soft,var(--soft,var(--accent-soft)));border-color:var(--lc-violet,var(--accent,var(--line-strong)))}
.theme-toggle:focus-visible{outline:3px solid var(--lc-focus,var(--accent,var(--line-strong)));outline-offset:3px}
.theme-toggle .theme-moon{display:none}:root[data-theme="dark"] .theme-toggle .theme-moon{display:block}:root[data-theme="dark"] .theme-toggle .theme-sun{display:none}
/* Every existing theme control uses the same System / Light / Dark icon cycle. */
.theme-toggle .theme-system{display:none}
:root[data-theme-choice=system] .theme-toggle :is(.theme-sun,.theme-moon){display:none}
:root[data-theme-choice=system] .theme-toggle .theme-system{display:block}
