/* WOTTT CRM 04.55.2 r13 — Elegant Workflows Workspace
   Presentation only. NO controller/view, automation toggle, workflow action,
   RPC, RLS, timeline, provider-message, or Inbox changes. Scoped to workflows-shell. */
.workflows-shell{
  --wf-line:color-mix(in srgb,var(--ui-line,#dce4ed) 85%,#b9c8dd);
  --wf-ink:var(--ui-ink,#26364b);
  --wf-muted:var(--ui-muted,#66778e);
  --wf-surface:var(--ui-surface,#fff);
  --wf-soft:color-mix(in srgb,var(--ui-surface,#fff) 84%,#eaf1ff);
  --wf-shadow:0 5px 24px rgba(32,55,93,.055);
  background:var(--ui-bg,#f7f9fd);
}
/* Existing shell is flex, not grid. Fill remaining viewport without touching app rail. */
.workflows-shell>.ww-main{flex:1 1 0;min-width:0;width:0;max-width:none;height:100dvh;background:var(--ui-bg,#f7f9fd);color:var(--wf-ink)}
.workflows-shell .ww-title{position:relative;flex-shrink:0;gap:22px;padding:19px 25px 14px;background:var(--wf-surface);border-bottom:1px solid var(--wf-line)}
.workflows-shell .ww-title>div:first-child{min-width:0}
.workflows-shell .ww-title .eyebrow{display:block;color:var(--wf-muted);font-size:10px;letter-spacing:.105em;font-weight:780}
.workflows-shell .ww-title h1{display:flex;align-items:center;gap:10px;margin:5px 0 4px;font-size:23px;line-height:1.22;font-weight:790;letter-spacing:-.65px;color:var(--wf-ink)}
.workflows-shell .ww-title h1:before{content:'';width:6px;height:26px;border-radius:5px;background:linear-gradient(180deg,#5f87e6,#a477df);flex:none}
.workflows-shell .ww-title h1 span{padding:4px 9px;border-radius:999px;background:var(--ui-accent-soft,#eaf1ff);color:var(--ui-accent,#3269c6);font-size:11px;font-weight:750;letter-spacing:0}
.workflows-shell .ww-title p{color:var(--wf-muted);font-size:11px;line-height:1.5;max-width:820px}
.workflows-shell .ww-title-actions{gap:9px;flex:none;align-items:center}
.workflows-shell .ww-title-actions select{min-height:38px;min-width:196px;max-width:280px;background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:10px;padding:8px 11px;font-size:11px;color:var(--wf-ink)}
.workflows-shell .ww-title-actions .icon-button{width:36px;height:36px;border:1px solid var(--wf-line);border-radius:10px;background:var(--wf-surface);color:var(--wf-muted)}
.workflows-shell .ww-title-actions .icon-button:hover:not(:disabled){color:var(--ui-accent);border-color:var(--ui-accent)}
.workflows-shell .ww-tabs{display:inline-flex;align-items:center;gap:4px;margin-top:13px;padding:4px;background:var(--wf-soft);border:1px solid var(--wf-line);border-radius:11px;width:max-content;max-width:100%}
.workflows-shell .ww-tabs button{padding:8px 13px;color:var(--wf-muted);font-size:11px;font-weight:710;border-radius:8px;transition:background .12s ease,color .12s ease}
.workflows-shell .ww-tabs button.active{background:var(--wf-surface);color:var(--ui-accent,#3069ca);box-shadow:0 2px 8px rgba(47,79,135,.1)}
.workflows-shell .ww-tabs button:hover:not(.active):not(:disabled){color:var(--wf-ink);background:color-mix(in srgb,var(--wf-surface) 72%,transparent)}
.workflows-shell .ww-scroll{min-width:0;overflow:auto;padding:22px 25px 26px;background:radial-gradient(ellipse 60% 28% at 0 0,rgba(104,149,240,.07),transparent 83%),radial-gradient(ellipse 38% 25% at 100% 3%,rgba(174,125,210,.055),transparent 80%),var(--ui-bg,#f7f9fd);scrollbar-gutter:stable}
/* Queue overview — numbers are the existing server snapshot and buttons keep their original filters. */
.workflows-shell .ww-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.workflows-shell .ww-kpi{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:11px;overflow:hidden;min-width:0;min-height:99px;padding:15px 16px 14px;background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:14px;box-shadow:var(--wf-shadow);text-align:left;transition:border-color .14s ease,box-shadow .14s ease}
.workflows-shell .ww-kpi:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:5px;background:var(--wf-tint,#618ce4)}
.workflows-shell .ww-kpi:after{content:'';position:absolute;right:-23px;top:-28px;width:92px;height:92px;border-radius:50%;background:var(--wf-halo,#e6efff);z-index:-1;opacity:.8}
.workflows-shell .ww-kpi:nth-child(1){--wf-tint:#628af0;--wf-halo:#e7eeff}
.workflows-shell .ww-kpi:nth-child(2){--wf-tint:#9a7be0;--wf-halo:#eee7fc}
.workflows-shell .ww-kpi:nth-child(3){--wf-tint:#e09d4b;--wf-halo:#fff0db}
.workflows-shell .ww-kpi:nth-child(4){--wf-tint:#e87d80;--wf-halo:#ffebeb}
.workflows-shell .ww-kpi:nth-child(5){--wf-tint:#4cb398;--wf-halo:#ddf7ef}
.workflows-shell .ww-kpi span{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--wf-muted);font-weight:740;line-height:1.3}
.workflows-shell .ww-kpi span .ui-icon{width:18px;height:18px;min-width:18px;color:var(--wf-tint)}
.workflows-shell .ww-kpi strong{font-size:27px;line-height:1.05;letter-spacing:-.8px;font-weight:790;color:var(--wf-ink);font-variant-numeric:tabular-nums}
.workflows-shell .ww-kpi:hover:not(:disabled){border-color:color-mix(in srgb,var(--wf-tint) 42%,var(--wf-line));box-shadow:0 8px 28px rgba(32,55,93,.095)}
.workflows-shell .ww-kpi.selected{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent),0 8px 21px rgba(60,105,191,.09);background:var(--wf-surface)}
.workflows-shell .ww-scope{margin:12px 2px 16px;font-size:10px;line-height:1.5;color:var(--wf-muted)}
.workflows-shell .ww-filters{align-items:end;grid-template-columns:minmax(112px,1fr) minmax(130px,1.13fr) minmax(105px,1fr) minmax(230px,2fr) minmax(145px,1.12fr) auto;gap:10px;padding:15px;margin:0 0 15px;border:1px solid var(--wf-line);border-radius:13px;background:var(--wf-surface);box-shadow:var(--wf-shadow)}
.workflows-shell .ww-filter{min-width:0;gap:6px;font-size:10px;font-weight:700;color:var(--wf-muted)}
.workflows-shell .ww-filter :is(select,input){min-width:0;height:37px;padding:8px 10px;border:1px solid var(--wf-line);border-radius:9px;background:var(--wf-surface);color:var(--wf-ink);font-size:11px;font-weight:550}
.workflows-shell .ww-filter select{width:100%}
.workflows-shell .ww-search-box{height:37px;min-height:37px;min-width:0;padding:0 4px 0 10px;border:1px solid var(--wf-line);border-radius:9px;background:var(--wf-surface)}
.workflows-shell .ww-search-box>.ui-icon{width:15px;height:15px;color:var(--wf-muted);flex:none}
.workflows-shell .ww-search-box input{height:34px;padding:6px 8px!important;min-width:0;background:transparent!important;border:0!important;font-weight:500}
.workflows-shell .ww-search-box button{height:30px;flex:none;padding:4px 10px;color:var(--ui-accent);border-radius:6px;font-weight:700}
.workflows-shell .ww-reset{height:37px;padding:0 8px;font-size:10px;border-radius:8px}
.workflows-shell .ww-results-head{min-height:27px;margin-bottom:9px;padding:0 2px;font-size:11px;color:var(--wf-muted)}
.workflows-shell .ww-results-head strong{font-size:13px;color:var(--wf-ink)}
.workflows-shell .ww-refresh-state{font-size:10px;color:var(--wf-muted)}
/* Queue table with real progress chips. Keep all existing accessible controls and status semantics. */
.workflows-shell .ww-table{overflow:visible;background:transparent;border:0;border-radius:0;display:flex;flex-direction:column;gap:9px}
.workflows-shell .ww-head,.workflows-shell .ww-row{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(122px,.75fr) minmax(270px,1.5fr) minmax(160px,1fr) minmax(132px,.7fr);gap:14px;align-items:center;min-width:0}
.workflows-shell .ww-head{padding:7px 16px 4px;color:var(--wf-muted);background:transparent;font-size:10px;font-weight:740;letter-spacing:.035em}
.workflows-shell .ww-row{min-height:102px;padding:15px 16px;border:1px solid var(--wf-line);border-radius:13px;background:var(--wf-surface);box-shadow:0 3px 14px rgba(28,53,91,.035);transition:border-color .14s ease,box-shadow .14s ease}
.workflows-shell .ww-row:hover{border-color:color-mix(in srgb,var(--ui-accent) 23%,var(--wf-line));box-shadow:0 7px 20px rgba(36,68,125,.075)}
.workflows-shell .ww-customer,.workflows-shell .ww-owner,.workflows-shell .ww-followup{min-width:0}
.workflows-shell .ww-customer strong{font-size:13px;font-weight:760;color:var(--wf-ink)}
.workflows-shell .ww-customer small,.workflows-shell .ww-owner small,.workflows-shell .ww-followup small{font-size:10px;line-height:1.5;color:var(--wf-muted)}
.workflows-shell .ww-customer p{font-size:11px;margin-top:8px;color:var(--wf-muted);max-width:100%}
.workflows-shell .ww-channel{color:var(--wf-muted);font-size:10px}
.workflows-shell .ww-channel svg{width:14px;height:14px}
.workflows-shell .ww-owner strong,.workflows-shell .ww-followup strong{font-size:11px;font-weight:735;color:var(--wf-ink)}
.workflows-shell .ww-progress{min-width:0;display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px;align-items:center}
.workflows-shell .ww-progress strong{background:var(--ui-accent-soft,#ebf2ff);color:var(--ui-accent,#356ad4);font-size:11px;padding:5px 8px;border-radius:7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.workflows-shell .ww-progress span{font-size:10px;line-height:1.35;color:var(--wf-muted)}
.workflows-shell .ww-checks{gap:5px}
.workflows-shell .ww-check{padding:4px 6px;border-radius:6px;border:1px solid transparent;font-size:10px;font-weight:620}
.workflows-shell .ww-check small{font-size:9px}
.workflows-shell .ww-check .ui-icon{width:12px;height:12px}
.workflows-shell .ww-check.done{background:#e8f6ed;border-color:#d4eadb;color:#28744a}
.workflows-shell .ww-check.missing{background:#fff2eb;border-color:#f2dfd1;color:#975430}
.workflows-shell .ww-unread{background:var(--ui-accent-soft);color:var(--ui-accent);font-size:9px;font-weight:700;border-radius:20px;padding:3px 6px}
.workflows-shell .ww-actions{gap:7px}
.workflows-shell .ww-actions button{width:100%;min-height:34px;border-radius:8px;font-size:10px;font-weight:720;padding:7px 9px}
.workflows-shell .ww-actions .primary{box-shadow:0 3px 9px rgba(44,107,208,.14)}
.workflows-shell .ww-actions .quiet{background:var(--wf-surface);border:1px solid var(--wf-line);color:var(--wf-ink)}
.workflows-shell .ww-empty{border-radius:13px;border:1px solid var(--wf-line);background:var(--wf-surface);min-height:225px;box-shadow:var(--wf-shadow)}
.workflows-shell .ww-empty h2{color:var(--wf-ink)}
.workflows-shell .ww-empty p,.workflows-shell .ww-empty small{color:var(--wf-muted);font-size:11px;max-width:470px}
.workflows-shell .ww-footer{flex-shrink:0;min-height:47px;padding:10px 25px;background:var(--wf-surface);border-top:1px solid var(--wf-line);color:var(--wf-muted);font-size:10px}
.workflows-shell .ww-footer span:last-child{display:flex;gap:5px}
/* Automation editor, rules, run history — no changes to enabled/disabled actions. */
.workflows-shell .wwa-scroll{gap:16px}
.workflows-shell .wwa-engine,.workflows-shell .wwa-editor,.workflows-shell .wwa-confirm,.workflows-shell .wwa-rule,.workflows-shell .wwa-run-table{border:1px solid var(--wf-line);border-radius:14px;background:var(--wf-surface);box-shadow:var(--wf-shadow)}
.workflows-shell .wwa-engine{padding:19px 21px}
.workflows-shell .wwa-engine h2,.workflows-shell .wwa-toolbar h2,.workflows-shell .wwa-editor h2,.workflows-shell .wwa-confirm h2{font-size:17px;letter-spacing:-.25px;color:var(--wf-ink)}
.workflows-shell .wwa-engine p,.workflows-shell .wwa-toolbar p,.workflows-shell .wwa-editor header p,.workflows-shell .wwa-confirm>p{font-size:11px;color:var(--wf-muted);line-height:1.6}
.workflows-shell .wwa-safety{color:var(--ui-success,#337f59);gap:8px 16px;font-weight:630}
.workflows-shell .wwa-kpis{gap:11px;margin-top:15px}
.workflows-shell .wwa-kpis div{border:1px solid var(--wf-line);border-radius:10px;background:var(--wf-soft);padding:13px 14px;min-width:0}
.workflows-shell .wwa-kpis div:nth-child(5){background:color-mix(in srgb,var(--ui-danger-bg,#fff1f1) 80%,var(--wf-surface));}
.workflows-shell .wwa-kpis small{color:var(--wf-muted);font-size:10px;font-weight:690;letter-spacing:.055em}
.workflows-shell .wwa-kpis strong{color:var(--wf-ink);font-size:22px;font-variant-numeric:tabular-nums}
.workflows-shell .wwa-kpis .danger strong{color:var(--ui-danger,#ab4949)}
.workflows-shell .wwa-toolbar{align-items:center;gap:16px;padding:0 2px}
.workflows-shell .wwa-toolbar h2{margin:0 0 4px}
.workflows-shell .wwa-toolbar .primary{border-radius:9px;min-height:37px;font-size:11px}
.workflows-shell .wwa-rules{gap:11px}
.workflows-shell .wwa-rule{padding:17px 18px;border-left:4px solid #9faabe;grid-template-columns:minmax(0,1fr) auto;gap:17px}
.workflows-shell .wwa-rule.enabled{border-left-color:#41a67f}
.workflows-shell .wwa-rule-title{gap:9px;flex-wrap:wrap}
.workflows-shell .wwa-rule-title strong{font-size:13px;font-weight:760;color:var(--wf-ink)}
.workflows-shell .wwa-status{padding:5px 9px;border-radius:999px;background:var(--wf-soft);color:var(--wf-muted);font-size:9px;font-weight:780}
.workflows-shell .wwa-rule.enabled .wwa-status{background:#e5f6ed;color:#25764f}
.workflows-shell .wwa-rule-main>p{font-size:11px;margin:10px 0;color:var(--wf-muted)}
.workflows-shell .wwa-rule-path{gap:8px;font-size:11px;color:var(--wf-ink)}
.workflows-shell .wwa-rule-path>span:not(:nth-child(2)){border:1px solid var(--wf-line);border-radius:9px;padding:9px 11px;background:var(--wf-soft);line-height:1.5}
.workflows-shell .wwa-rule-path>span:nth-child(2){color:var(--ui-accent)}
.workflows-shell .wwa-rule-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}
.workflows-shell .wwa-rule-actions button{border-radius:8px;min-height:34px;padding:8px 11px;font-size:10px}
.workflows-shell .wwa-rule-meta{color:var(--wf-muted);gap:7px 13px;margin-top:12px;font-size:10px}
.workflows-shell .wwa-condition-summary{background:var(--wf-soft);padding:8px 10px;border-radius:8px;color:var(--wf-muted);line-height:1.5}
.workflows-shell .wwa-condition-summary b{color:var(--wf-ink)}
.workflows-shell .wwa-editor,.workflows-shell .wwa-confirm{padding:18px 20px}
.workflows-shell .wwa-field{gap:6px;font-size:11px;font-weight:650;color:var(--wf-muted)}
.workflows-shell .wwa-field :is(input,select,textarea){border:1px solid var(--wf-line);border-radius:9px;background:var(--wf-surface);color:var(--wf-ink);padding:9px 11px;font-size:12px}
.workflows-shell .wwa-condition-block{padding:15px;border:1px solid var(--wf-line);border-radius:11px;background:var(--wf-soft)}
.workflows-shell .wwa-action-help{padding:12px 13px;background:var(--wf-soft);border-radius:9px;color:var(--wf-ink)}
.workflows-shell .wwa-action-help p,.workflows-shell .wwa-condition-block p{color:var(--wf-muted)}
.workflows-shell .wwa-banner{border-radius:11px;padding:13px 15px;line-height:1.5}
.workflows-shell .wwa-banner.warning,.workflows-shell .wwa-warning-callout{background:var(--ui-note,#fff8e8);border:1px solid color-mix(in srgb,var(--ui-warning,#b08735) 35%,var(--wf-line));color:var(--ui-warning,#7a601e)}
.workflows-shell .wwa-banner.error,.workflows-shell .wwa-form-error{background:var(--ui-danger-bg,#fff1f1);border:1px solid color-mix(in srgb,var(--ui-danger,#a63c3c) 35%,var(--wf-line));color:var(--ui-danger,#9d3737)}
.workflows-shell .wwa-banner.success{background:color-mix(in srgb,var(--ui-success,#348d65) 12%,var(--wf-surface));border-color:color-mix(in srgb,var(--ui-success) 32%,var(--wf-line));color:var(--ui-success)}
.workflows-shell .wwa-confirm{border-left:4px solid #d8a65c}
.workflows-shell .wwa-warning-callout{padding:13px 14px;border-radius:10px}
.workflows-shell .wwa-form-actions{gap:11px}
.workflows-shell .wwa-form-actions button{min-height:36px;border-radius:9px}
.workflows-shell .wwa-run-table{overflow:hidden}
.workflows-shell .wwa-run-head,.workflows-shell .wwa-run-row{grid-template-columns:minmax(165px,1.25fr) minmax(190px,1.15fr) minmax(115px,.65fr) minmax(74px,.35fr) minmax(150px,.8fr);gap:14px}
.workflows-shell .wwa-run-head{background:var(--wf-soft);padding:13px 16px;font-size:10px;font-weight:760;color:var(--wf-muted)}
.workflows-shell .wwa-run-row{padding:15px 16px;min-height:72px;font-size:11px;border-top:1px solid var(--wf-line);color:var(--wf-ink)}
.workflows-shell .wwa-run-row strong{font-size:12px;color:var(--wf-ink)}
.workflows-shell .wwa-run-row small{font-size:10px;color:var(--wf-muted)}
.workflows-shell .wwa-run-row:hover{background:var(--wf-soft)}
.workflows-shell .wwa-run-status{padding:5px 8px;border-radius:8px;font-size:10px}
.workflows-shell .wwa-run-status.succeeded{background:#e6f6eb;color:#216c46}
.workflows-shell .wwa-run-status.failed{background:#fff0ee;color:#983d36}
.workflows-shell .wwa-run-status.skipped{background:var(--wf-soft);color:var(--wf-muted)}
.workflows-shell .wwa-run-status.running{background:var(--ui-accent-soft);color:var(--ui-accent)}
/* Focus, responsive composition and dark mode. */
.workflows-shell :is(button,select,input,textarea):focus-visible{outline:2px solid var(--ui-accent,#3478d7);outline-offset:2px}
.workflows-shell :is(button,select,input,textarea):disabled{cursor:not-allowed;opacity:.63}
@media(max-width:1370px){
  .workflows-shell .ww-head,.workflows-shell .ww-row{grid-template-columns:minmax(175px,1.2fr) minmax(113px,.65fr) minmax(230px,1.6fr) minmax(128px,.85fr) minmax(115px,.67fr);gap:10px}
  .workflows-shell .ww-kpi{padding:13px 12px;min-height:92px}
  .workflows-shell .ww-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .workflows-shell .ww-search{grid-column:1/span 2}
}
@media(max-width:1120px){
  .workflows-shell .ww-head{display:none}
  .workflows-shell .ww-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .workflows-shell .ww-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:15px;align-items:start}
  .workflows-shell .ww-row>div:nth-child(3){grid-column:1/-1}
  .workflows-shell .ww-row .ww-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-self:end}
  .workflows-shell .ww-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .workflows-shell .wwa-run-head{display:none}
  .workflows-shell .wwa-run-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflows-shell .wwa-run-row>div:last-child{grid-column:1/-1}
  .workflows-shell .wwa-rule{grid-template-columns:minmax(0,1fr)}
  .workflows-shell .wwa-rule-actions{justify-content:flex-start}
}
@media(max-width:760px){
  .workflows-shell>.ww-main{height:calc(100dvh - 54px)}
  .workflows-shell .ww-title{padding:14px 14px 11px;gap:12px}
  .workflows-shell .ww-title h1{font-size:19px}
  .workflows-shell .ww-title h1:before{height:23px}
  .workflows-shell .ww-title-actions{width:100%;max-width:100%}
  .workflows-shell .ww-title-actions select{min-width:0;max-width:none;flex:1}
  .workflows-shell .ww-title p{font-size:10px}
  .workflows-shell .ww-scroll{padding:13px 12px 17px}
  .workflows-shell .ww-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .workflows-shell .ww-kpi{min-height:86px}
  .workflows-shell .ww-kpi strong{font-size:23px}
  .workflows-shell .ww-kpi span{font-size:9px}
  .workflows-shell .ww-filters{padding:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflows-shell .ww-search{grid-column:1/-1}
  .workflows-shell .ww-table{grid-template-columns:minmax(0,1fr)}
  .workflows-shell .ww-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .workflows-shell .ww-footer{padding:10px 12px}
  .workflows-shell .ww-tabs{width:100%;overflow:auto}
  .workflows-shell .ww-tabs button{flex:1;padding:8px 9px}
  .workflows-shell .wwa-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflows-shell .wwa-engine,.workflows-shell .wwa-editor,.workflows-shell .wwa-confirm{padding:15px}
  .workflows-shell .wwa-form,.workflows-shell .wwa-condition-grid{grid-template-columns:minmax(0,1fr)}
  .workflows-shell .wwa-field.wide,.workflows-shell .wwa-form-actions.wide{grid-column:auto}
  .workflows-shell .wwa-rule{padding:14px}
  .workflows-shell .wwa-run-row{gap:12px}
}
@media(max-width:430px){
  .workflows-shell .ww-kpis{gap:7px}
  .workflows-shell .ww-kpi{padding:12px 10px}
  .workflows-shell .ww-filter{font-size:9px}
  .workflows-shell .ww-checks{gap:4px}
  .workflows-shell .ww-check{padding:3px 5px}
  .workflows-shell .ww-row{grid-template-columns:minmax(0,1fr)}
  .workflows-shell .ww-row>div:nth-child(3),.workflows-shell .ww-row .ww-actions{grid-column:auto}
  .workflows-shell .wwa-run-row{grid-template-columns:minmax(0,1fr)}
  .workflows-shell .wwa-run-row>div:last-child{grid-column:auto}
  .workflows-shell .wwa-rule-actions{display:flex;flex-wrap:wrap}
}
html[data-theme='dark'] .workflows-shell .ww-kpi:after{opacity:.15}
html[data-theme='dark'] .workflows-shell .ww-check.done,
html[data-theme='dark'] .workflows-shell .wwa-run-status.succeeded,
html[data-theme='dark'] .workflows-shell .wwa-rule.enabled .wwa-status{background:#163c32;border-color:#285f4b;color:#a6f0cb}
html[data-theme='dark'] .workflows-shell .ww-check.missing{background:#483120;border-color:#84513a;color:#ffd0ab}
html[data-theme='dark'] .workflows-shell .wwa-run-status.failed{background:#492b30;color:#ffb9bf}
html[data-theme='dark'] .workflows-shell .wwa-kpis div:nth-child(5){background:var(--ui-danger-bg)}
@media(prefers-reduced-motion:reduce){.workflows-shell .ww-kpi,.workflows-shell .ww-row,.workflows-shell .ww-tabs button{transition:none}}
