/* Onda 3 — Figma 284:3362. Dynamic color roles preserve persisted category values. */
.np-category-editor{width:min(560px,100vw)!important}
.np-category-editor>header{padding:24px!important;background:var(--grad-soft);border-bottom:1px solid var(--line)}
.np-category-editor>header h2{font:600 26px/1.15 var(--f-display)}
.np-category-editor #categoryForm{padding:24px;gap:20px}
.np-category-editor .np-form-intro{margin:0;color:var(--muted);font-size:13px}
.np-category-editor .np-form-heading{margin:0;font-size:17px;font-weight:600;letter-spacing:-.2px}
.np-category-customize{display:grid;gap:12px}
.np-category-editor .np-category-preview{display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;background:var(--sunk);border-radius:12px;min-height:72px}
.np-category-preview>span:last-child{display:grid;gap:3px;min-width:0}
.np-category-preview b{font-size:15px;overflow-wrap:anywhere}
.np-category-preview small{font-size:11px;color:var(--muted)}
.np-category-badge{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;overflow:hidden;color:#09332c;background:radial-gradient(ellipse at 80% 110%,var(--cat-bright) 0,transparent 72%),var(--cat-light)}
.np-category-badge svg{width:22px;height:22px;stroke-width:1.7}
.np-category-editor .np-category-field-label{font-size:13px;font-weight:550}
.np-category-editor .np-icon-palette{display:grid;grid-template-columns:repeat(10,44px);gap:5px;justify-content:space-between}
.np-category-editor .np-icon-palette button{width:44px;height:44px;min-width:44px;padding:5px;border:1.5px solid transparent;border-radius:11px;background:transparent}
.np-category-editor .np-icon-palette button img{display:block;width:32px;height:32px}
.np-category-editor .np-icon-palette button svg{width:24px;height:24px}
.np-category-editor .np-icon-palette button[aria-pressed="true"],.np-category-editor .np-color-palette button[aria-pressed="true"]{border-color:var(--ink);background:var(--sunk);color:var(--ink)}
.np-category-editor .np-color-palette{display:grid;grid-template-columns:repeat(7,44px);gap:4px 10px;justify-content:start}
.np-category-editor .np-color-palette button{position:relative;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid transparent;border-radius:11px;background:transparent;padding:8px}
.np-category-editor .np-color-palette button>span{display:block;width:24px;height:24px;border-radius:50%;background:var(--swatch)}
.np-category-editor .np-color-palette button>svg{position:absolute;width:14px;height:14px;left:14px;top:14px;color:#09332c;stroke-width:2.5;opacity:0}
.np-category-editor .np-color-palette button[aria-pressed="true"]>svg{opacity:1}
.np-category-editor .np-category-more-icons{border:0;padding:0}
.np-category-more-icons summary{font-size:12px;color:var(--muted);cursor:pointer;padding:6px 0}
.np-category-more-icons[open] summary{margin-bottom:8px}
.np-category-editor>footer{gap:8px;padding:16px 24px;border-top:1px solid var(--line);background:var(--surface)}
.np-category-editor :focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:560px){.np-category-editor #categoryForm,.np-category-editor>header{padding:20px!important}.np-category-editor .np-icon-palette{grid-template-columns:repeat(6,44px);gap:7px;justify-content:start}.np-category-editor .np-color-palette{grid-template-columns:repeat(6,44px);gap:7px}.np-category-editor>footer{padding:14px 20px;flex-wrap:wrap}.np-category-editor>footer .btn{min-height:44px}}
@media(max-width:360px){.np-category-editor .np-icon-palette,.np-category-editor .np-color-palette{grid-template-columns:repeat(5,44px)}}
