.settings-modal.ag219-open .settings-content,.settings-modal.ag219-open>.modal-footer{display:none!important}
.ag219-panel[hidden]{display:none!important}.ag219-panel{flex:1;min-height:0;min-width:0;padding:30px;overflow:auto;color:var(--text,#203d30);background:var(--surface,#fff);font-size:14px;line-height:1.55}
.ag219-heading{display:flex;gap:20px;align-items:center;justify-content:space-between}.ag219-eyebrow{font-size:10px;letter-spacing:.16em;color:#6a866c;font-weight:700}.ag219-heading h3{font-size:27px;margin:5px 0!important;letter-spacing:-.035em}.ag219-intro{color:#64796b;max-width:65ch;margin:14px 0 20px}.ag219-stats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.ag219-stats span{background:#f0f6e9;padding:5px 10px;border-radius:8px;font-size:12px;color:#476d43}
.ag219-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.ag219-toolbar input{flex:1;min-width:0}.ag219-panel input:not([type=checkbox]),.ag219-panel textarea{box-sizing:border-box;width:100%;border:1px solid #d7e2d3;background:var(--surface,#fff);color:inherit;border-radius:10px;padding:10px 12px;min-height:42px;font:inherit;line-height:1.55;box-shadow:none}.ag219-panel textarea{resize:vertical;max-height:350px;min-height:105px}.ag219-panel :is(input,textarea,button):focus-visible{outline:3px solid #a7d775;outline-offset:3px}
.ag219-panel button{font:inherit;cursor:pointer;min-height:38px;padding:9px 13px;border:1px solid #d5e1d0;background:var(--surface,#fff);color:inherit;border-radius:10px;line-height:1.3;transition:background .15s,box-shadow .15s}.ag219-panel button:disabled{opacity:.5;cursor:default}.ag219-panel .ag219-primary{background:#194d36;color:#fff;border-color:#194d36;font-weight:600;box-shadow:0 3px 8px #17462b12}.ag219-panel button:not(:disabled):hover{box-shadow:0 3px 12px #17462b18}.ag219-panel .ag219-primary:hover{background:#236346}.ag219-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.ag219-filters button{border:0;background:transparent;font-size:13px;padding:7px 11px;min-height:34px}.ag219-filters .selected{background:#eaf4da;color:#315a31;font-weight:650}.ag219-explanation{border:1px solid #e1e8dc;border-radius:12px;padding:12px 15px;color:#677868;font-size:12px;margin:14px 0}.ag219-explanation summary{cursor:pointer;font-weight:600;color:#456345}.ag219-explanation p{margin:10px 0 0}
.ag219-section{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#6a7f6a;margin:25px 0 12px}.ag219-card{border:1px solid #dfe7d9;border-radius:15px;background:var(--surface,#fff);padding:18px;margin-bottom:12px}.ag219-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}.ag219-badge{font-size:11px;font-weight:600;border-radius:6px;background:#edf6e4;color:#48713d;padding:3px 7px}.ag219-badge.is-locked{background:#f1f3f0;color:#677366}.ag219-badge.is-setting{background:#edf4f4;color:#467373}.ag219-group{font-size:11px;color:#82907e}.ag219-card h4{font-size:15px;margin:6px 0}.ag219-card p{font-size:13px;color:#637462;margin:8px 0}.ag219-card .ag219-lock-note{font-size:11px;color:#879381}.ag219-setting{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.ag219-panel .ag219-link{border:0;background:transparent;color:#36694c;font-size:12px}.ag219-rule>label{display:block;font-size:12px;color:#5a7158;font-weight:600;margin:12px 0}.ag219-rule>label>input,.ag219-rule>label>textarea{display:block;margin-top:6px;font-weight:400}.ag219-toggle,.ag219-scopes label{display:flex!important;align-items:center;gap:7px;margin:0!important;font-size:12px!important;font-weight:400!important}.ag219-panel input[type=checkbox]{width:16px;height:16px;min-height:0;flex:none;accent-color:#35744b}.ag219-scopes{padding:0;border:0;display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.ag219-scopes legend{font-size:12px;color:#768971;margin-bottom:8px}.ag219-panel .ag219-delete{border:0;color:#916953;background:transparent;font-size:12px;padding:5px 0}.ag219-footer{position:sticky;bottom:-30px;background:var(--surface,#fff);border-top:1px solid #e0e7db;margin:20px -3px -15px;padding:18px 3px;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;box-shadow:0 -10px 18px #fff9}.ag219-save-state{font-size:12px;color:#70836c;flex:1;min-width:120px}.ag219-error{background:#fff5e8;border:1px solid #edd6b2;color:#926138;padding:12px 15px;border-radius:10px}.ag219-status,.ag219-empty{padding:20px;color:#73836b;background:#f7faf3;border-radius:12px}.ag219-empty p{margin-bottom:0;font-size:13px}
@media(max-width:700px){.ag219-panel{padding:18px}.ag219-heading{align-items:flex-start;flex-direction:column;gap:10px}.ag219-toolbar{align-items:stretch;flex-direction:column}.ag219-toolbar button{align-self:flex-start}.ag219-panel .ag219-heading h3{font-size:24px}.ag219-footer{bottom:-18px;position:static;align-items:stretch;flex-direction:column}.ag219-footer button{width:100%}.ag219-card{padding:14px}.ag219-scopes{flex-direction:column}.ag219-group{max-width:100%}.ag219-panel input,.ag219-panel textarea{font-size:16px!important}}
[data-theme=dark] .ag219-panel{background:#16251e;color:#dbe8d9}[data-theme=dark] .ag219-card,[data-theme=dark] .ag219-panel input:not([type=checkbox]),[data-theme=dark] .ag219-panel textarea,[data-theme=dark] .ag219-footer,[data-theme=dark] .ag219-panel button{background:#1c3025;color:#dbe8d9;border-color:#3b5540}[data-theme=dark] .ag219-panel .ag219-primary{background:#b2db85;color:#183821}[data-theme=dark] .ag219-footer{box-shadow:none}[data-theme=dark] .ag219-intro,[data-theme=dark] .ag219-card p{color:#a9bea5}[data-theme=dark] .ag219-empty{background:#203323}[data-theme=dark] .ag219-filters .selected{background:#36512e}

html:root body .settings-modal.ag219-open .settings-nav button.active:not(.ag219-nav){background:transparent!important;box-shadow:none!important;color:var(--lx-ink3,#637462)!important}

html:root body .settings-modal .ag219-panel .ag219-heading h3{font-size:26px!important;font-weight:650!important;line-height:1.2!important}

.ag220-preview-box{margin:12px 0 18px;padding:14px 16px;border:1px solid #dfe7d9;border-radius:10px;background:#f7faf4}.ag220-preview-title{display:block;margin-bottom:8px;color:#71816b;font-size:11px;font-weight:600;letter-spacing:.04em}.ag220-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;font-weight:400;color:var(--text,#203d30)}.ag220-preview strong{font-weight:750;color:inherit}[data-theme=dark] .ag220-preview-box{background:#203323;border-color:#3b5540}[data-theme=dark] .ag220-preview{color:#dbe8d9}[data-theme=dark] .ag220-preview-title{color:#a9bea5}
