/* ESUN Glass: um material por janela, com camadas internas estáveis para leitura.
   O fallback é opaco; cartões e campos não multiplicam filtros de desfoque. */
html[data-esd-theme] {
  --esun-glass-rgb: 255, 255, 255;
  --esun-glass-alpha: 1;
  --esun-glass-blur: 0px;
  --esun-glass-panel: var(--esun-ui-panel);
  --esun-glass-edge: rgba(255,255,255,.8);
  --esun-glass-shadow: 0 24px 64px #14294c24, 0 4px 12px #14294c12, inset 0 1px #ffffffcc;
  --esun-material-card: #ffffffed;
  --esun-material-inset: #f0f4fa;
  --esun-material-line: #b6c6dd;
  --esun-material-shine: #ffffffba;
  --esun-material-shadow: 0 12px 32px #1e38650c, 0 2px 4px #1e386506, inset 0 1px #ffffffd9;
  --esun-material-control-shadow: 0 3px 7px #17345b0e, inset 0 1px #ffffffd9;
  --esun-material-field-shadow: inset 0 2px 4px #1b34590b, 0 1px #ffffffc4;
  --esun-material-hero: linear-gradient(115deg,#ffffffed,#eaf2ffed 65%,#fff0cbe0);
  --esun-material-accent: #2455df;
  --esun-material-glow: #2455df20;
  --esun-glass-ink: #172544;
  --esun-glass-muted: #263b5b;
}
html[data-esd-theme="dark"] {
  --esun-glass-rgb: 18, 28, 47;
  --esun-glass-edge: rgba(214,230,255,.25);
  --esun-glass-shadow: 0 28px 72px #0000004d, 0 4px 14px #00000026, inset 0 1px #ffffff2b;
  --esun-material-card: #17253bf2;
  --esun-material-inset: #18263e;
  --esun-material-line: #4b6281;
  --esun-material-shine: #ffffff14;
  --esun-material-shadow: 0 12px 32px #00000021, 0 2px 4px #00000014, inset 0 1px #ffffff12;
  --esun-material-control-shadow: 0 3px 8px #00000026, inset 0 1px #ffffff1a;
  --esun-material-field-shadow: inset 0 2px 5px #00000026, 0 1px #ffffff0d;
  --esun-material-hero: linear-gradient(115deg,#1d2f4ff2,#20314eed 65%,#443b2ee0);
  --esun-material-accent: #a7ccff;
  --esun-material-glow: #a7ccff26;
  --esun-glass-ink: #f1f6ff;
  --esun-glass-muted: #e1ebfa;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  html[data-esd-glass="soft"] { --esun-glass-alpha:.9; --esun-glass-blur:18px; }
  html[data-esd-glass="balanced"] { --esun-glass-alpha:.8; --esun-glass-blur:28px; }
  html[data-esd-glass="strong"] { --esun-glass-alpha:.7; --esun-glass-blur:40px; }
  html[data-esd-theme="dark"][data-esd-glass="soft"] { --esun-glass-alpha:.94; }
  html[data-esd-theme="dark"][data-esd-glass="balanced"] { --esun-glass-alpha:.86; }
  html[data-esd-theme="dark"][data-esd-glass="strong"] { --esun-glass-alpha:.78; }
  html[data-esd-glass] { --esun-glass-panel:rgba(var(--esun-glass-rgb),var(--esun-glass-alpha)); }
}
html[data-esd-glass] body.esd-os-shell :is(.esd-suite-dock,.esd-desktop-clock-widget,.esd-start-menu,.esd-start-profile-menu,.esd-desktop-context,.esd-os-window) {
  border-color:var(--esun-glass-edge);
  background:linear-gradient(145deg,var(--esun-material-shine),transparent 44%),var(--esun-glass-panel)!important;
  color:var(--esun-glass-ink);
  -webkit-backdrop-filter:blur(var(--esun-glass-blur)) saturate(135%);
  backdrop-filter:blur(var(--esun-glass-blur)) saturate(135%);
  box-shadow:var(--esun-glass-shadow);
  --esun-ui-muted:var(--esun-glass-muted);
}
html[data-esd-glass="off"] body.esd-os-shell :is(.esd-suite-dock,.esd-desktop-clock-widget,.esd-start-menu,.esd-start-profile-menu,.esd-desktop-context,.esd-os-window) {
  background:var(--esun-ui-panel)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-esd-theme] body.esd-os-shell .esd-os-window {
  min-width:520px;min-height:min(350px,calc(100dvh - 120px));grid-template-rows:52px minmax(0,1fr);border-radius:24px;opacity:1;
}
html[data-esd-theme] body.esd-os-shell .esd-os-window:not(.is-focused) { opacity:1; }
html[data-esd-theme] body.esd-os-shell .esd-os-window.is-focused {
  box-shadow:var(--esun-glass-shadow),0 0 0 1px var(--esun-material-glow);
}
html[data-esd-theme] body.esd-os-shell .esd-os-window-titlebar {
  padding:0 14px;border-bottom:1px solid var(--esun-glass-edge);
  background:linear-gradient(180deg,var(--esun-material-shine),transparent)!important;
  color:var(--esun-glass-ink);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;
}
html[data-esd-theme] body.esd-os-shell .esd-os-window-title { gap:9px; }
html[data-esd-theme] body.esd-os-shell .esd-os-window-title img { width:24px;height:24px; }
html[data-esd-theme] body.esd-os-shell .esd-os-window-title strong { font-size:13px;font-weight:650;letter-spacing:-.015em; }
html[data-esd-theme] body.esd-os-shell .esd-os-window-body { background:transparent; }
html[data-esd-theme] body.esd-os-shell .esd-os-window iframe { background:var(--esun-ui-bg); }
html[data-esd-glass]:not([data-esd-glass="off"]) body.esd-os-shell .esd-os-window iframe { background:transparent!important; }
html[data-esd-theme] body.esd-os-shell .esd-os-window-controls button { width:28px;height:28px;border-radius:9px; }
html[data-esd-theme] body.esd-os-shell .esd-os-window-tools button { width:32px;height:32px;border-radius:10px;color:var(--esun-glass-ink); }
html[data-esd-theme] body.esd-os-shell .esd-os-window-tools button:hover { background:var(--esun-material-shine); }
html[data-esd-theme="light"] body.esd-os-shell.has-custom-wallpaper::before { background:linear-gradient(180deg,#11223b05,#11223b16); }
html[data-esd-theme="dark"] body.esd-os-shell.has-custom-wallpaper::before { background:linear-gradient(180deg,#07122418,#07122440); }
html[data-esd-theme="light"] body.esd-os-shell.has-custom-wallpaper { background-image:linear-gradient(#ffffff05,#ffffff14),var(--esd-wallpaper-image); }
html[data-esd-theme="dark"] body.esd-os-shell.has-custom-wallpaper { background-image:linear-gradient(#050c1a14,#050c1a29),var(--esd-wallpaper-image); }
html[data-esd-theme] body.esd-os-shell.has-custom-wallpaper .esd-desktop-icons strong {
  box-sizing:border-box;border:1px solid #ffffff21;border-radius:9px;background:#091a32d9;padding:4px 7px;color:#fff;text-shadow:none;
}
html[data-esd-theme] body.esd-os-shell .esd-os-window-titlebar strong { color:var(--esun-ui-ink); }
html[data-esd-theme] body.esd-os-shell .esd-os-window-titlebar small { color:var(--esun-ui-muted); }
html[data-esd-theme] body.esd-os-shell .esd-desktop-context :is(button,a) { color:var(--esun-ui-ink)!important; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-context :is(button,a):is(:hover,:focus-visible) { background:var(--esun-ui-soft);color:var(--esun-ui-soft-ink)!important; }

/* O vidro da janela aparece através de um iframe ESUN; telas avulsas têm fundo próprio. */
html[data-esd-theme] .esd-chromeless-main { background:var(--esun-ui-bg);color:var(--esun-ui-ink); }
html[data-esd-embedded="1"][data-esd-glass]:not([data-esd-glass="off"]),
html[data-esd-embedded="1"][data-esd-glass]:not([data-esd-glass="off"]) :is(body.esd-chromeless,body.esd-desktop-embed),
html[data-esd-embedded="1"][data-esd-glass]:not([data-esd-glass="off"]) body.esd-chromeless :is(.esd-chromeless-main,.esd-portal-shell,.esd-studio,.esd-reports,.esd-crm-hub,.esd-kits-app) {
  background:transparent!important;
}
html[data-esd-theme] body.esd-chromeless { color:var(--esun-ui-ink); }
html[data-esd-embedded="1"][data-esd-glass] body.esd-chromeless { --esun-ui-muted:var(--esun-glass-muted); }

/* Desktop: tamanhos confortáveis, formas contínuas e relevo suave nos controles. */
html[data-esd-theme] body.esd-os-shell .esd-suite-dock {
  min-height:66px;gap:5px;padding:8px 12px;border-radius:25px;bottom:16px;
}
html[data-esd-theme] body.esd-os-shell .esd-suite-dock>button { width:46px;height:46px;border-radius:15px; }
html[data-esd-theme] body.esd-os-shell .esd-suite-dock>button img { width:40px;height:40px; }
html[data-esd-theme] body.esd-os-shell .esd-suite-dock>button:hover,
html[data-esd-theme] body.esd-os-shell .esd-suite-dock>button.is-current {
  background:var(--esun-material-shine);box-shadow:var(--esun-material-control-shadow);
}
html[data-esd-theme] body.esd-os-shell .esd-suite-dock>button.is-running::after { bottom:-4px;width:5px;height:3px;border-radius:3px;background:var(--esun-material-accent); }
html[data-esd-theme] body.esd-os-shell .esd-suite-dock .esd-dock-separator { height:30px;margin:0 5px;background:var(--esun-material-line);opacity:.6; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-clock-widget { top:24px;right:24px;min-width:230px;padding:17px 22px;border-radius:24px; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-clock-widget>span { color:var(--esun-glass-muted);font-size:10px;font-weight:600;letter-spacing:.16em; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-clock-widget strong { color:var(--esun-glass-ink);font-size:36px;font-weight:500;letter-spacing:-.06em; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-clock-widget small { color:var(--esun-glass-muted);font-size:11px;line-height:1.5; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-icons button { width:92px;min-height:86px;gap:6px;padding:5px;border-radius:18px; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-icons button>span { display:grid;place-items:center;width:55px;height:55px;border:1px solid #ffffff59;border-radius:17px;background:#ffffff21;box-shadow:0 4px 12px #07162e14,inset 0 1px #ffffff40; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-icons button img { width:45px;height:45px; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-icons button strong { max-width:100%;font-size:10px;font-weight:550;line-height:1.35; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-context { border-radius:18px;padding:8px; }
html[data-esd-theme] body.esd-os-shell .esd-desktop-context :is(button,a) { min-height:40px;border-radius:10px;font-size:12px; }

/* Menu com o mesmo material do dock e hierarquia de leitura explícita. */
html[data-esd-theme] body.esd-os-shell .esd-global-launcher.esd-start-menu { border-radius:26px;padding:20px; }
html[data-esd-theme] .esd-start-menu .esd-start-search { min-height:50px;border:1px solid var(--esun-material-line);border-radius:15px;background:var(--esun-material-card);box-shadow:var(--esun-material-field-shadow); }
html[data-esd-theme] .esd-start-menu .esd-start-search input { font-size:13px!important; }
html[data-esd-theme] .esd-start-menu .esd-start-search:focus-within { outline:3px solid var(--esun-ui-focus);outline-offset:3px; }
html[data-esd-theme] .esd-start-menu .esd-start-search input:focus-visible { outline:none;box-shadow:none; }
html[data-esd-theme] .esd-start-menu .esd-start-section>header h2 { font-size:14px;letter-spacing:-.025em; }
html[data-esd-theme] .esd-start-menu .esd-start-pinned-grid { gap:9px; }
html[data-esd-theme] .esd-start-menu .esd-start-app { min-height:78px;border:1px solid var(--esun-glass-edge);border-radius:16px;background:var(--esun-material-card);box-shadow:var(--esun-material-shadow); }
html[data-esd-theme] .esd-start-menu .esd-start-app img { width:34px;height:34px; }
html[data-esd-theme] .esd-start-menu .esd-start-app strong { font-size:12px; }
html[data-esd-theme] .esd-start-menu .esd-start-app small { font-size:11px; }
html[data-esd-theme] .esd-start-menu .esd-start-category { border-color:var(--esun-glass-edge);border-radius:18px;background:var(--esun-material-card);padding:16px;box-shadow:var(--esun-material-shadow); }
html[data-esd-theme] .esd-start-menu .esd-start-category p { font-size:11px;line-height:1.5; }
html[data-esd-theme] .esd-start-menu .esd-start-footer { margin:18px -20px -20px;padding:14px 20px;border-color:var(--esun-glass-edge);background:var(--esun-material-shine); }
html[data-esd-theme] .esd-start-menu .esd-start-profile-menu { border-radius:22px; }
html[data-esd-theme] .esd-start-menu .esd-theme-chooser button { min-height:40px;border-radius:11px;box-shadow:var(--esun-material-control-shadow); }
@media(hover:hover) and (pointer:fine) {
  html[data-esd-theme] .esd-start-menu .esd-start-pin-toggle.is-tile-control { opacity:0; }
  html[data-esd-theme] .esd-start-menu .esd-start-app-shell:is(:hover,:focus-within) .esd-start-pin-toggle.is-tile-control { opacity:1; }
}
@media(min-width:761px) {
  html[data-esd-theme] body.esd-os-shell .esd-global-launcher.esd-start-menu {
    top:auto;right:auto;bottom:98px;left:50%;width:min(760px,calc(100vw - 48px));height:min(720px,calc(100dvh - 124px));max-height:calc(100dvh - 124px);transform:translateX(-50%);animation:esd-glass-menu-in .18s ease-out;
  }
  html[data-esd-theme] .esd-start-menu .esd-start-pinned-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  html[data-esd-theme] body.esd-os-shell .esd-os-window.is-maximized:not(:fullscreen):not(.is-fullscreen-fallback) { inset:12px 12px 94px!important;border-radius:24px; }
}
@keyframes esd-glass-menu-in { from { opacity:0;transform:translate(-50%,8px) scale(.985); } to { opacity:1;transform:translate(-50%,0) scale(1); } }
@keyframes esd-glass-menu-mobile-in { from { opacity:0;transform:translateY(8px); } to { opacity:1;transform:translateY(0); } }

/* Painéis de trabalho: vidro externo, superfícies de leitura e controles táteis. */
html[data-esd-theme] :is(.esd-account-card,.esd-studio-panel,.esd-studio-list,.esd-studio-search,.esd-studio-empty,.esd-reports-card,.esd-reports-kpi,.esd-crm-hub-sidebar,.esd-kits-card,.esd-portal-shell .esd-card) {
  border-color:var(--esun-material-line)!important;border-radius:20px;background:var(--esun-material-card)!important;box-shadow:var(--esun-material-shadow);
}
html[data-esd-theme] :is(.esd-account-hero,.esd-studio-hero,.esd-studio-heading:not(.esd-slides-editor-header),.esd-crm-hub-heading) {
  border:1px solid var(--esun-glass-edge);border-radius:24px;background:var(--esun-material-hero)!important;color:var(--esun-ui-ink);box-shadow:var(--esun-material-shadow);
}
html[data-esd-theme] :is(.esd-account-hero,.esd-studio-hero,.esd-studio-heading:not(.esd-slides-editor-header),.esd-crm-hub-heading) :is(h1,h2,p,.esd-account-eyebrow) { color:var(--esun-ui-ink); }
html[data-esd-theme] :is(.esd-studio-hero,.esd-studio-heading:not(.esd-slides-editor-header),.esd-crm-hub-heading)>div>span { color:var(--esun-material-accent); }
html[data-esd-theme] .esd-account-hero .esd-account-eyebrow { font-size:10px;letter-spacing:.13em;color:var(--esun-material-accent); }
html[data-esd-theme] .esd-account-hero .esd-account-badges span { border-color:var(--esun-material-line);background:var(--esun-material-card);color:var(--esun-ui-ink);font-size:11px; }
html[data-esd-theme] .esd-account-hero .is-subtle { border-color:var(--esun-material-line);color:var(--esun-ui-ink); }
html[data-esd-theme] .esd-account-photo { box-shadow:0 5px 16px #172e501a,inset 0 1px #ffffffb3; }
html[data-esd-theme] .esd-account-fold>summary { padding:20px 24px; }
html[data-esd-theme] .esd-account-fold>summary>span:first-child { border:1px solid var(--esun-material-line);border-radius:13px;box-shadow:var(--esun-material-control-shadow); }
html[data-esd-theme] .esd-account-fold>summary::after { border-radius:10px;box-shadow:var(--esun-material-control-shadow); }
html[data-esd-theme] .esd-account-fold[open]>summary { background:var(--esun-material-shine)!important; }
html[data-esd-theme] :is(.esd-account-fields,.esd-studio) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select,textarea) {
  border-color:var(--esun-material-line)!important;border-radius:12px;background:var(--esun-material-inset)!important;color:var(--esun-ui-ink)!important;
  box-shadow:var(--esun-material-field-shadow);font-size:13px;
}
html[data-esd-theme] .esd-account-fields :is(input:not([type="checkbox"]):not([type="radio"]),select),
html[data-esd-theme] .esd-studio :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select) { min-height:44px; }
html[data-esd-theme] :is(.esd-account-button,.esd-studio-secondary,.esd-studio-primary,.esd-filter-button,.esd-mail-button,.esd-sign-button,.esd-kits-button-primary) {
  min-height:44px;border-radius:12px;box-shadow:var(--esun-material-control-shadow);font-size:12px;
  transition:background-color .16s ease,box-shadow .16s ease,border-color .16s ease;
}
html[data-esd-theme] :is(.esd-account-button,.esd-studio-secondary,.esd-studio-primary,.esd-filter-button,.esd-mail-button,.esd-sign-button,.esd-kits-button-primary):active:not(:disabled) { box-shadow:var(--esun-material-field-shadow); }
html[data-esd-theme] :is(.esd-account,.esd-studio,.esd-start-menu,.esd-suite-dock,.esd-desktop-context) :is(button,a,input,select,textarea):focus-visible { outline:3px solid var(--esun-ui-focus);outline-offset:3px; }
html[data-esd-theme] .esd-studio-table-wrap { border-radius:16px; }
html[data-esd-theme] .esd-studio-table-wrap :is(th,td) { padding:15px; }

/* A galeria pertence às preferências pessoais, sem alterar o fundo da empresa. */
.esd-account #esd-account-preferences { grid-column:1/-1; }
.esd-account .esd-account-fields label>small { color:var(--esun-ui-muted,#52637d);font-size:12px;font-weight:400;line-height:1.6; }
.esd-account .esd-wallpaper-picker { min-width:0;margin:6px 0 0;padding:0;border:0; }
.esd-account .esd-wallpaper-picker legend { padding:0;font-size:15px;font-weight:700;color:var(--esun-ui-ink,#172544); }
.esd-account .esd-wallpaper-picker>p { margin:7px 0 14px;color:var(--esun-ui-muted,#52637d);font-size:12px;line-height:1.6; }
.esd-account .esd-wallpaper-options { display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px; }
.esd-account .esd-wallpaper-options .esd-wallpaper-option {
  position:relative;display:grid;align-content:start;gap:9px;min-width:0;min-height:132px;padding:8px 8px 11px;
  border:2px solid var(--esun-ui-line,#cbd7e8);border-radius:13px;background:var(--esun-ui-panel,#fff);cursor:pointer;
}
.esd-account .esd-wallpaper-option:has(input:checked) { border-color:#2455df;box-shadow:0 0 0 2px #2455df20; }
html[data-esd-theme="dark"] .esd-account .esd-wallpaper-option:has(input:checked) { border-color:#83b9ff;box-shadow:0 0 0 2px #83b9ff25; }
.esd-account .esd-wallpaper-option:focus-within { outline:3px solid var(--esun-ui-focus,#174494);outline-offset:3px; }
.esd-account .esd-wallpaper-option>input[type="radio"] {
  position:absolute;z-index:1;top:15px;left:15px;width:20px;min-width:20px;height:20px;min-height:20px;margin:0;padding:0;
  accent-color:#2455df;cursor:pointer;
}
.esd-account .esd-wallpaper-option>span:last-child { padding:0 2px;color:var(--esun-ui-ink,#172544);font-size:12px;font-weight:650;line-height:1.4; }
.esd-account .esd-wallpaper-thumb { display:block;overflow:hidden;aspect-ratio:16/9;border-radius:7px;background:#e7effb; }
.esd-account .esd-wallpaper-thumb img { display:block;width:100%;height:100%;object-fit:cover; }
.esd-account .esd-wallpaper-thumb.is-gradient { background:radial-gradient(ellipse at 85% 0,#ffe7a0,transparent 65%),linear-gradient(145deg,#c7dcff,#f7faff); }
.esd-account .esd-appearance-preview-wrap { display:grid;gap:10px;min-width:0;margin:7px 0 2px; }
.esd-account .esd-appearance-preview-wrap>span { color:var(--esun-ui-ink,#172544);font-size:13px;font-weight:700; }
.esd-account .esd-appearance-preview-wrap>small { color:var(--esun-ui-muted,#52637d);font-size:12px;line-height:1.6; }
.esd-appearance-preview {
  position:relative;display:grid;align-items:center;min-height:240px;overflow:hidden;border:1px solid var(--esun-ui-line,#cbd7e8);border-radius:16px;
  padding:28px 8% 65px;background:radial-gradient(ellipse at 80% 5%,#a8caff,transparent 60%),linear-gradient(145deg,#e5edfc,#fff);
  background-position:center;background-size:cover;background-repeat:no-repeat;
  --preview-rgb:255,255,255;--preview-ink:#172544;--preview-muted:#263b5b;--preview-alpha:.9;--preview-blur:18px;
}
.esd-appearance-preview[data-preview-theme="dark"] { --preview-rgb:18,28,47;--preview-ink:#f1f6ff;--preview-muted:#e1ebfa;--preview-alpha:.94;background-image:radial-gradient(ellipse at 80% 5%,#25477a,transparent 60%),linear-gradient(145deg,#0d1729,#21334e); }
.esd-appearance-preview[data-preview-glass="off"] { --preview-alpha:1;--preview-blur:0px; }
.esd-appearance-preview[data-preview-glass="balanced"] { --preview-alpha:.8;--preview-blur:28px; }
.esd-appearance-preview[data-preview-glass="strong"] { --preview-alpha:.7;--preview-blur:40px; }
.esd-appearance-preview[data-preview-theme="dark"][data-preview-glass="balanced"] { --preview-alpha:.86; }
.esd-appearance-preview[data-preview-theme="dark"][data-preview-glass="strong"] { --preview-alpha:.78; }
.esd-appearance-preview-window,.esd-appearance-preview-dock {
  border:1px solid #e1eaff8c;border-radius:20px;background:rgb(var(--preview-rgb));color:var(--preview-ink);box-shadow:0 12px 32px #10234726,inset 0 1px #ffffff59;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .esd-appearance-preview-window,.esd-appearance-preview-dock { background:rgba(var(--preview-rgb),var(--preview-alpha));-webkit-backdrop-filter:blur(var(--preview-blur));backdrop-filter:blur(var(--preview-blur)); }
}
.esd-appearance-preview .esd-appearance-preview-window { display:grid;gap:8px;max-width:330px;padding:20px 24px;color:var(--preview-ink); }
html[data-esd-theme] .esd-account .esd-appearance-preview .esd-appearance-preview-window>span { color:var(--preview-muted);font-size:11px;font-weight:700;letter-spacing:.08em; }
html[data-esd-theme] .esd-account .esd-appearance-preview .esd-appearance-preview-window>strong { color:var(--preview-ink);font-size:24px;line-height:1.3; }
html[data-esd-theme] .esd-account .esd-appearance-preview .esd-appearance-preview-window>small { color:var(--preview-muted);font-size:12px; }
.esd-appearance-preview-dock { position:absolute;bottom:16px;left:50%;display:flex;gap:9px;transform:translateX(-50%);padding:10px 14px; }
.esd-appearance-preview-dock i { display:block;width:24px;height:24px;border:1px solid #ffffff50;border-radius:7px;background:linear-gradient(145deg,#75b2ff,#2455df); }
.esd-appearance-preview-dock i:nth-child(2) { background:linear-gradient(145deg,#81dca8,#258048); }
.esd-appearance-preview-dock i:nth-child(3) { background:linear-gradient(145deg,#ffdd82,#e88b1d); }
.esd-appearance-preview-dock i:nth-child(4) { background:linear-gradient(145deg,#e0b1ff,#9159ce); }
.esd-appearance-preview-dock i:nth-child(5) { background:linear-gradient(145deg,#81ddd9,#25888b); }
@media(max-width:540px) {
  .esd-account .esd-wallpaper-options { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  .esd-account .esd-wallpaper-options .esd-wallpaper-option { min-height:0; }
  .esd-appearance-preview { padding:24px 16px 65px;min-height:250px; }
  .esd-appearance-preview .esd-appearance-preview-window { padding:18px; }
}
@media(prefers-reduced-transparency:reduce) {
  html[data-esd-theme][data-esd-glass] { --esun-glass-alpha:1;--esun-glass-panel:var(--esun-ui-panel);--esun-glass-blur:0px; }
  html[data-esd-theme] .esd-appearance-preview-window,html[data-esd-theme] .esd-appearance-preview-dock { background:rgb(var(--preview-rgb));-webkit-backdrop-filter:none;backdrop-filter:none; }
}
@media(forced-colors:active) {
  html[data-esd-theme][data-esd-glass] { --esun-glass-panel:Canvas;--esun-glass-blur:0px;--esun-material-card:Canvas;--esun-material-shine:transparent;--esun-glass-edge:CanvasText;--esun-material-line:CanvasText;--esun-glass-ink:CanvasText;--esun-glass-muted:CanvasText; }
  .esd-account .esd-wallpaper-option:has(input:checked) { border-color:Highlight; }
  .esd-appearance-preview-window,.esd-appearance-preview-dock { background:Canvas;color:CanvasText;box-shadow:none; }
}
@media(max-width:760px) {
  html[data-esd-theme] body.esd-os-shell .esd-desktop-area:not(.esd-desktop-login) { bottom:calc(88px + env(safe-area-inset-bottom))!important; }
  html[data-esd-theme] body.esd-os-shell .esd-os-window { border-radius:0;grid-template-rows:54px minmax(0,1fr)!important; }
  html[data-esd-theme] body.esd-os-shell .esd-os-window-titlebar { padding:3px 10px 3px 60px; }
  html[data-esd-theme] body.esd-os-shell .esd-suite-dock { right:10px!important;left:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:66px;min-height:66px;padding:8px 10px;border:1px solid var(--esun-glass-edge);border-radius:22px!important;transform:none; }
  html[data-esd-theme] body.esd-os-shell .esd-suite-dock .esd-dock-launcher { background:var(--esun-material-card);box-shadow:var(--esun-material-control-shadow); }
  html[data-esd-theme] body.esd-os-shell .esd-global-launcher.esd-start-menu { top:14px;right:10px;bottom:94px;left:10px;height:auto;max-height:none;border-radius:24px;padding:16px;animation:esd-glass-menu-mobile-in .18s ease-out; }
  html[data-esd-theme] .esd-start-menu .esd-start-footer { margin:16px -16px -16px;padding:14px 16px; }
  html[data-esd-theme] .esd-start-menu .esd-start-pin-toggle.is-tile-control { min-width:44px;min-height:44px; }
  html[data-esd-theme] body.esd-os-shell .esd-desktop-icons button { width:100%;min-height:88px; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-esd-theme] body.esd-os-shell :is(.esd-os-window,.esd-start-menu,.esd-suite-dock>button),
  html[data-esd-theme] :is(.esd-account-button,.esd-studio-secondary,.esd-studio-primary,.esd-wallpaper-option) { transition:none!important;animation:none!important; }
}
html[data-esd-theme] body.esd-os-shell .esd-os-window:fullscreen { border-radius:0; }


/* 0.32.33: Pair foreground and background for Suite UI in both themes.
   Printed documents, spreadsheet paper and slide canvases retain authored colors. */
html[data-esd-theme="light"] {
  --esun-feedback-ok-bg: #e8f8f0;
  --esun-feedback-ok-ink: #075b39;
  --esun-feedback-warn-bg: #fff6d8;
  --esun-feedback-warn-ink: #775300;
  --esun-feedback-error-bg: #fff0ed;
  --esun-feedback-error-ink: #922c25;
}
html[data-esd-theme="dark"] {
  --esun-feedback-ok-bg: #123c30;
  --esun-feedback-ok-ink: #9ae6bd;
  --esun-feedback-warn-bg: #453515;
  --esun-feedback-warn-ink: #ffdf9b;
  --esun-feedback-error-bg: #4a2331;
  --esun-feedback-error-ink: #ffb4c1;
}

/* Chromeless windows also use the same material and ink as their content. */
html[data-esd-theme] body.esd-chromeless :is(.esd-heading,.esd-suite-hero,.esd-module-stage) {
  border-color: var(--esun-material-line);
  background: var(--esun-material-card) !important;
  color: var(--esun-ui-ink);
}
html[data-esd-theme] body.esd-chromeless :is(.esd-heading h1,.esd-suite-hero-copy h1,.esd-module-stage h1) {
  color: var(--esun-ui-ink) !important;
}
html[data-esd-theme] body.esd-chromeless :is(.esd-heading p,.esd-suite-hero-copy p,.esd-module-stage-copy>p:not(.esd-module-brand)) {
  color: var(--esun-ui-muted) !important;
}
html[data-esd-theme] body.esd-chromeless :is(.esd-heading .esd-eyebrow,.esd-suite-hero-copy .esd-eyebrow,.esd-module-brand) {
  color: var(--esun-ui-link) !important;
}
html[data-esd-theme] body.esd-chromeless .esd-quick-action:not(.is-primary) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink) !important;
}
html[data-esd-theme] body.esd-chromeless .esd-quick-action.is-primary {
  border-color: #2455df;
  background: #2455df;
  color: #fff !important;
}
html[data-esd-theme="dark"] body.esd-chromeless :is(.esd-module-preview-list,.esd-module-stage-visual) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
}
html[data-esd-theme="dark"] body.esd-chromeless .esd-module-preview-list>div { color: var(--esun-ui-ink); }
html[data-esd-theme="dark"] body.esd-chromeless .esd-module-preview-list span {
  background: var(--esun-ui-soft);
  color: var(--esun-ui-soft-ink);
}
html[data-esd-theme="dark"] body.esd-chromeless .esd-module-state:not(.is-next) {
  background: var(--esun-ui-soft);
  color: var(--esun-ui-soft-ink);
}

/* Docs: editor cards, linked clients, dynamic fields and document notices. */
html[data-esd-theme] .esd-portal-shell .esd-notice,
html[data-esd-theme] .esd-studio .esd-studio-success,
html[data-esd-theme] .esd-sign-app .esd-sign-notice,
html[data-esd-theme] .esd-kits-app .esd-kits-notice {
  border-color: var(--esun-ui-success);
  background: var(--esun-feedback-ok-bg);
  color: var(--esun-feedback-ok-ink) !important;
}
html[data-esd-theme] .esd-portal-shell .esd-notice :is(strong,small,p,a) { color: inherit !important; }
html[data-esd-theme] .esd-portal-shell .esd-number,
html[data-esd-theme] .esd-portal-shell .esd-layout-meter:not(.is-multipage),
html[data-esd-theme] .esd-portal-shell .esd-selected-type {
  background: var(--esun-ui-soft);
  color: var(--esun-ui-soft-ink);
}
html[data-esd-theme] .esd-portal-shell .esd-layout-meter.is-multipage,
html[data-esd-theme] .esd-studio :is(.esd-form-links-notice,.esd-slides-text-warning),
html[data-esd-theme] .esd-reports :is(.esd-reports-alert,.esd-reports-value-review),
html[data-esd-theme] .esd-slides-global-banner {
  border-color: var(--esun-feedback-warn-ink);
  background: var(--esun-feedback-warn-bg);
  color: var(--esun-feedback-warn-ink) !important;
}
html[data-esd-theme] .esd-portal-shell .esd-layout-meter :is(strong,small,span,p),
html[data-esd-theme] .esd-reports .esd-reports-value-review :is(strong,small,p) {
  color: inherit !important;
}
html[data-esd-theme] .esd-portal-shell .esd-wrap label.esd-signature-option {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink) !important;
}
html[data-esd-theme] .esd-portal-shell .esd-signature-option :is(span,small,strong) { color: inherit !important; }
html[data-esd-theme] .esd-portal-shell .esd-signature-option small { color: var(--esun-ui-muted) !important; }
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-client-lookup,.esd-variable-bar,.esd-free-block,.esd-free-block>header,.esd-custom-paper,.esd-role-user-caps li) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-client-results,.esd-variable,.esd-block-move,.esd-free-block,.esd-role-permissions-scroll) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-panel);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-variable-bar>span,.esd-free-block-fields p,.esd-client-lookup .description,.esd-client-results-message,.esd-role-permissions tbody th small) {
  color: var(--esun-ui-muted);
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-role-permissions thead th {
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-variable { color: var(--esun-ui-link); }
html[data-esd-theme="dark"] .esd-portal-shell .esd-variable:is(:hover,:focus-visible) { background: var(--esun-ui-soft); }

/* Sheets: tool panels use the application palette; printable pages stay white. */
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-formula-row,.esd-sheet-assistant,.esd-sheet-find-panel,.esd-sheet-filter-panel,.esd-sheet-charts article,.esd-sheet-formula-catalog article) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-panel);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-panel,.esd-sheet-assistant section>button,.esd-sheet-assistant-popular button,.esd-sheet-filter-panel button,.esd-sheet-charts article header select,.esd-sheet-charts article header button) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-panel>header,.esd-sheet-guide-panel>footer) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-panel);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-panel h2,.esd-sheet-assistant h2,.esd-sheet-find-panel>header strong,.esd-sheet-charts article header input) { color: var(--esun-ui-ink); }
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-panel header p,.esd-sheet-guide-panel>footer span,.esd-sheet-assistant header p,.esd-sheet-assistant section>button small,.esd-sheet-charts article p) { color: var(--esun-ui-muted); }
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-tip,.esd-sheet-assistant-tip) {
  background: var(--esun-feedback-warn-bg);
  color: var(--esun-feedback-warn-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-guide-tip,.esd-sheet-assistant-tip) :is(strong,span,p,code) { color: inherit !important; }
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-assistant-tip.is-range-tip,.esd-sheet-assistant-tip.is-grid-tip) {
  background: var(--esun-ui-soft);
  color: var(--esun-ui-soft-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-sheet-assistant header>button,.esd-sheet-find-panel>header>button,.esd-sheet-guide-panel>header>button) {
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-charts article header input { background: transparent !important; }
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-paper,
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-print-page { color-scheme: light; color: #26334d; }
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-paper :is(input,select,textarea) {
  color-scheme: light;
  background: transparent !important;
  color: #334664 !important;
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-paper :is(input,select,textarea):is(:hover,:focus) {
  background: #f5f8ff !important;
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-sheet-paper select option { background: #fff; color: #26334d; }

/* Forms, Slides and Drive: editors, dialogs and feedback remain legible. */
html[data-esd-theme="dark"] .esd-studio :is(.esd-form-links-create,.esd-form-link-item,.esd-slides-layer-item,.esd-slides-story-card-edit,.esd-slides-copy-card,.esd-slides-image-card,.esd-slides-crop-controls,.esd-slides-layer-precise,.esd-slides-token-list button,.esd-drive-folder details[open] form,.esd-drive-pagination,.esd-drive-backup,.esd-drive-preview-dialog,.esd-studio-preview-banner) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-panel);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-studio :is(.esd-slides-crop-header,.esd-slides-crop-footer,.esd-slides-crop-presets,.esd-slides-dropzone,.esd-drive-dropzone,.esd-slides-token-guide,.esd-slides-token-palette,.esd-slides-context-menu,.esd-slides-autocomplete,.esd-slides-image-dialog,.esd-slides-crop-dialog,.esd-form-share-dialog) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-studio :is(.esd-form-links-create,.esd-slides-token-guide,.esd-drive-dropzone,.esd-drive-backup,.esd-drive-preview-body) :is(p,small,strong,span,label) {
  color: var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-studio :is(.esd-slides-token-guide p,.esd-drive-dropzone small,.esd-drive-preview-unavailable p) { color: var(--esun-ui-muted) !important; }
html[data-esd-theme="dark"] .esd-studio :is(.esd-slides-layer-item,.esd-slides-token-list button,.esd-slides-autocomplete-option,.esd-slides-context-menu button,.esd-slides-palette-item) { color: var(--esun-ui-link); }
html[data-esd-theme="dark"] .esd-studio :is(.esd-slides-autocomplete-option,.esd-slides-context-menu button,.esd-slides-palette-item) { background: var(--esun-ui-panel); }
html[data-esd-theme="dark"] .esd-studio :is(.esd-slides-autocomplete-option,.esd-slides-context-menu button,.esd-slides-palette-item):is(:hover,:focus-visible,[aria-selected="true"]) { background: var(--esun-ui-soft); }
html[data-esd-theme="dark"] .esd-studio .esd-slides-autocomplete-option code { background: var(--esun-ui-soft); color: var(--esun-ui-soft-ink); }
html[data-esd-theme="dark"] .esd-studio .esd-slides-autocomplete-option.is-content code { background: var(--esun-feedback-warn-bg); color: var(--esun-feedback-warn-ink); }
html[data-esd-theme="dark"] .esd-studio .esd-slides-token-chip { border-color: var(--esun-ui-line); background: var(--esun-ui-soft); color: var(--esun-ui-soft-ink); }
html[data-esd-theme="dark"] .esd-studio .esd-drive-workspace .esd-drive-dropzone.is-over { background: var(--esun-ui-soft); }
html[data-esd-theme="dark"] .esd-studio .esd-drive-preview-unavailable strong { color: var(--esun-ui-ink); }
html[data-esd-theme="dark"] .esd-studio .esd-drive-backup .esd-drive-warning { color: var(--esun-feedback-warn-ink); }
html[data-esd-theme="dark"] .esd-studio :is(.esd-form-link-actions button.is-danger,.esd-drive-workspace .esd-studio-row-actions button.esd-studio-danger) {
  border-color: var(--esun-feedback-error-ink);
  background: var(--esun-feedback-error-bg);
  color: var(--esun-feedback-error-ink) !important;
}

/* Reports, kit catalog and mail/sign status states. */
html[data-esd-theme="dark"] .esd-reports .esd-reports-tasks {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-soft);
}
html[data-esd-theme="dark"] .esd-reports .esd-reports-tasks :is(span,strong,small,p) { color: var(--esun-ui-soft-ink); }
html[data-esd-theme="dark"] .esd-reports .esd-reports-value-review a { color: var(--esun-feedback-warn-ink); }
html[data-esd-theme="dark"] .esd-kits-app .esd-kits-error,
html[data-esd-theme="dark"] .esd-mail-app .esd-mail-notice.is-error {
  border-color: var(--esun-feedback-error-ink);
  background: var(--esun-feedback-error-bg);
  color: var(--esun-feedback-error-ink) !important;
}
html[data-esd-theme="dark"] .esd-sign-app .esd-sign-auth-badge,
html[data-esd-theme="dark"] .esd-mail-app .esd-mail-badge:not(.is-active) {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-soft);
  color: var(--esun-ui-soft-ink);
}
html[data-esd-theme="dark"] .esd-mail-app .esd-mail-badge.is-active {
  background: var(--esun-feedback-ok-bg);
  color: var(--esun-feedback-ok-ink);
}
html[data-esd-theme="dark"] .esd-sign-app .esd-sign-preview {
  border-color: var(--esun-ui-line);
  background: var(--esun-ui-raised);
}
html[data-esd-theme="dark"] .esd-sign-app .esd-sign-preview canvas { background: #fff; color-scheme: light; }

/* Token suggestions are portaled to body, outside the Slides editor. */
html[data-esd-theme="dark"] .esd-slides-autocomplete { border-color:var(--esun-ui-line);background:var(--esun-ui-panel);color:var(--esun-ui-ink); }
html[data-esd-theme="dark"] .esd-slides-autocomplete .esd-slides-autocomplete-heading { color:var(--esun-ui-muted); }
html[data-esd-theme="dark"] .esd-slides-autocomplete .esd-slides-autocomplete-option { background:var(--esun-ui-panel);color:var(--esun-ui-link); }
html[data-esd-theme="dark"] .esd-slides-autocomplete .esd-slides-autocomplete-option:is([aria-selected="true"],:hover) { background:var(--esun-ui-soft); }
html[data-esd-theme="dark"] .esd-slides-autocomplete .esd-slides-autocomplete-option code { background:var(--esun-ui-soft);color:var(--esun-ui-soft-ink); }
html[data-esd-theme="dark"] .esd-slides-autocomplete .esd-slides-autocomplete-option.is-content code { background:var(--esun-feedback-warn-bg);color:var(--esun-feedback-warn-ink); }

/* 0.32.34: Docs editor surfaces that are inserted after selecting a CRM client. */
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-client-selected,.esd-client-create>div,.esd-client-results,.esd-client-result,.esd-extra-field-row,.esd-block-picker,.esd-template-new) {
  border-color:var(--esun-ui-line);background:var(--esun-ui-raised);color:var(--esun-ui-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-client-selected :is(span,strong) { color:var(--esun-ui-ink)!important; }
html[data-esd-theme="dark"] .esd-portal-shell .esd-client-selected .button-link { color:var(--esun-ui-link)!important; }
html[data-esd-theme="dark"] .esd-portal-shell .esd-client-result { border-bottom-color:var(--esun-ui-line); }
html[data-esd-theme="dark"] .esd-portal-shell .esd-client-result:is(:hover,:focus-visible) { background:var(--esun-ui-soft);color:var(--esun-ui-soft-ink); }
html[data-esd-theme="dark"] .esd-portal-shell .esd-block-picker>span { color:var(--esun-ui-muted); }
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-totals-editor,.esd-grand-total) { border-color:var(--esun-ui-line);color:var(--esun-ui-ink); }
html[data-esd-theme="dark"] .esd-portal-shell .esd-free-autosave {
  background:var(--esun-feedback-ok-bg);color:var(--esun-feedback-ok-ink);
}
html[data-esd-theme="dark"] .esd-portal-shell .esd-free-autosave :is(strong,small,span,p) { color:inherit!important; }
html[data-esd-theme="dark"] .esd-portal-shell #esd-client-create-message:not(.is-error) { color:var(--esun-ui-success); }
html[data-esd-theme="dark"] .esd-portal-shell #esd-client-create-message.is-error { color:var(--esun-ui-danger); }
html[data-esd-theme="dark"] .esd-portal-shell .esd-block-remove {
  border-color:var(--esun-feedback-error-ink);background:var(--esun-feedback-error-bg);color:var(--esun-feedback-error-ink);
}
/* Retain intentional white paper and image previews, even inside a dark editor. */
html[data-esd-theme="dark"] .esd-portal-shell :is(.esd-builder-page,.esd-sheet-paper,.esd-paper-thumb) { color-scheme:light; }

/* Docs filters and editor selects: match the field, chosen value and menu arrow. */
html[data-esd-theme="dark"] .esd-portal-module-docs .esd-docs-filter-field>label { color:var(--esun-ui-ink,#f1f6ff); }
html[data-esd-theme="dark"] .esd-portal-module-docs :is(.esd-docs-filter-field>select,.esd-editor select,.esd-template-edit-grid select,.esd-builder-inspector select) {
  appearance:none;-webkit-appearance:none;
  border-color:var(--esun-ui-line,#4b6281)!important;
  background-color:var(--esun-ui-raised,#21334e)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d6e7ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-position:right 11px center!important;background-size:16px 16px!important;background-repeat:no-repeat!important;
  padding-right:35px!important;color:var(--esun-ui-ink,#f1f6ff)!important;color-scheme:dark;
}
html[data-esd-theme="dark"] .esd-portal-module-docs :is(.esd-docs-filter-field>select,.esd-editor select,.esd-template-edit-grid select,.esd-builder-inspector select):is(:hover,:focus) { border-color:var(--esun-ui-link,#b4d3ff)!important; }
html[data-esd-theme="dark"] .esd-portal-module-docs :is(.esd-docs-filter-field,.esd-editor,.esd-template-edit-grid,.esd-builder-inspector) select option { background:var(--esun-ui-panel,#17253b);color:var(--esun-ui-ink,#f1f6ff); }
html[data-esd-theme="dark"] .esd-portal-module-docs .esd-docs-filter-field input[type="search"] {
  border-color:var(--esun-ui-line,#4b6281)!important;background:var(--esun-ui-raised,#21334e)!important;color:var(--esun-ui-ink,#f1f6ff)!important;
}
html[data-esd-theme="dark"] .esd-portal-module-docs .esd-docs-filter-field input[type="search"]::placeholder { color:var(--esun-ui-muted,#bfcee3);opacity:1; }
html[data-esd-theme="dark"] .esd-portal-module-docs .esd-docs-filter-field .esd-search-field>span { color:var(--esun-ui-muted,#bfcee3); }
