/* Colour theme switch (system, light, dark). Shows the icon for the current setting. */
.appearance-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-left:8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--white);color:var(--dark);cursor:pointer;flex:0 0 auto}
.appearance-toggle:hover{border-color:var(--primary);color:var(--primary)}
.appearance-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.appearance-toggle .ap-ic{display:none}
html[data-theme="system"] .appearance-toggle .ap-system,
html[data-theme="light"] .appearance-toggle .ap-light,
html[data-theme="dark"] .appearance-toggle .ap-dark{display:inline-flex}
