/* The client workspace is scoped so the product pages keep their own scale. */
.cl-work{min-width:0;color:var(--ink,#172641);font-size:.95rem;line-height:1.45}
.cl-work h2,.cl-work h3,.cl-dialog h2,.cl-dialog h3{margin:0;letter-spacing:-.025em;font-weight:650}
.cl-work h2,.cl-dialog h2{font-size:clamp(1.35rem,2.1vw,1.8rem)}
.cl-work h3,.cl-dialog h3{font-size:1.04rem}
.cl-work small,.cl-muted,.cl-dialog small{color:#546379;font-size:.84rem}
.cl-work button,.cl-dialog button{font:inherit}
.cl-turn,.cl-actions,.cl-caption,.cl-title,.cl-tabs,.cl-row-name,.cl-status,.cl-progress-head{display:flex;align-items:center}
.cl-turn,.cl-progress-head{gap:12px;justify-content:space-between}
.cl-turn{margin-bottom:18px;flex-wrap:wrap}
.cl-actions,.cl-caption,.cl-title,.cl-status{gap:9px;flex-wrap:wrap}
.cl-title{gap:10px}.cl-actions{gap:7px}.cl-caption{gap:5px}
.cl-badge{background:#e8eefb;color:#364f82;border-radius:20px;padding:2px 8px;font-size:.8rem;font-variant-numeric:tabular-nums}
.cl-btn,.cl-linkbtn,.cl-iconbtn,.cl-stepbutton{border:1px solid #cbd4e4;border-radius:8px;background:#fff;color:#203557;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.875rem;line-height:1.3;min-height:37px;padding:7px 12px;font-weight:570;transition:background .16s ease,color .16s ease}
.cl-btn:hover,.cl-iconbtn:hover,.cl-stepbutton:hover{background:#eff4ff}
.cl-btn.cl-primary{background:#2855b5;border-color:#2855b5;color:white}.cl-btn.cl-primary:hover{background:#194395}
.cl-btn.cl-danger{background:#a73438;color:white;border-color:#a73438}
.cl-linkbtn{padding-inline:3px;border:0;color:#2551a5;background:transparent}
.cl-linkbtn:hover{text-decoration:underline;text-underline-offset:.18em}
.cl-btn:disabled{opacity:.52}
.cl-card{background:white;border:1px solid #d6deea;border-radius:13px;overflow:hidden}
.cl-cardhead{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;gap:8px;border-bottom:1px solid #e4e9f2}
.cl-scroll{overflow-x:auto}.cl-table{width:100%;border-collapse:collapse;font-size:.89rem;line-height:1.45}
.cl-table :is(td,th){padding:12px 15px;text-align:left;vertical-align:middle;border-bottom:1px solid #e6eaf0}
.cl-table th{color:#516078;background:#f6f8fc;font-size:.8rem;font-weight:620;white-space:nowrap;letter-spacing:0}
.cl-table tr:last-child td{border-bottom:0}.cl-table .cl-selected td{background:#edf3ff}
.cl-table tr.cl-selectable:hover td{background:#f3f6fd}.cl-table tr.cl-selectable{cursor:pointer}
.cl-pick{background:none;border:0;display:inline-flex;align-items:center;text-align:left;gap:10px;padding:3px 0;color:#172d52;font-weight:620}
.cl-bullet{flex:none;width:9px;height:9px;border-radius:50%;background:#167961;display:inline-block}
.cl-bullet.cl-warning,.cl-bullet.cl-cancelled{background:#be791b}.cl-bullet.cl-failed,.cl-bullet.cl-error{background:#b93748}.cl-bullet.cl-empty{background:#8792a4}
.cl-bullet.cl-running{background:#3d6fd7;box-shadow:0 0 0 3px #dce8ff}
.cl-status{display:inline-flex;gap:6px;white-space:nowrap}.cl-subline{display:block;color:#546379;font-size:.82rem;margin-top:3px}
.cl-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.82fr);gap:14px;align-items:start}
.cl-details{padding:18px;display:grid;gap:15px}
.cl-details :is(dl,dt,dd){margin:0}.cl-kv{display:grid;gap:8px}
.cl-kv>div{display:grid;grid-template-columns:minmax(83px,.72fr) minmax(0,1.28fr);gap:9px;align-items:baseline}
.cl-kv dt{color:#59677c;font-size:.82rem}.cl-kv dd{overflow-wrap:anywhere;font-size:.9rem}
.cl-rule{border-top:1px solid #e3e8f0;padding-top:12px}
.cl-emptybox{padding:28px 16px;text-align:center;color:#55657b}
.cl-stack{display:grid;align-content:start;gap:13px}.cl-stack>*{min-width:0}
.cl-tasktree{display:grid}.cl-folder{border:0;border-bottom:1px solid #e4eaf3;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding:13px 15px;min-width:0}.cl-folder:last-child{border-bottom:0}
.cl-folder[aria-pressed=true]{background:#edf3ff;color:#214a9b}
.cl-copy-preview{padding:13px 16px;background:#f6f8fc;border:1px solid #dce4ef;border-radius:9px;overflow-wrap:anywhere}
.cl-copy-preview strong,.cl-copy-preview small{display:block}.cl-copy-preview small{margin-top:5px}
.cl-note{margin-top:10px;border-inline-start:3px solid #7fa2da;padding:6px 12px;color:#425675;font-size:.86rem}
.cl-progress{padding:13px 15px;border-radius:12px;background:#edf3ff;border:1px solid #cbdaf7;margin-bottom:12px}
.cl-progress progress{width:100%;accent-color:#305cb8;height:9px;display:block;margin:9px 0}
.cl-options{padding:5px 16px}.cl-option{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e2e8f1}.cl-option:last-child{border:0}
.cl-option span{min-width:0}.cl-option small{display:block;margin-top:2px}.cl-option input{height:20px;width:20px;accent-color:#2b5dc6;flex:none}
.lab-page dialog.cl-dialog{max-width:min(590px,calc(100vw - 28px));width:100%;max-height:min(86vh,760px);padding:0;border:1px solid #cbd5e4;border-radius:15px;box-shadow:0 20px 70px #11264445;color:var(--ink,#192a47);font-family:inherit;line-height:1.45;background:white;overflow:auto}
.cl-dialog::backdrop{background:#12213978}.cl-dialog h2{font-size:1.36rem}
.cl-dialog-head,.cl-dialog-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 20px;background:white}
.cl-dialog-head{border-bottom:1px solid #dce3ed}.cl-dialog-foot{border-top:1px solid #dce3ed;justify-content:flex-end;flex-wrap:wrap}.cl-dialog-body{padding:18px 20px}
.cl-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}
.cl-field{display:grid;gap:5px;font-weight:560;font-size:.88rem;color:#364660;align-content:start}.cl-wide{grid-column:1/-1}
.cl-field :is(input,select),.cl-filter{width:100%;min-width:0;border:1px solid #b8c5d6;padding:8px 10px;border-radius:7px;background:white;color:#1b2b47;font:inherit;line-height:1.5}
.cl-field small{font-weight:400}.cl-checkfield{display:flex;gap:8px;align-items:center;font-size:.88rem}.cl-checkfield input{accent-color:#2352b2;width:17px;height:17px}
.cl-steps{display:flex;gap:4px;padding:0;list-style:none;margin:0 0 15px}
.cl-steps li{flex:1;color:#58657a;border-top:3px solid #d9e1ee;padding-top:5px;font-size:.8rem}
.cl-steps li[aria-current=step]{color:#234e9e;border-color:#356cc4;font-weight:650}
.cl-headsearch{display:flex;align-items:center;gap:6px}.cl-headsearch input{max-width:210px}
.cl-tourbox{padding:12px 14px;border:1px solid #c7d8f9;border-radius:10px;background:#edf4ff;margin-bottom:12px}
.cl-tourbox p{color:#2c4369;margin-top:4px}.cl-tgt{outline:2px solid #537bc6;outline-offset:3px}
.cl-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:980px){.cl-split{grid-template-columns:1fr}.cl-kv{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cl-table :is(td,th){padding:9px}.cl-table .cl-extra{display:none}.cl-work .cl-turn{gap:10px}.cl-fields{grid-template-columns:1fr}.cl-kv{grid-template-columns:1fr}.cl-dialog-body,.cl-dialog-head,.cl-dialog-foot{padding:12px}.cl-cardhead{padding:12px}.cl-details{padding:14px}.cl-headsearch{width:100%}.cl-headsearch input{max-width:none}.cl-wide{grid-column:auto}.cl-option{gap:8px}}
@media(prefers-reduced-motion:reduce){.cl-work *, .cl-dialog *{transition:none!important;animation:none!important}}
.cl-tasktree{max-height:430px;overflow:auto;align-content:start}
.cl-recovery{grid-template-columns:minmax(180px,.8fr) minmax(0,1.35fr)}
.cl-copy-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font: .84rem/1.5 ui-monospace,monospace;color:#344768}
.cl-log{margin:0;padding:0 0 0 1.4rem;list-style-type:decimal;color:#4a5b74;font-size:.86rem}
.cl-log li{padding:.22rem 0}.cl-log li::marker{font-size:.77rem;color:#687995}
.cl-tabs{border:1px solid #d5deed;background:#f3f6fb;padding:3px;border-radius:8px;gap:3px}
.cl-tabs button{border:0;border-radius:5px;background:none;color:#425471;padding:5px 11px;font-size:.86rem}
.cl-tabs button[aria-pressed=true]{background:white;box-shadow:0 1px 3px #162c542e;color:#193e89}
.cl-restore-fields{display:grid;gap:13px;margin-top:12px}
.cl-tutorial-link{margin-top:16px}.cl-tutorial-link button{font-size:.875rem}
.cl-link{color:#2c55a0}.cl-caption select{max-width:100%;padding:6px;border:1px solid #bbc9dd;color:inherit;background:white;border-radius:6px}
@media(max-width:850px){.cl-recovery{grid-template-columns:1fr}}
.cl-memory{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#edf3ff;border-radius:8px;color:#294a83}.cl-memory small{display:block;color:#415675;margin-top:3px}
.cl-field textarea{resize:vertical;min-height:110px;width:100%;border:1px solid #b8c5d6;border-radius:8px;padding:8px 10px;background:white;color:#1b2b47;font:inherit}

/* CUSTOS 1.7.0. Dimensions and colours follow MainWindow.axaml and its default Material 3 palette. */
@font-face{font-family:CustosClient;src:url('fonts/client-Roboto-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:CustosClient;src:url('fonts/client-Roboto-Medium.woff') format('woff');font-weight:500 900;font-display:swap}
#lab-panel[data-app=client]{min-width:0}
.cl-work,.lab-page .cl-dialog{--cw-frame:#eee;--cw-pane:#f9f9f9;--cw-line:#c7c6c8;--cw-ink:#191a1c;--cw-soft:#45464c;--cw-select:#dee3fa;--cw-accent:#4b5e98;font:400 .85rem/1.35 CustosClient,Roboto,Arial,sans-serif;letter-spacing:normal;color:var(--cw-ink);color-scheme:light}
.cl-work{container-type:inline-size;background:var(--cw-frame);padding:0 12px;min-width:0}
.cl-work :is(h2,h3,h4),.cl-dialog :is(h2,h3){font-family:inherit;letter-spacing:0;font-weight:500;line-height:1.28;margin:0}
.cl-work :is(small,button,input,select),.lab-page .cl-dialog :is(button,input,select){font-family:inherit}
.cw-toolbar,.cw-fab,.cw-tool,.cw-statusbar,.cw-title,.cw-tabs,.cw-filters,.cw-card header,.cw-pick,.cw-tag,.cw-logrow,.cw-dialogbar{display:flex;align-items:center}
.cw-toolbar{height:56px;gap:0;position:relative;z-index:3;min-width:0}
.cw-flex{flex:1}.cw-edit-tools{display:flex}.cw-pop{position:relative}.cw-more{display:none}
.cw-tool,.cw-fab>button,.cw-tabs>button,.cw-menu button,.cw-table th button,.cw-pick,.cw-logrow,.cw-history button{border:0;background:transparent;color:inherit;margin:0;cursor:pointer}
.cl-work .cw-tool{font-size:.77rem;line-height:1.1;font-weight:500;min-width:48px;width:clamp(50px,6.65cqw,86px);padding:2px 0;gap:1px;flex-direction:column;justify-content:center;min-height:44px;color:var(--cw-soft);border-radius:8px}
.cw-tool>span{display:flex;align-items:center;justify-content:center;min-width:38px;height:24px;border-radius:20px}
.cl-work .cw-tool:hover:not(:disabled)>span,.cw-tabs>button:hover,.cw-table th button:hover,.cw-logrow:hover,.cw-menu button:hover:not(:disabled){background:color-mix(in srgb,var(--cw-ink) 8%,transparent)}
.cw-tool[aria-pressed=true]>span,.cw-filters label:has(input:checked){background:var(--cw-select)}.cw-tool:disabled,.cw-menu button:disabled{opacity:.42;cursor:default}
.cw-tool .cl-glyph{width:20px;height:20px}.cw-tool[data-act=run] .cl-glyph{color:#006d51}.cw-tool[data-act=stop] .cl-glyph{color:#ba1a1a}
.cw-sep{width:1px;height:28px;background:var(--cw-line);margin:0 6px;flex-shrink:0}
.cw-fab{background:#dce1ff;color:#30416c;border-radius:12px;box-shadow:0 1px 3px #0004;margin-right:8px;height:40px}
.cl-work .cw-fab .cw-tool{width:auto;min-width:0;flex-direction:row;font-size:.88rem;color:inherit;gap:8px;min-height:40px;padding:0 13px}.cw-fab .cw-tool>span{min-width:0}
.cl-work .cw-fab>button+button{border-left:1px solid #bec3da;height:24px;padding:2px 8px;display:grid;place-items:center}.cw-fab>button:hover:not(:disabled){background:#00000008}
.cw-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:4;display:grid;min-width:235px;padding:6px;border-radius:8px;background:var(--cw-pane);box-shadow:0 4px 15px #18192538;color:var(--cw-ink)}.cw-menu.cw-endmenu{right:0;left:auto}
.cl-work .cw-menu button{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;border-radius:5px;width:auto;gap:9px;padding:8px 10px;text-align:left;font:inherit;min-height:34px}
.cw-upper{display:grid;grid-template-columns:minmax(0,1fr) 12px clamp(270px,30%,350px);min-height:300px;height:clamp(325px,35vw,460px)}.cw-upper.cw-nocard{grid-template-columns:1fr}
.cw-pane{border-radius:20px;background:var(--cw-pane);overflow:hidden;min-width:0}
.cw-list{padding:0 8px 6px;display:flex;flex-direction:column}.cw-title{gap:8px;padding:7px 8px 2px}.cw-title h2{font-size:1rem}
.cw-title>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:20px;background:var(--cw-select);font-size:.76rem;color:#374565}
.cw-grip{display:grid;place-items:center}.cw-grip::after{content:'';border-radius:10px;background:#a5a4a7}.cw-grip.vertical::after{width:4px;height:44px}.cw-grip.horizontal::after{height:4px;width:46px}.cw-grip.horizontal{height:8px}
.cw-table-scroll,.cw-bottom-body{overflow:auto;overscroll-behavior:contain}.cw-table-scroll{flex:1;min-height:0;scrollbar-width:thin}
.cw-table,.cw-history{width:100%;border-spacing:0;border-collapse:separate;table-layout:fixed;font-size:.825rem;text-align:left;color:var(--cw-ink)}.cw-table{min-width:1046px}.cw-table th,.cw-history th{font-weight:500;color:var(--cw-soft);white-space:nowrap;line-height:27px;border-bottom:1px solid var(--cw-line);position:sticky;top:0;background:var(--cw-pane);z-index:1}
.cw-table :is(td,th),.cw-history :is(td,th){padding:0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-table th button{display:inline-flex;align-items:center;gap:3px;font:inherit;padding:0;border-radius:4px}.cw-table th .cl-glyph{width:16px;height:16px}
.cw-table td{height:30px}.cw-table tr:first-child td{border-top:3px solid transparent;background-clip:padding-box}.cw-table tbody tr,.cw-history tbody tr{cursor:pointer}.cw-selected td,.cw-logrow.cw-selected{background:var(--cw-select)}.cw-table tr:hover:not(.cw-selected) td,.cw-history tbody tr:hover{background:#e9e9ea}.cw-table td:first-child{border-radius:18px 0 0 18px}.cw-table td:last-child{border-radius:0 18px 18px 0}
.cw-pick{padding:0;gap:9px;min-height:27px;max-width:100%;font-weight:500}.cw-pick span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-state,.cw-lead,.cw-level{display:grid;place-items:center;flex:none}.cw-state svg{height:21px;width:21px}.cw-success{--cw-status:#006d51;--cw-tone:#b0f1d5}.cw-failed{--cw-status:#ba1a1a;--cw-tone:#ffdad6}.cw-cancelled{--cw-status:#925800;--cw-tone:#ffddbb}.cw-off,.cw-empty{--cw-status:#78777b;--cw-tone:#e3e2e4}.cw-running{--cw-status:#4b5e98;--cw-tone:#dbe1ff}.cw-state,.cw-level{color:var(--cw-status)}
.cw-tag{width:max-content;max-width:100%;gap:4px;border-radius:6px;background:var(--cw-tone);color:var(--cw-status);font-size:.78rem;font-weight:500;padding:2px 7px}.cw-tag .cl-glyph{width:13px;height:13px}.cw-tag.cw-empty{background:none;color:var(--cw-soft);padding-inline:0}
.cw-card{padding:10px 12px;overflow:auto;scrollbar-width:thin}.cw-card header{gap:12px;margin:0 0 7px}.cw-card header h3{font-size:1.13rem;font-weight:400;overflow-wrap:anywhere}.cw-lead{width:34px;height:34px;border-radius:50%;background:var(--cw-tone);color:var(--cw-status)}
.cw-card small,.cw-statusbar,.cw-work small{color:var(--cw-soft);font-size:.765rem}.cw-cardrow{display:grid;gap:1px;border-bottom:1px solid var(--cw-line);padding:4px 0;white-space:pre-line;overflow-wrap:anywhere}.cw-cardrow small{font-weight:500;letter-spacing:.015em}.cw-cardrow span{font-size:.835rem}.cw-error,.cw-progress{padding:8px 11px;background:#ffdad6;color:#93000a;display:flex;align-items:center;gap:8px;border-radius:10px}
.cw-progress{display:grid;gap:4px;background:var(--cw-select);color:var(--cw-ink);margin:8px 0}.cw-progress progress{width:100%;accent-color:var(--cw-accent)}
.cw-bottom{height:225px;display:flex;flex-direction:column}.cw-tabs{padding:0 10px;gap:2px;border-bottom:1px solid var(--cw-line);flex-wrap:wrap}.cl-work .cw-tabs>button{padding:0 10px;display:flex;align-items:center;gap:6px;min-height:35px;position:relative;color:var(--cw-soft);font-size:.83rem;font-weight:500}.cw-tabs>button[aria-pressed=true]{color:var(--cw-ink)}.cw-tabs>button[aria-pressed=true]::after{content:'';position:absolute;bottom:0;left:5px;right:5px;height:3px;background:var(--cw-accent);border-radius:4px 4px 0 0}.cw-tabs>button[aria-pressed=true] svg{color:var(--cw-accent)}
.cw-filters{margin-left:auto;gap:6px;padding:3px 0;flex-wrap:wrap}.cw-filters label,.cl-work .cw-filters select{border:1px solid var(--cw-line);border-radius:8px;color:var(--cw-soft);background:var(--cw-pane);padding:3px 8px;cursor:pointer;font-size:.79rem;min-height:26px}.cw-filters label:focus-within{outline:2px solid var(--cw-accent)}.cw-filters input{position:absolute;opacity:0;width:1px;height:1px}.cw-filters small{font-size:.72rem;color:var(--cw-soft)}
.cw-bottom-body{padding:3px 8px;flex:1;min-height:0;scrollbar-width:thin}.cw-logrow{border:0;text-align:left;width:100%;display:grid;grid-template-columns:150px 28px minmax(0,1fr);height:23px;padding:0 10px;font:inherit;border-radius:12px}.cw-logrow time{font-variant-numeric:tabular-nums;color:var(--cw-soft)}.cw-logrow b{font-weight:500}.cw-logrow .cw-level{justify-self:start}.cw-level svg{width:16px;height:16px}.cw-level.info{color:var(--cw-accent)}.cw-level.error{color:#ba1a1a}.cw-level.warning{color:#b06b00}.cw-logrow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cw-history{min-width:760px;table-layout:auto}.cw-history tbody button{font:inherit;text-align:start;padding:4px 0}.cw-history td{height:25px}
.cw-statusbar{gap:16px;flex-wrap:wrap;min-height:26px;padding:3px 2px;font-size:.735rem;color:var(--cw-soft);line-height:1.3}.cw-statusbar span,.cw-statusbar a{display:inline-flex;align-items:center;gap:5px}.cw-statusbar a{color:var(--cw-accent);margin-left:auto;font-weight:500;text-decoration:none}.cw-statusbar .cl-glyph{width:16px;height:16px}.cw-lamp{width:8px;height:8px;border-radius:50%;background:#006d51}.cw-lamp.cw-warn{background:#a25c00}
.cl-work .cl-tourbox{margin:0 -12px 6px;border-radius:0;font-family:inherit;font-size:.9rem}.cl-work .cl-tourbox .cl-turn{margin:0}.cl-work .cl-tourbox p{margin:4px 0 0}.cl-work .cl-note{margin:5px 0 0;padding:6px 12px;color:#303947;line-height:1.4}
.cw-secondary{max-width:860px;margin:2px auto 8px;background:var(--cw-pane);border:1px solid var(--cw-line);border-radius:12px;overflow:hidden;box-shadow:0 2px 10px #0002}.cw-dialogbar{padding:0 8px 0 15px;justify-content:space-between;border-bottom:1px solid var(--cw-line);height:38px}.cw-dialogbar>.cw-tool{height:28px;min-height:0;min-width:28px;width:28px;font-size:0}.cw-secondary-body{padding:12px 18px;max-height:645px;overflow:auto;min-height:240px}.cw-secondary .cl-card{border:0;background:transparent}.cw-secondary .cl-cardhead{border-bottom:1px solid var(--cw-line);padding:8px 0}.cw-secondary .cl-field{color:var(--cw-soft)}
@container (max-width:950px){.cw-toolbar .cw-edit-tools{display:none}.cw-toolbar .cw-more{display:block}.cw-logrow{grid-template-columns:138px 24px minmax(0,1fr)}.cw-upper{grid-template-columns:minmax(0,1fr) 9px 270px}.cw-filters small{display:none}}
@container (max-width:700px){.cw-toolbar{flex-wrap:wrap;min-height:56px;height:auto;gap:1px}.cw-toolbar>.cw-sep,.cw-toolbar>.cw-wide{display:none}.cw-toolbar .cw-tool{width:48px;font-size:.69rem}.cw-toolbar .cw-fab .cw-tool{width:auto;font-size:.82rem}.cw-upper{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:6px}.cw-list{min-height:135px}.cw-upper>.cw-grip{display:none}.cw-card{max-height:210px}.cw-bottom{height:245px}.cw-filters{margin-left:0;flex-basis:100%}.cw-tabs{padding:0 4px}.cw-statusbar{gap:5px 13px}.cw-statusbar a{margin-left:0}.cw-logrow{grid-template-columns:112px 20px minmax(0,1fr);font-size:.78rem;padding:0 4px}.cw-menu{min-width:185px}.cw-more .cw-menu{left:auto;right:0}.cl-work .cw-tabs>button{padding:0 6px;font-size:.77rem}.cw-secondary-body{padding:10px}}
@container (max-width:435px){.cw-toolbar .cw-tool{width:auto;min-width:33px;padding:2px 3px}.cw-fab{margin-right:2px}.cl-work .cw-fab .cw-tool{padding:0 7px;gap:3px}.cw-toolbar>.cw-tool[data-act=stop],.cw-toolbar>.cw-tool[data-act=pause]{display:none}.cw-menu.cw-endmenu{right:0}.cw-statusbar span:nth-child(3){display:none}.cw-filters label,.cl-work .cw-filters select{font-size:.74rem}}
.cw-choice,.cw-setting{display:flex;align-items:center;gap:8px;color:var(--cw-ink);font-size:.865rem}
.cw-choice input,.cw-form input[type=checkbox]{accent-color:var(--cw-accent);margin:0;width:17px;height:17px}.cw-form{display:grid;align-content:start;justify-items:start;gap:9px}.cw-form h3{margin-top:9px;border-bottom:1px solid var(--cw-line);width:100%;padding-bottom:4px}
.cw-form>select,.cw-form>input,.cw-setting :is(select,input){border:1px solid #87878e;border-radius:4px;background:var(--cw-pane);padding:7px 10px;max-width:100%;min-width:0;color:var(--cw-ink);font:inherit}
.cw-form>select,.cw-form>input{margin-left:24px;width:min(410px,calc(100% - 24px))}.cw-setting{display:grid;gap:4px;width:min(100%,410px)}.cw-form .cl-btn,.cl-dialog .cl-btn{border-radius:20px;min-height:33px;padding:5px 16px}.cw-form .cl-primary,.cl-dialog .cl-primary{background:var(--cw-accent);border-color:var(--cw-accent);color:white}.cw-found{margin:4px 0;color:var(--cw-accent)}.cw-form-foot{border-top:1px solid var(--cw-line);display:flex;justify-content:flex-end;gap:7px;width:100%;margin-top:10px;padding-top:10px}.cw-recovered{background:#e8eaf3;border-radius:8px;width:100%;padding:8px 10px}.cw-recovered summary{cursor:pointer}.cw-recovered button{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:5px;color:var(--cw-accent);overflow-wrap:anywhere;text-align:start}
.cl-dialog:has(.cw-runline){width:min(900px,92vw);max-width:92vw}.cw-logtools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.cw-runlines{overflow:auto;min-height:140px;max-height:300px;padding:4px;background:#f7f7f7;border-radius:12px}.cw-runline{display:grid;padding:3px 8px;grid-template-columns:145px 24px 1fr}.cw-runline[hidden]{display:none}.cw-runline .cw-level{justify-self:start}.cw-setting select:disabled,.cw-form input:disabled,.cw-form select:disabled{opacity:.55}.cw-logtools input{max-width:220px}.cl-dialog .cw-logtools .cl-btn{margin-left:auto}
@media(max-width:540px){.cw-runline{grid-template-columns:105px 18px 1fr;font-size:.8rem}}
.cw-menu>b,.cw-menu>small{padding:1px 10px}.cw-menu>b{margin-top:5px}.cw-menu>small{color:var(--cw-soft);font-size:.76rem}.cw-menu.cw-endmenu{max-height:min(65vh,490px);overflow:auto}.cl-work[data-colour=graphite]{--cw-accent:#565b62;--cw-select:#dee2e8}.cl-work[data-colour=blue]{--cw-accent:#305e9f;--cw-select:#d5e4ff}.cl-work[data-colour=warm]{--cw-accent:#86533a;--cw-select:#ffe0cc}.cl-work[data-colour=sepia]{--cw-accent:#765e2b;--cw-select:#ffebbe}.cl-work[data-dark=true]{--cw-ink:#e4e2e5;--cw-soft:#c7c5ce;--cw-pane:#252527;--cw-line:#54545b;--cw-frame:#1b1b1e;--cw-select:#414961;--cw-accent:#b2c2ff;color-scheme:dark}.cl-work[data-dark=true] .cw-title>span,.cl-work[data-dark=true] .cw-found{color:var(--cw-ink)}.cl-work[data-dark=true] .cw-history tr:hover,.cl-work[data-dark=true] .cw-table tr:hover:not(.cw-selected) td{background:#36363b}.cl-work[data-dark=true] .cw-recovered{background:#323847}.cw-settings h3{margin-top:16px}.cw-settings h3:first-child{margin-top:0}.cw-settings>p,.cw-form .cw-found{margin:0}.cw-settings>small{color:var(--cw-soft);max-width:70ch}.cw-settings input[type=number]{width:120px}.cw-form-foot{position:sticky;bottom:-12px;background:var(--cw-pane);padding-block:8px}
.cw-upper{height:var(--cw-upper-height,clamp(325px,35vw,460px));grid-template-columns:minmax(0,1fr) 12px var(--cw-card-width,clamp(270px,30%,350px))}.cw-bottom{height:var(--cw-bottom-height,225px)}.cw-grip[role=separator]{touch-action:none}.cw-grip.vertical{cursor:col-resize}.cw-grip.horizontal{cursor:row-resize}.cw-grip:hover::after,.cw-grip:focus-visible::after{background:var(--cw-accent)}.cw-grip:focus-visible{outline:2px solid var(--cw-accent);outline-offset:-1px}
@container (max-width:700px){.cw-upper{display:grid;grid-template-columns:minmax(0,1fr);height:auto}.cw-bottom{height:245px}.cw-grip[role=separator]{display:none}.cw-upper{margin-bottom:6px}}
.cl-work{position:relative}.cw-context{position:absolute;z-index:6;top:auto;min-width:135px}.cw-statusbar{border:0;background:transparent}.cw-menu[role=menu] button:focus-visible{outline-offset:-2px}
.cw-layer-host{position:relative;display:grid;isolation:isolate;align-items:start}.cw-layer-host>*{grid-area:1/1;min-width:0}.cw-layer-host>.cw-secondary{position:relative;z-index:1;width:min(860px,96%);margin:8px auto 16px;box-shadow:0 6px 22px #0003}.cw-layer-host>.cw-inactive{pointer-events:none;opacity:.63;user-select:none}.cw-secondary .cw-dialogbar h2{font-size:.875rem;letter-spacing:0;font-weight:500}.cw-layer-host .cw-secondary-body{max-height:clamp(325px,50vw,590px)}
@container (max-width:700px){.cw-layer-host>.cw-secondary{width:100%;margin:4px 0}.cw-layer-host>.cw-inactive{display:none}.cw-layer-host .cw-secondary-body{max-height:min(65vh,520px)}}

.cl-tourbox .cl-turn { justify-content: flex-start; }
.cl-tourbox .cl-turn > .cl-linkbtn { margin-inline-start: auto; }
.cl-lesson-title:focus { outline: none; }

.cl-lesson-actions, .cl-lesson-nav, .cl-lesson-done,
.cw-monitor-review, .cw-monitor-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-lesson-actions { margin-top: 7px; }
.cl-lesson-nav { margin-inline-start: auto; }
.cl-lesson-nav .cl-btn, .cl-lesson-actions > .cl-btn {
  min-height: 31px;
  padding: 4px 12px;
}
.cl-lesson-done {
  gap: 2px;
  color: #186748;
  font-size: .77rem;
}
.cl-lesson-done svg { width: 15px; height: 15px; }
.cw-monitor-review {
  gap: 10px;
  padding: 10px 12px;
  border-inline-start: 3px solid var(--cw-accent);
  background: var(--cw-select);
  color: var(--cw-ink);
}
.cw-monitor-review > .cl-linkbtn { margin-inline-start: auto; }
.cw-monitor-review del { color: var(--cw-soft); }
.cw-monitor-state .cl-glyph { color: var(--cw-accent); }
.cw-settings label[for=cl-connection-line], .cw-settings #cl-connection-line { width: min(100%, 36rem); }
