.team-body{background:#f4f6fa;color:#152033}.team-main{padding-top:34px;padding-bottom:70px}.team-header-link{font-size:.875rem;color:#fff;text-decoration:none;border:1px solid #ffffff30;border-radius:9px;padding:10px 14px}.team-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.team-eyebrow{font-size:.8125rem;letter-spacing:.12em;font-weight:750;color:#2449b5}.team-intro h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.1;letter-spacing:-.045em;margin:10px 0}.team-intro p:last-child{color:#617087;margin:10px 0}.team-intro #session{display:grid;gap:5px;text-align:right;font-size:.875rem}.team-intro #session a{color:#2449b5}.team-access{max-width:650px;margin:60px auto;padding:38px;text-align:center;background:#fff;border:1px solid #dce3ee;border-radius:20px}.team-access p{line-height:1.65;color:#617087}.team-access-symbol{width:58px;height:58px;display:grid;place-content:center;border-radius:16px;background:#eaf0ff;color:#2449b5;font-size:1.75rem;font-weight:800;margin:auto auto 24px}.team-primary,.team-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:10px;font:inherit;font-weight:700;font-size:.875rem;text-decoration:none;cursor:pointer;border:1px solid #c4d0e9;line-height:1.35}.team-primary{background:#1e43ad;color:#fff;border-color:#1e43ad}.team-secondary{background:#fff;color:#233d7b}.team-primary:hover{background:#17388f}.team-secondary:hover{background:#f0f4ff}.team-primary:disabled,.team-secondary:disabled{opacity:.48;cursor:default}.team-notice{padding:14px 18px;border:1px solid #bcd5ca;background:#ebf8f0;border-radius:12px;color:#226045;font-size:.9375rem}.team-notice.error{background:#fff0ec;border-color:#edc2b9;color:#9e3022}.team-stats{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}.team-stats article{background:#fff;border:1px solid #dce3ee;border-radius:16px;padding:22px}.team-stats p{color:#5e6e86;font-size:.9375rem;margin:0 0 12px}.team-stats strong{font-size:2rem;letter-spacing:-.04em;color:#1e43ad;display:block}.team-stats span{display:block;margin-top:6px;font-size:.8125rem;color:#65738a}.team-tabs{display:flex;gap:20px;border-bottom:1px solid #d9e0ed;margin:28px 0}.team-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:15px 4px;color:#65738a;font:inherit;font-weight:700;cursor:pointer}.team-tabs .is-active{color:#1e43ad;border-bottom-color:#1e43ad}.team-section-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:26px 0 20px}.team-section-heading h2{font-size:1.5rem;letter-spacing:-.03em;margin:0}.team-section-heading p{font-size:.9375rem;line-height:1.6;color:#617087;margin:7px 0 0;max-width:650px}.team-actions{display:flex;gap:9px;flex-shrink:0}.team-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.team-profile{background:#fff;border:1px solid #dce3ee;border-radius:16px;padding:22px;min-width:0}.team-profile.inactive{background:#f8f9fc;opacity:.8}.team-profile-top{display:flex;gap:12px;align-items:center}.team-avatar{height:44px;width:44px;flex:none;border-radius:13px;background:#eaf0ff;color:#2449b5;display:grid;place-content:center;font-weight:800;font-size:1rem}.team-profile h3{font-size:1.0625rem;line-height:1.4;margin:0;overflow-wrap:anywhere}.team-profile-role{font-size:.8125rem;color:#65738a;margin:3px 0 0}.team-profile-phone{font-size:1rem;margin:19px 0 7px;font-weight:650}.team-profile-access{font-size:.8125rem;color:#65738a;line-height:1.5;min-height:20px}.team-profile .team-catalog-link{display:block;font-size:.8125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2449b5;margin:14px 0}.team-profile-actions{display:flex;gap:7px;flex-wrap:wrap;padding-top:8px}.team-profile-actions button{font-size:.8125rem;padding:8px 10px}.team-profile-actions .team-edit{border:0;background:transparent;color:#2449b5;font:inherit;font-size:.8125rem;cursor:pointer;padding:8px 4px}.team-empty{text-align:center;padding:40px 20px;border:1px dashed #c7d2e6;border-radius:16px;background:#fff;color:#617087;line-height:1.6}.team-order-filters{display:flex;gap:14px;margin-bottom:20px}.team-order-filters label,.team-dialog label{display:grid;gap:8px;font-size:.875rem;font-weight:700;color:#34435c}.team-order-filters label{min-width:210px}.team-order-filters select,.team-dialog input,.team-dialog select,.order-status-select{border:1px solid #c9d3e4;border-radius:9px;padding:11px 12px;background:#fff;color:#17283f;min-height:44px;font:inherit;font-size:1rem;width:100%}.team-orders{display:grid;gap:14px}.team-order{border:1px solid #dce3ee;background:#fff;border-radius:15px;padding:20px}.team-order-heading{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.team-order-heading h3{font-size:1rem;margin:0 0 6px}.team-order-heading p,.team-order-date{font-size:.875rem;color:#65738a;line-height:1.5;margin:0}.team-order-heading strong{font-size:1.25rem;color:#1e43ad;white-space:nowrap}.team-order-status{display:inline-flex;padding:4px 8px;border-radius:6px;background:#fff1d9;color:#805619;font-size:.8125rem;font-weight:700;margin:10px 0}.team-order-status.confirmed{background:#e6f5ed;color:#21704c}.team-order-status.cancelled{background:#eff1f5;color:#65738a}.team-order-lines{font-size:.875rem;color:#34435c;line-height:1.55;padding-left:20px;margin:8px 0 16px}.team-order-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #eef1f6;padding-top:14px}.team-order-actions a{color:#2449b5;font-weight:700;font-size:.875rem}.team-order-actions form{display:flex;align-items:center;gap:8px}.order-status-select{font-size:.875rem;min-height:38px;padding:8px;max-width:200px}.team-order-actions button{padding:9px 12px}.team-attribution{background:#fff;border:1px solid #dce3ee;border-radius:15px;padding:22px;margin-top:28px}.team-attribution h3{margin:0;font-size:1.125rem}.team-attribution p{font-size:.875rem;color:#65738a}.team-table-scroll{overflow:auto}.team-attribution table{border-collapse:collapse;width:100%;font-size:.9375rem}.team-attribution th,.team-attribution td{padding:13px 8px;text-align:left;border-bottom:1px solid #edf0f5}.team-attribution th{color:#65738a;font-size:.8125rem}.team-attribution th:last-child,.team-attribution td:last-child{text-align:right}.team-dialog{width:min(560px,calc(100vw - 28px));padding:26px;border-radius:18px;max-height:calc(100dvh - 36px);overflow:auto}.team-dialog form>label{margin-top:17px}.team-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.team-dialog h2{font-size:1.375rem;margin:0}.team-close{border:0;background:#eff2f8;border-radius:8px;width:34px;height:34px;font-size:1.5rem;cursor:pointer;color:#34435c}.team-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:22px 0 0}.team-form-note{font-size:.8125rem;color:#65738a;line-height:1.5;margin:9px 0}.team-check{display:flex!important;gap:10px!important;align-items:center;line-height:1.5}.team-check input{width:18px;height:18px;min-height:18px;flex:none;accent-color:#1e43ad}.team-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.team-form-error{font-size:.875rem;color:#a92f24;line-height:1.5}.team-private-note{padding:13px;background:#fff5df;border-radius:10px;color:#755523;font-size:.875rem;line-height:1.6}.team-dialog>label{margin:22px 0 0}.team-dialog>button:last-child{margin-top:18px}.team-body [hidden]{display:none!important}#more-orders{display:flex;margin:22px auto}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7b9dff;outline-offset:3px}
@media(max-width:1000px){.team-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-section-heading{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.team-main{padding-top:24px}.team-intro{align-items:flex-start;flex-direction:column;gap:10px}.team-intro #session{text-align:left}.team-stats{grid-template-columns:1fr 1fr;gap:10px}.team-stats article{padding:16px}.team-stats article:first-child{grid-column:1/-1}.team-stats strong{font-size:1.75rem}.team-profile-grid{grid-template-columns:1fr}.team-actions{flex-wrap:wrap}.team-access{padding:25px 20px;margin-top:25px}.team-order-filters{flex-direction:column;gap:12px}.team-order-actions{align-items:flex-start;flex-direction:column}.team-order-actions form{width:100%}.order-status-select{max-width:none}.team-order-heading{gap:8px}.team-order-heading strong{font-size:1.125rem}.team-dialog{padding:20px}.team-form-grid{grid-template-columns:1fr}.team-header-link{font-size:.8125rem;padding:9px 11px}}
.team-tabs{overflow-x:auto}.team-tabs button{white-space:nowrap}.inventory-note{font-size:.9375rem;line-height:1.6;color:#5d6e85}.inventory-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.inventory-summary>div{padding:17px 20px;border:1px solid #dce3ee;background:#fff;border-radius:12px}.inventory-summary span{display:block;color:#617087;font-size:.875rem;line-height:1.5}.inventory-summary strong{display:block;margin-top:7px;font-size:1.5rem;color:#1e43ad}.inventory-filters{display:grid;grid-template-columns:minmax(0,1.5fr) 1fr 1fr;gap:14px;margin:22px 0 16px}.inventory-filters label,.inventory-edit label{display:grid;gap:8px;color:#34435c;font-size:.875rem;font-weight:700;min-width:0}.inventory-filters input,.inventory-filters select,.inventory-edit input{width:100%;min-width:0;min-height:44px;border:1px solid #c9d3e4;border-radius:9px;padding:10px 12px;background:#fff;color:#17283f;font:inherit;font-size:1rem}.inventory-result-count{color:#617087;font-size:.875rem;line-height:1.5}.inventory-list{display:grid;gap:12px}.inventory-item{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(140px,.65fr) minmax(230px,.8fr);gap:20px;align-items:center;padding:20px;border:1px solid #dce3ee;background:#fff;border-radius:14px}.inventory-product{display:flex;align-items:center;gap:14px;min-width:0}.inventory-product img{width:88px;height:68px;object-fit:contain;flex:none;border-radius:8px;background:#f3f6fb}.inventory-product h3{margin:0;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.inventory-specs{font-size:.875rem;color:#617087;line-height:1.5;margin:5px 0 0}.inventory-current{display:grid;gap:5px;min-width:0}.inventory-label,.inventory-updated{font-size:.875rem;color:#617087;line-height:1.5}.inventory-stock{font-size:1rem;color:#226045}.inventory-stock.unregistered{color:#617087}.inventory-stock.empty{color:#a33b2e}.inventory-edit{display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:10px;align-items:end;min-width:0}.inventory-edit button{min-height:44px;padding:10px 14px}.inventory-row-status{grid-column:1/-1;min-height:20px;margin:0;color:#226045;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}.inventory-row-status.error{color:#a33b2e}#more-inventory{display:flex;margin:22px auto}.inventory-edit input:disabled{background:#f3f5f9;color:#617087}
.inventory-filters select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23617087' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.inventory-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}.inventory-bulk-status{font-size:.9375rem;line-height:1.6;color:#226045;margin:12px 0}.inventory-bulk-status.error{color:#a33b2e}@media(max-width:1000px){.inventory-actions{justify-content:flex-start}}@media(max-width:600px){.inventory-actions{width:100%}.inventory-actions .team-primary{width:100%}}
@media(max-width:1000px){.inventory-item{grid-template-columns:minmax(0,1fr) minmax(220px,.7fr)}.inventory-product{grid-column:1/-1}.inventory-filters{grid-template-columns:1fr 1fr}.inventory-filters label:first-child{grid-column:1/-1}}
@media(max-width:600px){.team-tabs{gap:17px}.team-tabs button{font-size:.9375rem}.inventory-summary{grid-template-columns:1fr 1fr;gap:9px}.inventory-summary>div{padding:14px}.inventory-summary>div:first-child{grid-column:1/-1}.inventory-summary strong{font-size:1.375rem}.inventory-filters{grid-template-columns:1fr}.inventory-item{grid-template-columns:minmax(0,1fr);gap:16px;padding:17px}.inventory-product img{width:72px;height:62px}.inventory-current{padding-top:12px;border-top:1px solid #edf0f5}.inventory-edit{grid-template-columns:minmax(0,1fr) auto}.inventory-edit label{font-size:.9375rem}}

.new-product-dialog{width:min(980px,calc(100% - 24px));max-width:980px;max-height:92dvh;padding:24px}
.new-product-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}
.new-product-fields label{display:grid;gap:6px;margin-bottom:14px}
.new-product-fields input,.new-product-fields select,.new-product-fields textarea,.new-product-image-panel textarea{min-width:0;width:100%;font:inherit;font-size:1rem;padding:10px 11px;border:1px solid #cbd5e6;border-radius:8px;background:#fff;color:var(--ink)}
.new-product-upload{display:grid;gap:10px;padding:18px;border:1px dashed #819ed7;border-radius:12px;background:#f1f5ff}
.new-product-upload input{max-width:100%;font-size:.875rem}
.new-product-preview{margin-top:18px;border:1px solid #d9e1ed;border-radius:14px;overflow:hidden;background:#fff}
.new-product-cover{position:relative;height:230px;background:#edf2fa;padding-top:34px}
.new-product-cover>img:first-child{width:100%;height:100%;object-fit:contain}
.new-product-cover .new-preview-logo{position:absolute;top:5px;left:7px;width:62px;height:24px;padding:2px 4px;background:#fff;border-radius:4px;object-fit:contain}
.new-preview-body{padding:14px}.new-preview-body h3{font-size:1.1rem;margin:5px 0 9px}.new-preview-body p{color:var(--muted);font-size:.875rem}.new-preview-body strong{color:var(--blue);font-size:1.25rem}
.new-product-image-panel details{margin-top:14px;font-size:.875rem}.new-product-image-panel summary{cursor:pointer;padding-block:10px}
.new-product-status{padding:12px 14px;background:#edf3ff;border-radius:9px;color:var(--blue-dark);line-height:1.5;font-size:1rem}.new-product-status.error{background:#fff0ed;color:#9c3026}
.new-product-dialog .team-dialog-actions{position:sticky;bottom:-24px;background:white;padding-block:16px;border-top:1px solid #e1e7f1}
@media(max-width:700px){.new-product-layout{grid-template-columns:1fr;gap:18px}.new-product-dialog{padding:16px;max-height:96dvh}.new-product-dialog .team-dialog-actions{bottom:-16px;flex-wrap:wrap}.new-product-fields .team-form-grid{grid-template-columns:1fr 1fr}.new-product-cover{height:190px}}
@media(max-width:390px){.new-product-fields .team-form-grid{grid-template-columns:1fr}}

.inventory-barcode{grid-column:1/-1;border-top:1px solid #edf0f5;padding-top:12px}.inventory-barcode .inventory-row-status:empty{display:none}

.manual-sale-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(16rem,22rem); grid-template-areas:"categories categories" "scales scales" "catalog cart"; column-gap:1.1rem; align-items:start; }
#manual-sale-categories { grid-area:categories; min-width:0; }
#manual-sale-scale-menu { grid-area:scales; min-width:0; }
.manual-sale-catalog { grid-area:catalog; min-width:0; }
.manual-sale-filters { margin-top:1rem; }
.manual-sale-layout .products { grid-template-columns:repeat(2,minmax(0,1fr)); }
.manual-sale { grid-area:cart; position:sticky; top:1rem; text-align:left; margin-top:1rem; }
.manual-sale h3 { margin:0 0 .75rem; }
.manual-sale-lines { list-style:none; padding:0; margin:0 0 .75rem; max-height:46dvh; overflow:auto; }
.manual-sale-lines li { display:flex; align-items:flex-start; gap:.6rem; border-bottom:1px solid var(--line); padding:.65rem 0; }
.manual-sale-line-body { flex:1; min-width:0; overflow-wrap:anywhere; }
.manual-sale-thumbnail { flex:none; width:56px; height:56px; object-fit:contain; background:#eef2f8; border:1px solid var(--line); border-radius:7px; }
.manual-sale-line-actions { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; margin-top:.35rem; }
.manual-sale-line-actions button { min-width:2rem; min-height:2rem; }
.manual-sale .team-actions { align-items:center; justify-content:space-between; }
.manual-sale-product select { width:100%; margin-top:.5rem; }
.manual-sale-product .product-price { margin-top:.45rem; }
.manual-sale-product .inventory-specs { margin-bottom:.4rem; }
.manual-sale-product-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; margin-top:auto; }
.manual-sale-product-actions .card-add { margin-top:0; }
.manual-sale-product-actions button:disabled { opacity:.5; cursor:not-allowed; }
#manual-sale-more { margin:1rem auto; display:block; }
@media (width > 850px) {
  .manual-sale-layout { grid-template-columns:minmax(0,1fr) clamp(16rem,25vw,22rem); }
  .manual-sale-layout .products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
  .manual-sale-product .product-media { height:104px; }
  .manual-sale-product .card-body { padding:8px; }
  .manual-sale-product h3 { font-size:.875rem; overflow-wrap:anywhere; }
  .manual-sale-product .inventory-specs { margin:4px 0; font-size:.75rem; }
  .manual-sale-product .product-price { font-size:1rem; }
  .manual-sale-product .card-add { padding:5px 2px; font-size:.72rem; }
}
@media (max-width:850px) {
  .manual-sale-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"cart" "categories" "scales" "catalog"; }
  .manual-sale { position:static; }
}
@media (max-width:700px) {
  .manual-sale-layout .products { gap:8px; }
  .manual-sale-product .product-media { height:86px; padding-top:0; }
  .manual-sale-product .brand-logo-badge { width:46px; height:20px; }
  .manual-sale-product .card-body { padding:7px; }
  .manual-sale-product .product-brand { font-size:.65rem; }
  .manual-sale-product h3 { margin-top:3px; font-size:.875rem; overflow-wrap:anywhere; }
  .manual-sale-product .inventory-specs { margin:3px 0; font-size:.72rem; line-height:1.25; }
  .manual-sale-product select { min-height:36px; margin-top:4px; padding:4px; font-size:.78rem; }
  .manual-sale-product .product-price { margin-top:4px; font-size:1rem; }
  .manual-sale-product .card-add { margin-top:auto; padding:5px 3px; font-size:.75rem; line-height:1.15; }
}

.manual-sale-price { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; margin:.35rem 0; font-size:.875rem; }
.manual-sale-price input { width:8rem; max-width:100%; min-height:40px; padding:.4rem .5rem; border:1px solid #c9d3e4; border-radius:6px; font:inherit; font-size:1rem; }
.manual-sale-price input[aria-invalid="true"] { border-color:#a32b22; }

.manual-sale-payment { display:grid; gap:.35rem; margin:.65rem 0; font-weight:700; }
.manual-sale-payment select { width:100%; min-height:44px; padding:.4rem; border:1px solid #c9d3e4; border-radius:6px; background:#fff; font:inherit; }

.manual-sale-back-to-cart { display:none; }
@media (max-width:700px) {
  #manual-sale-section { padding-bottom:3.5rem; }
  #manual-sale-form { scroll-margin-top:5rem; }
  .manual-sale-back-to-cart {
    position:fixed;
    right:max(1rem, env(safe-area-inset-right));
    bottom:calc(1rem + env(safe-area-inset-bottom));
    z-index:10;
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    min-height:44px;
    box-shadow:0 3px 14px #142a5933;
  }
}

.reports-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
.reports-filters button { align-self:end; min-height:44px; }
.reports-summary { grid-template-columns:repeat(4,minmax(0,1fr)); }
#reports-status:empty { display:none; }
@media (max-width:700px) {
  .reports-filters, .reports-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.new-product-cover.has-remote-preview { padding-bottom:54px; }
@media (max-width:700px) {
  .new-product-cover.has-remote-preview { padding-bottom:48px; }
}

@media (min-width:1001px){#inventory-section .inventory-filters{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr))}}
