.color-choice.svelte-1xh048c{position:relative;width:50px;margin-top:0}.select.svelte-1xh048c{width:100%;height:32px;display:flex;align-items:center;justify-content:space-between;background:#3a3a3c;border:1px solid #545456;border-radius:6px;padding:0 4px;cursor:pointer;color:#ddd}.arrow.svelte-1xh048c{width:16px;height:16px;stroke:#ddd;stroke-width:2.5;fill:none;margin-left:6px;flex-shrink:0}.square.svelte-1xh048c{width:16px;height:16px;border-radius:3px;border:1px solid #ffffff}.menu.svelte-1xh048c{display:none;position:absolute;top:calc(100% + 2px);right:0;grid-template-columns:repeat(3,1fr);gap:3px;padding:4px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;z-index:10}.menu.open.svelte-1xh048c{display:grid}.option.svelte-1xh048c{width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;margin-top:0}.option.svelte-1xh048c:hover{background:#48484a}.option.svelte-1xh048c .square:where(.svelte-1xh048c){width:18px;height:18px}.svelte-1jj9vwg{margin-top:0}.ethos-screen.svelte-1jj9vwg{position:relative;width:720px;height:432px;background:#292829;border-radius:6px;display:flex;flex-direction:column;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,system-ui,sans-serif;font-size:15px;color:#f0f0f0;box-shadow:0 4px 32px #0009}.form-content.svelte-1jj9vwg{flex:1;overflow-y:auto;overflow-x:hidden}.form-content.svelte-1jj9vwg::-webkit-scrollbar{width:4px}.form-content.svelte-1jj9vwg::-webkit-scrollbar-track{background:transparent}.form-content.svelte-1jj9vwg::-webkit-scrollbar-thumb{background:#f4b554;border-radius:2px}.form-row.svelte-1jj9vwg{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:44px;padding:0 16px;box-sizing:border-box}.row-label.svelte-1jj9vwg{font-size:18px}.row-ctrl.svelte-1jj9vwg{display:flex;align-items:center;justify-content:flex-end}.sep.svelte-1jj9vwg{height:1px;background:#3a3a3c;margin:0 16px}.toggle-group.svelte-1jj9vwg{display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none}.tog-lbl.svelte-1jj9vwg{font-size:18px;color:#636366;font-weight:500;transition:color .15s}.tog-lbl.active.svelte-1jj9vwg{color:#f0f0f0}.toggle.svelte-1jj9vwg{position:relative;width:51px;height:31px;border-radius:16px;border:none;cursor:pointer;padding:0;background:#3a3a3c;pointer-events:none;flex-shrink:0}.thumb.svelte-1jj9vwg{position:absolute;top:2px;left:2px;width:27px;height:27px;background:#fff;border-radius:50%;box-shadow:0 2px 5px #00000073;transition:left .15s}.toggle.on.svelte-1jj9vwg .thumb:where(.svelte-1jj9vwg){left:22px}.expansion-body.svelte-1jj9vwg{background:#292829}.color-hint.svelte-1jj9vwg{padding:5px 16px;font-size:18px;color:#8e8e93;background:#232223;text-align:right;border-bottom:1px solid #3a3a3c}.case-block.svelte-1jj9vwg{border-bottom:1px solid #3a3a3c}.case-block.svelte-1jj9vwg:not(.not-last){border-bottom:none}.case-row.svelte-1jj9vwg{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:44px;padding:4px 16px;box-sizing:border-box;gap:0}.case-left.svelte-1jj9vwg{display:flex;align-items:center;min-width:0}.case-lbl.svelte-1jj9vwg{font-size:18px;color:#8e8e93;flex-shrink:0;width:60px}.case-lbl.matched.svelte-1jj9vwg{color:#88c018}.del-btn.svelte-1jj9vwg{width:30px;height:30px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px;flex-shrink:0;color:#d0d0d0;margin-left:auto;margin-right:10px;transform:rotate(180deg)}.del-btn.svelte-1jj9vwg svg{width:20px;height:20px}.del-btn.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}.cond-lbl.svelte-1jj9vwg{flex-shrink:0;font-size:18px;color:#fff;white-space:nowrap;padding-right:10px}.case-right.svelte-1jj9vwg{display:flex;align-items:center;gap:8px;min-width:0}.op-sel.svelte-1jj9vwg{background:#3a3a3c;border:1px solid #545456;color:#f0f0f0;border-radius:6px;height:32px;font-size:18px;width:90px;flex-shrink:0;box-sizing:border-box;padding:0 4px;cursor:pointer}.thr-wrap.svelte-1jj9vwg{flex:1;min-width:0;display:flex;align-items:center;background:#3a3a3c;border:1px solid #545456;border-radius:6px;height:32px;padding:0 8px;box-sizing:border-box}.thr-unit.svelte-1jj9vwg{font-size:18px;color:#8e8e93;white-space:nowrap;flex-shrink:0}.thr-inp.svelte-1jj9vwg{flex:1;min-width:0;background:transparent;border:none;outline:none;color:#f0f0f0;font-size:18px;height:100%;padding:0;text-align:right}.colors.svelte-1jj9vwg{display:flex;gap:6px;flex-shrink:0}.sub-row.svelte-1jj9vwg{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:38px;padding:4px 16px;border-top:1px solid #3a3a3c;box-sizing:border-box;gap:0}.sub-lbl.svelte-1jj9vwg{font-size:13px;color:#8e8e93;text-align:right;padding-right:10px;white-space:nowrap}.sub-right.svelte-1jj9vwg{display:flex;align-items:center;gap:8px;min-width:0}.sub-inp.svelte-1jj9vwg{flex:1;min-width:0;background:#3a3a3c;border:1px solid #545456;color:#f0f0f0;border-radius:6px;height:30px;font-size:13px;padding:0 8px;box-sizing:border-box}.tag-btn.svelte-1jj9vwg{background:#3a3a3c;border:1px solid #545456;color:#8e8e93;padding:0 10px;border-radius:6px;cursor:pointer;height:30px;font-size:13px;white-space:nowrap;flex-shrink:0;letter-spacing:2px}.tag-btn.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}.add-row.svelte-1jj9vwg{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:44px;padding:0 16px;border-top:1px solid #3a3a3c;box-sizing:border-box}.add-row-left.svelte-1jj9vwg{display:flex;align-items:center;justify-content:flex-end;padding-right:10px}.add-row-right.svelte-1jj9vwg{display:flex;align-items:center;gap:10px}.info-btn.svelte-1jj9vwg{width:30px;height:30px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;cursor:pointer;color:#8e8e93;font-size:13px;font-style:italic;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.info-btn.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}.add-btn.svelte-1jj9vwg{flex:1;height:32px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;cursor:pointer;color:#fff;font-size:22px;display:flex;align-items:center;justify-content:center;padding:0;line-height:1}.add-btn.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}.tags-footer.svelte-1jj9vwg{justify-content:flex-start;flex-wrap:wrap;gap:6px}.tag-insert-btn.svelte-1jj9vwg{height:34px;min-width:50px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;color:#f0f0f0;font-size:15px;cursor:pointer;padding:0 12px;font-family:monospace;white-space:nowrap}.tag-insert-btn.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}.dialog-overlay.svelte-1jj9vwg{position:absolute;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.dialog.svelte-1jj9vwg{width:560px;max-height:380px;background:#292829;border:1px solid #545456;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 40px #000c;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,system-ui,sans-serif;color:#f0f0f0}.dialog-title.svelte-1jj9vwg{font-size:18px;font-weight:600;padding:10px 16px;border-bottom:1px solid #3a3a3c;background:#212021;flex-shrink:0}.dialog-body.svelte-1jj9vwg{flex:1;overflow-y:auto;padding:14px 20px;font-size:15px;line-height:1.55;color:#d0d0d0}.dialog-body.svelte-1jj9vwg::-webkit-scrollbar{width:4px}.dialog-body.svelte-1jj9vwg::-webkit-scrollbar-track{background:transparent}.dialog-body.svelte-1jj9vwg::-webkit-scrollbar-thumb{background:#f4b554;border-radius:2px}.dialog-body.svelte-1jj9vwg p:where(.svelte-1jj9vwg){margin:0 0 10px}.dialog-body.svelte-1jj9vwg p:where(.svelte-1jj9vwg):last-child{margin-bottom:0}.dialog-body.svelte-1jj9vwg strong:where(.svelte-1jj9vwg){color:#f0f0f0;font-weight:600}.dialog-footer.svelte-1jj9vwg{display:flex;justify-content:flex-end;padding:10px 16px;border-top:1px solid #3a3a3c;flex-shrink:0}.dialog-ok.svelte-1jj9vwg{height:34px;min-width:80px;background:#3a3a3c;border:1px solid #545456;border-radius:6px;color:#f0f0f0;font-size:18px;cursor:pointer;padding:0 20px}.dialog-ok.svelte-1jj9vwg:hover{background:#f4b554;color:#212021}input.svelte-1jj9vwg,select.svelte-1jj9vwg{outline:none}input.svelte-1jj9vwg:focus,select.svelte-1jj9vwg:focus{border-color:#0a84ff}input[type=number].svelte-1jj9vwg::-webkit-inner-spin-button,input[type=number].svelte-1jj9vwg::-webkit-outer-spin-button{opacity:.4}
