/* Appearance symbol and menu; shared by administration and guest pages. */
.appearance-switch{position:relative;display:flex;justify-content:flex-end;line-height:1;margin:0;font-size:12px;z-index:30}
.appearance-switch .appearance-trigger{display:grid;place-items:center;justify-content:center;align-content:center;width:38px;min-width:38px;height:38px;padding:0;margin:0;border:1px solid var(--theme-line);border-radius:11px;background:var(--theme-surface);color:var(--theme-muted);cursor:pointer;box-shadow:0 2px 8px #00164004;transition:background .18s,border-color .18s,color .18s}
.appearance-switch .appearance-trigger:hover,.appearance-switch .appearance-trigger[aria-expanded=true]{background:var(--theme-selected);border-color:color-mix(in srgb,var(--theme-accent) 25%,var(--theme-line));color:var(--theme-accent)}
.appearance-icon{display:block;flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.appearance-menu{position:absolute;right:0;top:calc(100% + 10px);display:flex;flex-direction:column;gap:3px;width:235px;padding:6px;border:1px solid var(--theme-line);border-radius:15px;background:var(--theme-surface);box-shadow:0 14px 45px #00133025;z-index:50;animation:experience-menu .16s ease-out;transform-origin:top right}
.appearance-menu[hidden]{display:none}
.appearance-switch .appearance-option{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;padding:10px 12px;margin:0;border:0;border-radius:10px;background:transparent;color:var(--theme-muted);font:inherit;text-align:left;cursor:pointer}
.appearance-switch .appearance-option:hover,.appearance-switch .appearance-option:focus-visible{background:var(--theme-soft);outline:2px solid var(--theme-focus);outline-offset:-2px}
.appearance-switch .appearance-option[aria-checked=true]{background:var(--theme-selected);color:var(--theme-accent)}
.appearance-option-text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.appearance-option-text strong{font-size:12px;font-weight:600;color:var(--theme-ink)}.appearance-option-text small{font-size:10px;font-weight:400;line-height:1.4;color:var(--theme-muted)}
.appearance-check{visibility:hidden;font-size:14px;color:var(--theme-accent)}[aria-checked=true]>.appearance-check{visibility:visible}
.appearance-switch.theme-floating{position:fixed;top:20px;right:22px;padding:0;border:0;background:transparent;z-index:30}
.appearance-switch.theme-portal{margin:0 0 21px;align-self:flex-end}.portal-brand>.appearance-switch.theme-portal{margin:0 0 0 auto;align-self:center;flex-shrink:0}.portal-brand>strong{flex:1;min-width:0;overflow-wrap:anywhere}
@keyframes experience-menu{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}
@media screen and (max-width:700px){.appearance-switch .appearance-trigger{width:36px;min-width:36px;height:36px;border-radius:10px}.appearance-switch.theme-floating{top:14px;right:15px}.appearance-menu{width:224px}}
@media(prefers-reduced-motion:reduce){.appearance-menu{animation:none!important;transition:none!important}}
@media print{.appearance-switch{display:none!important}}
