.cat-editor{padding:20px!important;min-width:0}.cat-topbar,.cat-save-actions,.cat-section-title,.cat-category-heading,.cat-inline-actions,.cat-footer{display:flex;align-items:center;gap:12px;justify-content:space-between}.cat-topbar{align-items:flex-start;margin-bottom:18px;flex-wrap:wrap}.cat-topbar h2,.cat-section-title h3{margin:0;font-size:var(--crm-section,14px)}.cat-topbar p{margin:5px 0 0;color:var(--muted,#777);font-size:var(--crm-text,12px)}.cat-save-actions{flex-wrap:wrap;justify-content:flex-end}.cat-save-actions button{white-space:nowrap}#cat-status{font-size:var(--crm-meta,11px);color:#3c7658}.cat-pending{color:#8d681e!important}.cat-workspace{display:grid;grid-template-columns:minmax(240px,28%) minmax(0,1fr);gap:20px}.cat-library{background:var(--bg,#f4f5f5);border:1px solid var(--line,#e3e5e5);border-radius:14px;padding:14px;min-width:0}.cat-section-title{margin-bottom:12px}.cat-section-title>span{font-size:11px;color:#717877}.cat-library input[type=search]{width:100%;height:38px;margin-bottom:10px}.cat-filter{display:flex!important;align-items:center;gap:8px;font-size:var(--crm-meta,11px)!important;margin-bottom:10px}.cat-filter input{width:15px;height:15px;margin:0}.cat-source{display:flex;gap:9px;align-items:center;border:1px solid var(--line,#e1e4e2);border-radius:10px;padding:10px;background:var(--surface,#fff);margin:6px 0;cursor:grab}.cat-source>div{flex:1;min-width:0}.cat-source strong,.cat-source small{display:block}.cat-source strong{font-size:var(--crm-text,12px);font-weight:550;line-height:1.4}.cat-source small{font-size:var(--crm-meta,11px);color:var(--muted,#78807c)}.cat-grip{color:#8c9590;cursor:grab;font-size:18px;user-select:none}.cat-icon{border:1px solid transparent;background:transparent;color:inherit;border-radius:6px;min-width:26px;height:26px;padding:2px;display:inline-grid;place-items:center;flex:none;font-size:14px}.cat-icon:hover:not(:disabled){border-color:#a6afa8;background:#eff4ed}.cat-icon:disabled{opacity:.25;cursor:default}#cat-library-list{max-height:54vh;overflow:auto;padding-right:5px;scrollbar-width:thin}.cat-structure{min-width:0}.cat-categories{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line,#e2e5e3)}.cat-category,.cat-add-category{display:flex;gap:8px;align-items:center;border:1px solid var(--line,#dce1dd);border-radius:9px;padding:9px 12px;background:var(--bg,#f4f5f4);font-size:var(--crm-text,12px);color:inherit}.cat-category.selected{border-color:#343e38;background:var(--surface,#fff);box-shadow:0 0 0 1px #343e38}.cat-category small{font-size:10px;color:#788078}.cat-add-category{border-style:dashed;background:transparent}.cat-category-heading{margin:14px 0;gap:10px;flex-wrap:wrap}.cat-category-heading label{font-size:var(--crm-meta,11px);margin:0;min-width:180px;max-width:280px}.cat-category-heading input{height:36px}.cat-inline-actions{justify-content:flex-end;gap:6px}.cat-groups{max-height:54vh;overflow:auto;padding:2px 5px 2px 2px;scrollbar-width:thin;display:grid;gap:12px}.cat-group{border:1px solid var(--line,#dce1dd);border-radius:12px;background:var(--surface,#fff);overflow:hidden}.cat-group-heading{display:flex;align-items:center;gap:5px;padding:8px 12px;background:var(--bg,#f3f4f3);border-bottom:1px solid var(--line,#e3e6e4)}.cat-group-heading input{flex:1;min-width:0;background:transparent;border:1px solid transparent;font-size:var(--crm-text,12px);font-weight:600;height:32px;padding:4px 6px}.cat-group-heading input:focus{background:var(--surface,#fff);border-color:#69766d}.cat-items{padding:6px 10px}.cat-placement{display:flex;align-items:center;gap:10px;min-height:38px;padding:5px 2px;border-bottom:1px solid var(--line,#edf0ed);cursor:grab}.cat-placement>small{font-size:var(--crm-meta,11px);color:var(--muted,#727c74);min-width:54px}.cat-placement strong{flex:1;min-width:0;font-size:var(--crm-text,12px);font-weight:500}.cat-item-actions{display:flex;gap:1px}.cat-drop-hint{padding:10px;text-align:center;color:var(--muted,#8b958d);font-size:var(--crm-meta,11px)}.cat-drop-active{outline:2px dashed #699b4b!important;outline-offset:-2px;background:#f0f7eb!important}.cat-footer{font-size:var(--crm-meta,11px);color:var(--muted,#7e857f);margin-top:18px;flex-wrap:wrap}.cat-empty{padding:24px 12px;text-align:center;font-size:var(--crm-text,12px);color:var(--muted,#7d867f)}#website-catalog-dialog form{max-width:900px;margin:20px auto}#website-catalog-dialog p{line-height:1.7}.cat-publish-list{display:grid;gap:12px;list-style:none;padding:0}.cat-publish-list li{padding:14px;border:1px solid var(--line,#dce1dd);border-radius:10px}.cat-editor button:focus-visible,.cat-editor a:focus-visible{outline:2px solid #46783b;outline-offset:3px}@media(max-width:1050px){.cat-workspace{grid-template-columns:240px minmax(0,1fr)}.cat-item-actions{gap:0}.cat-placement{gap:5px}.cat-placement strong{font-size:11px}}@media(max-width:760px){.cat-workspace{grid-template-columns:1fr}#cat-library-list{max-height:220px}.cat-groups{max-height:none}.cat-topbar{gap:10px}.cat-item-actions .cat-icon{min-width:24px}.cat-category-heading label{max-width:none}}
.cat-workspace{height:max(370px,calc(100dvh - 420px))}.cat-library{display:flex;flex-direction:column}.cat-library #cat-library-list{flex:1;min-height:0;max-height:none}.cat-structure{display:flex;flex-direction:column;min-height:0}.cat-categories,.cat-category-heading{flex:none}.cat-groups{flex:1;min-height:0;max-height:none;align-content:start}@media(max-width:760px){.cat-workspace{height:auto}.cat-library #cat-library-list{max-height:240px;flex:none}.cat-groups{overflow:visible;flex:none}}
