/* =======================================================
   00. Component contract
   ======================================================= */

/* Quick Entry and the current Quick Order presentation only. */
/* Markup, JavaScript, data, and backend behavior are separate contracts. */

/* =======================================================
   01. Floating rail position and shell
   ======================================================= */

.quick-tools-slider {
  position: fixed;
  left: 16px;
  top: 200px;
  z-index: 55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.quick-tools-slider.has-detail {
  /* Keep an open Quick Tool above page-level fixed actions such as the
     product-detail sticky buy bar (z-index: 9999). */
  z-index: 10000;
}

.nav3-container:has(> .quick-tools-slider.has-detail) {
  /* The slider is nested inside this stacking context, so its parent must
     rise with it or the child's z-index remains capped at the nav layer. */
  z-index: 10000;
  overflow: visible;
}

.quick-tools-slider.is-hidden {
  display: none;
}

.quick-tools-rail {
  width: 220px;
  min-height: 210px;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  color: #fff;
  overflow: hidden;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quick-tools-slider.is-collapsed .quick-tools-rail {
  width: 58px;
}

/* =======================================================
   02. Rail header, toggle, options, and icons
   ======================================================= */

.quick-tools-rail__head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
}

.quick-tools-slider.is-collapsed .quick-tools-rail__head {
  justify-content: center;
  padding: 0;
}

.quick-tools-rail__title {
  margin: 0;
  font: 800 16px/1 'HKX Manrope',
    sans-serif;
  color: #fff;
  white-space: nowrap;
}

.quick-tools-slider.is-collapsed .quick-tools-rail__title,
.quick-tools-slider.is-collapsed .quick-tools-option__text {
  display: none;
}

.quick-tools-rail__toggle {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.quick-tools-slider.is-expanded .quick-tools-rail__toggle i {
  transform: rotate(180deg);
}

.quick-tools-rail__list {
  display: grid;
  gap: 8px;
  padding: 12px 8px;
}

.quick-tools-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: 800 14px/1 'HKX Manrope',
    sans-serif;
  text-align: left;
  cursor: pointer;
}

.quick-tools-slider.is-collapsed .quick-tools-option {
  justify-content: center;
  padding: 7px;
}

.quick-tools-option:hover,
.quick-tools-option.is-selected {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.quick-tools-option__icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 5px;
  background: var(--pw-orange);
  color: #fff;
  font-size: 13px;
}

.quick-tools-option[data-quick-tool='excel-upload'] .quick-tools-option__icon {
  background: #168a42;
}

.quick-tools-option__icon--quick-order {
  background: var(--pw-orange);
}

.quick-tools-option__icon--excel,
.quick-tools-option[data-quick-tool='excel-upload'] .quick-tools-option__icon {
  background: #168a42;
}

.quick-tools-option__icon--phone {
  background: #2563eb;
}

.quick-tools-option__icon--email {
  background: #7c3aed;
}

/* =======================================================
   03. Collapsed rail previews
   ======================================================= */

.quick-tools-q-icon,
.quick-tools-q-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 15px/1 'HKX Manrope',
    sans-serif;
  color: #fff;
  letter-spacing: -0.03em;
}

.quick-tools-q-preview {
  font-size: 44px;
}

.quick-tools-preview__media--quick-order {
  color: var(--pw-orange);
}

.quick-tools-preview__media--excel {
  color: #22c55e;
}

.quick-tools-preview__media--phone {
  color: #60a5fa;
}

.quick-tools-preview__media--email {
  color: #a78bfa;
}

.quick-tools-preview {
  display: none;
}

.quick-tools-slider.has-detail .quick-tools-preview {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
}

/* =======================================================
   04. Detail host and panel visibility
   ======================================================= */

.quick-tools-rail,
.quick-tools-detail {
  pointer-events: auto;
}

.quick-tool-panel--quick-order {
  background: transparent;
}

.quick-tools-detail:has(.quick-tool-panel--excel:not([hidden])),
.quick-tools-detail:has(.quick-tool-panel--phone:not([hidden])),
.quick-tools-detail:has(.quick-tool-panel--email:not([hidden])) {
  --quick-tools-detail-open-width: min(520px, calc(100vw - 120px));
  max-height: calc(100vh - 160px);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quick-tool-panel--advanced {
  height: 100%;
  overflow: hidden;
  background: #f5f6f8;
}

.quick-tools-detail {
  --quick-tools-detail-open-width: min(1180px, calc(100vw - 102px));
  --quick-tools-detail-open-height: min(650px, calc(100vh - 216px));
  --quick-tools-detail-open-height: min(650px, calc(100dvh - 216px));
  width: 0;
  max-width: var(--quick-tools-detail-open-width);
  box-sizing: border-box;
  max-height: var(--quick-tools-detail-open-height);
  background: transparent;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
  display: block;
  visibility: hidden;
  pointer-events: none;
  transition:
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
  will-change: width;
}

/* The selected panel is revealed just before has-detail is added and remains
   revealed during the closing transition. Keep its host at the final height
   throughout that sequence so the width animation cannot trigger a height snap. */
.quick-tools-detail:has(.quick-tool-panel--quick-order:not([hidden])) {
  height: var(--quick-tools-detail-open-height);
  max-height: var(--quick-tools-detail-open-height);
}

.quick-tools-slider.has-detail .quick-tools-detail {
  display: block;
  visibility: visible;
  pointer-events: auto;
  width: var(--quick-tools-detail-open-width);
  height: var(--quick-tools-detail-open-height);
  max-height: var(--quick-tools-detail-open-height);
  background: transparent;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  overflow: hidden;
  transition-delay: 0s;
}

.quick-tools-slider [hidden] {
  display: none !important;
}

.quick-tools-slider .quick-tool-panel:not([hidden]) {
  display: block;
  width: var(--quick-tools-detail-open-width);
  min-width: var(--quick-tools-detail-open-width);
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.quick-tools-slider .quick-tool-panel--advanced:not([hidden]) {
  background: transparent;
  overflow: hidden;
  border-radius: 22px;
}

/* =======================================================
   05. Support panels
   ======================================================= */

.quick-tool-panel--simple {
  background: #fff;
  min-height: 260px;
}

.quick-tool-panel__head--simple {
  background: #fff;
  color: #111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.quick-tool-panel__head--simple h3 {
  color: #111;
}

.quick-tool-panel__head--simple .quick-tool-panel__close {
  color: #111;
}

.quick-tool-simple-placeholder {
  min-height: 220px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: #fff;
  color: #111;
}

.quick-tool-simple-placeholder__icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 12px 24px rgba(20, 24, 32, 0.16);
}

.quick-tool-simple-placeholder__icon--phone {
  background: #2563eb;
}

.quick-tool-simple-placeholder__icon--email {
  background: #7c3aed;
}

.quick-tool-simple-placeholder h4 {
  margin: 0 0 6px;
  font: 900 22px/1.1 'HKX Manrope',
    sans-serif;
  color: #111;
}

.quick-tool-simple-placeholder p {
  margin: 0;
  max-width: 420px;
  color: #4b5563;
  font: 600 15px/1.45 'HKX Manrope',
    sans-serif;
}

.quick-tool-panel__head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  background: #000;
  color: #fff;
}

.quick-tool-panel__head h3 {
  margin: 0;
  font: 900 16px/1 'HKX Manrope',
    sans-serif;
}

.quick-tool-panel__close {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.quick-tool-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 30px;
  color: #222;
  font: 800 15px/1.3 'HKX Manrope',
    sans-serif;
  text-align: center;
}

.quick-tool-placeholder i {
  font-size: 42px;
  color: #168a42;
}

.quick-tool-placeholder p {
  margin: 0;
}

.quick-tool-panel--excel {
  width: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.quick-tool-panel--excel .quick-tool-panel__head {
  min-height: 56px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  border-bottom: 0;
}

.quick-tool-panel--excel .quick-tool-panel__head h3 {
  margin: 0;
  font: 900 18px/1 'HKX Manrope',
    sans-serif;
  color: #fff;
}

.quick-tool-panel--excel .quick-tool-panel__close {
  color: #fff;
}

.quick-tool-panel--excel .quick-tool-placeholder {
  min-height: 264px;
  padding: 34px 28px;
  display: grid;
  place-items: center;
  gap: 14px;
  background: #fff;
  color: #111;
  text-align: center;
}

.quick-tool-panel--excel .quick-tool-placeholder i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #168a42;
  color: #fff;
  font-size: 34px;
  box-shadow: 0 14px 30px rgba(22, 138, 66, 0.24);
}

.quick-tool-panel--excel .quick-tool-placeholder p {
  margin: 0;
  max-width: 340px;
  font: 800 16px/1.4 'HKX Manrope',
    sans-serif;
  color: #263142;
}

.quick-tool-panel--excel,
.quick-tool-panel--phone,
.quick-tool-panel--email {
  width: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.quick-tool-panel--excel .quick-tool-panel__head,
.quick-tool-panel--phone .quick-tool-panel__head,
.quick-tool-panel--email .quick-tool-panel__head {
  min-height: 56px;
  padding: 0 18px;
  background: #111;
  color: #fff;
  border-bottom: 0;
}

.quick-tool-panel--excel .quick-tool-panel__head h3,
.quick-tool-panel--phone .quick-tool-panel__head h3,
.quick-tool-panel--email .quick-tool-panel__head h3 {
  margin: 0;
  font: 900 18px/1 'HKX Manrope',
    sans-serif;
  color: #fff;
}

.quick-tool-panel--excel .quick-tool-panel__close,
.quick-tool-panel--phone .quick-tool-panel__close,
.quick-tool-panel--email .quick-tool-panel__close {
  color: #fff;
}

.quick-tool-panel--phone .quick-tool-simple-placeholder,
.quick-tool-panel--email .quick-tool-simple-placeholder {
  min-height: 264px;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  color: #111;
}

/* =======================================================
   06. Quick Order shell and primary regions
   ======================================================= */

.qo-pro-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 330px minmax(0,1fr);
  background:
    radial-gradient(ellipse 75% 22% at 64% 100%, rgba(205,24,34,.36) 0%, rgba(181,18,27,0) 72%),
    #171a21;
  font-family: 'HKX Manrope','Manrope',Arial,sans-serif;
}

.qo-pro-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.qo-pro-main {
  background: #f7f8fa;
  border-radius: 28px;
  margin: 6px 6px 6px 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: -25px 0 60px rgba(0,0,0,.18);
}

.quick-tools-slider .qo-pro-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background:
    radial-gradient(ellipse 75% 22% at 64% 100%, rgba(205,24,34,.36) 0%, rgba(181,18,27,0) 72%),
    #171a21;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  border: 1px solid rgba(0,0,0,.16);
}

.quick-tools-slider .qo-pro-main {
  background: #f7f8fa;
  border-radius: 26px;
  margin: 6px 6px 6px 0;
  padding: 22px;
  min-width: 0;
  min-height: 0;
  height: calc(100% - 12px);
  box-sizing: border-box;
  overflow: hidden;
}

/* =======================================================
   07. Quick Order heading, buttons, and toolbar
   ======================================================= */

.qo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b5121b;
  font: 900 13px/1 'HKX Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.qo-eyebrow::before {
  content: "";
  width: 5px;
  height: 26px;
  border-radius: 20px;
  background: #b5121b;
  display: inline-block;
}

.qo-pro-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 4px 4px 18px;
}

.qo-pro-head h3 {
  margin: 0 0 5px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  color: #171a21;
  letter-spacing: -.03em;
}

.qo-pro-head p {
  margin: 0;
  color: #676d78;
  font-size: 13px;
  line-height: 1.5;
}

.qo-pro-head-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qo-pro-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dde5;
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  color: #232832;
  box-shadow: 0 8px 20px rgba(17,19,24,.06);
}

.qo-pro-upload input {
  display: none;
}

.qo-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d9dde5;
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  color: #252a33;
  box-shadow: 0 8px 20px rgba(17,19,24,.06);
  transition: transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.qo-pro-btn:not(:disabled):hover,
.qo-pro-upload:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 25px rgba(17,19,24,.1);
}

.qo-pro-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.qo-pro-btn--ghost {
  background: #fff;
  color: #b5121b;
}

.qo-pro-btn--primary {
  background: #b5121b;
  border-color: #b5121b;
  color: #fff;
}

/* =======================================================
   08. Sidebar metrics and product preview
   ======================================================= */

.qo-pro-left {
  position: relative;
  padding: 30px 26px;
  color: #fff;
  overflow: hidden;
}

.qo-pro-sidebar-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.qo-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
  min-width: 0;
  white-space: nowrap;
}

.qo-pro-left h3 {
  font-size: 32px;
  line-height: 1.02;
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
}

.qo-pro-left p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin: 0;
}

.qo-pro-metrics {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1.05fr)
    minmax(0, 1.35fr);
  gap: 10px;
  margin: 26px 0;
  container-type: inline-size;
}

.qo-pro-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 13px 6px;
  text-align: center;
}

.qo-pro-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.qo-pro-metric--estimated strong {
  font-size: clamp(12px, 5.4cqw, 20px);
  letter-spacing: -.04em;
}

.qo-pro-metric span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: rgba(255,255,255,.66);
  font-weight: 800;
  white-space: nowrap;
}

.quick-tools-slider .qo-pro-left h3,
.quick-tools-slider .qo-pro-left p,
.quick-tools-slider .qo-pro-badge,
.quick-tools-slider .qo-pro-metrics strong,
.quick-tools-slider .qo-pro-metrics span {
  color: #fff;
}

.quick-tools-slider .qo-pro-image-preview__caption strong,
.quick-tools-slider .qo-pro-image-preview__caption span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-tools-slider .qo-pro-image-preview__caption strong {
  font-size: 13px;
  font-weight: 950;
}

.quick-tools-slider .qo-pro-image-preview__caption span {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

.quick-tools-slider .qo-pro-left {
  color: #fff;
  background: transparent;
  padding-bottom: 18px;
}

.quick-tools-slider .qo-pro-image-preview {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 18px;
  min-height: 255px;
  border-radius: 22px;
  background: linear-gradient(145deg,#ffffff 0%,#f4f6f8 100%);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 26px 55px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.85);
}

.quick-tools-slider .qo-pro-image-preview.has-image {
  background: #fff;
  padding: 14px 14px 58px;
}

.quick-tools-slider .qo-pro-image-preview.has-image img {
  display: block;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.18));
  position: relative;
  z-index: 1;
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(-4px);
}

.quick-tools-slider .qo-pro-image-preview__caption {
  position: absolute;
  color: #fff;
  backdrop-filter: blur(8px);
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 16px;
  padding: 10px 12px;
  background: linear-gradient(135deg,rgba(17,19,24,.94),rgba(44,47,56,.92));
  box-shadow: 0 14px 24px rgba(0,0,0,.22);
}

.quick-tools-slider .qo-pro-image-preview__empty span {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  color: rgba(255,255,255,.74);
  max-width: 210px;
  display: none;
}

.quick-tools-slider .qo-pro-image-preview__empty {
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  color: #1c2028;
}

.quick-tools-slider .qo-pro-image-preview__empty i {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(181,18,27,.28);
  background: #b5121b;
  color: #fff;
}

.quick-tools-slider .qo-pro-image-preview__empty strong {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .02em;
  color: #1c2028;
}

/* =======================================================
   09. Table, rows, columns, inputs, and prices
   ======================================================= */

.qo-pro-table-wrap {
  background: #fff;
  border: 1px solid #e3e6ed;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 16px 36px rgba(17,19,24,.07);
}

.qo-pro-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.qo-pro-table thead th {
  background: #f0f2f6;
  color: #515863;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid #e3e6ed;
}

.qo-pro-table thead th:first-child {
  border-top-left-radius: 20px;
}

.qo-pro-table thead th:last-child {
  border-top-right-radius: 20px;
  width: 54px;
}

.qo-pro-table tbody tr:last-child td {
  border-bottom: 0;
}

.qo-pro-input,
.qo-pro-qty {
  width: 100%;
  border: 1px solid #dce1e9;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #181b22;
  outline: 0;
  transition: border .15s ease,box-shadow .15s ease;
}

.qo-pro-input:focus,
.qo-pro-qty:focus {
  border-color: #b5121b;
  box-shadow: 0 0 0 4px rgba(181,18,27,.1);
}

.qo-pro-desc {
  min-width: 220px;
  color: #252a33;
  font-weight: 800;
  line-height: 1.35;
}

.qo-pro-muted {
  display: block;
  margin-top: 4px;
  color: #858b96;
  font-size: 12px;
  font-weight: 700;
}

.qo-pro-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.qo-pro-stock i {
  font-size: 10px;
}

.qo-pro-stock--in {
  background: #e9f8ef;
  color: #147c43;
}

.qo-pro-stock--out {
  background: #fff0f1;
  color: #b5121b;
}

.qo-pro-stock--pending {
  background: #f1f3f6;
  color: #68707d;
}

.qo-pro-remove {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #fff0f1;
  color: #b5121b;
  cursor: pointer;
  font-size: 14px;
}

.qo-pro-add-row {
  margin: 0;
  flex: 0 0 auto;
  border: 0;
  background: #171a21;
  color: #fff;
  border-radius: 15px;
  padding: 12px 16px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17,19,24,.17);
}

.qo-pro-table tbody td:first-child {
  position: relative;
  z-index: 20;
}

.quick-tools-slider .qo-pro-table-wrap::-webkit-scrollbar {
  width: 10px;
}

.quick-tools-slider .qo-pro-table-wrap::-webkit-scrollbar-track {
  background: #f0f2f6;
  border-radius: 999px;
}

.quick-tools-slider .qo-pro-table-wrap::-webkit-scrollbar-thumb {
  background: #c9ced8;
  border-radius: 999px;
  border: 2px solid #f0f2f6;
}

.qo-col-part {
  width: 18%;
}

.qo-col-desc {
  width: 36%;
}

.qo-col-stock {
  width: 19%;
}

.qo-col-qty {
  width: 12%;
}

.qo-col-price {
  width: 13%;
}

.qo-col-remove {
  width: 52px;
}

.qo-price-head,
.qo-pro-price-cell,
.qo-pro-price {
  text-align: right;
}

.qo-pro-price-cell {
  padding-right: 18px;
}

.qo-pro-price {
  color: #171a21;
  white-space: nowrap;
  display: block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -.01em;
}

.qo-pro-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f4;
  position: relative;
  vertical-align: middle;
}

.qo-pro-table tbody td:nth-child(3),
.qo-pro-table tbody td:nth-child(4),
.qo-pro-table tbody td:nth-child(5) {
  white-space: nowrap;
}

.quick-tools-slider .qo-pro-table th[hidden],
.quick-tools-slider .qo-pro-table td[hidden] {
  display: none !important;
}

.quick-tools-slider .qo-cell-remove {
  text-align: center;
  white-space: nowrap;
}

.quick-tools-slider .qo-pro-preview-btn:hover,
.quick-tools-slider .qo-pro-preview-btn:focus {
  background: #dfeeff;
  color: #0f4f8f;
  box-shadow: 0 10px 22px rgba(25,103,179,.18);
  transform: translateY(-1px);
  outline: 0;
}

.quick-tools-slider .qo-pro-preview-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quick-tools-slider .qo-col-remove {
  width: 92px;
}

.quick-tools-slider .qo-pro-table-wrap {
  overflow: visible;
  max-height: 410px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  border-radius: 22px;
  border: 1px solid #dfe4ec;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17,19,24,.08);
}

.quick-tools-slider .qo-pro-table {
  background: #fff;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.quick-tools-slider .qo-pro-table thead th {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 13px 10px;
  background: linear-gradient(180deg,#f4f6f9 0%,#eef1f5 100%);
  color: #555d6b;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .075em;
  white-space: normal;
}

.quick-tools-slider .qo-pro-table tbody tr {
  position: relative;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.quick-tools-slider .qo-pro-table tbody tr:hover {
  background: #fbfcfe;
  box-shadow: inset 4px 0 0 rgba(181,18,27,.75);
}

.quick-tools-slider .qo-pro-table tbody td {
  padding: 13px 9px;
  vertical-align: middle;
  border-bottom: 1px solid #edf0f4;
}

.quick-tools-slider .qo-pro-table tbody tr:last-child td {
  border-bottom: 0;
}

.quick-tools-slider .qo-pro-table .qo-col-part {
  width: 126px;
}

.quick-tools-slider .qo-pro-table .qo-col-stock {
  width: 150px;
}

.quick-tools-slider .qo-pro-table .qo-col-qty {
  text-align: center;
  width: 74px;
}

.quick-tools-slider .qo-pro-table .qo-col-price {
  text-align: right;
  width: 96px;
}

.quick-tools-slider .qo-pro-table .qo-col-remove {
  width: 86px;
}

.quick-tools-slider .qo-pro-table .qo-cell-qty {
  text-align: center;
  width: 74px;
  padding-left: 5px;
  padding-right: 5px;
}

.quick-tools-slider .qo-pro-table .qo-pro-price-cell {
  text-align: right;
  width: 96px;
  padding-left: 4px;
  padding-right: 8px;
}

.quick-tools-slider .qo-pro-table .qo-cell-remove {
  text-align: center;
  width: 86px;
  padding-left: 4px;
  padding-right: 8px;
}

.quick-tools-slider .qo-pro-input {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -.01em;
  padding: 9px 10px;
}

.quick-tools-slider .qo-pro-qty {
  display: block;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  font-size: 14px;
  font-weight: 950;
}

.quick-tools-slider .qo-pro-desc {
  min-width: 0;
  max-width: 100%;
  display: block;
  color: #1e2430;
  font-weight: 900;
  line-height: 1.22;
}

.quick-tools-slider .qo-pro-desc strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -.01em;
  color: #202633;
}

.quick-tools-slider .qo-pro-desc .qo-pro-muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  white-space: normal;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  color: #7f8998;
}

.quick-tools-slider .qo-pro-stock {
  min-height: 34px;
  padding: 8px 10px;
  justify-content: center;
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}

.quick-tools-slider .qo-pro-price {
  font-size: 13px;
  font-weight: 950;
  color: #10141c;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.quick-tools-slider .qo-pro-preview-btn,
.quick-tools-slider .qo-pro-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  vertical-align: middle;
}

.quick-tools-slider .qo-pro-preview-btn {
  border: 0;
  border-radius: 12px;
  color: #1967b3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease;
  background: #edf5ff;
}

.quick-tools-slider .qo-pro-remove {
  background: #fff0f1;
  margin-left: 7px;
}

/* =======================================================
   10. Product suggestions and lookup states
   ======================================================= */

.qo-pro-table tbody tr:has(.qo-pro-suggestions:not([hidden])) td:first-child {
  z-index: 9999;
}

.qo-pro-sku {
  font-weight: 950;
  color: #171a21;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.qo-pro-sku:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5121b;
  box-shadow: 0 0 0 4px rgba(181,18,27,.1);
}

.qo-pro-suggestions {
  overflow: hidden;
  right: auto;
  position: fixed;
  left: 0;
  top: 58px;
  width: min(760px,calc(100vw - 36px));
  z-index: 2147483000;
  background: #fff;
  border: 1px solid rgba(181,18,27,.18);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(17,19,24,.28);
  padding: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.qo-pro-suggestions:before {
  content: "";
  position: absolute;
  left: 24px;
  top: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid rgba(181,18,27,.16);
  border-top: 1px solid rgba(181,18,27,.16);
  transform: rotate(45deg);
  display: none;
}

.qo-pro-suggestion {
  position: relative;
  transition: background .15s ease,transform .15s ease,box-shadow .15s ease;
  display: grid;
  grid-template-columns: 130px minmax(250px,1fr) 110px 125px;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 13px;
}

.qo-pro-suggestion:hover,
.qo-pro-suggestion.is-active {
  background: linear-gradient(90deg,#fff2f3 0%,#fff 74%);
  box-shadow: inset 4px 0 0 #b5121b;
  transform: none;
}

.qo-pro-suggestion--empty {
  grid-template-columns: 1fr;
}

.qo-pro-suggestion-copy {
  min-width: 0;
}

.qo-pro-suggestion-title {
  display: block;
  font-size: 13px;
  color: #1d222b;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qo-pro-suggestion-meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #7b8492;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qo-pro-suggestion-price {
  text-align: right;
  font-weight: 950;
  color: #121620;
  white-space: nowrap;
}

.qo-pro-suggestion .qo-pro-stock {
  justify-content: center;
}

/* =======================================================
   11. PO, saved-session, and shared notice states
   ======================================================= */

.qo-pro-notice {
  --qo-notice-accent: #624800;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 8px);
  margin: 0 4px 10px;
  padding: 8px 12px;
  border: 1px solid #ecd58c;
  border-radius: 999px;
  background: #fff5d8;
  color: var(--qo-notice-accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(17,19,24,.06);
  animation: qoNoticeIn .22s ease-out both;
  transition: opacity .18s ease, transform .18s ease;
}

.qo-pro-notice[hidden] {
  display: none;
}

.qo-pro-notice::before {
  content: "i";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--qo-notice-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  font-family: Arial, sans-serif;
}

.qo-pro-notice.is-leaving {
  opacity: 0;
  transform: translateY(-3px);
}

[data-qo-app] {
  z-index: 9995;
}

.qo-pro-po-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 14px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e3e6ed;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17,19,24,.05);
}

.qo-pro-btn--po {
  padding: 9px 12px;
  font-size: 12px;
  background: #f9fafc;
}

.qo-pro-po-toolbar span {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  color: #7a828f;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.qo-pro-po-toolbar span.is-saving {
  background: #fff8df;
  border-color: #eedc9c;
  color: #9a6b00;
}

.qo-pro-po-toolbar span.is-saved {
  background: #eef8f2;
  border-color: #c5e4d1;
  color: #147c43;
}

.qo-pro-po-toolbar span.is-error {
  background: #fff0f1;
  border-color: #efc4c7;
  color: #b5121b;
}

.qo-pro-line-po {
  width: 100%;
  border: 1px solid #dce1e9;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 850;
  color: #181b22;
  outline: 0;
  transition: border .15s ease,box-shadow .15s ease,background .15s ease;
}

.qo-pro-line-po:focus {
  border-color: #b5121b;
  box-shadow: 0 0 0 4px rgba(181,18,27,.1);
}

.qo-po-visible .qo-col-desc {
  width: 30%;
}

.qo-po-visible .qo-col-stock {
  width: 17%;
}

.qo-po-visible .qo-col-qty {
  width: 10%;
}

.qo-col-po {
  width: 15%;
}

.qo-po-visible .qo-col-price {
  width: 12%;
}

.quick-tools-slider .qo-po-visible .qo-pro-table .qo-col-desc {
  width: auto;
}

.qo-pro-notice.is-success {
  --qo-notice-accent: #11733d;
  background: #eefaf3;
  border-color: #b9e4ca;
}

.qo-pro-notice.is-success::before {
  content: "✓";
}

.qo-pro-notice.is-error {
  --qo-notice-accent: #b5121b;
  background: #fff0f1;
  border-color: #f2b9bf;
}

.qo-pro-notice.is-error::before {
  content: "!";
}

.qo-pro-notice.is-working {
  --qo-notice-accent: #24406f;
  background: #eef4ff;
  border-color: #bfd2ff;
}

.qo-pro-notice.is-working::before {
  content: "…";
}

.quick-tools-slider .qo-pro-table .qo-col-po {
  width: 118px;
}

.quick-tools-slider .qo-pro-table .qo-cell-po {
  width: 118px;
  padding-left: 6px;
  padding-right: 6px;
}

.quick-tools-slider .qo-pro-input,
.quick-tools-slider .qo-pro-qty,
.quick-tools-slider .qo-pro-line-po {
  height: 42px;
  border-radius: 13px;
  border: 1px solid #dce2eb;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17,19,24,.02);
}

.quick-tools-slider .qo-pro-line-po {
  width: 100%;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 13px;
  font-weight: 950;
  padding: 9px 10px;
}

.quick-tools-slider .qo-pro-notice {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(17,19,24,.06);
}

.quick-tools-slider .qo-po-visible .qo-pro-table {
  min-width: 820px;
}

.quick-tools-slider .qo-po-visible .qo-col-desc {
  width: auto;
}

.quick-tools-slider .qo-po-visible .qo-pro-desc {
  min-width: 0;
}

/* =======================================================
   12. Footer, backdrop, and motion
   ======================================================= */

.qo-pro-footer {
  margin-top: auto;
  padding: 18px 4px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.qo-pro-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #626a75;
  font-size: 13px;
  font-weight: 800;
  min-width: 0;
}

.qo-pro-status span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qo-pro-status i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e0e4eb;
  color: #b5121b;
}

.qo-pro-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.qo-row-ready td {
  animation: qoReady 1.05s ease-out;
}

.qo-row-added td {
  animation: qoAddedPulse .82s ease-in-out 2;
}

@keyframes qoReady {
  0% {
    background-color: #dff5e8;
    background-image: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.9) 48%, transparent 70%);
    background-position: 140% 0;
    background-size: 240% 100%;
    box-shadow: inset 0 1px 0 #9fd5b3, inset 0 -1px 0 #9fd5b3;
  }

  38% {
    background-color: #f5fff8;
    background-image: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.9) 48%, transparent 70%);
    background-position: -80% 0;
    background-size: 240% 100%;
    box-shadow: inset 0 1px 0 #c6e8d2, inset 0 -1px 0 #c6e8d2;
  }

  100% {
    background-color: transparent;
    background-image: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0) 48%, transparent 70%);
    background-position: -80% 0;
    background-size: 240% 100%;
    box-shadow: none;
  }
}

@keyframes qoAddedPulse {
  0%,
  100% {
    background-color: transparent;
    box-shadow: none;
  }

  45% {
    background-color: #ccefd9;
    box-shadow:
      inset 0 2px 0 #65bd82,
      inset 0 -2px 0 #65bd82,
      0 0 16px rgba(20,124,67,.18);
  }
}

@keyframes qoNoticeIn {
  0% {
    opacity: 0;
    transform: translateY(-4px) scale(.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .qo-pro-notice {
    align-self: stretch;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qo-row-ready td,
  .qo-row-added td,
  .qo-pro-notice {
    animation: none;
    transition: none;
  }
}

.qo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,12,20,.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 9990;
}

.qo-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* =======================================================
   80. Desktop collapsed-preview behavior
   ======================================================= */

@media (min-width: 769px) {
  .quick-tools-slider.is-collapsed .quick-tools-rail {
    overflow: visible;
  }

  .quick-tools-slider.is-collapsed .quick-tools-rail__list {
    position: relative;
  }

  .quick-tools-slider.is-collapsed .quick-tools-option {
    position: relative;
  }

  .quick-tools-slider.is-collapsed .quick-tools-preview {
    position: fixed;
    left: 84px;
    top: 200px;
    transform: translateX(-8px);
    width: 280px;
    min-height: 190px;
    display: grid;
    grid-template-rows: 92px auto;
    overflow: hidden;
    background: #262626;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease,
      transform 0.16s ease,
      visibility 0.16s ease;
    z-index: 80;
  }

  .quick-tools-slider.is-collapsed .quick-tools-option:hover .quick-tools-preview,
  .quick-tools-slider.is-collapsed .quick-tools-option:focus-visible .quick-tools-preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .quick-tools-preview::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #262626;
    border-left: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    transform: translateY(-50%) rotate(45deg);
  }

  .quick-tools-preview__media {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.18), transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--pw-orange);
    font-size: 40px;
  }

  .quick-tools-preview__media--excel {
    color: #22b45f;
  }

  .quick-tools-preview__content {
    display: grid;
    gap: 8px;
    padding: 16px;
    text-align: left;
  }

  .quick-tools-preview__title {
    display: block;
    font: 900 20px/1.1 'HKX Manrope', sans-serif;
    color: #fff;
  }

  .quick-tools-preview__desc {
    display: block;
    font: 700 14px/1.45 'HKX Manrope', sans-serif;
    color: rgba(255,255,255,0.86);
  }

  .quick-tools-preview__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    font: 900 13px/1 'HKX Manrope', sans-serif;
    color: #fff;
  }

  .quick-tools-preview__link i {
    font-size: 11px;
  }

  .quick-tools-slider.has-detail.is-collapsed .quick-tools-preview {
    display: none;
  }
}

/* =======================================================
   81. Standard and compact desktop response
   ======================================================= */

@media (max-width: 1680px) {
  .quick-tools-slider {
    left: 12px;
    gap: 8px;
  }

  .quick-tools-rail {
    width: 200px;
  }

  .quick-tools-slider.is-collapsed .quick-tools-rail {
    width: 50px;
  }

  .quick-tools-rail__head {
    height: 42px;
    padding-right: 8px;
    padding-left: 11px;
  }

  .quick-tools-rail__title {
    font-size: 14px;
  }

  .quick-tools-rail__toggle {
    width: 22px;
    height: 22px;
  }

  .quick-tools-rail__list {
    gap: 6px;
    padding: 10px 6px;
  }

  .quick-tools-option {
    min-height: 34px;
    gap: 10px;
    padding: 6px 7px;
    font-size: 13px;
  }

  .quick-tools-option__icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .quick-tools-slider.is-collapsed .quick-tools-preview {
    left: 70px;
  }

  .quick-tools-detail {
    --quick-tools-detail-open-width: min(1160px, calc(100vw - 110px));
  }

  .quick-tools-slider.has-detail .quick-tools-detail {
    height: var(--quick-tools-detail-open-height);
    max-height: var(--quick-tools-detail-open-height);
  }

  .quick-tools-slider .qo-pro-shell {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .quick-tools-slider .qo-pro-main {
    height: calc(100% - 10px);
    margin: 5px 5px 5px 0;
    padding: 18px;
    border-radius: 22px;
  }

  .quick-tools-slider .qo-pro-left {
    padding: 22px 20px 16px;
    box-sizing: border-box;
  }

  .qo-pro-close {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .qo-pro-sidebar-head {
    margin-bottom: 16px;
  }

  .qo-pro-left h3 {
    font-size: 28px;
  }

  .qo-pro-left p {
    font-size: 13px;
    line-height: 1.5;
  }

  .qo-pro-metrics {
    gap: 8px;
    margin: 18px 0;
  }

  .qo-pro-metric {
    padding: 11px 8px;
  }

  .quick-tools-slider .qo-pro-image-preview {
    min-height: 180px;
    margin-top: 12px;
  }

  .qo-pro-head {
    gap: 14px;
    padding: 2px 2px 14px;
  }

  .qo-pro-head h3 {
    font-size: 24px;
  }

  .qo-pro-upload,
  .qo-pro-btn {
    padding: 10px 12px;
  }

  .qo-pro-po-toolbar {
    margin: 0 2px 12px;
    padding: 9px 10px;
  }

  .quick-tools-slider .qo-pro-table-wrap {
    max-height: 380px;
  }

  .quick-tools-slider .qo-pro-table thead th {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .quick-tools-slider .qo-pro-table tbody td {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .quick-tools-slider .qo-pro-input,
  .quick-tools-slider .qo-pro-qty,
  .quick-tools-slider .qo-pro-line-po {
    height: 40px;
  }

  .qo-pro-footer {
    padding: 14px 2px 0;
  }
}

/* =======================================================
   82. Tight desktop response
   ======================================================= */

@media (max-width: 1300px) {
  .quick-tools-slider {
    left: 10px;
    gap: 7px;
  }

  .quick-tools-rail {
    width: 184px;
  }

  .quick-tools-slider.is-collapsed .quick-tools-rail {
    width: 46px;
  }

  .quick-tools-rail__head {
    height: 39px;
    padding-right: 7px;
    padding-left: 9px;
  }

  .quick-tools-rail__title {
    font-size: 13px;
  }

  .quick-tools-rail__toggle {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .quick-tools-rail__list {
    gap: 5px;
    padding: 8px 5px;
  }

  .quick-tools-option {
    min-height: 31px;
    gap: 8px;
    padding: 5px 6px;
    font-size: 12px;
  }

  .quick-tools-option__icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .quick-tools-slider.is-collapsed .quick-tools-preview {
    left: 63px;
  }

  .quick-tools-detail {
    --quick-tools-detail-open-width: min(1020px, calc(100vw - 100px));
  }

  .quick-tools-slider .qo-pro-shell {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .quick-tools-slider .qo-pro-main {
    height: calc(100% - 8px);
    margin: 4px 4px 4px 0;
    padding: 14px;
    border-radius: 20px;
  }

  .quick-tools-slider .qo-pro-left {
    padding: 18px 16px 14px;
  }

  .qo-pro-sidebar-head {
    margin-bottom: 12px;
  }

  .qo-pro-badge {
    padding: 7px 10px;
    font-size: 10px;
    border-radius: 14px;
  }

  .qo-pro-left h3 {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .qo-pro-left p {
    font-size: 12px;
    line-height: 1.45;
  }

  .qo-pro-metrics {
    gap: 6px;
    margin: 14px 0;
  }

  .qo-pro-metric {
    padding: 9px 7px;
    border-radius: 14px;
  }

  .qo-pro-metric strong {
    font-size: 18px;
  }

  .qo-pro-metric span {
    font-size: 9px;
  }

  .quick-tools-slider .qo-pro-image-preview {
    min-height: 140px;
    margin-top: 10px;
    border-radius: 18px;
  }

  .qo-pro-head {
    gap: 10px;
    padding: 0 0 10px;
  }

  .qo-pro-head h3 {
    font-size: 22px;
  }

  .qo-pro-head p {
    font-size: 12px;
  }

  .qo-eyebrow {
    font-size: 12px;
  }

  .qo-pro-head-actions {
    gap: 8px;
  }

  .qo-pro-upload,
  .qo-pro-btn {
    padding: 9px 11px;
    font-size: 12px;
  }

  .qo-pro-po-toolbar {
    gap: 8px;
    margin: 0 0 10px;
    padding: 8px 10px;
  }

  .quick-tools-slider .qo-pro-table-wrap {
    max-height: 350px;
    overflow-x: auto;
  }

  .quick-tools-slider .qo-pro-table thead th {
    padding: 10px 7px;
  }

  .quick-tools-slider .qo-pro-table tbody td {
    padding: 10px 7px;
  }

  .quick-tools-slider .qo-pro-table .qo-col-part {
    width: 116px;
  }

  .quick-tools-slider .qo-pro-table .qo-col-stock {
    width: 126px;
  }

  .quick-tools-slider .qo-pro-table .qo-col-qty,
  .quick-tools-slider .qo-pro-table .qo-cell-qty {
    width: 68px;
  }

  .quick-tools-slider .qo-pro-table .qo-col-price,
  .quick-tools-slider .qo-pro-table .qo-pro-price-cell {
    width: 84px;
  }

  .quick-tools-slider .qo-pro-table .qo-col-remove,
  .quick-tools-slider .qo-pro-table .qo-cell-remove {
    width: 76px;
  }

  .quick-tools-slider .qo-pro-qty {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
  }

  .qo-pro-add-row {
    padding: 10px 13px;
  }

  .qo-pro-footer {
    gap: 10px;
    padding: 10px 0 0;
  }

  .qo-pro-status {
    font-size: 12px;
  }

  .qo-pro-status i {
    width: 30px;
    height: 30px;
  }

  .qo-pro-actions {
    gap: 8px;
  }
}

/* =======================================================
   83. Low-height desktop containment
   ======================================================= */

@media (min-width: 769px) and (max-height: 700px) {
  .quick-tools-detail {
    --quick-tools-detail-open-height: calc(100vh - 216px);
    --quick-tools-detail-open-height: calc(100dvh - 216px);
  }

  .quick-tools-slider.has-detail .quick-tools-detail {
    height: var(--quick-tools-detail-open-height);
    max-height: var(--quick-tools-detail-open-height);
  }

  .quick-tools-slider .qo-pro-left {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .qo-pro-left p {
    display: none;
  }

  .qo-pro-sidebar-head {
    margin-bottom: 10px;
  }

  .qo-pro-metrics {
    flex: 0 0 auto;
    margin: 10px 0;
  }

  .quick-tools-slider .qo-pro-image-preview {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
  }

  .quick-tools-slider .qo-pro-main {
    height: calc(100% - 6px);
    margin: 3px 3px 3px 0;
    padding: 10px;
  }

  .qo-pro-head {
    flex: 0 0 auto;
    padding-bottom: 8px;
  }

  .qo-pro-head p {
    display: none;
  }

  .qo-pro-po-toolbar {
    flex: 0 0 auto;
    margin-bottom: 8px;
    padding: 7px 9px;
  }

  .quick-tools-slider .qo-pro-table-wrap {
    flex: 1 1 auto;
    min-height: 110px;
    max-height: none;
    overflow-y: auto;
  }

  .quick-tools-slider .qo-pro-table thead th {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .quick-tools-slider .qo-pro-table tbody td {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .quick-tools-slider .qo-pro-input,
  .quick-tools-slider .qo-pro-qty,
  .quick-tools-slider .qo-pro-line-po {
    height: 36px;
  }

  .qo-pro-add-row {
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .qo-pro-footer {
    flex: 0 0 auto;
    padding-top: 8px;
  }

  .quick-tools-slider .qo-pro-image-preview.has-image img {
    max-height: 100%;
  }
}

/* =======================================================
   84. Narrow desktop table containment
   ======================================================= */

@media (max-width: 1180px) {
  .quick-tools-slider .qo-pro-table-wrap {
    overflow-x: auto;
  }

  .quick-tools-slider .qo-pro-table {
    min-width: 820px;
  }
}

/* =======================================================
   85. Narrow desktop detail width
   ======================================================= */

@media (max-width: 1100px) {
  .quick-tools-detail {
    --quick-tools-detail-open-width: min(940px, calc(100vw - 125px));
  }
}

/* =======================================================
   90. Tablet transition
   ======================================================= */

@media (max-width: 1000px) {
  .qo-pro-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }

  .qo-pro-left {
    padding: 22px;
  }

  .qo-pro-main {
    border-radius: 24px 24px 0 0;
    margin: 0;
    padding: 18px;
  }

  .qo-pro-head {
    flex-direction: column;
    align-items: stretch;
  }

  .qo-pro-head-actions {
    justify-content: stretch;
  }

  .qo-pro-head-actions .qo-pro-btn,
  .qo-pro-upload {
    width: 100%;
  }

  .qo-pro-footer {
    grid-template-columns: auto minmax(34px, 1fr) auto;
    gap: 8px;
  }

  .qo-pro-footer .qo-pro-status span {
    display: none;
  }

  .qo-pro-footer .qo-pro-btn {
    width: auto;
  }

  .qo-pro-table-wrap {
    overflow-x: auto;
  }

  .qo-pro-table {
    min-width: 860px;
  }

  .qo-pro-metrics {
    max-width: 440px;
  }

  .quick-tools-slider.has-detail .quick-tools-detail {
    height: var(--quick-tools-detail-open-height);
    max-height: var(--quick-tools-detail-open-height);
  }

  .quick-tools-detail {
    --quick-tools-detail-open-width: min(860px, calc(100vw - 125px));
    --quick-tools-detail-open-height: calc(100vh - 120px);
    --quick-tools-detail-open-height: calc(100dvh - 120px);
  }

  .quick-tools-slider .qo-pro-shell {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .quick-tools-slider .qo-pro-main {
    border-radius: 22px 22px 0 0;
    margin: 0;
    height: auto;
  }

  .qo-pro-suggestions {
    width: min(680px,calc(100vw - 48px));
  }

  .quick-tools-slider .qo-pro-table-wrap {
    max-height: 48vh;
    overflow-x: auto;
  }

  .qo-pro-suggestion {
    grid-template-columns: 105px minmax(160px,1fr) 90px;
  }

  .qo-pro-suggestion .qo-pro-stock {
    display: none;
  }

  .qo-pro-po-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .qo-pro-po-toolbar span {
    margin-left: 0;
  }
}

/* =======================================================
   99. Mobile policy
   ======================================================= */

@media (max-width: 768px) {
  .quick-tools-slider {
    display: none;
  }
}

/* =======================================================
   100. Bottom launcher and upward-opening tool tray
   ======================================================= */

@media (min-width: 769px) {
  .quick-tools-slider.quick-tools-slider--launcher {
    left: 18px;
    top: auto;
    bottom: 22px;
    align-items: flex-end;
    gap: 12px;
  }

  .quick-tools-slider--launcher .quick-tools-rail {
    width: 278px;
    min-height: 0;
    background: linear-gradient(145deg, var(--brand-navy, #071f36), #0a4f73);
    border-color: rgba(0, 200, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(7, 31, 54, 0.28);
    transition:
      width 260ms ease,
      border-radius 260ms ease,
      box-shadow 260ms ease;
  }

  .quick-tools-slider--launcher.is-collapsed .quick-tools-rail {
    width: 168px;
    min-height: 0;
    overflow: hidden;
    border-radius: 999px;
  }

  .quick-tools-slider--launcher .quick-tools-rail__head,
  .quick-tools-slider--launcher.is-collapsed .quick-tools-rail__head {
    height: 54px;
    justify-content: space-between;
    padding: 0 14px 0 18px;
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .quick-tools-slider--launcher.is-collapsed .quick-tools-rail__head {
    border-bottom: 0;
  }

  .quick-tools-slider--launcher .quick-tools-rail__title,
  .quick-tools-slider--launcher.is-collapsed .quick-tools-rail__title {
    display: block;
    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .quick-tools-slider--launcher .quick-tools-rail__toggle {
    width: 28px;
    height: 28px;
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .quick-tools-slider--launcher .quick-tools-rail__toggle:hover,
  .quick-tools-slider--launcher .quick-tools-rail__toggle:focus-visible {
    background: var(--brand-blue, #0078b8);
    outline: 2px solid var(--brand-cyan, #00c8ff);
    outline-offset: 2px;
  }

  .quick-tools-slider--launcher.is-collapsed .quick-tools-rail__list {
    display: none;
  }

  .quick-tools-slider--launcher .quick-tools-rail__list {
    gap: 4px;
    padding: 10px;
  }

  .quick-tools-slider--launcher .quick-tools-option {
    min-height: 46px;
    gap: 12px;
    padding: 7px 10px;
    border-radius: 9px;
    font-family: var(--font-sans, Arial, sans-serif);
    font-size: 14px;
    font-weight: 700;
  }

  .quick-tools-slider--launcher .quick-tools-option:hover,
  .quick-tools-slider--launcher .quick-tools-option:focus-visible,
  .quick-tools-slider--launcher .quick-tools-option.is-selected {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(0, 200, 255, 0.38);
    outline: none;
  }

  .quick-tools-slider--launcher .quick-tools-option__icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .quick-tools-slider--launcher.is-collapsed .quick-tools-preview {
    display: none;
  }

  .quick-tools-slider--launcher .quick-tools-detail {
    align-self: flex-end;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1
   Presentation-first override. Backend/order behavior remains unchanged.
   ===================================================================== */

:root {
  --dsn-qo-blue-950:#053553;
  --dsn-qo-blue-900:#064766;
  --dsn-qo-blue-800:#075f83;
  --dsn-qo-blue-700:#087ca5;
  --dsn-qo-blue-600:#0797c5;
  --dsn-qo-cyan:#08bce8;
  --dsn-qo-ink:#0d2d45;
  --dsn-qo-line:#d9e8f0;
}

.quick-tools-slider.has-detail {
  position:fixed;
  inset:0;
  z-index:10050;
  display:block;
  width:100vw;
  height:100vh;
  pointer-events:none;
}

.quick-tools-slider.has-detail::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  background:rgba(3,26,42,.54);
  backdrop-filter:blur(2px);
  pointer-events:auto;
}

.quick-tools-slider.has-detail > .quick-tools-rail {
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.quick-tools-slider.has-detail .quick-tools-detail,
.quick-tools-slider:not(.has-detail) .quick-tools-detail {
  --quick-tools-detail-open-width:100vw;
  --quick-tools-detail-open-height:min(760px, calc(100vh - 108px));
  position:fixed;
  z-index:2;
  left:0;
  right:0;
  top:108px;
  width:100vw !important;
  max-width:none !important;
  height:var(--quick-tools-detail-open-height) !important;
  max-height:var(--quick-tools-detail-open-height) !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(1,30,47,.34);
  will-change:transform,opacity;
}

.quick-tools-slider.has-detail .quick-tools-detail {
  visibility:visible;
  pointer-events:auto;
  opacity:1;
  transform:translate3d(0,0,0);
  transition:
    transform 560ms cubic-bezier(.22,1,.36,1),
    opacity 240ms ease,
    visibility 0s linear 0s;
}

.quick-tools-slider:not(.has-detail) .quick-tools-detail {
  visibility:hidden;
  pointer-events:none;
  opacity:0;
  transform:translate3d(0,-112%,0);
  transition:
    transform 520ms cubic-bezier(.22,1,.36,1),
    opacity 180ms ease,
    visibility 0s linear 520ms;
}

.quick-tools-slider .quick-tool-panel--advanced:not([hidden]) {
  width:100vw !important;
  min-width:100vw !important;
  max-width:none !important;
  height:100% !important;
  border-radius:0 !important;
  overflow:hidden;
}

.qo-redesign-frame {
  position:relative;
  height:100%;
  display:grid;
  grid-template-rows:104px minmax(0,1fr) 66px;
  overflow:hidden;
  font-family:'HKX Manrope','Manrope',Arial,sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(55,206,245,.28), transparent 24%),
    linear-gradient(112deg,#053b5b 0%,#05658b 52%,#087ca5 100%);
}

.qo-redesign-frame::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.62;
  background:
    radial-gradient(ellipse 42% 34% at 2% 92%, rgba(0,209,248,.26), transparent 65%),
    radial-gradient(ellipse 38% 28% at 93% 72%, rgba(255,255,255,.13), transparent 68%),
    repeating-radial-gradient(circle at 83% 52%, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
}

.qo-redesign-hero {
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:0 clamp(28px,4vw,68px);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.14);
  background:linear-gradient(90deg,rgba(3,57,87,.94),rgba(5,115,153,.78));
}

.qo-redesign-hero__title {
  display:flex;
  align-items:center;
  gap:15px;
}

.qo-redesign-hero__icon {
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(145deg,#09bde9,#087fa8);
  box-shadow:0 12px 30px rgba(2,197,244,.28),inset 0 1px 0 rgba(255,255,255,.28);
  font-size:19px;
}

.qo-redesign-hero h2 {
  margin:0 0 4px;
  color:#fff;
  font-size:31px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.035em;
}

.qo-redesign-hero p {
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:750;
}

.qo-redesign-hero__benefits {
  display:flex;
  align-items:center;
  gap:26px;
}

.qo-redesign-hero__benefits > span {
  display:grid;
  grid-template-columns:34px auto;
  grid-template-rows:auto auto;
  column-gap:9px;
  min-width:155px;
}

.qo-redesign-hero__benefits i {
  grid-row:1 / span 2;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#fff;
  background:rgba(0,190,235,.20);
  border:1px solid rgba(255,255,255,.17);
}

.qo-redesign-hero__benefits b {
  color:#fff;
  font-size:10px;
}

.qo-redesign-hero__benefits small {
  margin-top:2px;
  color:rgba(255,255,255,.66);
  font-size:8px;
  font-weight:700;
}

.qo-redesign-stage {
  position:relative;
  z-index:1;
  min-height:0;
  padding:11px clamp(20px,3.1vw,52px);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  width:100%;
  height:100%;
  min-height:0;
  display:grid;
  grid-template-columns:276px minmax(0,1fr);
  border:1px solid rgba(255,255,255,.34);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 24px 68px rgba(1,32,51,.25);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  position:relative;
  padding:18px;
  background:
    radial-gradient(circle at 16% 92%,rgba(9,187,228,.26),transparent 32%),
    linear-gradient(180deg,#064563 0%,#04334f 100%);
  color:#fff;
  overflow:auto;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-main {
  height:100%;
  margin:0;
  padding:17px 19px 14px;
  border-radius:0;
  background:linear-gradient(180deg,#fbfdfe,#f4f9fb);
  box-shadow:none;
  overflow:auto;
}

.qo-redesign-workflows {
  position:relative;
  z-index:2;
  display:grid;
  gap:8px;
  margin:14px 0 13px;
}

.qo-redesign-workflow {
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 14px;
  align-items:center;
  gap:9px;
  padding:8px 9px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:11px;
  background:rgba(255,255,255,.055);
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.qo-redesign-workflow:hover,
.qo-redesign-workflow.is-active {
  transform:translateY(-1px);
  background:rgba(6,173,219,.15);
  border-color:rgba(46,207,244,.56);
  box-shadow:0 9px 22px rgba(0,0,0,.12),inset 3px 0 0 #10c8f1;
}

.qo-redesign-workflow input { display:none; }

.qo-redesign-workflow__icon {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:linear-gradient(145deg,#08bde8,#087fa8);
  color:#fff;
}

.qo-redesign-workflow__text {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.qo-redesign-workflow__text strong {
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.qo-redesign-workflow__text small {
  color:rgba(255,255,255,.64);
  font-size:8px;
  font-weight:700;
}

.qo-redesign-workflow__arrow {
  color:rgba(255,255,255,.52);
  font-size:9px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-sidebar-head { margin-bottom:12px; }

.quick-tools-slider .qo-redesign-stage .qo-pro-badge {
  padding:6px 9px;
  border-radius:9px;
  font-size:8px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-close {
  width:32px;
  height:32px;
  flex-basis:32px;
  border-radius:9px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-left h3 {
  margin:0 0 6px;
  font-size:22px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-left > p {
  font-size:9px;
  line-height:1.5;
  color:rgba(255,255,255,.68);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-metrics {
  margin:12px 0 9px;
  gap:6px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-metric {
  border-radius:9px;
  padding:8px 3px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-metric strong { font-size:14px; }
.quick-tools-slider .qo-redesign-stage .qo-pro-metric span { font-size:6.5px; }

.quick-tools-slider .qo-redesign-stage .qo-pro-image-preview {
  min-height:105px;
  max-height:140px;
  margin-top:8px;
  border-radius:13px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-image-preview.has-image {
  padding:8px 8px 39px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-image-preview.has-image img {
  max-height:84px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-image-preview__caption {
  left:7px;
  right:7px;
  bottom:7px;
  padding:6px 7px;
  border-radius:8px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-head {
  padding:0 0 9px;
  align-items:center;
}

.quick-tools-slider .qo-redesign-stage .qo-eyebrow {
  color:#0787b3;
  font-size:8px;
}

.quick-tools-slider .qo-redesign-stage .qo-eyebrow::before {
  width:3px;
  height:17px;
  background:#08bce8;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-head h3 {
  color:#123d55;
  font-size:21px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-head p {
  color:#708391;
  font-size:9px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-upload,
.quick-tools-slider .qo-redesign-stage .qo-pro-btn {
  border-color:#d7e5ec;
  border-radius:9px;
  padding:8px 11px;
  font-size:9px;
  color:#173d54;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-btn--ghost { color:#c62828; }

.quick-tools-slider .qo-redesign-stage .qo-pro-btn--primary {
  color:#fff;
  border-color:#078dbb;
  background:linear-gradient(135deg,#0797c5,#087aaa);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-po-toolbar {
  margin-bottom:8px;
  border-color:#dce9ef;
  background:#fff;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap {
  border-radius:11px;
  border-color:#dce9ef;
  box-shadow:0 8px 20px rgba(5,53,79,.055);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table thead th {
  padding:8px;
  background:#edf5f8;
  color:#526f7f;
  font-size:7.5px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table tbody td {
  padding-top:6px;
  padding-bottom:6px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-input,
.quick-tools-slider .qo-redesign-stage .qo-pro-qty,
.quick-tools-slider .qo-redesign-stage .qo-pro-line-po {
  border-color:#d6e5ec;
  border-radius:8px;
  padding:7px 8px;
  font-size:9px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-input:focus,
.quick-tools-slider .qo-redesign-stage .qo-pro-qty:focus,
.quick-tools-slider .qo-redesign-stage .qo-pro-line-po:focus {
  border-color:#08a6d5;
  box-shadow:0 0 0 3px rgba(8,166,213,.10);
}

.quick-tools-slider .qo-redesign-stage .qo-pro-footer {
  margin-top:auto;
  padding-top:9px;
}

.qo-redesign-trustbar {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:0 clamp(28px,5vw,88px);
  background:rgba(255,255,255,.98);
  border-top:1px solid #dce9ef;
  box-shadow:0 -5px 18px rgba(2,49,73,.06);
}

.qo-redesign-trustbar > span {
  display:grid;
  grid-template-columns:32px auto;
  grid-template-rows:auto auto;
  align-content:center;
  column-gap:9px;
  padding:0 20px;
  border-right:1px solid #e2edf2;
}

.qo-redesign-trustbar > span:last-child { border-right:0; }

.qo-redesign-trustbar i {
  grid-row:1 / span 2;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  color:#078dbb;
  font-size:14px;
}

.qo-redesign-trustbar b {
  color:#123d55;
  font-size:9px;
  font-weight:900;
}

.qo-redesign-trustbar small {
  margin-top:2px;
  color:#718794;
  font-size:7px;
  font-weight:700;
}

@media (max-width:1180px) {
  .quick-tools-slider.has-detail .quick-tools-detail,
  .quick-tools-slider:not(.has-detail) .quick-tools-detail { top:96px; }

  .quick-tools-slider.has-detail .quick-tools-detail {
    --quick-tools-detail-open-height:calc(100vh - 96px);
  }

  .qo-redesign-hero__benefits > span:nth-child(2) { display:none; }

  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    grid-template-columns:238px minmax(0,1fr);
  }
}

@media (max-width:900px) {
  .quick-tools-slider.has-detail .quick-tools-detail,
  .quick-tools-slider:not(.has-detail) .quick-tools-detail { top:76px; }

  .quick-tools-slider.has-detail .quick-tools-detail {
    --quick-tools-detail-open-height:calc(100vh - 76px);
  }

  .qo-redesign-frame { grid-template-rows:82px minmax(0,1fr) 56px; }
  .qo-redesign-hero { padding:0 16px; }
  .qo-redesign-hero h2 { font-size:24px; }
  .qo-redesign-hero__benefits { display:none; }
  .qo-redesign-stage { padding:7px; }

  .quick-tools-slider .qo-redesign-stage .qo-pro-shell { grid-template-columns:1fr; }
  .quick-tools-slider .qo-redesign-stage .qo-pro-left { display:none; }

  .qo-redesign-trustbar {
    grid-template-columns:repeat(2,1fr);
    padding:0 8px;
  }

  .qo-redesign-trustbar > span:nth-child(3),
  .qo-redesign-trustbar > span:nth-child(4) { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  .quick-tools-slider.has-detail .quick-tools-detail,
  .quick-tools-slider:not(.has-detail) .quick-tools-detail {
    transition:none !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1.1
   Attach Quick Entry directly beneath the site header / navigation.
   Header and navigation remain fully visible and unblurred.
   ===================================================================== */

:root {
  --dsn-quickentry-nav-offset: 108px;
}

/* The backdrop begins BELOW the visible site header/navigation. */
.quick-tools-slider.has-detail::before {
  top: var(--dsn-quickentry-nav-offset) !important;
  background: rgba(3,26,42,.48);
  backdrop-filter: blur(2px);
}

/* Make the workspace feel physically attached to the navigation. */
.quick-tools-slider.has-detail .quick-tools-detail,
.quick-tools-slider:not(.has-detail) .quick-tools-detail {
  top: var(--dsn-quickentry-nav-offset) !important;
  border-top: 1px solid rgba(5,126,166,.28) !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,.55) inset,
    0 24px 54px rgba(1,30,47,.28);
}

/* Open by sliding straight down from beneath the navigation. The final motion
   contract below owns the transition in both directions. */
.quick-tools-slider.has-detail .quick-tools-detail {
  transform: translate3d(0,0,0);
  animation: none;
}

.quick-tools-slider:not(.has-detail) .quick-tools-detail {
  transform: translate3d(0,-106%,0);
}

/* The blue Quick Entry bar is intentionally retained as the bridge from nav
   into the ordering workspace. Give its top edge a subtle mega-menu seam. */
.qo-redesign-hero {
  border-top: 1px solid rgba(7,137,181,.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 8px 22px rgba(2,53,79,.10);
}

/* Square the top attachment edge; keep the content itself refined below. */
.quick-tools-slider .quick-tool-panel--advanced:not([hidden]),
.qo-redesign-frame {
  border-radius: 0 !important;
}

/* Keep the navigation visually above the dimmed page and the Quick Entry
   attached immediately beneath it. */
.site-header {
  position: sticky;
  z-index: 9990;
}

/* The Quick Entry overlay itself remains just under the header layer. */
.quick-tools-slider.has-detail {
  z-index: 9980;
}

@media (max-width:1180px) {
  :root {
    --dsn-quickentry-nav-offset: 96px;
  }
}

@media (max-width:900px) {
  :root {
    --dsn-quickentry-nav-offset: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-tools-slider.has-detail .quick-tools-detail {
    animation: none !important;
  }
}

/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1.2
   Add branded imagery to the teal areas without touching Quick Entry logic.
   Uses site images that already exist on DentalSourceNow.
   ===================================================================== */

/* Water/product artwork in the blue Quick Entry bridge bar. */
.qo-redesign-hero {
  overflow:hidden;
  isolation:isolate;
}

.qo-redesign-hero::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:34%;
  right:10%;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(4,75,105,1) 0%,
      rgba(4,75,105,.72) 18%,
      rgba(4,75,105,.24) 48%,
      rgba(4,75,105,.04) 100%
    ),
    url('/images/site-content/water_purifier_hero2-balanced.webp') center 48% / cover no-repeat;
  opacity:.58;
  filter:saturate(1.15) contrast(1.04);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
}

/* Decorative dental/compliance product artwork on the far right teal area. */
.qo-redesign-frame::after {
  content:"";
  position:absolute;
  z-index:0;
  right:-24px;
  top:92px;
  width:min(360px,23vw);
  height:calc(100% - 156px);
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(5,86,116,.10),rgba(5,86,116,.46)),
    url('/images/site-content/hero-compliance-v2.webp') 72% center / auto 108% no-repeat;
  opacity:.23;
  filter:saturate(1.06) contrast(1.03);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.6) 30%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.6) 30%,#000 100%);
}

/* Keep all actual UI content above the artwork. */
.qo-redesign-hero > *,
.qo-redesign-stage,
.qo-redesign-trustbar {
  position:relative;
  z-index:2;
}

/* Add a subtle water-line graphic to the left rail without obscuring controls. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left::before {
  content:"";
  position:absolute;
  left:-34px;
  right:-20px;
  bottom:-8px;
  height:145px;
  pointer-events:none;
  background:
    linear-gradient(180deg,transparent 0%,rgba(0,176,220,.08) 36%,rgba(0,188,232,.22) 100%),
    radial-gradient(ellipse at 34% 100%,rgba(255,255,255,.20),transparent 42%),
    radial-gradient(ellipse at 68% 100%,rgba(8,194,231,.30),transparent 48%);
  opacity:.80;
}

.qo-redesign-workflows,
.qo-pro-sidebar-head,
.qo-pro-left > h3,
.qo-pro-left > p,
.qo-pro-metrics,
.qo-pro-image-preview {
  position:relative;
  z-index:2;
}

/* Slightly strengthen the teal area so artwork reads while remaining secondary. */
.qo-redesign-frame {
  background:
    radial-gradient(circle at 78% 12%,rgba(55,206,245,.34),transparent 24%),
    radial-gradient(ellipse 34% 45% at 96% 64%,rgba(3,151,191,.22),transparent 68%),
    linear-gradient(112deg,#053b5b 0%,#05658b 52%,#087ca5 100%);
}

@media (max-width:1100px) {
  .qo-redesign-frame::after {
    width:240px;
    opacity:.16;
  }

  .qo-redesign-hero::before {
    left:42%;
    right:0;
    opacity:.42;
  }
}

@media (max-width:900px) {
  .qo-redesign-frame::after,
  .qo-redesign-hero::before {
    display:none;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1.4
   CLEAN GRAPHICS PASS
   Restores the V1/V1.2 proportions and adds richer graphics without
   shrinking or crowding the working Quick Order workspace.
   ===================================================================== */

/* Reset any prior experimental spacing/crowding. */
.qo-redesign-stage {
  padding: 11px clamp(20px, 3.1vw, 52px) !important;
}

/* Keep the working 2-column structure exactly where it was. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  grid-template-columns: 276px minmax(0, 1fr) !important;
  position: relative;
  z-index: 5;
}

/* ---------------------------------------------------------------------
   TOP BLUE BAR — stronger product/water graphic, still behind text
   --------------------------------------------------------------------- */
.qo-redesign-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(3,57,87,.98) 0%,
      rgba(4,94,128,.90) 36%,
      rgba(4,112,150,.82) 70%,
      rgba(3,78,108,.96) 100%
    ) !important;
}

.qo-redesign-hero::before {
  content:"";
  position:absolute;
  z-index:-2;
  inset:0 0 0 31%;
  background:
    url('/images/site-content/water_purifier_hero2-balanced.webp')
      61% 49% / cover no-repeat;
  opacity:.72;
  filter:saturate(1.12) contrast(1.05);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 91%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 91%,transparent 100%);
}

.qo-redesign-hero::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,57,87,.98) 0%,rgba(3,57,87,.76) 30%,rgba(3,57,87,.18) 58%,rgba(3,57,87,.52) 100%),
    radial-gradient(circle at 45% 62%,rgba(255,255,255,.17),transparent 20%),
    radial-gradient(circle at 71% 42%,rgba(16,214,248,.22),transparent 18%);
}

/* ---------------------------------------------------------------------
   FULL TEAL FRAME — water + product artwork around the outside edges only
   --------------------------------------------------------------------- */
.qo-redesign-frame {
  isolation: isolate;
  background:
    radial-gradient(circle at 0% 75%,rgba(8,199,237,.28),transparent 28%),
    radial-gradient(circle at 100% 70%,rgba(8,189,229,.34),transparent 26%),
    linear-gradient(112deg,#053b5b 0%,#05658b 52%,#087ca5 100%) !important;
}

/* Left decorative art: water/tooth area, kept behind sidebar. */
.qo-redesign-frame::before {
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  bottom:66px;
  width:340px;
  height:245px;
  pointer-events:none;
  background:
    linear-gradient(180deg,transparent 0%,rgba(4,74,104,.10) 28%,rgba(3,67,95,.48) 100%),
    url('/images/site-content/hero-compliance-v2.webp')
      3% 66% / auto 118% no-repeat;
  opacity:.30;
  filter:saturate(1.08) contrast(1.02);
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 68%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 68%,transparent 100%);
}

/* Right decorative art: product/compliance image, no dedicated rail and no
   loss of table width. */
.qo-redesign-frame::after {
  content:"";
  position:absolute;
  z-index:0;
  right:0;
  bottom:66px;
  width:330px;
  height:330px;
  pointer-events:none;
  background:
    linear-gradient(180deg,transparent 0%,rgba(3,79,109,.06) 22%,rgba(3,79,109,.30) 100%),
    url('/images/site-content/hero-compliance-v2.webp')
      96% 57% / auto 123% no-repeat;
  opacity:.42;
  filter:saturate(1.08) contrast(1.03);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 34%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 34%,#000 100%);
}

/* Keep workspace and bottom strip above all imagery. */
.qo-redesign-stage,
.qo-redesign-trustbar,
.qo-redesign-hero {
  position:relative;
  z-index:3;
}

/* Let teal framing show around the shell, but keep sidebar itself rich and
   readable rather than transparent. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  background:
    radial-gradient(circle at 12% 90%,rgba(10,185,224,.20),transparent 30%),
    linear-gradient(180deg,#064866 0%,#04364f 100%) !important;
}

/* Add subtle water-lighting inside the left sidebar without using another
   content column. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left::before {
  content:"";
  position:absolute;
  left:-28px;
  right:-28px;
  bottom:-18px;
  height:150px;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 18% 84%,rgba(255,255,255,.14),transparent 24%),
    radial-gradient(ellipse at 52% 98%,rgba(7,202,239,.28),transparent 42%),
    radial-gradient(ellipse at 84% 78%,rgba(255,255,255,.08),transparent 22%);
}

/* Preserve content above the sidebar decorative layer. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left > * {
  position:relative;
  z-index:2;
}

/* Make the teal perimeter feel intentional around the shell. */
.qo-redesign-stage {
  background:
    linear-gradient(180deg,rgba(4,97,133,.10),rgba(3,74,103,.16));
}

/* Slightly stronger edge framing so the graphics read as part of the brand
   instead of as isolated photos. */
.qo-redesign-frame {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(255,255,255,.08);
}

/* Keep the bottom trust strip crisp and visually separate. */
.qo-redesign-trustbar {
  background:rgba(255,255,255,.985) !important;
}

/* Responsive restraint: artwork fades away before it can crowd the UI. */
@media (max-width:1180px) {
  .qo-redesign-frame::before {
    width:260px;
    opacity:.22;
  }

  .qo-redesign-frame::after {
    width:250px;
    opacity:.30;
  }

  .qo-redesign-hero::before {
    left:42%;
    opacity:.58;
  }
}

@media (max-width:900px) {
  .qo-redesign-frame::before,
  .qo-redesign-frame::after,
  .qo-redesign-hero::before {
    display:none !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1.5
   FINAL WIDTH / HEADER ALIGNMENT
   Goal: working Quick Order panel aligns visually with:
   - left edge of DentalSourceNow logo
   - right edge of Shop All button
   while the teal/water graphics remain 100% browser width.
   ===================================================================== */

:root {
  --dsn-qe-content-max: 1360px;
  --dsn-qe-page-gutter: 28px;
}

/* Keep the branded teal/water environment truly full width. */
.qo-redesign-frame,
.qo-redesign-hero,
.qo-redesign-trustbar {
  width: 100%;
  max-width: none;
}

/* Header/bar content aligns to the same inner width as the working panel. */
.qo-redesign-hero {
  padding-left: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
  padding-right: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
}

/* The teal stage remains edge-to-edge, but the actual Quick Order panel
   is centered inside the same visual width as the site navigation. */
.qo-redesign-stage {
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  padding-left: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
  padding-right: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
}

/* This is the working panel itself. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  width: 100% !important;
  max-width: var(--dsn-qe-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-template-columns: 276px minmax(0, 1fr) !important;
}

/* Keep decorative imagery outside / behind the centered panel. */
.qo-redesign-frame::before {
  left: 0 !important;
  width: max(
    260px,
    calc((100vw - var(--dsn-qe-content-max)) / 2 + 180px)
  ) !important;
  opacity: .34 !important;
}

.qo-redesign-frame::after {
  right: 0 !important;
  width: max(
    260px,
    calc((100vw - var(--dsn-qe-content-max)) / 2 + 180px)
  ) !important;
  opacity: .48 !important;
}

/* Let the full-width background breathe on both sides of the panel. */
.qo-redesign-stage::before,
.qo-redesign-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: max(
    0px,
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  );
  pointer-events: none;
  z-index: 1;
}

.qo-redesign-stage::before {
  left: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 179, 219, .18),
      rgba(0, 179, 219, 0)
    );
}

.qo-redesign-stage::after {
  right: 0;
  background:
    linear-gradient(
      270deg,
      rgba(0, 179, 219, .18),
      rgba(0, 179, 219, 0)
    );
}

/* Keep the working shell above all art layers. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  position: relative;
  z-index: 5;
}

/* Bottom feature strip aligns its inner content visually with the same width. */
.qo-redesign-trustbar {
  padding-left: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
  padding-right: max(
    var(--dsn-qe-page-gutter),
    calc((100vw - var(--dsn-qe-content-max)) / 2)
  ) !important;
}

/* Slightly widen the main white workspace relative to sidebar while
   preserving all existing working table controls. */
@media (min-width: 1200px) {
  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    grid-template-columns: 268px minmax(0, 1fr) !important;
  }
}

/* Tablet / narrower desktop fallback: maintain safe gutters. */
@media (max-width: 1440px) {
  :root {
    --dsn-qe-page-gutter: 24px;
  }
}

/* Do not force the 1360px alignment once the viewport becomes too narrow. */
@media (max-width: 1180px) {
  .qo-redesign-hero,
  .qo-redesign-stage,
  .qo-redesign-trustbar {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .qo-redesign-hero,
  .qo-redesign-stage,
  .qo-redesign-trustbar {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY REDESIGN V1.6
   FINAL: 5% WIDER + STRONGER EXISTING GRAPHICS
   No business logic changes.
   ===================================================================== */

:root {
  /* V1.5 was 1360px. 5% wider = 1428px. */
  --dsn-qe-content-max: 1428px;
}

/* Keep the teal/water background full browser width. */
.qo-redesign-frame {
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 70%, rgba(7,194,232,.30), transparent 26%),
    radial-gradient(circle at 92% 68%, rgba(7,194,232,.33), transparent 28%),
    linear-gradient(112deg,#053b5b 0%,#05658b 52%,#087ca5 100%) !important;
}

/* Wider working Quick Order panel, still centered to the site header. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  width: 100% !important;
  max-width: var(--dsn-qe-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Preserve the full-width hero, but strengthen the approved product/water art. */
.qo-redesign-hero::before {
  display:block !important;
  content:"";
  position:absolute;
  z-index:-2;
  top:0;
  right:0;
  bottom:0;
  left:30%;
  background:
    url('/images/site-content/water_purifier_hero2-balanced.webp')
      61% 48% / cover no-repeat;
  opacity:.80 !important;
  filter:saturate(1.14) contrast(1.04);
  -webkit-mask-image:linear-gradient(
    90deg,
    transparent 0%,
    #000 11%,
    #000 92%,
    transparent 100%
  );
  mask-image:linear-gradient(
    90deg,
    transparent 0%,
    #000 11%,
    #000 92%,
    transparent 100%
  );
}

.qo-redesign-hero::after {
  display:block !important;
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(3,57,87,.98) 0%,
      rgba(3,57,87,.72) 29%,
      rgba(3,57,87,.14) 57%,
      rgba(3,57,87,.47) 100%
    ),
    radial-gradient(circle at 44% 66%,rgba(255,255,255,.19),transparent 20%),
    radial-gradient(circle at 74% 42%,rgba(12,213,249,.22),transparent 18%);
}

/* LEFT SIDE GRAPHIC:
   reuse the existing compliance artwork as a separate masked layer.
   It stays OUTSIDE the white Quick Order workspace. */
.qo-redesign-frame::before {
  display:block !important;
  content:"";
  position:absolute;
  z-index:0;
  left:0 !important;
  bottom:66px;
  width:max(
    300px,
    calc((100vw - var(--dsn-qe-content-max)) / 2 + 185px)
  ) !important;
  height:345px;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      rgba(4,74,104,0) 0%,
      rgba(4,74,104,.08) 25%,
      rgba(3,67,95,.36) 100%
    ),
    url('/images/site-content/hero-compliance-v2.webp')
      2% 62% / auto 128% no-repeat;
  opacity:.46 !important;
  filter:saturate(1.12) contrast(1.04);
  -webkit-mask-image:linear-gradient(
    90deg,
    #000 0%,
    #000 63%,
    transparent 100%
  );
  mask-image:linear-gradient(
    90deg,
    #000 0%,
    #000 63%,
    transparent 100%
  );
}

/* RIGHT SIDE GRAPHIC:
   same real site artwork, independently positioned/masked. */
.qo-redesign-frame::after {
  display:block !important;
  content:"";
  position:absolute;
  z-index:0;
  right:0 !important;
  bottom:66px;
  width:max(
    320px,
    calc((100vw - var(--dsn-qe-content-max)) / 2 + 205px)
  ) !important;
  height:390px;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      rgba(3,79,109,0) 0%,
      rgba(3,79,109,.06) 22%,
      rgba(3,79,109,.25) 100%
    ),
    url('/images/site-content/hero-compliance-v2.webp')
      98% 58% / auto 132% no-repeat;
  opacity:.58 !important;
  filter:saturate(1.12) contrast(1.05);
  -webkit-mask-image:linear-gradient(
    90deg,
    transparent 0%,
    #000 34%,
    #000 100%
  );
  mask-image:linear-gradient(
    90deg,
    transparent 0%,
    #000 34%,
    #000 100%
  );
}

/* Keep the actual working UI above all graphics. */
.qo-redesign-hero,
.qo-redesign-stage,
.qo-redesign-trustbar {
  position:relative;
  z-index:3;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  position:relative;
  z-index:5;
}

/* Give the side artwork slightly more visible teal perimeter
   without shrinking the working panel. */
.qo-redesign-stage {
  background:
    linear-gradient(
      90deg,
      rgba(2,81,111,.18) 0%,
      rgba(2,81,111,.02) 13%,
      rgba(2,81,111,.02) 87%,
      rgba(2,81,111,.18) 100%
    );
}

/* Keep the left working sidebar dark and readable. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  background:
    radial-gradient(circle at 12% 92%,rgba(10,185,224,.20),transparent 30%),
    linear-gradient(180deg,#064866 0%,#04364f 100%) !important;
}

/* Desktop: slightly narrower sidebar gives more room to the order table. */
@media (min-width:1200px) {
  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    grid-template-columns: 260px minmax(0,1fr) !important;
  }
}

/* On smaller screens, graphics reduce before they can crowd the interface. */
@media (max-width:1320px) {
  .qo-redesign-frame::before {
    width:250px !important;
    opacity:.30 !important;
  }

  .qo-redesign-frame::after {
    width:260px !important;
    opacity:.38 !important;
  }
}

@media (max-width:1100px) {
  .qo-redesign-frame::before,
  .qo-redesign-frame::after {
    opacity:.18 !important;
  }
}

@media (max-width:900px) {
  .qo-redesign-frame::before,
  .qo-redesign-frame::after,
  .qo-redesign-hero::before {
    display:none !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V1.7
   SINGLE BACKGROUND IMAGE
   Remove teal/decorative Quick Entry graphics and use only:
   /images/hero-compliance-v2.webp
   ===================================================================== */

/* One full-width background behind the entire Quick Entry dropdown. */
.qo-redesign-frame {
  background:
    linear-gradient(rgba(0,35,57,.22), rgba(0,35,57,.22)),
    url('/images/hero-compliance-v2.webp') center center / cover no-repeat
    !important;
}

/* Remove every previous decorative image / teal graphic layer. */
.qo-redesign-frame::before,
.qo-redesign-frame::after,
.qo-redesign-hero::before,
.qo-redesign-hero::after,
.qo-redesign-stage::before,
.qo-redesign-stage::after,
.qo-art-layer,
.qo-art-right-rail {
  display:none !important;
  content:none !important;
  background:none !important;
}

/* Make the top Quick Entry bridge use the same image rather than a separate
   teal/product treatment. */
.qo-redesign-hero {
  background:
    linear-gradient(90deg,rgba(0,42,68,.88),rgba(0,65,93,.58),rgba(0,42,68,.76)),
    url('/images/hero-compliance-v2.webp') center 42% / cover no-repeat
    !important;
}

/* Remove the old teal stage wash so the single background can show around
   the centered working panel. */
.qo-redesign-stage {
  background:transparent !important;
}

/* Keep the working Quick Order panel unchanged and highly readable. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  position:relative;
  z-index:5;
}

/* Keep the left functional rail readable; this is UI, not decorative
   background artwork. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  background:rgba(3,53,78,.96) !important;
}

/* Remove the old decorative glow inside the left rail. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left::before,
.quick-tools-slider .qo-redesign-stage .qo-pro-left::after {
  display:none !important;
  content:none !important;
}

/* Bottom feature strip remains clean white. */
.qo-redesign-trustbar {
  background:rgba(255,255,255,.985) !important;
}

/* On mobile keep the image simple and centered. */
@media (max-width:900px) {
  .qo-redesign-frame,
  .qo-redesign-hero {
    background-position:center center !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V1.8
   SEAMLESS SINGLE BACKGROUND
   Uses ONLY /images/hero-compliance-v2.webp behind the entire dropdown.
   ===================================================================== */

/* One single image across the whole Quick Entry area. */
.qo-redesign-frame {
  background:
    url('/images/hero-compliance-v2.webp')
    center center / cover no-repeat !important;
}

/* The top Quick Entry bar is now transparent so the SAME background
   continues seamlessly behind it instead of looking like a separate banner. */
.qo-redesign-hero {
  background: transparent !important;
  box-shadow: none !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
}

/* Remove every old graphic/gradient/image layer from prior versions. */
.qo-redesign-frame::before,
.qo-redesign-frame::after,
.qo-redesign-hero::before,
.qo-redesign-hero::after,
.qo-redesign-stage::before,
.qo-redesign-stage::after,
.quick-tools-slider .qo-redesign-stage .qo-pro-left::before,
.quick-tools-slider .qo-redesign-stage .qo-pro-left::after,
.qo-art-layer,
.qo-art-right-rail {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* No teal wash over the workspace area. */
.qo-redesign-stage {
  background: transparent !important;
}

/* Keep the working panel exactly where it is and readable. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  position: relative;
  z-index: 5;
}

/* Keep the functional left rail readable but remove decorative teal effects. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  background: rgba(2,46,69,.95) !important;
}

/* Remove any remaining frame gradient/glow from older rules. */
.qo-redesign-frame {
  box-shadow: none !important;
}

/* Do not dim or blur the Quick Entry background itself. */
.quick-tools-slider.has-detail .quick-tools-detail {
  backdrop-filter: none !important;
}

/* Keep the bottom white feature strip unchanged. */
.qo-redesign-trustbar {
  background: rgba(255,255,255,.985) !important;
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V1.9
   QUICKBACK BACKGROUND
   Uses uploaded site file:
   /images/quickback.webp
   ===================================================================== */

/* Use the new clean grid background across the entire Quick Entry dropdown. */
.qo-redesign-frame {
  background:
    url('/images/quickback.webp')
    center center / cover repeat !important;
}

/* Top Quick Entry bridge stays attached to nav but now uses the same grid
   background instead of teal or product imagery. */
.qo-redesign-hero {
  background:
    rgba(255,255,255,.88)
    url('/images/quickback.webp')
    center center / cover repeat !important;
  color:#0d2d45 !important;
  border-bottom:1px solid rgba(7,124,165,.14) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.90) inset,
    0 8px 22px rgba(13,45,69,.06) !important;
}

/* Keep hero heading readable on the light background. */
.qo-redesign-hero h2 {
  color:#0d2d45 !important;
}

.qo-redesign-hero p {
  color:#5f7484 !important;
}

.qo-redesign-hero__icon {
  background:linear-gradient(145deg,#09bde9,#087fa8) !important;
  color:#fff !important;
}

/* Feature callouts in the top bar switch to dark text. */
.qo-redesign-hero__benefits i {
  color:#078dbb !important;
  background:rgba(7,141,187,.08) !important;
  border:1px solid rgba(7,141,187,.12) !important;
}

.qo-redesign-hero__benefits b {
  color:#123d55 !important;
}

.qo-redesign-hero__benefits small {
  color:#718794 !important;
}

/* Remove every old decorative graphic / teal image layer. */
.qo-redesign-frame::before,
.qo-redesign-frame::after,
.qo-redesign-hero::before,
.qo-redesign-hero::after,
.qo-redesign-stage::before,
.qo-redesign-stage::after,
.quick-tools-slider .qo-redesign-stage .qo-pro-left::before,
.quick-tools-slider .qo-redesign-stage .qo-pro-left::after,
.qo-art-layer,
.qo-art-right-rail {
  display:none !important;
  content:none !important;
  background:none !important;
}

/* Keep the stage transparent so quickback.webp is visible around the panel. */
.qo-redesign-stage {
  background:transparent !important;
}

/* Keep the functional left rail readable but restyle it to fit the lighter
   grid background instead of the previous dark-teal theme. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left {
  background:rgba(7,61,88,.96) !important;
}

/* White Quick Order workspace remains unchanged and readable. */
.quick-tools-slider .qo-redesign-stage .qo-pro-main {
  background:rgba(250,253,254,.985) !important;
}

/* Keep the existing 5%-wider centered panel from V1.6/V1.8. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  max-width:1428px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Bottom feature strip remains clean and light. */
.qo-redesign-trustbar {
  background:rgba(255,255,255,.985) !important;
}

/* Prevent any old teal frame styling from leaking through. */
.qo-redesign-frame {
  box-shadow:none !important;
  filter:none !important;
}

/* Mobile keeps the same single background. */
@media (max-width:900px) {
  .qo-redesign-frame,
  .qo-redesign-hero {
    background-image:url('/images/quickback.webp') !important;
    background-position:center center !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V2.0
   AUTOSUGGEST + ALWAYS-AVAILABLE NEW ROW
   ===================================================================== */

/* The part-number cell becomes the positioning anchor for autocomplete. */
.quick-tools-slider .qo-pro-table tbody td:first-child {
  position: relative !important;
  overflow: visible !important;
}

/* Make sure the active row and its first cell sit above later rows. */
.quick-tools-slider .qo-pro-table tbody tr:has(.qo-pro-suggestions:not([hidden])) {
  position: relative;
  z-index: 5000 !important;
}

.quick-tools-slider .qo-pro-table tbody tr:has(.qo-pro-suggestions:not([hidden])) td:first-child {
  position: relative !important;
  z-index: 5001 !important;
}

/* Autocomplete now opens immediately below the active field rather than
   being positioned against the browser viewport. */
.quick-tools-slider .qo-pro-suggestions {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: calc(100% + 6px) !important;
  bottom: auto !important;

  width: min(760px, calc(100vw - 80px));
  max-height: 300px;
  overflow-y: auto !important;
  overflow-x: hidden !important;

  z-index: 2147483000 !important;

  background: #fff !important;
  border: 1px solid #b9dce9 !important;
  border-radius: 13px !important;
  padding: 6px !important;

  box-shadow:
    0 20px 48px rgba(5,45,68,.22),
    0 3px 10px rgba(5,45,68,.08) !important;
}

/* If there is not enough space below, JS flips it above the active field. */
.quick-tools-slider .qo-pro-suggestions.is-above {
  top: auto !important;
  bottom: calc(100% + 6px) !important;
}

/* Stronger, easier-to-scan suggestion rows. */
.quick-tools-slider .qo-pro-suggestion {
  min-height: 58px;
  padding: 9px 11px !important;
  border-radius: 9px !important;
  border-bottom: 1px solid #e7eff3 !important;
  background: #fff !important;
}

.quick-tools-slider .qo-pro-suggestion:last-child {
  border-bottom: 0 !important;
}

.quick-tools-slider .qo-pro-suggestion:hover,
.quick-tools-slider .qo-pro-suggestion:focus-visible {
  background: #eef9fd !important;
  box-shadow: inset 3px 0 0 #08a8d7;
  outline: 0;
}

.quick-tools-slider .qo-pro-sku {
  color: #113d54 !important;
  font-size: 12px !important;
}

.quick-tools-slider .qo-pro-sku::before {
  background: #09a8d6 !important;
  box-shadow: 0 0 0 3px rgba(9,168,214,.12) !important;
}

.quick-tools-slider .qo-pro-suggestion-title {
  color: #173f53 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.quick-tools-slider .qo-pro-suggestion-meta {
  margin-top: 2px;
  color: #738895 !important;
  font-size: 8.5px !important;
  line-height: 1.25 !important;
}

.quick-tools-slider .qo-pro-suggestion-price {
  color: #173f53 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

/* The table wrapper must allow the dropdown to overlay the rows. */
.quick-tools-slider .qo-pro-table-wrap,
.quick-tools-slider .qo-pro-table,
.quick-tools-slider .qo-pro-table tbody {
  overflow: visible !important;
}

/* Smooth visual cue when a new trailing line is appended. */
@keyframes qoNewTrailingRow {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-tools-slider .qo-pro-table tbody tr:last-child {
  animation: qoNewTrailingRow .18s ease both;
}

@media (max-width: 900px) {
  .quick-tools-slider .qo-pro-suggestions {
    width: min(640px, calc(100vw - 48px)) !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V2.1
   ROW CONTAINMENT / SCROLL FIX
   Keeps auto-added rows inside the order area so they never overlap
   Add Another Line, status text, Add to BOM, or Add to Cart.
   ===================================================================== */

/* The right Quick Order area is a fixed-height flex column. */
.quick-tools-slider .qo-redesign-stage .qo-pro-main {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* The table becomes the ONLY vertically scrolling region as rows grow. */
.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* Keep column headings visible while rows scroll. */
.quick-tools-slider .qo-redesign-stage .qo-pro-table thead {
  position: sticky;
  top: 0;
  z-index: 80;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table thead th {
  position: sticky;
  top: 0;
  z-index: 81;
  box-shadow: 0 1px 0 #dce9ef;
}

/* Footer always remains in its own area below the scrolling rows. */
.quick-tools-slider .qo-redesign-stage .qo-pro-footer {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 120 !important;
  margin-top: 0 !important;
  padding-top: 9px !important;
  background: linear-gradient(
    180deg,
    rgba(250,253,254,0) 0%,
    rgba(250,253,254,.96) 24%,
    rgba(250,253,254,1) 100%
  );
}

/* Add a small breathing zone between the scroll region and footer. */
.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap {
  margin-bottom: 2px;
}

/* Suggestions stay above rows inside the scrollable table. */
.quick-tools-slider .qo-pro-table tbody tr:has(.qo-pro-suggestions:not([hidden])) {
  z-index: 5000 !important;
}

.quick-tools-slider .qo-pro-suggestions {
  z-index: 6000 !important;
}

/* Make the internal scrollbar subtle but easy to use. */
.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap::-webkit-scrollbar-track {
  background: #f2f7f9;
}

.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap::-webkit-scrollbar-thumb {
  background: #b7ccd6;
  border-radius: 999px;
  border: 2px solid #f2f7f9;
}

/* Firefox */
.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #b7ccd6 #f2f7f9;
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V2.4
   MORE CENTER FIELD SPACE
   DESIGN-ONLY CHANGE:
   - removes the top Quick Entry introduction/benefit section
   - moves the working Quick Order system upward
   - gives the center order-row area substantially more vertical room
   - no Quick Entry functionality changed
   ===================================================================== */

/* Remove the complete top Quick Entry presentation strip:
   Quick Entry title + Fast Ordering + Live Availability + Cart/BOM. */
.quick-tools-slider .qo-redesign-hero {
  display: none !important;
}

/* The dropdown stage now starts immediately below the site's main header/nav. */
.quick-tools-slider .qo-redesign-stage {
  padding-top: 10px !important;
  margin-top: 0 !important;
}

/* Use the vertical space recovered from the deleted top section. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  height: calc(100vh - 170px) !important;
  min-height: 610px !important;
  max-height: 760px !important;
}

/* Both sides fill the newly taller Quick Entry shell. */
.quick-tools-slider .qo-redesign-stage .qo-pro-left,
.quick-tools-slider .qo-redesign-stage .qo-pro-main {
  height: 100% !important;
  min-height: 0 !important;
}

/* The main area remains a flex column so the CENTER TABLE receives
   all additional height while the controls/footer remain untouched. */
.quick-tools-slider .qo-redesign-stage .qo-pro-main {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Give the product-row area the recovered vertical space.
   It continues to scroll internally when enough rows are present. */
.quick-tools-slider .qo-redesign-stage .qo-pro-table-wrap {
  flex: 1 1 auto !important;
  min-height: 300px !important;
  max-height: none !important;
  overflow-y: auto !important;
}

/* Keep the bottom controls exactly where they belong. */
.quick-tools-slider .qo-redesign-stage .qo-pro-footer {
  flex: 0 0 auto !important;
}

/* Keep the existing bottom trust strip; no redesign. */
.quick-tools-slider .qo-redesign-trustbar {
  flex: 0 0 auto;
}

/* On shorter desktop screens, still gain space without pushing below viewport. */
@media (max-height: 800px) and (min-width: 901px) {
  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    height: calc(100vh - 145px) !important;
    min-height: 540px !important;
  }

  .quick-tools-slider .qo-redesign-stage {
    padding-top: 6px !important;
  }
}

/* Preserve responsive behavior. */
@media (max-width: 900px) {
  .quick-tools-slider .qo-redesign-stage .qo-pro-shell {
    height: auto !important;
    min-height: calc(100vh - 110px) !important;
    max-height: none !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW — QUICK ENTRY V2.6
   BOTTOM TRUST BAR POSITION FIX
   Only fixes the bar that moved into the center after the top hero was hidden.
   ===================================================================== */

/* With the top hero removed, do not let CSS Grid auto-place the trust bar
   into the large middle row. Use a simple contained frame instead. */
.quick-tools-slider .qo-redesign-frame {
  display:block !important;
  position:relative !important;
  height:100% !important;
  overflow:hidden !important;
}

/* The working Quick Entry area fills everything EXCEPT the original
   66px bottom trust bar. */
.quick-tools-slider .qo-redesign-stage {
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:66px !important;
  height:auto !important;
  min-height:0 !important;
  padding:8px 0 !important;
  margin:0 !important;
  overflow:hidden !important;
}

/* Let the existing Quick Order shell use all of that newly available height. */
.quick-tools-slider .qo-redesign-stage .qo-pro-shell {
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
}

/* Put the original four-item wording bar back where it belongs:
   fixed to the bottom of the Quick Entry dropdown at its original height. */
.quick-tools-slider .qo-redesign-trustbar {
  display:grid !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  top:auto !important;
  width:100% !important;
  height:66px !important;
  min-height:66px !important;
  max-height:66px !important;
  padding:0 clamp(28px,5vw,88px) !important;
  grid-template-columns:repeat(4,1fr) !important;
  overflow:hidden !important;
  z-index:20 !important;
  background:rgba(255,255,255,.985) !important;
  border-top:1px solid #dce9ef !important;
  box-shadow:0 -5px 18px rgba(2,49,73,.06) !important;
}

/* Restore the original compact content inside that bar. */
.quick-tools-slider .qo-redesign-trustbar > span {
  min-height:0 !important;
  height:66px !important;
  align-content:center !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* Shorter desktop screens use the original compact 58px treatment. */
@media (max-height:800px) and (min-width:901px) {
  .quick-tools-slider .qo-redesign-stage {
    bottom:58px !important;
  }

  .quick-tools-slider .qo-redesign-trustbar,
  .quick-tools-slider .qo-redesign-trustbar > span {
    height:58px !important;
    min-height:58px !important;
    max-height:58px !important;
  }
}

/* Mobile containment only; functionality/layout behavior otherwise unchanged. */
@media (max-width:900px) {
  .quick-tools-slider .qo-redesign-stage {
    bottom:56px !important;
  }

  .quick-tools-slider .qo-redesign-trustbar,
  .quick-tools-slider .qo-redesign-trustbar > span {
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
  }
}


/* =====================================================================
   DENTAL SOURCE NOW - QUICK ORDER FINAL SURFACE CONTRACT
   ===================================================================== */

/* The retired floating rail must never flash while the panel closes. */
.quick-tools-slider .quick-tools-rail {
  display: none !important;
}

.quick-tools-slider.has-detail {
  display: block;
  z-index: 9980;
}

/* Exact neutral grid treatment shared with the live-search tray. */
.quick-tools-slider .qo-redesign-frame {
  background-color: #f4f5f7 !important;
  background-image:
    linear-gradient(
      135deg,
      rgba(172, 36, 30, .035) 0%,
      rgba(255, 255, 255, 0) 34%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(64, 78, 94, .055) 0 1px,
      transparent 1px 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(64, 78, 94, .045) 0 1px,
      transparent 1px 44px
    ) !important;
  background-position: 0 0, 0 0, 0 0 !important;
  background-repeat: no-repeat, repeat, repeat !important;
  background-size: 100% 100%, 44px 44px, 44px 44px !important;
}

/* One transition owns the panel's transform in both directions. Mixing the old
   opening keyframe with an exit transition prevented a clean animated handoff. */
.quick-tools-slider:not(.has-detail) .quick-tools-detail {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translate3d(0, -104%, 0) !important;
  animation: none !important;
  pointer-events: none !important;
  transition:
    transform 420ms cubic-bezier(.22, 1, .36, 1),
    opacity 100ms ease 320ms,
    visibility 0s linear 420ms !important;
}

.quick-tools-slider.has-detail .quick-tools-detail {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  animation: none !important;
  pointer-events: auto !important;
  transition:
    transform 420ms cubic-bezier(.22, 1, .36, 1),
    opacity 120ms ease,
    visibility 0s linear 0s !important;
}

/* Keep the full-screen stacking context alive until the exit motion finishes.
   Removing the shell early is what previously made the tray slam shut. */
.quick-tools-slider.has-detail::before {
  opacity: 1;
  transition: opacity 120ms ease !important;
}

.quick-tools-slider.is-closing::before {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 100ms ease 320ms !important;
}

.quick-tools-slider.is-closing .quick-tools-detail {
  visibility: visible !important;
  opacity: 0 !important;
  transform: translate3d(0, -104%, 0) !important;
  pointer-events: none !important;
  transition:
    transform 420ms cubic-bezier(.22, 1, .36, 1),
    opacity 100ms ease 320ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .quick-tools-slider:not(.has-detail) .quick-tools-detail,
  .quick-tools-slider.has-detail .quick-tools-detail,
  .quick-tools-slider.is-closing .quick-tools-detail,
  .quick-tools-slider.is-closing::before {
    transition: none !important;
  }
}

/* =====================================================================
   DENTAL SOURCE NOW - QUICK ORDER BOTTOM BENEFIT TRAY
   The reference applies to this compact footer rail only. It must not alter
   the Quick Order workspace height or its established internal layout.
   ===================================================================== */

@media (min-width: 901px) and (min-height: 801px) {
  .quick-tools-slider .qo-redesign-stage {
    bottom: 76px !important;
  }

  .quick-tools-slider .qo-redesign-trustbar {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    padding: 0 clamp(24px, 4vw, 72px) !important;
    background: rgba(255, 255, 255, .99) !important;
    border-top: 1px solid #dce7ee !important;
    box-shadow: 0 -5px 18px rgba(7, 31, 54, .055) !important;
  }

  .quick-tools-slider .qo-redesign-trustbar > span {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    grid-template-columns: 42px minmax(0, auto);
    column-gap: 12px;
    padding: 0 clamp(18px, 2vw, 32px) !important;
  }

  .quick-tools-slider .qo-redesign-trustbar i {
    width: 42px;
    height: 42px;
    color: #078dcc;
    font-size: 24px;
  }

  .quick-tools-slider .qo-redesign-trustbar b {
    color: #17618f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
  }

  .quick-tools-slider .qo-redesign-trustbar small {
    margin-top: 3px;
    color: #718391;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
  }
}
