.tmlpo-app{--lpo-green:#14532d;--lpo-ink:#17251d;--lpo-muted:#718078;--lpo-line:#e5ebe6;max-width:1180px;margin:22px auto;padding-left:0px!important;padding-right:0px!important;color:var(--lpo-ink);font:14px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tmlpo-dashboard{width:100%;}
.tmlpo-hero{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;min-height:158px;padding:27px 32px;margin:0 0 18px;border-radius:16px;background:linear-gradient(115deg,#123d29 0%,#1d633c 65%,#287348 100%);color:#fff;box-shadow:0 8px 24px rgba(19,68,42,.12)}
.tmlpo-hero:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.10);border-radius:50%;right:70px;top:-155px;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025)}
.tmlpo-hero-copy{position:relative;z-index:1;max-width:680px}.tmlpo-eyebrow,.tmlpo-section-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:1.35px;color:#b8d8c2;margin-bottom:7px}.tmlpo-hero h2{font-size:25px;line-height:1.2;letter-spacing:-.45px;font-weight:750;color:#fff;margin:0 0 8px}.tmlpo-hero p{margin:0;color:rgba(255,255,255,.78);font-size:13px}.tmlpo-hero-mark{position:relative;z-index:1;display:grid;place-items:center;width:82px;height:82px;border:1px solid rgba(255,255,255,.28);border-radius:22px;background:rgba(255,255,255,.10);transform:rotate(-7deg);margin-right:22px}.tmlpo-hero-mark span{font-size:22px;font-weight:850;letter-spacing:1px;color:#fff;transform:rotate(7deg)}
.tmlpo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.tmlpo-metric{min-width:0;padding:16px 18px;background:#fff;border:1px solid var(--lpo-line);border-radius:12px;box-shadow:0 2px 7px rgba(21,45,30,.025)}.tmlpo-metric-label{display:block;color:var(--lpo-muted);font-size:11px;font-weight:650;margin-bottom:8px}.tmlpo-metric strong{display:block;color:#173d29;font-size:25px;line-height:1.15;font-weight:750;letter-spacing:-.5px}.tmlpo-metric small{display:block;color:#8a978f;font-size:10px;margin-top:6px}.tmlpo-metric .tmlpo-metric-money{font-size:19px;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmlpo-workgrid{display:grid;grid-template-columns:minmax(310px,.88fr) minmax(0,1.45fr);gap:16px;align-items:start}.tmlpo-panel{min-width:0;background:#fff;border:1px solid var(--lpo-line);border-radius:14px;padding:21px;box-shadow:0 2px 8px rgba(21,45,30,.025)}.tmlpo-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.tmlpo-section-kicker{color:#789083;font-size:9px;margin-bottom:4px}.tmlpo-section-head h3{font-size:17px;line-height:1.25;letter-spacing:-.2px;color:#1a3827;margin:0 0 4px;font-weight:750}.tmlpo-section-head p{font-size:11px;color:#89958d;margin:0}.tmlpo-section-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#edf5ef;color:#21623c;font-size:23px}.tmlpo-count{white-space:nowrap;padding:5px 9px;border-radius:20px;background:#f0f5f1;color:#52715c;font-size:9px;font-weight:800;letter-spacing:.5px}
.tmlpo-app label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:11px;color:#405348;margin:0 0 13px}.tmlpo-app input,.tmlpo-app select,.tmlpo-app textarea{box-sizing:border-box;width:100%;padding:10px 11px;border:1px solid #dce5de;border-radius:8px;background:#fff;color:#23372a;font:inherit;font-size:12px;outline:none;transition:border-color .15s,box-shadow .15s}.tmlpo-app input:focus,.tmlpo-app select:focus,.tmlpo-app textarea:focus{border-color:#55966b;box-shadow:0 0 0 3px rgba(51,125,75,.09)}.tmlpo-app textarea{min-height:76px;resize:vertical}.tmlpo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tmlpo-grid .wide{grid-column:1/-1}
.tmlpo-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:8px;padding:10px 14px;background:#17613a;color:#fff!important;font-size:11px;font-weight:750;cursor:pointer;text-decoration:none!important;transition:background .15s,transform .15s;margin:3px 6px 3px 0}.tmlpo-btn:hover{background:#104b2b;color:#fff!important;transform:translateY(-1px)}.tmlpo-btn.secondary{background:#eef4ef;color:#28573a!important;border:1px solid #e0eae2}.tmlpo-btn.secondary:hover{background:#e3eee5}.tmlpo-submit{width:100%;padding:12px 15px;margin-top:7px}.tmlpo-submit span{font-size:16px;line-height:10px}.tmlpo-alert,.tmlpo-notice{padding:12px 14px;border-radius:8px;background:#ecfdf5;color:#166534;margin:12px 0}.tmlpo-alert.error{background:#fef2f2;color:#991b1b}
.tmlpo-empty-catalogue,.tmlpo-empty-orders{padding:20px 10px 8px;text-align:center}.tmlpo-empty-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:14px;background:#eff5f0;color:#36714a;font-size:24px}.tmlpo-empty-catalogue h4,.tmlpo-empty-orders h4{font-size:14px;font-weight:750;color:#284332;margin:0 0 6px}.tmlpo-empty-catalogue>p,.tmlpo-empty-orders>p{max-width:390px;margin:0 auto 16px;color:#7d8a81;font-size:11px;line-height:1.65}.tmlpo-steps{display:grid;gap:8px;text-align:left;padding:13px;margin:15px 0;background:#f7faf7;border:1px solid #edf2ee;border-radius:10px}.tmlpo-steps>div{display:flex;align-items:flex-start;gap:10px;color:#68766d;font-size:10px;line-height:1.45}.tmlpo-steps b{flex:0 0 23px;color:#287046;font-size:10px}.tmlpo-help{display:block;color:#94a098;font-size:9px;margin-top:5px}.tmlpo-order-list{display:grid;gap:10px}.tmlpo-order{border:1px solid #e6ece7;border-radius:10px;padding:14px;margin:0;background:#fff}.tmlpo-orderhead{display:flex;justify-content:space-between;align-items:center;gap:12px}.tmlpo-orderhead strong{font-size:12px;color:#254632}.tmlpo-status{display:inline-flex;align-items:center;background:#f0f4f1;color:#52675a;border-radius:20px;padding:4px 9px;font-size:9px;font-weight:750;text-transform:capitalize}.tmlpo-order p{font-size:10px;color:#7b8980;margin:8px 0}.tmlpo-order ul{padding-left:17px;margin:8px 0;color:#536259;font-size:10px}.tmlpo-actions{margin-top:11px;padding-top:9px;border-top:1px solid #f0f3f0}.tmlpo-footnote{display:flex;justify-content:space-between;gap:10px;margin:15px 2px 0;color:#98a39b;font-size:9px}.tmlpo-tablewrap{overflow-x:auto}.tmlpo-app table{width:100%;border-collapse:collapse}.tmlpo-app th,.tmlpo-app td{text-align:left;padding:10px;border-bottom:1px solid #e5e7eb}.tmlpo-line{display:grid;grid-template-columns:1.2fr 1.4fr .6fr auto;gap:10px;align-items:end;border:1px solid #e7eee8;border-radius:9px;padding:10px;margin:10px 0}.tmlpo-remove{border:0;background:#fff0ef;color:#a23c36;padding:10px;border-radius:7px;cursor:pointer;margin-bottom:12px}.tmlpo-loading{padding:24px;color:#64748b}
@media(max-width:900px){.tmlpo-workgrid{grid-template-columns:1fr}.tmlpo-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tmlpo-app{padding-left:0px!important;padding-right:0px!important;margin:12px auto}.tmlpo-hero{min-height:132px;padding:21px 19px;border-radius:13px}.tmlpo-hero h2{font-size:21px}.tmlpo-hero-mark{width:60px;height:60px;margin-right:2px;border-radius:17px}.tmlpo-hero-mark span{font-size:17px}.tmlpo-metrics{gap:8px}.tmlpo-metric{padding:12px}.tmlpo-metric strong{font-size:22px}.tmlpo-metric .tmlpo-metric-money{font-size:16px}.tmlpo-panel{padding:15px}.tmlpo-grid,.tmlpo-line{grid-template-columns:1fr}.tmlpo-head{display:block}.tmlpo-card{padding:15px}.tmlpo-footnote{display:block}.tmlpo-footnote span{display:block;margin:3px 0}}

/* v1.0.2: keep the procurement workspace within a 1px horizontal outer gutter. */
.tmlpo-app{box-sizing:border-box;padding-inline:1px!important}
.tmlpo-hero-actions{position:relative;z-index:2;display:flex;align-items:center;gap:8px;margin-left:16px}
.tmlpo-create-top{white-space:nowrap;background:#fff;color:#14532d!important;border:1px solid rgba(255,255,255,.55);box-shadow:0 3px 12px rgba(0,0,0,.12)}
.tmlpo-create-top:hover{background:#edf5ef;color:#104b2b!important}
@media(max-width:600px){.tmlpo-hero{gap:12px;flex-wrap:wrap}.tmlpo-hero-actions{margin:0;flex:1 0 100%}.tmlpo-create-top{width:100%}}
.tmlpo-empty-highlight{outline:2px solid rgba(34,112,63,.28);outline-offset:3px;transition:outline-color .2s}


/* v1.1.0 supplier portal workspace */
.tmlpo-supplier-dashboard{width:100%;}
.tmlpo-tabs{display:flex;align-items:center;gap:5px;overflow-x:auto;padding:5px;margin:0 0 16px;background:#f4f7f4;border:1px solid #e5ece6;border-radius:12px;scrollbar-width:thin}
.tmlpo-tab{flex:0 0 auto;border:0;background:transparent;color:#64756a;padding:10px 14px;border-radius:8px;font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap}
.tmlpo-tab:hover{background:#e9f0ea;color:#1e5b35}
.tmlpo-tab.active{background:#175b36;color:#fff;box-shadow:0 2px 7px rgba(20,75,43,.16)}
.tmlpo-supplier-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.8fr);gap:14px;align-items:start}
.tmlpo-toolbar{display:flex;gap:9px;align-items:center;margin:0 0 14px}
.tmlpo-toolbar input{max-width:440px;margin:0}
.tmlpo-toolbar select{max-width:210px;margin:0}
.tmlpo-large-number{font-size:38px;line-height:1;font-weight:800;letter-spacing:-1px;color:#175b36;margin:12px 0 4px}
.tmlpo-muted{color:#829087;font-size:11px}
.tmlpo-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 18px}
.tmlpo-profile-grid>div{padding:14px;border:1px solid #e7eee8;border-radius:9px;background:#fbfdfb;min-width:0}
.tmlpo-profile-grid span{display:block;color:#839087;font-size:10px;margin-bottom:6px}
.tmlpo-profile-grid strong{display:block;color:#294533;font-size:13px;overflow-wrap:anywhere}
.tmlpo-app tr[hidden]{display:none!important}
.tmlpo-app .tmlpo-tablewrap{margin-top:12px}
.tmlpo-app th{font-size:10px;color:#738178;font-weight:750;background:#f8faf8;white-space:nowrap}
.tmlpo-app td{font-size:11px;color:#526258}
@media(max-width:700px){.tmlpo-supplier-grid{grid-template-columns:1fr}.tmlpo-toolbar{align-items:stretch;flex-direction:column}.tmlpo-toolbar input,.tmlpo-toolbar select{max-width:none}.tmlpo-profile-grid{grid-template-columns:1fr 1fr}.tmlpo-tabs{margin-left:0;margin-right:0}.tmlpo-tab{padding:10px 12px}}
@media(max-width:420px){.tmlpo-profile-grid{grid-template-columns:1fr}}

/* Supplier purchase-order vendor and payment details */
.tmlpo-vendor-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0;padding:12px;background:#f7faf8;border:1px solid #e4eee8;border-radius:10px}
.tmlpo-vendor-details>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.tmlpo-vendor-details small{font-size:11px;color:#64756b;text-transform:uppercase;letter-spacing:.04em}
.tmlpo-vendor-details strong{font-size:13px;color:#183c2b;overflow-wrap:anywhere}
.tmlpo-vendor-details a{color:inherit;text-decoration:underline}
.tmlpo-payment-paid{color:#16834b!important}.tmlpo-payment-partially_paid{color:#a56808!important}.tmlpo-payment-unpaid{color:#b42318!important}
.tmlpo-order-payment-summary{display:flex;flex-wrap:wrap;gap:16px;margin:10px 0;color:#5e6d64;font-size:12px}
.tmlpo-order-payment-summary span{display:flex;gap:5px}.tmlpo-order-payment-summary strong{color:#183c2b}
@media(max-width:680px){.tmlpo-vendor-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tmlpo-order-payment-summary{gap:8px 14px}}

/* v1.1.2 supplier catalogue product editing */
.tmlpo-product-desc{display:block;margin-top:4px;color:#87948b;font-size:10px;max-width:320px;overflow-wrap:anywhere}
.tmlpo-product-form-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.tmlpo-product-form-actions [hidden]{display:none!important}
.tmlpo-form-error{color:#b42318;font-size:11px}
.tmlpo-app .tmlpo-edit-product{padding:7px 10px;font-size:10px}

/* v1.2.0 vendor procurement workspace */
.tmlpo-vendor-dashboard .tmlpo-vendor-tabs{margin-top:0;margin-bottom:16px}
.tmlpo-vendor-content{min-width:0}
.tmlpo-vendor-dashboard .tmlpo-secondary-metrics{margin-top:-7px}
.tmlpo-vendor-dashboard .tmlpo-workgrid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr)}
.tmlpo-vendor-dashboard .tmlpo-supplier-contact{grid-template-columns:repeat(4,minmax(0,1fr))}
.tmlpo-vendor-dashboard .tmlpo-toolbar input{flex:1;max-width:none}
.tmlpo-vendor-dashboard .tmlpo-toolbar select{max-width:205px}
.tmlpo-vendor-dashboard .tmlpo-tablewrap a{color:#17613a;text-decoration:underline}
@media(max-width:900px){.tmlpo-vendor-dashboard .tmlpo-workgrid{grid-template-columns:1fr}}
@media(max-width:680px){.tmlpo-vendor-dashboard .tmlpo-supplier-contact{grid-template-columns:repeat(2,minmax(0,1fr))}.tmlpo-vendor-dashboard .tmlpo-toolbar{flex-direction:column;align-items:stretch}.tmlpo-vendor-dashboard .tmlpo-toolbar select{max-width:none}.tmlpo-vendor-dashboard .tmlpo-secondary-metrics{margin-top:0}}


/* v1.4.0 LPO payment methods and verification states */
.tmlpo-payment-form{margin-top:14px;padding:16px;border:1px solid #dce9df;border-radius:12px;background:#f8fbf8}
.tmlpo-payment-form[hidden],[data-bank-fields][hidden],[data-mpesa-fields][hidden]{display:none!important}
.tmlpo-payment-form-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;color:#194b30;font-size:13px}
.tmlpo-payment-form .tmlpo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tmlpo-bank-details{grid-column:1/-1;padding:14px;background:#fff;border:1px solid #dfe9e1;border-radius:10px}
.tmlpo-bank-details>strong{display:block;margin-bottom:10px;color:#174d31}
.tmlpo-bank-details>div{display:flex;justify-content:space-between;gap:14px;padding:6px 0;border-bottom:1px solid #edf1ed;font-size:12px}
.tmlpo-bank-details>div span{color:#718078}
.tmlpo-bank-details>div b{color:#233c2d;text-align:right}
.tmlpo-bank-details label{display:block;margin-top:10px}
.tmlpo-bank-details small,.tmlpo-payment-form small{display:block;margin-top:5px;color:#718078;font-size:10px}
.tmlpo-bank-fixed{font-size:12px;color:#344d3b;margin:8px 0}
.tmlpo-payment-form .tmlpo-actions{margin-top:12px}
@media(max-width:600px){.tmlpo-payment-form .tmlpo-grid{grid-template-columns:1fr}.tmlpo-payment-form-head{align-items:flex-start;flex-direction:column}.tmlpo-bank-details>div{align-items:flex-start;flex-direction:column;gap:2px}.tmlpo-bank-details>div b{text-align:left}}

.tmlpo-payment-pending{color:#9a6700!important}

/* LPO workflow guidance */
.tmlpo-guide{margin:0 0 18px;padding:18px 20px;border-left:4px solid #2563eb;background:#f8fafc}
.tmlpo-guide h3{margin:0 0 10px;font-size:18px}
.tmlpo-guide ol{margin:0;padding-left:22px}
.tmlpo-guide li{margin:0 0 9px;line-height:1.55;color:#334155}
.tmlpo-guide li:last-child{margin-bottom:0}
.tmlpo-help{display:block;flex-basis:100%;margin:8px 0 0;padding:10px 12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412;font-size:13px;line-height:1.5}

/* v1.6.0: theme-aware supplier activity, wallet navigation and audit history. */
.tmlpo-app{padding-left:0px!important;padding-right:0px!important;}
.tmlpo-activity-panel{background:var(--wp--preset--color--base,var(--wp--preset--color--background,inherit))!important;}
.tmlpo-wallet-tab{display:inline-flex;align-items:center;text-decoration:none!important;}
.tmlpo-history{margin-top:12px;padding-top:9px;border-top:1px solid var(--lpo-line);font-size:11px;color:inherit;}
.tmlpo-history summary{cursor:pointer;font-weight:750;color:inherit;}
.tmlpo-history ol{margin:10px 0 0;padding-left:20px;}
.tmlpo-history li{padding:0 0 10px 3px;color:inherit;}
.tmlpo-history li small{display:block;color:var(--lpo-muted);margin-top:2px;}
.tmlpo-history li p{margin:4px 0 0;color:inherit;}

/* Inline product mapping and goods receiving dialog */
.tmlpo-receive-dialog{width:min(720px,calc(100% - 24px));max-width:720px;max-height:88vh;padding:22px;border:1px solid #dce2e8;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.24)}.tmlpo-receive-dialog::backdrop{background:rgba(15,23,42,.58)}.tmlpo-receive-form{display:grid;gap:14px}.tmlpo-receive-line{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #e5e7eb;border-radius:10px}.tmlpo-receive-line>strong,.tmlpo-receive-line>small{grid-column:1/-1}.tmlpo-receive-line>small{color:#64748b}.tmlpo-receive-line label{display:grid;gap:6px;font-size:13px;font-weight:600}.tmlpo-receive-line select,.tmlpo-receive-line input{width:100%;min-width:0;padding:10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#172033}.tmlpo-receive-dialog .tmlpo-actions{justify-content:flex-end}@media(max-width:560px){.tmlpo-receive-line{grid-template-columns:1fr}.tmlpo-receive-line>strong,.tmlpo-receive-line>small{grid-column:auto}.tmlpo-receive-dialog{padding:14px}}
/* Inline product creation within goods receiving */
.tmlpo-receive-line .tmlpo-create-receive-product{justify-self:start}.tmlpo-new-product-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border:1px dashed #cbd5e1;border-radius:9px;background:#f8fafc}.tmlpo-new-product-fields[hidden]{display:none}.tmlpo-new-product-fields label{display:grid;gap:6px;font-size:13px;font-weight:600}.tmlpo-new-product-fields input,.tmlpo-new-product-fields textarea{width:100%;min-width:0;padding:10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#172033}.tmlpo-new-product-fields label:nth-of-type(4){grid-column:1/-1}.tmlpo-create-product-feedback{align-self:center;font-size:12px;color:#475569}@media(max-width:560px){.tmlpo-new-product-fields{grid-template-columns:1fr}.tmlpo-new-product-fields label:nth-of-type(4){grid-column:auto}}

/* v1.6.4 per-LPO delivery location */
.tmlpo-delivery-box{margin:16px 0;padding:15px;border:1px solid #dce9df;border-radius:11px;background:#f8fbf8}
.tmlpo-delivery-box h4{margin:0 0 4px;color:#194b30;font-size:14px}
.tmlpo-delivery-box>p{margin:0 0 12px;color:#718078;font-size:11px}
.tmlpo-location-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tmlpo-delivery-summary{margin:12px 0;padding:12px;border:1px solid #dce9df;border-radius:9px;background:#f8fbf8;color:#304b3a;font-size:11px;overflow-wrap:anywhere}
.tmlpo-delivery-summary>strong{display:block;color:#194b30;font-size:12px;margin-bottom:5px}
.tmlpo-delivery-summary p{margin:4px 0;color:#526258}
.tmlpo-delivery-summary small{display:block;color:#718078;margin:4px 0}
.tmlpo-delivery-summary a:not(.tmlpo-btn){color:#17613a;text-decoration:underline;font-weight:700}
@media(max-width:600px){.tmlpo-location-coordinates{grid-template-columns:1fr}}
/* Supplier catalogue and multi-supplier basket */
.tmlpo-catalogue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;margin:16px 0 24px}
.tmlpo-catalogue-card{border:1px solid var(--tmlpo-border,#e5e7eb);border-radius:12px;overflow:hidden;background:var(--tmlpo-card,#fff);display:flex;flex-direction:column;min-width:0}
.tmlpo-catalogue-card[hidden],[data-filter-supplier][hidden]{display:none!important}
.tmlpo-catalogue-image{width:100%;height:150px;object-fit:cover;background:#f3f4f6;display:block}
.tmlpo-no-image{display:grid;place-items:center;color:#6b7280;font-size:13px}
.tmlpo-catalogue-card-body{padding:12px;display:flex;flex-direction:column;gap:7px;flex:1}
.tmlpo-catalogue-card-body>small{color:#6b7280;font-size:12px}
.tmlpo-catalogue-card-body>strong{font-size:15px;line-height:1.35}
.tmlpo-catalogue-card-body>.tmlpo-btn{margin-top:auto;width:100%}
.tmlpo-supplier-directory{padding:14px;border:1px solid var(--tmlpo-border,#e5e7eb);border-radius:12px;margin:14px 0}
.tmlpo-supplier-directory>strong{display:block;margin-bottom:8px}
.tmlpo-supplier-directory>input{width:100%;max-width:420px;margin-bottom:10px}
.tmlpo-supplier-chips{display:flex;flex-wrap:wrap;gap:8px}
.tmlpo-basket-panel{margin:18px 0;padding:16px;border:1px solid var(--tmlpo-border,#e5e7eb);border-radius:12px}
.tmlpo-basket-row{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(90px,.5fr) minmax(180px,1fr) auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--tmlpo-border,#e5e7eb)}
.tmlpo-basket-row small{display:block;color:#6b7280;margin-top:4px}
.tmlpo-basket-row label{font-size:12px}
.tmlpo-basket-row input,.tmlpo-basket-row select{display:block;width:100%;min-width:0}
.tmlpo-basket-total{font-weight:700;text-align:right;padding-top:14px}
.tmlpo-parent-ref{display:block;font-size:11px;font-weight:500;color:#6b7280;margin-top:3px}
@media(max-width:760px){.tmlpo-basket-row{grid-template-columns:1fr 1fr;gap:8px}.tmlpo-basket-row>div{grid-column:1/-1}.tmlpo-basket-row>strong{justify-self:start}}


/* v1.7.1 visual refinement: compact catalogue grid, transparent workspace and 1px outer gutters. */
.tmlpo-app,
.tmlpo-dashboard,
.tmlpo-supplier-dashboard{
  box-sizing:border-box;
  background:transparent!important;
  padding-left:0px!important;
  padding-right:0px!important;
}
.tmlpo-panel,
.tmlpo-metric,
.tmlpo-order,
.tmlpo-profile-grid>div,
.tmlpo-supplier-directory,
.tmlpo-basket-panel,
.tmlpo-catalogue-card,
.tmlpo-delivery-box,
.tmlpo-delivery-summary,
.tmlpo-payment-form,
.tmlpo-bank-details{
  background:transparent!important;
  box-shadow:none!important;
}
.tmlpo-catalogue-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0 22px;
}
.tmlpo-catalogue-card{
  min-width:0;
  border:1px solid var(--tmlpo-border,var(--lpo-line,#e5ebe6));
  border-radius:10px;
}
.tmlpo-catalogue-image{
  width:100%;
  height:96px;
  padding:6px;
  box-sizing:border-box;
  object-fit:contain;
  background:transparent!important;
}
.tmlpo-no-image{min-height:96px;background:transparent!important}
.tmlpo-catalogue-card-body{padding:9px;gap:5px}
.tmlpo-catalogue-card-body>strong{font-size:13px;line-height:1.3}
.tmlpo-catalogue-card-body>small{font-size:10px;line-height:1.35}
.tmlpo-catalogue-card-body .tmlpo-btn{padding:8px 9px;font-size:10px}
.tmlpo-supplier-directory,.tmlpo-basket-panel{padding:12px 0;border-left:0;border-right:0;border-radius:0}
.tmlpo-tabs{background:transparent}
@media(max-width:900px){.tmlpo-catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media(max-width:600px){
  .tmlpo-app,.tmlpo-dashboard,.tmlpo-supplier-dashboard{padding-left:0px!important;padding-right:0px!important}
  .tmlpo-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tmlpo-catalogue-image{height:88px;padding:5px}
  .tmlpo-no-image{min-height:88px}
  .tmlpo-catalogue-card-body{padding:8px;gap:4px}
  .tmlpo-catalogue-card-body>strong{font-size:12px}
  .tmlpo-catalogue-card-body>small{font-size:9px}
}


/* v1.7.2: remove only the enclosing white workspace; keep each content card distinct. */
.tmlpo-app,
.tmlpo-dashboard,
.tmlpo-supplier-dashboard{
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
/* Independent content surfaces retain their own white background and outline. */
.tmlpo-panel,
.tmlpo-metric,
.tmlpo-order,
.tmlpo-profile-grid>div,
.tmlpo-supplier-directory,
.tmlpo-basket-panel,
.tmlpo-catalogue-card,
.tmlpo-delivery-box,
.tmlpo-delivery-summary,
.tmlpo-payment-form,
.tmlpo-bank-details{
  background:#fff!important;
  box-shadow:none;
}
.tmlpo-panel{border:1px solid var(--lpo-line,#e5ebe6)}
.tmlpo-metric{border:1px solid var(--lpo-line,#e5ebe6)}
.tmlpo-order{border:1px solid #e6ece7}
.tmlpo-profile-grid>div{border:1px solid #e7eee8}
.tmlpo-supplier-directory,.tmlpo-basket-panel{border:1px solid var(--tmlpo-border,#e5e7eb);border-radius:12px;padding:14px}
.tmlpo-catalogue-card{border:1px solid var(--tmlpo-border,#e5e7eb)}
.tmlpo-delivery-box,.tmlpo-delivery-summary,.tmlpo-payment-form,.tmlpo-bank-details{border:1px solid #dce9df}


/* v1.7.4: visually distinguish each LPO using a stable, subtle reference-derived tint. */
.tmlpo-order.tmlpo-order-tone-0{background:#f3f8f4!important;border-color:#cbdccf!important}
.tmlpo-order.tmlpo-order-tone-1{background:#f3f6fb!important;border-color:#d0d9e8!important}
.tmlpo-order.tmlpo-order-tone-2{background:#fbf6ef!important;border-color:#e7d9c6!important}
.tmlpo-order.tmlpo-order-tone-3{background:#f7f3fa!important;border-color:#ded2e8!important}
.tmlpo-order.tmlpo-order-tone-4{background:#f1f7f8!important;border-color:#cbdfe2!important}
.tmlpo-order.tmlpo-order-tone-5{background:#faf4f4!important;border-color:#e7d1d1!important}
.tmlpo-order .tmlpo-delivery-summary,.tmlpo-order .tmlpo-payment-form{background:rgba(255,255,255,.82)!important}


/* v1.7.6 vendor catalogue pagination and mobile floating basket. */
.tmlpo-catalogue-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:-8px 0 22px;padding:10px 0;border-top:1px solid var(--tmlpo-border,#e5e7eb);}
.tmlpo-catalogue-page-info{font-size:12px;color:#64748b;}
.tmlpo-page-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap;}
.tmlpo-page-button{min-width:34px;min-height:34px;padding:6px 9px;border:1px solid var(--tmlpo-border,#dbe3dc);border-radius:7px;background:#fff;color:#334155;font-size:12px;font-weight:650;cursor:pointer;}
.tmlpo-page-button.active{background:#246b43;border-color:#246b43;color:#fff;}
.tmlpo-page-button:disabled{opacity:.4;cursor:not-allowed;}
.tmlpo-page-ellipsis{padding:0 3px;color:#64748b;}
.tmlpo-floating-basket{display:none;}
.tmlpo-floating-basket[hidden]{display:none!important;}
@media(max-width:760px){
 #tmlpo-create-form{padding-bottom:86px;}
 .tmlpo-floating-basket:not([hidden]){position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:99999;display:flex;align-items:center;justify-content:space-between;gap:12px;width:auto;max-width:620px;margin:0 auto;padding:12px 15px;border:1px solid #1e5b39;border-radius:13px;background:#1f6b42;color:#fff;box-shadow:0 8px 28px rgba(15,45,28,.28);text-align:left;cursor:pointer;}
 .tmlpo-floating-basket-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
 .tmlpo-floating-basket-copy strong{font-size:13px;line-height:1.2;}
 .tmlpo-floating-basket-copy small{font-size:11px;color:rgba(255,255,255,.88);}
 .tmlpo-floating-basket-action{flex:0 0 auto;font-size:12px;font-weight:750;white-space:nowrap;}
 .tmlpo-catalogue-pagination{align-items:flex-start;}
 .tmlpo-page-controls{width:100%;}
}
