/* Generated from legacy presentation layers. All colors reference appearance tokens. */
/* style.css */
html[data-theme=dark] :is(button:focus-visible,a:focus-visible){outline:3px solid var(--ds-border)}
html[data-theme=dark] :is(input,textarea,select){border:1px solid var(--ds-border-strong);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.sidebar){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.navtitle){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nav){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nav.active){background:var(--ds-surface)}
html[data-theme=dark] :is(.avatar){background:var(--ds-surface)}
html[data-theme=dark] :is(.topbar){background:var(--ds-brand-soft);color:var(--ds-secondary)}
html[data-theme=dark] :is(.dot){background:var(--ds-success-soft)}
html[data-theme=dark] :is(.btn){color:var(--primary-foreground)}
html[data-theme=dark] :is(.btn.secondary){background:var(--ds-brand-soft);color:var(--ds-brand);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.btn.danger){background:var(--ds-surface);color:var(--ds-danger)}
html[data-theme=dark] :is(.card){background:var(--ds-brand-soft);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.statbadge){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.empty .emptyicon){background:var(--ds-surface)}
html[data-theme=dark] :is(.setup){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.setup p){color:var(--ds-brand)}
html[data-theme=dark] :is(.badge){background:var(--ds-surface)}
html[data-theme=dark] :is(.badge.green){background:var(--ds-surface);color:var(--ds-success)}
html[data-theme=dark] :is(.badge.gray){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.badge.red){background:var(--ds-surface);color:var(--ds-danger)}
html[data-theme=dark] :is(.table th){color:var(--ds-secondary);background:var(--surface-elevated)}
html[data-theme=dark] :is(.inbox){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.contactitem.selected){background:var(--ds-surface)}
html[data-theme=dark] :is(.messages){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.bubble){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.bubble.out){background:var(--surface-elevated);border-color:var(--ds-border)}
html[data-theme=dark] :is(.overlay){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.modal){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.step){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.hint){background:var(--ds-surface);border:1px solid var(--ds-border-strong);color:var(--ds-brand)}
html[data-theme=dark] :is(.login){background:var(--ds-surface)}
html[data-theme=dark] :is(.loginbox){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(#toast){background:var(--ds-brand-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.errorbox){color:var(--ds-danger);background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.footer-note){color:var(--ds-secondary)}
/* upgrade.css */
html[data-theme=dark] :is(.nav.active,.avatar,.statbadge,.badge){background:var(--ds-danger-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.brand small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.setup,.hint){background:var(--ds-brand-soft);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.hint){color:var(--ds-brand)}
html[data-theme=dark] :is(.login){background:var(--ds-surface)}
html[data-theme=dark] :is(.tab){color:var(--ds-secondary)}
html[data-theme=dark] :is(.tab.active){color:var(--ds-danger);border-color:var(--ds-border)}
html[data-theme=dark] :is(.folder){color:var(--ds-brand)}
html[data-theme=dark] :is(.folder.active){background:var(--ds-danger-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.folder-title){color:var(--ds-secondary)}
html[data-theme=dark] :is(.automation-table){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.automation-table .table th){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.flowname){color:var(--ds-text)}
html[data-theme=dark] :is(.nodeicon){background:var(--ds-danger-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.counts){color:var(--ds-secondary)}
html[data-theme=dark] :is(.button-help){color:var(--ds-brand)}
html[data-theme=dark] :is(.templatecard){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.templatecard:hover){border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.builder-overlay){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.builderbar){border-bottom:1px solid var(--ds-border);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.builderbar input:focus){border-color:var(--ds-border)}
html[data-theme=dark] :is(.canvas-stage){background-color:var(--ds-brand-soft);background-image:radial-gradient(var(--ds-dot) 1px,transparent 1px)}
html[data-theme=dark] :is(.flow-node){border:1px solid var(--ds-border);background:var(--ds-brand-soft);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node.selected){border:2px solid var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node:hover){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.node-handle){background:var(--ds-danger-soft);border-bottom:1px solid var(--ds-border);color:var(--ds-danger)}
html[data-theme=dark] :is(.type-action .node-handle){background:var(--warning-soft);color:var(--warning);border-color:var(--ds-border)}
html[data-theme=dark] :is(.type-condition .node-handle){background:var(--ds-brand-soft);color:var(--ds-brand);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.type-delay .node-handle){background:var(--ds-danger-soft);color:var(--ds-danger);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.type-input .node-handle){background:var(--ds-success-soft);color:var(--ds-success);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.nodebody){color:var(--ds-brand)}
html[data-theme=dark] :is(.nodebutton){border-top:1px solid var(--ds-border);color:var(--ds-danger);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.port){border:2px solid var(--ds-border);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.port:hover,.port.connecting){background:var(--ds-danger-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(.nodefooter){color:var(--ds-secondary);border-top:1px solid var(--ds-border)}
html[data-theme=dark] :is(.edge-line){stroke:var(--ds-brand)}
html[data-theme=dark] :is(.edge-button){stroke:var(--ds-brand)}
html[data-theme=dark] :is(.edge-yes){stroke:var(--ds-success)}
html[data-theme=dark] :is(.edge-no){stroke:var(--ds-danger)}
html[data-theme=dark] :is(.edge-label){fill:var(--ds-surface)}
html[data-theme=dark] :is(.builder-inspector){border-left:1px solid var(--ds-border);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.builder-inspector label){color:var(--ds-brand)}
html[data-theme=dark] :is(.addblock){background:var(--ds-brand-soft);border:1px solid var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockmenu){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockmenu button:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.zoomtools){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.buildererror){color:var(--ds-danger);background:var(--ds-surface)}
html[data-theme=dark] :is(.builder-button){border:1px solid var(--ds-border-strong);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.previewphone){background:var(--ds-brand-soft);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.phonehead){background:var(--ds-brand-soft);border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.previewbubble){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.previewbubble.out){background:var(--ds-danger-soft)}
html[data-theme=dark] :is(.previewbubble small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.previewbutton){background:var(--ds-surface);border:1px solid var(--ds-border-strong);color:var(--ds-brand)}
html[data-theme=dark] :is(.previewinput input){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.previewinput button){color:var(--ds-danger)}
html[data-theme=dark] :is(.previewnote){color:var(--ds-brand);background:var(--ds-surface)}
html[data-theme=dark] :is(.detailsection h3){color:var(--ds-secondary)}
html[data-theme=dark] :is(.detailrow){color:var(--ds-secondary)}
html[data-theme=dark] :is(.detailrow strong){color:var(--ds-brand)}
html[data-theme=dark] :is(.inbox-tabs button){color:var(--ds-brand)}
html[data-theme=dark] :is(.inbox-tabs button.active){background:var(--ds-surface);color:var(--ds-danger)}
html[data-theme=dark] :is(.unread){background:var(--ds-danger-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.contactitem.unread-item strong){color:var(--ds-danger)}
html[data-theme=dark] :is(.bubble.out){background:var(--surface-elevated);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.messages .bubble a){color:var(--ds-danger)}
html[data-theme=dark] :is(.composer-area){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.composer-tools span){color:var(--ds-secondary)}
html[data-theme=dark] :is(.segmentbar){background:var(--ds-surface)}
html[data-theme=dark] :is(.segments button){border:1px solid var(--ds-border-strong);background:var(--ds-brand-soft);color:var(--ds-secondary)}
html[data-theme=dark] :is(.segments button.active){border-color:var(--ds-border);background:var(--ds-surface);color:var(--ds-danger)}
html[data-theme=dark] :is(.chartbar){background:var(--ds-brand)}
html[data-theme=dark] :is(.chartbar.out){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.chartlegend){color:var(--ds-secondary)}
html[data-theme=dark] :is(.swatch){background:var(--ds-brand)}
html[data-theme=dark] :is(.swatch.out){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.disclaimer){color:var(--ds-secondary)}
@media (max-width:700px){html[data-theme=dark] :is(.builder-inspector){box-shadow:var(--ds-shadow)}}
html[data-theme=dark] :is(.sidebar,.topbar,.card,.surface,.modal,.loginbox,.contactlist,.chat,.composer){background:var(--ds-brand-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(.sidebar){background:var(--ds-surface)}
html[data-theme=dark] :is(.btn:not(.secondary)){background:var(--ds-surface);box-shadow:var(--ds-shadow);color:var(--ds-text)}
html[data-theme=dark] :is(.btn.secondary){background:var(--ds-brand-soft);color:var(--ds-text);border-color:var(--ds-border)}
html[data-theme=dark] :is(.nav.active){background:var(--ds-danger-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.nav:hover,.conversation:hover){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.conversation.selected){background:var(--ds-danger-soft)}
html[data-theme=dark] :is(.builderbar,.builder-inspector,.builder-overlay){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.flow-node){background:var(--ds-brand-soft);border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node.selected){border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.nodebody){color:var(--ds-secondary)}
html[data-theme=dark] :is(.node-handle){background:var(--ds-brand-soft);color:var(--ds-danger);border-color:var(--ds-border)}
html[data-theme=dark] :is(.nodefooter){border-color:var(--ds-border)}
html[data-theme=dark] :is(.edge-line){stroke:var(--ds-danger)}
html[data-theme=dark] :is(.edge-button){stroke:var(--ds-danger)}
html[data-theme=dark] :is(.port){background:var(--ds-brand-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(.canvas-stage){background-color:var(--ds-brand-soft)}
html[data-theme=dark] :is(.builder-inspector label){color:var(--ds-secondary)}
html[data-theme=dark] :is(.builder-button){background:var(--ds-brand-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(input,textarea,select){background:var(--ds-brand-soft);border-color:var(--ds-border);color:var(--ds-text)}
html[data-theme=dark] :is(input:focus,textarea:focus,select:focus){border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.hint,.previewnote,.setup){background:var(--ds-brand-soft);border-color:var(--ds-border);color:var(--ds-secondary)}
html[data-theme=dark] :is(.bubble,.previewbubble){background:var(--ds-brand-soft);border-color:var(--ds-border);color:var(--ds-text)}
html[data-theme=dark] :is(.bubble.out,.previewbubble.out){background:var(--ds-danger-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(.phonehead){background:var(--ds-brand-soft);border-color:var(--ds-border)}
html[data-theme=dark] :is(.previewbutton){background:var(--ds-brand-soft);border-color:var(--ds-border);color:var(--ds-danger)}
html[data-theme=dark] :is(.flowname,.templatecard h3){color:var(--ds-text)}
html[data-theme=dark] :is(.templatecard:hover){border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.brand){color:var(--ds-text)}
html[data-theme=dark] :is(.badge,.statbadge){background:var(--ds-brand-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.table th){color:var(--ds-secondary)}
html[data-theme=dark] :is(.uploadzone){border:1px dashed var(--ds-border);background:var(--ds-surface)}
html[data-theme=dark] :is(.uploadzone strong){color:var(--ds-danger)}
html[data-theme=dark] :is(.uploadzone p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.uploadzone input::file-selector-button){background:var(--ds-danger-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.attached){color:var(--ds-success)}
html[data-theme=dark] :is(.attachment-preview){background:var(--ds-surface)}
html[data-theme=dark] :is(.urlalternative){color:var(--ds-secondary)}
html[data-theme=dark] :is(.messages){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.tab.active){color:var(--ds-danger);border-color:var(--ds-border)}
html[data-theme=dark] :is(.folder.active,.nodeicon){background:var(--ds-brand-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.login){background:var(--ds-surface)}
html[data-theme=dark] :is(.canvas-media){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.canvas-media span){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.badge.gray){background:var(--ds-brand-soft);color:var(--ds-secondary)}
html[data-theme=dark] :is(.builderbar input:focus){border-color:var(--ds-border)}
html[data-theme=dark] :is(.contactitem.selected){background:var(--ds-brand-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.contactitem.selected strong){color:var(--ds-text)}
html[data-theme=dark] :is(.contactitem.selected small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.contactitem:hover){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.inbox-tabs button.active){background:var(--ds-brand-soft);color:var(--ds-danger)}
html[data-theme=dark] :is(.welcome-card){border:1px solid var(--ds-border);background:var(--ds-surface)}
html[data-theme=dark] :is(.welcome-spark){color:var(--ds-danger)}
html[data-theme=dark] :is(.welcome-card small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.welcome-card h2){color:var(--ds-text)}
html[data-theme=dark] :is(.welcome-card p){color:var(--ds-secondary)}
/* pro.css */
html[data-theme=dark] :is(.execution-card){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.timeline li){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.timeline small,.resultrow small,.errorbox small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.sequence-item){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.sequence-panel p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.blockpalette){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.blockpalette small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.blockpalette button){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.bubble.activity){background:var(--surface-elevated);border:1px solid var(--ds-border);color:var(--muted,var(--ds-brand));box-shadow:none}
/* manychat.css */
html[data-theme=dark] :is(html,body){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(p){color:var(--ds-secondary)}
html[data-theme=dark] :is(small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.sidebar){background:var(--sidebar-background);border-right:1px solid var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.brand){color:var(--ds-text)}
html[data-theme=dark] :is(.brand small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.workspace){color:var(--ds-secondary);border-top:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.workspace strong){color:var(--ds-text)}
html[data-theme=dark] :is(.nav){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nav.active){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.nav:hover){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.sidefoot){border-top:1px solid var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.sidefoot small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.topbar){background:var(--ds-surface);color:var(--ds-text);border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.topright button){color:var(--ds-secondary)}
html[data-theme=dark] :is(.dot){background:var(--ds-success-soft);box-shadow:none}
html[data-theme=dark] :is(.heading){color:var(--ds-text)}
html[data-theme=dark] :is(.heading p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.btn,.btn:not(.secondary)){background:var(--ds-brand);color:var(--ds-text);border:1px solid var(--ds-border);box-shadow:none}
html[data-theme=dark] :is(.btn:hover,.btn:not(.secondary):hover){background:var(--ds-brand);border-color:var(--ds-border);box-shadow:none}
html[data-theme=dark] :is(.btn.secondary){background:var(--ds-surface);color:var(--ds-brand);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.btn.secondary:hover){background:var(--surface-elevated);border-color:var(--ds-border)}
html[data-theme=dark] :is(.btn.danger){background:var(--ds-surface);color:var(--ds-danger);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.textbtn,.link){color:var(--ds-brand)}
html[data-theme=dark] :is(.textbtn:hover){color:var(--ds-brand)}
html[data-theme=dark] :is(.btn:focus-visible,button:focus-visible,a:focus-visible){outline:2px solid var(--ds-border)}
html[data-theme=dark] :is(input,textarea,select){background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border-strong);box-shadow:none}
html[data-theme=dark] :is(input:focus,textarea:focus,select:focus){border-color:var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(input::placeholder,textarea::placeholder){color:var(--ds-secondary)}
html[data-theme=dark] :is(label){color:var(--ds-text)}
html[data-theme=dark] :is(.card,.surface,.templatecard,.automation-table){background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border-strong);box-shadow:none}
html[data-theme=dark] :is(.stathead){color:var(--ds-secondary)}
html[data-theme=dark] :is(.statnum){color:var(--ds-text)}
html[data-theme=dark] :is(.statbadge,.badge,.avatar,.nodeicon){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.badge.gray){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.badge.green){background:var(--ds-surface);color:var(--ds-success)}
html[data-theme=dark] :is(.badge.red){background:var(--ds-surface);color:var(--ds-danger)}
html[data-theme=dark] :is(.avatar){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.unread){background:var(--ds-brand-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.statbadge){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.empty .emptyicon){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.empty p,.button-help){color:var(--ds-secondary)}
html[data-theme=dark] :is(.grow strong,.flowname){color:var(--ds-text)}
html[data-theme=dark] :is(.grow small,.activity small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.listrow,.activity){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.listrow:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.welcome-card){box-shadow:none}
html[data-theme=dark] :is(.welcome-card small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.welcome-card h2){color:var(--ds-text)}
html[data-theme=dark] :is(.welcome-card p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.hint,.setup,.previewnote){background:var(--ds-surface);border:1px solid var(--ds-border-strong);color:var(--ds-brand)}
html[data-theme=dark] :is(.setup p){color:var(--ds-brand)}
html[data-theme=dark] :is(.chartbar,.swatch){background:var(--ds-brand)}
html[data-theme=dark] :is(.chartbar.out,.swatch.out){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.chartlegend){color:var(--ds-secondary)}
html[data-theme=dark] :is(.segments button){border-color:var(--ds-border-strong);color:var(--ds-secondary)}
html[data-theme=dark] :is(.segments button.active){background:var(--ds-surface);border-color:var(--ds-border);color:var(--ds-brand)}
html[data-theme=dark] :is(.segmentbar){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.templatecard h3){color:var(--ds-text)}
html[data-theme=dark] :is(.templatecard p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.templatecard:hover){border-color:var(--ds-border);background:var(--surface-elevated);box-shadow:none}
html[data-theme=dark] :is(.gridcards .flowbottom){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.uploadzone){background:var(--surface-elevated);border:1px dashed var(--ds-border)}
html[data-theme=dark] :is(.uploadzone strong){color:var(--ds-brand)}
html[data-theme=dark] :is(.uploadzone p){color:var(--ds-secondary)}
html[data-theme=dark] :is(.uploadzone input::file-selector-button){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.attached){color:var(--ds-success)}
html[data-theme=dark] :is(.urlalternative){color:var(--ds-secondary)}
html[data-theme=dark] :is(.errorbox){background:var(--ds-surface);border-color:var(--ds-border-strong);color:var(--ds-danger)}
html[data-theme=dark] :is(.execution-card){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.bcast-card){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.disclaimer,.footer-note){color:var(--ds-secondary)}
html[data-theme=dark] :is(.automation-subnav .tab){color:var(--ds-secondary)}
html[data-theme=dark] :is(.automation-subnav .tab.active){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.automation-subnav .tab:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.folder){border:1px dashed var(--ds-border-strong);color:var(--ds-secondary)}
html[data-theme=dark] :is(.folder.active){background:var(--ds-surface);color:var(--ds-brand);border-color:var(--ds-border)}
html[data-theme=dark] :is(.table th,.automation-table .table th){color:var(--ds-secondary)}
html[data-theme=dark] :is(.table td){border-color:var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.automation-table .table td){background:var(--ds-surface)}
html[data-theme=dark] :is(.flowname small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nodeicon){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.counts){color:var(--ds-secondary)}
html[data-theme=dark] :is(.inbox.v2){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.contactlist,.chat,.composer,.composer-area,.contact-inspector){background:var(--ds-surface);color:var(--ds-text);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.contactitem){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.contactitem:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.contactitem.selected){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.contactitem.selected strong){color:var(--ds-text)}
html[data-theme=dark] :is(.contactitem.selected small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.contactitem.unread-item strong){color:var(--ds-brand)}
html[data-theme=dark] :is(.inbox-tabs button){color:var(--ds-secondary)}
html[data-theme=dark] :is(.inbox-tabs button.active){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.messages){background:var(--ds-canvas)}
html[data-theme=dark] :is(.bubble,.previewbubble){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.bubble.out,.previewbubble.out){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.bubble small,.previewbubble small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.bubble.activity){color:var(--ds-secondary)}
html[data-theme=dark] :is(.chatheader){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.composer textarea){background:var(--ds-surface)}
html[data-theme=dark] :is(.composer-tools span){color:var(--ds-secondary)}
html[data-theme=dark] :is(.detailsection h3){color:var(--ds-secondary)}
html[data-theme=dark] :is(.detailrow){color:var(--ds-secondary)}
html[data-theme=dark] :is(.detailrow strong){color:var(--ds-text)}
html[data-theme=dark] :is(.contact-inspector){border-left:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.builder-overlay){background:var(--ds-surface)}
html[data-theme=dark] :is(.builderbar){background:var(--ds-surface);border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.builderbar input){color:var(--ds-text)}
html[data-theme=dark] :is(.builderbar input:focus){border-color:var(--ds-border)}
html[data-theme=dark] :is(.builder-status .badge){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.builder-inspector){background:var(--ds-surface);border-right:1px solid var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.canvas-stage){background:var(--ds-canvas)}
html[data-theme=dark] :is(.builder-inspector h2){color:var(--ds-text)}
html[data-theme=dark] :is(.builder-inspector h3){color:var(--ds-secondary)}
html[data-theme=dark] :is(.builder-inspector label){color:var(--ds-secondary)}
html[data-theme=dark] :is(.builder-inspector input,.builder-inspector textarea,.builder-inspector select){background:var(--ds-surface)}
html[data-theme=dark] :is(.builder-inspector textarea){border:1px dashed var(--ds-border-strong)}
html[data-theme=dark] :is(.builder-button,.sequence-item){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.sequence-panel h3){color:var(--ds-text)}
html[data-theme=dark] :is(.sequence-item input,.sequence-item textarea){background:var(--ds-surface)}
html[data-theme=dark] :is(.inspectorhead){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.flow-node){border:1px solid var(--ds-border-strong);background:var(--ds-surface);box-shadow:var(--ds-shadow);color:var(--ds-text)}
html[data-theme=dark] :is(.flow-node.selected){border:1px solid var(--ds-border);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node:hover){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.node-handle){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.type-trigger .node-handle){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.type-message .node-handle,.type-image .node-handle,.type-video .node-handle,.type-audio .node-handle,.type-file .node-handle,.type-input .node-handle){background:var(--surface-elevated);color:var(--ds-brand)}
html[data-theme=dark] :is(.type-action .node-handle){background:var(--warning-soft);color:var(--warning)}
html[data-theme=dark] :is(.type-condition .node-handle){background:var(--ds-success-soft);color:var(--ds-success)}
html[data-theme=dark] :is(.type-delay .node-handle){background:var(--surface-elevated);color:var(--ds-brand)}
html[data-theme=dark] :is(.type-randomizer .node-handle){background:var(--surface-elevated);color:var(--ds-brand)}
html[data-theme=dark] :is(.type-start_automation .node-handle){background:var(--surface-elevated);color:var(--ds-brand)}
html[data-theme=dark] :is(.nodebody){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nodefooter){color:var(--ds-secondary)}
html[data-theme=dark] :is(.nodebutton){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.flow-node .port){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.flow-node .port:hover){border-color:var(--ds-border);background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.edge-line){stroke:var(--ds-secondary)}
html[data-theme=dark] :is(.edge-yes){stroke:var(--ds-success)}
html[data-theme=dark] :is(.edge-no){stroke:var(--ds-danger)}
html[data-theme=dark] :is(.edge-button){stroke:var(--ds-brand)}
html[data-theme=dark] :is(.edge-label){fill:var(--ds-surface)}
html[data-theme=dark] :is(.canvas-media){background:var(--ds-surface)}
html[data-theme=dark] :is(.canvas-media span){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.addblock){background:var(--ds-brand-soft);color:var(--ds-text);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockpalette){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockpalette small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.blockpalette button){background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.blockpalette button:hover){background:var(--surface-elevated);color:var(--ds-brand)}
html[data-theme=dark] :is(.zoomtools){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:none;color:var(--ds-secondary)}
html[data-theme=dark] :is(.zoomtools button){color:var(--ds-secondary)}
html[data-theme=dark] :is(.previewphone){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.phonehead){background:var(--surface-elevated);color:var(--ds-secondary);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.previewbutton){background:var(--ds-surface);color:var(--ds-brand);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.previewbubble small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.overlay){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.modal){background:var(--ds-surface);color:var(--ds-text);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.modalhead){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.modalfoot){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.step){background:var(--ds-surface);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.checkline){color:var(--ds-secondary)}
html[data-theme=dark] :is(.login){background:var(--ds-canvas)}
html[data-theme=dark] :is(.loginbox){background:var(--ds-canvas);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.loginbox .brand){color:var(--ds-text)}
html[data-theme=dark] :is(.loginbox h1){color:var(--ds-text)}
html[data-theme=dark] :is(.loginbox p){color:var(--ds-secondary)}
html[data-theme=dark] :is(#toast){background:var(--ds-surface)}
html[data-theme=dark] :is(.loading){color:var(--ds-secondary)}
@media (max-width:700px){html[data-theme=dark] :is(.sidebar){border-right:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.builder-mobileswitch){color:var(--ds-brand)}
html[data-theme=dark] :is(.builder-inspector){border-right:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockmenu){background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.blockmenu button){color:var(--ds-text)}}
html[data-theme=dark] :is(.workspace){border-top:1px solid var(--ds-border-strong)}
/* final.css */
html[data-theme=dark] :is(.badge.blue){background:var(--ds-surface)}
html[data-theme=dark] :is(.badge.purple){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.iconbtn:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.successbox){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.successbox input){background:var(--ds-surface)}
html[data-theme=dark] :is(.disclaimer){color:var(--ds-secondary)}
html[data-theme=dark] :is(.code){background:var(--ds-brand-soft);color:var(--ds-text)}
html[data-theme=dark] :is(.segmented){background:var(--surface-elevated)}
html[data-theme=dark] :is(.segmented button){color:var(--ds-text)}
html[data-theme=dark] :is(.segmented button.active){background:var(--surface-elevated);color:var(--ds-text);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.kpi small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.kpi span){color:var(--ds-secondary)}
html[data-theme=dark] :is(.chart.wide .chartbar.out){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.chart.wide .chartbar.new){background:var(--ds-success-soft)}
html[data-theme=dark] :is(.swatch.new){background:var(--ds-success-soft)}
html[data-theme=dark] :is(.skeleton-row){background:var(--ds-surface)}
html[data-theme=dark] :is(.logtable tr.logerror){background:var(--ds-surface)}
html[data-theme=dark] :is(.logerr .reco){color:var(--ds-text)}
html[data-theme=dark] :is(.condrow){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.rulestep){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.rulestep h3 small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.weekdays label){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.autosave){color:var(--ds-secondary)}
html[data-theme=dark] :is(.flow-node.type-http_request .node-handle){background:var(--surface-elevated)}
html[data-theme=dark] :is(.flow-node.type-gif .node-handle,.flow-node.type-sticker .node-handle){background:var(--surface-elevated)}
html[data-theme=dark] :is(.minimap){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.minimap-node){background:var(--ds-surface)}
html[data-theme=dark] :is(.minimap-node.type-condition){background:var(--warning-soft)}
html[data-theme=dark] :is(.minimap-node.type-action){background:var(--warning-soft)}
html[data-theme=dark] :is(.minimap-node.type-trigger){background:var(--ds-success-soft)}
html[data-theme=dark] :is(.minimap-node.type-http_request){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.minimap-view){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.shortcuts-hint){color:var(--ds-secondary)}
html[data-theme=dark] :is(.profilefacts){color:var(--ds-secondary)}
html[data-theme=dark] :is(.profilefacts strong){color:var(--ds-text)}
html[data-theme=dark] :is(.note){background:var(--ds-surface);border:1px solid var(--ds-border)}
html[data-theme=dark] :is(.note p){color:var(--ds-text)}
html[data-theme=dark] :is(.note.legacy){background:var(--ds-surface);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.attachbtn){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.attachchip){background:var(--ds-surface)}
html[data-theme=dark] :is(.audiencecount){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.previewmedia){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.bot-avatar){border:1px solid var(--ds-border-strong)}
/* parity2.css */
html[data-theme=dark] :is(.group-subnav button){color:var(--ds-text)}
html[data-theme=dark] :is(.group-subnav button:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.group-subnav button.active){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.unpublished){color:var(--warning)}
html[data-theme=dark] :is(.chip){background:var(--ds-surface);border:1px solid var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.foldercard){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.foldericon){color:var(--ds-secondary)}
html[data-theme=dark] :is(.switch span){background:var(--ds-surface)}
html[data-theme=dark] :is(.switch span::after){background:var(--ds-surface)}
html[data-theme=dark] :is(.switch input:checked+span){background:var(--ds-success-soft)}
html[data-theme=dark] :is(.p2-menu){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.p2-menu button small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.p2-menu button:hover,.p2-menu button:focus){background:var(--surface-elevated)}
html[data-theme=dark] :is(.p2-menu hr){border-top:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.p2-pop){background:var(--ds-surface)}
html[data-theme=dark] :is(.p2-popbox){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.pickgrid h3){color:var(--ds-secondary)}
html[data-theme=dark] :is(.pickcard){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.pickcard:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.pickcard small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.savestate){color:var(--ds-success)}
html[data-theme=dark] :is(.crumbsep){color:var(--ds-secondary)}
html[data-theme=dark] :is(.trigger-row){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.trigger-row small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.newtrigger){border:1px dashed var(--ds-border-strong)}
html[data-theme=dark] :is(.triggeritem){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.textlike small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.chips-input){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.kwchip){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.steptitle input:hover,.steptitle input:focus){border-color:var(--ds-border-strong);background:var(--surface-elevated)}
html[data-theme=dark] :is(.steptitle span){color:var(--ds-secondary)}
html[data-theme=dark] :is(.node-toolbar){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node.type-note){background:var(--ds-surface);border-color:var(--ds-border)}
html[data-theme=dark] :is(.palette-cat>small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.blockpalette button[data-palette] small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.contentbtn){border:1px dashed var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.contentbtn small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.actrow){border:1px solid var(--ds-border);background:var(--ds-surface)}
html[data-theme=dark] :is(.charcount){color:var(--ds-secondary)}
html[data-theme=dark] :is(.inbox-folders){border-right:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.inbox-folders button){color:var(--ds-text)}
html[data-theme=dark] :is(.inbox-folders button.active){background:var(--ds-surface)}
html[data-theme=dark] :is(.inbox-folders button small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.inbox-folders .folder-title){color:var(--ds-secondary)}
html[data-theme=dark] :is(.lab){background:var(--c,var(--ds-surface))}
html[data-theme=dark] :is(.assignee){color:var(--ds-secondary)}
html[data-theme=dark] :is(.chipbtn){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.chipbtn.active){background:var(--ds-surface)}
html[data-theme=dark] :is(.labtoggle){border:1px solid var(--ds-border-strong);background:var(--ds-surface);color:var(--ds-secondary)}
html[data-theme=dark] :is(.labtoggle.on){background:var(--ds-surface)}
html[data-theme=dark] :is(.reminderbar){background:var(--ds-surface);border-bottom:1px solid var(--ds-border)}
html[data-theme=dark] :is(.slashmenu){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.slashmenu button.active){background:var(--ds-surface)}
html[data-theme=dark] :is(.slashmenu small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.settingspage .setrow){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.pro-section.danger){border:1px solid var(--ds-border)}
html[data-theme=dark] :is(.basiccard .basicrow){border-top:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.sidefoot[role=button]:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.with-folders .convtools){border-top:1px solid var(--ds-border-strong)}
/* parity2-side.css */
html[data-theme=dark] :is(.gpt-shell>.sidebar){background:var(--sidebar-background);border-right:1px solid var(--ds-border-strong);color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-logo){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-icon,.gpt-burger){color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-icon:hover,.gpt-burger:hover,.gpt-logo:hover){background:var(--surface-elevated);color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-shell .gpt-item,.gpt-shell .sidebar .nav){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-shell .gpt-item svg){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-shell .sidebar .nav .icon){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-shell .gpt-item:hover,.gpt-shell .sidebar .nav:hover){background:var(--sidebar-background);color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-shell .sidebar .nav.active){background:var(--sidebar-background);color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-item kbd){color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-section){color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-chat){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-chat:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.gpt-chat.active){background:var(--ds-surface)}
html[data-theme=dark] :is(.gpt-dot){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.gpt-shell .sidebar .gpt-foot:hover){background:var(--sidebar-background)}
html[data-theme=dark] :is(.gpt-foot small){color:var(--ds-secondary)}
@media (max-width:760px){html[data-theme=dark] :is(.gpt-shell>.sidebar){box-shadow:none}
html[data-theme=dark] :is(.gpt-shell.side-open>.sidebar){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.gpt-shell.side-open .gpt-scrim){background:var(--ds-surface)}}
html[data-theme=dark] :is(.gpt-search-wrap){background:var(--ds-surface)}
html[data-theme=dark] :is(.gpt-search){background:var(--ds-surface);box-shadow:var(--ds-shadow);color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-search-head){border-bottom:1px solid var(--ds-border-strong);color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-search-head input){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-search-head button){color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-search-head button:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.gpt-result){color:var(--ds-text)}
html[data-theme=dark] :is(.gpt-result:hover,.gpt-result:focus-visible){background:var(--surface-elevated)}
html[data-theme=dark] :is(.gpt-result small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.gpt-empty){color:var(--ds-secondary)}
html[data-theme=dark] :is(.lb){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.lb-tools){background:var(--ds-surface)}
html[data-theme=dark] :is(.lb-bar button,.lb-bar a){color:var(--ds-text)}
html[data-theme=dark] :is(.lb-bar button:hover,.lb-bar a:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.lb-draw.on){background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.lb-draw.on:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.lb-tools .lb-color){border:2px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.lb-tools .lb-color.on){outline:2px solid var(--ds-border-strong);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.lb-size i){background:var(--ds-surface)}
html[data-theme=dark] :is(.lb-size.on){background:var(--ds-surface)}
html[data-theme=dark] :is(.lb-sep){background:var(--ds-surface)}
html[data-theme=dark] :is(.lb-stage canvas){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.lb-loading){color:var(--ds-secondary)}
html[data-theme=dark] :is(.lb-send input){border:1px solid var(--ds-border-strong);background:var(--ds-surface);color:var(--ds-text)}
html[data-theme=dark] :is(.lb-send input::placeholder){color:var(--ds-secondary)}
html[data-theme=dark] :is(.wait-panel){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.wait-panel.on){border-color:var(--ds-border);background:var(--ds-surface)}
html[data-theme=dark] :is(.wait-toggle small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.wait-out){color:var(--ds-danger)}
/* parity3.css */
html[data-theme=dark] :is(.gpt-shell>.maincol){background:var(--ds-canvas)}
html[data-theme=dark] :is(.gpt-recent,.maincol,.subside-nav,.newmenu){scrollbar-color:var(--ds-border-strong) transparent}
html[data-theme=dark] :is(.gpt-recent:hover,.gpt-recent:focus-within){scrollbar-color:var(--ds-border-strong) transparent}
html[data-theme=dark] :is(.gpt-recent:hover::-webkit-scrollbar-thumb,.maincol::-webkit-scrollbar-thumb){background-color:var(--ds-canvas)}
html[data-theme=dark] :is(.gpt-shell .gpt-new){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.gpt-shell .gpt-new:hover){background:var(--surface-elevated);border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.side-collapsed .gpt-new){box-shadow:none}
html[data-theme=dark] :is(.gpt-shell>.subside){background:var(--ds-surface)}
html[data-theme=dark] :is(.subitem){color:var(--ds-brand)}
html[data-theme=dark] :is(.subitem svg){color:var(--ds-secondary)}
html[data-theme=dark] :is(.newmenu){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.newmenu button svg){color:var(--ds-secondary)}
html[data-theme=dark] :is(.switchbtn span){background:var(--ds-surface)}
html[data-theme=dark] :is(.switchbtn span::after){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.oc-back){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.oc){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.btn.danger){background:var(--ds-brand);border-color:var(--ds-border);color:var(--primary-foreground)}
html[data-theme=dark] :is(.btn.danger:hover){background:var(--ds-brand)}
html[data-theme=dark] :is(#edge-layer .edge-label){fill:var(--ds-brand-soft);stroke:var(--ds-text)}
html[data-theme=dark] :is(#flow-canvas.is-connecting .flow-node:not(.type-trigger):not(.connect-source)){outline:2px dashed var(--ds-border)}
html[data-theme=dark] :is(#flow-canvas.is-connecting .flow-node.connect-target){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(#flow-canvas.is-connecting .flow-node.connect-invalid){outline:2px dashed var(--ds-border)}
html[data-theme=dark] :is(.edge-pop){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.edge-pop button){color:var(--ds-danger)}
html[data-theme=dark] :is(.edge-pop button:hover,.edge-pop button:focus){background:var(--surface-elevated)}
html[data-theme=dark] :is(.blockpalette .bp-search){background:var(--ds-surface)}
html[data-theme=dark] :is(.blockpalette .bp-search:focus-within){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.blockpalette .bp-cat>small){color:var(--ds-secondary)}
html[data-theme=dark] :is(.bp-dragchip){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.drop-ghost){background:var(--ds-surface)}
html[data-theme=dark] :is(#canvas-stage.drop-ready){outline:2px dashed var(--ds-border)}
html[data-theme=dark] :is(.wait-panel.on){border-color:var(--ds-border)}
@media (max-width:760px){html[data-theme=dark] :is(.gpt-shell.side-collapsed>.sidebar .gpt-new){background:var(--sidebar-background)}
html[data-theme=dark] :is(.subtabs button){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.subtabs button.active){border-color:var(--ds-border)}}
html[data-theme=dark] :is(.builder-overlay .blockpalette){box-shadow:var(--ds-shadow);background:var(--ds-surface)}
html[data-theme=dark] :is(.p2-menu button[role=menuitem] svg){color:var(--ds-secondary)}
html[data-theme=dark] :is(.p2-menu button.danger-text svg){color:var(--ds-danger)}
html[data-theme=dark] :is(#send .mic){color:var(--ds-brand);background:var(--ds-surface)}
html[data-theme=dark] :is(#send .mic:hover){border-color:var(--ds-border)}
html[data-theme=dark] :is(.voicebar){background:var(--ds-surface)}
html[data-theme=dark] :is(.rec-dot){background:var(--ds-danger-soft)}
html[data-theme=dark] :is(.voice-level){background:var(--ds-surface)}
html[data-theme=dark] :is(.dchip){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.dchip:hover){border-color:var(--ds-border)}
html[data-theme=dark] :is(.dchip.active){border-color:var(--ds-border)}
html[data-theme=dark] :is(.dash-custom label){color:var(--ds-brand)}
html[data-theme=dark] :is(.dkpi){background:var(--surface-elevated)}
html[data-theme=dark] :is(.dkpi .delta.up){color:var(--ds-success)}
html[data-theme=dark] :is(.dkpi .delta.down){color:var(--ds-danger)}
html[data-theme=dark] :is(.skel){background:var(--ds-surface)}
html[data-theme=dark] :is(i.inbound){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.dleads-head){background:var(--surface-elevated)}
html[data-theme=dark] :is(.dlead){border-bottom:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.dlead .dtime){color:var(--ds-brand)}
html[data-theme=dark] :is(.wait-toggle.sub){border-top:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.reply-route){background:var(--ds-surface)}
html[data-theme=dark] :is(.ws-switch){background:var(--ds-surface)}
html[data-theme=dark] :is(.ws-switch:hover){border-color:var(--ds-border)}
html[data-theme=dark] :is(.ws-avatar){color:var(--ds-text)}
html[data-theme=dark] :is(.ws-field){color:var(--ds-brand)}
@media (max-width:760px){html[data-theme=dark] :is(.gpt-shell.side-collapsed .ws-switch){background:var(--ds-surface)}}
/* groups.css */
html[data-theme=dark] :is(.groups-overview .group-eyebrow){color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-tabs){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.groups-tabs button){color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-tabs button:hover){background:var(--surface-elevated)}
html[data-theme=dark] :is(.groups-tabs button[aria-current=page]){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-tabs span){background:var(--ds-surface)}
html[data-theme=dark] :is(.group-onboarding){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.group-onboarding strong){color:var(--ds-brand)}
html[data-theme=dark] :is(.group-onboarding ol){color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-page .card){border:1px solid var(--ds-border-strong);box-shadow:none}
html[data-theme=dark] :is(.group-editor summary){color:var(--ds-brand)}
html[data-theme=dark] :is(.group-editor summary:after){color:var(--ds-brand)}
html[data-theme=dark] :is(.group-editor[open] summary){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.groups-form input:not([type=checkbox]),.groups-form select,.groups-form textarea){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.groups-form input:focus,.groups-form textarea:focus,.groups-form select:focus){outline:2px solid var(--ds-border-strong);border-color:var(--ds-border)}
html[data-theme=dark] :is(.groups-form fieldset){border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.groups-form legend){color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-form fieldset>.checkline){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.groups-days .checkline){background:var(--ds-surface)}
html[data-theme=dark] :is(.group-step){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.group-step-title>span){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.groups-page .listrow){border-bottom:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.group-send-note){background:var(--ds-surface);color:var(--ds-brand)}
html[data-theme=dark] :is(.group-broadcast-item){background:var(--ds-surface)}
/* inbox-clean.css */
html[data-theme=dark] :is(.inbox-disclosure){color:var(--ds-brand)}
html[data-theme=dark] :is(.inbox-disclosure>summary){border:1px solid var(--ds-border-strong);background:var(--ds-surface)}
html[data-theme=dark] :is(.inbox-disclosure>summary:focus-visible){outline:2px solid var(--ds-border)}
html[data-theme=dark] :is(.inbox-primary-actions>.inbox-disclosure[open]>.inbox-disclosure-body){background:var(--ds-surface);border:1px solid var(--ds-border-strong);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.inbox-profile-section){border-top:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.inbox-profile-section>summary){color:var(--ds-brand)}
html[data-theme=dark] :is(.inbox-clean .inbox-search .inbox-disclosure>summary){background:var(--ds-surface)}
@media (max-width:1000px){html[data-theme=dark] :is(.inbox-clean .contact-inspector:not([hidden])){background:var(--ds-surface);box-shadow:var(--ds-shadow)}}
/* product-system.css */
html[data-theme=dark] :is(:is(button,a,summary):focus-visible){box-shadow:none}
html[data-theme=dark] :is(.btn:disabled){box-shadow:none}
html[data-theme=dark] :is(.btn,.btn.secondary){box-shadow:none}
html[data-theme=dark] :is(.btn:not(.secondary):not(.danger)){color:var(--ds-text)}
html[data-theme=dark] :is(.btn.secondary:hover:not(:disabled)){border-color:var(--ds-border-strong)}
html[data-theme=dark] :is(.btn.danger){border-color:var(--ds-border)}
html[data-theme=dark] :is(input,select,textarea){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(input:focus,select:focus,textarea:focus){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(input:disabled,select:disabled,textarea:disabled){box-shadow:none}
html[data-theme=dark] :is(input[type=checkbox],input[type=radio]){box-shadow:none}
html[data-theme=dark] :is(.gpt-shell>.sidebar){background:var(--sidebar-background)}
html[data-theme=dark] :is(.gpt-shell .gpt-new){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.gpt-shell .gpt-workspace){box-shadow:none}
html[data-theme=dark] :is(.card,.surface,.pro-section){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.welcome-card){box-shadow:none}
html[data-theme=dark] :is(.dchip.active,.segments button.active){border-color:var(--ds-border)}
html[data-theme=dark] :is(.skel){background:var(--ds-hover)}
html[data-theme=dark] :is(.table th,.automation-table .table th){background:var(--surface-elevated)}
html[data-theme=dark] :is(.table tbody tr:hover td){background:var(--surface-elevated)}
html[data-theme=dark] :is(.folder.active){border-color:var(--ds-border)}
html[data-theme=dark] :is(.hint,.disclaimer,.group-onboarding){background:var(--ds-surface);border:1px solid var(--ds-border-strong)}
html[data-theme=dark] :is(.errorbox){border:1px solid var(--ds-border)}
html[data-theme=dark] :is(.uploadzone){background:var(--surface-elevated)}
html[data-theme=dark] :is(.modal,.p2-popbox,.confirmbox){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.p2-pop,.modalbg){background:var(--ds-brand-soft)}
html[data-theme=dark] :is(.p2-menu,.newmenu,.workspace-menu,.account-menu){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.inbox-clean .messages){background:var(--ds-canvas)}
html[data-theme=dark] :is(.bubble){background:var(--surface-elevated)}
html[data-theme=dark] :is(.builderbar input){box-shadow:none}
html[data-theme=dark] :is(.flow-node){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.flow-node.selected){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.node-handle){background:var(--surface-elevated)}
html[data-theme=dark] :is(.bp-panel){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.loginbox){box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(#toast){background:var(--ds-brand-soft);color:var(--ds-text);box-shadow:var(--ds-shadow)}
/* builder-clean.css */
html[data-theme=dark] :is(.builder-clean #canvas-stage){background-color:var(--ds-canvas);background-image:radial-gradient(var(--ds-dot) 1px,transparent 1px)}
html[data-theme=dark] :is(.builder-paneltools){background:var(--ds-surface);box-shadow:var(--ds-shadow)}
html[data-theme=dark] :is(.builder-clean .panel-close){background:var(--ds-surface)}
html[data-theme=dark] :is(.builder-clean .blockpalette){box-shadow:var(--ds-shadow)!important}
html[data-theme=dark] :is(.builder-clean .zoomtools){box-shadow:var(--ds-shadow);background:var(--ds-surface)}
@media (max-width:760px){html[data-theme=dark] :is(.builder-clean .builder-inspector){box-shadow:var(--ds-shadow)}}
/* inbox-privacy.css */
