/* Host chrome demo — v3 open skin (schemaVersion 3). Every selector uses :root, [data-ws-page] or [data-ws-part]. Host-only selectors are compiled into :root[data-ws-host-skin="…"]. */ :root { --skin-accent: #1d4f9c; --skin-panel: #ffffff; --skin-border: #c9c9c9; --skin-text: #141414; /* Host-owned protected controls: one global set, per-part overrides below. */ --skin-host-accent: #1d4f9c; --skin-host-background: #ffffff; --skin-host-foreground: #141414; --skin-host-border: #9db6b2; --skin-host-radius: 10px; --skin-host-font: Tahoma, "Segoe UI", sans-serif; --skin-host-size: medium; --skin-recovery-accent: #1d4f9c; --skin-recovery-background: #ffffff; --skin-recovery-foreground: #141414; --skin-recovery-border: #9db6b2; --skin-recovery-radius: 999px; --skin-load-recovery-accent: #b45309; --skin-load-recovery-background: #fff7ed; --skin-load-recovery-foreground: #7c2d12; --skin-permission-accent: #1d4f9c; --skin-permission-background: #ffffff; --skin-permission-foreground: #141414; } [data-ws-page] { color-scheme: light; font-family: Tahoma, "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 12px; color: #141414; } [data-ws-part="home.header"] , [data-ws-part="voice.header"] { background: linear-gradient(180deg, #fbfbfb, #e9e9e9); border-bottom: 1px solid var(--skin-border); } [data-ws-part="voice.audio-dock"] { border-top: 1px solid var(--skin-border); background: #f7f9fb; /* Fold the trusted recovery capsule into the audio dock (chrome.json#slots). */ --skin-recovery-accent: #1d4f9c; --skin-recovery-background: #ffffff; --skin-recovery-foreground: #141414; --skin-recovery-radius: 999px; --skin-recovery-font: Tahoma, "Segoe UI", sans-serif; --skin-recovery-size: small; } /* --- Protected app-DOM controls: purely visual theming is allowed --- */ [data-ws-part="voice.audio-dock.microphone"] button, [data-ws-part="voice.audio-dock.output"] button, [data-ws-part="voice.connection-status.reconnect"], [data-ws-part="home.footer.clear"] { color: #141414; background: linear-gradient(180deg, #ffffff, #eef3fa); border: 1px solid var(--skin-accent); border-radius: 8px; font-family: Tahoma, "Segoe UI", sans-serif; font-size: 12px; padding: 8px 12px; min-height: 44px; box-shadow: 0 2px 6px #1d4f9c22; } [data-ws-part="voice.audio-dock.microphone"] button:hover, [data-ws-part="voice.audio-dock.output"] button:hover, [data-ws-part="voice.connection-status.reconnect"]:hover, [data-ws-part="home.footer.clear"]:hover { background: #e7eefb; } [data-ws-part="auth.password.dialog"], [data-ws-part="voice.audio-settings"] { background: #ffffff; border: 2px solid var(--skin-accent); border-radius: 18px; box-shadow: 0 18px 48px #1d4f9c33; } [data-ws-part="auth.password.dialog"] h2, [data-ws-part="voice.audio-settings"] h2 { color: var(--skin-accent); letter-spacing: .01em; } /* --- Host chrome (outside .ws-skin-root) --- */ [data-ws-part="host.plugins.launcher"] { background: #1d4f9c; color: #ffffff; border: 1px solid #163c78; border-radius: 3px; padding: 7px 12px; font-size: 12px; font-weight: 600; letter-spacing: .02em; box-shadow: none; } [data-ws-part="host.plugins.launcher"]:hover { background: #2a63bb; } [data-ws-part="host.plugins.overlay"] { border: 2px solid #1d4f9c; border-radius: 4px; } [data-ws-part="host.watermark"] { color: #1d4f9c; opacity: .12; font-family: Tahoma, sans-serif; } [data-ws-part="host.hint"] { color: #1d4f9c; border-left: 2px solid #1d4f9c; padding-left: 6px; } [data-ws-part="host.voice-status-decoration"] { opacity: .45; } /* Icon slots can also be addressed directly from CSS. */ [data-ws-part="host.plugins.launcher"] [data-ws-icon-slot="host.plugins.launcher"] { background-color: transparent; }