/* Customer Order page — matches 2HEX sales invoice XLSX (HX… / SalesInvoiceXlsxService) */
.co-page {
  --co-ink: #222222;
  --co-muted: #728086;
  --co-bullet: #b3afad;
  --co-line: #e4e4e2;
  --co-accent: #fb6b5a;
  --co-paper: #ffffff;
  --co-wash: #f3f3f1;
  --co-block: #f8f8f7;
  --co-bank-red: #ff0000;
  color: var(--co-ink);
  font-family: "BioSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--co-wash);
  /* Clear sticky site header so the invoice sheet does not start under the nav */
  padding: 120px 16px 72px;
  min-height: 70vh;
}

@media (max-width: 991px) {
  .co-page {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  .co-page {
    padding-top: 88px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.co-sheet {
  max-width: 980px;
  margin: 0 auto;
  background: var(--co-paper);
  border: 1px solid var(--co-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 28px 34px 24px;
}

/* —— Invoice header (xlsx C/E | G/I | M/O) —— */
.co-inv-top {
  margin-bottom: 22px;
}

.co-inv-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.co-inv-title-row h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.co-inv-logo {
  max-height: 46px;
  width: auto;
}

.co-inv-meta {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.95fr;
  gap: 18px 22px;
  font-size: 13px;
  line-height: 1.45;
}

.co-inv-row {
  display: flex;
  gap: 8px;
  margin-bottom: 3px;
  align-items: flex-start;
}

.co-inv-spacer {
  height: 10px;
}

.co-lbl {
  color: var(--co-muted);
  flex: 0 0 auto;
  min-width: 0;
}

.co-val {
  color: var(--co-ink);
  word-break: break-word;
}

.co-val-multiline {
  white-space: pre-line;
}

.co-val-strong {
  font-weight: 700;
}

.co-inv-col-seller {
  text-align: right;
  color: var(--co-muted);
  font-size: 12px;
  line-height: 1.5;
}

.co-inv-col-seller p {
  margin: 0 0 2px;
}

.co-seller-name {
  color: var(--co-ink) !important;
  font-weight: 700;
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

.co-val-empty {
  color: var(--co-bullet);
}

.co-inv-col-customer {
  border-radius: 2px;
  padding: 6px 8px;
  margin: -6px -8px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.co-inv-col-customer.is-editable {
  cursor: pointer;
}

.co-inv-col-customer.is-editable:hover,
.co-inv-col-customer.is-editable:focus {
  outline: none;
  background: #faf8f7;
  box-shadow: inset 0 0 0 1px #e8ddd9;
}

.co-profile-hint,
.co-login-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--co-accent);
}

.co-profile-hint a,
.co-login-hint a {
  color: var(--co-accent);
  text-decoration: underline;
}

.co-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 12px;
  padding-top: 6px;
  border-top: 1px solid var(--co-line);
}

.co-section-head h2 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.co-count {
  font-weight: 400;
  color: var(--co-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* —— Compact batches (reset shop/cart chrome that causes overlaps) —— */
.co-batches {
  min-height: 48px;
}

.co-batches .cart_page {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--co-block);
  box-shadow: none !important;
  border: 0;
  border-radius: 0;
  margin-bottom: 10px !important;
  padding: 10px 12px 8px !important;
  overflow: visible;
}

.co-batches .cart_page > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.co-batches .cart_page > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  float: none !important;
  width: auto !important;
}

/* Thumbnail column — kill the big black shop square */
.co-batches .cart_page > .row > .col-lg-2,
.co-batches .cart_page > .row > .col-md-3,
.co-batches .cart_page > .row > [class*="col-"]:first-child {
  flex: 0 0 56px !important;
  max-width: 56px !important;
  min-width: 56px !important;
  margin-right: 10px;
}

.co-batches .cart_page > .row > .col-lg-10,
.co-batches .cart_page > .row > .col-md-9,
.co-batches .cart_page > .row > [class*="col-"]:nth-child(2) {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0;
}

.co-batches .single_product,
.co-batches .single_product:hover,
.co-batches .single_product figure {
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

.co-batches .product_thumb,
.co-batches .product_thumb.active,
.co-batches .cart_page .product_thumb {
  position: static !important;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  border: 1px solid #ddd !important;
  margin: 0 !important;
  padding: 2px !important;
  overflow: hidden !important;
  background: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.co-batches .product_thumb a,
.co-batches .product_thumb .primary_img,
.co-batches .cart_page .product_thumb a {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: center;
}

.co-batches .product_thumb img,
.co-batches .cart_page .product_thumb a img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  object-fit: contain;
}

.co-batches h3 {
  font-size: 13px !important;
  line-height: 1.25 !important;
  margin: 0 0 6px !important;
  font-weight: 700;
  font-family: inherit !important;
}

.co-batches h3 a {
  color: var(--co-ink);
}

/* Specs grid: exactly 2 spec columns + 1 price column (never a 4th) */
.co-batches .card-content {
  margin: 0 !important;
  line-height: 1.35 !important;
  position: static !important;
}

.co-batches .card-content > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(110px, 140px);
  gap: 4px 12px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: start;
}

.co-batches .card-content > .row > [class*="col-"] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  margin-left: 0 !important;
}

.co-batches .card-content > .row > .card_footer {
  grid-column: 3 !important;
  grid-row: 1 !important;
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  padding-bottom: 4px;
  justify-self: stretch;
}

.co-batches .card-content > .row > .col-lg-12,
.co-batches .card-content > .row > .col-md-12 {
  grid-column: 1 / -1 !important;
  padding-top: 4px;
}

.co-batches .card-content ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.co-batches .card-content li {
  font-size: 11px !important;
  line-height: 1.35 !important;
  margin: 0 0 1px !important;
  color: var(--co-bullet);
  position: static !important;
}

.co-batches .card-content li span,
.co-batches .card-content li a {
  font-size: 11px !important;
  font-family: inherit !important;
  color: var(--co-ink);
}

.co-batches .card-content li > a {
  color: var(--co-bullet);
}

.co-batches .card-price {
  margin: 0 0 4px !important;
  position: static !important;
}

.co-batches .card-price p,
.co-batches .card_footer p {
  font-size: 11px !important;
  line-height: 1.3 !important;
  margin: 0 0 2px !important;
  font-family: inherit !important;
  color: var(--co-muted) !important;
}

.co-batches .card-price p span,
.co-batches .card_footer span {
  font-size: 12px !important;
  font-family: inherit !important;
  color: var(--co-accent) !important;
}

.co-batches .card-price p span[style],
.co-batches .card-price span[style*="18px"] {
  font-size: 12px !important;
}

/* Actions strip: outside content, full bottom-right of the batch card */
.co-batches .card-buttons,
.co-batches .co-batch-actions {
  position: static !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  width: 100%;
  box-sizing: border-box;
  gap: 0 4px;
  margin: 8px 0 0 !important;
  padding: 6px 0 0 !important;
  border-top: 1px solid var(--co-line);
  background: transparent;
  line-height: 1.2;
  white-space: nowrap;
  z-index: auto;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
}

.co-batches .card-buttons a,
.co-batches .card-buttons button,
.co-batches .co-batch-actions a,
.co-batches .co-batch-actions button {
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: var(--co-muted) !important;
  font-family: inherit !important;
  font-weight: 500;
  border: 0 !important;
  background: transparent !important;
  padding: 0 2px !important;
  margin: 0 !important;
  cursor: pointer;
  text-decoration: none;
}

.co-batches .card-buttons a:hover,
.co-batches .card-buttons button:hover,
.co-batches .co-batch-actions a:hover,
.co-batches .co-batch-actions button:hover {
  color: var(--co-accent) !important;
}

.co-batches .card-buttons form,
.co-batches .co-batch-actions form {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

.co-batches .card-dot {
  display: inline !important;
  font-size: 10px !important;
  line-height: 1 !important;
  color: var(--co-line) !important;
  font-family: inherit !important;
  margin: 0 1px !important;
  vertical-align: middle;
}

/* Keep prices in the content column; don't leave an empty actions hole */
.co-batches .card_footer .card-buttons {
  display: none !important;
}

.co-batches .mb-55 {
  margin-bottom: 10px !important;
}

.co-batches hr {
  margin: 6px 0 !important;
}

.co-batches .card-content > .row > .col-lg-12 p {
  font-size: 11px !important;
  margin: 0 !important;
}

.co-empty {
  border: 1px dashed var(--co-line);
  padding: 18px 14px;
  text-align: center;
  color: var(--co-muted);
  margin-bottom: 10px;
  font-size: 13px;
}

/* —— Totals —— */
.co-totals {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--co-line);
  font-size: 13px;
}

.co-totals-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 4px;
  min-width: 220px;
}

.co-totals-left .co-totals-row {
  justify-content: flex-start;
}

.co-totals-grand .co-lbl {
  font-size: 14px;
  align-self: center;
}

.co-total-coral {
  color: var(--co-accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.co-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 22px;
}

.co-export-hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--co-muted);
}

/* —— Terms / Bank / Disclaimer —— */
.co-terms {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--co-line);
  font-size: 12px;
  line-height: 1.45;
}

.co-terms h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.co-terms p {
  margin: 0 0 6px;
  color: var(--co-ink);
}

.co-deposit {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
  font-weight: 700;
}

.co-bank {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.4;
}

.co-bank-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--co-bank-red);
}

.co-bank-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  margin-bottom: 2px;
}

.co-bank-row .co-lbl {
  font-size: 11px;
}

.co-disclaimer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--co-line);
}

.co-disclaimer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--co-muted);
  text-align: center;
}

.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--co-ink);
  background: var(--co-paper);
  color: var(--co-ink);
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.co-btn:hover,
.co-btn:focus {
  text-decoration: none;
  color: var(--co-ink);
  background: var(--co-wash);
}

.co-btn-primary {
  background: var(--co-accent);
  border-color: var(--co-accent);
  color: #fff;
}

.co-btn-primary:hover,
.co-btn-primary:focus {
  background: #e85a4b;
  border-color: #e85a4b;
  color: #fff;
}

.co-btn-ghost {
  border-color: var(--co-line);
  color: var(--co-muted);
}

/* Product picker + embedded configurator (same popup) */
.co-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.co-overlay.is-open {
  display: flex;
}

.co-modal {
  background: #fff;
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.co-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--co-line);
  flex: 0 0 auto;
}

.co-modal-head-left,
.co-modal-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.co-modal-head h3 {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-modal-back {
  padding: 5px 8px !important;
  font-size: 11px !important;
}

.co-modal-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--co-muted);
  padding: 0 4px;
}

.co-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.co-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
}

.co-product-card {
  border: 1px solid var(--co-line);
  background: #fff;
  cursor: pointer;
  padding: 10px 8px 12px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.co-product-card:hover {
  border-color: var(--co-accent);
  transform: translateY(-1px);
}

.co-product-card img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  margin-bottom: 8px;
}

.co-product-card span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

.co-modal.is-loading .co-product-grid {
  display: none !important;
}

.co-modal.is-loading .co-config-loading {
  display: flex !important;
}

.co-config-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  min-height: 280px;
  background: #fff;
  text-align: center;
}

.co-config-loading[hidden] {
  display: none !important;
}

.co-config-loading__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fb6b5a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.co-config-loading__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.co-config-loading__name span {
  font-weight: 400;
  color: #728086;
  font-size: 13px;
}

.co-config-loading__joke {
  margin: 0 auto;
  max-width: 420px;
  min-height: 3.2em;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
  transition: opacity 0.25s ease;
}

.co-config-loading__joke.is-fading {
  opacity: 0;
}

@media (max-width: 900px) {
  .co-inv-meta {
    grid-template-columns: 1fr 1fr;
  }

  .co-inv-col-seller {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .co-sheet {
    padding: 18px 14px;
  }

  .co-inv-meta {
    grid-template-columns: 1fr;
  }

  .co-inv-title-row {
    flex-direction: column;
  }

  .co-batches .cart_page {
    padding: 8px 8px 8px !important;
  }

  .co-batches .cart_page > .row > .col-lg-2,
  .co-batches .cart_page > .row > .col-md-3,
  .co-batches .cart_page > .row > [class*="col-"]:first-child {
    flex: 0 0 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
  }

  .co-batches .product_thumb,
  .co-batches .product_thumb.active,
  .co-batches .cart_page .product_thumb {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }

  .co-batches .product_thumb img,
  .co-batches .cart_page .product_thumb a img {
    max-width: 38px !important;
    max-height: 38px !important;
  }

  .co-batches .card-content > .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .co-batches .card-content > .row > .card_footer {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .co-bank-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 6px;
  }

  .co-export-hint {
    margin-left: 0;
    width: 100%;
  }

  .co-actions-bar .co-btn {
    flex: 1 1 auto;
  }
}

/* Profile popup on Order page */
.co-profile-modal {
  width: min(720px, 100%);
  max-height: min(90vh, 920px);
}

.co-profile-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.co-profile-body {
  overflow: auto;
  max-height: min(70vh, 680px);
  padding: 14px 16px 8px;
}

.co-profile-lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--co-muted);
}

.co-profile-error {
  margin: 0 0 12px;
  padding: 8px 10px;
  background: #fff1ef;
  border: 1px solid #f5c2ba;
  color: #a33;
  font-size: 13px;
}

.co-profile-fieldset {
  border: 1px solid var(--co-line);
  margin: 0 0 14px;
  padding: 10px 12px 12px;
}

.co-profile-fieldset legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--co-muted);
}

.co-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.co-profile-span2 {
  grid-column: 1 / -1;
}

.co-profile-grid label,
.co-profile-check {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--co-muted);
}

.co-profile-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--co-ink);
  font-size: 13px;
}

.co-profile-grid input[type="text"],
.co-profile-grid input[type="email"] {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.co-profile-grid input:focus {
  outline: none;
  border-color: var(--co-accent);
}

.co-profile-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--co-line);
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .co-profile-grid {
    grid-template-columns: 1fr;
  }

  .co-profile-span2 {
    grid-column: auto;
  }
}

/* Manual product option */
.co-product-card--manual {
  border-style: dashed;
  border-color: #c9c4c0;
  background: #faf9f7;
}

.co-product-card--manual span {
  font-weight: 600;
}

.co-manual-modal {
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
}

.co-manual-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.co-manual-body {
  overflow: auto;
  max-height: min(70vh, 640px);
  padding: 14px 16px 8px;
}

.co-manual-lead,
.co-manual-price-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--co-muted);
}

.co-optional {
  font-weight: 400;
  color: var(--co-bullet);
  text-transform: none;
  letter-spacing: 0;
}

.co-profile-grid textarea {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
}

.co-profile-grid textarea:focus,
.co-profile-grid input[type="number"]:focus {
  outline: none;
  border-color: var(--co-accent);
}

.co-profile-grid input[type="number"],
.co-profile-grid input[readonly] {
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--co-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.co-profile-grid input[readonly] {
  background: #f7f7f5;
  color: var(--co-muted);
}

.co-price-pending {
  color: var(--co-accent) !important;
  font-weight: 600;
}

.co-manual-desc {
  white-space: pre-line;
}

/* Excel-like editable cells on manual batches */
.co-xl-sheet .co-xl-title-wrap {
  margin: 0 0 6px !important;
}

.co-xl-cell {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  outline: none;
  padding: 1px 4px;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: 1.35;
  border-radius: 0;
  min-width: 1.25em;
  max-width: 100%;
  vertical-align: baseline;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.co-xl-cell:hover {
  background: rgba(251, 107, 90, 0.06);
}

.co-xl-cell:focus {
  border-color: #fb6b5a;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(251, 107, 90, 0.15);
}

.co-xl-title {
  display: block;
  width: 100%;
  font-size: 13px !important;
  font-weight: 700;
  padding: 2px 4px;
}

.co-xl-row {
  display: flex !important;
  align-items: baseline;
  gap: 2px;
  list-style: none;
}

.co-xl-label {
  flex: 0 1 auto;
  min-width: 3.5em;
  max-width: 42%;
  color: var(--co-muted);
  text-align: left;
}

.co-xl-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--co-ink);
}

.co-xl-sep {
  color: var(--co-muted);
  flex: 0 0 auto;
  padding: 0 1px;
}

.co-xl-price {
  width: 4.8em;
  text-align: left;
  font-weight: 600;
  display: inline-block;
}

.co-xl-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--co-bullet);
}

.co-xl-sheet.is-editing {
  box-shadow: inset 0 0 0 1px #e8ddd9;
}

.co-xl-sheet.is-saving .co-xl-hint::after {
  content: " Saving…";
  color: var(--co-muted);
}

.co-xl-sheet.is-saved .co-xl-hint::after {
  content: " Saved";
  color: #2f7d4a;
}

.co-xl-sheet.is-save-error .co-xl-hint::after {
  content: " Couldn’t save";
  color: #a33;
}

.co-batches .co-xl-sheet .card-content li {
  margin-bottom: 2px;
}
