.znm-reference-price{display:none!important}
body.znm-catalog-price-hidden .price,
body.znm-catalog-price-hidden .woocommerce-Price-amount,
body.znm-catalog-price-hidden .wc-block-components-product-price,
body.znm-catalog-price-hidden .wc-block-grid__product-price,
body.znm-catalog-price-hidden [data-testid="product-price"]{display:none!important}
html.znm-estimate-modal-open{overflow:hidden!important}
.znm-estimate-button{cursor:pointer}
/* Страховка от сторонних шаблонов: штатная кнопка покупки скрыта, но не перехватывается. */
.single-product .single_add_to_cart_button:not(.znm-estimate-button){display:none!important}
.znm-estimate-modal-root[hidden]{display:none!important}
.znm-estimate-modal-root{position:fixed;inset:0;z-index:999999}
.znm-estimate-modal-backdrop{position:absolute;inset:0;display:grid;place-items:center;padding:18px;background:rgba(18,24,31,.72);backdrop-filter:blur(3px)}
.znm-estimate-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1240px,96vw);height:min(92vh,980px);min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.26);border-radius:14px;background:#f5f6f8;box-shadow:0 28px 80px rgba(0,0,0,.38)}
.znm-estimate-modal-root.is-compact .znm-estimate-modal{width:min(720px,94vw);height:auto;max-height:90vh}
.znm-estimate-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 10px 8px 18px;border-bottom:1px solid #dfe3e8;background:#fff;color:#24272d}
.znm-estimate-modal__head strong{font-size:17px;line-height:1.25}
.znm-estimate-modal__head button{display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:8px;background:#eef1f4;color:#38414c;font:400 27px/1 sans-serif;cursor:pointer}
.znm-estimate-modal__body{min-width:0;min-height:0;overflow:auto}
.znm-estimate-notice{display:grid;align-content:center;justify-items:center;gap:14px;min-height:330px;padding:34px 38px;text-align:center;color:#303844;background:linear-gradient(180deg,#fff 0,#fffaf5 100%)}
.znm-estimate-notice p{max-width:620px;margin:0;font-size:16px;line-height:1.58}
.znm-estimate-notice__lead{font-size:19px!important;font-weight:750;color:#222b33}
.znm-estimate-notice__foot{color:#66717d}
.znm-estimate-notice__progress{display:inline-flex;padding:7px 11px;border-radius:999px;background:#fff1e6;color:#a64a08;font-size:14px}
.znm-estimate-notice__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
.znm-estimate-modal__primary,.znm-access-gate__button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:10px 17px;border:0;border-radius:9px;background:#f47a20;color:#fff!important;text-decoration:none!important;font-weight:750;box-shadow:none}
.znm-estimate-modal__primary:hover,.znm-access-gate__button:hover{background:#d9610e;color:#fff!important}
.znm-estimate-modal__secondary{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:10px 17px;border:1px solid #d9dee4;border-radius:9px;background:#fff;color:#303844!important;text-decoration:none!important;font:inherit;font-weight:700;cursor:pointer}
.znm-estimate-loading{display:grid;align-content:center;justify-items:center;gap:14px;min-height:280px;padding:30px;color:#59616d;text-align:center}
.znm-estimate-loading span{width:36px;height:36px;border:4px solid #d9dee4;border-top-color:#f47a20;border-radius:50%;animation:znm-spin .8s linear infinite}
.znm-estimate-loading p{margin:0}
.znm-access-gate{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;margin:8px 0 24px;padding:22px;border:1px solid #e4e7ea;border-radius:12px;background:#fff;color:#303844;box-shadow:0 8px 24px rgba(29,38,46,.06)}
.znm-access-gate__mark{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:#fff1e6;color:#c4540b;font-size:22px;font-weight:800}
.znm-access-gate h2{margin:0 0 8px;font-size:22px;line-height:1.25}
.znm-access-gate p{margin:0 0 12px;color:#59636e;line-height:1.55}
.znm-access-gate small{display:block;margin-top:7px;color:#66717d}
.znm-access-progress{height:8px;overflow:hidden;border-radius:999px;background:#e9edf0}
.znm-access-progress i{display:block;height:100%;border-radius:inherit;background:#f47a20}
@keyframes znm-spin{to{transform:rotate(360deg)}}
@media(max-width:680px){.znm-estimate-modal-backdrop{padding:0}.znm-estimate-modal,.znm-estimate-modal-root.is-compact .znm-estimate-modal{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}.znm-estimate-modal__head{min-height:48px;padding-left:12px}.znm-estimate-notice{min-height:100%;padding:24px 17px}.znm-estimate-notice p{font-size:15px}.znm-estimate-notice__lead{font-size:18px!important}.znm-access-gate{grid-template-columns:1fr;padding:18px}.znm-access-gate__mark{width:44px;height:44px}.znm-access-gate h2{font-size:22px}}
.znm-single-estimate-action{margin:1em 0}

.znm-admin-category-tools{margin:10px 0 16px}.znm-admin-category-button{min-height:38px;padding:8px 14px!important;border:1px solid #d8dee6!important;border-radius:9px!important;background:#fff!important;color:#334155!important;font-weight:700!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important}
.znm-admin-tool{display:grid;gap:14px;max-width:920px;margin:0 auto}.znm-admin-tool__summary{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border:1px solid #dfe4ea;border-radius:12px;background:#fff}.znm-admin-tool__image{width:86px;height:86px;object-fit:cover;border-radius:10px;background:#edf1f5;display:grid;place-items:center;color:#667085;font-weight:800}.znm-admin-tool__summary small{display:block;color:#6b7280;font-size:12px}.znm-admin-tool__summary h3{margin:4px 0 5px;font-size:21px;line-height:1.2;color:#1f2937}.znm-admin-tool__quick{display:flex;flex-wrap:wrap;gap:8px}.znm-admin-tool__quick button,.znm-admin-tool__actions button,.znm-admin-category-browser button{min-height:40px;padding:9px 13px;border:1px solid #d4dae2;border-radius:9px;background:#fff;color:#334155;font-weight:700;cursor:pointer}.znm-admin-tool__quick button:hover,.znm-admin-tool__actions button:hover,.znm-admin-category-browser button:hover{background:#f7f9fb}.znm-admin-tool__transfer{display:grid;gap:11px;padding:15px;border:1px solid #dfe4ea;border-radius:12px;background:#f8fafc}.znm-admin-tool__transfer h4{margin:0;font-size:18px}.znm-admin-tool__transfer>p{margin:0;color:#5f6b7a;line-height:1.45}.znm-admin-tool__source-path>span{font-size:12px;color:#64748b}.znm-admin-tool__source-path{display:grid;gap:4px;padding:10px 11px;border:1px solid #d7dde5;border-radius:9px;background:#fff}.znm-admin-tool__source-path strong{font-size:13px;line-height:1.4}.znm-admin-category-browser{display:grid;gap:9px;padding:11px;border:1px solid #d7dde5;border-radius:10px;background:#fff}.znm-admin-category-browser__head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center}.znm-admin-category-browser__head strong{min-width:0;font-size:14px;line-height:1.35;color:#243442;overflow-wrap:anywhere}.znm-admin-category-browser__back{min-height:34px!important;padding:6px 10px!important}.znm-admin-category-browser__choose{display:flex}.znm-admin-category-browser__choose button{border-color:#a9c4d5;background:#eef7fb;color:#184d70}.znm-admin-category-browser__list{display:grid;gap:6px;min-height:42px}.znm-admin-category-browser__item{display:flex!important;width:100%;align-items:center;justify-content:space-between;text-align:left}.znm-admin-category-browser__item>span{display:grid;min-width:0;gap:2px}.znm-admin-category-browser__item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.znm-admin-category-browser__item small{color:#7a8794;font-size:11px;font-weight:500}.znm-admin-category-browser__item>b{font-size:22px;line-height:1;color:#718096}.znm-admin-category-browser__loading,.znm-admin-category-browser__empty{display:block;padding:10px;color:#718096;font-size:12px}.znm-admin-category-browser__more{justify-self:start;min-height:34px!important;padding:6px 10px!important}.znm-admin-tool__destination{display:grid;gap:3px;padding:9px 11px;border:1px solid #c7d7df;border-radius:9px;background:#eef7fb}.znm-admin-tool__destination>span{color:#607785;font-size:11px}.znm-admin-tool__destination>strong{color:#183e56;font-size:13px;overflow-wrap:anywhere}.znm-admin-tool__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.znm-admin-tool__actions button.is-primary{border-color:#2563eb;background:#2563eb;color:#fff}.znm-admin-tool__actions button.is-primary:hover{background:#1d4ed8}.znm-admin-tool__status{min-height:20px;color:#9a5b00!important;font-weight:700}.znm-admin-tool button:disabled{opacity:.55;cursor:wait}.znm-admin-product-tools{margin:10px 0 0}.znm-admin-product-tools .button{min-height:38px}.znm-admin-category-tools{margin:8px 0 14px}
@media(max-width:680px){.znm-admin-tool__summary{grid-template-columns:68px minmax(0,1fr);padding:10px}.znm-admin-tool__image{width:68px;height:68px}.znm-admin-tool__summary h3{font-size:18px}.znm-admin-tool__quick,.znm-admin-tool__actions{display:grid;grid-template-columns:1fr}.znm-admin-tool__quick button,.znm-admin-tool__actions button{width:100%}.znm-admin-category-browser__head{grid-template-columns:1fr}.znm-admin-category-browser__back{justify-self:start}.znm-admin-category-browser__item strong{white-space:normal}}

.znm-admin-tool__result{display:flex;flex-wrap:wrap;gap:8px}.znm-admin-tool__result:empty{display:none}.znm-admin-tool__result a{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;color:#1e5b8f;font-weight:750;text-decoration:none}.znm-admin-tool__result a:hover{background:#f5f8fb}

/* 0.5.16: canonical admin editor above transfer tools. */
.znm-admin-tool{max-width:1180px;padding:14px}
.znm-admin-tool__edit{display:grid;gap:10px;padding:15px;border:1px solid #dfe4ea;border-radius:12px;background:#fff;min-width:0}
.znm-admin-tool__edit>h4{margin:0;color:#263744;font-size:18px;line-height:1.25}
.znm-admin-tool__edit-note{margin:0;color:#697682;font-size:12px;line-height:1.45}
.znm-admin-tool__editor-error{margin:0;padding:10px 12px;border:1px solid #eccaca;border-radius:8px;background:#fff6f6;color:#9a3434}
.znm-admin-tool__saved{padding:9px 12px;border:1px solid #bcdcc8;border-radius:9px;background:#f1faf4;color:#28633b;font-size:13px;font-weight:750}
.znm-admin-product-editor-form{margin:0!important}
.znm-admin-tool__edit .znpe-actions{padding-bottom:0}
.znm-admin-tool__edit-status{align-self:center;color:#66727e;font-size:12px;font-weight:650}
.znm-admin-category-editor-form{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:14px;min-width:0}
.znm-admin-category-editor__media{position:relative;display:grid;align-content:start;gap:8px;min-width:0}
.znm-admin-category-editor__media>img,.znm-admin-category-editor__media>span{display:grid;width:100%;aspect-ratio:4/3;place-items:center;overflow:hidden;border:1px solid #d8dee5;border-radius:10px;background:#eef2f4;color:#7b8792;object-fit:cover}
.znm-admin-category-editor__media>label{display:flex;min-height:38px;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #d2d9e1;border-radius:8px;background:#fff;color:#334155;font-weight:700;cursor:pointer}
.znm-admin-category-editor__media>label input{display:none}
.znm-admin-category-editor__media>button{position:absolute;top:6px;right:6px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:7px;background:rgba(255,255,255,.94);color:#a33b3b;font:700 20px/1 sans-serif;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.15)}
.znm-admin-category-editor__fields{display:grid;align-content:start;gap:11px;min-width:0}
.znm-admin-category-editor__fields label{display:grid;gap:5px;min-width:0}
.znm-admin-category-editor__fields label>span{color:#5f6b76;font-size:12px;font-weight:750}
.znm-admin-category-editor__fields input,.znm-admin-category-editor__fields textarea{width:100%;max-width:100%;min-width:0;border:1px solid #cfd6de;border-radius:8px;background:#fff;color:#27323c;font:inherit;padding:10px 11px;box-shadow:none}
.znm-admin-category-editor__fields input{min-height:42px}
.znm-admin-category-editor__fields textarea{resize:vertical;line-height:1.45}
.znm-admin-category-editor__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.znm-admin-category-editor__actions button{min-height:42px;padding:9px 14px;border:0;border-radius:9px;background:#2b86c5;color:#fff;font-weight:750;cursor:pointer}
.znm-admin-category-editor__actions span{color:#66727e;font-size:12px;font-weight:650}
.znm-admin-tool__result button{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;color:#1e5b8f;font:inherit;font-weight:750;cursor:pointer}
@media(max-width:760px){.znm-admin-tool{padding:8px}.znm-admin-tool__edit{padding:10px}.znm-admin-category-editor-form{grid-template-columns:1fr}.znm-admin-category-editor__media{max-width:320px}.znm-admin-category-editor__actions{display:grid;grid-template-columns:1fr}.znm-admin-category-editor__actions button{width:100%}}

/* Public Natmasters catalogue: native WooCommerce markup, minimal presentation only. */
body.znm-natmasters-category-archive li.product-category > a {
  color:inherit;
  text-decoration:none;
}

/* Categories and products share one 4:3 media box. The image is enlarged to
 * the available card width, leaving a real 5px inset around the box. */
body.znm-natmasters-category-archive li.product-category > a > img,
body.znm-natmasters-category-archive li.product:not(.product-category) a img {
  display:block !important;
  width:calc(100% - 10px) !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:4 / 3 !important;
  margin:5px !important;
  padding:0 !important;
  box-sizing:border-box;
  object-fit:contain !important;
  object-position:center !important;
  background:#f3f4f2;
}

/* Category title: larger than a product title, but otherwise native and quiet. */
body.znm-natmasters-category-archive .woocommerce ul.products li.product-category .woocommerce-loop-category__title,
body.znm-natmasters-category-archive ul.products li.product-category .woocommerce-loop-category__title {
  margin:0;
  padding:7px;
  background:transparent;
  color:#202830;
  font-size:20px !important;
  font-weight:700 !important;
  line-height:1.22;
  text-shadow:none;
  overflow-wrap:anywhere;
}

body.znm-natmasters-category-archive li.product-category .woocommerce-loop-category__title mark {
  display:none;
}

/* 0.5.46 — admin category editor: one UI hierarchy for create/edit/structure. */
.znm-admin-tool__section-heading{
  --znm-ui-section-heading-bg:#e7f0f7;
  margin:0;
  color:#183f5b;
  font-size:19px;
  font-weight:700;
  line-height:1.25;
}
.znm-admin-tool__subheading{
  margin:2px 0 4px;
  padding:0 0 6px;
  border-bottom:2px solid #6da5c8;
  color:#175b86;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
}
.znm-admin-tool__create{
  --znm-ui-section-heading-bg:#e9f6ee;
  border:1px solid #c9ded1;
  border-radius:12px;
  background:#fff;
}
.znm-admin-tool__create>summary{
  background:#e9f6ee;
  color:#245d40;
}
.znm-admin-tool__create>summary>span{
  display:grid;
  gap:3px;
  min-width:0;
}
.znm-admin-tool__create>summary strong{
  color:#245d40;
  font-size:18px;
  font-weight:700;
}
.znm-admin-tool__create>summary small{
  color:#567464;
  font-size:12px;
  font-weight:400;
  line-height:1.35;
}
.znm-admin-tool__create>summary>b{
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:50%;
  background:#2d7652;
  color:#fff;
  font-size:20px;
  font-weight:600;
  line-height:1;
}
.znm-admin-tool__create[open]>summary>b{transform:rotate(45deg)}
.znm-admin-tool__create .znm-ui-disclosure__content{padding:14px}
.znm-admin-category-editor__preview{
  position:relative;
  min-width:0;
}
.znm-admin-category-editor__preview>img,
.znm-admin-category-editor__preview>span{
  display:grid;
  width:100%;
  aspect-ratio:4/3;
  place-items:center;
  overflow:hidden;
  border:1px solid #d8dee5;
  border-radius:10px;
  background:#eef2f4;
  color:#7b8792;
  object-fit:cover;
}
.znm-admin-category-editor__preview>button{
  position:absolute;
  top:6px;
  right:6px;
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border:0;
  border-radius:7px;
  background:rgba(255,255,255,.94);
  color:#a33b3b;
  font:700 20px/1 sans-serif;
  cursor:pointer;
  box-shadow:0 1px 5px rgba(0,0,0,.15);
}
.znm-admin-category-editor__image-picker{
  display:flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:8px 11px;
  border:1px solid #d2d9e1;
  border-radius:8px;
  background:#fff;
  color:#334155;
  font-weight:700;
  cursor:pointer;
}
.znm-admin-category-editor__image-picker input{display:none}
.znm-admin-category-editor__fields label>small{
  color:#74818c;
  font-size:11.5px;
  font-weight:400;
  line-height:1.35;
}
.znm-admin-category-editor__parent{
  display:grid;
  gap:3px;
  padding:9px 11px;
  border-left:3px solid #71a989;
  background:#f3faf6;
}
.znm-admin-category-editor__parent span{
  color:#718078;
  font-size:11px;
}
.znm-admin-category-editor__parent strong{
  color:#315744;
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.znm-admin-tool__transfer{
  background:#fff;
}
.znm-admin-tool__transfer>.znm-admin-tool__section-heading{
  margin:-15px -15px 2px;
  border-radius:11px 11px 0 0;
}
.znm-admin-tool__edit>.znm-admin-tool__section-heading{
  margin:-15px -15px 0;
  border-radius:11px 11px 0 0;
}
@media(max-width:760px){
  .znm-admin-tool__section-heading{font-size:18px}
  .znm-admin-tool__subheading{font-size:14px}
  .znm-admin-tool__create .znm-ui-disclosure__content{padding:10px}
  .znm-admin-tool__edit>.znm-admin-tool__section-heading{margin:-10px -10px 0}
  .znm-admin-tool__transfer>.znm-admin-tool__section-heading{margin:-15px -15px 2px}
}

/* 0.5.47 — slug is a compact URL note, not a permanent form field. */
.znm-admin-slug-note{
  display:grid;
  gap:5px;
  min-width:0;
  margin:2px 0 4px;
  padding:2px 0 7px;
  border-bottom:1px solid #dbe3e8;
}
.znm-admin-slug-note__label{
  color:#75828d;
  font-size:11px;
  font-weight:600;
  line-height:1.25;
}
.znm-admin-slug-note__line{
  display:flex;
  flex-wrap:wrap;
  gap:7px 10px;
  align-items:baseline;
  min-width:0;
}
.znm-admin-slug-note__line code{
  min-width:0;
  padding:0;
  background:transparent;
  color:#687782;
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.znm-admin-slug-note__line code b{
  color:#294f69;
  font-weight:700;
}
.znm-admin-text-action{
  appearance:none;
  padding:0;
  border:0;
  background:transparent;
  color:#1f6f9f;
  font:600 12px/1.35 inherit;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
.znm-admin-text-action:hover{color:#164f72}
.znm-admin-slug-note__editor{
  display:grid;
  grid-template-columns:minmax(120px,240px) auto;
  gap:5px 8px;
  align-items:center;
  max-width:360px;
}
.znm-admin-slug-note__editor[hidden]{display:none}
.znm-admin-slug-note__editor input{
  width:100%;
  min-width:0;
  height:31px;
  padding:4px 7px;
  border:1px solid #b9c8d2;
  border-radius:6px;
  background:#fff;
  color:#213849;
  font:600 12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;
}
.znm-admin-slug-note__editor small{
  grid-column:1/-1;
  color:#7b8790;
  font-size:10.5px;
  line-height:1.3;
}
.znm-admin-slug-note__editor small.is-error{color:#a33b3b}
.znm-admin-text-action--ok{
  min-width:24px;
  color:#2d7652;
  font-weight:700;
  text-transform:lowercase;
}
@media(max-width:760px){
  .znm-admin-slug-note__line{display:grid;gap:4px}
  .znm-admin-slug-note__editor{grid-template-columns:minmax(0,1fr) auto;max-width:none}
}

/* 0.5.48 — shared Product Editor in category create mode. */
.znm-admin-tool__create--product{
  --znm-ui-section-heading-bg:#e7f0f7;
  border-color:#c9d9e5;
}
.znm-admin-tool__create--product>summary{
  background:#e7f0f7;
  color:#184f73;
}
.znm-admin-tool__create--product>summary strong{color:#184f73}
.znm-admin-tool__create--product>summary small{color:#5d7485}
.znm-admin-tool__create--product>summary>b{background:#2b6fae}
.znm-admin-tool__create-context{
  display:grid;
  gap:3px;
  margin:0 0 12px;
  padding:9px 11px;
  border-left:3px solid #6da5c8;
  background:#f2f7fb;
}
.znm-admin-tool__create-context span{
  color:#73818d;
  font-size:11px;
  font-weight:600;
}
.znm-admin-tool__create-context strong{
  color:#244c67;
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.znm-admin-tool__create--product .znm-admin-product-editor-form{margin:0}

/* 0.5.49 — structure accordions and canonical display order. */
.znm-admin-tool__transfer{display:grid;gap:10px}
.znm-admin-tool__transfer>p{margin:0 0 2px}
.znm-admin-structure-accordion{
  margin:0;
  overflow:hidden;
  border:1px solid #d6e0e7;
  border-radius:10px;
  background:#fff;
}
.znm-admin-structure-accordion>summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px;
  gap:10px;
  align-items:center;
  min-height:54px;
  padding:10px 12px;
  background:#f5f8fa;
  color:#29485d;
  cursor:pointer;
  list-style:none;
}
.znm-admin-structure-accordion>summary::-webkit-details-marker{display:none}
.znm-admin-structure-accordion>summary>span{display:grid;gap:2px;min-width:0}
.znm-admin-structure-accordion>summary strong{
  color:#244e69;
  font-size:15px;
  font-weight:700;
  line-height:1.25;
}
.znm-admin-structure-accordion>summary small{
  color:#73828d;
  font-size:11.5px;
  font-weight:400;
  line-height:1.3;
}
.znm-admin-structure-accordion>summary>b{
  display:grid;
  width:26px;
  height:26px;
  place-items:center;
  justify-self:end;
  border-radius:50%;
  background:#dfeaf1;
  color:#285a78;
  font-size:18px;
  font-weight:600;
  line-height:1;
  transition:transform .16s ease;
}
.znm-admin-structure-accordion[open]>summary>b{transform:rotate(45deg)}
.znm-admin-structure-accordion>.znm-ui-disclosure__content{padding:11px 12px 12px}
.znm-admin-order-hint,
.znm-admin-order-empty,
.znm-admin-order-status{
  margin:0;
  color:#71808b;
  font-size:11.5px;
  line-height:1.4;
}
.znm-admin-order-list{display:grid;gap:5px;margin:8px 0 0}
.znm-admin-order-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:42px;
  padding:6px 7px;
  border:1px solid #dce4e9;
  border-radius:8px;
  background:#fff;
  cursor:grab;
}
.znm-admin-order-row:active{cursor:grabbing}
.znm-admin-order-row.is-dragging{opacity:.55;border-color:#6da5c8;background:#eef6fb}
.znm-admin-order-row__handle{
  color:#80909b;
  font:700 17px/1 sans-serif;
  letter-spacing:-3px;
  user-select:none;
}
.znm-admin-order-row__copy{display:grid;gap:2px;min-width:0}
.znm-admin-order-row__copy strong{
  overflow:hidden;
  color:#243b4b;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.znm-admin-order-row__copy small{color:#8a6c2d;font-size:10.5px;line-height:1.25}
.znm-admin-order-row__actions{display:flex;gap:3px}
.znm-admin-order-row__actions button{
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  padding:0;
  border:1px solid #cdd8df;
  border-radius:6px;
  background:#fff;
  color:#315b75;
  font-size:15px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.znm-admin-order-row__actions button:disabled{opacity:.28;cursor:default}
.znm-admin-order-status{min-height:16px;margin-top:7px;color:#486a7f}
@media(max-width:760px){
  .znm-admin-structure-accordion>summary{min-height:50px;padding:9px 10px}
  .znm-admin-order-row{grid-template-columns:16px minmax(0,1fr) auto;padding:6px}
  .znm-admin-order-row__actions button{width:30px;height:30px}
}

/* 0.5.50 — explicit commit state for order changes + visible admin close. */
.znm-admin-order-savebar{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  justify-content:space-between;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid #e1e7eb;
}
.znm-admin-order-savebar>[data-znm-admin-order-status]{
  min-height:0;
  margin:0;
  color:#71808b;
  font-size:11.5px;
  font-weight:600;
  line-height:1.35;
}
.znm-admin-order-savebar button{
  min-height:36px;
  padding:7px 12px;
  border:1px solid #2b6fae;
  border-radius:8px;
  background:#2b6fae;
  color:#fff;
  font-size:12.5px;
  font-weight:700;
  cursor:pointer;
}
.znm-admin-order-savebar button:hover{background:#245f94}
.znm-admin-order-savebar button:disabled{
  border-color:#d4dde3;
  background:#eef2f4;
  color:#8b989f;
  opacity:1;
  cursor:default;
}
.znm-admin-structure-accordion.is-dirty{
  border-color:#d6a940;
}
.znm-admin-structure-accordion.is-dirty>summary{
  background:#fff8df;
}
.znm-admin-structure-accordion.is-dirty .znm-admin-order-savebar>[data-znm-admin-order-status]{
  color:#8b6408;
}
.znm-admin-tool__footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  align-items:center;
  justify-content:space-between;
  padding:13px 14px;
  border:1px solid #dce4e9;
  border-radius:10px;
  background:#f7f9fa;
}
.znm-admin-tool__footer span{
  color:#73808a;
  font-size:11.5px;
  line-height:1.4;
}
.znm-admin-tool__footer button{
  min-height:38px;
  padding:8px 14px;
  border:1px solid #aebbc5;
  border-radius:8px;
  background:#fff;
  color:#334e60;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.znm-admin-tool__footer button:hover{background:#edf3f6}
@media(max-width:760px){
  .znm-admin-order-savebar{align-items:stretch}
  .znm-admin-order-savebar button{width:100%}
  .znm-admin-tool__footer{align-items:stretch}
  .znm-admin-tool__footer button{width:100%}
}

/* 0.5.52 — contextual catalog picker for linked composition rows. */
.znm-admin-composition-picker{
  position:fixed;
  inset:0;
  z-index:2147482100;
  display:grid;
  place-items:center;
  width:100vw;
  height:100dvh;
  padding:18px;
  background:rgba(29,38,47,.52);
  overflow:auto;
  overscroll-behavior:contain;
}
.znm-admin-composition-picker__panel{
  width:min(760px,100%);
  max-height:calc(100dvh - 36px);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid #cbd8e1;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 46px rgba(20,31,40,.24);
}
.znm-admin-composition-picker__head{
  position:sticky;
  top:0;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border-bottom:1px solid #d9e3e9;
  background:#eaf3f9;
}
.znm-admin-composition-picker__head>div{
  display:grid;
  gap:2px;
}
.znm-admin-composition-picker__head strong{
  color:#194f72;
  font-size:16px;
  font-weight:800;
}
.znm-admin-composition-picker__head small{
  color:#6d7e89;
  font-size:11px;
  line-height:1.35;
}
.znm-admin-composition-picker__head button{
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#dce7ed;
  color:#405665;
  font-size:21px;
  cursor:pointer;
}
.znm-admin-composition-picker__nav{
  display:flex;
  gap:10px;
  align-items:center;
  padding:9px 12px;
  border-bottom:1px solid #e2e8ec;
  background:#f8fafb;
}
.znm-admin-composition-picker__nav button{
  padding:0;
  border:0;
  background:transparent;
  color:#236c9a;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.znm-admin-composition-picker__nav strong{
  min-width:0;
  color:#526572;
  font-size:12px;
  overflow-wrap:anywhere;
}
.znm-admin-composition-picker__list{
  display:grid;
  gap:13px;
  padding:11px 12px 14px;
}
.znm-admin-composition-picker__section{
  display:grid;
  gap:5px;
}
.znm-admin-composition-picker__section>small{
  padding:0 0 5px;
  border-bottom:2px solid #79a8c5;
  color:#1e668f;
  font-size:11px;
  font-weight:800;
}
.znm-admin-composition-picker__category,
.znm-admin-composition-picker__product{
  display:grid;
  width:100%;
  min-width:0;
  align-items:center;
  gap:9px;
  padding:8px 9px;
  border:1px solid #dce4e9;
  border-radius:8px;
  background:#fff;
  color:#253e4f;
  text-align:left;
  cursor:pointer;
}
.znm-admin-composition-picker__category{
  grid-template-columns:minmax(0,1fr) 20px;
}
.znm-admin-composition-picker__product{
  grid-template-columns:38px minmax(0,1fr) 24px;
}
.znm-admin-composition-picker__category:hover,
.znm-admin-composition-picker__product:hover{
  border-color:#82abc4;
  background:#f2f8fb;
}
.znm-admin-composition-picker__category>span,
.znm-admin-composition-picker__product>span:not(.znm-admin-composition-picker__thumb){
  display:grid;
  gap:2px;
  min-width:0;
}
.znm-admin-composition-picker__category strong,
.znm-admin-composition-picker__product strong{
  overflow:hidden;
  color:#27485d;
  font-size:13px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.znm-admin-composition-picker__category small,
.znm-admin-composition-picker__product small{
  color:#73818b;
  font-size:10.5px;
}
.znm-admin-composition-picker__category>b,
.znm-admin-composition-picker__product>b{
  justify-self:end;
  color:#2b719b;
  font-size:18px;
}
.znm-admin-composition-picker__thumb{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  overflow:hidden;
  border-radius:7px;
  background:#e9eef1;
  color:#71818c;
}
.znm-admin-composition-picker__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.znm-admin-composition-picker__empty{
  margin:0;
  padding:14px;
  color:#71808a;
  font-size:12px;
  text-align:center;
}
@media(max-width:760px){
  .znm-admin-composition-picker{padding:8px}
  .znm-admin-composition-picker__panel{max-height:calc(100vh - 30px)}
}

/* 0.5.53 — explicit footer save is a fallback, local section commits remain primary. */
.znm-admin-tool__footer-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.znm-admin-tool__footer button.is-primary{
  border-color:#2b6fae;
  background:#2b6fae;
  color:#fff;
}
.znm-admin-tool__footer button.is-primary:hover{background:#245f94}
.znm-admin-tool__footer button.is-danger{
  border-color:#b42318;
  color:#b42318;
  background:#fff;
}
.znm-admin-tool__footer button.is-danger:hover{background:#fff3f2}
.znm-admin-tool__footer button.is-danger:disabled{
  border-color:#d5d9de;
  color:#8a949d;
  background:#f3f5f6;
}
.znm-admin-tool__footer button:disabled{
  opacity:.55;
  cursor:default;
}
@media(max-width:760px){
  .znm-admin-tool__footer-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .znm-admin-tool__footer-actions button{width:100%}
}

/* 0.5.54 — post-create actions for fast category filling. */
.znm-admin-post-create{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 14px;
  align-items:center;
  padding:12px 13px;
  border:1px solid #bfd8c9;
  border-left:4px solid #3c8a61;
  border-radius:10px;
  background:#eef8f2;
}
.znm-admin-post-create>div:first-child{
  display:grid;
  gap:3px;
  min-width:0;
}
.znm-admin-post-create strong{
  color:#245f40;
  font-size:15px;
  font-weight:800;
  line-height:1.25;
}
.znm-admin-post-create small{
  max-width:650px;
  color:#64786b;
  font-size:11px;
  font-weight:400;
  line-height:1.4;
}
.znm-admin-post-create__actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  justify-content:flex-end;
}
.znm-admin-post-create__actions button{
  min-height:36px;
  padding:7px 11px;
  border:1px solid #a9c2b4;
  border-radius:8px;
  background:#fff;
  color:#315846;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.znm-admin-post-create__actions button.is-primary{
  border-color:#337c57;
  background:#337c57;
  color:#fff;
}
.znm-admin-post-create__actions button:hover{background:#f6fbf8}
.znm-admin-post-create__actions button.is-primary:hover{background:#296a49}
.znm-admin-post-create__actions button:disabled{
  opacity:.55;
  cursor:default;
}
.znm-admin-post-create>[data-znm-admin-post-create-status]{
  grid-column:1/-1;
  min-height:0;
  color:#6f7f75;
  font-size:11px;
  font-weight:600;
}
@media(max-width:760px){
  .znm-admin-post-create{grid-template-columns:1fr}
  .znm-admin-post-create__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    justify-content:stretch;
  }
  .znm-admin-post-create__actions button{width:100%}
}

/* 0.5.56 — post-create next actions live where the user just saved the product. */
.znpe-actions .znm-admin-post-create.is-editor-action{
  flex:1 0 100%;
  order:20;
  width:100%;
  margin-top:3px;
  padding:9px 10px;
  grid-template-columns:minmax(0,1fr) auto;
  border-left-width:3px;
  box-sizing:border-box;
}
.znpe-actions .znm-admin-post-create.is-editor-action>div:first-child{
  gap:1px;
}
.znpe-actions .znm-admin-post-create.is-editor-action strong{
  font-size:13px;
}
.znpe-actions .znm-admin-post-create.is-editor-action small{
  font-size:10.5px;
}
.znpe-actions .znm-admin-post-create.is-editor-action .znm-admin-post-create__actions button{
  min-height:34px;
  padding:6px 10px;
  font-size:11.5px;
}
@media(max-width:760px){
  .znpe-actions .znm-admin-post-create.is-editor-action{
    grid-column:1/-1;
    grid-template-columns:1fr;
    margin-top:2px;
  }
  .znpe-actions .znm-admin-post-create.is-editor-action .znm-admin-post-create__actions{
    grid-template-columns:1fr 1fr;
  }
}

/* 0.5.57 — bulk product transfer inside category management. */
.znm-admin-bulk-toolbar{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;margin-bottom:7px}
.znm-admin-bulk-toolbar label{display:flex;gap:7px;align-items:center;color:#365264;font-size:11.5px;font-weight:700;cursor:pointer}
.znm-admin-bulk-toolbar input,.znm-admin-bulk-product input{width:17px;height:17px;min-height:0;margin:0;accent-color:#2b719b}
.znm-admin-bulk-toolbar strong{color:#60727e;font-size:11px;font-weight:700}
.znm-admin-bulk-products{display:grid;gap:4px;max-height:290px;overflow:auto;padding:1px 2px 2px}
.znm-admin-bulk-product{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;min-height:39px;padding:6px 8px;border:1px solid #dce4e9;border-radius:7px;background:#fff;cursor:pointer}
.znm-admin-bulk-product:hover{border-color:#a8c2d2;background:#f7fbfd}
.znm-admin-bulk-product:has(input:checked){border-color:#77a8c6;background:#edf7fc}
.znm-admin-bulk-product>span{display:grid;gap:1px;min-width:0}
.znm-admin-bulk-product strong{overflow:hidden;color:#29485b;font-size:12px;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.znm-admin-bulk-product small{color:#8a6c2d;font-size:10px;line-height:1.2}
.znm-admin-bulk-browser{margin-top:7px}
.znm-admin-bulk-actions{display:flex;justify-content:flex-end;margin-top:9px}
.znm-admin-bulk-actions button{min-height:37px;padding:7px 12px;border:1px solid #2b6fae;border-radius:8px;background:#2b6fae;color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.znm-admin-bulk-actions button:hover{background:#245f94}.znm-admin-bulk-actions button:disabled{border-color:#d4dde3;background:#eef2f4;color:#8b989f;cursor:default}
@media(max-width:760px){.znm-admin-bulk-products{max-height:330px}.znm-admin-bulk-actions button{width:100%}}

/* 0.5.58 — privileged product actions stay subordinate to the primary "В смету". */
.znm-admin-product-inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:3px 6px;
  align-items:center;
  justify-content:flex-start;
  margin:5px 0 1px;
  color:#9aa4ab;
  font-size:11px;
  line-height:1.3;
}
.znm-admin-product-inline-actions button{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#61717c!important;
  font:600 11px/1.3 inherit!important;
  text-decoration:underline!important;
  text-underline-offset:2px;
  cursor:pointer;
}
.znm-admin-product-inline-actions button:hover{color:#245f84!important}
.znm-admin-product-inline-actions button.is-delete{color:#9b5b5b!important}
.znm-admin-product-inline-actions button.is-delete:hover{color:#b42318!important}
.znm-admin-product-inline-actions button:disabled{opacity:.5;cursor:wait}
.znm-single-estimate-action .znm-admin-product-inline-actions{
  margin-top:7px;
}
.znm-admin-quick-move{
  max-width:700px;
  padding:14px;
}
.znm-admin-quick-move__head{
  display:grid;
  gap:2px;
  padding-bottom:9px;
  border-bottom:1px solid #dde5ea;
}
.znm-admin-quick-move__head span{
  color:#6e7b84;
  font-size:11px;
  font-weight:650;
}
.znm-admin-quick-move__head strong{
  color:#263f50;
  font-size:18px;
  font-weight:800;
  line-height:1.3;
}
.znm-admin-quick-move>p{
  margin:0;
  color:#697983;
  font-size:12px;
  line-height:1.45;
}
.znm-admin-quick-move__actions{
  display:flex;
  gap:8px;
  justify-content:flex-end;
}
.znm-admin-quick-move__actions button{
  min-height:38px;
  padding:8px 13px;
  border:1px solid #cbd6dd;
  border-radius:8px;
  background:#fff;
  color:#385163;
  font-weight:750;
  cursor:pointer;
}
.znm-admin-quick-move__actions button.is-primary{
  border-color:#2b6fae;
  background:#2b6fae;
  color:#fff;
}
.znm-admin-quick-move__actions button:disabled{
  opacity:.5;
  cursor:default;
}
@media(max-width:760px){
  .znm-admin-product-inline-actions{gap:4px 7px}
  .znm-admin-product-inline-actions button{font-size:11px!important}
  .znm-admin-quick-move__actions{display:grid;grid-template-columns:1fr 1fr}
  .znm-admin-quick-move__actions button{width:100%}
}



/* 0.5.59 — nested admin picker is always in the current viewport. */
@media(max-width:680px){
  .znm-admin-composition-picker{padding:6px}
  .znm-admin-composition-picker__panel{
    width:100%;
    max-height:calc(100dvh - 12px);
  }
}
