/* Page layouts share the shell's type, controls and restrained palette. */
.business-period{background:#fff;border:1px solid #e1e7ee;border-radius:10px;padding:14px 16px;margin:16px 0 20px}.business-period-main{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.business-period-main label,.business-catalog-tools label,.business-customer-tools label{display:grid;gap:6px;color:#738092;font-size:12px;min-width:0}.business-period-main input,.business-period-main select{height:40px;min-height:40px;width:110px;padding:7px 10px;font-size:13px}.business-period-main .business-period-basis select{width:204px}.business-period-main .btn{height:40px;min-height:40px}.business-period-range{margin:10px 0 0;font-size:11px;color:#8290a1;display:flex;gap:16px;flex-wrap:wrap}.business-period [hidden]{display:none!important}.business-footnote{font-size:12px;color:#7e8b9d;line-height:1.7;margin:15px 0}.business-overview-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}.business-stat-lines{padding:3px 20px 16px}.business-stat-lines>div{padding:17px 0;border-bottom:1px solid #edf0f4;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px}.business-stat-lines strong{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.business-stat-lines p{font-size:11px;color:#8390a1;margin:14px 0 0}.business-catalog-tools{display:flex;gap:12px;align-items:end;justify-content:flex-start;margin:18px 0}.business-catalog-tools input,.business-catalog-tools select{height:44px;min-height:44px}.business-catalog-tools .business-search{margin-left:auto;width:270px}.business-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.business-product{background:#fff;border:1px solid #dfe5ed;border-radius:10px;overflow:hidden;min-width:0}.business-product-photo{height:210px;background:#f7f9fc;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #edf0f4}.business-product-photo>img{width:80%;height:180px;object-fit:contain}.business-product-photo>.tag{position:absolute;right:13px;top:13px}.business-no-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9ba8b9;text-align:center}.business-no-image .icon{width:34px;height:34px}.business-no-image small{font-size:11px}.business-product-copy{padding:20px}.business-product-sku{font-size:11px;color:#8794a5}.business-product-copy h2{font-size:18px;line-height:1.4;font-weight:600;margin:7px 0;color:#1d2b3d}.business-product-copy>p{color:#778497;font-size:13px;margin:6px 0 20px}.business-product-copy dl{display:flex;justify-content:space-between;gap:12px;margin:0 0 17px}.business-product-copy dt{font-size:11px;color:#8794a5;margin-bottom:7px}.business-product-copy dd{margin:0;font-size:13px;color:#43536a}.business-missing{color:#98763d}.business-product-details{border-top:1px solid #edf0f4;font-size:12px;color:#62748b}.business-product-details summary{padding:13px 0;cursor:pointer}.business-product-details>div{font-size:11px;color:#8490a1;line-height:1.9;padding:0 0 12px}.business-product-copy>.btn{margin-top:8px}.business-price-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;margin-top:20px;align-items:start}.business-customer-panel{background:#fff;border:1px solid #e0e6ee;border-radius:10px;overflow:hidden}.business-customer-tools{padding:17px;display:grid;gap:12px;border-bottom:1px solid #edf0f4}.business-customer-tools input,.business-customer-tools select{min-height:40px;height:40px;font-size:13px;padding:8px 10px}.business-customer-tools .btn{min-height:38px}.business-customer-picker>summary{display:none}.business-customer-list{max-height:620px;overflow:auto}.business-customer-option{width:100%;display:flex;gap:12px;align-items:center;background:#fff;border:0;border-left:3px solid transparent;text-align:left;padding:16px 13px;cursor:pointer;font:inherit}.business-customer-option.selected{background:#eff4ff;border-left-color:#2d68da}.business-customer-avatar{width:35px;height:35px;border-radius:8px;background:#f0f3f7;display:grid;place-items:center;color:#647991;flex-shrink:0}.business-customer-option strong{font-size:13px;font-weight:550;display:block;color:#2d4059}.business-customer-option small{font-size:11px;color:#8a97a9;display:block;margin-top:6px}.business-price-content .panel-h>h2>small{display:block;font-size:12px;color:#8491a3;font-weight:400;margin-top:9px}.business-price-table .table-wrap{border:0}.business-price-product{display:flex;align-items:center;gap:12px}.business-price-photo{width:50px;height:68px;background:#f7f9fc;display:grid;place-items:center;border-radius:6px;flex-shrink:0}.business-price-photo img{width:44px;height:60px;object-fit:contain}.business-price-photo .business-no-image{gap:4px}.business-price-photo .icon{width:24px;height:24px}.business-price-photo small{font-size:9px}.business-price-product b{font-size:13px;font-weight:550}.business-price-value{font-size:20px;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums;color:#22354b}.business-price-table td{vertical-align:middle}.business-ranking{margin-top:20px}.business-ranking table{table-layout:fixed;width:100%}.business-ranking th:first-child{width:55%}.business-ranking .business-footnote{padding:0 20px}.business-rank-name{display:flex;align-items:center;gap:14px;min-width:0}.business-rank-number{width:24px;color:#7f8ea1;font-variant-numeric:tabular-nums;flex-shrink:0}.business-rank-name b{font-weight:550;overflow-wrap:anywhere}.business-rank-change{margin-left:auto;white-space:nowrap;color:#8b97a7;font-size:11px;font-weight:500}.business-rank-change.up{color:#2e866b}.business-rank-change.down{color:#b87948}.business-rank-change.new{color:#3976cc}.business-ranking th:not(:first-child),.business-ranking td:not(:first-child){text-align:right;white-space:nowrap}.business-customer-accordion{border:1px solid #e1e7ef;border-radius:9px;background:#fff;margin:12px 20px;overflow:hidden}.business-customer-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;padding:16px 18px}.business-customer-accordion>summary::-webkit-details-marker{display:none}.business-customer-accordion>summary::after{content:'⌄';color:#8b98a9;transition:transform .15s}.business-customer-accordion[open]>summary::after{transform:rotate(180deg)}.business-customer-accordion strong{display:block;font-size:14px;font-weight:550}.business-customer-accordion small{display:block;color:#8794a7;font-size:11px;margin-top:6px}.business-customer-archive{padding:0 18px 16px;border-top:1px solid #edf0f4}.business-customer-archive dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0}.business-customer-archive dt{font-size:11px;color:#8592a4;margin-bottom:7px}.business-customer-archive dd{font-size:13px;color:#3f5068;margin:0;overflow-wrap:anywhere}.business-customer-archive .business-address{grid-column:span 2}.business-customer-archive-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#77859a}.business-person-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 20px}.business-person-summary>div{padding:22px 18px;border-bottom:1px solid #edf0f4}.business-person-summary span{font-size:12px;color:#8290a3;display:block}.business-person-summary strong{display:block;margin-top:10px;font-size:23px;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.business-person-summary small{display:block;margin-top:8px;font-size:11px;color:#91a0b1}
@media(min-width:651px){.business-customer-picker:not([open])>.business-customer-list{display:block}.business-ranking .responsive-table table{min-width:0}}
@media(max-width:1000px){.business-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-price-layout{grid-template-columns:230px minmax(0,1fr)}.business-overview-grid{grid-template-columns:1fr}}
@media(max-width:650px){.business-period{padding:13px 12px;margin:14px 0 16px}.business-period-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:end}.business-period-main label{font-size:11px;min-width:0}.business-period-main input,.business-period-main select{width:100%;min-width:0;height:44px;min-height:44px;padding:7px;font-size:14px}.business-period-main .business-period-basis{grid-column:span 2}.business-period-main .business-period-basis select{width:100%}.business-period-main .btn{height:44px;min-height:44px;padding:8px 12px;justify-self:stretch}.business-period-main:not(:has(.business-period-basis))>.btn{grid-column:3}.business-period-range{font-size:10px;gap:5px 12px}.business-catalog-tools{display:grid;grid-template-columns:1fr auto;gap:10px}.business-catalog-tools>label:first-child{grid-column:1/-1}.business-catalog-tools .business-search{width:auto;margin:0}.business-products-grid{display:block}.business-product{display:flex;gap:13px;padding:15px;margin-bottom:12px;border-radius:10px}.business-product-photo{border:0;border-radius:7px;width:86px;min-width:86px;height:148px;align-self:start}.business-product-photo>img{width:76px;height:125px}.business-product-photo>.tag{bottom:6px;top:auto;right:auto;left:6px;font-size:9px;padding:3px 5px}.business-product-copy{padding:0;min-width:0;flex:1}.business-product-copy h2{font-size:15px;margin:4px 0 7px}.business-product-copy>p{font-size:12px;margin:5px 0 13px}.business-product-copy dl{margin-bottom:10px;gap:8px}.business-product-copy dt{font-size:10px;margin-bottom:5px}.business-product-copy dd{font-size:11px}.business-product-details summary{padding:10px 0;font-size:11px}.business-product-sku{font-size:10px}.business-price-layout{display:block;margin-top:15px}.business-customer-panel{margin-bottom:15px}.business-customer-tools{grid-template-columns:1fr 1.5fr auto;padding:12px;gap:8px;align-items:end}.business-customer-tools label{font-size:10px}.business-customer-tools input,.business-customer-tools select{font-size:13px;padding:7px;min-width:0;width:100%;height:44px}.business-customer-tools .btn{padding:8px 10px;height:44px;min-height:44px}.business-customer-picker>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px;list-style:none;color:#366bb6;font-size:11px}.business-customer-picker>summary::-webkit-details-marker{display:none}.business-customer-picker>summary strong{font-size:15px;color:#23374f}.business-customer-picker>summary small{font-size:11px;color:#8292a6;display:block;margin-top:6px}.business-customer-picker:not([open])>.business-customer-list{display:none}.business-customer-list{max-height:240px}.business-price-content .panel-h{padding:15px}.business-price-content .panel-h h2{font-size:15px}.business-price-table .responsive-table table,.business-price-table .responsive-table tbody{display:block;min-width:0}.business-price-table .responsive-table thead{display:none}.business-price-table .responsive-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:15px;gap:7px 12px;border-bottom:1px solid #edf0f4;box-shadow:none;border-radius:0;margin:0}.business-price-table .responsive-table td{border:0;padding:0;display:block;font-size:11px}.business-price-table .responsive-table td::before{display:none}.business-price-table .responsive-table td:first-child{grid-column:1;grid-row:1/4}.business-price-table .responsive-table td:nth-child(2){grid-column:2;grid-row:2;text-align:right;white-space:normal;max-width:135px;color:#8492a6}.business-price-table .responsive-table td:nth-child(3){grid-column:2;grid-row:1;text-align:right}.business-price-table .responsive-table td:nth-child(4){grid-column:2;grid-row:3;font-size:10px;color:#8a98aa;text-align:right}.business-price-product{gap:10px}.business-price-product b{font-size:13px;word-break:break-word}.business-price-photo{width:42px;height:66px}.business-price-photo img{max-width:38px}.business-price-value{font-size:20px}.business-price-table .responsive-table td:nth-child(5){grid-column:2;text-align:right}.business-ranking .responsive-table table{display:table;min-width:0;table-layout:fixed}.business-ranking .responsive-table thead{display:table-header-group}.business-ranking .responsive-table tbody{display:table-row-group}.business-ranking .responsive-table tr{display:table-row;box-shadow:none}.business-ranking .responsive-table th,.business-ranking .responsive-table td{display:table-cell;padding:14px 10px;font-size:12px}.business-ranking .responsive-table td::before{display:none}.business-ranking th:first-child{width:50%}.business-rank-name{gap:7px;flex-wrap:wrap}.business-rank-number{width:16px}.business-rank-name b{font-size:12px;max-width:calc(100% - 24px)}.business-rank-change{margin-left:23px;font-size:10px}.business-ranking .panel-h{align-items:start}.business-ranking .panel-h small{font-size:10px}.business-customer-accordion{margin:10px 12px}.business-customer-accordion>summary{padding:14px 12px}.business-customer-accordion strong{font-size:13px}.business-customer-archive{padding:0 12px 14px}.business-customer-archive dl{grid-template-columns:1fr 1fr;gap:15px}.business-customer-archive .business-address{grid-column:1/-1}.business-customer-archive dd{font-size:12px}.business-person-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}.business-person-summary>div{padding:18px 10px}.business-person-summary strong{font-size:20px}.business-person-summary span{font-size:11px}.business-person-summary small{font-size:10px}.business-stat-lines{padding:0 15px 14px}.business-stat-lines>div{font-size:12px;padding:14px 0}.business-footnote{font-size:11px}}

.business-trend{padding:18px 20px}.business-trend svg{display:block;width:100%;height:auto;max-height:230px}.business-trend line{stroke:#edf1f6;stroke-width:1}.business-trend polyline{fill:none;stroke:#2d70df;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.business-trend text{fill:#8391a4;font-size:11px}.business-trend-range{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#8291a5}.business-overview-grid>.panel:last-child{grid-column:1/-1}

.business-person-noncash{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 18px;margin:0 20px;border-bottom:1px solid #edf0f4}.business-person-noncash span{font-size:13px;color:#5e7189}.business-person-noncash small{display:block;font-size:11px;color:#8796a9;margin-top:7px}.business-person-noncash>strong{font-size:24px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}.business-customer-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;cursor:pointer;list-style:none}.business-customer-group>summary::-webkit-details-marker{display:none}.business-customer-group>summary>span{font-size:15px;font-weight:600}.business-customer-group>summary b{font-size:12px;font-weight:500;padding:3px 7px;background:#f0f4f8;border-radius:5px;margin-left:7px;color:#708399}.business-customer-group>summary small{font-size:11px;color:#7b8da3}.business-customer-toolbar{border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px}.business-customer-toolbar>span{font-size:11px;color:#8896a7}.business-customer-toolbar label{display:flex;align-items:center;gap:8px;font-size:11px;color:#8795a8}.business-customer-toolbar input{width:210px;height:40px;min-height:40px;font-size:12px}.business-customer-accordion[hidden]{display:none!important}
@media(max-width:650px){.business-person-summary{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 12px}.business-person-summary>div{padding:18px 6px}.business-person-summary strong{font-size:17px;overflow-wrap:anywhere}.business-person-summary span{font-size:10px}.business-person-summary small{font-size:9px}.business-person-noncash{margin:0 18px;padding:17px 0;gap:10px}.business-person-noncash span{font-size:11px}.business-person-noncash small{font-size:10px;line-height:1.7}.business-person-noncash>strong{font-size:20px}.business-customer-group>summary{padding:16px}.business-customer-toolbar{padding:12px;gap:8px}.business-customer-toolbar label{font-size:0;min-width:0}.business-customer-toolbar input{width:170px;max-width:100%;font-size:12px;height:44px;min-height:44px}.business-customer-toolbar>span{font-size:10px;white-space:nowrap}}

@media(max-width:650px){.business-province-table .responsive-table table{display:table;table-layout:fixed;width:100%;min-width:0}.business-province-table .responsive-table thead{display:table-header-group}.business-province-table .responsive-table tbody{display:table-row-group}.business-province-table .responsive-table tr{display:table-row;box-shadow:none;border:0}.business-province-table .responsive-table th,.business-province-table .responsive-table td{display:table-cell;padding:14px 12px;font-size:11px;white-space:nowrap;border-bottom:1px solid #edf0f4}.business-province-table .responsive-table td::before{display:none}.business-province-table th:first-child{width:28%}.business-province-table th:nth-child(2){width:43%}.business-province-table th:nth-child(3){width:29%}.business-province-table th:not(:first-child),.business-province-table td:not(:first-child){text-align:right}}

#dialog.archive-supply-sheet .archive-supply-body {
  --price-ink: #19212c;
  --price-secondary: #546173;
  min-height: 0;
  padding: 0 22px 9px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
@media (max-width: 650px) {
  #dialog.archive-supply-sheet .archive-supply-body { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
.archive-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--price-ink);
}
.archive-price-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) fit-content(48%);
  align-items: center;
  gap: 2px 11px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid rgb(78 98 122 / 14%);
}
.archive-price-line:first-child { border-top: none; }
.archive-price-thumb {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(57 68 80 / 6%);
  background: #f5f4ee;
  color: var(--price-secondary);
}
.archive-price-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.archive-price-thumb > * { grid-area: 1 / 1; }
.archive-price-thumb:has(img) > .icon { visibility: hidden; }
.archive-price-thumb > .business-no-image { display: none; }
.archive-price-thumb .icon { width: 17px; height: 17px; }
.archive-price-copy, .archive-price-pricing { min-width: 0; }
.archive-price-name { display: block; font-size: .95rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.archive-price-meta, .archive-price-source {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .35em;
  margin-top: 2px;
  color: var(--price-secondary);
  font-size: .74rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.archive-price-meta span + span::before, .archive-price-source span + span::before {
  content: "·";
  margin-right: .35em;
}
.archive-price-pricing { text-align: right; }
.archive-price-source { justify-content: flex-end; }
.archive-price-source:empty { display: none; }
.archive-price-quote { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; column-gap: 4px; }
.archive-price-amount { font-size: 1.13rem; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.archive-price-unit { font-size: .72rem; color: var(--price-secondary); white-space: nowrap; }
.archive-price-unset { font-size: .82rem; color: #84500f; }
.archive-price-action { grid-column: 2 / -1; justify-self: end; }
@media (min-width: 700px) {
  .archive-price-line:has(.archive-price-action) { grid-template-columns: 34px minmax(0, 1fr) fit-content(40%) auto; }
  .archive-price-action { grid-column: auto; margin-left: 12px; }
}
