/* Page-scoped category groups: the list itself is the preset. */
.category-groups-panel{overflow:clip}
.category-groups-panel .map-settings-content{padding:13px 18px 22px}
.category-page-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;color:#6b8262;font-size:11px}
.category-page-context>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.category-page-context small{font-size:10px;color:#8b9b80;white-space:nowrap}
.category-group-bar{display:flex;align-items:flex-end;gap:8px;margin-bottom:7px}
.category-group-bar>label{display:grid;gap:6px;flex:1;min-width:0;color:#819574;font-size:10px}
.category-group-bar>label>select{height:35px;background:#fff;font-size:12px!important}
.group-save-button{display:flex;align-items:center;gap:5px;min-height:35px;padding:6px 8px;border:1px solid #dce5d5;border-radius:5px;font-size:10px;color:#68825e;white-space:nowrap;background:#fff}
.group-save-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.category-group-modified{display:block;min-height:15px;color:#a08f64;font-size:10px;margin:0 0 6px 1px}
.category-actions{position:relative;flex-shrink:0;align-self:center}
.category-actions>summary{display:grid;place-items:center;width:24px;height:29px;cursor:pointer;list-style:none;font-size:16px;line-height:1;color:#899b7e;border-radius:5px}
.category-actions>summary::-webkit-details-marker{display:none}
.category-actions>summary:hover,.category-actions[open]>summary{background:#edf3e7;color:#527847}
.category-actions>div{position:absolute;right:0;bottom:calc(100% + 4px);width:163px;padding:4px;display:flex;flex-direction:column;border:1px solid #d9e4d2;border-radius:6px;background:#fff;box-shadow:0 6px 25px #25462c1c;z-index:8}
.group-actions{align-self:flex-end;margin-bottom:3px}
.group-actions>div{top:calc(100% + 4px);bottom:auto}
.category-actions>div button{font-size:11px;padding:9px 10px;text-align:left;color:#647f58;border-radius:4px}
.category-actions .category-remove-action{color:#a27865}
.category-actions button:disabled{opacity:.4}
.category-group-save{border-block:1px solid #e1e9da;padding:12px 0;margin:12px 0 0}
.category-group-save>label{display:grid;gap:7px;font-size:11px;color:#748c65}
.category-group-save>div{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.category-group-save button{font-size:11px;padding:7px 10px;color:#839579}
.category-group-save .group-confirm{background:#e9f1e2;color:#4e7443}
.category-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:21px 0 6px}
.category-list-heading h3{font-size:12px;font-weight:550;color:#5e7a52}
.category-list-heading h3>span{font-size:10px;font-weight:400;color:#99a68f;margin-left:5px}
.category-list-heading>button{font-size:11px;color:#628457;padding:7px 0 7px 8px}
.category-assignment-note{font-size:10px;line-height:1.7;color:#8a9c7e;margin:0 0 10px}
.category-definition-list{list-style:none;padding:0;margin:0}
.category-definition-list>li{display:flex;align-items:center;gap:10px;min-height:66px;border-bottom:1px solid #e6ecdf;padding:7px 0}
.category-edit-row{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:5px 0;text-align:left;border-radius:4px;min-height:45px}
.category-edit-row:hover{background:#f3f7ee}
.category-edit-row>strong{font-size:12px;line-height:1.5;font-weight:500;color:#5d7b52;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.category-row-chevron{margin-left:auto;margin-right:2px;color:#a0ae95;font-size:16px}
.category-style-sample{display:grid;place-items:center;flex-shrink:0;width:39px;height:32px;border:var(--node-border-width,1px) var(--node-border,solid) var(--node-accent);border-radius:6px;background:var(--node-fill);color:var(--node-ink);font-family:var(--node-font);font-size:15px;font-weight:var(--node-weight);font-style:var(--node-italic);text-decoration:var(--node-decoration);box-shadow:var(--node-shadow)}
.category-style-sample.shape-square{border-radius:0}.category-style-sample.shape-pill{border-radius:99px}.category-style-sample.shape-oval{border-radius:50%}.category-style-sample.shape-note{border-radius:1px 10px 1px 1px;border-left-width:3px}.category-style-sample.shape-text{border:0;background:transparent;box-shadow:none}
.category-name-switch{display:flex;align-items:center;gap:7px;flex-shrink:0;padding:6px 0 6px 4px;min-height:32px;font-size:10px;color:#8a9b7f}
.category-name-switch:hover{background:transparent;color:#627c58}
.category-name-switch>i{position:relative;display:block;width:28px;height:16px;border-radius:20px;background:#dce4d5;transition:background .15s}
.category-name-switch>i:after{content:'';position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #213d2020;transition:transform .15s}
.category-name-switch[aria-checked=true]>i{background:#7d9d6d}.category-name-switch[aria-checked=true]>i:after{transform:translateX(12px)}
.category-list-empty{padding:24px 5px;color:#879a79;font-size:12px;line-height:1.7}
.category-list-empty strong{font-weight:500}.category-list-empty p{font-size:11px;margin-top:4px}.category-list-empty button{font-size:11px;color:#608452;margin-top:12px;padding:6px 0}
.category-editor-back{font-size:11px;color:#79936b;margin:15px 0 16px;padding:3px 0}
.category-editor-heading{display:flex;align-items:flex-end;gap:18px}
.category-editor-heading>label{display:grid;gap:6px;flex:1;min-width:0;font-size:10px;color:#839975}
.category-editor-heading input{font-size:13px!important;height:36px}
.category-editor-heading>.category-name-switch{margin-bottom:2px}
.category-preview-wrap{overflow:hidden;max-width:100%;padding:20px 12px;margin:16px 0 21px;border-block:1px solid #e3ebdc;background:#f8faf5;background-image:radial-gradient(#b6c8ac45 .6px,transparent .6px);background-size:15px 15px}
.category-preview-wrap .map-preset-preview{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;max-width:100%;margin:0 auto;padding:10px 13px;overflow:hidden}
.category-preview-wrap .map-preset-preview>small{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:8px;font-weight:450;font-style:normal;text-decoration:none;opacity:.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.category-preview-wrap .map-preset-preview.shape-pill{border-radius:99px}.category-preview-wrap .map-preset-preview.shape-oval{border-radius:50%}.category-preview-wrap .map-preset-preview.shape-note{border-radius:1px 15px 1px 1px;border-left-width:3px}.category-preview-wrap .map-preset-preview.shape-rounded{border-radius:8px}.category-preview-wrap .map-preset-preview.shape-square{border-radius:0}
.category-editor-remove{font-size:11px;padding:6px 0;margin-top:2px;color:#a47a67}
.category-groups-panel .map-appearance fieldset{margin-bottom:18px}.category-groups-panel .map-appearance legend{font-size:11px;color:#7c946d}
.category-preview-wrap .map-preset-preview>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;flex-shrink:1}
.category-preview-wrap .map-preset-preview:is(.shape-pill,.shape-oval){padding-inline:22px 12px}
.map-save-status{font-size:10px;line-height:1.4;color:#8a9b7f;text-align:right}.map-save-status.is-error{color:#a05b50}.map-save-status button{padding:4px 5px;margin-left:3px;text-decoration:underline}
.node-size-modes{display:flex;gap:5px;margin-bottom:10px}.node-size-modes button{flex:1;min-height:34px;border:1px solid #dce5d5;background:#fbfcf9;padding:7px 10px;font-size:11px;color:#839776}.node-size-modes button[aria-pressed=true]{background:#e8f0e1;color:#476f3b;border-color:#b9cdaa}
.node-size-inputs input{font-variant-numeric:tabular-nums}
.capability-mindmap .mindmap-node[data-fixed-height] .mindmap-node-main{min-height:0}.capability-mindmap .mindmap-node[data-fixed-height] .mindmap-node-kind{flex-shrink:0}
.map-category-assignment{display:flex;align-items:center;flex:0 1 180px;min-width:0;max-width:38%;font-size:10px;color:#8a9b7e}
.map-category-assignment select{font-size:10px;min-width:0;width:100%;max-width:100%;min-height:29px;padding:4px 22px 4px 7px;border-color:#e0e8da;background:#fbfdf8;color:#67845c}
.map-category-feedback{font-size:11px;color:#a87963;margin:0 0 12px}.map-category-feedback:empty{display:none}
@media(max-width:760px){
 .category-groups-panel .map-settings-content{padding:12px 14px 20px}
 .category-group-bar{gap:6px}.group-save-button{padding:6px;gap:4px;font-size:9px}
 .category-definition-list>li{gap:7px;min-height:65px}.category-edit-row{gap:8px}.category-style-sample{width:31px;height:29px;font-size:14px}
 .category-edit-row>strong{font-size:11px}.category-name-switch{font-size:9px;gap:5px}.category-name-switch>i{width:26px;height:16px}.category-name-switch[aria-checked=true]>i:after{transform:translateX(10px)}
 .category-row-chevron{display:none}.category-actions>summary{width:21px}
 .category-editor-heading{gap:10px}.category-list-heading{margin-top:18px}
 .category-preview-wrap{overflow:hidden;max-width:100%;padding:17px 10px;margin-block:14px 18px}
 .node-size-modes button{min-height:42px}.node-size-inputs input{min-height:38px!important}
 .map-category-assignment{flex-basis:125px}.map-category-assignment select{font-size:10px;min-height:36px}
}
@media(prefers-reduced-motion:reduce){.category-name-switch>i,.category-name-switch>i:after{transition:none}}
@media(max-width:760px){.category-name-switch{min-height:42px}.category-actions>summary{height:38px;width:24px}}
