/* WT14 — Cool, consistent image / media workspace chrome.
 * This layer changes presentation only. Pixel surfaces, crop geometry, waveform
 * canvases, transparency patterns, video controls and processing sizes stay native.
 * Loaded only for the registered non-Office tools, after their existing styles.
 */

/* Preview surround and file information. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-edit-canvas,.wt-crop-canvas,.wt-code-area,.wt-qrd-body,.wt-ex-list,.wt-oc-grid,.wt-oc-stage,.b4-preview,.wt-media-stage,.wt-rec-stage){background:#f5f8fd}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool.wt-media-tool .its-main,
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool.wt-rec-tool .its-main{background:#f5f8fd}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-edit-caption,.b4-status,.b4-note,.b4-original-hint,.wt-media-first,.wt-media-outname){color:var(--wt-muted,#526783)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-edit-caption{background:#fff;border-color:var(--wt-border,#d7e1ef);box-shadow:0 1px 3px rgba(31,57,96,.04)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-crop-wrap,.wt-edit-frame){box-shadow:0 7px 24px rgba(31,57,96,.13),0 0 0 1px rgba(76,100,137,.11)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-result-scroll.is-actual .wt-edit-frame{box-shadow:0 0 0 1px rgba(76,100,137,.11)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .b4-empty{color:var(--wt-muted,#526783);font-weight:500;line-height:1.8}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .b4-check{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .b4-range-label output{padding:1px 7px;border:1px solid #dee7f3;border-radius:6px;background:#f4f7fc;color:var(--wt-ink,#203657);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .b4-message{color:var(--wt-muted,#526783);background:#fff}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .b4-message.error{color:#a52c36;background:#fff1f2}

/* File queues: clear hierarchy and distinct waiting/running/done/error states. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-card{background:#fff;border-color:var(--wt-border,#d7e1ef);box-shadow:0 5px 18px rgba(31,57,96,.055)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-head{background:#fff;border-color:var(--wt-border,#d7e1ef)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-list{background:#f9fbfe;scrollbar-color:#c6d4e6 transparent}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item{background:#fff;border-color:#dce5f1;box-shadow:0 1px 3px rgba(31,57,96,.035);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item:hover{background:#fff;border-color:#b6c9e2;box-shadow:0 3px 9px rgba(31,57,96,.065)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item.is-running{background:var(--wt-tint,#eef2ff);border-color:#a5b4fc}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item.is-done{border-color:#bfdfd0;background:#fff}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item.is-error{border-color:#edbfc5;background:#fff7f8}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item-name{color:var(--wt-ink,#203657);font-size:13px}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-item-meta{color:var(--wt-muted,#526783);font-size:11.5px}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state{font-size:11px;letter-spacing:.01em}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state.wait{background:#edf3fb;color:#4c6382}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state.run{background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state.ok{background:#e9f7ef;color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state.err{background:#ffedf0;color:#a52c36}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-state.pause{background:#fff4dd;color:#825811}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-mini{border:1px solid #d7e1ef;border-radius:7px;background:#fff;color:#425f84;box-shadow:0 1px 2px rgba(31,57,96,.035);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .12s ease}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-mini:hover:not(:disabled){background:#f4f7fe;border-color:#a9bddb;color:var(--wt-accent,#4f46e5);box-shadow:0 3px 7px rgba(31,57,96,.07)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-mini:active:not(:disabled){transform:translateY(1px)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-mini.is-danger:hover:not(:disabled){background:#fff0f2;border-color:#e4afb7;color:#a52c36}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .ix-batch-mini:disabled{opacity:1;border-color:#e2e8f1;background:#f3f6fa;color:#8293aa;box-shadow:none}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-batch-error,.wt-qrd-warn){color:#a52c36}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-item-size i{color:#647a97}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-item-size .up{color:#85570c}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-item-size .down{color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-progress{background:#e8eef8}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-progress span{background:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-drop-more{background:#fff;border-color:#b9cbe3;color:#4c6382;border-radius:11px;box-shadow:0 1px 3px rgba(31,57,96,.025)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-drop-more:hover,
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-drop-more.dragging{border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5)}

/* Explicit format and canvas-tool buttons used by crop / decode / censor pages. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool){border-color:var(--wt-border,#d7e1ef);border-radius:10px;background:#fff;color:var(--wt-ink,#203657);box-shadow:0 1px 3px rgba(31,57,96,.045);font-weight:550;transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool):hover:not(:disabled):not(.active){border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5);box-shadow:0 3px 9px rgba(31,57,96,.07)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool).active{border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5);box-shadow:inset 0 0 0 .5px var(--wt-accent,#4f46e5);font-weight:650}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool):active:not(:disabled){transform:translateY(1px)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool):disabled{opacity:1;border-color:#dce5f1;background:#f3f6fa;color:#60748e;box-shadow:none;cursor:not-allowed}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.trio-format-grid button,.its-toolbar .its-tool):focus-visible{outline:2px solid var(--wt-accent,#4f46e5);outline-offset:3px}

/* Image presets and Base64 preview cards use the same hierarchy as AI writing. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card{border-color:#d7e1ef;background:#fff;box-shadow:0 1px 3px rgba(31,57,96,.035)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card span{color:var(--wt-muted,#526783);font-size:11px}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card:hover{background:#f8faff;border-color:#a9bddb;box-shadow:0 3px 9px rgba(31,57,96,.07)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card.active{border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff);box-shadow:inset 0 0 0 .5px var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-size-card.active :is(b,span){color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-fit-grid .ix-preset small{color:var(--wt-muted,#526783);opacity:1}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-fit-grid .ix-preset.active small{color:var(--wt-accent,#4f46e5);opacity:1}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ico-grid .ix-preset small{opacity:1}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-switch-row>span{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-convert-icons i{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-code-desc b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-code,.wt-b64-input){background:#fff;color:var(--wt-ink,#203657);border-color:#d7e1ef;box-shadow:inset 0 1px 2px rgba(31,57,96,.025)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-b64-card{background:#fff;border-color:#d7e1ef;box-shadow:0 4px 16px rgba(31,57,96,.045)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-b64-card.dragging{border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-b64-tools{border-color:#e2e9f3;color:var(--wt-muted,#526783)}

/* OCR, EXIF and QR recognition: data remains untouched; panels gain clarity. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-ex-item,.wt-qrd-item,.b4-result){background:#fff;border-color:#d7e1ef;box-shadow:0 3px 12px rgba(31,57,96,.045)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-item.is-ok{border-color:#bbdecb}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-chips span{background:#edf3fb;color:#445f82}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-chips span i{color:#587298}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-chips span.is-warn{background:#fff3dc;color:#825811}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-chips span.is-warn i{color:#9b690a}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-done{color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-table :is(th,td){border-color:#e6edf6}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-table th{background:#f8faff;color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-table td{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-table tr.is-warn :is(th,td){background:#fff7e9;color:#825811}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-ex-warn{color:#a14220}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-progress{background:var(--wt-tint,#eef2ff);border-color:#d6e2f0}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-progress-text{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-progress-text b{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-state{background:rgba(255,255,255,.97);color:#4c6382;box-shadow:0 1px 4px rgba(31,57,96,.15)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-state.is-ok{color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-state.is-run{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-oc-state.is-err{color:#a52c36}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-drop{background:#fff;border-color:#b9cbe3}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-drop.drag{background:var(--wt-tint,#eef2ff);border-color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-drop-icon{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-thumb{background:#f1f5fb;color:#607b9f}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-name{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-type span{background:#e9f7ef;color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-qrd-type em,.wt-qrd-fields dt){color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-fields dd{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-text{background:#f8faff;border-color:#dfe7f3;color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-msg{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-msg i{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-msg.is-bad i{color:#a52c36}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-del{color:#526783;background:#f4f7fc;border:1px solid #dce5f1}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-qrd-del:hover{color:#a52c36;background:#fff0f2;border-color:#e8b9c0}

/* Thumbnail controls stay legible over arbitrary user images. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-strip{background:#fff;border-color:#dfe7f3}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-thumb{background:#f1f5fb;border-color:#d4e0f0;box-shadow:0 2px 5px rgba(31,57,96,.05)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-thumb.is-over{box-shadow:0 0 0 3px #a5b4fc}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-thumb.is-active{border-color:var(--wt-accent,#4f46e5);box-shadow:0 0 0 2px var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-no{background:rgba(25,44,72,.88);color:#fff}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-acts button{background:rgba(255,255,255,.98);color:#344f74;box-shadow:0 1px 3px rgba(0,0,0,.12)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-acts button:hover{background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-add{background:#fff;border-color:#b9cbe3;color:var(--wt-accent,#4f46e5);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-mg-add:hover{background:var(--wt-tint,#eef2ff);border-color:var(--wt-accent,#4f46e5);box-shadow:0 3px 9px rgba(31,57,96,.065)}

/* Playback surfaces keep their original black/checker backgrounds. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-frame{box-shadow:0 8px 28px rgba(31,57,96,.15),0 0 0 1px rgba(76,100,137,.12)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-frame.is-audio{background:linear-gradient(145deg,#fff 0%,#f4f8ff 100%);box-shadow:0 6px 20px rgba(31,57,96,.08),0 0 0 1px #d7e1ef}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-audio-art i{background:linear-gradient(145deg,var(--wt-accent,#4f46e5),var(--wt-secondary,#2563eb));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 9px rgba(74,66,150,.16)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-audio-art b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-first i{color:var(--wt-info,#0e7490)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-nopreview{background:#fff;border-color:#b9cbe3;color:#526783;box-shadow:0 3px 12px rgba(31,57,96,.035)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-nopreview i{color:var(--wt-info,#0e7490)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-nopreview b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-list{background:#fff;border-color:#dfe7f3}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-list-head{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-list-head b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-row{border-color:#d7e1ef;background:#fff;box-shadow:0 1px 3px rgba(31,57,96,.025);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-row:hover{border-color:#a9bddb;background:#f8faff}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-row.is-active{border-color:var(--wt-accent,#4f46e5);background:var(--wt-tint,#eef2ff);box-shadow:inset 0 0 0 .5px var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-row>i{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-no{background:#e9eff9;color:#3f5b84}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-row.is-active .wt-media-no{background:var(--wt-tint-2,#e0e7ff);color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-name{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-sub{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-acts button{background:#fff;border:1px solid #d7e1ef;color:#425f84;box-shadow:0 1px 2px rgba(31,57,96,.035)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-acts button:hover:not(:disabled){background:var(--wt-tint,#eef2ff);border-color:#a5b4fc;color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-acts button:disabled{background:#f4f7fb;border-color:#e0e7f1;color:#8293aa;box-shadow:none;opacity:1}

/* Timeline paint only: handle widths, offsets and canvas coordinates are unchanged. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-range{background:#fff;border-color:#dfe7f3}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-track{background:#edf3fb;box-shadow:inset 0 0 0 1px #dbe5f2}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-sel{background:rgba(79,70,229,.10);border-color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-handle{background:var(--wt-accent,#4f46e5);box-shadow:0 2px 7px rgba(74,66,150,.25)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-handle:focus-visible{outline:2px solid #254e87;outline-offset:3px;box-shadow:0 2px 7px rgba(74,66,150,.25)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-cursor{background:var(--wt-info,#0e7490)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-ctrl{color:#425f84}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-range-len{background:var(--wt-tint,#eef2ff);color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-done{border-color:#b9ddc9;background:#f0faf4;color:#286248}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-done>div:first-child :is(i,b){color:#226b49}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-done>div:first-child span{color:#416d57}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-sizes b{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-sizes em{color:#85570c}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-sizes em.is-good{color:#226b49}

/* Recorder setup, tips and live state; recorded content is never recolored. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-empty{color:#526783}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-empty h3{color:var(--wt-ink,#203657)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-tips li{background:#fff;border-color:#d7e1ef;color:#425f84;box-shadow:0 2px 7px rgba(31,57,96,.035)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-tips i{color:var(--wt-accent,#4f46e5)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-video{box-shadow:0 8px 28px rgba(31,57,96,.15),0 0 0 1px rgba(76,100,137,.12)}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-timer{background:#fff0f2;color:#a52c36;box-shadow:inset 0 0 0 1px #f0cbd0}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-timer.is-paused{background:#edf3fb;color:#4c6382;box-shadow:inset 0 0 0 1px #d9e4f1}
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-timer.is-paused i{background:#607b9f}

/* Image modal chrome is owned by the shared bright layer. */
html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.ix-batch-mini,.wt-size-card,.wt-drop-more,.wt-mg-add,.wt-mg-acts button,.wt-media-acts button,.wt-qrd-del):focus-visible{outline:2px solid var(--wt-accent,#4f46e5);outline-offset:3px}

@media(max-width:640px){
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-first{align-items:flex-start;text-align:left;line-height:1.7}
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-first i{flex-shrink:0;margin-top:3px}
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-media-frame.is-audio{padding:20px 16px 15px}
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.wt-media-acts button,.wt-mg-acts button,.wt-qrd-del){min-width:28px;min-height:28px}
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-batch-error{font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool :is(.ix-batch-item,.ix-batch-mini,.wt-size-card,.wt-drop-more,.wt-mg-add,.wt-media-row,.trio-format-grid button,.its-toolbar .its-tool){transition:none}
 html body[data-tool-slug]:not([data-tool-slug="office"]) .wt-tool .wt-rec-timer i{animation:none}
}
