.zksp-wrap{max-width:1320px;margin:22px auto;padding:18px;font-family:Arial,sans-serif;color:#253126}
.zksp-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;background:linear-gradient(135deg,#f5f8f1,#ffffff);border:1px solid #dfe7d8;border-radius:22px;padding:24px;margin-bottom:22px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.zksp-hero-public{align-items:start}
.zksp-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#5f765f;font-weight:700;margin-bottom:8px}
.zksp-hero h2{margin:0 0 10px;font-size:34px;line-height:1.15}
.zksp-lead{margin:0 0 14px;font-size:16px;line-height:1.6;color:#496049;max-width:860px}
.zksp-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.zksp-pill{display:inline-block;border:1px solid #d4dfce;background:#fff;padding:8px 12px;border-radius:999px;font-size:13px}
.zksp-hero-kpis{display:grid;grid-template-columns:1fr;gap:12px}
.zksp-kpi{background:#fff;border:1px solid #dfe7d8;border-radius:18px;padding:18px}
.zksp-kpi span{display:block;font-size:30px;font-weight:800;line-height:1;color:#1f4f24}
.zksp-kpi small{display:block;margin-top:6px;color:#557055}
.zksp-login-card{background:#fff;border:1px solid #dfe7d8;border-radius:18px;padding:18px}
.zksp-login-card h3{margin-top:0}.zksp-login-card input[type=text],.zksp-login-card input[type=password]{width:100%;padding:10px;border:1px solid #cfd7c9;border-radius:10px;margin-bottom:10px}.zksp-login-card input[type=submit]{background:#2f6d34;color:#fff;border:none;padding:10px 16px;border-radius:10px;cursor:pointer}
.zksp-section{margin:26px 0}
.zksp-section-head h3{margin:0 0 6px;font-size:24px}
.zksp-section-head p{margin:0 0 14px;color:#557055}
.zksp-subhead h4{margin:0 0 4px;font-size:18px}.zksp-subhead p{margin:0 0 12px;color:#5b705b;font-size:14px}
.zksp-dashboard{display:grid;gap:14px;margin-bottom:16px}.zksp-dashboard-4{grid-template-columns:repeat(4,1fr)}.zksp-dashboard-3{grid-template-columns:repeat(3,1fr)}
.zksp-card{border:1px solid #dfe7d8;background:#fff;border-radius:18px;padding:16px;box-shadow:0 3px 10px rgba(0,0,0,.03)}.zksp-card-title{font-weight:700;margin-bottom:6px}.zksp-card-kpi{font-size:30px;font-weight:800;margin:6px 0;color:#1f4f24}.zksp-card-sub{font-size:14px;color:#5b705b;line-height:1.5}
.zksp-box{border:1px solid #dfe7d8;background:#fff;border-radius:16px;padding:16px}.zksp-note-box{background:#f7fbf5;border-color:#d6e5d0}.zksp-error{border-color:#d99}
.zksp-split-grid{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}
.zksp-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 14px}.zksp-search{flex:1;min-width:280px;padding:12px 14px;border:1px solid #cfd7c9;border-radius:12px;background:#fff}.zksp-status{font-size:13px;color:#567056}.zksp-status.is-error,.zksp-rowstatus.is-error{color:#9f2d2d}
.zksp-table-wrap{overflow:auto;border:1px solid #dfe7d8;border-radius:18px;background:#fff}.zksp-table{width:100%;border-collapse:separate;border-spacing:0;min-width:860px}.zksp-table-tight{min-width:760px}.zksp-table th,.zksp-table td{padding:12px 14px;border-bottom:1px solid #eef2eb;vertical-align:top;text-align:left}.zksp-table th{position:sticky;top:0;background:#f8faf6;z-index:1;font-size:13px;text-transform:uppercase;color:#607660}.zksp-table tr:last-child td{border-bottom:none}.zksp-num{text-align:right}
.zksp-prod-title{font-weight:700;margin-bottom:4px}.zksp-prod-meta,.zksp-small,.zksp-mini{font-size:13px;color:#5e735e;line-height:1.45}.zksp-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#eef5ea;border:1px solid #d4e4cf;font-size:12px}.zksp-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
.zksp-thumb img{display:block;width:70px;height:70px;object-fit:cover;border-radius:12px}.zksp-noimg{display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:12px;background:#f1f4ef;border:1px dashed #cbd4c5;font-size:12px;color:#718271;text-align:center;padding:6px}.zksp-file{margin-top:8px;max-width:180px}
.zksp-input,.zksp-text,.zksp-textarea{width:100%;padding:10px 12px;border:1px solid #cfd7c9;border-radius:10px;background:#fff;box-sizing:border-box}.zksp-input{text-align:right;max-width:110px;margin-left:auto}.zksp-textarea{min-height:78px;resize:vertical}
.zksp-btn{display:inline-block;padding:10px 12px;border:1px solid #cfd7c9;background:#fff;border-radius:10px;cursor:pointer;margin:0 6px 6px 0}.zksp-btn:hover{background:#f7faf4}.zksp-btn-green{background:#2f6d34;color:#fff;border-color:#2f6d34}.zksp-btn-green:hover{background:#25572a}.zksp-btn-muted{background:#f4f6f2}.zksp-rowstatus{font-size:12px;color:#567056;margin-top:6px}
.zksp-list{margin:0;padding-left:18px;line-height:1.7}
.zksp-filter-btn{display:inline-block;padding:9px 12px;border:1px solid #cfd7c9;background:#fff;border-radius:999px;cursor:pointer}.zksp-filter-btn.is-active{background:#2f6d34;color:#fff;border-color:#2f6d34}
.zksp-supplier-response{display:inline-block;padding:6px 10px;border-radius:999px;border:1px solid #d4e4cf;background:#eef5ea;font-size:12px;margin-bottom:8px}.zksp-supplier-response.none{background:#f5f7f3;border-color:#dfe7d8;color:#607660}.zksp-supplier-response.can_supply{background:#e8f5e9;border-color:#bfe1c4;color:#25572a}.zksp-supplier-response.not_available{background:#fff0f0;border-color:#efc3c3;color:#9f2d2d}
.zksp-checkline{display:flex;align-items:center;gap:8px;font-size:13px;color:#4f664f;margin:6px 0 8px}
.zksp-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;align-items:center;margin-bottom:8px}.zksp-response-note-lg{min-height:110px}.zksp-price-input,.zksp-qty-input,.zksp-lead-input{max-width:none}.zksp-table-wishlist td:nth-child(7){min-width:340px}.zksp-table-wishlist td:nth-child(8){min-width:220px}.zksp-table-wishlist td:last-child{min-width:220px}
@media (max-width: 1180px){.zksp-dashboard-4{grid-template-columns:repeat(2,1fr)}.zksp-dashboard-3{grid-template-columns:1fr}.zksp-split-grid{grid-template-columns:1fr}}
@media (max-width: 980px){.zksp-hero{grid-template-columns:1fr}.zksp-hero h2{font-size:28px}.zksp-dashboard-4{grid-template-columns:1fr}.zksp-offer-grid{grid-template-columns:1fr}}


.zksp-quicknav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 26px}.zksp-quicknav-card{display:block;padding:18px 18px;border:2px solid #dfe7d8;border-radius:18px;background:#fff;text-decoration:none;color:#1d2d18;box-shadow:0 6px 18px rgba(27,58,24,.05)}.zksp-quicknav-card strong{display:block;font-size:18px;margin-bottom:6px}.zksp-quicknav-card span{display:block;color:#52634b}.zksp-section-orders{border-top:4px solid #9dbb76;padding-top:8px}.zksp-section-wishlist{border-top:4px solid #d5b24a;padding-top:8px}.zksp-section-products{border-top:4px solid #7aa0d0;padding-top:8px}.zksp-section-head h3{font-size:30px}.zksp-subhead h4{font-size:22px}.zksp-badge{white-space:nowrap}@media (max-width:900px){.zksp-quicknav{grid-template-columns:1fr}}

.zksp-focus-callout{border:1px solid #d8e6cf;background:#f7fbf4;border-radius:16px;padding:14px 16px;margin:0 0 14px;color:#486148;line-height:1.55}
.zksp-focus-orders{border-left:5px solid #9dbb76}
.zksp-dashboard-compact .zksp-card-kpi{font-size:24px}
.zksp-submitted-wrap{margin:0 0 18px}.zksp-submitted-wrap .zksp-table-wrap{margin-top:10px}
#zksp-orders .zksp-table,#zksp-wishlist .zksp-table{min-width:100%}
.zksp-section-orders,.zksp-section-wishlist,.zksp-section-products{scroll-margin-top:90px}
.zksp-section-orders .zksp-section-head h3,.zksp-section-wishlist .zksp-section-head h3,.zksp-section-products .zksp-section-head h3{display:flex;align-items:center;gap:10px}
.zksp-section-orders .zksp-section-head h3::before{content:"";display:inline-block;width:12px;height:12px;border-radius:99px;background:#9dbb76}
.zksp-section-wishlist .zksp-section-head h3::before{content:"";display:inline-block;width:12px;height:12px;border-radius:99px;background:#d5b24a}
.zksp-section-products .zksp-section-head h3::before{content:"";display:inline-block;width:12px;height:12px;border-radius:99px;background:#7aa0d0}
@media (min-width:1181px){.zksp-wrap{max-width:1380px}.zksp-table-wrap{overflow-x:auto}.zksp-submitted-wrap{max-width:100%}}


.zksp-topbar{margin:0 0 22px}.zksp-topbar-main{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:14px 18px;border:1px solid #dfe7d8;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(27,58,24,.04)}.zksp-topbar h2{margin:2px 0 6px;font-size:26px}.zksp-topbar-lead{margin:0;color:#52634b;max-width:760px}.zksp-topbar-meta{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.zksp-viewnav{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}.zksp-viewnav-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:14px;border:1px solid #d8e1d2;background:#fff;color:#243321;text-decoration:none;font-weight:700}.zksp-viewnav-link.is-active{background:#2f6d34;border-color:#2f6d34;color:#fff}.zksp-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 20px}.zksp-home-card{display:block;padding:20px;border-radius:18px;background:#fff;border:2px solid #dfe7d8;text-decoration:none;color:#1d2d18;box-shadow:0 8px 22px rgba(27,58,24,.05)}.zksp-home-card strong{display:block;font-size:20px;margin:0 0 8px}.zksp-home-card span{display:block;color:#52634b;line-height:1.55;min-height:48px}.zksp-home-card em{display:inline-block;margin-top:12px;font-style:normal;font-weight:700}.zksp-home-orders{border-top:4px solid #9dbb76}.zksp-home-wishlist{border-top:4px solid #d5b24a}.zksp-home-products{border-top:4px solid #7aa0d0}
@media (max-width:980px){.zksp-topbar-main{flex-direction:column}.zksp-topbar-meta{justify-content:flex-start}.zksp-home-grid{grid-template-columns:1fr}.zksp-viewnav{display:grid;grid-template-columns:1fr 1fr}}@media (max-width:640px){.zksp-viewnav{grid-template-columns:1fr}.zksp-topbar h2{font-size:22px}}

.zksp-table-orders td:nth-child(9){min-width:260px}.zksp-table-orders td:nth-child(10){min-width:260px}.zksp-proc-actions .zksp-btn{width:100%;margin:0 0 8px 0}.zksp-proc-note{min-height:96px}.zksp-topbar-main{padding:12px 16px}.zksp-topbar h2{font-size:22px}.zksp-topbar-lead{font-size:14px;max-width:540px}.zksp-home-intro .zksp-dashboard{margin-bottom:12px}.zksp-home-grid{margin:14px 0 16px}.zksp-home-card{padding:16px}.zksp-viewnav-link{padding:10px 14px}.zksp-section-head h3{font-size:26px}.zksp-card{border-radius:16px}.zksp-wrap{padding-top:10px}.zksp-topbar{position:sticky;top:0;z-index:5;background:#f7f8f5;padding-top:6px}.zksp-topbar .zksp-viewnav{padding-bottom:6px}.zksp-focus-callout{font-size:14px}.zksp-dashboard-compact .zksp-card-sub{font-size:13px}.zksp-proc-actions{min-width:210px}

.zksp-table-orders td:nth-child(6){min-width:120px}.zksp-table-orders td:nth-child(7){min-width:90px}.zksp-table-orders td:nth-child(9){min-width:180px}.zksp-table-orders td:nth-child(10){min-width:190px}.zksp-proc-note{min-height:88px}.zksp-table-orders .zksp-supplier-response{white-space:normal;line-height:1.25}.zksp-table-orders td{word-break:break-word}.woocommerce-Price-amount{white-space:nowrap}

.zksp-proc-eta{max-width:160px}.zksp-supplier-response.next_delivery{background:#eef5ff;border-color:#c8dcfb;color:#1d4f91}.zksp-supplier-response.alternative{background:#fff8e8;border-color:#ecd9a3;color:#8b6411}


.zksp-row{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.zksp-row.is-selected{background:#eef8ea;box-shadow:inset 4px 0 0 #3f8b45}
.zksp-row.is-dirty{background:#fffbea;box-shadow:inset 4px 0 0 #d5a100}
.zksp-rowstatus{margin-top:8px;font-size:12px;font-weight:700;color:#3f6b43}
.zksp-rowstatus.is-error,.zksp-status.is-error{color:#b42318}
.zksp-products-status{font-weight:700}
.zksp-proc-actions,.zksp-table td .zksp-btn{display:flex;flex-wrap:wrap;gap:8px}
.zksp-proc-actions .zksp-rowstatus{width:100%}
.zksp-btn.is-active{outline:2px solid #2f6d34;box-shadow:0 0 0 3px rgba(47,109,52,.12)}
.zksp-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 0 0}
.zksp-page-btn{border:1px solid #d8e2d4;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer}
.zksp-page-btn[disabled]{opacity:.45;cursor:not-allowed}
.zksp-page-info{font-size:13px;color:#557055;font-weight:700}
@media (max-width: 900px){
  .zksp-toolbar{align-items:stretch}
  .zksp-save-all-products{width:100%}
}


/* v4.0.2 compact procurement layout */
.zksp-table-wrap-compact .zksp-table{min-width:980px}
.zksp-table-orders-compact th,
.zksp-table-orders-compact td{padding:10px 12px}
.zksp-col-order{white-space:nowrap;width:1%}
.zksp-col-item{min-width:220px}
.zksp-col-response{min-width:320px}
.zksp-col-note{min-width:220px}
.zksp-field-label{display:block;margin:0 0 6px;font-size:12px;font-weight:700;color:#5c725c;text-transform:uppercase;letter-spacing:.03em}
.zksp-proc-status-line{margin-bottom:8px}
.zksp-proc-eta-wrap{margin-bottom:8px}
.zksp-proc-eta{max-width:180px}
.zksp-proc-actions-compact{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.zksp-proc-actions-compact .zksp-btn{width:100%;padding:9px 10px;min-height:40px;font-size:13px;border-radius:10px}
.zksp-proc-note{min-height:74px}
.zksp-supplier-response{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;border:1px solid #d7e1d1;background:#f5f8f3;color:#526852;font-size:13px;line-height:1.15}
.zksp-supplier-response.confirm_delivery{background:#edf7ec;border-color:#cfe3cc;color:#1f6b31}
.zksp-supplier-response.next_delivery{background:#fff7e9;border-color:#eed9a6;color:#8a6300}
.zksp-supplier-response.alternative{background:#eef4ff;border-color:#cfdcff;color:#35579b}
.zksp-supplier-response.not_available{background:#fff0f0;border-color:#ebcaca;color:#9b3737}
.zksp-proc-btn.is-active{box-shadow:inset 0 0 0 2px rgba(47,109,52,.18)}
@media (max-width: 900px){
  .zksp-col-response{min-width:280px}
  .zksp-col-note{min-width:200px}
  .zksp-proc-actions-compact{grid-template-columns:1fr}
}


/* v4.0.3 procurement row compact + image */
.zksp-orders-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 12px}
.zksp-order-filter-btn{border:1px solid #cfd8c7;background:#fff;color:#2e4730;padding:8px 12px;border-radius:999px;font-weight:700;cursor:pointer}
.zksp-order-filter-btn.is-active{background:#2f6d34;color:#fff;border-color:#2f6d34}
.zksp-toolbar-meta{font-size:13px;color:#647864}
.zksp-itemline{display:flex;align-items:flex-start;gap:10px}
.zksp-itemcopy{min-width:0}
.zksp-thumb-order{width:54px;min-width:54px;height:54px;overflow:hidden;border-radius:10px;background:#f4f6f1;border:1px solid #dfe6d7;display:flex;align-items:center;justify-content:center}
.zksp-thumb-order img{width:100%;height:100%;object-fit:cover;display:block}
.zksp-thumb-empty span{font-size:10px;line-height:1.1;color:#758275;text-align:center;padding:4px}
.zksp-proc-eta{max-width:68px !important;width:68px;padding-left:10px;padding-right:10px}
.zksp-col-response{min-width:270px}
.zksp-col-note{min-width:170px}
.zksp-proc-note{min-height:62px}
.zksp-order-row.is-answered{opacity:.92}
@media (max-width: 900px){
  .zksp-proc-eta{max-width:100px !important;width:100px}
}


/* v4.0.4 tighter procurement response column */
.zksp-table-orders-compact th,
.zksp-table-orders-compact td{padding:8px 10px}
.zksp-col-response{min-width:150px !important;width:150px}
.zksp-col-note{min-width:120px !important;width:120px}
.zksp-proc-status-line{margin-bottom:6px}
.zksp-supplier-response{padding:6px 10px;font-size:12px}
.zksp-field-label{margin:0 0 4px;font-size:11px}
.zksp-proc-eta-wrap{margin-bottom:6px}
.zksp-proc-eta{max-width:54px !important;width:54px;height:34px;font-size:13px}
.zksp-proc-actions-compact{grid-template-columns:1fr 1fr;gap:6px}
.zksp-proc-actions-compact .zksp-btn{
  padding:6px 6px;
  min-height:34px;
  font-size:11px;
  line-height:1.1;
  border-radius:8px;
  letter-spacing:0;
}
.zksp-proc-note{
  min-height:54px;
  font-size:12px;
  padding:8px;
}
.zksp-col-item{min-width:180px}
.zksp-thumb-order{width:46px;min-width:46px;height:46px}
.zksp-prod-title{font-size:14px;line-height:1.2}
.zksp-mini{font-size:11px;line-height:1.25}
@media (max-width: 900px){
  .zksp-col-response{min-width:130px !important;width:130px}
  .zksp-col-note{min-width:110px !important;width:110px}
  .zksp-proc-actions-compact .zksp-btn{font-size:10px}
}


/* v4.0.5 procurement compact redesign */
.zksp-table-wrap-orderscards .zksp-table{min-width:980px}
.zksp-table-orders-cards th,.zksp-table-orders-cards td{padding:10px 10px;vertical-align:top}
.zksp-col-main{width:100%}
.zksp-col-order{white-space:nowrap;width:1%}
.zksp-col-qty,.zksp-col-price{white-space:nowrap;width:1%;font-weight:700}
.zksp-col-price .amount,.zksp-col-price{color:#008a43}

.zksp-order-main{display:flex;flex-direction:column;gap:10px}
.zksp-order-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.zksp-order-bottom{display:grid;grid-template-columns:minmax(340px,460px) minmax(260px,1fr);gap:14px;align-items:start}
.zksp-proc-left{display:flex;flex-direction:column;gap:8px}
.zksp-proc-right{min-width:0}

.zksp-itemline{display:flex;align-items:flex-start;gap:10px}
.zksp-itemcopy{min-width:0}
.zksp-thumb-order{width:56px;min-width:56px;height:56px;border-radius:10px;overflow:hidden;border:1px solid #dfe6d7;background:#f4f6f1}
.zksp-thumb-order img{width:100%;height:100%;object-fit:cover;display:block}
.zksp-thumb-empty span{font-size:10px;line-height:1.1;color:#758275;text-align:center;padding:4px;display:block}

.zksp-proc-statusbox{min-width:128px;text-align:right}
.zksp-supplier-response{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;border:1px solid #d7e1d1;background:#f5f8f3;color:#526852;font-size:12px;line-height:1.15}
.zksp-supplier-response.confirm_delivery{background:#edf7ec;border-color:#cfe3cc;color:#1f6b31}
.zksp-supplier-response.next_delivery{background:#fff7e9;border-color:#eed9a6;color:#8a6300}
.zksp-supplier-response.alternative{background:#eef4ff;border-color:#cfdcff;color:#35579b}
.zksp-supplier-response.not_available{background:#fff0f0;border-color:#ebcaca;color:#9b3737}

.zksp-field-label{display:block;margin:0 0 4px;font-size:11px;font-weight:700;color:#5c725c;text-transform:uppercase;letter-spacing:.03em}
.zksp-proc-eta-wrap{display:flex;flex-direction:column;align-items:flex-start}
.zksp-proc-eta{width:88px !important;max-width:88px !important;height:34px;padding:6px 8px;font-size:13px}
.zksp-proc-actions-inline{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:6px;max-width:460px}
.zksp-proc-actions-inline .zksp-btn{padding:6px 8px;min-height:34px;font-size:11px;line-height:1.1;border-radius:8px;width:100%}
.zksp-proc-btn.is-active{box-shadow:inset 0 0 0 2px rgba(47,109,52,.18)}
.zksp-proc-note{min-height:94px;width:100%;font-size:13px;padding:10px}
.zksp-rowstatus{margin-top:6px;font-size:12px}
.zksp-order-row.is-answered{opacity:.94}
.zksp-table-orders-cards .zksp-prod-title{font-size:14px;line-height:1.25}
.zksp-table-orders-cards .zksp-mini{font-size:12px;line-height:1.3}

@media (max-width: 1200px){
  .zksp-order-bottom{grid-template-columns:1fr}
  .zksp-proc-statusbox{text-align:left;min-width:0}
  .zksp-order-top{flex-direction:column}
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:860px}
  .zksp-proc-actions-inline{grid-template-columns:repeat(2,minmax(72px,1fr));max-width:220px}
  .zksp-proc-note{min-height:78px}
}


/* v4.0.6 tighter procurement bottom block */
.zksp-table-orders-cards th,
.zksp-table-orders-cards td{padding:8px 8px}
.zksp-order-main{gap:8px}
.zksp-order-top{gap:12px}
.zksp-order-bottom{
  grid-template-columns:minmax(300px,360px) minmax(180px,260px);
  gap:10px;
}
.zksp-proc-left{gap:6px}
.zksp-proc-right{max-width:260px}
.zksp-proc-statusbox{min-width:110px}
.zksp-supplier-response{
  padding:5px 10px;
  font-size:11px;
}
.zksp-field-label{
  margin:0 0 3px;
  font-size:10px;
}
.zksp-proc-eta{
  width:78px !important;
  max-width:78px !important;
  height:30px;
  padding:5px 8px;
  font-size:12px;
}
.zksp-proc-actions-inline{
  grid-template-columns:repeat(4,minmax(56px,1fr));
  gap:5px;
  max-width:300px;
}
.zksp-proc-actions-inline .zksp-btn{
  padding:4px 6px;
  min-height:28px;
  font-size:10px;
  line-height:1.05;
  border-radius:7px;
  font-weight:700;
  background:#f3f4f1;
  border:1px solid #d6ddd0;
  color:#2f3d2f;
}
.zksp-proc-actions-inline .zksp-btn:hover{
  background:#e9efe6;
}
.zksp-proc-actions-inline .zksp-btn.is-active{
  background:#fff;
  border:2px solid #2f6d34;
  color:#1f4f24;
  box-shadow:0 0 0 1px rgba(47,109,52,.06);
}
.zksp-proc-actions-inline .zksp-btn.zksp-btn-muted.is-active{
  border-color:#9b3737;
  color:#7d2626;
}
.zksp-proc-note{
  min-height:72px;
  max-height:72px;
  font-size:12px;
  padding:8px;
  line-height:1.25;
}
.zksp-rowstatus{
  margin-top:4px;
  font-size:11px;
}
.zksp-table-orders-cards .zksp-prod-title{
  font-size:13px;
  line-height:1.2;
}
.zksp-table-orders-cards .zksp-mini{
  font-size:11px;
  line-height:1.2;
}
.zksp-thumb-order{
  width:50px;
  min-width:50px;
  height:50px;
}
@media (max-width: 1200px){
  .zksp-order-bottom{
    grid-template-columns:minmax(280px,1fr) minmax(170px,240px);
  }
}
@media (max-width: 900px){
  .zksp-order-bottom{grid-template-columns:1fr}
  .zksp-proc-right{max-width:none}
}


/* v4.0.7 brutal compact procurement layout */
.zksp-table-wrap-orderscards .zksp-table{min-width:760px}
.zksp-table-orders-cards th,
.zksp-table-orders-cards td{padding:6px 6px !important;vertical-align:top}
.zksp-col-order{width:82px;min-width:82px}
.zksp-col-qty,.zksp-col-price{width:54px;min-width:54px;white-space:nowrap}
.zksp-col-main{width:auto}

.zksp-order-main{gap:6px}
.zksp-order-top{
  display:grid;
  grid-template-columns:minmax(220px, 1fr) 96px;
  gap:8px;
  align-items:start;
}
.zksp-order-bottom{
  display:grid !important;
  grid-template-columns:210px 150px !important;
  gap:8px !important;
  align-items:start;
}

.zksp-itemline{gap:8px}
.zksp-thumb-order{
  width:42px !important;
  min-width:42px !important;
  height:42px !important;
  border-radius:8px;
}
.zksp-table-orders-cards .zksp-prod-title{
  font-size:12px !important;
  line-height:1.15 !important;
  margin:0 0 2px 0;
  max-width:340px;
}
.zksp-table-orders-cards .zksp-mini{
  font-size:10px !important;
  line-height:1.15 !important;
}
.zksp-proc-statusbox{
  min-width:96px !important;
  text-align:right;
}
.zksp-supplier-response{
  padding:4px 8px !important;
  font-size:10px !important;
  border-radius:999px;
}
.zksp-rowstatus{
  margin-top:3px !important;
  font-size:10px !important;
  line-height:1.1;
}

.zksp-proc-left{gap:5px !important}
.zksp-proc-right{
  max-width:150px !important;
  width:150px !important;
}
.zksp-field-label{
  margin:0 0 2px !important;
  font-size:9px !important;
  letter-spacing:.02em;
}
.zksp-proc-eta{
  width:72px !important;
  max-width:72px !important;
  height:28px !important;
  padding:4px 6px !important;
  font-size:12px !important;
}
.zksp-proc-eta-wrap .zksp-mini{margin-top:2px}

.zksp-proc-actions-inline{
  grid-template-columns:repeat(4, 1fr) !important;
  gap:4px !important;
  max-width:210px !important;
}
.zksp-proc-actions-inline .zksp-btn{
  padding:3px 4px !important;
  min-height:26px !important;
  font-size:9px !important;
  line-height:1 !important;
  border-radius:6px !important;
  font-weight:700;
}
.zksp-proc-actions-inline .zksp-btn.is-active{
  border-width:2px !important;
}

.zksp-proc-note{
  width:150px !important;
  max-width:150px !important;
  min-height:58px !important;
  max-height:58px !important;
  padding:6px !important;
  font-size:11px !important;
  line-height:1.15 !important;
  resize:vertical;
}

.zksp-table-orders-cards .zksp-badge{
  padding:5px 9px !important;
  font-size:10px !important;
}
.zksp-order-row.is-answered{opacity:.95}

@media (max-width: 1100px){
  .zksp-order-top{
    grid-template-columns:minmax(180px, 1fr) 90px;
  }
  .zksp-order-bottom{
    grid-template-columns:180px 130px !important;
  }
  .zksp-proc-actions-inline{max-width:180px !important}
  .zksp-proc-note,
  .zksp-proc-right{width:130px !important;max-width:130px !important}
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:690px}
  .zksp-order-bottom{grid-template-columns:1fr !important}
  .zksp-proc-right,
  .zksp-proc-note{width:100% !important;max-width:none !important}
}


/* v4.0.8 buttons more visible + note wider */
.zksp-proc-actions-inline{
  max-width:260px !important;
}
.zksp-proc-actions-inline .zksp-btn{
  padding:6px 8px !important;
  min-height:32px !important;
  font-size:11px !important;
  border-radius:8px !important;
  border:1px solid #cfd8c7 !important;
  background:#f5f7f3 !important;
}
.zksp-proc-actions-inline .zksp-btn:hover{
  background:#e8efe6 !important;
}
.zksp-proc-actions-inline .zksp-btn.is-active{
  background:#ffffff !important;
  border:2px solid #2f6d34 !important;
  color:#1f4f24 !important;
}
.zksp-proc-actions-inline .zksp-btn.zksp-btn-muted.is-active{
  border-color:#9b3737 !important;
  color:#7d2626 !important;
}

.zksp-proc-right{
  max-width:220px !important;
  width:220px !important;
}
.zksp-proc-note{
  width:220px !important;
  max-width:220px !important;
}

@media (max-width:1100px){
  .zksp-proc-right,
  .zksp-proc-note{
    width:180px !important;
    max-width:180px !important;
  }
}


/* v4.1.0 right image + wider action buttons + sku line */
.zksp-itemline-rightimg{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
.zksp-itemline-rightimg .zksp-itemcopy{
  flex:1 1 auto;
  min-width:0;
}
.zksp-itemline-rightimg .zksp-thumb-order{
  order:2;
  width:64px !important;
  min-width:64px !important;
  height:64px !important;
}
.zksp-itemline-rightimg .zksp-thumb-order img{
  object-fit:cover;
}
.zksp-mono{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.zksp-proc-actions-inline{
  max-width:320px !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
}
.zksp-proc-actions-inline .zksp-btn{
  min-width:0;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  padding:6px 8px !important;
  min-height:34px !important;
  font-size:10px !important;
}
@media (max-width:1100px){
  .zksp-itemline-rightimg .zksp-thumb-order{
    width:58px !important;
    min-width:58px !important;
    height:58px !important;
  }
  .zksp-proc-actions-inline{
    max-width:300px !important;
  }
}


/* v4.1.1 larger image + English UI */
.zksp-itemline-rightimg .zksp-thumb-order{
  width:128px !important;
  min-width:128px !important;
  height:128px !important;
}
@media (max-width:1100px){
  .zksp-itemline-rightimg .zksp-thumb-order{
    width:110px !important;
    min-width:110px !important;
    height:110px !important;
  }
}


/* v4.1.2 layout fix after 4.1.1 */
.zksp-table-wrap-orderscards .zksp-table{min-width:980px !important}
.zksp-table-orders-cards th,
.zksp-table-orders-cards td{padding:8px 8px !important;vertical-align:top}
.zksp-col-order{width:84px;min-width:84px}
.zksp-col-qty,.zksp-col-price{width:62px;min-width:62px;white-space:nowrap}
.zksp-col-main{width:auto}

.zksp-order-main{gap:8px !important}
.zksp-order-top{
  display:grid !important;
  grid-template-columns:minmax(320px, 1fr) 120px !important;
  gap:12px !important;
  align-items:start;
}
.zksp-order-bottom{
  display:grid !important;
  grid-template-columns:290px 220px !important;
  gap:12px !important;
  align-items:start;
}

.zksp-itemline,
.zksp-itemline-rightimg{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:12px !important;
}
.zksp-itemcopy{flex:1 1 auto;min-width:0}
.zksp-itemline-rightimg .zksp-thumb-order{
  order:2;
  width:96px !important;
  min-width:96px !important;
  height:96px !important;
  border-radius:10px !important;
  overflow:hidden;
  cursor:zoom-in;
  transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}
.zksp-itemline-rightimg .zksp-thumb-order:hover{
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
.zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
  width:160px !important;
  min-width:160px !important;
  height:160px !important;
  cursor:zoom-out;
}
.zksp-itemline-rightimg .zksp-thumb-order img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.zksp-table-orders-cards .zksp-prod-title{
  font-size:13px !important;
  line-height:1.2 !important;
  margin:0 0 2px 0;
  max-width:none;
}
.zksp-table-orders-cards .zksp-mini{
  font-size:11px !important;
  line-height:1.2 !important;
}
.zksp-proc-statusbox{
  min-width:120px !important;
  text-align:right;
}
.zksp-supplier-response{
  padding:5px 10px !important;
  font-size:11px !important;
}
.zksp-rowstatus{
  margin-top:4px !important;
  font-size:11px !important;
  line-height:1.15;
}
.zksp-field-label{
  margin:0 0 3px !important;
  font-size:10px !important;
}
.zksp-proc-left{gap:6px !important}
.zksp-proc-right{
  width:220px !important;
  max-width:220px !important;
}
.zksp-proc-note{
  width:220px !important;
  max-width:220px !important;
  min-height:58px !important;
  max-height:58px !important;
  padding:8px !important;
  font-size:12px !important;
  line-height:1.2 !important;
}
.zksp-proc-eta{
  width:86px !important;
  max-width:86px !important;
  height:32px !important;
  padding:5px 8px !important;
  font-size:13px !important;
}
.zksp-proc-actions-inline{
  max-width:290px !important;
  display:grid !important;
  grid-template-columns:repeat(2, minmax(110px,1fr)) !important;
  gap:6px !important;
}
.zksp-proc-actions-inline .zksp-btn{
  white-space:nowrap !important;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:6px 10px !important;
  min-height:34px !important;
  font-size:11px !important;
  line-height:1.1 !important;
  border-radius:8px !important;
  font-weight:700;
}
@media (max-width: 1100px){
  .zksp-order-top{
    grid-template-columns:minmax(260px,1fr) 110px !important;
  }
  .zksp-order-bottom{
    grid-template-columns:260px 190px !important;
  }
  .zksp-itemline-rightimg .zksp-thumb-order{
    width:84px !important;
    min-width:84px !important;
    height:84px !important;
  }
  .zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
    width:138px !important;
    min-width:138px !important;
    height:138px !important;
  }
  .zksp-proc-actions-inline{
    grid-template-columns:repeat(2, minmax(96px,1fr)) !important;
    max-width:250px !important;
  }
  .zksp-proc-right,
  .zksp-proc-note{
    width:190px !important;
    max-width:190px !important;
  }
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:820px !important}
  .zksp-order-top{
    grid-template-columns:minmax(240px,1fr) 96px !important;
  }
  .zksp-order-bottom{
    grid-template-columns:1fr !important;
  }
  .zksp-proc-right,
  .zksp-proc-note{
    width:100% !important;
    max-width:none !important;
  }
  .zksp-proc-actions-inline{
    grid-template-columns:repeat(2, minmax(110px,1fr)) !important;
    max-width:290px !important;
  }
}


/* v4.1.3 new procurement layout: vertical buttons + note on the right */
.zksp-table-wrap-orderscards .zksp-table{min-width:1020px !important}
.zksp-table-orders-cards th,
.zksp-table-orders-cards td{padding:10px 10px !important;vertical-align:top}
.zksp-col-order{width:88px;min-width:88px}
.zksp-col-qty,.zksp-col-price{width:72px;min-width:72px;white-space:nowrap}
.zksp-col-main{width:auto}

.zksp-order-main.vstack-layout{display:flex;flex-direction:column;gap:12px}
.zksp-order-headline{
  display:grid;
  grid-template-columns:minmax(340px,1fr) 128px;
  gap:16px;
  align-items:start;
}
.zksp-order-actiongrid{
  display:grid;
  grid-template-columns:180px minmax(320px, 1fr);
  gap:18px;
  align-items:start;
}

.zksp-itemline,
.zksp-itemline-rightimg{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:14px !important;
}
.zksp-itemcopy{flex:1 1 auto;min-width:0}
.zksp-itemline-rightimg .zksp-thumb-order{
  order:2;
  width:96px !important;
  min-width:96px !important;
  height:96px !important;
  border-radius:10px !important;
  overflow:hidden;
  cursor:zoom-in;
}
.zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
  width:164px !important;
  min-width:164px !important;
  height:164px !important;
  cursor:zoom-out;
}
.zksp-itemline-rightimg .zksp-thumb-order img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.zksp-table-orders-cards .zksp-prod-title{
  font-size:15px !important;
  line-height:1.2 !important;
  margin:0 0 4px 0;
}
.zksp-table-orders-cards .zksp-mini{
  font-size:12px !important;
  line-height:1.25 !important;
}

.zksp-proc-statusbox{
  min-width:128px !important;
  text-align:right;
}
.zksp-supplier-response{
  padding:6px 12px !important;
  font-size:12px !important;
}
.zksp-rowstatus{
  margin-top:6px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

.zksp-proc-column-left{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.zksp-proc-column-right{
  min-width:0;
}

.zksp-field-label{
  display:block;
  margin:0 0 4px !important;
  font-size:11px !important;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.zksp-proc-eta{
  width:96px !important;
  max-width:96px !important;
  height:36px !important;
  padding:6px 10px !important;
  font-size:14px !important;
}

.zksp-proc-actions-stack{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  max-width:180px !important;
}
.zksp-proc-actions-stack .zksp-btn{
  width:100% !important;
  white-space:nowrap !important;
  padding:9px 12px !important;
  min-height:40px !important;
  font-size:12px !important;
  line-height:1.1 !important;
  border-radius:10px !important;
  font-weight:700 !important;
  text-align:center;
  overflow:visible;
  text-overflow:clip;
}
.zksp-proc-actions-stack .zksp-btn.is-active{
  border-width:2px !important;
  box-shadow:0 0 0 1px rgba(47,109,52,.08);
}

.zksp-proc-note-wide{
  width:100% !important;
  max-width:none !important;
  min-height:116px !important;
  max-height:116px !important;
  padding:10px !important;
  font-size:13px !important;
  line-height:1.25 !important;
  resize:vertical;
}

@media (max-width: 1100px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:900px !important}
  .zksp-order-headline{
    grid-template-columns:minmax(280px,1fr) 110px;
    gap:12px;
  }
  .zksp-itemline-rightimg .zksp-thumb-order{
    width:82px !important;
    min-width:82px !important;
    height:82px !important;
  }
  .zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
    width:132px !important;
    min-width:132px !important;
    height:132px !important;
  }
  .zksp-order-actiongrid{
    grid-template-columns:165px minmax(240px,1fr);
    gap:14px;
  }
  .zksp-proc-actions-stack{
    max-width:165px !important;
  }
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:760px !important}
  .zksp-order-headline{
    grid-template-columns:1fr;
  }
  .zksp-proc-statusbox{
    text-align:left;
  }
  .zksp-order-actiongrid{
    grid-template-columns:1fr;
  }
  .zksp-proc-actions-stack{
    max-width:220px !important;
  }
}


/* v4.1.4 narrow sensible procurement layout */
.zksp-table-wrap-orderscards .zksp-table{min-width:860px !important}
.zksp-table-orders-cards th,
.zksp-table-orders-cards td{padding:7px 7px !important;vertical-align:top}
.zksp-col-order{width:78px;min-width:78px}
.zksp-col-qty,.zksp-col-price{width:58px;min-width:58px}
.zksp-col-main{width:auto}

.zksp-order-main.vstack-layout{gap:8px !important}
.zksp-order-headline{
  display:grid !important;
  grid-template-columns:minmax(280px,1fr) 92px !important;
  gap:10px !important;
  align-items:start;
}
.zksp-order-actiongrid{
  display:grid !important;
  grid-template-columns:132px 180px !important;
  gap:10px !important;
  align-items:start;
}

.zksp-itemline,
.zksp-itemline-rightimg{
  gap:10px !important;
}
.zksp-itemline-rightimg .zksp-thumb-order{
  width:72px !important;
  min-width:72px !important;
  height:72px !important;
  border-radius:8px !important;
}
.zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
  width:120px !important;
  min-width:120px !important;
  height:120px !important;
}
.zksp-table-orders-cards .zksp-prod-title{
  font-size:13px !important;
  line-height:1.15 !important;
  margin:0 0 3px 0 !important;
}
.zksp-table-orders-cards .zksp-mini{
  font-size:11px !important;
  line-height:1.18 !important;
}

.zksp-proc-statusbox{
  min-width:92px !important;
  text-align:right;
}
.zksp-supplier-response{
  padding:4px 8px !important;
  font-size:10px !important;
}
.zksp-rowstatus{
  margin-top:4px !important;
  font-size:10px !important;
}

.zksp-proc-column-left{
  gap:6px !important;
}
.zksp-field-label{
  margin:0 0 2px !important;
  font-size:10px !important;
}
.zksp-proc-eta{
  width:82px !important;
  max-width:82px !important;
  height:32px !important;
  padding:5px 8px !important;
  font-size:13px !important;
}
.zksp-proc-actions-stack{
  max-width:132px !important;
  gap:6px !important;
}
.zksp-proc-actions-stack .zksp-btn{
  width:132px !important;
  max-width:132px !important;
  min-height:32px !important;
  padding:6px 8px !important;
  font-size:10px !important;
  line-height:1.05 !important;
  border-radius:8px !important;
  white-space:normal !important;
  text-wrap:balance;
}

.zksp-proc-column-right{
  width:180px !important;
  max-width:180px !important;
}
.zksp-proc-note-wide{
  width:180px !important;
  max-width:180px !important;
  min-height:88px !important;
  max-height:88px !important;
  padding:8px !important;
  font-size:12px !important;
  line-height:1.15 !important;
}

@media (max-width: 1100px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:820px !important}
  .zksp-order-headline{
    grid-template-columns:minmax(240px,1fr) 86px !important;
  }
  .zksp-order-actiongrid{
    grid-template-columns:124px 165px !important;
    gap:8px !important;
  }
  .zksp-itemline-rightimg .zksp-thumb-order{
    width:64px !important;
    min-width:64px !important;
    height:64px !important;
  }
  .zksp-itemline-rightimg .zksp-thumb-order.is-zoomed{
    width:108px !important;
    min-width:108px !important;
    height:108px !important;
  }
  .zksp-proc-actions-stack,
  .zksp-proc-actions-stack .zksp-btn{
    max-width:124px !important;
    width:124px !important;
  }
  .zksp-proc-column-right,
  .zksp-proc-note-wide{
    width:165px !important;
    max-width:165px !important;
  }
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:720px !important}
  .zksp-order-headline{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  .zksp-proc-statusbox{text-align:left !important}
  .zksp-order-actiongrid{
    grid-template-columns:124px 1fr !important;
  }
}

/* v4.1.5 note wider + image small + modal */
.zksp-proc-column-right{width:260px !important;max-width:260px !important;}
.zksp-proc-note-wide{width:260px !important;max-width:260px !important;min-height:90px !important;max-height:90px !important;}
.zksp-itemline-rightimg .zksp-thumb-order{width:64px !important;min-width:64px !important;height:64px !important;cursor:pointer;}

/* image modal */
.zksp-img-modal{position:fixed;inset:0;background:rgba(0,0,0,.65);display:none;align-items:center;justify-content:center;z-index:9999;}
.zksp-img-modal.is-open{display:flex;}
.zksp-img-modal img{max-width:90vw;max-height:90vh;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.4);}


/* v4.1.6 FIX buttons column + bigger popup */
.zksp-order-actiongrid{
  grid-template-columns:120px 1fr !important;
}

.zksp-proc-actions-stack{
  max-width:120px !important;
}

.zksp-proc-actions-stack .zksp-btn{
  width:120px !important;
  max-width:120px !important;
  white-space:normal !important;
  text-align:center;
  padding:6px 6px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

/* make note fill remaining width */
.zksp-proc-column-right{
  width:auto !important;
  max-width:none !important;
}

.zksp-proc-note-wide{
  width:100% !important;
  max-width:none !important;
}

/* bigger image popup */
.zksp-img-modal img{
  max-width:95vw !important;
  max-height:95vh !important;
  transform:scale(1.05);
}


/* v4.1.7 horizontal action bar + larger popup + price blocks */
.zksp-order-actiongrid{
  grid-template-columns:1fr 260px !important;
  gap:14px !important;
}
.zksp-proc-column-left{
  min-width:0;
}
.zksp-proc-column-right{
  width:260px !important;
  max-width:260px !important;
}
.zksp-proc-note-wide{
  width:260px !important;
  max-width:260px !important;
  min-height:92px !important;
  max-height:92px !important;
}
.zksp-proc-actions-row{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(92px,1fr)) !important;
  gap:6px !important;
  max-width:430px !important;
}
.zksp-proc-actions-row .zksp-btn{
  width:100% !important;
  white-space:nowrap !important;
  padding:7px 8px !important;
  min-height:34px !important;
  font-size:11px !important;
  line-height:1.1 !important;
  border-radius:8px !important;
  font-weight:700 !important;
}
.zksp-price-main .amount,
.zksp-price-main{
  color:#008a43;
  font-weight:700;
}
.zksp-price-sub{
  margin-top:4px;
  font-size:11px;
  line-height:1.15;
  color:#6a756a;
}
.zksp-img-modal img{
  max-width:98vw !important;
  max-height:98vh !important;
  width:auto;
  height:auto;
  transform:none !important;
}
@media (max-width:1100px){
  .zksp-order-actiongrid{
    grid-template-columns:1fr 220px !important;
  }
  .zksp-proc-note-wide,
  .zksp-proc-column-right{
    width:220px !important;
    max-width:220px !important;
  }
  .zksp-proc-actions-row{
    grid-template-columns:repeat(2,minmax(110px,1fr)) !important;
    max-width:240px !important;
  }
}
@media (max-width:900px){
  .zksp-order-actiongrid{
    grid-template-columns:1fr !important;
  }
  .zksp-proc-note-wide,
  .zksp-proc-column-right{
    width:100% !important;
    max-width:none !important;
  }
  .zksp-proc-actions-row{
    max-width:430px !important;
    grid-template-columns:repeat(2,minmax(120px,1fr)) !important;
  }
}

/* v4.1.9 supplier price input + large image popup */
.zksp-proc-meta-row{margin-bottom:8px}
.zksp-proc-pricebox{width:100%}
.zksp-proc-price{width:100%;height:34px}
.zksp-img-modal img{
  max-width:96vw !important;
  max-height:96vh !important;
  width:auto !important;
  height:auto !important;
  transform:none !important;
}

/* v4.2.1 supplier price diff badge */
.zksp-proc-pricebox{width:100%}
.zksp-price-diff-badge{
  display:inline-block;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#fff7e8;
  border:1px solid #ecd59a;
  color:#8a6300;
  font-size:11px;
  line-height:1.1;
  font-weight:700;
}

/* v4.2.2 stronger supplier price changed badge */
.zksp-price-diff-badge{
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  margin-top:6px;
  padding:5px 9px;
  border-radius:999px;
  background:#fff4d6;
  border:1px solid #e1bd59;
  color:#7a5600;
  font-size:11px;
  line-height:1.1;
  font-weight:700;
}

/* v4.3.3 simple wishlist */
.zksp-table-wrap-wishlist-simple .zksp-table{min-width:900px}
.zksp-table-wishlist-simple th,.zksp-table-wishlist-simple td{padding:9px 10px;vertical-align:top}
.zksp-table-wishlist-simple .zksp-prod-title{font-size:14px;line-height:1.2}
.zksp-table-wishlist-simple .zksp-mini{font-size:11px;line-height:1.2}
.zksp-wish-simple-offer{min-width:320px}
.zksp-wish-simple-actions{display:flex;gap:8px;margin:8px 0}
.zksp-wish-simple-actions .zksp-btn{min-width:120px}
.zksp-wish-simple-grid{display:grid;grid-template-columns:140px 90px;gap:8px;margin-bottom:8px}
.zksp-response-note-sm{min-height:72px;max-height:72px}
.zksp-sku-chip{display:inline-block;padding:4px 8px;border-radius:4px;background:#f1f3ef;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}

/* v4.3.5 compact note + narrow cards */
.zksp-table-wishlist-simple .zksp-table{
  min-width:820px !important;
}

.zksp-wish-simple-offer{
  min-width:260px !important;
  max-width:260px !important;
}

.zksp-wish-simple-grid{
  grid-template-columns:110px 70px !important;
  gap:6px !important;
}

.zksp-response-note-sm{
  min-height:48px !important;
  max-height:48px !important;
  width:100% !important;
  font-size:12px !important;
  padding:6px !important;
}

.zksp-wish-simple-actions .zksp-btn{
  min-width:100px !important;
  font-size:11px !important;
  padding:6px 8px !important;
}

/* v4.3.7 open requests naming + confirmed highlight */
.zksp-wishlist-summary{
  margin-right:auto;
  font-size:13px;
  color:#5b6a5b;
}
.zksp-wishlist-row.is-confirmed{
  background:#eef7ec !important;
}
.zksp-offer-submitted-badge{
  display:inline-block;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#edf7ec;
  border:1px solid #cfe3cc;
  color:#1f6b31;
  font-size:11px;
  line-height:1.1;
  font-weight:700;
}

/* v4.4.0 simple wishlist + speed */
.zksp-table-wrap-wishlist-simple .zksp-table{min-width:860px}
.zksp-table-wishlist-simple th,.zksp-table-wishlist-simple td{padding:8px 9px;vertical-align:top}
.zksp-table-wishlist-simple .zksp-prod-title{font-size:14px;line-height:1.2}
.zksp-table-wishlist-simple .zksp-mini{font-size:11px;line-height:1.2}
.zksp-wish-simple-offer{min-width:260px;max-width:260px}
.zksp-wish-simple-actions{display:flex;gap:8px;margin:8px 0}
.zksp-wish-simple-actions .zksp-btn{min-width:100px;font-size:11px;padding:6px 8px}
.zksp-wish-simple-grid{display:grid;grid-template-columns:110px 70px;gap:6px;margin-bottom:8px}
.zksp-response-note-sm{min-height:48px;max-height:48px;font-size:12px;padding:6px}
.zksp-sku-chip{display:inline-block;padding:4px 8px;border-radius:4px;background:#f1f3ef;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}
.zksp-wishlist-summary{margin-right:auto;font-size:13px;color:#5b6a5b}
.zksp-wishlist-row.is-confirmed{background:#eef7ec}
.zksp-offer-submitted-badge{display:inline-block;margin-top:6px;padding:4px 8px;border-radius:999px;background:#edf7ec;border:1px solid #cfe3cc;color:#1f6b31;font-size:11px;line-height:1.1;font-weight:700}


/* v4.5.3 orders image moved to left for more text space */
.zksp-table-orders-cards .zksp-itemline-rightimg{
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  align-items:start !important;
  justify-content:start !important;
  gap:12px !important;
}
.zksp-table-orders-cards .zksp-itemline-rightimg .zksp-thumb-order{
  order:0 !important;
  grid-column:1 !important;
  width:64px !important;
  min-width:64px !important;
  height:64px !important;
  margin:0 !important;
}
.zksp-table-orders-cards .zksp-itemline-rightimg .zksp-itemcopy{
  grid-column:2 !important;
  min-width:0 !important;
}
.zksp-table-orders-cards .zksp-order-headline{
  grid-template-columns:minmax(0,1fr) 128px !important;
}
@media (max-width: 900px){
  .zksp-table-orders-cards .zksp-itemline-rightimg{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:10px !important;
  }
  .zksp-table-orders-cards .zksp-itemline-rightimg .zksp-thumb-order{
    width:52px !important;
    min-width:52px !important;
    height:52px !important;
  }
}

/* UI refresh 4.5.4 */
.zksp-viewnav-link[href*="view=orders"],.zksp-home-orders em{color:#215c26}
.zksp-viewnav-link[href*="view=wishlist"],.zksp-home-wishlist em{color:#8a5b00}
.zksp-viewnav-link[href*="view=products"],.zksp-home-products em{color:#275b93}
.zksp-viewnav-link.is-active[href*="view=orders"]{background:#2f6d34;border-color:#2f6d34;color:#fff;box-shadow:0 8px 18px rgba(47,109,52,.18)}
.zksp-viewnav-link.is-active[href*="view=wishlist"]{background:#c58a11;border-color:#c58a11;color:#fff;box-shadow:0 8px 18px rgba(197,138,17,.18)}
.zksp-viewnav-link.is-active[href*="view=products"]{background:#356ea8;border-color:#356ea8;color:#fff;box-shadow:0 8px 18px rgba(53,110,168,.18)}
.zksp-home-orders{background:linear-gradient(180deg,#fff 0%,#f8fcf5 100%)}
.zksp-home-wishlist{background:linear-gradient(180deg,#fff 0%,#fffaf0 100%)}
.zksp-home-products{background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%)}
.zksp-card-orders{border-top:4px solid #9dbb76}
.zksp-card-wishlist{border-top:4px solid #d5b24a}
.zksp-card-products{border-top:4px solid #7aa0d0}
.zksp-head-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;margin-right:10px;vertical-align:middle}
.zksp-head-badge-orders{background:#e8f4e1;color:#215c26;border:1px solid #cde2bf}
.zksp-head-badge-wishlist{background:#fff2d8;color:#8a5b00;border:1px solid #edd296}
.zksp-head-badge-products{background:#e6f0fb;color:#275b93;border:1px solid #c8dbf3}
.zksp-focus-orders{background:#f7fbf3;border-color:#cfe1bf;color:#38553a}
.zksp-focus-wishlist{background:#fff9ee;border-color:#ecd69f;color:#6d5313}
.zksp-focus-products{background:#f4f8fd;border-color:#c9d9ef;color:#355171}
.zksp-section-head p{max-width:920px}
@media (max-width:900px){.zksp-head-badge{display:block;width:max-content;margin:0 0 8px}}


/* UI compact patch 4.5.5 */
.zksp-topbar-main{gap:14px;padding:10px 14px;border-radius:16px}
.zksp-topbar-copy{min-width:0}
.zksp-topbar h2{font-size:20px;line-height:1.15;margin:2px 0 4px}
.zksp-topbar-lead{font-size:13px;line-height:1.45;max-width:620px}
.zksp-eyebrow{letter-spacing:.08em}
.zksp-topbar-meta{gap:6px;align-items:stretch}
.zksp-topbar-meta .zksp-pill{display:flex;flex-direction:column;justify-content:center;min-width:96px;padding:8px 10px;border-radius:12px;background:#f8faf6;border-color:#dde7d7;line-height:1.1}
.zksp-topbar-meta .zksp-pill small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#71816f;margin-bottom:4px}
.zksp-topbar-meta .zksp-pill strong{font-size:15px;color:#243321}
.zksp-viewnav{gap:8px;margin:10px 0 0}
.zksp-viewnav-link{gap:8px;justify-content:flex-start;padding:10px 13px;min-height:42px;border-radius:13px;transition:transform .12s ease, box-shadow .12s ease}
.zksp-viewnav-link:hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(27,58,24,.08)}
.zksp-nav-ico{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#f1f4ee;border:1px solid #dfe7d8;font-size:12px;line-height:1;font-weight:800;flex:0 0 22px}
.zksp-viewnav-link.is-active .zksp-nav-ico{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.28);color:#fff}
.zksp-viewnav-link-home .zksp-nav-ico{color:#5b6a5b}
.zksp-viewnav-link-orders .zksp-nav-ico{color:#215c26}
.zksp-viewnav-link-wishlist .zksp-nav-ico{color:#8a5b00}
.zksp-viewnav-link-products .zksp-nav-ico{color:#275b93}
.zksp-section-head h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media (max-width:980px){.zksp-topbar-main{padding:10px 12px}.zksp-topbar-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.zksp-topbar-meta .zksp-pill{min-width:0}}
@media (max-width:640px){.zksp-topbar h2{font-size:18px}.zksp-topbar-lead{font-size:12px}.zksp-viewnav-link{padding:10px 12px}.zksp-topbar-meta{grid-template-columns:1fr 1fr}}


/* v4.5.6 orders view: dedicated image column */
.zksp-table-orders-cards .zksp-col-main{width:auto}
.zksp-table-orders-cards .zksp-order-main-grid{
  display:grid !important;
  grid-template-columns:72px minmax(320px,1fr) 220px;
  gap:14px;
  align-items:start;
}
.zksp-table-orders-cards .zksp-order-imagecol{
  width:72px;
  min-width:72px;
}
.zksp-table-orders-cards .zksp-order-imagecol .zksp-thumb-order{
  width:72px !important;
  min-width:72px !important;
  height:72px !important;
  border-radius:10px;
  margin:0;
}
.zksp-table-orders-cards .zksp-order-contentcol{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.zksp-table-orders-cards .zksp-order-headline-grid{
  display:block;
}
.zksp-table-orders-cards .zksp-itemcopy-wide{
  min-width:0;
}
.zksp-table-orders-cards .zksp-prod-title{
  max-width:none !important;
}
.zksp-table-orders-cards .zksp-order-sidecol{
  width:220px;
  min-width:220px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.zksp-table-orders-cards .zksp-proc-statusbox{
  text-align:left !important;
  min-width:0 !important;
}
.zksp-table-orders-cards .zksp-order-actiongrid{
  display:block;
}
.zksp-table-orders-cards .zksp-proc-column-left{
  min-width:0;
}
.zksp-table-orders-cards .zksp-proc-actions-inline,
.zksp-table-orders-cards .zksp-proc-actions-row{
  max-width:360px !important;
}
.zksp-table-orders-cards .zksp-proc-column-right,
.zksp-table-orders-cards .zksp-proc-right,
.zksp-table-orders-cards .zksp-proc-note{
  width:100% !important;
  max-width:100% !important;
}
.zksp-table-orders-cards .zksp-proc-note{
  min-height:86px !important;
  max-height:none !important;
}
@media (max-width: 1180px){
  .zksp-table-orders-cards .zksp-order-main-grid{
    grid-template-columns:64px minmax(260px,1fr) 190px;
    gap:12px;
  }
  .zksp-table-orders-cards .zksp-order-imagecol,
  .zksp-table-orders-cards .zksp-order-imagecol .zksp-thumb-order{
    width:64px !important;
    min-width:64px !important;
    height:64px !important;
  }
  .zksp-table-orders-cards .zksp-order-sidecol{
    width:190px;
    min-width:190px;
  }
}
@media (max-width: 900px){
  .zksp-table-wrap-orderscards .zksp-table{min-width:760px}
  .zksp-table-orders-cards .zksp-order-main-grid{
    grid-template-columns:58px minmax(220px,1fr) 170px;
    gap:10px;
  }
  .zksp-table-orders-cards .zksp-order-imagecol,
  .zksp-table-orders-cards .zksp-order-imagecol .zksp-thumb-order{
    width:58px !important;
    min-width:58px !important;
    height:58px !important;
  }
  .zksp-table-orders-cards .zksp-order-sidecol{
    width:170px;
    min-width:170px;
  }
}
