/* Polyglotion aesthetic overlay 20261006-aesthetic-v1. Additive CSS only. */
:root{--pg-page:#f9fbff;--pg-surface:#fff;--pg-ink:#10194f;--pg-muted:#6f7ead;--pg-border:#dce5fb;--pg-blue:#426ae5;--pg-purple:#7245c8;--pg-gradient:linear-gradient(115deg,#426ae5,#7245c8);--pg-radius:18px}

/* One shared overlay for the official web and its isolated laboratory. */
body.cl-guest-v2[data-theme="light"]{--ink:var(--pg-ink);--muted:var(--pg-muted);--line:var(--pg-border);--soft:#eef2ff;color:var(--pg-ink);background:var(--pg-page)}
body.cl-guest-v2[data-theme="light"] :is(.cl-topbar,.cl-call-actions,.cl-chat-head,.cl-chat,.cl-dialog,.cl-account-menu,.cl-device-menu,.cl-mode-menu,.cl-layout-menu){background:var(--pg-surface);border-color:var(--pg-border);color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] .cl-main{background:var(--pg-page)}
body.cl-guest-v2[data-theme="light"] :is(.cl-brand,.cl-hud,.cl-hud strong,.cl-account-menu){color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] :is(.cl-control,.cl-language-button,.cl-account-button,.cl-topbar .cl-view-tools .cl-control){background:#f3f6ff;border-color:var(--pg-border);color:var(--pg-ink);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
body.cl-guest-v2[data-theme="light"] .cl-control:hover{background:#eaf0ff;border-color:#becdf5}
body.cl-guest-v2[data-theme="light"] .cl-control.cl-primary:not(.cl-skip){background:var(--pg-gradient);border-color:transparent;color:#fff;box-shadow:0 6px 16px #426ae526}
body.cl-guest-v2[data-theme="light"] :is(.cl-dialog,.cl-account-menu,.cl-device-menu,.cl-mode-menu,.cl-layout-menu){box-shadow:0 12px 45px #10194f12}
body.cl-guest-v2[data-theme="light"] :is(dialog.cl-social-dialog.cl-profile-dialog,.cl-settings-dialog){background:var(--pg-surface);border-color:var(--pg-border);color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] .cl-profile-card :is(.cl-profile-name,.cl-profile-section-title){color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] :is(.cl-dialog-head,.cl-language-tabs,.cl-selected,.cl-composer){border-color:var(--pg-border)}
body.cl-guest-v2[data-theme="light"] :is(.cl-composer,.cl-composer input,.cl-search,.cl-search input){background:var(--pg-surface);color:var(--pg-ink);border-color:var(--pg-border)}
body.cl-guest-v2[data-theme="light"] :is(.cl-composer input,.cl-search input)::placeholder{color:var(--pg-muted)}
body.cl-guest-v2[data-theme="light"] .cl-messages{background:var(--pg-page)}
body.cl-guest-v2[data-theme="light"] .message{background:#eef2ff;color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] .message.me{background:var(--pg-gradient);color:#fff}
body.cl-guest-v2[data-theme="light"] :is(.cl-onboarding-note,.language-chip,.language-option.selected){background:#eef2ff;color:var(--pg-ink);border-color:var(--pg-border)}
body.cl-guest-v2[data-theme="light"] .language-option{border-color:var(--pg-border);color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] :is(.cl-entry-panel,.cl-instructions,.cl-access-dialog){background:var(--pg-surface);border-color:var(--pg-border);color:var(--pg-ink);border-radius:var(--pg-radius);box-shadow:0 16px 55px #10194f12}
body.cl-guest-v2[data-theme="light"] .cl-entry-screen{background:#f9fbfff0}
body.cl-guest-v2[data-theme="light"] :is(.cl-entry-panel h1,.cl-instructions strong){color:var(--pg-ink);letter-spacing:-.04em}
body.cl-guest-v2[data-theme="light"] .cl-entry-panel p{color:#59658f}
body.cl-guest-v2[data-theme="light"] .cl-entry-privacy{background:#eef2ff;color:var(--pg-ink)}
body.cl-guest-v2[data-theme="light"] .cl-entry-panel #entry-continue{background:var(--pg-gradient);border-color:transparent;color:#fff;border-radius:12px;box-shadow:0 6px 18px #426ae51f}
body.cl-guest-v2[data-theme="light"] .cl-entry-terms a{color:var(--pg-blue)}
body.cl-guest-v2[data-theme="light"] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--pg-blue)}
/* Entry acceptance appears before the guest UI sets its theme attribute. */
body:not([data-theme="dark"]) .cl-entry-screen{background:#f9fbfff0}
body:not([data-theme="dark"]) .cl-entry-screen .cl-entry-panel{background:var(--pg-surface);border-color:var(--pg-border);color:var(--pg-ink);border-radius:var(--pg-radius);box-shadow:0 16px 55px #10194f12}
body:not([data-theme="dark"]) .cl-entry-screen .cl-entry-panel h1{color:var(--pg-ink);letter-spacing:-.04em}
body:not([data-theme="dark"]) .cl-entry-screen .cl-entry-panel p{color:#59658f}
body:not([data-theme="dark"]) .cl-entry-screen .cl-entry-privacy{background:#eef2ff}
body:not([data-theme="dark"]) .cl-entry-screen #entry-continue{background:var(--pg-gradient);border-color:transparent;color:#fff;border-radius:12px;box-shadow:0 6px 18px #426ae51f}
body:not([data-theme="dark"]) .cl-entry-screen .cl-entry-terms a{color:var(--pg-blue)}
/* Laboratory chrome keeps its local fixtures, links and restrictions. */
body:has(>.lab-header){color:var(--pg-ink);background:var(--pg-page)}
.lab-header{background:var(--pg-surface);border-color:var(--pg-border);color:var(--pg-ink)}
.lab-header .brand small,.intro p,.hint,.stage-label{color:var(--pg-muted)}
.intro h1,.next-step h2{color:var(--pg-ink);letter-spacing:-.04em}
.surfaces button,.preview-layout>aside,.preview-layout .stage,.next-step{border-color:var(--pg-border);border-radius:var(--pg-radius);background:var(--pg-surface);color:var(--pg-ink);box-shadow:0 8px 28px #10194f08}
.surfaces button[aria-pressed="true"],.preview-layout .button{background:var(--pg-gradient);color:#fff;border-color:transparent}
.preview-layout :is(select,input){border-color:var(--pg-border);accent-color:var(--pg-blue)}
.preview-layout select{background:var(--pg-page);color:var(--pg-ink);border-radius:12px}
.safe-label{background:#eef2ff;color:var(--pg-blue)}
.stage-label,.release-status{border-color:var(--pg-border)}
@media(prefers-reduced-motion:reduce){body.cl-guest-v2[data-theme="light"] :is(.cl-control,.cl-language-button,.cl-account-button){transition:none}}
