/* Unified seller visit workspace. Loaded after assistant.css on purpose. */
.previsit-form.is-visit-active{display:block}.previsit-form.is-visit-active>label,.previsit-form.is-visit-active>#previsitPolicySummary,.previsit-form.is-visit-active>#startPrevisit{display:none!important}
.previsit-form.is-visit-active .previsit-cart{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.previsit-cart-header{position:sticky;top:0;z-index:30;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0;margin-bottom:14px;padding:15px 18px;border:1px solid #cfe3da;border-radius:20px;background:linear-gradient(128deg,#0f5f49,#167b5d 58%,#2d9a76);color:#fff;box-shadow:0 16px 34px #0f5f492e;isolation:isolate}
.previsit-cart-header .previsit-customer-summary{display:block;flex:1;min-width:0}.previsit-customer-header-copy{display:grid;gap:5px;min-width:0}.previsit-cart-header h3{margin:0;font-size:20px;line-height:1.45}.previsit-eyebrow{display:block;color:#bfe8d8;font-size:9px;font-weight:900}.previsit-customer-header-copy>p{display:flex;align-items:center;gap:5px;max-width:920px;margin:0;overflow:hidden;color:#e5f7f0;font-size:10px;line-height:1.7;text-overflow:ellipsis;white-space:nowrap}.previsit-customer-header-copy>p i{font-size:13px;font-style:normal}.previsit-customer-header-meta{display:flex;align-items:stretch;gap:5px;min-width:0;overflow-x:auto;padding-top:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.previsit-customer-header-meta::-webkit-scrollbar{display:none}.previsit-customer-header-meta>span,.previsit-customer-header-meta>a{display:grid;grid-template-columns:auto auto;align-items:center;gap:4px;flex:0 0 auto;min-height:27px;padding:3px 8px;border:1px solid #ffffff2e;border-radius:999px;background:#ffffff12;color:#fff;text-decoration:none}.previsit-customer-header-meta small{color:#cdeade;font-size:7px}.previsit-customer-header-meta b{max-width:210px;overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.previsit-cart-header .previsit-status{flex:0 0 auto;margin-top:4px;padding:8px 12px;border:1px solid #ffffff42;border-radius:999px;background:#ffffff16;color:#fff;font-size:10px;font-weight:800;white-space:nowrap}
.previsit-visit-shell{display:grid;grid-template-columns:minmax(0,1fr) 246px;gap:14px;align-items:start;direction:rtl}.previsit-workspace-main{grid-column:1;min-width:0;direction:rtl}.previsit-visit-rail{grid-column:2;position:sticky;top:12px;display:grid;gap:12px;max-height:calc(100vh - 28px);padding:14px;border:1px solid #d9e7e1;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1f463914}
.previsit-visit-identity{display:flex;align-items:center;gap:10px;padding:4px 2px 12px;border-bottom:1px solid #e7efeb;min-width:0}.previsit-identity-mark{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#d9f2e8,#edf8f4);color:#12664e;font-size:18px;font-weight:900}.previsit-visit-identity>div{display:grid;gap:3px;min-width:0}.previsit-visit-identity strong,.previsit-visit-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previsit-visit-identity strong{font-size:13px}.previsit-visit-identity small{color:#6f7d78;font-size:9px}
.previsit-visit-rail nav{display:grid;gap:5px;overflow:auto}.previsit-visit-rail nav button{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 8px;min-height:52px;padding:7px 8px;border:1px solid transparent;border-radius:12px;background:transparent;color:#455650;text-align:right;cursor:pointer}.previsit-visit-rail nav button>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf4f1;color:#35705d;font-size:15px}.previsit-visit-rail nav button>b{font-size:11px}.previsit-visit-rail nav button>small{color:#89938f;font-size:8px}.previsit-visit-rail nav button:hover{background:#f5faf8}.previsit-visit-rail nav button.is-active{border-color:#b9ddcf;background:#e9f7f1;color:#0f634b}.previsit-visit-rail nav button.is-active>span{background:#176b54;color:#fff}.previsit-visit-rail nav button:disabled{opacity:.52;cursor:not-allowed}.previsit-visit-rail nav button.is-locked>span{background:#f1f1f1;color:#858585}
.previsit-rail-status{display:grid;grid-template-columns:10px 1fr;gap:2px 7px;padding:10px;border-radius:11px;background:#f2f8f5;color:#2a5d4d}.previsit-rail-status i{grid-row:1/3;align-self:center;width:8px;height:8px;border-radius:50%;background:#22a779;box-shadow:0 0 0 4px #d8f2e8}.previsit-rail-status span{font-size:9px;font-weight:900}.previsit-rail-status small{color:#73837d;font-size:7px}
.previsit-order-workspace,.previsit-intelligence-panel{min-width:0;padding:16px;border:1px solid #dce8e3;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1f46390f}.previsit-order-workspace[hidden],.previsit-intelligence-panel[hidden]{display:none!important}
.previsit-order-common{position:sticky;top:var(--previsit-order-sticky-top,0);z-index:22;display:grid;gap:12px;min-width:0;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #dce8e3;background:#fff;box-shadow:0 12px 18px #ffffffed}.previsit-order-common .previsit-order-assistant{margin:0}.previsit-order-common .previsit-order-heading{margin:0;padding-top:13px}.previsit-order-common .previsit-context-grid{margin:0}body.previsit-table-open .previsit-order-common{display:none!important}
.previsit-order-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 14px;padding-top:13px;border-top:1px solid #e6efeb}.previsit-order-heading>div:first-child{display:grid;gap:3px}.previsit-order-heading strong{font-size:14px}.previsit-order-heading small{color:#71807a;font-size:9px;line-height:1.7}.previsit-order-mode-switch{display:flex;gap:3px;padding:3px;border-radius:12px;background:#eef4f1}.previsit-order-mode-switch button{min-height:35px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#5d6c67;font:800 9px inherit;white-space:nowrap;cursor:pointer}.previsit-order-mode-switch button.is-active{background:#fff;color:#11664d;box-shadow:0 3px 12px #204b3d1c}
.previsit-quick-order-view{display:grid;gap:14px}.previsit-quick-order-view[hidden]{display:none!important}.previsit-quick-picker{display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(145px,.65fr) minmax(145px,.65fr) minmax(220px,1.25fr) 95px auto;gap:10px;align-items:end;padding:16px;border:1px solid #d8e6e0;border-radius:15px;background:#f7faf9}.previsit-quick-picker header{grid-column:1/-1;display:grid;gap:3px}.previsit-quick-picker header strong{font-size:13px}.previsit-quick-picker header small{color:#70807a;font-size:9px}.previsit-quick-picker label{display:grid;gap:5px;color:#52625c;font-size:9px;font-weight:800}.previsit-quick-picker select,.previsit-quick-picker input{width:100%;min-height:43px;box-sizing:border-box;border:1px solid #ccdcd5;border-radius:10px;padding:0 10px;background:#fff;font:10px inherit}.previsit-quick-picker>select,.previsit-quick-picker>input{min-height:43px;box-sizing:border-box;border:1px solid #ccdcd5;border-radius:10px;padding:0 10px;background:#fff}.previsit-quick-picker>button{min-height:43px;margin:0;padding:0 14px;border:0;border-radius:10px;background:#176b54;color:#fff;font:900 10px inherit;cursor:pointer}
.previsit-order-conditions{display:grid;gap:10px;margin:0;padding:12px;border:1px solid #c8ded6;border-radius:14px;background:#f5faf8}.previsit-order-conditions>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.previsit-order-conditions>header>div{display:grid;gap:2px}.previsit-order-conditions>header strong{color:#145f49;font-size:12px}.previsit-order-conditions>header small{color:#6d7d77;font-size:8px;line-height:1.65}.previsit-order-conditions>header>span{max-width:46%;padding:6px 9px;border-radius:9px;background:#e2f1eb;color:#386358;font-size:7px;line-height:1.65}.previsit-order-conditions .previsit-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}.previsit-order-conditions .previsit-context-grid label{min-width:0}.previsit-order-conditions .previsit-context-grid select{width:100%;box-sizing:border-box}.previsit-order-conditions .previsit-context-grid select:disabled{opacity:.72;background:#edf2f0}
.previsit-workspace-content{display:grid;gap:15px;min-height:260px}.previsit-loading-card{place-items:center;color:#6c7b76;font-size:12px}.previsit-content-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:3px 2px 15px;border-bottom:1px solid #e6eeea}.previsit-content-heading>div{display:grid;gap:4px}.previsit-content-heading span{color:#16805f;font-size:9px;font-weight:900}.previsit-content-heading h4{margin:0;font-size:19px}.previsit-content-heading p{max-width:720px;margin:0;color:#65746e;font-size:10px;line-height:1.9}.previsit-content-heading>b{padding:7px 10px;border-radius:999px;background:#e7f5ef;color:#11634c;font-size:9px;white-space:nowrap}.previsit-content-heading>button{min-height:38px;padding:0 13px;border:1px solid #176b54;border-radius:10px;background:#176b54;color:#fff;font:800 9px inherit;cursor:pointer}
.previsit-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.previsit-metric-card{display:grid;gap:6px;min-height:84px;padding:13px;border:1px solid #e0e9e5;border-radius:13px;background:#fbfdfc}.previsit-metric-card small{color:#72817b;font-size:8px}.previsit-metric-card strong{color:#253b34;font-size:14px;line-height:1.5}.previsit-metric-card span{color:#85918d;font-size:8px}.previsit-metric-card.is-finance{border-color:#c8dfd6;background:#eff8f4}.previsit-metric-card.is-warning{border-color:#f0d39f;background:#fff9ed}.previsit-metric-card.is-danger{border-color:#efc9c1;background:#fff5f3}.previsit-metric-card.is-good{border-color:#c7e5d9;background:#f2fbf7}
.previsit-next-best-action{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:9px;padding:14px;border-radius:14px;background:linear-gradient(120deg,#183e33,#286a56);color:#fff}.previsit-next-best-action>strong{padding-left:12px;border-left:1px solid #ffffff30;font-size:11px}.previsit-next-best-action>div{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:7px}.previsit-next-best-action span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#ffffff18;color:#c9f0e1;font-size:9px;font-weight:900}.previsit-next-best-action p{margin:0;color:#e2f2ec;font-size:8px;line-height:1.65}
.previsit-open-invoice-list{display:grid;gap:8px}.previsit-open-invoice-list article{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,.55fr) minmax(130px,.55fr);align-items:center;gap:10px;padding:12px 14px;border:1px solid #e0e9e5;border-radius:12px;background:#fbfdfc}.previsit-open-invoice-list article>div,.previsit-open-invoice-list article>span{display:grid;gap:3px}.previsit-open-invoice-list small{color:#77847f;font-size:8px}.previsit-open-invoice-list strong,.previsit-open-invoice-list b{font-size:11px}.previsit-open-invoice-list .is-remaining b{color:#b05a1e}.previsit-empty-state{display:grid;place-items:center;gap:7px;min-height:210px;padding:20px;text-align:center;color:#64736d}.previsit-empty-state>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e6f5ef;color:#16805f;font-size:19px}.previsit-empty-state strong{font-size:13px}.previsit-empty-state small{font-size:9px}.previsit-empty-state.is-error>span{background:#fff0ed;color:#b24b39}
.previsit-history-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.previsit-history-compare article{display:grid;gap:6px;padding:18px;border:1px solid #d7e8e1;border-radius:15px;background:linear-gradient(135deg,#eff8f4,#f9fcfb)}.previsit-history-compare span,.previsit-history-compare small{color:#71817b;font-size:9px}.previsit-history-compare strong{color:#145f49;font-size:18px}
.previsit-brand-interest{display:grid;gap:10px;padding:14px;border:1px solid #dce8e3;border-radius:14px;background:#f9fcfb}.previsit-brand-interest header{display:flex;justify-content:space-between;gap:10px}.previsit-brand-interest header strong{font-size:12px}.previsit-brand-interest header small{color:#74827d;font-size:8px}.previsit-brand-interest>div{display:flex;flex-wrap:wrap;gap:7px}.previsit-brand-interest>div>span{display:grid;gap:2px;padding:8px 11px;border-radius:10px;background:#e4f4ed;color:#155f49}.previsit-brand-interest>div>span b{font-size:10px}.previsit-brand-interest>div>span small{font-size:7px}.previsit-brand-interest.is-all>div>span{background:#eef2f1;color:#455c54}.previsit-muted{margin:0;color:#75837e;font-size:9px}
.previsit-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.previsit-profile-grid article{display:grid;gap:6px;min-height:68px;padding:13px;border:1px solid #e1e9e6;border-radius:12px;background:#fbfdfc}.previsit-profile-grid small{color:#74827d;font-size:8px}.previsit-profile-grid strong{font-size:11px;line-height:1.8}.previsit-profile-grid article.is-location-ready{border-color:#b9dfd0;background:#eef9f4}.previsit-profile-grid article.is-location-missing{border-color:#efd1a5;background:#fff9ef}
@media(max-width:980px){.previsit-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.previsit-next-best-action{grid-template-columns:1fr}.previsit-next-best-action>strong{padding:0 0 8px;border:0;border-bottom:1px solid #ffffff30}.previsit-quick-picker{grid-template-columns:1fr 1fr}.previsit-quick-picker header,.previsit-quick-picker>button{grid-column:1/-1}}
@media(max-width:820px){.previsit-cart-header{padding:12px 13px}.previsit-cart-header h3{font-size:17px}.previsit-customer-header-copy>p{font-size:9px}.previsit-customer-header-meta small{display:none}.previsit-visit-shell{grid-template-columns:1fr}.previsit-workspace-main{grid-column:1;grid-row:2}.previsit-visit-rail{grid-column:1;grid-row:1;position:sticky;top:0;z-index:12;display:block;max-height:none;padding:8px;border-radius:14px}.previsit-visit-identity,.previsit-rail-status{display:none}.previsit-visit-rail nav{display:flex;gap:5px;overflow-x:auto}.previsit-visit-rail nav button{flex:0 0 105px;grid-template-columns:27px 1fr;min-height:44px;padding:5px}.previsit-visit-rail nav button>span{width:25px;height:25px;border-radius:8px;font-size:12px}.previsit-visit-rail nav button>b{font-size:9px}.previsit-visit-rail nav button>small{font-size:7px}.previsit-order-workspace,.previsit-intelligence-panel{padding:11px;border-radius:14px}.previsit-order-heading{display:grid}.previsit-order-mode-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.previsit-order-mode-switch button{white-space:normal}.previsit-open-invoice-list article{grid-template-columns:1fr 1fr}.previsit-open-invoice-list article>div{grid-column:1/-1}.previsit-content-heading{display:grid}.previsit-content-heading>b,.previsit-content-heading>button{justify-self:start}}
@media(max-width:560px){.previsit-form.is-visit-active{margin-inline:-7px}.previsit-cart-header{top:-8px;gap:7px;margin-bottom:8px;padding:10px 11px;border-radius:0 0 14px 14px}.previsit-cart-header h3{font-size:15px}.previsit-eyebrow{font-size:7px}.previsit-customer-header-copy>p{font-size:8px}.previsit-customer-header-meta>span,.previsit-customer-header-meta>a{min-height:23px;padding:2px 7px}.previsit-customer-header-meta b{max-width:125px;font-size:7px}.previsit-cart-header .previsit-status{margin-top:2px;padding:6px 8px;font-size:7px}.previsit-visit-shell{gap:8px}.previsit-metric-grid,.previsit-history-compare,.previsit-profile-grid,.previsit-quick-picker,.previsit-order-conditions .previsit-context-grid{grid-template-columns:1fr}.previsit-quick-picker>button{grid-column:auto}.previsit-order-conditions>header{align-items:start;display:grid}.previsit-order-conditions>header>span{max-width:none}.previsit-metric-card{min-height:70px}.previsit-content-heading h4{font-size:16px}.previsit-open-invoice-list article{grid-template-columns:1fr}.previsit-open-invoice-list article>div{grid-column:auto}.previsit-order-heading{margin-top:9px}}

/* Mobile-safe visit dashboard: contain every child inside the device viewport. */
.previsit-panel,.previsit-form,.previsit-cart,.previsit-visit-shell,.previsit-workspace-main,.previsit-visit-rail,.previsit-intelligence-panel,.previsit-workspace-content{box-sizing:border-box;min-width:0;max-width:100%}
.previsit-panel{width:100%;overflow:hidden}.previsit-form{width:min(1280px,100%);max-width:100%;box-sizing:border-box}.previsit-cart{overflow:hidden}.previsit-visit-rail nav{min-width:0;max-width:100%}
.previsit-dashboard-section{display:grid;gap:11px;padding:14px;border:1px solid #dce8e3;border-radius:15px;background:#fbfdfc}.previsit-dashboard-section>header{display:flex;align-items:end;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #e4ece8}.previsit-dashboard-section>header>div{display:grid;gap:3px}.previsit-dashboard-section>header span{color:#16805f;font-size:8px;font-weight:900}.previsit-dashboard-section>header strong{font-size:13px}.previsit-dashboard-section>header>small{color:#6e7d77;font-size:8px}
.previsit-metric-grid.is-compact .previsit-metric-card{min-height:70px;padding:10px}
.previsit-line-purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.previsit-line-purchase-grid article{position:relative;display:grid;gap:6px;min-width:0;padding:12px;border:1px solid #cfe2da;border-radius:13px;background:linear-gradient(140deg,#eef8f4,#fff)}.previsit-line-purchase-grid header{display:flex;justify-content:space-between;gap:8px}.previsit-line-purchase-grid header strong{font-size:11px}.previsit-line-purchase-grid header span{color:#24715a;font-size:8px}.previsit-line-purchase-grid article>b{color:#0f674e;font-size:13px}.previsit-line-purchase-grid article>small{color:#75837e;font-size:8px}.previsit-line-purchase-grid article>p{margin:0;color:#53655f;font-size:8px}.previsit-line-purchase-grid article>em{color:#8a9692;font-size:7px;font-style:normal}
.previsit-brand-card-grid,.previsit-brand-interest>.previsit-brand-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.previsit-brand-card{display:grid;gap:9px;min-width:0;padding:11px;border:1px solid #dce8e3;border-radius:12px;background:#fff}.previsit-brand-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.previsit-brand-card>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#155f49;font-size:11px}.previsit-brand-card>header b{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#e7f5ef;color:#176b54;font-size:7px}.previsit-brand-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.previsit-brand-card dl>div{display:grid;gap:2px;min-width:0}.previsit-brand-card dt{color:#7a8782;font-size:7px}.previsit-brand-card dd{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344b43;font-size:8px;font-weight:800}.previsit-brand-interest.is-all .previsit-brand-card>header strong{color:#455c54}
.previsit-overview-invoices{display:grid;gap:7px}.previsit-overview-invoices article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #e0e9e5;border-radius:11px;background:#fff}.previsit-overview-invoices article>div{display:grid;gap:2px}.previsit-overview-invoices strong{font-size:10px}.previsit-overview-invoices small{color:#7a8782;font-size:8px}.previsit-overview-invoices article>span{color:#a5531d;font-size:10px;font-weight:900;white-space:nowrap}.previsit-profile-grid.is-overview article{min-height:58px}
@media(max-width:820px){.previsit-form{padding-inline:8px}.previsit-visit-rail{overflow:hidden}.previsit-visit-rail nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.previsit-visit-rail nav button{width:100%;min-width:0;max-width:100%;min-height:48px;grid-template-columns:24px minmax(0,1fr);padding:5px;overflow:hidden}.previsit-visit-rail nav button>b,.previsit-visit-rail nav button>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previsit-workspace-main{overflow:hidden}.previsit-dashboard-section{padding:11px}.previsit-line-purchase-grid,.previsit-brand-card-grid,.previsit-brand-interest>.previsit-brand-card-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.previsit-form.is-visit-active{margin-inline:0!important}.previsit-cart{width:100%;padding-inline:6px}.previsit-cart-header{width:100%;box-sizing:border-box;margin-inline:0}.previsit-visit-rail nav{grid-template-columns:repeat(2,minmax(0,1fr))}.previsit-line-purchase-grid,.previsit-brand-card-grid,.previsit-brand-interest>.previsit-brand-card-grid{grid-template-columns:1fr}.previsit-dashboard-section>header{align-items:start}.previsit-brand-card dl{grid-template-columns:1fr 1fr}.previsit-overview-invoices article{align-items:start;flex-direction:column}.previsit-overview-invoices article>span{white-space:normal}}

/* Visit financial and returned-cheque intelligence. */
.previsit-seller-contact{grid-column:1/-1;padding-top:6px;border-top:1px dashed #dce8e3}.previsit-seller-contact dd{display:flex;align-items:center;justify-content:space-between;gap:7px;white-space:normal}.previsit-seller-contact dd>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previsit-seller-contact a,.previsit-line-seller-phone{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 8px;border:1px solid #b9ddcf;border-radius:9px;background:#edf8f3;color:#0f674e;font-size:8px;font-weight:900;text-decoration:none;direction:ltr}.previsit-seller-contact small{color:#8a9692;font-size:7px}.previsit-line-seller-phone{justify-self:start}
.previsit-finance-note{margin:0;padding:10px 12px;border-radius:11px;background:#eef6f3;color:#52655e;font-size:8px;line-height:1.9}
.previsit-returned-cheque-list{display:grid;gap:10px}.previsit-returned-cheque-list article{display:grid;gap:11px;padding:13px;border:1px solid #e2d9d4;border-radius:14px;background:#fff}.previsit-returned-cheque-list article>header{display:flex;align-items:start;justify-content:space-between;gap:10px}.previsit-returned-cheque-list article>header>div{display:grid;gap:3px}.previsit-returned-cheque-list article>header strong{font-size:12px}.previsit-returned-cheque-list article>header small{color:#7b8581;font-size:8px}.previsit-returned-cheque-list article>header b{padding:5px 8px;border-radius:999px;background:#fff0ed;color:#a84636;font-size:8px;white-space:nowrap}.previsit-returned-cheque-list article.is-collected_after_return,.previsit-returned-cheque-list article.is-refunded_after_return{border-color:#c8e3d8;background:#f7fcfa}.previsit-returned-cheque-list article.is-collected_after_return>header b,.previsit-returned-cheque-list article.is-refunded_after_return>header b{background:#e5f5ee;color:#176b54}.previsit-returned-cheque-list article.is-legal_returned{border-color:#edc7c0;background:#fff8f6}.previsit-returned-cheque-list dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}.previsit-returned-cheque-list dl>div{display:grid;gap:3px;min-width:0}.previsit-returned-cheque-list dt{color:#7b8783;font-size:7px}.previsit-returned-cheque-list dd{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344b43;font-size:9px;font-weight:800}
@media(max-width:560px){.previsit-seller-contact dd{align-items:flex-start;flex-direction:column}.previsit-returned-cheque-list article>header{align-items:start;flex-direction:column}.previsit-returned-cheque-list dl{grid-template-columns:1fr 1fr}}
/* Compact mobile order workspace: customer identity and order controls stay within the first screen. */
.previsit-customer-name-row{display:flex;align-items:center;gap:8px;min-width:0}.previsit-customer-name-row h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previsit-customer-code{flex:0 0 auto;padding:4px 8px;border:1px solid #ffffff35;border-radius:999px;background:#ffffff17;color:#fff;font-size:8px;white-space:nowrap}
@media(max-width:820px){
  .previsit-form.is-visit-active .previsit-cart-header{top:-8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;margin-bottom:6px;padding:8px 10px;border-radius:0 0 13px 13px}
  .previsit-form.is-visit-active .previsit-cart-header h3{font-size:14px;line-height:1.35}.previsit-form.is-visit-active .previsit-eyebrow{font-size:7px}.previsit-form.is-visit-active .previsit-customer-header-copy{gap:2px}.previsit-form.is-visit-active .previsit-customer-header-copy>p{font-size:8px;line-height:1.45}.previsit-form.is-visit-active .previsit-customer-header-meta{gap:4px;padding-top:1px}.previsit-form.is-visit-active .previsit-customer-header-meta>span,.previsit-form.is-visit-active .previsit-customer-header-meta>a{min-height:21px;padding:1px 6px}.previsit-form.is-visit-active .previsit-customer-header-meta b{max-width:118px;font-size:7px}.previsit-form.is-visit-active .previsit-cart-header .previsit-status{align-self:center;margin:0;padding:5px 7px;font-size:7px}
  .previsit-visit-shell{gap:6px}.previsit-visit-rail{position:relative;top:auto;padding:5px 6px;border-radius:12px}.previsit-visit-rail nav{display:flex!important;grid-template-columns:none!important;gap:4px;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.previsit-visit-rail nav::-webkit-scrollbar{display:none}.previsit-visit-rail nav button{flex:0 0 104px!important;width:104px!important;min-height:39px!important;grid-template-columns:23px minmax(0,1fr)!important;padding:4px!important}.previsit-visit-rail nav button>span{width:22px;height:22px;border-radius:7px;font-size:10px}.previsit-visit-rail nav button>b{font-size:8px}.previsit-visit-rail nav button>small{font-size:6px}
  .previsit-order-workspace{padding:8px;border-radius:12px}.previsit-order-common{gap:7px;margin-bottom:8px}.previsit-order-conditions{gap:6px;padding:8px;border-radius:11px}.previsit-order-conditions>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.previsit-order-conditions>header small{display:none}.previsit-order-conditions>header>span{max-width:150px;padding:4px 6px;font-size:6px;line-height:1.45}.previsit-order-conditions .previsit-context-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px}.previsit-order-conditions .previsit-context-grid label{gap:3px;font-size:7px}.previsit-order-conditions .previsit-context-grid label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previsit-order-conditions .previsit-context-grid select{height:36px;padding-inline:5px 18px;font-size:8px;text-overflow:ellipsis}
  .previsit-order-assistant{grid-template-columns:minmax(0,1fr) auto auto!important;gap:5px!important;padding:7px!important;border-radius:11px!important}.previsit-order-assistant>div:first-child{display:none}.previsit-order-assistant label{grid-column:1}.previsit-order-assistant input{height:36px!important;font-size:9px!important}.previsit-order-assistant>button{width:auto!important;height:36px!important;padding:0 8px!important;font-size:8px!important}.previsit-order-assistant-result{grid-column:1/-1}
  .previsit-order-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;margin:0!important;padding-top:7px!important}.previsit-order-heading>div:first-child small{display:none}.previsit-order-heading strong{font-size:10px}.previsit-order-mode-switch{justify-self:stretch}.previsit-order-mode-switch button{min-height:31px;padding:0 6px;font-size:8px}
}
@media(max-width:420px){
  .previsit-form.is-visit-active .previsit-cart-header{grid-template-columns:minmax(0,1fr) auto}.previsit-customer-code{padding:3px 6px;font-size:7px}.previsit-order-conditions>header>span{display:none}.previsit-order-conditions>header{grid-template-columns:1fr}.previsit-order-conditions .previsit-context-grid{gap:4px}.previsit-order-conditions .previsit-context-grid select{padding-inline:4px 15px;font-size:7px}.previsit-order-assistant{grid-template-columns:1fr 1fr!important}.previsit-order-assistant label{grid-column:1/-1}.previsit-order-assistant>button{width:100%!important;padding:0 5px!important;font-size:7px!important}.previsit-order-heading{grid-template-columns:1fr}.previsit-order-heading>div:first-child{display:none}
}

/* Third order-entry mode: compact product list with brand/group hierarchy. */
.previsit-product-list-view{display:grid;gap:10px;min-width:0}.previsit-product-list-view[hidden]{display:none!important}
.previsit-list-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d5e4de;border-radius:13px;background:#f7fbf9}.previsit-list-heading>div{display:grid;gap:3px}.previsit-list-heading strong{font-size:13px}.previsit-list-heading small{color:#6d7b76;font-size:8px}.previsit-list-heading label{width:min(330px,45%)}.previsit-list-heading input{width:100%;height:40px;box-sizing:border-box;border:1px solid #cadbd4;border-radius:9px;padding:0 10px;background:#fff;font:9px inherit}
.previsit-list-hierarchy{display:grid;gap:8px;padding:11px;border:1px solid #dbe7e2;border-radius:13px;background:#fff}.previsit-list-hierarchy>div{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:start;gap:8px}.previsit-list-hierarchy>div+div{padding-top:8px;border-top:1px solid #edf2f0}.previsit-list-hierarchy>div>strong{padding-top:7px;color:#40554e;font-size:9px}.previsit-list-hierarchy nav{display:flex;gap:5px;min-width:0;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}.previsit-list-hierarchy button{flex:none;min-height:31px;padding:0 10px;border:1px solid #d5e2dd;border-radius:999px;background:#f7faf9;color:#4d615a;font:800 8px inherit;white-space:nowrap;cursor:pointer}.previsit-list-hierarchy button.is-active{border-color:#176b54;background:#176b54;color:#fff}.previsit-list-hierarchy nav>span{padding:7px 3px;color:#84908c;font-size:8px}
.previsit-list-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-inline:3px}.previsit-list-meta strong{color:#176b54;font-size:10px}.previsit-list-meta>button{min-height:32px;padding:0 11px;border:1px solid #bad5cb;border-radius:999px;background:#fff;color:#496159;font:800 8px inherit;cursor:pointer}.previsit-list-meta>button.is-active{border-color:#176b54;background:#176b54;color:#fff}
.previsit-list-products{display:grid;gap:7px}.previsit-list-product{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(320px,1.6fr) minmax(190px,220px);align-items:center;gap:10px;padding:10px;border:1px solid #dce6e2;border-radius:12px;background:#fff;transition:border-color .15s,background .15s}.previsit-list-product.is-in-cart{border-color:#7cc7ad;background:#f6fcf9}.previsit-list-product.is-unavailable{opacity:.68}.previsit-list-product-copy{min-width:0;display:grid;gap:3px}.previsit-list-product-copy>small{color:#167456;font-size:8px;font-weight:800}.previsit-list-product-copy>strong{font-size:10px;line-height:1.7}.previsit-list-product-copy>span{overflow:hidden;color:#7b8782;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.previsit-list-product-copy>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}.previsit-list-product-copy>div b{padding:3px 6px;border-radius:999px;background:#f0f4f2;color:#5b6c66;font-size:7px}.previsit-list-product-copy>div b.is-stocked{background:#e5f5ee;color:#11684f}.previsit-list-product-copy>div b.is-empty{background:#f7ecea;color:#9d4137}
.previsit-list-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.previsit-list-prices>span{display:grid;align-content:center;gap:3px;min-height:53px;padding:6px;border-radius:8px;background:#f4f7f6}.previsit-list-prices>span.is-purchase{background:#eaf7f2}.previsit-list-prices small{color:#71807a;font-size:7px;line-height:1.5}.previsit-list-prices b{color:#263b34;font-size:8px;line-height:1.6}
.previsit-list-quantity{display:grid;gap:3px}.previsit-list-quantity>small{color:#6c7975;font-size:7px;font-weight:800;text-align:center}.previsit-list-unit-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:4px}.previsit-list-unit-row{display:grid;grid-template-columns:1fr;align-items:center;gap:2px;padding:3px;border:1px solid #cadbd4;border-radius:8px;background:#fff}.previsit-list-unit-row>span{display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0;padding-inline:2px}.previsit-list-unit-row>span b{overflow:hidden;color:#24483c;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.previsit-list-unit-row>span small{color:#778780;font-size:5px;white-space:nowrap}.previsit-list-unit-row>div{display:grid;grid-template-columns:26px minmax(30px,1fr) 26px;overflow:hidden;border:1px solid #d2dfda;border-radius:6px}.previsit-list-unit-row button{height:29px;border:0;background:#176b54;color:#fff;font:900 13px inherit;cursor:pointer}.previsit-list-unit-row button:disabled{background:#dfe8e4;color:#91a09a;cursor:not-allowed}.previsit-list-unit-row input{width:100%;height:29px;box-sizing:border-box;border:0;border-inline:1px solid #dbe5e1;background:#fff;color:#1f352e;text-align:center;font:900 9px inherit;-moz-appearance:textfield}.previsit-list-unit-row input:focus{outline:2px solid #48a88a;outline-offset:-2px}.previsit-list-unit-row input::-webkit-inner-spin-button{display:none}.previsit-list-quantity>em{color:#176b54;font:normal 7px inherit;text-align:center;line-height:1.5}.previsit-list-empty{display:grid;place-items:center;gap:4px;padding:28px;border:1px dashed #cad9d3;border-radius:12px;background:#fafcfb;color:#6c7974}.previsit-list-empty strong{font-size:10px}.previsit-list-empty span{font-size:8px}
.previsit-product-unit-grid{grid-area:button;display:grid;gap:3px;min-width:0;padding-top:3px;border-top:1px solid #edf2f0}.previsit-product-unit-grid>.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(82px,1fr))}.previsit-product-unit-grid>em{color:#176b54;font:normal 7px/1.5 inherit;text-align:center}.previsit-product-unit-grid .previsit-list-unit-row{min-width:0}
@media(max-width:900px){.previsit-list-product{grid-template-columns:minmax(180px,1fr) minmax(250px,1.35fr) minmax(180px,200px)}.previsit-list-prices b{font-size:7px}}
@media(max-width:680px){.previsit-list-heading{display:grid;align-items:stretch}.previsit-list-heading label{width:100%}.previsit-list-hierarchy>div{grid-template-columns:1fr;gap:3px}.previsit-list-hierarchy>div>strong{padding-top:0}.previsit-list-product{grid-template-columns:1fr;gap:5px;padding:7px}.previsit-list-prices{grid-template-columns:repeat(3,minmax(0,1fr))}.previsit-list-quantity{grid-template-columns:1fr;align-items:start}.previsit-list-quantity>small{padding-top:0;text-align:right}.previsit-list-quantity>.previsit-list-unit-rows,.previsit-list-quantity>em{grid-column:1}.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}}

/* Keep shared order controls fixed; only the selected order method scrolls below them. */
.previsit-form.is-visit-active .previsit-cart,.previsit-form.is-visit-active .previsit-workspace-main{overflow:visible}
@media(max-width:820px){.previsit-order-common{gap:6px;padding-bottom:6px}.previsit-product-unit-grid>.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(78px,1fr))}}

/* Customer-only sticky header: readable directly on the green surface. */
#previsitContextStatus{display:none!important}
.previsit-cart-header,.previsit-form.is-visit-active .previsit-cart-header{display:block;grid-template-columns:none}
.previsit-cart-header .previsit-customer-summary>.previsit-customer-header-copy{display:grid;gap:4px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important}
.previsit-cart-header .previsit-eyebrow{color:#bfe8d8!important}
.previsit-cart-header .previsit-customer-name-row h3{color:#fff!important;text-shadow:0 1px 1px #073e2f45}
.previsit-cart-header .previsit-customer-header-copy>p{color:#e9faf4!important}
.previsit-cart-header .previsit-customer-code{border-color:#ffffff52;background:#ffffff20;color:#fff!important}
.previsit-cart-header .previsit-customer-header-meta>span,.previsit-cart-header .previsit-customer-header-meta>a{border-color:#ffffff38;background:#ffffff18;color:#fff!important}
.previsit-cart-header .previsit-customer-header-meta small{color:#cdeade!important}
.previsit-cart-header .previsit-customer-header-meta b{color:#fff!important}
@media(max-width:820px){.previsit-form.is-visit-active .previsit-cart-header{display:block;padding:7px 10px}.previsit-cart-header .previsit-customer-summary>.previsit-customer-header-copy{gap:2px}}

/* Product-first ordering workspace: compact top controls and an off-canvas customer menu. */
.previsit-visit-menu-toggle,.previsit-visit-drawer-head,.previsit-visit-menu-backdrop{display:none}
.previsit-visit-rail-panel{display:grid;gap:12px;min-width:0}
.previsit-order-common{grid-template-columns:minmax(260px,.78fr) minmax(420px,1.22fr);align-items:center;gap:8px 12px;margin-bottom:10px;padding:8px;border:1px solid #d7e6e0;border-radius:14px;background:rgba(255,255,255,.98);box-shadow:0 8px 22px #163e3114;backdrop-filter:blur(10px)}
.previsit-order-common .previsit-order-heading{grid-column:1;margin:0;padding:0;border:0}.previsit-order-heading>div:first-child{display:none}.previsit-order-mode-switch{width:100%;box-sizing:border-box}.previsit-order-mode-switch button{flex:1;min-height:40px;font-size:10px}
.previsit-order-control-bar{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.previsit-order-context-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0}.previsit-order-context-summary>span{display:grid;gap:2px;min-width:0;padding:5px 7px;border-radius:9px;background:#f1f7f4}.previsit-order-context-summary small{color:#71817b;font-size:8px}.previsit-order-context-summary b{overflow:hidden;color:#24463b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.previsit-order-control-bar>div:last-child{display:flex;gap:5px}.previsit-order-control-bar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:0 10px;border:1px solid #bdd7cd;border-radius:10px;background:#fff;color:#17654e;font:900 9px inherit;white-space:nowrap;cursor:pointer}.previsit-order-control-bar button.is-active{border-color:#176b54;background:#176b54;color:#fff}.previsit-order-control-bar button>span{font-size:12px}
.previsit-order-common>.previsit-order-conditions,.previsit-order-common>.previsit-order-assistant{grid-column:1/-1;width:100%;box-sizing:border-box;margin:0}.previsit-order-common>[hidden],.previsit-catalog-filter-panel[hidden],.previsit-list-hierarchy[hidden]{display:none!important}.previsit-order-common.is-panel-open{box-shadow:0 14px 30px #12392d24}
.previsit-catalog-quickbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:end;gap:8px;padding:8px;border:1px solid #d8e6e0;border-radius:13px;background:#f7fbf9}.previsit-catalog-quickbar .previsit-search-field{display:grid;gap:4px;color:#53635d;font-size:9px;font-weight:900}.previsit-catalog-quickbar input{width:100%;height:44px;box-sizing:border-box;border:1px solid #c9dbd4;border-radius:10px;padding:0 12px;background:#fff;color:#21342d;font:11px inherit}.previsit-catalog-quickbar .previsit-catalog-meta{align-self:center;gap:6px}.previsit-catalog-quickbar .previsit-catalog-meta strong{font-size:11px}.previsit-catalog-quickbar button{min-height:40px;padding:0 11px;border:1px solid #bdd5cc;border-radius:10px;background:#fff;color:#17654e;font:900 9px inherit;white-space:nowrap;cursor:pointer}.previsit-catalog-quickbar button.is-active{border-color:#176b54;background:#176b54;color:#fff}.previsit-catalog-filter-panel{position:relative!important;top:auto!important;grid-template-columns:repeat(3,minmax(150px,1fr)) auto!important;z-index:5;padding:10px}.previsit-catalog-filter-panel label{font-size:9px}.previsit-catalog-filter-panel input,.previsit-catalog-filter-panel select{font-size:10px}
.previsit-catalog-filter-panel>#previsitTableMode{grid-column:1/-1;min-height:38px;border:1px solid #bdd5cc;border-radius:9px;background:#fff;color:#17654e;font:900 9px inherit;cursor:pointer}
.previsit-list-heading{align-items:center;padding:9px 11px}.previsit-list-heading-actions{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:7px;width:min(520px,62%)}.previsit-list-heading-actions label{width:auto}.previsit-list-heading-actions input{height:42px;font-size:11px}.previsit-list-heading-actions button{min-height:42px;padding:0 11px;border:1px solid #bdd5cc;border-radius:9px;background:#fff;color:#17654e;font:900 9px inherit;white-space:nowrap;cursor:pointer}.previsit-list-heading-actions button.is-active{border-color:#176b54;background:#176b54;color:#fff}.previsit-list-filter-summary{display:flex;align-items:center;gap:7px;min-height:30px;padding:4px 9px;border-radius:9px;background:#eef6f3;color:#3e5f54}.previsit-list-filter-summary span{font-size:8px}.previsit-list-filter-summary b{font-size:10px}.previsit-list-meta{padding:0 4px}
.previsit-list-product{gap:14px;padding:14px;border-radius:14px}.previsit-list-product-copy{gap:5px}.previsit-list-product-copy>small{font-size:10px}.previsit-list-product-copy>strong{font-size:13px;line-height:1.65}.previsit-list-product-copy>span{font-size:10px;line-height:1.6}.previsit-list-product-copy>div{gap:7px;margin-top:3px}.previsit-list-product-copy>div b{padding:5px 8px;font-size:10px}.previsit-list-prices{gap:7px}.previsit-list-prices>span{min-height:66px;padding:9px}.previsit-list-prices small{font-size:9px}.previsit-list-prices b{font-size:11px}.previsit-list-quantity>small{font-size:9px}.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:6px}.previsit-list-unit-row{gap:4px;padding:5px}.previsit-list-unit-row>span b{font-size:10px}.previsit-list-unit-row>span small{font-size:8px}.previsit-list-unit-row>div{grid-template-columns:34px minmax(42px,1fr) 34px}.previsit-list-unit-row button,.previsit-list-unit-row input{height:36px}.previsit-list-unit-row input{font-size:12px}.previsit-list-quantity>em,.previsit-product-unit-grid>em{font-size:9px}
.previsit-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:11px}.previsit-product-card{grid-template-columns:64px 1fr;gap:10px;padding:12px}.previsit-product-visual{width:64px;height:64px}.previsit-product-info{gap:4px}.previsit-product-info small{font-size:9px}.previsit-product-info strong{font-size:12px;line-height:1.65}.previsit-product-info span{font-size:9px;line-height:1.5}.previsit-product-facts{gap:6px}.previsit-product-facts span{padding:5px 8px;font-size:10px;font-weight:800}.previsit-product-price small{font-size:9px}.previsit-product-price b{font-size:11px}.previsit-product-price>.is-tax-inclusive em{font-size:8px}.previsit-product-unit-grid{gap:5px}.previsit-product-unit-grid>.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}

@media(max-width:1024px){
  .previsit-visit-shell{grid-template-columns:1fr;gap:7px}.previsit-workspace-main{grid-column:1;grid-row:2}.previsit-visit-rail{grid-column:1;grid-row:1;position:relative;top:auto;display:block;max-height:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.previsit-visit-rail.is-open{z-index:103}.previsit-visit-menu-toggle{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:44px;padding:5px 9px;border:1px solid #cfe0d9;border-radius:12px;background:#fff;color:#194c3c;text-align:right;cursor:pointer}.previsit-visit-menu-toggle>span:first-child{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e8f5ef;color:#12664e;font-size:16px}.previsit-visit-menu-toggle>span:nth-child(2){display:grid;gap:1px}.previsit-visit-menu-toggle small{color:#75857f;font-size:8px}.previsit-visit-menu-toggle b{font-size:11px}.previsit-visit-menu-toggle i{color:#176b54;font-size:20px;font-style:normal}.previsit-visit-rail-panel{position:fixed;top:0;right:0;bottom:0;z-index:102;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;width:min(340px,88vw);box-sizing:border-box;padding:14px;background:#fff;box-shadow:-18px 0 46px #092d2261;transform:translateX(110%);transition:transform .22s ease;overflow:hidden}.previsit-visit-rail.is-open .previsit-visit-rail-panel{transform:translateX(0)}.previsit-visit-drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #e2ebe7}.previsit-visit-drawer-head strong{font-size:14px}.previsit-visit-drawer-head button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:#eef5f2;color:#245247;font-size:22px;cursor:pointer}.previsit-visit-identity{display:flex!important}.previsit-rail-status{display:grid!important}.previsit-visit-rail nav{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;overflow-y:auto!important}.previsit-visit-rail nav button{width:100%!important;min-height:52px!important;grid-template-columns:34px minmax(0,1fr)!important;padding:7px 8px!important}.previsit-visit-rail nav button>span{width:32px;height:32px;font-size:15px}.previsit-visit-rail nav button>b{font-size:11px}.previsit-visit-rail nav button>small{font-size:8px}.previsit-visit-menu-backdrop{position:fixed;inset:0;z-index:101;display:block;border:0;background:#08291f80;backdrop-filter:blur(2px)}.previsit-visit-menu-backdrop[hidden]{display:none!important}body.previsit-visit-menu-open{overflow:hidden}
  .previsit-cart-header .previsit-customer-summary>.previsit-customer-header-copy{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);grid-template-areas:"eyebrow address" "name meta";align-items:center;gap:3px 12px}.previsit-cart-header .previsit-eyebrow{grid-area:eyebrow}.previsit-cart-header .previsit-customer-name-row{grid-area:name}.previsit-cart-header .previsit-customer-header-copy>p{grid-area:address}.previsit-cart-header .previsit-customer-header-meta{grid-area:meta;padding:0}.previsit-form.is-visit-active .previsit-cart-header{padding:8px 11px}
  .previsit-order-workspace{padding:8px}.previsit-order-common{grid-template-columns:minmax(240px,.72fr) minmax(390px,1.28fr);top:var(--previsit-order-sticky-top,0)}.previsit-order-mode-switch button{min-height:38px;padding:0 7px;font-size:9px}.previsit-order-context-summary>span{padding:4px 6px}.previsit-order-context-summary small{font-size:7px}.previsit-order-context-summary b{font-size:9px}.previsit-order-control-bar button{min-height:38px;padding:0 8px;font-size:8px}
  .previsit-list-heading>div:first-child{display:none}.previsit-list-heading-actions{width:100%}.previsit-list-product{grid-template-columns:minmax(0,1fr) minmax(270px,.9fr)}.previsit-list-quantity{grid-column:1/-1}.previsit-list-prices b{font-size:11px}.previsit-product-unit-grid>.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}
}
@media(max-width:700px){
  .previsit-cart-header .previsit-customer-summary>.previsit-customer-header-copy{grid-template-columns:1fr;grid-template-areas:"eyebrow" "name" "address" "meta"}.previsit-cart-header .previsit-customer-header-meta{overflow-x:auto}.previsit-order-common{grid-template-columns:1fr}.previsit-order-common .previsit-order-heading,.previsit-order-control-bar{grid-column:1}.previsit-order-control-bar{grid-template-columns:1fr}.previsit-order-control-bar>div:last-child{display:grid;grid-template-columns:1fr 1fr}.previsit-order-context-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.previsit-catalog-quickbar{grid-template-columns:minmax(0,1fr) auto}.previsit-catalog-quickbar .previsit-search-field>span{display:none}.previsit-catalog-quickbar .previsit-catalog-meta{grid-column:1/-1;grid-row:2;min-height:18px}.previsit-catalog-filter-panel{grid-template-columns:1fr 1fr!important}.previsit-catalog-filter-panel>button{grid-column:1/-1}.previsit-list-heading{display:grid}.previsit-list-heading-actions{width:100%;grid-template-columns:minmax(0,1fr) auto}.previsit-list-product{grid-template-columns:1fr}.previsit-list-quantity{grid-column:1}.previsit-catalog-grid{grid-template-columns:1fr}.previsit-product-info strong{font-size:13px}.previsit-product-info span{font-size:10px}
}
@media(max-width:430px){.previsit-order-context-summary{display:none}.previsit-catalog-quickbar>#previsitCatalogFilterToggle{grid-column:2;grid-row:1;align-self:end}.previsit-catalog-filter-panel{grid-template-columns:1fr!important}.previsit-list-heading-actions{grid-template-columns:minmax(0,1fr) auto}.previsit-list-heading-actions button{width:auto}.previsit-list-unit-rows,.previsit-product-unit-grid>.previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}}

.previsit-grouped-catalog-view{display:grid;gap:12px;min-width:0}.previsit-grouped-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.previsit-grouped-heading>div:first-child{display:grid;gap:3px}.previsit-grouped-heading strong{color:#153f34;font-size:17px}.previsit-grouped-heading small{color:#71817b;font-size:9px;line-height:1.7}.previsit-grouped-heading>div:last-child{display:flex;gap:7px}.previsit-grouped-heading button,.previsit-grouped-toolbar>button{min-height:40px;padding:0 12px;border:1px solid #a9cfc1;border-radius:11px;background:#fff;color:#176b54;font:900 9px inherit;cursor:pointer}.previsit-grouped-heading button:last-child,.previsit-grouped-toolbar>button.is-active{border-color:#176b54;background:#176b54;color:#fff}.previsit-grouped-toolbar{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(150px,.75fr)) auto;gap:8px;padding:10px;border:1px solid #c9ded6;border-radius:14px;background:#f4faf7}.previsit-grouped-toolbar label{display:grid;gap:4px;min-width:0;color:#65766f;font-size:8px;font-weight:800}.previsit-grouped-toolbar input,.previsit-grouped-toolbar select{width:100%;height:40px;box-sizing:border-box;border:1px solid #d4e2dd;border-radius:10px;background:#fff;padding-inline:10px;color:#213d34;font:700 10px inherit}.previsit-grouped-toolbar>button{align-self:end}.previsit-grouped-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#477064;font-size:9px}.previsit-grouped-meta strong{font-size:11px}.previsit-grouped-catalogs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;min-width:0}.previsit-grouped-card{display:grid;align-content:start;min-width:0;overflow:hidden;border:1px solid #bfd9d0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,74,57,.08)}.previsit-grouped-card>figure{display:grid;place-items:center;min-height:230px;margin:0;background:linear-gradient(145deg,#eff8f4,#fff)}.previsit-grouped-card>figure img{display:block;width:100%;height:260px;object-fit:contain}.previsit-grouped-card>figure span{color:#87958f;font-size:10px}.previsit-grouped-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-block:1px solid #e0ebe7}.previsit-grouped-card>header>div{display:grid;gap:3px;min-width:0}.previsit-grouped-card>header small{overflow:hidden;color:#548071;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.previsit-grouped-card>header strong{color:#183f34;font-size:13px;line-height:1.55}.previsit-grouped-card>header>b{flex:none;padding:5px 8px;border-radius:999px;background:#e5f3ee;color:#176b54;font-size:8px}.previsit-grouped-products{display:grid;gap:8px;padding:10px}.previsit-grouped-product{display:grid;gap:8px;min-width:0;padding:9px;border:1px solid #dce9e4;border-radius:12px;background:#fbfdfc}.previsit-grouped-product.is-in-cart{border-color:#3b9a7c;background:#f0faf6}.previsit-grouped-product>header{display:flex;align-items:start;justify-content:space-between;gap:10px}.previsit-grouped-product>header>span{display:grid;gap:2px;min-width:0}.previsit-grouped-product>header small{color:#4d7d6d;font-size:7px}.previsit-grouped-product>header strong{color:#203e35;font-size:10px;line-height:1.5}.previsit-grouped-product>header i{color:#73817c;font:normal 7px/1.6 inherit}.previsit-grouped-product>header>b{flex:none;color:#176b54;font-size:8px;white-space:nowrap}.previsit-grouped-product .previsit-product-unit-grid{gap:5px}.previsit-grouped-product .previsit-list-unit-row{min-width:0}.previsit-table-group-products{display:grid!important;gap:8px;width:100%;max-height:calc(100vh - 110px);overflow-y:auto;padding:3px}.previsit-table-group-products .previsit-grouped-product{background:#fff}.previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}

/* In grouped table mode the customer image owns the screen. Linked SKUs stay
   in a compact seller strip so several can be edited without scrolling. */
.previsit-table-overlay.is-grouped-catalog{grid-template-rows:minmax(0,1fr) minmax(178px,28vh)}
.previsit-table-overlay.is-grouped-catalog .previsit-table-customer>#previsitTableCustomer{position:relative;display:block;padding:0}
.previsit-table-overlay.is-grouped-catalog .previsit-table-hero{width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.previsit-table-overlay.is-grouped-catalog .previsit-table-hero img{width:100%;height:100%;object-fit:contain}
.previsit-table-overlay.is-grouped-catalog .previsit-table-customer-copy{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;max-width:min(72vw,560px);padding:6px 10px;border:1px solid #ffffffb8;border-radius:999px;background:#ffffffe8;box-shadow:0 7px 22px #123d3026;backdrop-filter:blur(5px)}
.previsit-table-overlay.is-grouped-catalog .previsit-table-customer-copy>small,.previsit-table-overlay.is-grouped-catalog .previsit-table-customer-copy>p{display:none}
.previsit-table-overlay.is-grouped-catalog .previsit-table-customer-copy h2{margin:0;overflow:hidden;font-size:10px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.previsit-table-overlay.is-grouped-catalog .previsit-table-seller{grid-template-rows:auto minmax(0,1fr);gap:4px;padding:5px max(7px,1.5vw) calc(6px + env(safe-area-inset-bottom,0px))}
#previsitTableSeller.is-grouped-products{display:block;min-height:0;padding:0;border:0;background:transparent;overflow:hidden}
.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products{display:grid!important;gap:3px;height:100%;max-height:none;box-sizing:border-box;overflow-y:auto;padding:1px;overscroll-behavior:contain}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product{grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);align-items:center;gap:6px;min-height:43px;padding:3px 5px;border-radius:8px}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header{align-items:center;gap:5px}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>span{gap:0}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header small{display:none}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;font-size:8px;line-height:1.4}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header i{overflow:hidden;font-size:6px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>b{font-size:7px}
.previsit-table-overlay.is-grouped-catalog .previsit-product-unit-grid{display:block;padding:0;border:0}
.previsit-table-overlay.is-grouped-catalog .previsit-product-unit-grid>em{display:none}
.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(67px,1fr));gap:3px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row{grid-template-columns:auto minmax(0,1fr);gap:2px;padding:2px;border-radius:6px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>span{display:block;padding:0 2px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>span b{font-size:6px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>span small{display:none}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>div{grid-template-columns:22px minmax(24px,1fr) 22px;border-radius:5px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row button,.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row input{height:25px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row button{font-size:11px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row input{font-size:8px}

@media(max-width:900px){.previsit-grouped-catalogs{grid-template-columns:1fr}.previsit-grouped-toolbar{grid-template-columns:1fr 1fr}.previsit-grouped-toolbar label:first-child{grid-column:1/-1}.previsit-grouped-card>figure img{height:min(44vh,360px)}}
@media(max-width:560px){.previsit-grouped-heading{align-items:stretch;display:grid}.previsit-grouped-heading>div:last-child{display:grid;grid-template-columns:1fr 1fr}.previsit-grouped-toolbar{grid-template-columns:1fr;padding:8px}.previsit-grouped-toolbar label:first-child{grid-column:auto}.previsit-grouped-toolbar>button{width:100%}.previsit-grouped-card>figure{min-height:180px}.previsit-grouped-card>figure img{height:220px}.previsit-grouped-product>header{display:grid}.previsit-grouped-product>header>b{white-space:normal}.previsit-grouped-product .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.previsit-table-overlay.is-grouped-catalog{grid-template-rows:minmax(0,1fr) minmax(185px,30vh)}.previsit-table-overlay.is-grouped-catalog .previsit-table-customer>#previsitTableCustomer{display:block;padding:0}.previsit-table-overlay.is-grouped-catalog .previsit-table-hero{width:100%;height:100%;border-radius:0}.previsit-table-overlay.is-grouped-catalog .previsit-table-customer-copy{right:8px;bottom:8px;max-width:78vw;padding:4px 8px}.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product{grid-template-columns:minmax(0,.8fr) minmax(205px,1.2fr);gap:3px;min-height:40px;padding:2px 3px}.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>b{display:none}.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:2px}.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>div{grid-template-columns:20px minmax(20px,1fr) 20px}.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row button,.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row input{height:23px}}

/* Size the seller strip from the number of linked products. Product text gets
   the full row and every allowed order unit stays visible beneath it. */
.previsit-table-overlay.is-grouped-catalog{grid-template-rows:minmax(0,1fr) var(--previsit-group-strip-height,178px)}
.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products{align-content:start;grid-auto-rows:max-content}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:start;gap:3px;min-height:0;padding:4px 6px}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header{grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:2px 7px;min-width:0}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>span{min-width:0}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:9px;line-height:1.45;white-space:normal}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header i{font-size:7px;line-height:1.4}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>b{display:block;grid-column:2;grid-row:1/3;font-size:7px;align-self:center}
.previsit-table-overlay.is-grouped-catalog .previsit-product-unit-grid{grid-column:1}
.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:3px}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row{grid-template-columns:auto minmax(0,1fr)}
.previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>span b{font-size:7px}

@media(max-width:560px){.previsit-table-overlay.is-grouped-catalog{grid-template-rows:minmax(0,1fr) var(--previsit-group-strip-height,178px)}.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:3px;padding:4px}.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header{display:grid;grid-template-columns:minmax(0,1fr) auto}.previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header>b{display:block}.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:2px}}

.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products{height:auto;max-height:100%}

/* Grouped catalogue pricing and Android system-navigation clearance. */
.previsit-grouped-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0}
.previsit-grouped-prices>span{display:grid;align-content:center;gap:2px;min-width:0;padding:5px 6px;border-radius:8px;background:#f0f5f3}
.previsit-grouped-prices>span.is-base{background:#e7f6f0}
.previsit-grouped-prices small{overflow:hidden;color:#687872;font-size:7px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.previsit-grouped-prices b{overflow:hidden;color:#244a3e;font-size:8px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}
.previsit-grouped-prices .is-base b{color:#0d684e}
.previsit-table-overlay.is-grouped-catalog .previsit-table-seller{padding-bottom:calc(6px + max(env(safe-area-inset-bottom,0px),var(--previsit-android-bottom-clearance,0px)))}
.previsit-table-overlay.is-grouped-catalog .previsit-table-group-products{padding:1px 1px calc(8px + var(--previsit-android-bottom-clearance,0px));scroll-padding-bottom:calc(8px + var(--previsit-android-bottom-clearance,0px))}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices{grid-column:1;gap:2px}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices>span{gap:0;padding:2px 4px;border-radius:5px}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices small{font-size:6px;line-height:1.3}
.previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices b{font-size:7px;line-height:1.3}

/* A one-SKU catalogue page still needs a complete seller card. Keep the three
   prices and every ordering unit above Android's system navigation area. */
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-table-seller{padding-top:7px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-table-group-products{align-content:start;padding-top:2px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-product{gap:7px;padding:8px 10px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-product>header strong{font-size:11px;-webkit-line-clamp:2}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-product>header i{font-size:8px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices{gap:5px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices>span{gap:2px;padding:6px 7px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices small{font-size:7px;white-space:normal}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices b{font-size:9px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:5px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-list-unit-row{padding:4px}
.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-list-unit-row button,.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-list-unit-row input{height:31px}

@media(max-width:560px){.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices{grid-template-columns:1fr 1fr}.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-grouped-prices .is-base{grid-column:1/-1}.previsit-table-overlay.is-grouped-catalog.is-single-grouped-product .previsit-table-group-products .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}}

/* The native container removes the actual Android system-bar insets from the
   WebView viewport. This small app-only gap keeps the fixed cart visually clear. */
html.negin-android-app{--previsit-native-bottom-inset:6px}
html.negin-android-app .previsit-mobile-dock{bottom:var(--previsit-native-bottom-inset)!important}
html.negin-android-app .previsit-order-workspace{padding-bottom:calc(112px + var(--previsit-native-bottom-inset))!important}
@media(max-width:560px){html.negin-android-app .previsit-order-workspace{padding-bottom:calc(105px + var(--previsit-native-bottom-inset))!important}}

/* Professional road-mark palette for the web workspace only. */
html.web-road-theme .previsit-panel{background:#f4f1e9}
html.web-road-theme .previsit-form.is-visit-active{background:radial-gradient(circle at 88% 1%,#fff4cf 0,transparent 24%),#f4f1e9}
html.web-road-theme .previsit-cart-header{border-color:#d4aa3e;background:linear-gradient(118deg,#0b0b0a 0,#26231e 58%,#4a3a1c 100%);box-shadow:0 16px 34px #17130b38,inset 0 1px #f5db7f55}
html.web-road-theme .previsit-cart-header:after{content:"";position:absolute;inset:0 18% auto;height:1px;background:linear-gradient(90deg,transparent,#f7df89,transparent);pointer-events:none}
html.web-road-theme .previsit-cart-header .previsit-eyebrow{color:#f0d67f!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-copy>p{color:#e9dfc6!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-meta small{color:#d7c792!important}
html.web-road-theme .previsit-cart-header .previsit-customer-code,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>span,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>a{border-color:#d6a73961;background:#ffffff0d}
html.web-road-theme .previsit-visit-rail{border-color:#d5bd72;background:linear-gradient(165deg,#fffdf8,#f1ead9);box-shadow:0 12px 30px #2d251319}
html.web-road-theme .previsit-identity-mark{clip-path:polygon(50% 0,94% 23%,84% 85%,50% 100%,16% 85%,6% 23%);border-radius:0;background:linear-gradient(145deg,#f8e39a,#bd8120 52%,#f1d374);color:#18130c;text-shadow:0 1px #fff9}
html.web-road-theme .previsit-visit-rail nav button:hover{border-color:#d8b34c;background:#fff8e8}
html.web-road-theme .previsit-visit-rail nav button.is-active{border-color:#cfa53e;background:linear-gradient(120deg,#25221d,#4a3b20);color:#ffe9a5;box-shadow:0 8px 20px #221b0d26}
html.web-road-theme .previsit-visit-rail nav button.is-active small{color:#d6c89f}
html.web-road-theme .previsit-visit-rail nav button>span{clip-path:polygon(50% 0,94% 23%,84% 85%,50% 100%,16% 85%,6% 23%);border-radius:0;background:linear-gradient(145deg,#f7e4a2,#c08724 52%,#f2d77d);color:#19150e;font-family:Arial,sans-serif;text-shadow:0 1px #fff8}
html.web-road-theme .previsit-visit-rail nav button.is-active>span{background:linear-gradient(145deg,#f8e29a,#b97c1a 55%,#efd071);color:#18140d;text-shadow:0 1px #fff8;filter:drop-shadow(0 3px 4px #0003)}
html.web-road-theme .previsit-rail-status{border:1px solid #dbc57d;background:linear-gradient(110deg,#fffdf7,#fff6d9)}
html.web-road-theme .previsit-order-workspace,html.web-road-theme .previsit-intelligence-panel{border-color:#d8c99f;background:#fffdf8;box-shadow:0 12px 30px #2b241314}
html.web-road-theme .previsit-order-common{border-bottom-color:#ddd0aa;background:#fffdf8;box-shadow:0 12px 18px #fffdf8ed}
html.web-road-theme .previsit-order-conditions{border-color:#d8c58c;background:#f8f3e6}
html.web-road-theme .previsit-order-conditions>header strong{color:#5f4818}
html.web-road-theme .previsit-order-conditions .previsit-context-grid select{border-color:#d7c89d;background:#fffdf8;color:#29231a}
html.web-road-theme .previsit-order-context-summary>span{border:1px solid #e3d7b5;background:#f7f2e5}
html.web-road-theme .previsit-order-context-summary small{color:#806f49}
html.web-road-theme .previsit-order-context-summary b{color:#30291b}
html.web-road-theme .previsit-order-control-bar button{border-color:#cdb66f;background:#fffdf8;color:#705016}
html.web-road-theme .previsit-order-control-bar button:hover{border-color:#b98620;background:#fff7df}
html.web-road-theme .previsit-order-control-bar button.is-active{border-color:#d5a532;background:linear-gradient(130deg,#171512,#3a3020);color:#f5dc88}
html.web-road-theme .previsit-order-mode-switch{border:1px solid #e0d3ad;background:#eee8d9}
html.web-road-theme .previsit-order-mode-switch button{color:#655b45}
html.web-road-theme .previsit-order-mode-switch button.is-active{background:linear-gradient(128deg,#171512,#342c20);color:#f4d77d;box-shadow:0 5px 16px #1b160b2b}
html.web-road-theme .previsit-order-assistant{border-color:#d8bf75!important;background:linear-gradient(135deg,#fff9e8,#fffdf8)!important}
html.web-road-theme .previsit-order-assistant strong{color:#654b16}
html.web-road-theme .previsit-order-assistant input{border-color:#d8c590;background:#fff}
html.web-road-theme .previsit-order-assistant input:focus{border-color:#bd8923;box-shadow:0 0 0 3px #d6a7392b}
html.web-road-theme .previsit-order-assistant>button{background:linear-gradient(130deg,#171512,#3b3120);color:#f5dc88}
html.web-road-theme .previsit-catalog-quickbar{border-color:#d8c99e;background:#f8f3e7}
html.web-road-theme .previsit-catalog-quickbar input{border-color:#d9ca9e;background:#fffdf9}
html.web-road-theme .previsit-catalog-quickbar button,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode{border-color:#cdb66f;background:#fffdf8;color:#765619}
html.web-road-theme .previsit-catalog-quickbar button.is-active,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode.is-active{border-color:#d2a139;background:#28241d;color:#f4d77d}
html.web-road-theme .previsit-list-product{border-color:#dfd3b2;background:#fffdf9}
html.web-road-theme .previsit-list-product:hover{border-color:#d4b352;box-shadow:0 8px 22px #31281512}
html.web-road-theme .previsit-list-product.is-in-cart{border-color:#c9992e;background:#fff9e8;box-shadow:inset -3px 0 #d6a739}
html.web-road-theme .previsit-list-product-copy>small{color:#8b6418}
html.web-road-theme .previsit-list-product-copy>div b.is-stocked{background:#f5ead0;color:#6f5117}
html.web-road-theme .previsit-list-prices>span,html.web-road-theme .previsit-grouped-prices>span{border-color:#e3d8b7;background:#f7f3e9}
html.web-road-theme .previsit-list-prices .is-base,html.web-road-theme .previsit-grouped-prices .is-base{background:#fff3cf;color:#5f4715}
html.web-road-theme .previsit-list-unit-row{border-color:#d9cba2;background:#f8f4e9}
html.web-road-theme .previsit-list-unit-row button,html.web-road-theme .previsit-product-stepper button{background:#27231c;color:#f4d77d}
html.web-road-theme .previsit-list-unit-row button:disabled,html.web-road-theme .previsit-product-stepper button:disabled{background:#e4dfd2;color:#9b947f}
html.web-road-theme .previsit-product-stepper{border-color:#d1bb78;background:#f8f2e1}
html.web-road-theme .previsit-product-stepper button.is-minus{border-left-color:#d1bb78;background:#eee5cc;color:#745317}
html.web-road-theme .previsit-product-stepper output{color:#6b4d16}
html.web-road-theme .previsit-preview-button{border:1px solid #e0b84c!important;background:linear-gradient(128deg,#131210,#3a301f)!important;color:#f7dc83!important;box-shadow:0 8px 22px #17130b2f}
html.web-road-theme .previsit-preview-button:hover{background:linear-gradient(128deg,#27231c,#57441f)!important}
html.web-road-theme .previsit-invoice-head{background:#302a20;color:#f5e3ad}
html.web-road-theme .previsit-invoice-head small{color:#d2c29a}
html.web-road-theme .previsit-invoice-scroll{border-color:#d4c18a;background:#fffdf8}
html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){background:#faf6ec}
html.web-road-theme .previsit-invoice-totals{border-top-color:#c99a2d;background:#f6edd6;color:#493915}
html.web-road-theme .previsit-invoice-totals.is-official{border-top-color:#d6a739;background:#fff0bf;color:#4e3b10}
html.web-road-theme .previsit-invoice-unit-editor{border-color:#cdb66f!important}
html.web-road-theme .previsit-invoice-unit-editor button{background:#27231c!important;color:#f2d476!important}
html.web-road-theme .previsit-save-request-bar{border-color:#d6bd72;background:linear-gradient(135deg,#f9f1dc,#fffdf8)}
html.web-road-theme .previsit-invoice-save-request{background:linear-gradient(128deg,#15130f,#3a3020)!important;color:#f5dc88!important;box-shadow:0 7px 20px #17130b30!important}
html.web-road-theme .previsit-invoice-save-request>small{color:#dccb9d!important}
html.web-road-theme .previsit-order-actions>button:not(.dialog-secondary){background:linear-gradient(128deg,#171512,#3b3120);color:#f5dc88}
html.web-road-theme .previsit-order-actions .dialog-secondary{border-color:#cdb66f;background:#fffdf8;color:#735317}
html.web-road-theme .previsit-visit-menu-toggle{border-color:#d7c68f!important;background:linear-gradient(120deg,#fff,#fbf5e5)!important;color:#5f4716!important}
html.web-road-theme .previsit-visit-menu-toggle>span:first-child{display:grid;place-items:center;width:30px;height:30px;clip-path:polygon(50% 0,94% 23%,84% 85%,50% 100%,16% 85%,6% 23%);background:linear-gradient(145deg,#f6df93,#b97918 55%,#efd172);color:#17130d}
html.web-road-theme .previsit-mobile-dock{border-color:#d3bb74!important;background:rgba(255,252,243,.97)!important;box-shadow:0 14px 42px #2a22134a!important}
html.web-road-theme .previsit-mobile-dock button.is-active{box-shadow:inset 0 0 0 1px #d1aa45;background:linear-gradient(130deg,#2b261d,#15130f)!important;color:#f4d77d!important}
html.web-road-theme .previsit-mobile-dock button>span:first-child{color:#a87518}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart{background:#f4ead0;color:#694c16}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart.is-active{background:linear-gradient(130deg,#2b261d,#15130f);color:#f4d77d}

/* Invoice quantities: keep the official base-unit total and expose its
   operational carton decomposition in three adjacent columns. */
.previsit-invoice-scroll{--invoice-cols:34px 110px 100px 90px 90px 90px 100px 100px 100px 98px 76px 76px 90px 90px minmax(250px,2fr)!important;--invoice-areas:"remove net tax cash volume goods gross consumer producer unit quantity units-per-carton remainder carton product"!important}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines,.previsit-invoice-totals{width:max(100%,1530px)!important;min-width:1530px!important}
.previsit-invoice-head>span:nth-child(1){grid-area:product!important}
.previsit-invoice-head>span:nth-child(2){grid-area:quantity!important}
.previsit-invoice-head>span:nth-child(3){grid-area:carton!important}
.previsit-invoice-head>span:nth-child(4){grid-area:remainder!important}
.previsit-invoice-head>span:nth-child(5){grid-area:units-per-carton!important}
.previsit-invoice-head>span:nth-child(6){grid-area:unit!important}
.previsit-invoice-head>span:nth-child(7){grid-area:producer!important}
.previsit-invoice-head>span:nth-child(8){grid-area:consumer!important}
.previsit-invoice-head>span:nth-child(9){grid-area:gross!important}
.previsit-invoice-head>span:nth-child(10){grid-area:goods!important}
.previsit-invoice-head>span:nth-child(11){grid-area:volume!important}
.previsit-invoice-head>span:nth-child(12){grid-area:cash!important}
.previsit-invoice-head>span:nth-child(13){grid-area:tax!important}
.previsit-invoice-head>span:nth-child(14){grid-area:net!important}
.previsit-invoice-head>span:nth-child(15){grid-area:remove!important}
.previsit-invoice-unit-cell{grid-row:1;display:grid;place-items:center;min-height:50px;padding:5px;border-left:1px solid #e1e8e5;text-align:center;direction:rtl}
.previsit-invoice-unit-cell output{color:#234a3d;font-size:9px!important;font-weight:900}
.previsit-invoice-unit-editor{display:flex!important;align-items:stretch!important;width:100%!important;min-width:0!important;height:32px!important;box-sizing:border-box!important;overflow:hidden!important;border:1px solid #b8d5ca!important;border-radius:8px!important;background:#fff!important;direction:ltr!important}
.previsit-invoice-unit-editor button{position:static!important;inset:auto!important;display:flex!important;flex:0 0 24px!important;align-items:center!important;justify-content:center!important;width:24px!important;min-width:24px!important;max-width:24px!important;height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#147b60!important;color:#fff!important;font-size:14px!important;font-weight:900;line-height:1!important;box-shadow:none!important;transform:none!important;touch-action:manipulation}
.previsit-invoice-unit-editor button:disabled{background:#dfe9e5!important;color:#8da39b!important}
.previsit-invoice-unit-editor button svg{display:block!important;width:12px!important;height:12px!important;overflow:visible;fill:currentColor!important;pointer-events:none}
.previsit-invoice-unit-editor input{position:static!important;display:block!important;flex:1 1 0!important;width:calc(100% - 48px)!important;min-width:0!important;max-width:calc(100% - 48px)!important;height:30px!important;margin:0!important;padding:1px 2px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#163c31!important;text-align:center!important;font-size:11px!important;font-weight:900;line-height:1!important;box-shadow:none!important;direction:ltr!important;appearance:textfield!important;-webkit-appearance:none!important}
.previsit-invoice-unit-editor input:focus{outline:2px solid #5db99d!important;outline-offset:-2px}
.previsit-line-quantity input[readonly]{background:#edf3f0!important;color:#244b3e!important;font-weight:900;cursor:default;pointer-events:none}
.previsit-invoice-unit-cell.is-carton{grid-area:carton}
.previsit-invoice-unit-cell.is-remainder{grid-area:remainder}
.previsit-invoice-unit-cell.is-units-per-carton{grid-area:units-per-carton;background:#f0f7f4}
.previsit-gift-cell.is-carton{grid-area:carton}
.previsit-gift-cell.is-remainder{grid-area:remainder}
.previsit-gift-cell.is-units-per-carton{grid-area:units-per-carton}
.previsit-invoice-totals .is-carton{grid-area:carton}
.previsit-invoice-totals .is-remainder{grid-area:remainder}
.previsit-invoice-totals .is-units-per-carton{grid-area:units-per-carton}
@media(max-width:760px){.previsit-invoice-scroll{--invoice-cols:34px 105px 96px 86px 86px 86px 96px 92px 92px 94px 72px 72px 88px 88px minmax(230px,2fr)!important}.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines,.previsit-invoice-totals{width:1490px!important;min-width:1490px!important}}

/* Customer-scoped saved requests. The working cart remains separate and is
   cleared only after the saved-request API has committed successfully. */
.previsit-save-request-bar{display:grid;grid-template-columns:minmax(180px,320px) minmax(0,1fr);align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid #a9d2c2;border-radius:13px;background:linear-gradient(135deg,#e9f7f1,#f8fcfa)}
.previsit-save-request-bar>small{color:#536a62;font-size:8px;line-height:1.8}
.previsit-invoice-save-request{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-areas:"icon title" "icon note"!important;align-items:center!important;width:100%!important;min-height:54px!important;padding:8px 10px!important;border:0!important;border-radius:11px!important;background:#147b60!important;color:#fff!important;text-align:right!important;cursor:pointer!important;box-shadow:0 5px 14px #0c61491f!important}
.previsit-invoice-save-request>span{grid-area:icon;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#ffffff26;font-size:17px;font-weight:900}
.previsit-invoice-save-request>b{grid-area:title;font-size:10px}.previsit-invoice-save-request>small{grid-area:note;color:#d9f2e9!important;font-size:7px!important}.previsit-invoice-save-request:disabled{cursor:wait!important;opacity:.7}
.previsit-saved-requests{display:grid;gap:12px}.previsit-saved-requests>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #d8e7e1;border-radius:13px;background:linear-gradient(135deg,#eff9f5,#fff)}.previsit-saved-requests>header>div{display:grid;gap:4px}.previsit-saved-requests>header strong{color:#155f49;font-size:13px}.previsit-saved-requests>header small{color:#687972;font-size:8px}.previsit-saved-requests>header>b{padding:5px 9px;border-radius:999px;background:#dff2ea;color:#12664f;font-size:8px;white-space:nowrap}
.previsit-saved-request-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:9px}.previsit-saved-request-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #d7e5df;border-radius:13px;background:#fff;box-shadow:0 4px 14px #1d5f4a0b}.previsit-saved-request-list>article>div{display:grid;gap:3px}.previsit-saved-request-list>article>div small{color:#72817b;font-size:7px}.previsit-saved-request-list>article>div strong{color:#12684f;font-size:17px}.previsit-saved-request-list>article>div span{color:#455d55;font-size:8px;font-weight:800}.previsit-saved-request-list dl{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}.previsit-saved-request-list dl>div{display:grid;gap:2px;padding:7px;border-radius:8px;background:#f3f7f5}.previsit-saved-request-list dt{color:#77847f;font-size:7px}.previsit-saved-request-list dd{margin:0;overflow:hidden;color:#2c493f;font-size:8px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.previsit-saved-request-list button{grid-column:1/-1;min-height:36px;border:1px solid #afd4c5;border-radius:9px;background:#eaf7f2;color:#12684f;font:800 9px inherit;cursor:pointer}
.previsit-saved-request-detail{display:grid;gap:10px}.previsit-saved-request-actions{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap}.previsit-saved-request-actions button{min-height:37px;padding:0 12px;border:1px solid #bad6cb;border-radius:9px;background:#fff;color:#17684f;font:800 9px inherit;cursor:pointer}.previsit-saved-request-actions button[data-previsit-saved-request-edit]{background:#147b60;color:#fff}.previsit-saved-request-actions button[data-previsit-saved-request-pdf]{background:#246f98;color:#fff}
.previsit-saved-request-review{display:grid;gap:12px}.previsit-saved-request-review[hidden]{display:none!important}.previsit-saved-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #cfe2da;border-radius:13px;background:linear-gradient(135deg,#edf8f3,#fff)}.previsit-saved-review-heading>div:first-child{display:grid;gap:3px}.previsit-saved-review-heading small{color:#687a73;font-size:8px}.previsit-saved-review-heading strong{color:#12664f;font-size:14px}
.previsit-saved-invoice{display:grid;gap:12px;padding:14px;border:1px solid #cfe1da;border-radius:14px;background:#fff}.previsit-saved-invoice>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.previsit-saved-invoice>header>div{display:grid;gap:3px}.previsit-saved-invoice>header small{color:#71807a;font-size:8px}.previsit-saved-invoice>header strong{color:#155f49;font-size:15px}.previsit-saved-invoice dl{display:flex;flex-wrap:wrap;gap:7px;margin:0}.previsit-saved-invoice dl>div{display:grid;gap:2px;min-width:110px;padding:7px 9px;border-radius:8px;background:#f0f6f3}.previsit-saved-invoice dt{color:#71807a;font-size:7px}.previsit-saved-invoice dd{margin:0;color:#28473d;font-size:8px;font-weight:800}.previsit-saved-invoice-scroll{max-width:100%;overflow-x:auto;border:1px solid #d9e5e0;border-radius:10px;-webkit-overflow-scrolling:touch}.previsit-saved-invoice table{width:100%;min-width:1540px;border-collapse:collapse;font-size:8px}.previsit-saved-invoice th,.previsit-saved-invoice td{padding:8px;border-left:1px solid #dbe6e2;border-bottom:1px solid #dbe6e2;text-align:center;white-space:nowrap}.previsit-saved-invoice th:first-child,.previsit-saved-invoice td:first-child{min-width:235px;text-align:right;white-space:normal}.previsit-saved-invoice td:first-child strong,.previsit-saved-invoice td:first-child small{display:block}.previsit-saved-invoice td:first-child small,.previsit-saved-invoice td.is-discount small{margin-top:3px;color:#72827c;font-size:7px}.previsit-saved-invoice td.is-discount b{display:block;color:#176c53}.previsit-saved-invoice thead th,.previsit-saved-invoice tfoot th,.previsit-saved-invoice tfoot td{background:#eaf4f0;color:#234b3e;font-weight:900}.previsit-saved-invoice tbody tr:nth-child(even){background:#f9fbfa}.previsit-saved-invoice tbody tr.is-gift{background:#eef9f4}.previsit-saved-invoice tbody tr.is-gift td:first-child strong{color:#0c7657}
@media(max-width:760px){.previsit-save-request-bar{grid-template-columns:1fr}.previsit-save-request-bar>small{text-align:center}.previsit-saved-request-list{grid-template-columns:1fr}.previsit-saved-invoice{padding:9px}.previsit-saved-invoice>header{flex-direction:column}.previsit-saved-invoice dl{width:100%}.previsit-saved-invoice dl>div{flex:1 1 100px}.previsit-saved-review-heading{align-items:stretch;flex-direction:column}.previsit-saved-request-actions{display:grid;grid-template-columns:1fr 1fr}.previsit-saved-request-actions button:first-child{grid-column:1/-1}}

/* Refined web workspace: logo influence without turning the work area black/gold. */
html.web-road-theme .previsit-panel,html.web-road-theme .previsit-form.is-visit-active{background:#f5f6f4}
html.web-road-theme .previsit-cart-header{border:1px solid #d9dad5;border-right:4px solid #c49a35;background:linear-gradient(112deg,#fff,#f8f7f2);color:#242520;box-shadow:0 6px 20px #25211912,inset 0 1px #fff}
html.web-road-theme .previsit-cart-header:after{inset:0 24px auto;width:72px;background:#c49a35}
html.web-road-theme .previsit-cart-header .previsit-eyebrow{color:#81631c!important}
html.web-road-theme .previsit-cart-header .previsit-customer-name-row h3{color:#242520!important;text-shadow:none}
html.web-road-theme .previsit-cart-header .previsit-customer-header-copy>p{color:#666761!important}
html.web-road-theme .previsit-cart-header .previsit-customer-code,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>span,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>a{border-color:#dedfd9;background:#f2f3f0;color:#34352f!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-meta small{color:#777872!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-meta b{color:#34352f!important}
html.web-road-theme .previsit-visit-rail{border-color:#dcddd8;background:#fff;box-shadow:0 6px 20px #2521190d}
html.web-road-theme .previsit-visit-rail nav button:hover{border-color:#d0c49f;background:#f8f7f2}
html.web-road-theme .previsit-visit-rail nav button.is-active{border-color:#c49a35;background:#2c2d28;color:#fff;box-shadow:0 5px 14px #20211d1d}
html.web-road-theme .previsit-visit-rail nav button.is-active small{color:#d2d1ca}
html.web-road-theme .previsit-visit-rail nav button.is-active>span{background:#f0e3bd;color:#6a5118;filter:none}
html.web-road-theme .previsit-rail-status{border-color:#dedfd9;background:#f7f7f4}
html.web-road-theme .previsit-order-workspace,html.web-road-theme .previsit-intelligence-panel{border-color:#dcddd8;background:#fff;box-shadow:0 6px 20px #2521190d}
html.web-road-theme .previsit-order-common{border-bottom-color:#e3e3de;background:#fff;box-shadow:0 10px 16px #ffffffed}
html.web-road-theme .previsit-order-conditions{border-color:#dcddd8;background:#f7f8f6}
html.web-road-theme .previsit-order-conditions>header strong{color:#34352f}
html.web-road-theme .previsit-order-conditions .previsit-context-grid select{border-color:#d5d6d1;background:#fff;color:#34352f}
html.web-road-theme .previsit-order-context-summary>span{border:0;background:#f1f2ef}
html.web-road-theme .previsit-order-context-summary small{color:#777872}
html.web-road-theme .previsit-order-context-summary b{color:#34352f}
html.web-road-theme .previsit-order-control-bar button{border-color:#d3d4cf;background:#fff;color:#45463f}
html.web-road-theme .previsit-order-control-bar button:hover{border-color:#bdaa74;background:#f8f6ef}
html.web-road-theme .previsit-order-control-bar button.is-active{border-color:#2c2d28;background:#2c2d28;color:#fff}
html.web-road-theme .previsit-order-mode-switch{border:0;background:#eef0ec}
html.web-road-theme .previsit-order-mode-switch button{color:#656660}
html.web-road-theme .previsit-order-mode-switch button.is-active{background:#2c2d28;color:#fff;box-shadow:0 4px 12px #20211d1c}
html.web-road-theme .previsit-order-assistant{border-color:#dcddd8!important;background:#f7f8f6!important}
html.web-road-theme .previsit-order-assistant strong{color:#34352f}
html.web-road-theme .previsit-order-assistant input{border-color:#d3d4cf;background:#fff}
html.web-road-theme .previsit-order-assistant input:focus{border-color:#b89439;box-shadow:0 0 0 3px #c49a351f}
html.web-road-theme .previsit-order-assistant>button{background:#2c2d28;color:#fff}
html.web-road-theme .previsit-catalog-quickbar,html.web-road-theme .previsit-list-heading{border-color:#dcddd8;background:#f7f8f6}
html.web-road-theme .previsit-catalog-quickbar input,html.web-road-theme .previsit-list-heading input{border-color:#d3d4cf;background:#fff}
html.web-road-theme .previsit-catalog-quickbar button,html.web-road-theme .previsit-list-heading-actions button,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode{border-color:#d3d4cf;background:#fff;color:#45463f}
html.web-road-theme .previsit-catalog-quickbar button.is-active,html.web-road-theme .previsit-list-heading-actions button.is-active,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode.is-active{border-color:#2c2d28;background:#2c2d28;color:#fff}
html.web-road-theme .previsit-list-filter-summary{background:#f0f1ee;color:#5d5e58}
html.web-road-theme .previsit-list-meta strong{color:#595a54}
html.web-road-theme .previsit-list-meta>button{border-color:#d0d1cc;background:#fff;color:#4d4e48}
html.web-road-theme .previsit-list-meta>button.is-active{border-color:#2c2d28;background:#2c2d28;color:#fff}
html.web-road-theme .previsit-list-hierarchy{border-color:#dcddd8;background:#fff}
html.web-road-theme .previsit-list-hierarchy button{border-color:#d8d9d4;background:#f7f8f6;color:#555650}
html.web-road-theme .previsit-list-hierarchy button.is-active{border-color:#2c2d28;background:#2c2d28;color:#fff}
html.web-road-theme .previsit-list-product{border-color:#dcddd8;background:#fff}
html.web-road-theme .previsit-list-product:hover{border-color:#cbb777;box-shadow:0 6px 18px #2521190d}
html.web-road-theme .previsit-list-product.is-in-cart{border-color:#c49a35;background:#fbfaf6;box-shadow:inset -3px 0 #c49a35}
html.web-road-theme .previsit-list-product-copy>small{color:#756025}
html.web-road-theme .previsit-list-product-copy>div b.is-stocked{background:#eff0ed;color:#4e5049}
html.web-road-theme .previsit-list-prices>span,html.web-road-theme .previsit-grouped-prices>span{border-color:#e2e2dd;background:#f5f6f3}
html.web-road-theme .previsit-list-prices .is-base,html.web-road-theme .previsit-grouped-prices .is-base{background:#f7f1df;color:#5e4b1e}
html.web-road-theme .previsit-list-unit-row{border-color:#d8d9d4;background:#f7f8f6}
html.web-road-theme .previsit-list-unit-row button,html.web-road-theme .previsit-product-stepper button{background:#2c2d28;color:#fff}
html.web-road-theme .previsit-product-stepper{border-color:#d3d4cf;background:#f5f6f3}
html.web-road-theme .previsit-product-stepper button.is-minus{border-left-color:#d3d4cf;background:#e8e9e5;color:#4a4b45}
html.web-road-theme .previsit-product-stepper output{color:#34352f}
html.web-road-theme .previsit-preview-button{border:0!important;background:#2c2d28!important;color:#fff!important;box-shadow:0 6px 16px #20211d1e}
html.web-road-theme .previsit-preview-button:hover{background:#171814!important}
html.web-road-theme .previsit-invoice-head{background:#353630;color:#fff}
html.web-road-theme .previsit-invoice-head small{color:#d0d1ca}
html.web-road-theme .previsit-invoice-scroll{border-color:#d5d6d1;background:#fff}
html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){background:#f8f9f7}
html.web-road-theme .previsit-invoice-totals{border-top-color:#c49a35;background:#f4f2eb;color:#393a34}
html.web-road-theme .previsit-invoice-totals.is-official{border-top-color:#c49a35;background:#f7f1df;color:#483a18}
html.web-road-theme .previsit-save-request-bar{border-color:#d8d9d4;background:#f7f8f6}
html.web-road-theme .previsit-invoice-save-request{background:#2c2d28!important;color:#fff!important;box-shadow:0 5px 14px #20211d1e!important}
html.web-road-theme .previsit-invoice-save-request>small{color:#d2d3ce!important}
html.web-road-theme .previsit-order-actions>button:not(.dialog-secondary){background:#2c2d28;color:#fff}
html.web-road-theme .previsit-order-actions .dialog-secondary{border-color:#d3d4cf;background:#fff;color:#45463f}
html.web-road-theme .previsit-visit-menu-toggle{border-color:#dcddd8!important;background:#fff!important;color:#34352f!important}
html.web-road-theme .previsit-visit-menu-toggle>span:first-child{background:#f0e3bd;color:#6b5218}
html.web-road-theme .previsit-mobile-dock{border-color:#d6d7d2!important;background:rgba(255,255,255,.98)!important;box-shadow:0 12px 34px #20211d2b!important}
html.web-road-theme .previsit-mobile-dock button.is-active,html.web-road-theme .previsit-mobile-dock .previsit-dock-cart.is-active{background:#2c2d28!important;color:#fff!important;box-shadow:none}
html.web-road-theme .previsit-mobile-dock button>span:first-child{color:#8b6a1b}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart{background:#f1f2ef;color:#474842}

/* Unified dark/gold ordering workspace shared by web and the Android WebView. */
html.web-road-theme .previsit-panel{background:var(--road-bg)!important;color:var(--road-text)}
html.web-road-theme .previsit-form.is-visit-active{background:radial-gradient(circle at 82% 0,#33281555 0,transparent 25%),var(--road-bg)}
html.web-road-theme .previsit-form.is-visit-active .previsit-cart{background:transparent}
html.web-road-theme .previsit-cart-header{border-color:#6d5725;border-right-color:var(--road-gold);background:linear-gradient(120deg,#24221b,#11120f 68%,#0b0c0a);color:var(--road-text);box-shadow:0 12px 32px #0008,inset 0 1px #f1d77f1f}
html.web-road-theme .previsit-cart-header:after{background:var(--road-gold)}
html.web-road-theme .previsit-cart-header .previsit-eyebrow{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-cart-header .previsit-customer-name-row h3{color:var(--road-text)!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-copy>p{color:#c5c1b6!important}
html.web-road-theme .previsit-cart-header .previsit-customer-code,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>span,html.web-road-theme .previsit-cart-header .previsit-customer-header-meta>a{border-color:#5d5133;background:#ffffff0b;color:var(--road-text)!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-meta small{color:#aaa79d!important}
html.web-road-theme .previsit-cart-header .previsit-customer-header-meta b{color:var(--road-text)!important}
html.web-road-theme .previsit-visit-rail,html.web-road-theme .previsit-order-workspace,html.web-road-theme .previsit-intelligence-panel{border-color:var(--road-line);background:var(--road-card);color:var(--road-text);box-shadow:0 10px 28px #0006}
html.web-road-theme .previsit-visit-identity{border-bottom-color:var(--road-line)}
html.web-road-theme .previsit-visit-identity small,html.web-road-theme .previsit-visit-rail nav button>small{color:var(--road-muted)}
html.web-road-theme .previsit-identity-mark,html.web-road-theme .previsit-visit-rail nav button>span{background:#2b281f;color:var(--road-gold-high)}
html.web-road-theme .previsit-visit-rail nav button{color:#dedad0}
html.web-road-theme .previsit-visit-rail nav button:hover{border-color:#65552d;background:#25251f}
html.web-road-theme .previsit-visit-rail nav button.is-active{border-color:var(--road-gold);background:#2a261b;color:var(--road-gold-high);box-shadow:inset -3px 0 var(--road-gold)}
html.web-road-theme .previsit-visit-rail nav button.is-active>span{background:var(--road-gold);color:#10110e}
html.web-road-theme .previsit-rail-status{border-color:var(--road-line);background:#20211c;color:#d8d3c7}
html.web-road-theme .previsit-rail-status small{color:var(--road-muted)}
html.web-road-theme .previsit-order-common{border-bottom-color:var(--road-line);background:var(--road-card);box-shadow:0 12px 18px #1b1c18ed}
html.web-road-theme .previsit-order-heading{border-top-color:var(--road-line)}
html.web-road-theme .previsit-order-heading small{color:var(--road-muted)}
html.web-road-theme .previsit-order-mode-switch{border:1px solid var(--road-line);background:#10110f}
html.web-road-theme .previsit-order-mode-switch button{color:#aaa79d}
html.web-road-theme .previsit-order-mode-switch button.is-active{background:var(--road-gold);color:#11120e;box-shadow:0 4px 14px #0006}
html.web-road-theme .previsit-order-context-summary>span{border:1px solid var(--road-line-soft);background:#22231e}
html.web-road-theme .previsit-order-context-summary small{color:var(--road-muted)}
html.web-road-theme .previsit-order-context-summary b{color:var(--road-text)}
html.web-road-theme .previsit-order-control-bar button{border-color:#4b4c43;background:#151613;color:#ddd8ca}
html.web-road-theme .previsit-order-control-bar button:hover{border-color:var(--road-gold-dim);background:#27271f}
html.web-road-theme .previsit-order-control-bar button.is-active{border-color:var(--road-gold);background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-order-conditions,html.web-road-theme .previsit-order-assistant,html.web-road-theme .previsit-quick-picker{border-color:var(--road-line)!important;background:#151613!important;color:var(--road-text)}
html.web-road-theme .previsit-order-conditions>header strong,html.web-road-theme .previsit-order-assistant strong{color:var(--road-gold-high)}
html.web-road-theme .previsit-order-conditions>header small,html.web-road-theme .previsit-order-assistant small,html.web-road-theme .previsit-quick-picker header small,html.web-road-theme .previsit-quick-picker label{color:var(--road-muted)}
html.web-road-theme .previsit-order-conditions .previsit-context-grid select,html.web-road-theme .previsit-order-assistant input,html.web-road-theme .previsit-quick-picker select,html.web-road-theme .previsit-quick-picker input{border-color:#41433c;background:#0d0e0c;color:var(--road-text)}
html.web-road-theme .previsit-order-assistant input:focus{border-color:var(--road-gold);box-shadow:0 0 0 3px #d4aa421a}
html.web-road-theme .previsit-order-assistant>button,html.web-road-theme .previsit-quick-picker>button{background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-content-heading{border-bottom-color:var(--road-line)}
html.web-road-theme .previsit-content-heading span{color:var(--road-gold-high)}
html.web-road-theme .previsit-content-heading p,html.web-road-theme .previsit-muted{color:var(--road-muted)}
html.web-road-theme .previsit-content-heading>b{background:#2b281f;color:var(--road-gold-high)}
html.web-road-theme .previsit-content-heading>button{border-color:var(--road-gold);background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-metric-card,html.web-road-theme .previsit-metric-card.is-finance,html.web-road-theme .previsit-metric-card.is-warning,html.web-road-theme .previsit-metric-card.is-good,html.web-road-theme .previsit-open-invoice-list article,html.web-road-theme .previsit-history-compare article,html.web-road-theme .previsit-brand-interest,html.web-road-theme .previsit-profile-grid article{border-color:var(--road-line);background:#171815;color:var(--road-text)}
html.web-road-theme .previsit-metric-card.is-danger{border-color:#70413b;background:#241715}
html.web-road-theme .previsit-metric-card small,html.web-road-theme .previsit-metric-card span,html.web-road-theme .previsit-open-invoice-list small,html.web-road-theme .previsit-history-compare span,html.web-road-theme .previsit-history-compare small,html.web-road-theme .previsit-brand-interest header small,html.web-road-theme .previsit-profile-grid small{color:var(--road-muted)}
html.web-road-theme .previsit-metric-card strong,html.web-road-theme .previsit-history-compare strong{color:var(--road-text)}
html.web-road-theme .previsit-next-best-action{background:linear-gradient(120deg,#2b281f,#151613);color:var(--road-text)}
html.web-road-theme .previsit-next-best-action span{background:#d4aa4220;color:var(--road-gold-high)}
html.web-road-theme .previsit-next-best-action p{color:#d2cec2}
html.web-road-theme .previsit-brand-interest>div>span,html.web-road-theme .previsit-brand-interest.is-all>div>span{background:#27271f;color:#e5d7aa}
html.web-road-theme .previsit-catalog-quickbar,html.web-road-theme .previsit-list-heading,html.web-road-theme .previsit-list-filter-summary,html.web-road-theme .previsit-list-hierarchy,html.web-road-theme .previsit-grouped-toolbar{border-color:var(--road-line);background:#151613;color:var(--road-text)}
html.web-road-theme .previsit-catalog-quickbar input,html.web-road-theme .previsit-list-heading input,html.web-road-theme .previsit-catalog-filter-panel input,html.web-road-theme .previsit-catalog-filter-panel select,html.web-road-theme .previsit-grouped-toolbar input,html.web-road-theme .previsit-grouped-toolbar select{border-color:#41433c;background:#0d0e0c;color:var(--road-text)}
html.web-road-theme .previsit-catalog-quickbar button,html.web-road-theme .previsit-list-heading-actions button,html.web-road-theme .previsit-list-meta>button,html.web-road-theme .previsit-list-hierarchy button,html.web-road-theme .previsit-grouped-toolbar button,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode{border-color:#484940;background:#1c1d19;color:#ddd8ca}
html.web-road-theme .previsit-catalog-quickbar button.is-active,html.web-road-theme .previsit-list-heading-actions button.is-active,html.web-road-theme .previsit-list-meta>button.is-active,html.web-road-theme .previsit-list-hierarchy button.is-active,html.web-road-theme .previsit-grouped-toolbar button.is-active,html.web-road-theme .previsit-catalog-filter-panel>#previsitTableMode.is-active{border-color:var(--road-gold);background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-list-filter-summary{color:#b9b5aa}
html.web-road-theme .previsit-list-meta strong,html.web-road-theme .previsit-catalog-meta strong{color:var(--road-gold-high)}
html.web-road-theme .previsit-list-hierarchy>div+div{border-top-color:var(--road-line)}
html.web-road-theme .previsit-list-hierarchy>div>strong,html.web-road-theme .previsit-list-hierarchy nav>span{color:var(--road-muted)}
html.web-road-theme .previsit-list-product,html.web-road-theme .previsit-product-card,html.web-road-theme .previsit-grouped-card,html.web-road-theme .previsit-grouped-product{border-color:var(--road-line);background:var(--road-card);color:var(--road-text);box-shadow:0 6px 18px #0004}
html.web-road-theme .previsit-list-product:hover{border-color:var(--road-gold-dim);box-shadow:0 8px 24px #0007}
html.web-road-theme .previsit-list-product.is-in-cart,html.web-road-theme .previsit-product-card.is-in-cart{border-color:var(--road-gold);background:#222018;box-shadow:inset -3px 0 var(--road-gold)}
html.web-road-theme .previsit-list-product-copy>small,html.web-road-theme .previsit-product-info small{color:var(--road-gold-high)}
html.web-road-theme .previsit-list-product-copy>span,html.web-road-theme .previsit-product-info span{color:var(--road-muted)}
html.web-road-theme .previsit-list-product-copy>div b,html.web-road-theme .previsit-list-product-copy>div b.is-stocked,html.web-road-theme .previsit-product-facts span,html.web-road-theme .previsit-product-facts .is-stocked{background:#282923;color:#cbc7bb}
html.web-road-theme .previsit-list-prices>span,html.web-road-theme .previsit-grouped-prices>span{border-color:var(--road-line);background:#22231e;color:var(--road-text)}
html.web-road-theme .previsit-list-prices .is-base,html.web-road-theme .previsit-grouped-prices>span.is-base{background:#302a1c;color:var(--road-gold-high)}
html.web-road-theme .previsit-list-prices small,html.web-road-theme .previsit-grouped-prices small{color:var(--road-muted)}
html.web-road-theme .previsit-list-prices b,html.web-road-theme .previsit-grouped-prices b,html.web-road-theme .previsit-grouped-prices .is-base b{color:var(--road-text)}
html.web-road-theme .previsit-list-unit-row,html.web-road-theme .previsit-product-stepper{border-color:#44463f;background:#121310;color:var(--road-text)}
html.web-road-theme .previsit-list-unit-row>span b{color:var(--road-gold-high)}
html.web-road-theme .previsit-list-unit-row>span small,html.web-road-theme .previsit-list-quantity>small{color:var(--road-muted)}
html.web-road-theme .previsit-list-quantity>em,html.web-road-theme .previsit-product-unit-grid>em{color:var(--road-gold-high)}
html.web-road-theme .previsit-list-unit-row input,html.web-road-theme .previsit-product-stepper select{border-color:#44463f;background:#0c0d0b;color:var(--road-text)}
html.web-road-theme .previsit-list-unit-row button,html.web-road-theme .previsit-product-stepper button{background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-product-stepper button.is-minus{border-left-color:#44463f;background:#2b2c26;color:#d8d4c9}
html.web-road-theme .previsit-product-stepper output{color:var(--road-gold-high)}
html.web-road-theme .previsit-preview-button{border:1px solid var(--road-gold)!important;background:linear-gradient(135deg,#e0ba58,#b98c2e)!important;color:#11120e!important;box-shadow:0 8px 22px #0007}
html.web-road-theme .previsit-preview-button:hover{background:linear-gradient(135deg,#edcb73,#c79b38)!important}
html.web-road-theme .previsit-invoice-scroll{border-color:var(--road-line);background:#11120f;color:var(--road-text)}
html.web-road-theme .previsit-invoice-head{background:#2d2b23;color:var(--road-gold-high)}
html.web-road-theme .previsit-invoice-head small{color:#aaa79d}
html.web-road-theme .previsit-invoice-scroll .previsit-line,html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){border-color:var(--road-line);background:var(--road-card);color:var(--road-text)}
html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){background:#20211c}
html.web-road-theme .previsit-invoice-scroll .previsit-line-product,html.web-road-theme .previsit-invoice-scroll .previsit-line-breakdown>span,html.web-road-theme .previsit-invoice-scroll .previsit-line-discount-columns>span,html.web-road-theme .previsit-invoice-unit-cell{border-color:var(--road-line)}
html.web-road-theme .previsit-invoice-scroll .previsit-line-discount-columns output,html.web-road-theme .previsit-invoice-unit-cell output{color:var(--road-gold-high)}
html.web-road-theme .previsit-invoice-unit-editor{border-color:#5e5337!important;background:#0d0e0c!important}
html.web-road-theme .previsit-invoice-unit-editor button{background:var(--road-gold)!important;color:#11120e!important}
html.web-road-theme .previsit-invoice-unit-editor input{background:#0d0e0c!important;color:var(--road-text)!important}
html.web-road-theme .previsit-invoice-totals,html.web-road-theme .previsit-invoice-totals.is-official{border-top-color:var(--road-gold);background:#28251c;color:var(--road-text)}
html.web-road-theme .previsit-save-request-bar{border-color:var(--road-line);background:#171815}
html.web-road-theme .previsit-save-request-bar>small{color:var(--road-muted)}
html.web-road-theme .previsit-invoice-save-request{background:var(--road-gold)!important;color:#11120e!important;box-shadow:0 7px 20px #0007!important}
html.web-road-theme .previsit-invoice-save-request>small{color:#493a18!important}
html.web-road-theme .previsit-order-actions>button:not(.dialog-secondary){background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-order-actions .dialog-secondary{border-color:var(--road-line);background:#292a24;color:var(--road-text)}
html.web-road-theme .previsit-visit-menu-toggle{border-color:#5a4d2f!important;background:#171815!important;color:var(--road-text)!important;box-shadow:0 6px 18px #0005}
html.web-road-theme .previsit-visit-menu-toggle>span:first-child{background:var(--road-gold);color:#11120e}
html.web-road-theme .previsit-mobile-dock{border-color:#5a4d2f!important;background:rgba(20,21,18,.98)!important;box-shadow:0 14px 42px #000c!important}
html.web-road-theme .previsit-mobile-dock button{color:#c4c0b5}
html.web-road-theme .previsit-mobile-dock button.is-active,html.web-road-theme .previsit-mobile-dock .previsit-dock-cart.is-active{background:var(--road-gold)!important;color:#11120e!important;box-shadow:none}
html.web-road-theme .previsit-mobile-dock button>span:first-child{color:var(--road-gold-high)}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart{background:#24251f;color:#d8d4c9}

/* Compact web cart and high-contrast invoice surfaces. */
html.web-road-theme .previsit-cart-view .previsit-section-title{border:1px solid #4a4332!important;background:#1b1c18!important;color:var(--road-text)!important;box-shadow:none!important}
html.web-road-theme .previsit-cart-view .previsit-section-title strong{color:var(--road-text)!important}
html.web-road-theme .previsit-cart-view .previsit-section-title small{color:var(--road-muted)!important}
html.web-road-theme .previsit-cart-view .previsit-section-title>span{background:#302a1c!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-invoice-scroll{border-color:#51482f!important;background:#10110e!important}
html.web-road-theme .previsit-invoice-head{border-color:#51482f!important;background:#302a1c!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-invoice-head>span{border-color:#51482f!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line,html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){border-color:#48483f!important;background:#1b1c18!important;color:var(--road-text)!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line:nth-child(even){background:#22231e!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-product{border-color:#48483f!important;background:#171815!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-product strong{color:#fffdf5!important;font-size:10px!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-product small{color:#c2bdae!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-breakdown>span,html.web-road-theme .previsit-invoice-scroll .previsit-line-discount-columns>span,html.web-road-theme .previsit-invoice-unit-cell{border-color:#48483f!important;background:#22231e!important;color:var(--road-text)!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-breakdown>span small,html.web-road-theme .previsit-invoice-scroll .previsit-line-discount-columns>span small,html.web-road-theme .previsit-invoice-unit-cell small{color:var(--road-muted)!important}
html.web-road-theme .previsit-invoice-scroll output,html.web-road-theme .previsit-invoice-scroll b{color:#fffdf5!important}
html.web-road-theme .previsit-invoice-scroll .previsit-line-discount-columns output,html.web-road-theme .previsit-invoice-unit-cell output{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-invoice-totals,html.web-road-theme .previsit-invoice-totals.is-official{border-color:#5b4e2c!important;background:#2b271c!important;color:#fffdf5!important}
html.web-road-theme .previsit-invoice-scroll .previsit-gift-line{background:#23261e!important;box-shadow:inset 0 2px 0 var(--road-gold),inset 0 -1px 0 #4c4636!important}

html.web-road-theme .previsit-mobile-dock{right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;left:max(10px,env(safe-area-inset-left))!important;display:block!important;width:122px!important;height:auto!important;margin:0!important;padding:5px!important;border:1px solid #6a5728!important;border-radius:18px!important;transform:none!important;background:rgba(18,19,16,.97)!important;box-shadow:0 12px 34px #000b!important}
html.web-road-theme .previsit-mobile-dock [data-previsit-view="catalog"]{display:none!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:22px auto!important;gap:3px 5px!important;width:100%!important;min-height:88px!important;padding:8px!important;border-radius:13px!important;background:#24231d!important;color:var(--road-text)!important;text-align:right!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart.is-active{background:#2d291f!important;color:var(--road-text)!important;box-shadow:inset 0 0 0 1px var(--road-gold-dim)!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart>span:first-child{grid-column:1;grid-row:1;display:grid;place-items:center;color:var(--road-gold-high)!important;font-size:17px!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-cart>b{grid-column:2;grid-row:1;align-self:center;color:var(--road-gold-high)!important;font-size:10px!important;text-align:right!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:1fr!important;gap:4px!important;padding:5px 0 0!important;border:0!important;border-top:1px solid #51482f!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics>em{display:block!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics i{display:none!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics #previsitDockCount{display:block!important;padding:0!important;background:transparent!important;color:#d8d4c9!important;font-size:8px!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics>small{display:block!important;text-align:right!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics label{display:none!important}
html.web-road-theme .previsit-mobile-dock .previsit-dock-metrics strong{display:block;color:#fffdf5!important;font-size:9px!important;text-align:right!important;white-space:normal!important}
html.web-road-theme .previsit-order-workspace{padding-bottom:96px!important}

/* Saved requests belong to the same dark workspace, including their table. */
html.web-road-theme .previsit-saved-requests>header,html.web-road-theme .previsit-saved-review-heading,html.web-road-theme .previsit-saved-invoice{border-color:#51482f!important;background:#1b1c18!important;color:var(--road-text)!important;box-shadow:none!important}
html.web-road-theme .previsit-saved-requests>header strong,html.web-road-theme .previsit-saved-review-heading strong,html.web-road-theme .previsit-saved-invoice>header strong{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-saved-requests>header small,html.web-road-theme .previsit-saved-review-heading small,html.web-road-theme .previsit-saved-invoice>header small{color:var(--road-muted)!important}
html.web-road-theme .previsit-saved-requests>header>b{background:#302a1c!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-saved-request-list>article{border-color:var(--road-line)!important;background:#1b1c18!important;color:var(--road-text)!important;box-shadow:0 6px 18px #0005!important}
html.web-road-theme .previsit-saved-request-list>article>div small,html.web-road-theme .previsit-saved-request-list dt{color:var(--road-muted)!important}
html.web-road-theme .previsit-saved-request-list>article>div strong{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-saved-request-list>article>div span,html.web-road-theme .previsit-saved-request-list dd{color:var(--road-text)!important}
html.web-road-theme .previsit-saved-request-list dl>div,html.web-road-theme .previsit-saved-invoice dl>div{background:#25261f!important;color:var(--road-text)!important}
html.web-road-theme .previsit-saved-request-list button,html.web-road-theme .previsit-saved-request-actions button{border-color:#625432!important;background:#292a24!important;color:var(--road-text)!important}
html.web-road-theme .previsit-saved-request-actions button[data-previsit-saved-request-edit],html.web-road-theme .previsit-saved-request-actions button[data-previsit-saved-request-pdf]{border-color:var(--road-gold)!important;background:var(--road-gold)!important;color:#11120e!important}
html.web-road-theme .previsit-saved-invoice dt{color:var(--road-muted)!important}
html.web-road-theme .previsit-saved-invoice dd{color:var(--road-text)!important}
html.web-road-theme .previsit-saved-invoice-scroll{border-color:var(--road-line)!important;background:#11120f!important}
html.web-road-theme .previsit-saved-invoice table{background:#171815!important;color:var(--road-text)!important}
html.web-road-theme .previsit-saved-invoice th,html.web-road-theme .previsit-saved-invoice td{border-color:#44453e!important;color:var(--road-text)!important}
html.web-road-theme .previsit-saved-invoice thead th,html.web-road-theme .previsit-saved-invoice tfoot th,html.web-road-theme .previsit-saved-invoice tfoot td{background:#302a1c!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-saved-invoice tbody tr,html.web-road-theme .previsit-saved-invoice tbody tr:nth-child(even){background:#1b1c18!important}
html.web-road-theme .previsit-saved-invoice tbody tr:nth-child(even){background:#22231e!important}
html.web-road-theme .previsit-saved-invoice tbody tr.is-gift{background:#27291f!important}
html.web-road-theme .previsit-saved-invoice td:first-child small,html.web-road-theme .previsit-saved-invoice td.is-discount small{color:var(--road-muted)!important}
html.web-road-theme .previsit-saved-invoice td.is-discount b,html.web-road-theme .previsit-saved-invoice tbody tr.is-gift td:first-child strong{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-empty-state{color:var(--road-muted)!important}
html.web-road-theme .previsit-empty-state>span{background:#302a1c!important;color:var(--road-gold-high)!important}

/* Calculation, credit and outcome panels must never fall back to light cards. */
html.web-road-theme .previsit-preview-result{border-color:#5b4e2c!important;background:#171815!important;color:var(--road-text)!important;box-shadow:0 8px 24px #0005!important}
html.web-road-theme .previsit-preview-result>header{border-bottom:1px solid var(--road-line);padding-bottom:9px}
html.web-road-theme .previsit-preview-result>header strong{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-preview-result>header span{color:var(--road-muted)!important}
html.web-road-theme .previsit-preview-result .previsit-totals{border-color:#51482f!important;background:#11120f!important}
html.web-road-theme .previsit-preview-result .previsit-totals span{border-color:#45463f!important;background:#22231e!important;color:var(--road-muted)!important}
html.web-road-theme .previsit-preview-result .previsit-totals b{color:#fffdf5!important}
html.web-road-theme .previsit-prizes,html.web-road-theme .previsit-restrictions,html.web-road-theme .previsit-rules,html.web-road-theme .previsit-rules-empty{border-color:var(--road-line)!important;background:#22231e!important;color:var(--road-text)!important}
html.web-road-theme .previsit-prizes p,html.web-road-theme .previsit-restrictions p,html.web-road-theme .previsit-rules>small,html.web-road-theme .previsit-rules-empty{color:var(--road-muted)!important}
html.web-road-theme .previsit-rules article,html.web-road-theme .previsit-rules article.is-applied{border-color:#45463f!important;background:#1b1c18!important;color:var(--road-text)!important}
html.web-road-theme .previsit-rules article.is-applied{border-color:var(--road-gold-dim)!important;background:#252319!important}
html.web-road-theme .previsit-rules article footer{color:var(--road-muted)!important}
html.web-road-theme .previsit-credit-control{border-color:#5b4e2c!important;background:#1b1c18!important;color:var(--road-text)!important}
html.web-road-theme .previsit-credit-control.is-blocked{border-color:#7b4540!important;background:#251817!important}
html.web-road-theme .previsit-credit-control>header strong,html.web-road-theme .previsit-credit-control summary{color:var(--road-gold-high)!important}
html.web-road-theme .previsit-credit-control.is-blocked>header strong{color:#ff9b91!important}
html.web-road-theme .previsit-credit-control>header span,html.web-road-theme .previsit-credit-control>p,html.web-road-theme .previsit-credit-control dt{color:var(--road-muted)!important}
html.web-road-theme .previsit-credit-control>div span{background:#25261f!important;color:var(--road-muted)!important}
html.web-road-theme .previsit-credit-control>div b,html.web-road-theme .previsit-credit-control dd{color:var(--road-text)!important}
html.web-road-theme .previsit-credit-control>div .is-deficit{background:#38201e!important;color:#ffaaa1!important}
html.web-road-theme .previsit-credit-warning{border-color:#7b4540!important;background:#251817!important;color:#ffb0a8!important}
html.web-road-theme .previsit-credit-warning span{color:#e8b9b4!important}
html.web-road-theme .previsit-policy-summary{border-color:#5b4e2c!important;background:#1b1c18!important;color:var(--road-text)!important}
html.web-road-theme .previsit-policy-summary.is-blocked{border-color:#7b4540!important;background:#251817!important;color:#ffb0a8!important}
html.web-road-theme .previsit-policy-chips span{background:#302a1c!important;color:var(--road-gold-high)!important}
html.web-road-theme .previsit-policy-summary.is-blocked .previsit-policy-chips span{background:#38201e!important;color:#ffaaa1!important}
html.web-road-theme .previsit-outcome-dialog{border:1px solid #5b4e2c!important;background:#171815!important;color:var(--road-text)!important}
html.web-road-theme .previsit-outcome-dialog form{background:#171815!important;color:var(--road-text)!important}
html.web-road-theme .previsit-outcome-dialog select{border-color:#45463f!important;background:#0d0e0c!important;color:var(--road-text)!important}

/* Keep pricing context directly editable and product filters pinned under it. */
.previsit-order-common{grid-template-columns:minmax(220px,.7fr) minmax(420px,1.55fr);align-items:center}
.previsit-order-common .previsit-order-heading{grid-column:1}
.previsit-order-conditions-inline{grid-column:2;width:100%;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.previsit-order-conditions-inline .previsit-context-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
.previsit-order-conditions-inline .previsit-context-grid label{gap:3px;font-size:7px}
.previsit-order-conditions-inline .previsit-context-grid select{height:40px;padding-inline:7px 22px;font-size:9px;text-overflow:ellipsis}
.previsit-order-control-bar{grid-column:3;display:block}
.previsit-order-control-bar>button{width:100%;min-height:40px}
.previsit-order-common>.previsit-order-assistant{grid-column:1/-1}
.previsit-list-sticky-controls{position:sticky;top:var(--previsit-list-sticky-top,0);z-index:21;display:grid;gap:7px;padding:8px;border:1px solid #d7e6e0;border-radius:13px;background:rgba(247,251,249,.98);box-shadow:0 8px 20px #153b3017;backdrop-filter:blur(10px)}
.previsit-grouped-toolbar{position:sticky;top:var(--previsit-list-sticky-top,0);z-index:21;box-shadow:0 8px 20px #153b3017;backdrop-filter:blur(10px)}
.previsit-list-sticky-controls .previsit-list-heading{padding:0;border:0;background:transparent}
.previsit-list-sticky-controls .previsit-list-heading>label{width:min(430px,55%)}
.previsit-list-filter-selects{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(170px,1fr) minmax(210px,auto);align-items:end;gap:7px}
.previsit-list-filter-selects>label{display:grid;gap:3px;min-width:0;color:#63756e;font-size:8px;font-weight:900}
.previsit-list-filter-selects select{width:100%;height:38px;box-sizing:border-box;border:1px solid #c9dbd4;border-radius:9px;padding-inline:9px 24px;background:#fff;color:#213d34;font:800 9px inherit;text-overflow:ellipsis}
.previsit-list-filter-selects .previsit-list-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-height:38px;padding:0}
.previsit-list-filter-selects .previsit-list-meta>button{min-height:38px}
html.web-road-theme .previsit-order-conditions-inline{background:transparent!important}
html.web-road-theme .previsit-order-conditions-inline .previsit-context-grid select,html.web-road-theme .previsit-list-filter-selects select{border-color:#41433c!important;background:#0d0e0c!important;color:var(--road-text)!important}
html.web-road-theme .previsit-order-conditions-inline .previsit-context-grid label,html.web-road-theme .previsit-list-filter-selects>label{color:var(--road-muted)!important}
html.web-road-theme .previsit-list-sticky-controls{border-color:var(--road-line)!important;background:rgba(21,22,19,.98)!important;box-shadow:0 8px 24px #0008!important}
html.web-road-theme .previsit-list-sticky-controls .previsit-list-heading{background:transparent!important}
@media(max-width:900px){.previsit-order-common{grid-template-columns:minmax(190px,.7fr) minmax(360px,1.5fr)}.previsit-order-conditions-inline .previsit-context-grid select{font-size:8px}.previsit-list-filter-selects{grid-template-columns:1fr 1fr}.previsit-list-filter-selects .previsit-list-meta{grid-column:1/-1;justify-content:space-between}}
@media(max-width:700px){.previsit-order-common{grid-template-columns:1fr}.previsit-order-common .previsit-order-heading,.previsit-order-conditions-inline,.previsit-order-control-bar{grid-column:1}.previsit-order-control-bar>button{width:100%}.previsit-list-sticky-controls .previsit-list-heading{display:grid}.previsit-list-sticky-controls .previsit-list-heading>div:first-child{display:none}.previsit-list-sticky-controls .previsit-list-heading>label{width:100%}.previsit-list-filter-selects{grid-template-columns:1fr 1fr}.previsit-list-filter-selects select{height:36px}.previsit-list-filter-selects .previsit-list-meta{grid-column:1/-1}}

/* The product list defaults to a denser workspace so sellers can scan more
   SKUs without losing prices, stock, or the per-unit quantity controls. */
.previsit-list-view-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}
.previsit-list-view-actions>button{min-height:38px;padding:0 9px;border:1px solid #bad5cb;border-radius:9px;background:#fff;color:#496159;font:800 8px inherit;white-space:nowrap;cursor:pointer}
.previsit-list-view-actions>#previsitListStockToggle.is-active{border-color:#176b54;background:#176b54;color:#fff}
.previsit-product-list-view.is-compact .previsit-list-products{gap:4px}
.previsit-product-list-view.is-compact .previsit-list-product{grid-template-columns:minmax(190px,1.15fr) minmax(280px,1.45fr) minmax(180px,210px);gap:7px;padding:7px 9px;border-radius:9px}
.previsit-product-list-view.is-compact .previsit-list-product-copy{gap:2px}
.previsit-product-list-view.is-compact .previsit-list-product-copy>small{font-size:9px}
.previsit-product-list-view.is-compact .previsit-list-product-copy>strong{font-size:13px;line-height:1.55}
.previsit-product-list-view.is-compact .previsit-list-product-copy>span{font-size:9px;line-height:1.5}
.previsit-product-list-view.is-compact .previsit-list-product-copy>div{gap:4px;margin-top:1px}
.previsit-product-list-view.is-compact .previsit-list-product-copy>div b{padding:4px 6px;font-size:9px}
.previsit-product-list-view.is-compact .previsit-list-prices{gap:4px}
.previsit-product-list-view.is-compact .previsit-list-prices>span{min-height:46px;padding:5px}
.previsit-product-list-view.is-compact .previsit-list-prices small{font-size:8px}
.previsit-product-list-view.is-compact .previsit-list-prices b{font-size:10px}
.previsit-product-list-view.is-compact .previsit-list-quantity>small{font-size:8px}
.previsit-product-list-view.is-compact .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:3px}
.previsit-product-list-view.is-compact .previsit-list-unit-row{gap:2px;padding:3px}
.previsit-product-list-view.is-compact .previsit-list-unit-row>span b{font-size:7px}
.previsit-product-list-view.is-compact .previsit-list-unit-row>span small{font-size:6px}
.previsit-product-list-view.is-compact .previsit-list-unit-row>div{grid-template-columns:27px minmax(32px,1fr) 27px}
.previsit-product-list-view.is-compact .previsit-list-unit-row button,.previsit-product-list-view.is-compact .previsit-list-unit-row input{height:28px}
.previsit-product-list-view.is-compact .previsit-list-unit-row input{font-size:9px}
.previsit-product-list-view.is-compact .previsit-list-quantity>em{font-size:7px}
@media(max-width:1024px){.previsit-product-list-view.is-compact .previsit-list-product{grid-template-columns:minmax(0,1fr) minmax(245px,.9fr)}.previsit-product-list-view.is-compact .previsit-list-quantity{grid-column:1/-1}}
@media(max-width:700px){.previsit-list-filter-selects .previsit-list-meta{align-items:center;gap:5px}.previsit-list-view-actions{flex-wrap:wrap}.previsit-product-list-view.is-compact .previsit-list-product{grid-template-columns:1fr;gap:4px;padding:6px}.previsit-product-list-view.is-compact .previsit-list-quantity{grid-column:1}.previsit-product-list-view.is-compact .previsit-list-prices>span{min-height:42px}.previsit-product-list-view.is-compact .previsit-list-unit-rows{grid-template-columns:repeat(auto-fit,minmax(78px,1fr))}}

/* Product browsing owns the viewport: setup scrolls away, while the compact
   search and brand/group controls remain pinned below the customer header. */
.previsit-order-common{position:relative;top:auto;z-index:10}
.previsit-list-sticky-controls{padding:5px;gap:4px}
@media(max-width:700px){
  .previsit-order-common{margin-bottom:6px;padding-bottom:5px}
  .previsit-list-sticky-controls{padding:5px;gap:4px;border-radius:10px}
  .previsit-list-sticky-controls .previsit-list-heading input{height:34px}
  .previsit-list-filter-selects{gap:4px}
  .previsit-list-filter-selects>label{gap:2px;font-size:7px}
  .previsit-list-filter-selects select{height:32px;padding-inline:7px 20px;font-size:8px}
  .previsit-list-filter-selects .previsit-list-meta{min-height:30px;gap:4px}
  .previsit-list-view-actions>button{min-height:30px;padding:0 6px;font-size:7px}
}

/* The main catalogue keeps the workspace theme. Only tabletop mode switches
   to a white/green palette so it sits cleanly beneath predominantly white art. */
html.web-road-theme .previsit-table-overlay.is-grouped-catalog{background:#eef7f3;color:#172b25}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-table-customer{border-bottom-color:#176b54;background:#fff}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-table-seller{background:#fff;color:#172b25}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-table-seller>header>strong{color:#527068}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-table-seller>header button{border-color:#cfe0d9;background:#f4f8f6;color:#294a3f}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-table-seller>header button:last-child{background:#e7f6f0;color:#0d684e}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-product{border-color:#cfe2da;background:#fbfdfc;color:#172b25;box-shadow:none}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-product.is-in-cart{border-color:#3b9a7c;background:#f0faf6}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header strong{color:#203e35}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-product>header i{color:#73817c}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices>span{border-color:#dce9e4;background:#f0f5f3;color:#244a3e}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices>span.is-base{background:#e7f6f0}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices small{color:#687872}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-grouped-prices b{color:#244a3e}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row{border-color:#cadbd4;background:#fff;color:#24483c}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row>span b{color:#24483c}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row input{border-color:#dbe5e1;background:#fff;color:#1f352e}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row button{background:#176b54;color:#fff}
html.web-road-theme .previsit-table-overlay.is-grouped-catalog .previsit-list-unit-row button:disabled{background:#dfe8e4;color:#91a09a}

/* Scrollable brand/group rails keep the names visible without consuming the
   product viewport. Groups are rebuilt from the selected brand in JavaScript. */
.previsit-list-sticky-controls .previsit-list-hierarchy{gap:4px;padding:5px;border-radius:10px}
.previsit-list-sticky-controls .previsit-list-hierarchy>div{grid-template-columns:45px minmax(0,1fr);align-items:center;gap:5px}
.previsit-list-sticky-controls .previsit-list-hierarchy>div+div{padding-top:4px}
.previsit-list-sticky-controls .previsit-list-hierarchy>div>strong{padding:0;font-size:7px}
.previsit-list-sticky-controls .previsit-list-hierarchy nav{gap:4px;padding-bottom:1px;scrollbar-width:none}
.previsit-list-sticky-controls .previsit-list-hierarchy nav::-webkit-scrollbar{display:none}
.previsit-list-sticky-controls .previsit-list-hierarchy button{min-height:28px;padding:0 8px;font-size:8px}
.previsit-list-sticky-controls>.previsit-list-meta{min-height:30px;padding:0 3px}
@media(max-width:700px){.previsit-list-sticky-controls .previsit-list-hierarchy>div{grid-template-columns:38px minmax(0,1fr)}.previsit-list-sticky-controls .previsit-list-hierarchy button{min-height:26px;padding:0 7px;font-size:7px}}

/* Keep voice ordering reachable while products scroll. The compact control is
   independent from the cart dock so neither action obscures the other. */
.previsit-floating-voice{position:fixed;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:82;display:grid;place-items:center;gap:1px;width:48px;height:48px;padding:5px;border:1px solid #7ab29f;border-radius:15px;background:#176b54;color:#fff;box-shadow:0 10px 28px #0c3a2d59;font:900 7px inherit;cursor:pointer}
.previsit-floating-voice[hidden]{display:none!important}
.previsit-floating-voice>span{font-size:17px;line-height:1}
.previsit-floating-voice>b{font-size:7px;line-height:1.1}
.previsit-floating-voice.is-recording{border-color:#ffb09f;background:#9c2f24;animation:previsitVoicePulse 1.1s ease-in-out infinite alternate}
.previsit-floating-voice:disabled{cursor:wait;opacity:.72}
body.previsit-table-open .previsit-floating-voice{display:none!important}
html.web-road-theme .previsit-floating-voice{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));border-color:var(--road-gold-dim)!important;background:#24231d!important;color:var(--road-gold-high)!important;box-shadow:0 12px 34px #000b!important}
html.web-road-theme .previsit-floating-voice.is-recording{border-color:#f1c95c!important;background:var(--road-gold)!important;color:#11120e!important}
@keyframes previsitVoicePulse{from{transform:scale(1)}to{transform:scale(1.06)}}

/* Search and list actions stay pinned; the two long hierarchy rails collapse
   on downward scrolling and can always be restored from their compact toggle. */
.previsit-list-sticky-controls .previsit-list-hierarchy{max-height:92px;overflow:hidden;opacity:1;transition:max-height .2s ease,opacity .14s ease,padding .2s ease,border-width .2s ease}
.previsit-list-sticky-controls.is-filter-rail-collapsed .previsit-list-hierarchy{max-height:0;padding-top:0!important;padding-bottom:0!important;border-width:0!important;opacity:0;pointer-events:none}
.previsit-list-sticky-controls.is-filter-rail-collapsed #previsitListFiltersToggle{border-color:#176b54;background:#176b54;color:#fff}
html.web-road-theme .previsit-list-sticky-controls.is-filter-rail-collapsed #previsitListFiltersToggle{border-color:var(--road-gold)!important;background:var(--road-gold)!important;color:#11120e!important}
@media(max-width:700px){.previsit-floating-voice{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:46px;height:46px;border-radius:14px}html.web-road-theme .previsit-floating-voice{bottom:max(8px,env(safe-area-inset-bottom))}}

/* Product data is the seller's primary reading surface. Use the available
   card space for larger names, stock and prices in both web and Android. */
.previsit-product-list-view.is-compact .previsit-list-product-copy>strong{font-size:14px;line-height:1.6}
.previsit-product-list-view.is-compact .previsit-list-product-copy>span{font-size:10px}
.previsit-product-list-view.is-compact .previsit-list-product-copy>div b{font-size:10px}
.previsit-product-list-view.is-compact .previsit-list-prices>span{min-height:52px;padding:7px}
.previsit-product-list-view.is-compact .previsit-list-prices small{font-size:9px}
.previsit-product-list-view.is-compact .previsit-list-prices b{font-size:12px;line-height:1.55}
.previsit-grouped-catalog-view .previsit-grouped-product{gap:10px;padding:12px}
.previsit-grouped-catalog-view .previsit-grouped-product>header small{font-size:9px}
.previsit-grouped-catalog-view .previsit-grouped-product>header strong{font-size:13px;line-height:1.65}
.previsit-grouped-catalog-view .previsit-grouped-product>header i{font-size:10px;line-height:1.7}
.previsit-grouped-catalog-view .previsit-grouped-prices>span{min-height:58px;padding:7px 8px}
.previsit-grouped-catalog-view .previsit-grouped-prices small{font-size:9px;white-space:normal}
.previsit-grouped-catalog-view .previsit-grouped-prices b{font-size:11px;line-height:1.55}

/* Compact, high-contrast customer drawer. The drawer is shared by web and the
   Android WebView, so its own surface must not fall back to the old white UI. */
@media(max-width:1024px){
  html.web-road-theme .previsit-visit-rail-panel{width:min(390px,92vw);padding:calc(14px + env(safe-area-inset-top,0px)) calc(14px + env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) 14px;border-left:1px solid var(--road-line);background:linear-gradient(180deg,#1c1d19,#11120f);color:var(--road-text);box-shadow:-22px 0 55px #000d}
  html.web-road-theme .previsit-visit-drawer-head{border-bottom-color:var(--road-line);color:var(--road-text)}
  html.web-road-theme .previsit-visit-drawer-head strong{color:var(--road-text);font-size:14px}
  html.web-road-theme .previsit-visit-drawer-head button{border:1px solid #4d4839;background:#262720;color:var(--road-gold-high);box-shadow:0 5px 14px #0005}
  html.web-road-theme .previsit-visit-identity{border-bottom-color:var(--road-line)}
  html.web-road-theme .previsit-visit-identity strong{color:var(--road-text)}
  html.web-road-theme .previsit-visit-identity small{color:var(--road-muted)}
  html.web-road-theme .previsit-identity-mark{background:linear-gradient(145deg,#e4bd59,#a8781f);color:#11120e;box-shadow:0 6px 16px #0006}
  html.web-road-theme .previsit-visit-rail nav{align-content:start!important;grid-auto-rows:max-content!important;gap:6px!important;overscroll-behavior:contain;scrollbar-color:#66562e #151613}
  html.web-road-theme .previsit-visit-rail nav button{border:1px solid transparent!important;background:transparent!important;color:#e4e0d6!important}
  html.web-road-theme .previsit-visit-rail nav button>span{background:#292820!important;color:var(--road-gold-high)!important}
  html.web-road-theme .previsit-visit-rail nav button>b{color:#e4e0d6!important}
  html.web-road-theme .previsit-visit-rail nav button>small{color:var(--road-muted)!important}
  html.web-road-theme .previsit-visit-rail nav button:hover{border-color:#5b5035!important;background:#24241e!important}
  html.web-road-theme .previsit-visit-rail nav button.is-active{border-color:var(--road-gold)!important;background:linear-gradient(105deg,#302a1c,#22231e)!important;color:var(--road-gold-high)!important;box-shadow:inset -3px 0 var(--road-gold),0 6px 18px #0005}
  html.web-road-theme .previsit-visit-rail nav button.is-active>span{background:var(--road-gold)!important;color:#11120e!important}
  html.web-road-theme .previsit-visit-rail nav button.is-active>b{color:var(--road-gold-high)!important}
  html.web-road-theme .previsit-rail-status{border:1px solid #494638;background:#20211c;color:#e0ddd4}
  html.web-road-theme .previsit-rail-status small{color:var(--road-muted)}
  html.web-road-theme .previsit-visit-menu-backdrop{background:#050604c9;backdrop-filter:blur(4px)}
}
@media(max-width:560px){
  html.web-road-theme .previsit-visit-rail-panel{width:min(350px,92vw);gap:8px;padding:calc(10px + env(safe-area-inset-top,0px)) calc(10px + env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) 10px}
  html.web-road-theme .previsit-visit-rail nav button{min-height:48px!important;padding:6px 7px!important}
}
.previsit-visit-rail nav button.is-requirement-locked{opacity:.48;filter:saturate(.45);cursor:not-allowed}.previsit-visit-rail nav button.is-requirement-locked>span::after{content:"🔒";font-size:8px}.previsit-rail-status.is-blocked{border-color:#d6a53b;background:#fff8e5;color:#795511}.previsit-requirement-banner{display:grid;gap:5px;padding:13px 15px;border:1px solid #b9dfd0;border-radius:13px;background:#edf9f4;color:#145943}.previsit-requirement-banner.is-required{border-color:#dfbd64;background:#fff8e5;color:#76530c}.previsit-requirement-banner strong{font-size:12px}.previsit-requirement-banner p{margin:0;font-size:10px;line-height:1.9}.previsit-customer-profile-form{padding:14px;border:1px solid #dbe8e2;border-radius:14px;background:#fff}.previsit-customer-profile-form .customer-profile-actions{display:flex;justify-content:flex-start}.previsit-customer-profile-form .customer-profile-actions button{min-height:42px;padding:0 18px;border:0;border-radius:10px;background:#176b54;color:#fff;font-weight:800}.previsit-visit-shell{direction:rtl}.previsit-visit-rail{justify-self:stretch}
html.web-road-theme .previsit-requirement-banner{border-color:#6e5a28;background:#252116;color:#f2d77e}html.web-road-theme .previsit-requirement-banner.is-complete{border-color:#365c49;background:#17241e;color:#b9e8d2}html.web-road-theme .previsit-customer-profile-form{border-color:var(--road-line);background:#171814}html.web-road-theme .previsit-customer-profile-form label{color:#c7c1b2}html.web-road-theme .previsit-customer-profile-form input,html.web-road-theme .previsit-customer-profile-form select,html.web-road-theme .previsit-customer-profile-form textarea{border-color:#494536;background:#10110e;color:#f4f0e5}html.web-road-theme .previsit-rail-status.is-blocked{border-color:#80682b;background:#292316;color:#f1d36f}

/* The customer menu is a compact, always-available three-dot drawer. */
.previsit-visit-shell{grid-template-columns:minmax(0,1fr);position:relative}.previsit-workspace-main{grid-column:1;grid-row:1}.previsit-visit-rail{position:static;grid-column:1;grid-row:1;width:0;height:0;padding:0;border:0;background:transparent;box-shadow:none}.previsit-visit-menu-toggle{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 92px)!important;left:12px!important;z-index:100;display:grid!important;place-items:center;width:42px;height:42px;min-height:42px!important;padding:0!important;border:1px solid #b89945!important;border-radius:12px!important;background:#171814!important;color:#edca65!important;box-shadow:0 7px 22px #0005;cursor:pointer}.previsit-visit-menu-toggle>span:first-child{display:block!important;width:auto!important;height:auto!important;background:transparent!important;clip-path:none!important;color:inherit!important;font-size:25px!important;line-height:1!important}.previsit-visit-rail-panel{position:fixed!important;top:0!important;left:0!important;right:auto!important;bottom:0!important;z-index:102!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:10px!important;width:min(340px,88vw)!important;box-sizing:border-box;padding:14px;background:#fff;box-shadow:18px 0 46px #092d2261;transform:translateX(-110%)!important;transition:transform .22s ease;overflow:hidden}.previsit-visit-rail.is-open .previsit-visit-rail-panel{transform:translateX(0)!important}.previsit-visit-drawer-head{display:flex!important}.previsit-visit-rail nav{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;overflow-y:auto!important}.previsit-visit-menu-backdrop{position:fixed;inset:0;z-index:101;display:block;border:0;background:#08291f80;backdrop-filter:blur(2px)}.previsit-visit-menu-backdrop[hidden]{display:none!important}.previsit-rail-status time{justify-self:start;padding:3px 7px;border-radius:999px;background:#0001;font-size:11px;font-weight:900;direction:ltr}.previsit-visit-rail nav button[data-previsit-outcome]{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;text-align:right}.previsit-visit-rail nav button[data-previsit-outcome]>small{grid-column:2}.previsit-visit-rail nav button[data-previsit-outcome]:disabled{opacity:.48;cursor:not-allowed}
html.web-road-theme .previsit-visit-menu-toggle{border-color:var(--road-gold)!important;background:#171814!important;color:var(--road-gold-high)!important}html.web-road-theme .previsit-visit-rail-panel{background:linear-gradient(180deg,#1c1d19,#11120f)!important}

/* Keep the compact customer menu above sticky visit surfaces. Its zero-sized
   rail is only an anchor, so clipping that anchor also clipped the fixed menu. */
.previsit-visit-rail{overflow:visible!important;z-index:10004!important}
.previsit-visit-menu-backdrop{z-index:10001!important}
.previsit-visit-menu-toggle{z-index:10002!important}
.previsit-visit-rail-panel{z-index:10003!important}

/* Full customer profile: every synchronized value remains visible while only
   fields allowed by the live edit contract are interactive. */
.previsit-customer-profile-form>label>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px}
.previsit-customer-profile-form label.is-editable input,.previsit-customer-profile-form label.is-editable select,.previsit-customer-profile-form label.is-editable textarea{border-color:#8fc9b4;background:#fff;box-shadow:inset 0 0 0 1px #d9f0e7}
.previsit-customer-profile-form label.is-required input,.previsit-customer-profile-form label.is-required select,.previsit-customer-profile-form label.is-required textarea{border-color:#d7a731;box-shadow:0 0 0 2px #e9bf5330}
.previsit-customer-profile-form label.is-readonly{color:#76827e}.previsit-customer-profile-form label.is-readonly input,.previsit-customer-profile-form label.is-readonly select,.previsit-customer-profile-form label.is-readonly textarea{background:#f0f3f2;color:#4d5955}
.customer-profile-field-badge{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#e6f5ef;color:#14654e;font-size:7px}.customer-profile-field-badge.is-required{background:#fff0c7;color:#795511}
.customer-profile-alert{padding:11px 13px;border:1px solid #e2c56f;border-radius:11px;background:#fff9e8}.customer-profile-alert p{margin:4px 0 0;font-size:10px;line-height:1.8}
html.web-road-theme .previsit-customer-profile-form label.is-editable input,html.web-road-theme .previsit-customer-profile-form label.is-editable select,html.web-road-theme .previsit-customer-profile-form label.is-editable textarea{border-color:#8a7135;background:#11120f;box-shadow:inset 0 0 0 1px #4c4025}
html.web-road-theme .previsit-customer-profile-form label.is-required input,html.web-road-theme .previsit-customer-profile-form label.is-required select,html.web-road-theme .previsit-customer-profile-form label.is-required textarea{border-color:var(--road-gold);box-shadow:0 0 0 2px #d7aa3833}
html.web-road-theme .previsit-customer-profile-form label.is-readonly input,html.web-road-theme .previsit-customer-profile-form label.is-readonly select,html.web-road-theme .previsit-customer-profile-form label.is-readonly textarea{border-color:#35372f;background:#20211d;color:#aaa79e}
html.web-road-theme .customer-profile-field-badge{background:#263d32;color:#b8e3ce}html.web-road-theme .customer-profile-field-badge.is-required{background:#4b3c18;color:#f5d471}html.web-road-theme .customer-profile-alert{border-color:#655329;background:#282317;color:#f1d584}

.previsit-location-picker-dialog{width:min(940px,calc(100vw - 24px));height:min(720px,calc(100dvh - 24px));max-width:none;max-height:none;padding:0;border:0;border-radius:18px;background:#fff;color:#173b30;box-shadow:0 24px 80px #03150f80;direction:rtl}.previsit-location-picker-dialog::backdrop{background:#07120ecf;backdrop-filter:blur(4px)}
.previsit-location-picker-shell{display:grid;grid-template-rows:auto minmax(280px,1fr) auto;height:100%}.previsit-location-picker-shell>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #dce7e2}.previsit-location-picker-shell>header>div{display:grid;gap:2px}.previsit-location-picker-shell>header small{color:#197257;font-size:8px;font-weight:900}.previsit-location-picker-shell>header strong{font-size:15px}.previsit-location-picker-shell>header button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:#edf4f1;color:#34544a;font-size:23px;cursor:pointer}
.previsit-location-picker-map{min-height:280px;background:#e8efec}.previsit-location-picker-shell>footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:12px 15px;border-top:1px solid #dce7e2}.previsit-location-picker-shell>footer>div{display:grid;gap:3px;min-width:0}.previsit-location-picker-shell>footer b{font-size:12px;direction:ltr;text-align:right}.previsit-location-picker-shell>footer small{color:#62736d;font-size:8px}.previsit-location-picker-shell>footer button{min-height:40px;padding:0 13px;border:0;border-radius:9px;background:#176b54;color:#fff;font:800 9px inherit;cursor:pointer}.previsit-location-picker-shell>footer button.dialog-secondary{border:1px solid #bcd4cb;background:#fff;color:#176b54}
html.web-road-theme .previsit-location-picker-dialog{border:1px solid var(--road-line);background:#151612;color:var(--road-text)}html.web-road-theme .previsit-location-picker-shell>header,html.web-road-theme .previsit-location-picker-shell>footer{border-color:var(--road-line);background:#191a16}html.web-road-theme .previsit-location-picker-shell>header small{color:var(--road-gold-high)}html.web-road-theme .previsit-location-picker-shell>header button{border:1px solid #494536;background:#272821;color:var(--road-gold-high)}html.web-road-theme .previsit-location-picker-shell>footer small{color:var(--road-muted)}html.web-road-theme .previsit-location-picker-shell>footer button{background:var(--road-gold);color:#11120e}html.web-road-theme .previsit-location-picker-shell>footer button.dialog-secondary{border-color:#5d5132;background:#252620;color:var(--road-gold-high)}
@media(max-width:620px){.previsit-location-picker-dialog{width:100vw;height:100dvh;border-radius:0}.previsit-location-picker-shell>footer{grid-template-columns:1fr 1fr}.previsit-location-picker-shell>footer>div{grid-column:1/-1}.previsit-location-picker-shell>footer button{width:100%}}
