@font-face {
    font-family: "DM Sans"; src: url("./dm-sans.woff2") format("woff2");
    font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Instrument Serif"; src: url("./instrument-serif.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
:root {
    color-scheme: dark;
    --bg: #1a1b1b; --panel: #202121; --mat: #141515; --ink: #f3eee6; --muted: #b1b0aa;
    --line: #424342; --faint: #333534; --accent: #ff815e; --on-accent: #241b16;
    --gutter: clamp(18px, 2.35vw, 44px);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --direct: 110ms;
    --reveal: 225ms;
    --settle: cubic-bezier(.2,.72,.25,1);
    --serif: "Instrument Serif", Georgia, serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font: 15px/1.4 "DM Sans", system-ui, sans-serif;
    color: var(--ink); background: var(--bg);
    scrollbar-color: #686964 var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); display: flex; flex-direction: column; }
button, input, summary { font: inherit; }
button, input[type=range], summary, .compare-switch { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled), summary { cursor: pointer; }
button:disabled { opacity: .46; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
svg { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; }
.media-feed { position: fixed; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: .001; pointer-events: none; }
h1, h2, p { margin: 0; }
h2, .palette summary { font: italic 400 clamp(29px, 2.25vw, 38px)/1.1 var(--serif); }
.toolbar { flex: none; min-height: 67px; display: flex; gap: 14px; align-items: center; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
.identity, .brand, .toolbar-group, .button, .film-arrows, .timecode, .source-row, .palette-actions, .live, .status, .dialog-actions, .mic { display: flex; align-items: center; }
.identity { gap: 23px; margin-right: auto; }
.brand { gap: 8px; font-size: 35px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.logo { width: 39px; height: 30px; color: var(--accent); }
.descriptor { border-left: 1px solid #696a65; padding-left: 21px; font-size: 15px; color: var(--muted); }
.toolbar-group { gap: 4px; }
.exports { padding-left: 14px; border-left: 1px solid var(--line); }
.button { display: inline-flex; gap: 8px; justify-content: center; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 3px; background: transparent; font-weight: 550; line-height: 1.1; transition: background-color var(--direct), border-color var(--direct), color var(--direct), transform var(--direct) var(--settle); }
.toolbar .button:not(.primary), .button.ghost { border-color: transparent; }
.button.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.button:not(:disabled):active { transform: scale(.97); transition-duration: 50ms; }
.button[aria-pressed=true] { color: var(--accent); }
#export { min-inline-size: 148px; white-space: nowrap; }
.compact-export-label { display: none; }
.icon-button { width: 36px; min-height: 36px; padding: 0; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 13px; padding: 5px 0; }
.text-button[aria-disabled=true] { opacity: .52; cursor: default; }
.workspace { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(332px, 30vw, 495px); }
.monitor, .inspector-scroll { min-width: 0; padding: clamp(20px, 2.4vw, 38px) var(--gutter) 22px; }
.monitor-title, .section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.monitor-title, #library-panel > .section-title { margin-bottom: clamp(16px, 1.6vw, 26px); }
#preview-heading { font-size: clamp(35px, 2.9vw, 50px); }
.compare-switch { display: flex; align-items: center; position: relative; gap: 10px; min-height: 36px; cursor: pointer; font-size: 13px; }
.compare-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.compare-switch span { width: 34px; height: 18px; padding: 3px; border: 1px solid #8d8c83; border-radius: 20px; display: flex; align-items: center; transition: background-color var(--direct), border-color var(--direct); }
.compare-switch span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transition: transform 170ms var(--settle), background-color var(--direct); }
.compare-switch input:checked + span { border-color: var(--accent); background: var(--accent); }
.compare-switch input:checked + span::after { transform: translateX(15px); background: var(--on-accent); }
.compare-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare-switch:has(:disabled) { opacity: .5; cursor: default; }
.monitor { container-type: inline-size; }
.stage { --stage-height: clamp(150px,min(56.25cqw,calc(100svh - 330px)),950px); position: relative; display: grid; place-items: center; background: var(--mat); height: var(--stage-height); isolation: isolate; }
.media {
    --ratio: 1.777778;
    width: min(100%, calc(var(--ratio) * var(--stage-height)));
    aspect-ratio: var(--ratio); position: relative; overflow: hidden; isolation: isolate; container-type: inline-size;
}
.media canvas, .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media img { object-fit: cover; }
.media canvas { image-rendering: auto; }
.comparison { position: absolute; inset: 0; cursor: ew-resize; touch-action: pan-y; }
.media-label { position: absolute; top: 10px; padding: 4px 8px; font-size: 12px; color: #fff; background: #141515e8; pointer-events: none; transition: opacity var(--direct); }
.original { left: 12px; }
.treated { right: 12px; }
.split-line { position: absolute; inset: 0 auto 0 var(--split, 50%); width: 2px; translate: -50%; background: var(--ink); box-shadow: 1px 0 5px #0808078a; pointer-events: none; }
.split-line span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--mat); border-radius: 50%; box-shadow: 0 2px 9px #08080780; transition: scale var(--direct) var(--settle), background-color var(--direct); }
.comparison:has(:focus-visible) .split-line span { outline: 2px solid var(--accent); outline-offset: 3px; }
.comparison[data-dragging] .split-line span { scale: 1.09; background: #fff8ea; }
.comparison input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
@container (max-width: 155px) {
    .media-label { padding: 3px 5px; font-size: 11px; }
    .original { left: 5px; }
    .treated { right: 5px; }
}
@container (max-width: 98px) {
    .treated { top: auto; bottom: 10px; }
}
.empty, .drag-cover { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; }
.empty { justify-content: flex-end; align-items: start; padding: clamp(14px, 3.7cqw, 40px); background: linear-gradient(0deg, #101110 0%, #101110d9 18%, #1011104a 54%, transparent 78%); pointer-events: none; }
.empty p, .drag-cover { font: italic 400 clamp(29px, 4cqw, 56px)/1.05 var(--serif); }
.empty-actions { display: flex; gap: 8px; }
.empty-actions .button { pointer-events: auto; }
.empty-actions .button:not(.primary) { border-color: #a39b8f; background: #141515dc; }
.drag-cover { justify-content: center; align-items: center; visibility: hidden; opacity: 0; pointer-events: none; color: var(--accent); background: #1a1b1bed; outline: 1px dashed var(--accent); outline-offset: -10px; transition: opacity var(--direct), visibility var(--direct); }
.stage.dragging .drag-cover { visibility: visible; opacity: 1; }
.monitor-footer { display: grid; grid-template-rows: var(--transport-height, 56px) var(--source-height, 42px); }
.entry-privacy { display: none; }
.transport, .live, .export-progress { grid-area: 1 / 1; align-self: stretch; }
.transport { display: grid; grid-template-columns: 36px minmax(32px,1fr) auto 36px; align-items: center; gap: 14px; }
.timecode { font: 12px var(--mono); gap: 6px; font-variant-numeric: tabular-nums; }
.timecode time:first-child { min-width: 5ch; text-align: right; }
.timecode > :not(:first-child) { color: var(--muted); }
.range { --thumb: 13px; --fill-edge: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--fill, 0)); appearance: none; width: 100%; height: 32px; min-width: 0; display: block; margin: 0; padding: 0; background: transparent; cursor: ew-resize; touch-action: pan-y; }
.range:disabled { opacity: .4; cursor: default; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right,var(--accent) var(--fill-edge),#636460 var(--fill-edge)); }
.range::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(to right,var(--accent) var(--fill-edge),#636460 var(--fill-edge)); }
.range::-webkit-slider-thumb { appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((3px - var(--thumb)) / 2); border: 0; border-radius: 50%; background: var(--accent); transition: scale var(--direct) var(--settle), box-shadow var(--direct); }
.range::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border: 0; border-radius: 50%; background: var(--accent); transition: scale var(--direct) var(--settle), box-shadow var(--direct); }
.range:not(:disabled):active::-webkit-slider-thumb, [data-scrubbing] .range::-webkit-slider-thumb, .setting-track[data-dragging] .range::-webkit-slider-thumb { scale: 1.17; box-shadow: 0 2px 6px #100b09a6; }
.range:not(:disabled):active::-moz-range-thumb, [data-scrubbing] .range::-moz-range-thumb, .setting-track[data-dragging] .range::-moz-range-thumb { scale: 1.17; box-shadow: 0 2px 6px #100b09a6; }
.transport[data-scrubbing] .timecode time:first-child { color: var(--accent); }
.source-row { grid-area: 2 / 1; gap: 12px; min-width: 0; border-top: 1px solid var(--line); font-size: 13px; }
.source-row .filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#dimensions { color: var(--muted); white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line); font: 12px var(--mono); }
#source-hint { margin-left: auto; flex: none; }
#clear { width: 30px; min-height: 30px; color: var(--muted); }
#clear svg { width: 15px; }
.live { gap: 8px; font-size: 13px; }
.status-dot, .live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.opening-status, .notice { position: absolute; z-index: 1; top: 9px; left: 50%; translate: -50%; width: max-content; max-width: calc(100% - 18px); padding: 7px 12px; border: 1px solid #6a6860; border-radius: 3px; background: #171817f5; font-size: 13px; color: var(--ink); overflow-wrap: anywhere; pointer-events: none; }
.opening-status:empty, .notice:empty { padding: 0; border: 0; }
.opening-status:not(:empty), .notice:not(:empty) { animation: status-appear var(--direct) var(--settle); }
.notice.error { color: #ffb39e; }
@keyframes status-appear { from { opacity: 0; } }
.export-progress { display: grid; gap: 4px 14px; grid-template-columns: minmax(0,1fr) auto; align-content: center; align-items: center; }
.monitor-footer:has(.export-progress:not([hidden])) :is(.transport, .live) { visibility: hidden; }
.export-progress progress { display: block; width: 100%; height: 4px; accent-color: var(--accent); }
.progress-copy { display: flex; justify-content: space-between; font-size: 13px; }
#percentage { white-space: nowrap; font-variant-numeric: tabular-nums; }
.export-progress .button { grid-column: 2; grid-row: 1 / 3; min-height: 34px; }
.inspector { min-width: 0; background: var(--panel); border-left: 1px solid var(--line); }
.panel-tabs, .mobile-preset-name { display: none; }
.film-arrows { gap: 2px; }
.film-arrows .icon-button { min-height: 32px; width: 30px; }
.film-arrows .icon-button:disabled { opacity: .3; }
.film-arrows svg { width: 14px; transform: rotate(90deg); }
#next-prints svg { transform: rotate(-90deg); }
.preset-list { display: grid; grid-auto-flow: column; grid-auto-columns: 43%; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; padding: 3px 2px 12px; scroll-padding-inline: 2px; scrollbar-width: thin; scrollbar-color: #73716a transparent; }
.preset { scroll-snap-align: start; min-width: 0; background: transparent; border: none; padding: 0; text-align: left; color: var(--ink); }
.preset:focus-visible { outline: none; }
.preset:focus-visible canvas { outline: 2px solid var(--ink); outline-offset: -4px; }
.preset canvas { display: block; object-fit: cover; width: 100%; aspect-ratio: 1.13; height: auto; border: 2px solid transparent; background: var(--mat); transition: border-color var(--direct), transform var(--direct) var(--settle); }
.preset:enabled:active canvas { transform: scale(.975); }
.preset[aria-pressed=true] canvas { border-color: var(--accent); }
.preset strong, .preset small { display: block; }
.preset strong { margin: 8px 0 1px; font-size: 14px; font-weight: 600; }
.preset small { color: var(--muted); font-size: 11.5px; }
.preset[aria-pressed=true] strong { color: var(--accent); }
.texture { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 24px; }
#sliders { display: grid; gap: 12px; margin: 25px 0 23px; }
.setting { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; }
.setting label { font-size: 14px; }
.setting output { text-align: right; font: 12px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.setting:has([data-dragging], :focus-visible) output { color: var(--accent); }
.setting-track { grid-column: 1 / -1; min-width: 0; cursor: ew-resize; touch-action: pan-y pinch-zoom; }
.setting-track:has(:disabled) { cursor: default; }
.setting input { pointer-events: none; }
.palette { border-top: 1px solid var(--line); }
.palette summary { display: flex; align-items: center; gap: 9px; padding: 19px 0; list-style: none; font-size: 26px; }
.palette summary::-webkit-details-marker { display: none; }
.palette summary > svg { width: 15px; transform: rotate(-90deg); transition: transform var(--reveal) var(--settle); }
.palette[open] summary > svg { transform: none; }
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .palette { interpolate-size: allow-keywords; }
    .palette::details-content {
        block-size: 0;
        overflow: clip;
        opacity: 0;
        transition: block-size var(--reveal) var(--settle), opacity var(--direct) linear, content-visibility var(--reveal) allow-discrete;
    }
    .palette[open]::details-content { block-size: auto; opacity: 1; }
}
.swatches { margin-left: auto; display: flex; gap: 4px; }
.swatches span { width: 23px; height: 23px; border: 1px solid #ffffff26; }
.drawer { padding: 4px 4px 10px; }
.colors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.color-entry { display: flex; align-items: center; gap: 3px; min-width: 0; }
.color-entry input { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.color-entry input::-webkit-color-swatch-wrapper { padding: 4px; }
.color-entry input::-webkit-color-swatch { border: 1px solid #a39b8f; border-radius: 2px; }
.color-entry input::-moz-color-swatch { border: 1px solid #a39b8f; border-radius: 2px; }
.color-entry code { font: 11px var(--mono); color: var(--muted); }
.color-entry button { min-height: 28px; width: 25px; }
.color-entry svg { width: 12px; }
.palette-actions { gap: 8px; margin-top: 12px; }
.palette-actions .button { font-size: 12px; min-height: 34px; }
.status { flex: none; gap: 8px; padding: 8px var(--gutter); min-height: 34px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.status-dot { background: #afbb9f; }
dialog { max-width: calc(100% - 32px); width: 360px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 25px; transition: opacity var(--direct), translate var(--reveal) var(--settle); }
dialog::backdrop { background: #080807ba; }
.mic { gap: 8px; margin: 20px 0; }
.mic input { accent-color: var(--accent); }
.dialog-actions { justify-content: flex-end; gap: 8px; }
@starting-style {
    .comparison:not([hidden]) .media-label { opacity: 0; }
    dialog[open] { opacity: 0; translate: 0 6px; }
}
@media (hover: hover) {
    .button:not(:disabled):hover { background: #343635; }
    .button.primary:not(:disabled):hover { background: #ff9c80; }
    .text-button:not(:disabled):not([aria-disabled=true]):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
    .preset[aria-pressed=false]:enabled:hover canvas { border-color: #a29b90; }
}
@media (max-width: 1000px) {
    .descriptor { display: none; }
    .workspace { grid-template-columns: minmax(0, 1fr) 315px; }
    .inspector-scroll { padding-inline: 20px; }
    .toolbar { gap: 6px; }
    .exports { padding-left: 6px; }
}
/* Keep the preview out of the inspector's scroll area in either touch orientation. */
@media (max-width: 900px) and (orientation: portrait), (max-width: 600px), (max-height: 540px) and (orientation: landscape) {
    :root { --gutter: clamp(12px, 4vw, 23px); }
    body { height: 100dvh; min-height: 340px; }
    .toolbar { min-height: 56px; padding-block: 4px; }
    .workspace { min-height: 0; display: flex; flex-direction: column; }
    .monitor { flex: none; padding: 0 var(--gutter); }
    .monitor-title { margin-bottom: 0; }
    #preview-heading { font-size: 30px; }
    .compare-switch { min-height: 44px; font-size: 12px; }
    .stage { --stage-height: min(36svh, max(56.25cqw, 230px)); }
    .monitor-footer { --transport-height: 44px; --source-height: 36px; }
    .stage[data-source-state=empty] + .monitor-footer .entry-privacy { grid-area: 1 / 1 / 3 / 2; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
    .transport { gap: 7px; grid-template-columns: 44px minmax(20px,1fr) auto 44px; }
    .transport .icon-button { width: 44px; min-height: 44px; }
    .timecode { font-size: 11px; gap: 4px; }
    .source-row { font-size: 12px; gap: 8px; }
    #dimensions { font-size: 10px; padding-left: 8px; }
    .source-row .text-button { min-height: 34px; padding-inline: 3px; }
    #clear { width: 34px; min-height: 34px; }
    .inspector { flex: 1; display: grid; grid-template-rows: auto minmax(0,1fr); min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
    .inspector-scroll { overflow-y: auto; overscroll-behavior-y: contain; padding: 10px var(--gutter) 15px; }
    .panel-tabs { display: flex; flex: none; gap: 20px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
    .panel-tabs button { min-height: 44px; padding: 0 1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: italic 400 24px/1 var(--serif); transition: border-color var(--direct), color var(--direct); }
    .panel-tabs button:focus-visible { outline-offset: -2px; }
    .panel-tabs button[aria-selected=true] { border-color: var(--accent); color: var(--ink); }
    #library-panel > .section-title { display: none; }
    .preset-list { grid-template-rows: repeat(2, auto); grid-auto-columns: 44%; align-items: start; gap: 12px 10px; }
    .preset canvas { aspect-ratio: 1.7; }
    .texture { border: 0; margin: 0; padding: 0; }
    .texture .section-title h2 { font-family: inherit; font-style: normal; font-weight: 600; font-size: 15px; }
    .desktop-control-title { display: none; }
    .mobile-preset-name { display: inline; }
    #reset { min-height: 38px; padding-inline: 4px; }
    #sliders { gap: 5px; margin: 3px 0 8px; }
    .range { height: 44px; --thumb: 15px; }
    #seek { touch-action: none; }
    .split-line span { width: 44px; height: 44px; }
    .palette summary { min-height: 48px; padding-block: 10px; }
    .color-entry input, .color-entry button, .palette-actions .button, .export-progress .button { min-height: 44px; }
    .color-entry input, .color-entry button { width: 44px; }
    .color-entry input { flex: none; }
    .status { display: none; }
    .empty p { font-size: clamp(26px, 5cqw, 44px); }
    .empty { gap: 9px; }
    .empty-actions .button { min-height: 44px; }
}
@media (max-width: 620px) {
    .identity { gap: 5px; }
    .brand { font-size: 28px; gap: 5px; }
    .logo { width: 32px; height: 24px; }
    .toolbar-group { gap: 1px; }
    .toolbar .button { min-width: 44px; min-height: 44px; padding-inline: 7px; font-size: 13px; white-space: nowrap; }
    .toolbar .button:not(.primary) { width: 44px; padding-inline: 0; }
    #export { min-inline-size: 82px; }
    .toolbar .button svg { width: 19px; height: 19px; }
    .toolbar :is(.toolbar-label, #camera-label, #export-label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .compact-export-label { display: inline; }
}
@media (max-width: 375px) {
    #export { min-inline-size: 44px; }
    .compact-export-label { display: none; }
    .toolbar { gap: 3px; }
    .exports { padding-left: 3px; }
    .brand { font-size: 24px; }
    .logo { width: 27px; }
    .transport { column-gap: 4px; }
    .timecode { font-size: 10px; gap: 3px; }
    .colors { grid-template-columns: 1fr; }
}
@media (max-height: 660px) and (orientation: portrait) {
    .preset-list { grid-template-rows: auto; }
}
@media (min-width: 901px) and (min-height: 541px) {
    body { height: 100dvh; }
    .workspace { min-height: 0; }
    .inspector { display: grid; min-height: 0; }
    .inspector-scroll, .monitor { overflow-y: auto; }
    .inspector-scroll { scrollbar-gutter: stable; }
}
@media (min-width: 520px) and (max-width: 790px) and (max-height: 540px) and (orientation: landscape) {
    .colors { grid-template-columns: 1fr; }
}
@media (min-width: 520px) and (max-height: 540px) and (orientation: landscape) {
    body { min-height: 280px; }
    .toolbar { min-height: 48px; padding-block: 1px; }
    .brand { font-size: 25px; }
    .toolbar .button { min-height: 44px; font-size: 12px; }
    .workspace { display: grid; grid-template-columns: minmax(0,1fr) clamp(235px, 37%, 370px); }
    .monitor { padding-inline: 14px; }
    #preview-heading { font-size: 25px; }
    .stage { --stage-height: min(56.25cqw, max(105px, calc(100svh - 172px - var(--safe-top) - var(--safe-bottom)))); }
    .monitor-footer { --source-height: 34px; }
    .inspector { border-top: 0; border-left: 1px solid var(--line); }
    .panel-tabs, .inspector-scroll { padding-inline: 13px; }
    .preset-list { grid-template-rows: auto; grid-auto-columns: 43%; }
    .preset canvas { aspect-ratio: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
    .palette::details-content { transition: none !important; }
    .button:not(:disabled):active, .preset:enabled:active canvas { transform: none; }
    .comparison[data-dragging] .split-line span { scale: 1; }
    .opening-status:not(:empty), .notice:not(:empty) { animation: none; }
    .range:not(:disabled):active::-webkit-slider-thumb, [data-scrubbing] .range::-webkit-slider-thumb, .setting-track[data-dragging] .range::-webkit-slider-thumb { scale: 1; }
    .range:not(:disabled):active::-moz-range-thumb, [data-scrubbing] .range::-moz-range-thumb, .setting-track[data-dragging] .range::-moz-range-thumb { scale: 1; }
}
