#purchaseTransactionScreen{padding:14px}.pt-shell{max-width:1050px;margin:auto}.pt-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.pt-head small{font-size:7px;letter-spacing:.15em;color:#8a94a3}.pt-head h2{margin:3px 0;color:#26313c;font-size:20px}.pt-head button,.pt-save{border:1px solid #2f6fed;border-radius:9px;background:#2f6fed;color:#fff;padding:9px 13px;font-weight:900;font-size:8px;display:inline-flex;align-items:center;gap:5px}.pt-head button .material-icons{font-size:15px}.pt-create-head{display:flex;align-items:center;margin-bottom:12px}.pt-back{width:38px!important;height:36px!important;min-width:38px!important;padding:0!important;border:1px solid #dce4ec!important;border-radius:8px!important;background:#fff!important;color:#344252!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 3px 10px rgba(20,34,50,.06)!important}.pt-back .material-icons{font-size:19px}.pt-list{display:grid;gap:9px}.pt-card{background:#fff;border:1px solid #dfe6ee;border-radius:13px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:5px;box-shadow:0 5px 16px rgba(20,34,50,.05)}.pt-card b,.pt-card strong{color:#26313c}.pt-card small,.pt-card span{font-size:8px;color:#7b8492}.pt-card strong{font-size:13px}.pt-pay-btn{justify-self:end;border:0;border-radius:8px;padding:7px 10px;background:#effcf4;color:#177245;font-weight:800}.pt-field{position:relative;margin-bottom:13px}.pt-field label{font-size:8px;font-weight:900;display:block;margin-bottom:5px;color:#394756}.pt-picker{width:100%;height:44px;display:flex;align-items:center;gap:8px;text-align:left;background:#fff!important;color:#26313c!important;border:1px solid #d7e0e9!important;border-radius:9px!important;padding:0 11px!important;box-shadow:0 3px 10px rgba(20,34,50,.04)!important;font-size:9px!important;font-weight:800!important}.pt-picker-icon{font-size:17px!important;color:#2f6fed!important}.pt-picker-arrow{margin-left:auto;color:#7b8794!important;font-size:18px!important}.pt-pop{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;background:#fff!important;border:1px solid #dce4ec!important;border-radius:11px!important;padding:8px!important;box-shadow:0 16px 40px rgba(15,23,42,.16)!important}.pt-pop input{width:100%!important;box-sizing:border-box!important;height:36px!important;padding:8px 9px!important;border:1px solid #dbe3eb!important;border-radius:8px!important;background:#fff!important;color:#26313c!important;margin-bottom:7px!important;font-size:8px!important}.pt-option{width:100%;min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:0!important;background:#fff!important;color:#26313c!important;border-bottom:1px solid #edf1f5!important;padding:8px!important}.pt-option:last-child{border-bottom:0!important}.pt-option b{color:#26313c!important;font-size:9px!important}.pt-option small{color:#718091!important;font-size:7px!important}.pt-items{display:grid;gap:8px}.pt-item{background:#fff;border:1px solid #dfe6ee;border-radius:11px;padding:10px;display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;box-shadow:0 3px 10px rgba(20,34,50,.035)}.pt-item b{color:#26313c;font-size:9px}.pt-item small{display:block;font-size:7px;color:#7b8492;margin-top:5px}.pt-item input{width:72px;height:27px;box-sizing:border-box;padding:4px 6px;border:1px solid #dbe3eb;border-radius:6px;background:#fff;color:#26313c;font-size:8px}.pt-item button{width:28px;height:28px;border:0;background:#fff1f0;color:#b42318;border-radius:7px}.pt-payment{margin-top:12px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:12px;display:grid;gap:9px;box-shadow:0 4px 13px rgba(20,34,50,.04)}.pt-payment>div{display:flex;justify-content:space-between;align-items:center;color:#53616e;font-size:8px}.pt-payment>div b{color:#26313c;font-size:11px}.pt-payment label{font-size:8px;font-weight:900;color:#394756}.pt-payment input,.pt-payment select{display:block;width:100%;box-sizing:border-box;margin-top:4px;height:36px;padding:8px;border:1px solid #dbe3eb;border-radius:7px;background:#fff;color:#26313c;font-size:8px}.pt-save{width:100%;height:40px;margin-top:10px;justify-content:center}.pt-empty,.pt-empty-mini{text-align:center;padding:30px;color:#7b8492;background:#fff;border:1px dashed #d6dee8;border-radius:12px}.pt-empty-mini{padding:14px;font-size:9px}.pt-card-actions{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end}.pt-card-actions button{border:1px solid #dbe3eb;border-radius:7px;padding:6px 8px;font-size:7px;background:#f5f7fa;color:#43515f}.pt-card-actions .pt-pay-btn{background:#effcf4;color:#177245;border-color:#cfe8d9}@media(max-width:700px){#purchaseTransactionScreen{padding:8px}.pt-head h2{font-size:16px}.pt-card{grid-template-columns:1fr}.pt-pay-btn{justify-self:stretch}.pt-item{grid-template-columns:1fr auto auto}.pt-item input{width:65px}}

/* Step 42.34 compact product workflow */
.pt-list-search{flex:1;max-width:520px;height:42px;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #dbe3eb;border-radius:9px;padding:0 10px;box-sizing:border-box}.pt-list-search .material-icons{font-size:18px;color:#657486}.pt-list-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;color:#26313c!important;font-size:9px!important}.pt-staged{margin:7px 0 10px}.pt-staged-card{display:grid;grid-template-columns:minmax(0,1fr) 105px 105px 70px;gap:7px;align-items:end;background:#f8fafc;border:1px solid #dce5ee;border-radius:9px;padding:9px}.pt-staged-card>div{min-width:0}.pt-staged-card b{display:block;font-size:9px;color:#26313c}.pt-staged-card small{display:block;margin-top:3px;font-size:7px;color:#7b8794}.pt-staged-card label{font-size:7px;font-weight:900;color:#526171}.pt-staged-card input{display:block;width:100%;height:30px;box-sizing:border-box;margin-top:3px;border:1px solid #d7e0e9;border-radius:6px;padding:5px;font-size:8px;background:#fff;color:#26313c}.pt-stage-add{height:30px;border:0;border-radius:7px;background:#172033;color:#fff;display:flex;align-items:center;justify-content:center;gap:3px;font-size:8px;font-weight:900}.pt-stage-add .material-icons{font-size:14px}.pt-add-product-field{margin-top:2px}.pt-pop{max-height:285px;overflow:hidden}.pt-pop #ptProductList{max-height:220px;overflow-y:auto}.pt-product-option{min-height:48px}.pt-product-option .material-icons{font-size:17px;color:#7a8794}.pt-item-main{min-width:0}@media(max-width:700px){.pt-head{display:block}.pt-list-search{max-width:none;margin-top:8px}.pt-staged-card{grid-template-columns:1fr 1fr}.pt-stage-add{grid-column:1/-1}.pt-pop{max-height:260px}.pt-pop #ptProductList{max-height:195px}}
/* Step 42.36 professional purchase form */
.pt-section{position:relative;background:#fff;border:1px solid #dce4ec;border-radius:14px;padding:12px;margin-bottom:11px;box-shadow:0 5px 16px rgba(20,34,50,.045)}
.pt-section-head{display:flex;align-items:center;gap:9px;background:#172033;color:#fff;border-radius:10px;padding:9px 11px;margin-bottom:9px}
.pt-section-head>.material-icons{font-size:18px}.pt-section-head b{display:block;font-size:10px}.pt-section-head small{display:block;font-size:7px;color:#c9d2dd;margin-top:2px}
.pt-picker{height:48px!important;background:#172033!important;color:#fff!important;border-color:#172033!important;border-radius:10px!important;font-size:10px!important;box-shadow:0 4px 12px rgba(23,32,51,.14)!important}
.pt-picker-arrow{color:#d7dee8!important}.pt-picker:hover{background:#202d45!important}
.pt-pop{top:calc(100% + 6px);z-index:100;background:#fff!important}.pt-option{min-height:50px!important;padding:8px 9px!important}.pt-option-avatar{width:31px;height:31px;flex:0 0 31px;border-radius:50%;background:#172033;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900}.pt-option-copy{min-width:0;flex:1;margin-left:7px}.pt-option-copy b{display:block;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-option-copy small{display:block;font-size:7px!important;margin-top:2px}.pt-product-option{min-height:54px!important}.pt-items:empty{display:none}.pt-staged-card{display:block!important;padding:0!important;overflow:hidden!important;background:#f8fafc!important}.pt-staged-name{width:100%;box-sizing:border-box;padding:10px 11px;background:#eef2f6;display:flex;align-items:center;gap:8px}.pt-staged-name b{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-staged-avatar{width:30px;height:30px;border-radius:50%;background:#172033;color:#fff;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:900;flex:0 0 30px}.pt-stage-controls{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;padding:10px}.pt-stage-controls label{font-size:7px;font-weight:900;color:#526171}.pt-stage-controls input{margin-top:4px!important;height:32px!important}.pt-stage-add{width:58px!important;height:32px!important;min-width:58px!important;background:#172033!important;font-size:8px!important}.pt-payment-section{padding-bottom:13px}.pt-payment-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.pt-payment-summary>div{background:#f5f7fa;border:1px solid #e0e6ec;border-radius:9px;padding:9px}.pt-payment-summary span{font-size:7px;color:#7b8794;display:block}.pt-payment-summary b{font-size:11px;color:#26313c;display:block;margin-top:2px}.pt-payment-section>label{font-size:8px;font-weight:900;color:#394756;display:block;margin-top:7px}.pt-payment-section input,.pt-payment-section select{margin-top:4px!important;height:36px!important}.pt-save{background:#172033!important;border-color:#172033!important}.pt-save:disabled{opacity:.6}
@media(max-width:700px){.pt-section{padding:9px;border-radius:12px}.pt-stage-controls{grid-template-columns:1fr 1fr}.pt-stage-add{grid-column:1/-1;width:64px!important;justify-self:end}.pt-payment-summary{grid-template-columns:1fr 1fr}.pt-picker{height:46px!important}}

/* Step 42.37 — AR DEBANG Dashboard Blue Theme + Premium Purchase Form */
.pt-section{
  border:1px solid #cfe0f5!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(47,128,237,.10)!important;
  padding:13px!important;
  background:#fff!important;
}
.pt-section-head{
  background:linear-gradient(135deg,#1565c0,#2f80ed)!important;
  border:1px solid #1565c0!important;
  border-radius:13px!important;
  padding:11px 12px!important;
  box-shadow:0 7px 18px rgba(21,101,192,.20)!important;
}
.pt-section-head>.material-icons{color:#fff!important}
.pt-section-head b{font-size:10.5px!important}
.pt-section-head small{color:#e8f1ff!important}
.pt-picker{
  background:linear-gradient(135deg,#0d47a1,#2f80ed)!important;
  color:#fff!important;
  border:1px solid #0d47a1!important;
  border-radius:12px!important;
  box-shadow:0 6px 16px rgba(47,128,237,.22)!important;
  min-height:50px!important;
  font-weight:900!important;
}
.pt-picker:hover{background:linear-gradient(135deg,#1565c0,#42a5f5)!important}
.pt-picker-arrow{color:#fff!important}
.pt-pop{
  border:1px solid #b9d3f4!important;
  border-radius:13px!important;
  box-shadow:0 18px 45px rgba(21,101,192,.20)!important;
}
.pt-option-avatar,.pt-staged-avatar{
  background:#2f80ed!important;
  box-shadow:0 3px 8px rgba(47,128,237,.20);
}
.pt-option:hover{background:#edf5ff!important}
.pt-staged-card{
  border:1px solid #c8dcf5!important;
  box-shadow:0 5px 14px rgba(47,128,237,.08)!important;
}
.pt-staged-name{background:#edf5ff!important;border-bottom:1px solid #c8dcf5!important}
.pt-stage-controls input:focus,.pt-payment-section input:focus,.pt-payment-section select:focus{border-color:#2f80ed!important;box-shadow:0 0 0 2px rgba(47,128,237,.12)!important}
.pt-stage-add,.pt-save{
  background:linear-gradient(135deg,#1565c0,#2f80ed)!important;
  border-color:#1565c0!important;
  box-shadow:0 6px 14px rgba(47,128,237,.20)!important;
}
.pt-payment-section{border-color:#bcd5f2!important}
.pt-payment-summary>div{background:#edf5ff!important;border-color:#cfe0f5!important}
.pt-payment-summary b{color:#1565c0!important}
.pt-payment-section>label{color:#344b68!important}
.pt-save:hover{background:linear-gradient(135deg,#0d47a1,#1565c0)!important}


/* Step 42.38 — premium purchase transaction cards + preview */
.pt-card{position:relative;overflow:visible!important;border:1px solid #cfe0f5!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(47,128,237,.09)!important;padding:13px!important;grid-template-columns:minmax(0,1fr) auto!important}
.pt-card-main{min-width:0}.pt-card-top{display:flex;align-items:center;gap:9px}.pt-card-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:linear-gradient(135deg,#1565c0,#2f80ed);color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;box-shadow:0 5px 12px rgba(47,128,237,.20)}
.pt-card-top b{display:block;font-size:10px!important;color:#18324f!important}.pt-card-top small{display:block;margin-top:3px;font-size:7px!important;color:#71839a!important}.pt-card-tags{display:flex;gap:5px;margin:8px 0 0 45px}.pt-card-tags>span{font-size:7px!important;padding:4px 7px;border-radius:999px;background:#edf5ff;color:#1565c0!important;border:1px solid #cfe0f5}.pt-card-status.due{background:#fff3f2;color:#d92d20!important;border-color:#f3c8c3}.pt-card-status.paid{background:#ecfdf3;color:#1f9d55!important;border-color:#bfe8cf}.pt-card-right{position:relative;display:flex;align-items:flex-start;gap:7px}.pt-card-right>strong{font-size:13px!important;color:#1565c0!important;padding-top:5px}.pt-card-more{width:32px;height:32px;border:1px solid #cfe0f5!important;border-radius:9px!important;background:#edf5ff!important;color:#1565c0!important;display:flex;align-items:center;justify-content:center;cursor:pointer}.pt-card-more .material-icons{font-size:18px}.pt-card-menu{position:absolute;right:0;top:38px;width:148px;background:#fff;border:1px solid #cfe0f5;border-radius:11px;box-shadow:0 16px 38px rgba(21,101,192,.18);padding:5px;z-index:80}.pt-card-menu button{width:100%;display:flex;align-items:center;gap:7px;border:0!important;background:#fff!important;color:#33475c!important;border-radius:8px;padding:8px 9px;font-size:8px;font-weight:800;text-align:left}.pt-card-menu button:hover{background:#edf5ff!important;color:#1565c0!important}.pt-card-menu button .material-icons{font-size:16px}.pt-card-menu button.danger{color:#d92d20!important}.pt-card-bottom{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;margin-top:7px;padding-top:7px;border-top:1px dashed #d8e6f6;font-size:7px!important;color:#6d7e92!important}.pt-preview-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.pt-preview-backdrop{position:absolute;inset:0;background:rgba(10,39,76,.48);backdrop-filter:blur(3px)}.pt-preview-box{position:relative;width:min(720px,100%);max-height:min(88vh,760px);overflow:auto;background:#fff;border:1px solid #cfe0f5;border-radius:20px;box-shadow:0 24px 70px rgba(10,52,104,.30);padding:17px;box-sizing:border-box}.pt-preview-close{position:absolute;right:12px;top:12px;width:32px;height:32px;border:1px solid #cfe0f5!important;border-radius:9px!important;background:#edf5ff!important;color:#1565c0!important;display:flex;align-items:center;justify-content:center}.pt-preview-close .material-icons{font-size:17px}.pt-preview-brand{display:flex;align-items:center;gap:10px;padding-right:42px}.pt-preview-brand-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1565c0,#2f80ed);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 7px 16px rgba(47,128,237,.22)}.pt-preview-brand-icon .material-icons{font-size:21px}.pt-preview-brand small{font-size:7px;letter-spacing:.14em;color:#6d8097}.pt-preview-brand h3{margin:3px 0 0;color:#18324f;font-size:18px}.pt-preview-meta{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:7px;margin:14px 0}.pt-preview-meta>div{background:#edf5ff;border:1px solid #cfe0f5;border-radius:10px;padding:9px}.pt-preview-meta span,.pt-preview-totals span{display:block;font-size:7px;color:#70839a}.pt-preview-meta b{display:block;margin-top:3px;font-size:9px;color:#18324f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-preview-items-wrap{border:1px solid #d5e3f3;border-radius:12px;overflow:hidden}.pt-preview-items-head,.pt-preview-item{display:grid;grid-template-columns:minmax(0,1fr) 70px 90px 100px;gap:7px;align-items:center}.pt-preview-items-head{background:linear-gradient(135deg,#1565c0,#2f80ed);color:#fff;padding:9px;font-size:8px;font-weight:900}.pt-preview-item{padding:9px;border-top:1px solid #edf2f7;color:#43566b;font-size:8px}.pt-preview-item>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pt-preview-item>div:not(:first-child){text-align:right}.pt-preview-totals{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-top:10px}.pt-preview-totals>div{background:#f7fbff;border:1px solid #d5e3f3;border-radius:10px;padding:9px}.pt-preview-totals strong{display:block;margin-top:3px;font-size:11px;color:#1565c0}.pt-preview-totals .due{background:#fff6f5;border-color:#f1d0cc}.pt-preview-totals .due strong{color:#d92d20}.pt-preview-empty{padding:20px;text-align:center;color:#71839a;font-size:8px}@media(max-width:700px){.pt-card{grid-template-columns:1fr!important}.pt-card-right{justify-content:space-between;align-items:center;margin-top:8px}.pt-card-right>strong{padding-top:0}.pt-card-bottom{margin-top:8px}.pt-card-menu{right:0;top:38px}.pt-preview-box{padding:12px;border-radius:16px}.pt-preview-meta{grid-template-columns:1fr 1fr}.pt-preview-meta>div:last-child{grid-column:1/-1}.pt-preview-items-head,.pt-preview-item{grid-template-columns:minmax(0,1fr) 52px 72px 78px;gap:4px;padding-left:6px;padding-right:6px}.pt-preview-totals{grid-template-columns:1fr 1fr}.pt-preview-totals .due{grid-column:1/-1}}
/* Step 42.39 — purchase date + stronger section headers + quantity controls */
.pt-date-section{margin:0 0 10px;background:#fff;border:1px solid #cfe0f5;border-radius:14px;padding:8px 10px;box-shadow:0 5px 16px rgba(47,128,237,.06)}
.pt-date-section label{display:flex;align-items:center;gap:7px;color:#18324f;font-size:8px;font-weight:900}.pt-date-section label .material-icons{font-size:17px;color:#1565c0}.pt-date-section input{margin-left:auto;border:1px solid #cfe0f5!important;border-radius:8px!important;background:#edf5ff!important;color:#18324f!important;padding:7px 9px!important;font-size:9px!important;font-weight:800!important}
.pt-section{position:relative;border:1px solid #cfe0f5!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 20px rgba(47,128,237,.07)!important;padding:0 11px 11px!important;overflow:visible!important;margin-bottom:10px!important}.pt-section-head{margin:0 -1px 10px!important;padding:8px 10px!important;border:0!important;border-radius:13px 13px 7px 7px!important;background:linear-gradient(135deg,#1565c0,#2f80ed)!important;color:#fff!important;box-shadow:0 4px 12px rgba(47,128,237,.14)!important}.pt-section-head>span{color:#fff!important}.pt-section-head b,.pt-section-head small{color:#fff!important}.pt-picker{border:1px solid #cfe0f5!important;border-radius:10px!important;background:#f8fbff!important;color:#18324f!important;box-shadow:none!important}.pt-picker:hover{background:#edf5ff!important;border-color:#9fc3ed!important}.pt-pop{border:1px solid #cfe0f5!important;box-shadow:0 15px 35px rgba(47,128,237,.15)!important}.pt-item{border-color:#d9e7f5!important;box-shadow:0 4px 12px rgba(47,128,237,.04)!important}.pt-item-qty{display:flex;align-items:center;gap:3px;margin-left:auto}.pt-item-qty button{width:22px;height:22px;border:1px solid #cfe0f5!important;border-radius:6px!important;background:#edf5ff!important;color:#1565c0!important;font-weight:900;font-size:14px;line-height:1}.pt-item-qty strong{min-width:40px;text-align:center;font-size:8px;color:#18324f}.pt-payment-summary>div{border-color:#cfe0f5!important;background:#edf5ff!important}.pt-save{background:linear-gradient(135deg,#1565c0,#2f80ed)!important;box-shadow:0 8px 18px rgba(47,128,237,.20)!important}
@media(max-width:700px){.pt-date-section input{font-size:8px!important}.pt-item{grid-template-columns:minmax(0,1fr) auto!important;row-gap:6px}.pt-item-qty{grid-column:2;grid-row:1}.pt-item>strong{grid-column:1;grid-row:2}.pt-item>button:last-child{grid-column:2;grid-row:2}.pt-section{padding:0 8px 9px!important}}
/* Step 42.39 — preview stays inside Business Manager content area */
@media(min-width:701px){.pt-preview-modal{left:calc(var(--ard-manager-sidebar, 0px) + 8px)!important;right:0!important;width:auto!important;padding:12px!important}.pt-preview-box{width:min(680px,calc(100% - 24px))!important;padding:14px!important}.pt-preview-items-head,.pt-preview-item{grid-template-columns:minmax(0,1fr) 58px 78px 88px!important;gap:5px!important}.pt-preview-item>div:first-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.35!important}.pt-preview-items-head{padding:8px!important}.pt-preview-item{padding:8px!important}}
@media(max-width:700px){.pt-preview-item>div:first-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.35!important}.pt-preview-modal{padding:8px!important}.pt-preview-box{width:100%!important}}

/* Step 42.41 — compact selected-product cards + inline adjustment popup */
.pt-item{grid-template-columns:minmax(0,1fr) auto auto!important;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.pt-item:hover{border-color:#9fc5f4!important;box-shadow:0 6px 16px rgba(47,128,237,.10)!important}.pt-item-main b{display:block;white-space:normal;overflow-wrap:anywhere}.pt-item-total{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:70px}.pt-item-total strong{font-size:10px;color:#18324f}.pt-item-total span{font-size:7px;color:#2f80ed;font-weight:900}.pt-item>button[data-remove]{position:relative;z-index:2}
.pt-item-adjust-modal{position:fixed!important;left:var(--sbp-content-left,var(--ard-manager-sidebar,0px))!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;z-index:100500;background:rgba(13,71,161,.25);display:none;align-items:center!important;justify-content:center!important;padding:14px!important;box-sizing:border-box;overflow:auto}.pt-item-adjust-card{position:relative;width:min(500px,calc(100% - 10px))!important;max-width:500px!important;background:#fff;border:1px solid #cfe0f5;border-radius:15px;padding:15px;box-shadow:0 22px 55px rgba(13,71,161,.22)}.pt-item-adjust-close{position:absolute;right:9px;top:9px;width:30px;height:30px;border:1px solid #cfe0f5!important;border-radius:8px;background:#edf5ff!important;color:#1565c0!important;display:flex;align-items:center;justify-content:center}.pt-item-adjust-title{display:flex;align-items:center;gap:9px;padding-right:35px;margin-bottom:13px}.pt-item-adjust-title .pt-option-avatar{background:linear-gradient(135deg,#1565c0,#2f80ed)!important;width:38px;height:38px;flex-basis:38px}.pt-item-adjust-title small{font-size:7px;color:#6d86a3;letter-spacing:.12em}.pt-item-adjust-title h3{margin:3px 0 0;font-size:13px;color:#18324f;overflow-wrap:anywhere}.pt-item-adjust-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pt-item-adjust-fields label{font-size:8px;font-weight:900;color:#42566c}.pt-item-adjust-fields input{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #cfe0f5!important;border-radius:9px!important;background:#f8fbff!important;padding:10px!important;font-size:12px!important;color:#18324f!important;outline:none}.pt-item-adjust-save{width:100%;margin-top:10px;border:0;border-radius:9px;background:linear-gradient(135deg,#1565c0,#2f80ed);color:#fff;padding:10px;font-size:9px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:6px}.pt-item-adjust-save .material-icons{font-size:16px}
/* Keep purchase preview inside the Business Manager content area. */
.pt-preview-modal{position:fixed!important;left:var(--sbp-content-left,0px)!important;right:0!important;top:0!important;bottom:0!important;z-index:100400!important;padding:10px!important;box-sizing:border-box!important}.pt-preview-box{width:min(720px,calc(100vw - 26px))!important;max-height:calc(100vh - 20px)!important;overflow:auto!important;margin-left:3px!important}.pt-preview-items-head,.pt-preview-item{grid-template-columns:minmax(0,2.2fr) .65fr .8fr .9fr!important}.pt-preview-item>div:first-child{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.35!important}
@media(max-width:700px){.pt-item{grid-template-columns:minmax(0,1fr) auto auto!important}.pt-item-adjust-modal{left:54px!important;right:0!important;padding:8px!important}.pt-item-adjust-fields{grid-template-columns:1fr 1fr}.pt-preview-modal{left:0!important;padding:7px!important}.pt-preview-box{width:calc(100vw - 14px)!important;max-height:calc(100vh - 14px)!important;margin-left:3px!important}.pt-preview-items-head,.pt-preview-item{grid-template-columns:minmax(0,2fr) .65fr .8fr .9fr!important;font-size:7px!important}.pt-preview-item{padding:7px!important}.pt-preview-item>div:first-child{font-size:8px!important;white-space:normal!important;overflow-wrap:anywhere!important}}
/* Step 42.42 — Purchase Preview is centered only inside the Business Manager content area. */
.pt-preview-modal{left:var(--sbp-content-left,var(--ard-manager-sidebar,226px))!important;right:0!important}
.pt-preview-box{margin-left:auto!important;margin-right:auto!important;width:min(690px,calc(100% - 16px))!important}
@media(max-width:700px){
  .pt-preview-modal{left:54px!important;right:0!important;padding:6px!important}
  .pt-preview-box{width:calc(100% - 8px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding:10px!important}
  .pt-preview-items-head,.pt-preview-item{grid-template-columns:minmax(0,1fr) 52px 68px 74px!important}
}


/* STEP 42.53 — purchase payment quick actions */
.pt-payment-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0 9px;}
.pt-payment-action{min-height:34px;border:1px solid #bcd5f2!important;border-radius:9px!important;background:#edf5ff!important;color:#1565c0!important;font-size:9px!important;font-weight:900!important;cursor:pointer;}
.pt-payment-action:hover{background:#dfeeff!important;border-color:#8db7e7!important;}
.pt-payment-action:active{transform:translateY(1px);}

/* STEP 42.53 — bounded, scrollable purchase preview */
.pt-preview-modal{align-items:flex-start!important;padding-top:5vh!important;padding-bottom:5vh!important;overflow:hidden!important;}
.pt-preview-box{height:90vh!important;max-height:90vh!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;}
@media(max-width:700px){
  .pt-preview-modal{padding:5vh 7px!important;}
  .pt-preview-box{height:90vh!important;max-height:90vh!important;width:calc(100vw - 14px)!important;}
}

/* Step 42.57 — compact purchase transaction history cards */
.pt-list{gap:6px!important}.pt-card{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;padding:8px 10px!important;border-radius:10px!important;gap:3px 8px!important;box-shadow:0 3px 10px rgba(47,128,237,.045)!important}.pt-card-main{min-width:0}.pt-card-top{gap:7px!important}.pt-card-avatar{width:31px!important;height:31px!important;flex-basis:31px!important}.pt-card-top b{font-size:9px!important}.pt-card-top small{font-size:7px!important}.pt-card-tags{margin-top:4px!important;gap:4px!important}.pt-card-tags span{font-size:6.5px!important;padding:3px 5px!important}.pt-card-right{position:relative;display:flex!important;align-items:flex-start!important;gap:5px!important}.pt-card-right>strong{font-size:11px!important;line-height:31px!important;white-space:nowrap!important}.pt-card-more{width:28px!important;height:28px!important;border-radius:7px!important}.pt-card-more .material-icons{font-size:17px!important}.pt-card-bottom{grid-column:1/-1!important;margin-top:2px!important;padding-top:5px!important;border-top:1px solid #edf2f7!important;display:flex!important;justify-content:space-between!important;gap:8px!important}.pt-card-bottom span{font-size:6.5px!important}.pt-card-menu{top:32px!important;right:0!important;min-width:175px!important}.pt-card-menu button{padding:7px 8px!important;font-size:7px!important}@media(max-width:700px){.pt-card{grid-template-columns:minmax(0,1fr) auto!important;padding:7px 8px!important}.pt-card-right{justify-content:flex-end!important}.pt-card-right>strong{font-size:10px!important}.pt-card-bottom{margin-top:1px!important}.pt-card-bottom span{font-size:6px!important}}

/* Inline supplier/product plus controls */
.pt-section-head{position:relative!important;padding-right:48px!important}.pt-header-plus{position:absolute!important;right:8px!important;top:7px!important;width:30px!important;height:30px!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:8px!important;background:#fff!important;color:#1565c0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 3px 8px rgba(0,0,0,.12)!important}.pt-header-plus .material-icons{font-size:19px!important;color:#1565c0!important}.pt-item-adjust-fields{grid-template-columns:1fr 1fr!important}@media(max-width:700px){.pt-item-adjust-fields{grid-template-columns:1fr 1fr!important}.pt-header-plus{right:7px!important}}

/* 42.61 — Purchase Quantity / Cost / Value inline */
.pt-stage-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto!important;gap:6px!important;align-items:end!important}
.pt-stage-controls label{min-width:0!important}.pt-stage-controls input{min-width:0!important}
.pt-item-adjust-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.pt-item-adjust-fields label{min-width:0!important}.pt-item-adjust-fields input{min-width:0!important}
@media(max-width:700px){.pt-stage-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}.pt-stage-controls button{grid-column:auto!important;width:auto!important}.pt-item-adjust-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.pt-item-adjust-fields input{font-size:11px!important;padding-left:5px!important;padding-right:5px!important}}

/* 42.62 — Purchase preview remains scrollable when a transaction has many products. */
.pt-preview-modal{overflow:hidden!important;}
.pt-preview-box{max-height:90vh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;}
/* STEP 42.68 — SBP / CPP pending-packed source switch */
.pt-product-source-row{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:6px;align-items:center;position:relative}.pt-product-source-row .pt-picker{margin:0!important}.pt-product-source-toggle{height:38px;border:1px solid #bcd5f2;border-radius:9px;background:#edf5ff;color:#1565c0;font-size:8px;font-weight:900;cursor:pointer}.pt-product-source-toggle.cpp{background:#eaf8f0;border-color:#b8e4c9;color:#16734a}.pt-picker.active-source{border-color:#5d8ff2!important;box-shadow:0 0 0 2px rgba(37,99,235,.07)}.pt-cpp-picker.active-source{border-color:#61b77f!important;box-shadow:0 0 0 2px rgba(22,115,74,.07)}.pt-cpp-pop{border-color:#b8e4c9!important}.pt-cpp-pop input{border-color:#d8eadf!important}.pt-cpp-pop .pt-option-avatar{background:#eaf8f0!important;color:#16734a!important}
@media(max-width:700px){.pt-product-source-row{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:4px}.pt-product-source-toggle{height:36px;font-size:7px}}

/* STEP 42.69 — purchase history card hierarchy: supplier > transaction > reference */
.pt-card-top>div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;}
.pt-card-top b{font-size:10px!important;font-weight:900!important;color:#18324f!important;line-height:1.2!important;}
.pt-card-top .pt-card-type{font-size:7px!important;font-weight:800!important;color:#2f80ed!important;line-height:1.2!important;}
.pt-card-top .pt-card-ref{font-size:6.5px!important;color:#7a8795!important;line-height:1.2!important;}

/* STEP 42.69 — added purchase products: remove control is always the right-side target */
.pt-item{position:relative!important;grid-template-columns:minmax(0,1fr) auto 30px!important;min-width:0!important;}
.pt-item-main{min-width:0!important;}
.pt-item-remove{width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;border:1px solid #f1c8c5!important;background:#fff4f3!important;color:#c62828!important;border-radius:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;z-index:10!important;pointer-events:auto!important;}
.pt-item-remove .material-icons{font-size:17px!important;pointer-events:none!important;}
.pt-item-remove:hover{background:#ffe8e6!important;border-color:#e9aaa5!important;}
@media(max-width:700px){.pt-item{grid-template-columns:minmax(0,1fr) auto 28px!important}.pt-item-remove{width:27px!important;height:27px!important;min-width:27px!important}.pt-card-top b{font-size:9px!important}.pt-card-top .pt-card-type{font-size:6.5px!important}.pt-card-top .pt-card-ref{font-size:6px!important;}}
