/* Scoped from published SABSUS Order ver_039e868afe40a816ba1cd81d. */
.crm-order-picker .counter{
  font-size: 10px;
  font-weight: 700;
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #b2cef43a;
  color: #355f91;
}
.crm-order-picker .counter.red{
  color: var(--danger);
  background: #e5a7b220;
}
.crm-order-picker .product-row{
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 128px 97px 88px 32px;
  gap: 10px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}
.crm-order-picker .product-cell{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.crm-order-picker .product-image{
  width: 44px;
  height: 48px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  background: #d8e9f82e;
  border-radius: 12px;
}
.crm-order-picker .product-image svg{
  width: 44px;
  height: 44px;
}
.crm-order-picker .product-name{
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.crm-order-picker .product-cell small{
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.crm-order-picker .qty{
  display: flex;
  align-items: center;
  border: 1px solid #639de142;
  border-radius: 10px;
  height: 39px;
  min-width: 0;
  overflow: hidden;
}
.crm-order-picker .qty button{
  width: 30px;
  flex: 0 0 30px;
  height: 37px;
  font-size: 17px;
  color: #2d69bc;
}
.crm-order-picker .qty input{
  width: 100%;
  min-width: 25px;
  flex: 1;
  border: 0;
  background: transparent;
  text-align: center;
  outline: 0;
  height: 36px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding: 0 2px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.crm-order-picker .qty input::-webkit-inner-spin-button,.crm-order-picker .price-field::-webkit-inner-spin-button{
  appearance: none;
}
.crm-order-picker .price-control{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 4px;
}
.crm-order-picker .price-control .price-entry{
  display: flex;
  align-items: center;
  border: 1px solid #78a5df43;
  border-radius: 10px;
  min-height: 39px;
  width: 100%;
}
.crm-order-picker .price-field{
  border: 0;
  background: transparent;
  font-size: 12px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  padding: 0 9px;
  outline: 0;
  height: 37px;
  appearance: textfield;
}
.crm-order-picker .table-labels{
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 128px 97px 88px 32px;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  padding: 14px 0 5px;
}
.crm-order-picker .modal-footer .total-block{
  margin-right: auto;
}
.crm-order-picker .modal-footer .total-block span{
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.crm-order-picker .modal-footer .total-block strong{
  font-size: 23px;
  color: #103665;
}
.crm-order-picker .picker-dialog .dialog-scroll{
  padding: 24px 20px 19px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
}
.crm-order-picker .picker-dialog .modal-head{
  padding: 0 5px;
}
.crm-order-picker .picker-grid{
  display: grid;
  grid-template-columns: 37% minmax(0, 1fr);
  gap: 15px;
  min-height: 0;
  flex: 1;
}
.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{
  border: 1px solid #8bb3df40;
  border-radius: 16px;
  background: transparent;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.crm-order-picker .picker-catalog .search-shell{
  flex: 0 0 auto;
  min-width: 0;
}
.crm-order-picker .catalog-categories{
  display: flex;
  gap: 5px;
  overflow-x: auto;
  flex-shrink: 0;
  padding: 11px 0 8px;
}
.crm-order-picker .catalog-scroll{
  max-height: 440px;
  min-height: 140px;
  overflow-y: auto;
  padding-right: 3px;
  flex: 1;
}
.crm-order-picker .catalog-row .product-image{
  width: 40px;
  height: 44px;
  flex-basis: 40px;
}
.crm-order-picker .catalog-row .product-image svg{
  width: 37px;
  height: 37px;
}
.crm-order-picker .catalog-row .product-name{
  font-size: 11px;
}
.crm-order-picker .catalog-row .catalog-price{
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}
.crm-order-picker .picker-selected h3{
  padding: 3px 2px 12px;
  font-size: 14px;
  color: #163359;
}
.crm-order-picker .selected-scroll{
  flex: 1;
  overflow-y: auto;
  max-height: 455px;
  padding-right: 3px;
  min-height: 190px;
}
.crm-order-picker .picker-selected .table-labels,.crm-order-picker .picker-selected .product-row{
  grid-template-columns: minmax(105px, 1fr) 116px 97px 83px 27px;
  gap: 8px;
}
.crm-order-picker .picker-selected .product-image{
  width: 36px;
  height: 42px;
  flex-basis: 36px;
}
.crm-order-picker .picker-selected .product-image svg{
  width: 36px;
  height: 36px;
}
.crm-order-picker .picker-selected .product-name{
  font-size: 11px;
}
.crm-order-picker .picker-selected .product-row{
  min-height: 86px;
}
.crm-order-picker .picker-selected .product-cell{
  gap: 6px;
}
.crm-order-picker .picker-selected .amount{
  font-size: 11px;
}
.crm-order-picker .picker-selected .row-menu{
  min-width: 28px;
  width: 28px;
}
.crm-order-picker .picker-footer{
  padding: 13px 4px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.crm-order-picker .picker-footer .button{
  font-size: 11px;
  padding: 0 11px;
}
.crm-order-picker .picker-footer .total-block{
  margin-right: auto;
}
.crm-order-picker .picker-footer .total-block > span{
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.crm-order-picker .picker-footer .total-block > strong{
  font-size: 23px;
  letter-spacing: -.6px;
  line-height: 1.4;
}
.crm-order-picker .picker-tools{
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}
.crm-order-picker .picker-tools button{
  font-size: 10px;
  min-height: 35px;
}
.crm-order-picker .option-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.crm-order-picker .option-card{
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid #7fafe044;
  border-radius: 13px;
  min-height: 97px;
  text-align: left;
}
.crm-order-picker .option-card strong{
  font-size: 12px;
}
.crm-order-picker .option-card span{
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.crm-order-picker .option-card .icon{
  color: #497fb9;
}
.crm-order-picker .option-card.active{
  border-color: #075aff;
  background: #5d9cf814;
}
.crm-order-picker .option-card.active .icon{
  color: #075aff;
}
.crm-order-picker .mobile-tab-switch{
  display: none;
}
@media (max-width: 1250px){.crm-order-picker .product-row,.crm-order-picker .table-labels{
    grid-template-columns: minmax(112px, 1fr) 112px 87px 75px 27px;
    gap: 7px;
  }
.crm-order-picker .picker-selected .table-labels,.crm-order-picker .picker-selected .product-row{
    grid-template-columns: minmax(99px, 1fr) 104px 88px 76px 27px;
    gap: 6px;
  }
.crm-order-picker .picker-selected .product-image{
    display: none;
  }
}
@media (max-width: 900px){.crm-order-picker .picker-grid{
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 10px;
  }
.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{
    padding: 10px;
  }
.crm-order-picker .catalog-row .product-image{
    display: none;
  }
.crm-order-picker .catalog-row .catalog-price{
    font-size: 10px;
  }
.crm-order-picker .catalog-row .product-name{
    font-size: 11px;
  }
.crm-order-picker .picker-selected .table-labels,.crm-order-picker .picker-selected .product-row{
    grid-template-columns: minmax(97px, 1fr) 96px 80px 73px 24px;
    gap: 5px;
  }
.crm-order-picker .qty button{
    width: 27px;
    flex-basis: 27px;
  }
.crm-order-picker .picker-selected .product-name{
    font-size: 10px;
  }
.crm-order-picker .picker-selected .amount{
    font-size: 10px;
  }
.crm-order-picker .picker-footer .button{
    padding: 0 8px;
    font-size: 10px;
  }
.crm-order-picker .picker-footer .total-block > strong{
    font-size: 20px;
  }
.crm-order-picker .option-grid{
    gap: 8px;
  }
}
@media (max-width: 760px){.crm-order-picker .tabs .tab .counter{
    font-size: 9px;
    min-width: 16px;
    padding-inline: 4px;
  }
.crm-order-picker .table-labels{
    display: none;
  }
.crm-order-picker .product-row{
    grid-template-columns: minmax(130px, 1fr) 92px 30px;
    grid-template-rows: auto auto;
    gap: 10px 7px;
    padding: 14px 0;
    min-height: 114px;
  }
.crm-order-picker .product-row .product-cell{
    grid-column: 1/3;
    grid-row: 1;
  }
.crm-order-picker .product-row .row-menu{
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
.crm-order-picker .product-row .qty{
    grid-column: 1;
    grid-row: 2;
    width: 126px;
  }
.crm-order-picker .product-row .price-control{
    grid-column: 2;
    grid-row: 2;
  }
.crm-order-picker .product-row .amount{
    grid-column: 3;
    grid-row: 2;
    display: none;
  }
.crm-order-picker .product-image{
    width: 35px;
    height: 39px;
    flex-basis: 35px;
  }
.crm-order-picker .product-image svg{
    width: 35px;
    height: 35px;
  }
.crm-order-picker .product-name{
    font-size: 12px;
  }
.crm-order-picker .qty{
    height: 42px;
  }
.crm-order-picker .qty input{
    font-size: 16px;
    height: 40px;
  }
.crm-order-picker .qty button{
    width: 35px;
    flex-basis: 35px;
    height: 40px;
  }
.crm-order-picker .price-field{
    font-size: 16px;
    height: 40px;
    padding: 0 7px;
  }
.crm-order-picker .product-cell small{
    font-size: 9px;
  }
.crm-order-picker .modal-footer .total-block{
    flex: 0 0 100%;
    margin-bottom: 5px;
  }
.crm-order-picker .picker-dialog .dialog-scroll{
    padding: 21px 12px 12px;
    max-height: calc(100dvh - 22px);
  }
.crm-order-picker .picker-dialog .modal-head{
    padding: 0 4px;
    margin-bottom: 10px;
  }
.crm-order-picker .picker-dialog .modal-head h2{
    font-size: 20px;
  }
.crm-order-picker .picker-dialog .modal-head .modal-subtitle{
    font-size: 10px;
    margin-bottom: 5px;
  }
.crm-order-picker .mobile-tab-switch{
    display: flex;
    gap: 5px;
    margin: 0 4px 9px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    flex-shrink: 0;
  }
.crm-order-picker .mobile-tab-switch button{
    flex: 1;
    min-height: 39px;
    border-radius: 9px;
    font-size: 11px;
    color: var(--muted);
  }
.crm-order-picker .mobile-tab-switch button.active{
    background: #adcdef32;
    color: #134a90;
    font-weight: 700;
  }
.crm-order-picker .picker-grid{
    display: block;
    min-height: 0;
    overflow: hidden;
  }
.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{
    padding: 10px;
    min-height: 0;
    max-height: calc(100dvh - 195px);
    border-radius: 13px;
  }
.crm-order-picker .picker-grid[data-mobile=selected] .picker-catalog{
    display: none;
  }
.crm-order-picker .picker-grid[data-mobile=catalog] .picker-selected{
    display: none;
  }
.crm-order-picker .picker-grid[data-mobile=catalog] .picker-catalog{
    max-height: calc(100dvh - 190px);
  }
.crm-order-picker .catalog-scroll{
    max-height: calc(100dvh - 350px);
    min-height: 125px;
  }
.crm-order-picker .catalog-row .product-image{
    display: grid;
    width: 35px;
    height: 39px;
    flex-basis: 35px;
  }
.crm-order-picker .catalog-row .product-image svg{
    width: 33px;
    height: 33px;
  }
.crm-order-picker .catalog-row .product-name{
    font-size: 12px;
  }
.crm-order-picker .catalog-row .catalog-price{
    font-size: 11px;
  }
.crm-order-picker .picker-tools{
    gap: 4px;
  }
.crm-order-picker .picker-tools .link-button{
    font-size: 10px;
  }
.crm-order-picker .picker-selected h3{
    display: none;
  }
.crm-order-picker .selected-scroll{
    max-height: calc(100dvh - 310px);
    min-height: 180px;
    padding-right: 4px;
  }
.crm-order-picker .picker-selected .table-labels{
    display: none;
  }
.crm-order-picker .picker-selected .product-row{
    grid-template-columns: minmax(105px, 1fr) 100px 33px;
    grid-template-rows: auto auto;
    gap: 9px 6px;
    min-height: 115px;
    padding: 10px 0;
  }
.crm-order-picker .picker-selected .product-cell{
    grid-column: 1/3;
  }
.crm-order-picker .picker-selected .product-name{
    font-size: 12px;
  }
.crm-order-picker .picker-selected .product-image{
    display: grid;
    width: 30px;
    height: 35px;
    flex-basis: 30px;
  }
.crm-order-picker .picker-selected .product-image svg{
    width: 30px;
    height: 30px;
  }
.crm-order-picker .picker-selected .qty{
    grid-column: 1;
    width: 123px;
    height: 41px;
  }
.crm-order-picker .picker-selected .price-control{
    grid-column: 2;
  }
.crm-order-picker .picker-selected .amount{
    display: none;
  }
.crm-order-picker .picker-selected .row-menu{
    grid-column: 3;
    width: 32px;
    min-width: 32px;
    height: 44px;
  }
.crm-order-picker .picker-selected .price-field{
    font-size: 15px;
  }
.crm-order-picker .picker-footer{
    padding: 13px 0 0;
    gap: 7px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }
.crm-order-picker .picker-footer .total-block{
    flex: 1;
    min-width: 100px;
  }
.crm-order-picker .picker-footer .total-block > strong{
    font-size: 21px;
  }
.crm-order-picker .picker-footer .total-block > span{
    font-size: 9px;
  }
.crm-order-picker .picker-footer .button{
    font-size: 11px;
    padding: 0 11px;
    min-height: 44px;
  }
.crm-order-picker .picker-footer .picker-cancel{
    display: none;
  }
.crm-order-picker .option-grid{
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
.crm-order-picker .option-card{
    min-height: 90px;
    padding: 13px;
  }
.crm-order-picker .option-card strong{
    font-size: 12px;
  }
.crm-order-picker .option-card span{
    font-size: 10px;
  }
.crm-order-picker .payment-methods .option-card{
    padding: 11px;
    min-height: 85px;
  }
.crm-order-picker .payment-methods .option-card strong{
    font-size: 11px;
  }
.crm-order-picker .payment-methods .option-card span{
    font-size: 9px;
  }
.crm-order-picker .mobile-tab-switch .counter{
    font-size: 9px;
  }
}
@media (max-width: 370px){.crm-order-picker .picker-footer .button{
    font-size: 10px;
    padding: 0 9px;
  }
.crm-order-picker .picker-selected .product-row{
    grid-template-columns: minmax(90px, 1fr) 88px 29px;
  }
.crm-order-picker .picker-selected .qty{
    width: 111px;
  }
.crm-order-picker .picker-selected .qty button{
    width: 29px;
    flex-basis: 29px;
  }
.crm-order-picker .picker-selected .product-cell small{
    font-size: 8px;
  }
.crm-order-picker .catalog-row .product-image{
    width: 30px;
    flex-basis: 30px;
  }
.crm-order-picker .catalog-row .product-name{
    font-size: 11px;
  }
}
@media (max-height: 600px) and (min-width: 761px){.crm-order-picker .picker-dialog .dialog-scroll{
    max-height: calc(100dvh - 30px);
  }
.crm-order-picker .catalog-scroll,.crm-order-picker .selected-scroll{
    max-height: calc(100dvh - 267px);
    min-height: 90px;
  }
}
@media (min-width: 761px){.crm-order-picker .picker-dialog .catalog-row .product-name,.crm-order-picker .picker-dialog .product-name{
    font-size: 13px;
  }
.crm-order-picker .picker-dialog .catalog-row .catalog-price{
    font-size: 13px;
  }
.crm-order-picker .picker-dialog .product-cell small,.crm-order-picker .picker-dialog .subline{
    font-size: 10px;
  }
.crm-order-picker .picker-dialog .table-labels{
    font-size: 11px;
  }
.crm-order-picker .picker-dialog .qty input,.crm-order-picker .picker-dialog .price-field{
    font-size: 14px;
  }
.crm-order-picker .picker-dialog .amount{
    font-size: 13px;
  }
.crm-order-picker .picker-dialog .catalog-row{
    min-height: 74px;
  }
.crm-order-picker .picker-selected .product-row{
    min-height: 92px;
  }
.crm-order-picker .picker-dialog .modal-subtitle{
    font-size: 12px;
  }
.crm-order-picker .picker-dialog .price-source{
    font-size: 10px;
  }
.crm-order-picker .picker-dialog .picker-tools button{
    font-size: 11px;
  }
}
@media (min-width: 761px) and (max-width: 1250px){.crm-order-picker .picker-dialog .product-name,.crm-order-picker .picker-dialog .catalog-row .product-name{
    font-size: 12px;
  }
.crm-order-picker .picker-dialog .amount{
    font-size: 11px;
  }
.crm-order-picker .picker-dialog .catalog-row .catalog-price{
    font-size: 12px;
  }
}
.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{
  box-shadow: 0 5px 16px #316aaa09;
}
.crm-order-picker .product-row input:disabled{
  color: #647993;
}
.crm-order-picker .product-row button:disabled{
  opacity: .3;
  cursor: not-allowed;
}
.crm-order-picker .qty button,.crm-order-picker .catalog-row .add-product{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.crm-order-picker .line-modifier-label{
  max-width: 240px;
  white-space: normal;
}
@media (max-width: 760px){.crm-order-picker .product-row,.crm-order-picker .picker-selected .product-row{
    grid-template-rows: auto auto auto;
  }
.crm-order-picker .product-row .amount,.crm-order-picker .picker-selected .product-row .amount{
    display: flex;
    grid-column: 1/4;
    grid-row: 3;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 2px 0 0;
    text-align: right;
  }
.crm-order-picker .product-row .amount::before{
    content: "\421\443\43c\43c\430  \43f\43e\437\438\446\438\438";
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
  }
}
.crm-order-picker body[data-glass-mode=dark] .field-shell,.crm-order-picker body[data-glass-mode=dark] .qty,.crm-order-picker body[data-glass-mode=dark] .price-entry{
  background: rgba(10, 20, 36, .4);
  color: var(--ink);
}
.crm-order-picker .product-row .price-control{
  position: relative;
  gap: 0;
}
.crm-order-picker .product-row .price-source{
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 14px;
}
@media (min-width: 761px){.crm-order-picker .picker-selected .price-field{
    padding: 0 4px;
    font-size: 12px;
  }
.crm-order-picker .picker-selected .history-trigger{
    width: 24px;
    min-width: 24px;
    flex: 0 0 24px;
  }
}
@media (max-width: 760px){.crm-order-picker .product-row .price-control{
    margin-bottom: 18px;
    align-self: start;
  }
.crm-order-picker .product-row .qty{
    align-self: start;
  }
}
.crm-order-picker .purchase-grid .picker-footer{
  flex-wrap: wrap;
  gap: 12px;
}
.crm-order-picker .purchase-grid .picker-footer .total-block{
  margin-right: auto;
}
.crm-order-picker .purchase-grid .picker-selected{
  min-width: 0;
}
.crm-order-picker .purchase-grid .catalog-scroll{
  min-height: 0;
}
.crm-order-picker .purchase-grid .selected-scroll{
  padding-bottom: 10px;
}
@media (max-width: 760px){.crm-order-picker .purchase-grid[data-mobile=catalog] .picker-selected{
    display: none;
  }
.crm-order-picker .purchase-grid[data-mobile=selected] .picker-catalog{
    display: none;
  }
.crm-order-picker .purchase-grid .picker-footer .button{
    padding: 10px;
  }
.crm-order-picker .purchase-grid .picker-footer{
    gap: 8px;
  }
}
.crm-order-picker .purchase-product-label .catalog-thumb{
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.crm-order-picker .doc-starters .option-card{
  min-height: 100px;
  display: grid;
  text-align: left;
  gap: 8px;
}
.crm-order-picker .catalog-type-tabs .counter{
  margin: 0;
  min-width: 22px;
}
.crm-order-picker .catalog-type-tabs .status-filter.active .counter{
  color: #fff;
  background: rgba(0, 24, 91, .28);
  opacity: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.crm-order-picker .catalog-type-tabs .counter{
  color: inherit;
  opacity: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.crm-order-picker .product-photo-button > img[src$="/7493/01-5b599c8e36b2.webp"],.crm-order-picker .product-photo-frame > img[src$="/7493/01-5b599c8e36b2.webp"]{
  height: 100% !important;
  width: auto !important;
  max-width: none;
  max-height: 100%;
}
.crm-order-picker .product-photo-button:has(> img[src$="/7493/01-5b599c8e36b2.webp"]),.crm-order-picker .product-photo-frame:has(> img[src$="/7493/01-5b599c8e36b2.webp"]){
  display: flex;
  align-items: center;
  justify-content: center;
}
.crm-order-picker .qty button{
  display: grid;
  place-items: center;
  line-height: 1;
}
.crm-order-picker .price-control:has(.price-addons){
  align-self: center;
}
.crm-order-picker .purchase-grid .selected-scroll{
  overflow-x: hidden;
  min-width: 0;
}
.crm-order-picker .purchase-grid .picker-selected{
  container-type: inline-size;
}
.crm-order-picker .picker-catalog .search-shell{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 6px;
}
.crm-order-picker .picker-catalog .search-shell input{
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  padding-right: 0;
}
.crm-order-picker .picker-catalog .search-shell > input,.crm-order-picker .picker-catalog .search-shell > svg{
  position: relative;
  z-index: 1;
}
.crm-order-picker .picker-catalog .search-shell > .icon-btn{
  position: static;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  margin-left: auto;
  margin-right: 0;
}
.crm-order-picker .picker-catalog .catalog-categories{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  flex-shrink: 0;
}
.crm-order-picker .picker-catalog .catalog-categories > .category{
  flex: 0 0 auto;
  white-space: nowrap;
}
.crm-order-picker .product-image-preview{
  margin: 14px 0;
  background: rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 12px;
}
.crm-order-picker .product-image-preview button{
  border: 0;
  background: none;
  width: 100%;
  cursor: zoom-in;
}
.crm-order-picker .product-image-preview img{
  display: block;
  object-fit: contain;
  width: 100%;
  max-height: 280px;
}
.crm-order-picker .product-image-full{
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: auto;
}
.crm-order-picker .receipt-template-options .option-card{
  width: 100%;
  text-align: left;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px){.crm-order-picker .receipt-template-options .option-card{
    padding: 12px;
  }
}
.crm-order-picker .catalog-category-nav{
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex-shrink: 0;
  margin: 8px 0;
}
.crm-order-picker .catalog-category-nav > .icon-btn{
  width: 28px;
  height: 32px;
  min-width: 28px;
  flex: 0 0 28px;
}
.crm-order-picker .catalog-category-nav > .icon-btn:disabled{
  opacity: .3;
}
.crm-order-picker .catalog-category-nav.no-overflow > .icon-btn{
  display: none;
}
.crm-order-picker .picker-catalog .catalog-category-nav > .catalog-categories{
  flex: 1;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 4px 0 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #75aadd transparent;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}
.crm-order-picker .catalog-category-nav .catalog-categories::-webkit-scrollbar{
  height: 4px;
}
.crm-order-picker .catalog-category-nav .catalog-categories::-webkit-scrollbar-thumb{
  background: #75aadd;
  border-radius: 4px;
}
.crm-order-picker .catalog-category-nav .category{
  flex: none;
  white-space: nowrap;
}
.crm-order-picker .catalog-category-nav .category:focus-visible{
  outline: 2px solid var(--accent,#075aff);
  outline-offset: -2px;
}
.crm-order-picker .product-photo-button{
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 2px;
  border: 0;
  background: transparent;
  border-radius: inherit;
  cursor: zoom-in;
}
.crm-order-picker .catalog-product-photo{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 7px;
}
.crm-order-picker .product-image:has(.product-photo-button){
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #fff9;
  border-radius: 9px;
}
.crm-order-picker .product-art-large .product-photo-button{
  min-height: 100px;
}
.crm-order-picker .product-photo-fallback[hidden],.crm-order-picker .catalog-product-photo[hidden]{
  display: none;
}
.crm-order-picker .product-art-large > .product-photo-button{
  position: absolute;
  inset: 0;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.crm-order-picker .product-photo-button{
  overflow: hidden;
  box-sizing: border-box;
}
.crm-order-picker .product-art-large .catalog-product-photo{
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
}
.crm-order-picker .mini-item .product-photo-button{
  width: 100%;
  height: 100%;
}
.crm-order-picker .picker-selected > #purchase-comment{
  margin-bottom: 12px;
}
.crm-order-picker .paged-product-row{
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 40px;
  gap: 12px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line,rgba(65,122,180,.16));
  min-width: 0;
}
.crm-order-picker .paged-product-row:not(:has(.catalog-price)){
  grid-template-columns: 48px minmax(0, 1fr) 40px;
}
.crm-order-picker .catalog-thumb{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
}
.crm-order-picker .catalog-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, .65);
}
.crm-order-picker .paged-product-name,.crm-order-picker .recipe-product{
  min-width: 0;
  overflow-wrap: anywhere;
}
.crm-order-picker .paged-product-name strong,.crm-order-picker .recipe-product strong{
  display: block;
  font-size: 13px;
  line-height: 1.4;
}
.crm-order-picker .paged-product-name small,.crm-order-picker .recipe-product small{
  display: block;
  color: var(--muted,#4d6b92);
  font-size: 10px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.crm-order-picker .catalog-page-state{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 54px;
  padding: 12px;
  font-size: 12px;
  color: var(--muted,#4d6b92);
}
@media (max-width: 560px){.crm-order-picker .recipe-line > .catalog-thumb{
    width: 40px;
    height: 40px;
  }
.crm-order-picker .paged-product-row{
    gap: 8px;
    grid-template-columns: 40px minmax(0, 1fr) auto 36px;
  }
.crm-order-picker .catalog-thumb{
    width: 40px;
    height: 40px;
  }
}
.crm-order-picker .catalog-thumb > .product-photo-button{
  width: 100%;
  height: 100%;
}
.crm-order-picker .paged-catalog-grid .product-art-large > .product-photo-button{
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.crm-order-picker .paged-catalog-grid .product-art-large .catalog-product-photo{
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.crm-order-picker .writeoff-product .product-photo-button{
  flex-shrink: 0;
}
.crm-order-picker .writeoff-product > .product-photo-button{
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  border-radius: 10px;
  overflow: hidden;
}
.crm-order-picker .writeoff-product .catalog-product-photo{
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.crm-order-picker .promotion-templates .option-card{
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  min-height: 165px;
}
@media (max-width: 700px){.crm-order-picker .promotion-templates .option-card{
    min-height: 145px;
    padding: 16px;
  }
}
.dialog.wide:has(.crm-order-picker){width:min(1230px,calc(100vw - 32px));max-width:none}
.dialog:has(.crm-order-picker) .dialog-scroll{max-height:calc(100dvh - 64px)}
.crm-order-picker{--blue:var(--primary,#075aff);--green:#278757;--danger:#b85060;--line:#80a8d333;min-width:0;color:var(--ink)}
.crm-order-picker h2{margin:0 0 8px;font-size:24px}
.crm-order-picker h3{font-size:14px}
.crm-order-picker .order-picker-context{display:flex;gap:8px;margin:16px 0}
.crm-order-picker .order-picker-context .button{display:flex;gap:20px;justify-content:space-between}
.crm-order-picker .picker-grid{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1fr);gap:18px;height:min(530px,calc(100dvh - 255px));min-height:340px}
.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px;border-radius:20px;overflow:hidden}
.crm-order-picker .catalog-scroll,.crm-order-picker .selected-scroll{flex:1;overflow:auto;min-height:0}
.crm-order-picker .catalog-category-nav{display:flex;align-items:center;gap:5px;margin:10px 0}
.crm-order-picker .catalog-categories{display:flex;gap:6px;overflow:auto;white-space:nowrap;min-width:0;padding-bottom:6px}
.crm-order-picker .category{padding:7px 10px;border-radius:9px;flex-shrink:0;font-size:11px}
.crm-order-picker .category.active{background:#075aff;color:white}
.crm-order-picker .catalog-category-nav>button{flex-shrink:0;width:25px;height:30px}
.crm-order-picker .paged-product-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 34px;gap:9px;align-items:center;min-height:75px;border-bottom:1px solid var(--line)}
.crm-order-picker .paged-product-name strong{font-size:13px;display:block;overflow-wrap:anywhere}
.crm-order-picker small{display:block;color:var(--muted);font-size:10px;line-height:1.5}
.crm-order-picker .catalog-thumb{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}
.crm-order-picker .catalog-product-photo{width:100%;height:100%;object-fit:contain;border-radius:7px}
.crm-order-picker .catalog-price{font-size:12px;white-space:nowrap}
.crm-order-picker .picker-tools{display:flex;justify-content:space-between;gap:8px;margin-top:8px}
.crm-order-picker .picker-tools .button{font-size:11px;min-height:36px;padding:0 8px}
.crm-order-picker .catalog-page-state{display:grid;place-items:center;padding:15px;font-size:11px;color:var(--muted)}
.crm-order-picker .product-row,.crm-order-picker .table-labels{display:grid;grid-template-columns:minmax(140px,1fr) 110px 90px 75px 30px;gap:9px;align-items:center}
.crm-order-picker .table-labels{font-size:10px;color:var(--muted);padding:10px 0;border-bottom:1px solid var(--line)}
.crm-order-picker .product-row{padding:14px 0;border-bottom:1px solid var(--line);min-height:100px}
.crm-order-picker .product-cell{display:flex;gap:8px;align-items:center;min-width:0}
.crm-order-picker .product-cell strong{font-size:12px;overflow-wrap:anywhere}
.crm-order-picker .product-cell .button{font-size:10px;min-height:26px;padding:0;color:var(--blue);background:transparent;white-space:normal;text-align:left;justify-content:flex-start}
.crm-order-picker .qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;width:110px;height:38px}
.crm-order-picker .qty button{width:29px;flex-shrink:0;height:36px}
.crm-order-picker .qty input{width:48px;min-width:0;text-align:center;padding:0;border:0;background:transparent;color:var(--ink)}
.crm-order-picker .qty input::-webkit-inner-spin-button{appearance:none}
.crm-order-picker .price-field{width:90px;padding:8px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:13px}
.crm-order-picker .price-control .button{font-size:9px;min-height:25px;padding:0 4px}
.crm-order-picker .line-amount{font-size:12px;text-align:right}
.crm-order-picker .picker-footer{display:flex;align-items:center;gap:8px;padding-top:15px;border-top:1px solid var(--line);flex-shrink:0}
.crm-order-picker .total-block{margin-right:auto;min-width:0}
.crm-order-picker .total-block strong{display:block;font-size:23px;white-space:nowrap}
.crm-order-picker .picker-footer>.button{padding:0 12px;font-size:12px}
.crm-order-picker .order-picker-empty{height:100%;display:grid;align-content:center;justify-items:center;text-align:center;color:var(--muted);gap:12px;padding:25px}
.crm-order-picker .order-picker-empty svg{width:34px;height:34px}
.crm-order-picker .order-picker-empty p{font-size:12px;line-height:1.5}
.crm-order-picker .option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:25px}
.crm-order-picker .option-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-height:125px;padding:22px;border:1px solid var(--line);border-radius:18px;text-align:left;background:#a8cff517}
.crm-order-picker .option-card.active{border-color:#075aff;background:#075aff14}
.crm-order-picker .option-card span{color:var(--muted);font-size:12px}
.crm-order-picker .modifier-quantity{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid var(--line)}
.crm-order-picker .modifier-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
.crm-order-picker .form-error:empty{display:none}
.crm-order-picker textarea{width:100%;padding:15px;border:1px solid var(--line);border-radius:15px;color:var(--ink);background:#a8cff512}
.crm-order-picker .mobile-tab-switch,.crm-order-picker .mobile-picker-next{display:none}
.proposal-product>div{min-width:0;flex:1}.proposal-product>strong{font-size:13px}.proposal-modifier{padding-left:12px}.proposal-interests{margin-top:20px}.proposal-interests .proposal-item{display:flex;justify-content:space-between;align-items:center}
@media(max-width:1100px) and (min-width:761px){.crm-order-picker .picker-grid{grid-template-columns:minmax(250px,.7fr) minmax(0,1fr)}.crm-order-picker .product-row,.crm-order-picker .table-labels{grid-template-columns:minmax(130px,1fr) 110px 90px 30px}.crm-order-picker .line-amount{grid-column:2/4;grid-row:2}.crm-order-picker .product-row>.icon-btn{grid-column:4;grid-row:1}.crm-order-picker .table-labels>span:last-child{display:none}}
@media(max-width:760px){.dialog.wide:has(.crm-order-picker){width:calc(100vw - 20px)}.dialog:has(.crm-order-picker) .dialog-scroll{max-height:calc(100dvh - 40px);padding:16px}.crm-order-picker h2{font-size:21px;padding-right:35px}.crm-order-picker .picker-grid{display:block;height:calc(100dvh - 265px);min-height:330px}.crm-order-picker .picker-catalog,.crm-order-picker .picker-selected{height:100%;padding:10px}.crm-order-picker .picker-grid[data-mobile=catalog] .picker-selected,.crm-order-picker .picker-grid[data-mobile=selected] .picker-catalog{display:none}.crm-order-picker .mobile-tab-switch{display:flex;margin-bottom:10px;border:1px solid var(--line);border-radius:12px;padding:4px}.crm-order-picker .mobile-tab-switch button{flex:1;padding:8px;border-radius:8px;font-size:12px}.crm-order-picker .mobile-tab-switch [aria-selected=true]{background:#075aff;color:white}.crm-order-picker .mobile-picker-next{display:block;margin-top:8px}.crm-order-picker .mobile-picker-next .button{width:100%}.crm-order-picker .product-row{grid-template-columns:minmax(0,1fr) 30px;gap:10px}.crm-order-picker .product-cell{grid-column:1;grid-row:1}.crm-order-picker .product-row>.icon-btn{grid-column:2;grid-row:1}.crm-order-picker .qty{grid-column:1;grid-row:2}.crm-order-picker .price-control{grid-column:1;grid-row:3;display:flex;align-items:center;gap:8px}.crm-order-picker .line-amount{grid-column:1/3;grid-row:4;text-align:right}.crm-order-picker .table-labels{display:none}.crm-order-picker .picker-footer{flex-wrap:wrap;gap:6px}.crm-order-picker .total-block{flex-basis:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.crm-order-picker .total-block strong{font-size:22px}.crm-order-picker .total-block small:last-child{flex-basis:100%}.crm-order-picker .picker-footer>.button{flex:1}.crm-order-picker .option-grid{grid-template-columns:1fr}.crm-order-picker .option-card{min-height:110px}}

.crm-order-picker .product-cell [data-picker="modifiers"]{display:inline-flex;margin-top:10px;margin-bottom:4px;padding:8px 12px;min-height:36px;border-radius:10px;gap:6px}

.crm-order-picker .paged-product-row[role=button]{cursor:pointer}.crm-order-picker .paged-product-row[role=button]:focus-visible{outline:2px solid #075aff;outline-offset:-2px;border-radius:10px}

/* Compact catalogue action and centred quantities, independent of generic icon buttons. */
.crm-order-picker .catalog-add-count{display:inline-flex;align-items:center;justify-content:center;align-self:center;justify-self:end;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border-radius:10px;font-size:15px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
.crm-order-picker .qty{box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;width:110px;height:36px;padding:0;gap:0}
.crm-order-picker .qty button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 30px;width:30px;min-width:30px;height:34px;min-height:0;margin:0;padding:0;line-height:1}
.crm-order-picker .qty input,.crm-order-picker .qty strong{box-sizing:border-box;flex:1 1 0;width:0;min-width:0;text-align:center;margin:0;padding:0;line-height:1.2;font-variant-numeric:tabular-nums}

/* Booking / Services requests share the existing proposal editor. */
.crm-order-picker .proposal-kind-switch{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}
.crm-order-picker .proposal-kind-switch button{padding:9px 15px;border:1px solid var(--line);border-radius:11px;font-size:12px;color:var(--ink);min-height:38px}
.crm-order-picker .proposal-kind-switch button.active{border-color:var(--blue);background:#075aff16;color:var(--blue);font-weight:650}
.crm-order-picker .line-appointment{grid-column:1/-1;min-width:0;display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#9dcaf515}
.crm-order-picker .line-appointment>strong{font-size:12px}
.crm-order-picker .appointment-fields{display:grid;grid-template-columns:1.4fr 1fr 1.4fr 1fr;gap:9px;min-width:0}
.crm-order-picker .appointment-fields label{display:grid;gap:6px;font-size:10px;color:var(--muted);min-width:0}
.crm-order-picker .appointment-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:10px;background:#b3d8f522;padding:7px;color:var(--ink);font:inherit;font-size:12px;color-scheme:light}
.crm-order-picker .appointment-fields input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.proposal-product .proposal-appointment{display:block;margin-top:7px;overflow-wrap:anywhere;white-space:normal;color:var(--muted)}
@media(max-width:760px){.crm-order-picker .appointment-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.crm-order-picker .appointment-fields input{font-size:16px}.crm-order-picker .proposal-kind-switch{margin-bottom:8px}.crm-order-picker .proposal-kind-switch button{flex:1;padding-inline:7px}.crm-order-picker .picker-grid{height:calc(100dvh - 320px);min-height:320px}.crm-order-picker .line-appointment{grid-row:auto}}

@media(min-width:761px){.crm-order-picker .picker-grid{height:min(480px,calc(100dvh - 310px));min-height:240px}}
