.ut-inline{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-block:1rem}.ut-inline input{flex:1;min-width:160px;width:auto;margin:0}.ut-inline .button{margin:0;white-space:nowrap}.ut-check-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 0;border-bottom:1px solid #e2eaf0}.ut-check-row .check{margin:0;flex:1;overflow-wrap:anywhere}.ut-check-row .ut-remove{margin:0;min-width:40px;padding:.3rem .6rem}.ut-label-editor{margin-top:1.2rem}.ut-label{display:inline-flex;align-items:center;gap:.5rem;padding:.3rem .7rem;border-radius:.5rem;background:var(--ui-hover,#e9f5f3);color:var(--ui-brand-text,#126367);max-width:100%;overflow-wrap:anywhere}.ut-label button{border:0;background:none;color:inherit;margin:0;padding:.15rem .3rem;font:inherit}.ut-file{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:.8rem 0;border-bottom:1px solid #e2eaf0;margin-bottom:1rem;overflow-wrap:anywhere}.ut-file span{color:#657d89}.ut-check-summary{list-style:none;padding:0}.ut-check-summary li{padding:.4rem 0}.ut-repeat-preview{padding:1rem;background:var(--ui-hover,#edf8f5);border-radius:.7rem;margin-block:1rem;color:var(--ui-brand-text,#126367)}.ut-bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-block:1rem 1.5rem}.ut-bulk-actions .button{margin:0}.ut-bulk-actions .check{margin:0}form[data-work-form]>.actions{margin-bottom:1.5rem}form[data-work-form] select,form[data-work-form] input{max-width:100%}[data-work-form] [hidden]{display:none!important}@media(max-width:650px){.ut-inline{align-items:stretch}.ut-inline input{flex-basis:100%}.ut-inline .button{width:100%}.ut-file{align-items:flex-start;flex-direction:column}}
.ut-tabs{display:flex;flex-wrap:wrap;gap:.65rem;margin-block:1rem}.ut-tabs .button{margin:0}.ut-tabs [aria-selected="true"]{background:var(--ui-accent,#126367);color:#fff;border-color:var(--ui-accent,#126367)}
.wl-picker{margin-block:1rem;padding:1rem;border:1px solid #9db5c3;border-radius:.7rem}.wl-picker summary{cursor:pointer;font-weight:700}.wl-choices,.wl-badges{display:flex;flex-wrap:wrap;gap:.5rem}.wl-choices{max-height:240px;overflow:auto;padding-block:.5rem}.wl-choices button{border:1px solid var(--ui-accent,#8bb3af);cursor:pointer;margin:0;font:inherit}.wl-choices [aria-pressed=true]{outline:2px solid var(--ui-accent,#087f80);outline-offset:1px}.wl-badges .ut-label{text-decoration:none;border:1px solid var(--ui-accent,#8bb3af)}.wl-color-0{background:var(--ui-hover,#dff2eb);color:var(--ui-brand-text,#125b4d)}.wl-color-1{background:#e6edff;color:#253f79}.wl-color-2{background:#f1e7ff;color:#66388b}.wl-color-3{background:#fff0d6;color:#795009}.wl-picker [hidden]{display:none!important}[data-theme=dark] .wl-picker{border-color:#657e8c}[data-theme=dark] .wl-color-0{background:var(--ui-accent,#19443b);color:var(--ui-brand-text,#bbf2df)}[data-theme=dark] .wl-color-1{background:#263d64;color:#d3e3ff}[data-theme=dark] .wl-color-2{background:#49305f;color:#edd5ff}[data-theme=dark] .wl-color-3{background:#503d20;color:#ffe2ae}[data-theme=dark] .wl-choices button{background:var(--ui-accent,#254944);color:var(--ui-brand-text,#d0f3eb);border-color:var(--ui-accent,#7ca6a0)}

.ut-preview-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.6rem 1rem}.ut-preview-list li{padding:.4rem 0;overflow-wrap:anywhere}.ut-preview-note{font-weight:700}
/* Stable per-label hues encoded as classes to preserve the existing CSP. */
.wl-h0-0{--wl-h0:0}
.wl-h0-1{--wl-h0:1}
.wl-h0-2{--wl-h0:2}
.wl-h0-3{--wl-h0:3}
.wl-h0-4{--wl-h0:4}
.wl-h0-5{--wl-h0:5}
.wl-h0-6{--wl-h0:6}
.wl-h0-7{--wl-h0:7}
.wl-h0-8{--wl-h0:8}
.wl-h0-9{--wl-h0:9}
.wl-h0-10{--wl-h0:10}
.wl-h0-11{--wl-h0:11}
.wl-h0-12{--wl-h0:12}
.wl-h0-13{--wl-h0:13}
.wl-h0-14{--wl-h0:14}
.wl-h0-15{--wl-h0:15}
.wl-h1-0{--wl-h1:0}
.wl-h1-1{--wl-h1:16}
.wl-h1-2{--wl-h1:32}
.wl-h1-3{--wl-h1:48}
.wl-h1-4{--wl-h1:64}
.wl-h1-5{--wl-h1:80}
.wl-h1-6{--wl-h1:96}
.wl-h1-7{--wl-h1:112}
.wl-h1-8{--wl-h1:128}
.wl-h1-9{--wl-h1:144}
.wl-h1-10{--wl-h1:160}
.wl-h1-11{--wl-h1:176}
.wl-h1-12{--wl-h1:192}
.wl-h1-13{--wl-h1:208}
.wl-h1-14{--wl-h1:224}
.wl-h1-15{--wl-h1:240}
.wl-h2-0{--wl-h2:0}
.wl-h2-1{--wl-h2:256}
.wl-h2-2{--wl-h2:512}
.wl-h2-3{--wl-h2:768}
.wl-h2-4{--wl-h2:1024}
.wl-h2-5{--wl-h2:1280}
.wl-h2-6{--wl-h2:1536}
.wl-h2-7{--wl-h2:1792}
.wl-h2-8{--wl-h2:2048}
.wl-h2-9{--wl-h2:2304}
.wl-h2-10{--wl-h2:2560}
.wl-h2-11{--wl-h2:2816}
.wl-h2-12{--wl-h2:3072}
.wl-h2-13{--wl-h2:3328}
.wl-h2-14{--wl-h2:3584}
.wl-h2-15{--wl-h2:3840}
.wl-h3-0{--wl-h3:0}
.wl-h3-1{--wl-h3:4096}
.wl-h3-2{--wl-h3:8192}
.wl-h3-3{--wl-h3:12288}
.wl-h3-4{--wl-h3:16384}
.wl-h3-5{--wl-h3:20480}
.wl-h3-6{--wl-h3:24576}
.wl-h3-7{--wl-h3:28672}
.wl-h3-8{--wl-h3:32768}
.wl-h3-9{--wl-h3:36864}
.wl-h3-10{--wl-h3:40960}
.wl-h3-11{--wl-h3:45056}
.wl-h3-12{--wl-h3:49152}
.wl-h3-13{--wl-h3:53248}
.wl-h3-14{--wl-h3:57344}
.wl-h3-15{--wl-h3:61440}
.wl-h4-0{--wl-h4:0}
.wl-h4-1{--wl-h4:65536}
.wl-h4-2{--wl-h4:131072}
.wl-h4-3{--wl-h4:196608}
.wl-h4-4{--wl-h4:262144}
.wl-h4-5{--wl-h4:327680}
.wl-h4-6{--wl-h4:393216}
.wl-h4-7{--wl-h4:458752}
.wl-h4-8{--wl-h4:524288}
.wl-h4-9{--wl-h4:589824}
.wl-h4-10{--wl-h4:655360}
.wl-h4-11{--wl-h4:720896}
.wl-h4-12{--wl-h4:786432}
.wl-h4-13{--wl-h4:851968}
.wl-h4-14{--wl-h4:917504}
.wl-h4-15{--wl-h4:983040}
.wl-h5-0{--wl-h5:0}
.wl-h5-1{--wl-h5:1048576}
.wl-h5-2{--wl-h5:2097152}
.wl-h5-3{--wl-h5:3145728}
.wl-h5-4{--wl-h5:4194304}
.wl-h5-5{--wl-h5:5242880}
.wl-h5-6{--wl-h5:6291456}
.wl-h5-7{--wl-h5:7340032}
.wl-h5-8{--wl-h5:8388608}
.wl-h5-9{--wl-h5:9437184}
.wl-h5-10{--wl-h5:10485760}
.wl-h5-11{--wl-h5:11534336}
.wl-h5-12{--wl-h5:12582912}
.wl-h5-13{--wl-h5:13631488}
.wl-h5-14{--wl-h5:14680064}
.wl-h5-15{--wl-h5:15728640}
.wl-h6-0{--wl-h6:0}
.wl-h6-1{--wl-h6:16777216}
.wl-h6-2{--wl-h6:33554432}
.wl-h6-3{--wl-h6:50331648}
.wl-h6-4{--wl-h6:67108864}
.wl-h6-5{--wl-h6:83886080}
.wl-h6-6{--wl-h6:100663296}
.wl-h6-7{--wl-h6:117440512}
.wl-h6-8{--wl-h6:134217728}
.wl-h6-9{--wl-h6:150994944}
.wl-h6-10{--wl-h6:167772160}
.wl-h6-11{--wl-h6:184549376}
.wl-h6-12{--wl-h6:201326592}
.wl-h6-13{--wl-h6:218103808}
.wl-h6-14{--wl-h6:234881024}
.wl-h6-15{--wl-h6:251658240}
.wl-h7-0{--wl-h7:0}
.wl-h7-1{--wl-h7:268435456}
.wl-h7-2{--wl-h7:536870912}
.wl-h7-3{--wl-h7:805306368}
.wl-h7-4{--wl-h7:1073741824}
.wl-h7-5{--wl-h7:1342177280}
.wl-h7-6{--wl-h7:1610612736}
.wl-h7-7{--wl-h7:1879048192}
.wl-h7-8{--wl-h7:2147483648}
.wl-h7-9{--wl-h7:2415919104}
.wl-h7-10{--wl-h7:2684354560}
.wl-h7-11{--wl-h7:2952790016}
.wl-h7-12{--wl-h7:3221225472}
.wl-h7-13{--wl-h7:3489660928}
.wl-h7-14{--wl-h7:3758096384}
.wl-h7-15{--wl-h7:4026531840}
.ut-label.wl-colored{--wl-h:calc((var(--wl-h0,0) + var(--wl-h1,0) + var(--wl-h2,0) + var(--wl-h3,0) + var(--wl-h4,0) + var(--wl-h5,0) + var(--wl-h6,0) + var(--wl-h7,0)) * 137.50776405003785);background:hsl(var(--wl-h) 72% 92%)!important;color:hsl(var(--wl-h) 58% 20%)!important;border:1px solid hsl(var(--wl-h) 60% 32%)!important}
[data-theme=dark] .ut-label.wl-colored{background:hsl(var(--wl-h) 42% 20%)!important;color:hsl(var(--wl-h) 75% 90%)!important;border-color:hsl(var(--wl-h) 58% 66%)!important}
.ut-label.wl-colored button{color:inherit!important;background:transparent!important}
.wl-choices .wl-colored[aria-pressed=true]{outline:3px solid hsl(var(--wl-h) 65% 34%);outline-offset:2px}
[data-theme=dark] .wl-choices .wl-colored[aria-pressed=true]{outline-color:hsl(var(--wl-h) 65% 76%)}

.ut-repeat-preview p,.ut-repeat-preview li{color:var(--ui-brand-text,#175c52)}.ut-repeat-preview{border:1px solid var(--ui-accent,#bddfd4)}[data-theme=dark] .ut-repeat-preview{background:var(--ui-accent,#163e37);border-color:var(--ui-accent,#417d6d);color:var(--ui-brand-text,#d8f4e9)}[data-theme=dark] .ut-repeat-preview p,[data-theme=dark] .ut-repeat-preview li{color:var(--ui-brand-text,#d8f4e9)}

.wd-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;padding:0}.wd-icon svg{width:18px;height:18px}.actions>form[data-work-confirm]{margin:0}

/* Keep selection and row actions visible while the middle columns scroll. */
.ut-list-table th:first-child,.ut-list-table td:first-child{position:sticky;inset-inline-start:0;z-index:2;min-width:56px;text-align:center;background:var(--ui-panel,#fff);box-shadow:-2px 0 4px #0001}
.ut-list-table th:last-child,.ut-list-table td:last-child{position:sticky;inset-inline-end:0;z-index:2;min-width:58px;text-align:center;background:var(--ui-panel,#fff);box-shadow:2px 0 4px #0001}
.ut-list-table thead th:first-child,.ut-list-table thead th:last-child{z-index:3;background:var(--ui-soft,#edf3f7)}
.ut-list-table td:first-child input[type=checkbox],.ut-bulk-actions [data-work-all]{width:auto;height:auto;display:inline-block;margin:0;vertical-align:middle;accent-color:var(--ui-accent,#006a65);cursor:pointer}
.ut-list-table td:first-child input:disabled,.ut-bulk-actions [data-work-all]:disabled{cursor:not-allowed;opacity:.45}
.ut-bulk-actions{flex-wrap:wrap}.ut-bulk-actions [data-work-selection-hint]{flex-basis:100%}

.ut-list-table .ut-unit{width:115px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-export-status{position:fixed;inset-inline-end:20px;bottom:20px;z-index:2000;max-width:min(400px,calc(100vw - 40px));padding:12px 16px;box-shadow:0 4px 20px #0002}[data-task-export][aria-busy=true]{opacity:.5;cursor:wait}
