body > .tool-page.tool-page--list-manipulator { width: 100%; max-width: none; margin: 0; padding: 0; }
.lm-workspace { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 380px) minmax(0, 1fr); width: 100%; height: 100%; min-height: 0; text-align: left; }
.lm-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lm-panel-heading, .lm-controls-heading { display: flex; flex: none; align-items: center; justify-content: space-between; min-width: 0; min-height: 48px; gap: 8px; padding: 6px 10px; border-bottom: 2px solid var(--eyy-border, #101010); }
.lm-panel-heading > span { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.lm-count, .lm-removed { color: #a9a8b3; font-size: .75rem; font-weight: 500; }
.lm-removed { white-space: nowrap; }
.lm-output-actions { display: flex; flex: none; gap: 6px; }
.tool-page--list-manipulator .lm-panel-heading button:not(.default), .tool-page--list-manipulator .lm-controls-heading button:not(.default) { min-height: 30px; padding: 4px 8px; font-size: .8rem; }
.tool-page--list-manipulator .lm-panel textarea { flex: 1 1 0; width: 100%; min-width: 0; min-height: 0; margin: 0; padding: 12px; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: #000; color: #eee; font: 500 .8rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; resize: none; overflow: auto; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.lm-controls { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0 10px 10px; border-inline: 2px solid var(--eyy-border, #101010); }
.lm-controls-heading { margin-inline: -10px; padding-inline: 10px; }
.lm-controls-heading h1 { margin: 0; font-size: 1rem; }
.lm-selector { position: relative; flex: none; padding-top: 10px; }
.tool-page--list-manipulator .lm-operation-toggle:not(.default), .tool-page--list-manipulator #lm-swap:not(.default) { width: 100%; min-height: 36px; }
.lm-operation-menu { box-sizing: border-box; min-width: 0; position: fixed; z-index: 1200; display: flex; flex-direction: column; max-height: min(400px, 60vh); padding: 6px; border: 2px solid #1e1e1e; border-radius: 6px; background: #000; box-shadow: 0 8px 24px #000c; }
.lm-operation-menu[hidden] { display: none; }
.tool-page--list-manipulator #lm-search { flex: none; width: 100%; min-width: 0; min-height: 36px; margin: 0; }
.lm-operations { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.lm-operation-category { padding: 10px 8px 4px; color: #a9a8b3; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tool-page--list-manipulator .lm-operation-option:not(.default) { display: block; width: 100%; min-height: 32px; padding: 6px 8px; border: 0; border-radius: 3px; background: transparent; text-align: left; font-size: .8rem; }
.tool-page--list-manipulator .lm-operation-option:hover { background: #17171b; }
.lm-section-heading { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 7px; }
.lm-section-heading h2 { margin: 0; font-size: .8rem; font-weight: 600; }
.lm-section-heading > span { color: #a9a8b3; font-size: .72rem; }
.lm-pipeline { flex: 0 1 auto; min-height: 0; max-height: 44%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.lm-step { display: flex; align-items: center; gap: 4px; min-width: 0; margin-bottom: 6px; padding: 3px; border: 2px solid #1e1e1e; border-radius: 6px; background: #000; cursor: pointer; transition: border-color 140ms ease, opacity 140ms ease; }
.lm-step:last-child { margin-bottom: 0; }
.lm-step:hover { border-color: #426b66; }
.lm-step--selected, .lm-step--selected:hover { border-color: #51cbbb; }
.lm-step--disabled { opacity: .55; }
.tool-page.tool-page--list-manipulator button.lm-step-select:not(.default) { flex: 1 1 0; min-width: 0; min-height: 32px; padding: 4px 6px; overflow: hidden; border: 0; background: transparent; color: #eee; font-size: .8rem; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.lm-step-controls { display: flex; flex: none; align-items: center; gap: 2px; }
.tool-page.tool-page--list-manipulator button.lm-step-action:not(.default) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 28px; min-width: 28px; height: 30px; min-height: 30px; padding: 0; border: 0; background: transparent; color: #bdbbc8; font-size: .8rem; line-height: 1; }
.tool-page.tool-page--list-manipulator button.lm-step-action[data-action="enable"][aria-pressed="true"] { color: #74dfd0; }
.tool-page.tool-page--list-manipulator button.lm-step-action:hover:not(:disabled) { color: #fff; background: #151515; }
.lm-step-action:disabled { opacity: .3; }
.lm-settings-heading { margin-top: 2px; border-top: 2px solid var(--eyy-border, #101010); }
.lm-settings-heading > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.lm-settings { flex: 0 1 auto; max-height: 43%; min-height: 48px; margin-right: -4px; padding-right: 4px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.lm-settings-empty, .lm-pipeline:empty::before { color: #a9a8b3; line-height: 1.45; }
.lm-pipeline:empty::before { content: 'Add an operation to get started.'; }
.lm-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin-bottom: 12px; }
.lm-field:last-child { margin-bottom: 0; }
.lm-field.eyy-toggle { flex-direction: row; align-items: center; margin-bottom: 0; }
.lm-field-label { color: #dddce4; font-size: .8rem; }
.lm-field-control, .lm-field .rot-select { width: 100%; min-width: 0; }
.lm-field input:not([type="checkbox"]), .lm-field textarea { width: 100%; min-width: 0; margin: 0; }
.tool-page--list-manipulator .lm-field input[type="text"], .tool-page--list-manipulator .lm-field .eyy-number--compact { box-sizing: border-box; height: 36px; }
.tool-page--list-manipulator .lm-reroll:not(.default) { width: 100%; min-height: 36px; }
.lm-status { flex: none; height: 2.6em; padding: 3px 0; overflow: auto; color: #ff8da8; font-size: .75rem; line-height: 1.2; overflow-wrap: anywhere; }
.tool-page--list-manipulator #lm-swap { flex: none; margin-top: auto; }
.tool-page--list-manipulator :is(.lm-panel-heading button, .lm-controls button):disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) {
    body > .tool-page.tool-page--list-manipulator { overflow-y: auto; overflow-x: hidden; }
    .lm-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(180px, 30dvh) minmax(350px, auto) minmax(180px, 30dvh); height: auto; min-height: 100%; }
    .lm-controls { min-height: 350px; border: 0; border-block: 2px solid var(--eyy-border, #101010); }
    .lm-pipeline { flex: 0 0 auto; max-height: 180px; }
    .lm-settings { max-height: 250px; }
}
@media (max-width: 380px) {
    .lm-panel-heading { gap: 4px; padding-inline: 6px; }
    .lm-output-actions { gap: 3px; }
    .tool-page--list-manipulator .lm-panel-heading button:not(.default) { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) { .lm-step { transition: none; } }
