/* The picker affects fixed-width text. Logo headings keep Russo One. */
.site-appearance-bar { display: flex; justify-content: flex-end; padding: 8px 18px; border-bottom: 1px solid var(--line); }
html { color-scheme: dark; }
html[data-site-font] body, html[data-site-font] body * { font-family: var(--site-small-font) !important; }
html[data-site-font] body :is(h1,h2,h3,h4,h5,h6,[role=heading],.panel__label,.help-menu__head),
html[data-site-font] body :is(h1,h2,h3,h4,h5,h6,[role=heading],.panel__label,.help-menu__head) * { font-family: 'Automajik Display', sans-serif !important; }
body .site-appearance { position: relative; margin: 0; padding: 0; border: 0; z-index: 20; }
body .site-appearance > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; width: 90px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-2); color: var(--text); cursor: pointer; list-style: none; font-size: 12px; }
body .site-appearance > summary::-webkit-details-marker { display: none; }
body .site-appearance > summary:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; }
body .site-appearance__panel { display: grid; gap: 16px; position: absolute; right: 0; top: 50px; width: min(310px,calc(100vw - 24px)); max-height: 65vh; overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 16px 40px #0009; }
body .site-appearance__panel label { display: grid; gap: 8px; color: var(--text); font-size: 12px; margin: 0; }
body .site-appearance__panel select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; font-size: 12px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }
body .site-appearance__panel p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; }

@media (max-width: 600px) { .site-appearance-bar { padding: 8px 12px; } }
