.tools-settings{width:32px;height:32px;min-width:32px;min-height:32px;display:grid;place-items:center;padding:0;border:1px solid #dce5df;border-radius:50%;color:#26362a;background:#fff;font-size:22px;cursor:pointer}.tools-dialog{width:min(600px,calc(100vw - 24px));max-height:90dvh;padding:20px;border:1px solid #dce5df;border-radius:20px;box-shadow:0 15px 60px #0003;color:#26362a}.tools-dialog::backdrop{background:#0005}.tools-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tools-editor-head h2{margin:0;font-size:20px}.tools-help{margin:8px 0 16px;color:#66766c;font-size:13px}.tools-editor-list{max-height:58dvh;overflow-y:auto;overscroll-behavior:contain}.tools-editor-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e9eeeb}.tools-editor-row img{width:28px;height:28px;border-radius:6px;object-fit:contain}.tools-name{flex:1;min-width:0;font-size:14px}.tools-dialog button{min-width:32px;min-height:36px;padding:6px 9px;border:1px solid #dce5df;border-radius:8px;background:white;color:#26362a;cursor:pointer;font:inherit}.tools-dialog button:disabled{opacity:.4;cursor:default}.tools-dialog .tools-drag{touch-action:none;cursor:grab;font-size:20px}.tools-dragging{opacity:.55}.tools-drop-target{outline:2px solid #176536;outline-offset:-2px;border-radius:8px}.tools-switch{display:inline-flex;position:relative;padding:3px;cursor:pointer}.tools-switch input{position:absolute;opacity:0;width:40px;height:24px;margin:0}.tools-switch span{display:block;width:38px;height:22px;border-radius:20px;background:#9aa69e;position:relative}.tools-switch span:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white;transition:transform .15s}.tools-switch input:checked+span{background:#176536}.tools-switch input:checked+span:after{transform:translateX(16px)}.tools-switch input:focus-visible+span{outline:3px solid #91bba1;outline-offset:2px}.tools-editor-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}.tools-editor-actions #tools-reset{margin-right:auto}.tools-editor-actions #tools-save{background:#176536;color:white;border-color:#176536}#tools-editor-status{margin:10px 0 0;font-size:13px;min-height:20px}#tools-empty{color:#66766c;padding:12px 0}@media(max-width:450px){.tools-dialog{padding:14px}.tools-editor-row{gap:5px}.tools-name{font-size:13px}.tools-editor-row img{width:24px;height:24px}.tools-dialog button{padding:5px 7px}}
