.foundry-dark-mode-toggle--floating{position:fixed;bottom:1.5rem;right:1.5rem;z-index:40}.foundry-dark-mode-toggle{display:inline-flex;align-items:center}.foundry-dark-mode-toggle button{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--foundry-radius-sm,.5rem);border:1px solid var(--foundry-border,#e2e8f0);background:var(--foundry-surface,#ffffff);color:var(--foundry-text,#0f172a);cursor:pointer;box-shadow:var(--foundry-shadow-sm,0 1px 3px rgba(0,0,0,.1));transition:background 150ms ease,border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease;padding:0}.foundry-dark-mode-toggle button:hover{background:var(--foundry-surface-soft,#f8fafc);border-color:var(--foundry-border-strong,#cbd5e1);box-shadow:var(--foundry-shadow-md,0 4px 12px rgba(0,0,0,.1));transform:translateY(-1px)}.foundry-dark-mode-toggle button:focus-visible{outline:2px solid var(--foundry-brand-accent,#3b82f6);outline-offset:2px}.foundry-dark-mode-toggle__glyph{position:relative;display:inline-grid;width:1.125rem;height:1.125rem;place-items:center}.foundry-dark-mode-toggle__icon{display:none;align-items:center;justify-content:center}.foundry-dark-mode-toggle__glyph svg{width:1.125rem;height:1.125rem;flex-shrink:0;transition:opacity 120ms ease}[data-foundry-theme-toggle][data-mode=light] .foundry-dark-mode-toggle__icon[data-icon=light]{display:inline-flex}[data-foundry-theme-toggle][data-mode=dark] .foundry-dark-mode-toggle__icon[data-icon=dark]{display:inline-flex}[data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__icon[data-icon=light]{display:inline-flex}:root.dark [data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__icon[data-icon=light],:root[data-theme=dark] [data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__icon[data-icon=light]{display:none}:root.dark [data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__icon[data-icon=dark],:root[data-theme=dark] [data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__icon[data-icon=dark]{display:inline-flex}.foundry-dark-mode-toggle__badge{display:none;position:absolute;right:-.24rem;bottom:-.18rem;align-items:center;justify-content:center;width:.72rem;height:.72rem;border:1px solid color-mix(in srgb,var(--foundry-border-strong,#cbd5e1) 88%,transparent);border-radius:9999px;background:color-mix(in srgb,var(--foundry-surface,#ffffff) 96%,transparent);color:inherit;box-shadow:0 1px 2px rgba(0,0,0,8%)}[data-foundry-theme-toggle][data-mode=system] .foundry-dark-mode-toggle__badge{display:inline-flex}.foundry-dark-mode-toggle__badge svg{width:.44rem;height:.44rem}.foundry-dark-mode-toggle__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[data-foundry-theme-toggle][data-mode=dark] button,[data-foundry-theme-toggle][data-mode=light] button{border-color:var(--foundry-brand-accent,#3b82f6)}.foundry-theme-mode-picker{display:grid;gap:.45rem}.foundry-theme-mode-picker__option{display:flex;align-items:center;gap:.75rem;width:100%;min-height:2.75rem;padding:.72rem .85rem;border-radius:.9rem;border:1px solid var(--foundry-border,#e2e8f0);background:color-mix(in srgb,var(--foundry-surface-soft,#f8fafc) 70%,transparent);color:var(--foundry-text,#0f172a);cursor:pointer;transition:background 150ms ease,border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease}.foundry-theme-mode-picker__option:hover{border-color:var(--foundry-border-strong,#cbd5e1);transform:translateY(-1px)}.foundry-theme-mode-picker__option:focus-visible{outline:2px solid var(--foundry-brand-accent,#3b82f6);outline-offset:2px}.foundry-theme-mode-picker__option[aria-checked=true]{border-color:color-mix(in srgb,var(--foundry-brand-accent,#3b82f6) 46%,var(--foundry-border-strong,#cbd5e1));background:color-mix(in srgb,var(--foundry-brand-accent,#3b82f6) 10%,var(--foundry-surface,#ffffff));box-shadow:var(--foundry-shadow-sm,0 1px 3px rgba(0,0,0,.1))}.foundry-theme-mode-picker__icon{display:inline-flex;align-items:center;justify-content:center;flex:none}.foundry-theme-mode-picker__icon svg{width:1rem;height:1rem}.foundry-theme-mode-picker__icon--system{position:relative;display:inline-grid;width:1rem;height:1rem;place-items:center}.foundry-theme-mode-picker__resolved-icon{display:none;align-items:center;justify-content:center}.foundry-theme-mode-picker__option[data-theme-mode-option=system] .foundry-theme-mode-picker__resolved-icon[data-icon=light]{display:inline-flex}:root.dark .foundry-theme-mode-picker__option[data-theme-mode-option=system] .foundry-theme-mode-picker__resolved-icon[data-icon=light],:root[data-theme=dark] .foundry-theme-mode-picker__option[data-theme-mode-option=system] .foundry-theme-mode-picker__resolved-icon[data-icon=light]{display:none}:root.dark .foundry-theme-mode-picker__option[data-theme-mode-option=system] .foundry-theme-mode-picker__resolved-icon[data-icon=dark],:root[data-theme=dark] .foundry-theme-mode-picker__option[data-theme-mode-option=system] .foundry-theme-mode-picker__resolved-icon[data-icon=dark]{display:inline-flex}.foundry-theme-mode-picker__auto-badge{position:absolute;right:-.22rem;bottom:-.16rem;display:inline-flex;align-items:center;justify-content:center;width:.72rem;height:.72rem;border:1px solid color-mix(in srgb,var(--foundry-border-strong,#cbd5e1) 88%,transparent);border-radius:9999px;background:color-mix(in srgb,var(--foundry-surface,#ffffff) 96%,transparent);box-shadow:0 1px 2px rgba(0,0,0,8%)}.foundry-theme-mode-picker__auto-badge svg{width:.44rem;height:.44rem}.foundry-theme-mode-picker__text{display:grid;flex:auto;gap:.12rem;text-align:left}.foundry-theme-mode-picker__label{flex:auto;text-align:left;font-weight:600;color:inherit}.foundry-theme-mode-picker__description{font-size:.78rem;line-height:1.35;color:color-mix(in srgb,currentColor 64%,transparent)}.foundry-theme-mode-picker__option[aria-checked=true] .foundry-theme-mode-picker__description{color:color-mix(in srgb,currentColor 78%,transparent)}.foundry-theme-mode-picker__option[aria-checked=true] .foundry-theme-mode-picker__icon,.foundry-theme-mode-picker__option[aria-checked=true] .foundry-theme-mode-picker__check{color:currentColor}.foundry-theme-mode-picker__check{display:inline-flex;align-items:center;justify-content:center;opacity:0;color:var(--foundry-brand-accent,#3b82f6);transition:opacity 120ms ease}.foundry-theme-mode-picker__check svg{width:1rem;height:1rem}.foundry-theme-mode-picker__option[aria-checked=true] .foundry-theme-mode-picker__check{opacity:1}