/**
 * Order detail modal + invoice preview — mobile ≤900px only
 */
@media (max-width: 900px) {
  /* Bottom sheet — Chi tiết đơn */
  body.use-new-ui.modal-order-detail-mo-open #modal.modal {
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-card.modal-order-detail {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 88dvh !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.14) !important;
    background: #fffaf8 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-card.modal-order-detail .modal-head.order-detail-mo-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    flex: 0 0 auto !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 14px 16px 12px !important;
    background: #fffaf8 !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.1) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-head.order-detail-mo-head .modal-title-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-head.order-detail-mo-head #modalTitle {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-head__id {
    display: block !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: var(--hydra-text, #0f172a) !important;
    line-height: 1.2 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal #modalMeta {
    display: block !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-head__line {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hydra-text-muted, #64748b) !important;
    line-height: 1.35 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-head__sep {
    color: var(--hydra-text-muted, #94a3b8) !important;
    font-weight: 500 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-head__line .badge {
    font-size: 11px !important;
    padding: 3px 8px !important;
    flex-shrink: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-head.order-detail-mo-head .modal-close-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    background: rgba(15, 23, 42, 0.06) !important;
    border: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-card.modal-order-detail #modalForm {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-card.modal-order-detail .modal-actions.order-detail-mo-footer-bar {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 5 !important;
    flex: 0 0 auto !important;
    display: block !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fffaf8 !important;
    border-top: 1px solid rgba(249, 115, 22, 0.1) !important;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-footer .btn {
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-copy.btn {
    background: #fff !important;
    color: var(--hydra-text, #0f172a) !important;
    border: 1px solid rgba(249, 115, 22, 0.28) !important;
    box-shadow: none !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-print.btn.primary {
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%) !important;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .modal-actions.order-detail-mo-footer-bar #btnCancel,
  body.use-new-ui.modal-order-detail-mo-open #modal .modal-actions.order-detail-mo-footer-bar #btnSave,
  body.use-new-ui.modal-order-detail-mo-open #modal .modal-actions.order-detail-mo-footer-bar #btnSaveNew,
  body.use-new-ui.modal-order-detail-mo-open #modal .modal-actions.order-detail-mo-footer-bar #btnSaveDup {
    display: none !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-modal--mo {
    padding: 14px 16px 10px !important;
    gap: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-watermark,
  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-table-section,
  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-summary {
    display: none !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero {
    border: 1px solid rgba(249, 115, 22, 0.2) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%) !important;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.1) !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero-row:first-child {
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(249, 115, 22, 0.12) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero-row .label {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: var(--hydra-text-muted, #64748b) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero-value {
    font-size: clamp(24px, 6.8vw, 30px) !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    color: #c2410c !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero-row--sub .value {
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-hero .value .hydra-currency-unit {
    font-size: 0.58em !important;
    font-weight: 700 !important;
    margin-left: 1px !important;
    vertical-align: baseline !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-card {
    border: 1px solid rgba(249, 115, 22, 0.14) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
    padding: 4px 14px !important;
    overflow: hidden !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-modal--mo .order-detail-row {
    display: grid !important;
    grid-template-columns: minmax(92px, 38%) 1fr !important;
    gap: 12px !important;
    align-items: center !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-card .order-detail-mo-row,
  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-prod-list .order-detail-mo-row {
    padding: 11px 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-card .order-detail-mo-row:last-child,
  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-prod-list .order-detail-mo-row:last-child {
    border-bottom: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-modal--mo .order-detail-row .label {
    color: var(--hydra-text-muted, #64748b) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-width: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-modal--mo .order-detail-row .value {
    text-align: right !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    color: var(--hydra-text, #0f172a) !important;
    line-height: 1.35 !important;
    font-variant-numeric: tabular-nums !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-modal--mo .order-detail-row .value .hydra-currency-unit {
    font-size: 0.72em !important;
    font-weight: 700 !important;
    margin-left: 1px !important;
    vertical-align: baseline !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-section-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--hydra-text-muted, #64748b) !important;
    padding: 12px 0 8px !important;
    margin: 0 !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-prod-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-bottom: 4px !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-prod-name {
    white-space: normal !important;
    text-align: left !important;
    font-weight: 700 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  body.use-new-ui.modal-order-detail-mo-open #modal .order-detail-mo-empty {
    padding: 8px 0 12px !important;
    font-size: 13px !important;
  }

  /* Invoice preview — fullscreen mobile (trên modal Chi tiết đơn) */
  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal, 10000) + 30);
    pointer-events: none;
    visibility: hidden;
  }

  body.use-new-ui.order-invoice-preview-open .order-invoice-preview-sheet.mobile-invoice-preview,
  body.use-new-ui.mobile-invoice-preview-open .order-invoice-preview-sheet.mobile-invoice-preview {
    pointer-events: auto;
    visibility: visible;
  }

  body.use-new-ui.order-invoice-preview-open #modal.modal,
  body.use-new-ui.mobile-invoice-preview-open #modal.modal {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.use-new-ui.order-invoice-preview-open #mobileOwnerBottomNav,
  body.use-new-ui.order-invoice-preview-open #mobileOwnerFab,
  body.use-new-ui.mobile-invoice-preview-open #mobileOwnerBottomNav,
  body.use-new-ui.mobile-invoice-preview-open #mobileOwnerFab {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__backdrop {
    display: none;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__panel {
    position: fixed;
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: none;
    height: 100%;
    height: 100dvh;
    background: #fffaf8;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  body.use-new-ui.order-invoice-preview-open .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__panel {
    transform: none;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__handle {
    display: none;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 3;
    flex-shrink: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 18px 10px;
    background: #fffaf8;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  body.use-new-ui .order-invoice-preview-sheet__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--hydra-text, #0f172a);
  }

  body.use-new-ui .order-invoice-preview-sheet__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.use-new-ui .order-invoice-preview-sheet .invoice-preview-print-hint {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    color: #64748b;
    text-align: center;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-preview-sheet__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
    background: #fffaf8;
  }

  body.use-new-ui .order-invoice-preview-sheet__foot .btn {
    min-height: 48px;
    font-weight: 700;
    border-radius: 12px;
  }

  body.use-new-ui #invoicePrintOnlyRoot[hidden] {
    position: fixed;
    left: -10000px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
  }

  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .order-invoice-print-area,
  body.use-new-ui .order-invoice-preview-sheet.mobile-invoice-preview .mobile-invoice-screen-card {
    width: min(88vw, 110mm);
    max-width: min(88vw, 110mm);
    margin: 0 auto;
    padding: 10px 12px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  }

  /* Bill — preview rộng ~85% modal; print dùng chung .invoice-bill */
  body.use-new-ui .invoice-bill {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.35;
  }

  body.use-new-ui .invoice-bill__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  body.use-new-ui .invoice-bill__logo {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px;
  }

  body.use-new-ui .invoice-bill__logo-fallback {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    font-size: 8px;
    font-weight: 800;
    line-height: 30px;
    text-align: center;
    color: #c2410c;
    letter-spacing: 0.04em;
  }

  body.use-new-ui .invoice-bill__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
  }

  body.use-new-ui .invoice-bill__doc-title {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
  }

  body.use-new-ui .invoice-bill__doc-date {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
  }

  body.use-new-ui .invoice-bill__section {
    margin: 0 0 6px;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  }

  body.use-new-ui .invoice-bill__section--grand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.use-new-ui .invoice-bill__section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.use-new-ui .invoice-bill__section-title {
    margin: 0 0 3px;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.2;
  }

  body.use-new-ui .invoice-bill__lead {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
  }

  body.use-new-ui .invoice-bill__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body.use-new-ui .invoice-bill__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    min-width: 0;
  }

  body.use-new-ui .invoice-bill__row:last-child {
    border-bottom: 0;
  }

  body.use-new-ui .invoice-bill__row-l {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    text-align: left;
  }

  body.use-new-ui .invoice-bill__section:nth-of-type(2) .invoice-bill__row-l,
  body.use-new-ui .invoice-bill__section:nth-of-type(2) .invoice-bill__row-r {
    font-size: 17px;
  }

  body.use-new-ui .invoice-bill__qty {
    font-weight: 700;
    color: #64748b;
  }

  body.use-new-ui .invoice-bill__row-r {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    text-align: right;
    white-space: nowrap;
  }

  body.use-new-ui .invoice-bill__row--emph {
    margin-top: 2px;
    padding-top: 5px;
    border-top: 1px solid rgba(249, 115, 22, 0.22);
    border-bottom: 0;
  }

  body.use-new-ui .invoice-bill__row--emph .invoice-bill__row-l {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
  }

  body.use-new-ui .invoice-bill__row--emph .invoice-bill__row-r {
    font-size: 26px;
    font-weight: 800;
    color: #c2410c;
  }

  body.use-new-ui .invoice-bill__muted {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
  }

  body.use-new-ui .invoice-bill__foot {
    margin: 6px 0 0;
    padding: 5px 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
  }
}

/* Print — #invoicePrintOnlyRoot (A4/PDF: bill 110mm ~65% trang; chọn khổ A7 trên máy in nếu cần) */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body.printing-invoice > *:not(#invoicePrintOnlyRoot) {
    display: none !important;
  }

  body.printing-invoice #invoicePrintOnlyRoot {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    position: static !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
  }

  body.printing-invoice #invoicePrintOnlyRoot[hidden] {
    display: block !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.printing-invoice .invoice-print-a7,
  body.printing-invoice .invoice-print-a4 {
    display: block !important;
    width: 110mm !important;
    max-width: 110mm !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    background: #fff !important;
    color: #0f172a !important;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.printing-invoice .invoice-bill {
    display: block !important;
    color: #0f172a !important;
  }

  body.printing-invoice .invoice-bill__head {
    display: block !important;
    text-align: center !important;
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  body.printing-invoice .invoice-bill__logo {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 auto 3px !important;
    object-fit: contain !important;
  }

  body.printing-invoice .invoice-bill__doc-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    margin: 0 0 2px !important;
    color: #0f172a !important;
  }

  body.printing-invoice .invoice-bill__doc-date {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
  }

  body.printing-invoice .invoice-bill__section {
    margin-bottom: 5px !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  body.printing-invoice .invoice-bill__section--grand {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  body.printing-invoice .invoice-bill__section-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
  }

  body.printing-invoice .invoice-bill__lead {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }

  body.printing-invoice .invoice-bill__row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 8px !important;
    padding: 2px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
  }

  body.printing-invoice .invoice-bill__section:nth-of-type(2) .invoice-bill__row-l,
  body.printing-invoice .invoice-bill__section:nth-of-type(2) .invoice-bill__row-r {
    font-size: 15px !important;
  }

  body.printing-invoice .invoice-bill__row-r {
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body.printing-invoice .invoice-bill__row--emph {
    border-top: 1px solid #fed7aa !important;
    border-bottom: 0 !important;
    padding-top: 5px !important;
    margin-top: 2px !important;
  }

  body.printing-invoice .invoice-bill__row--emph .invoice-bill__row-l {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
  }

  body.printing-invoice .invoice-bill__row--emph .invoice-bill__row-r {
    color: #c2410c !important;
    font-size: 20px !important;
    font-weight: 800 !important;
  }

  body.printing-invoice .invoice-bill__foot {
    margin-top: 6px !important;
    padding-top: 5px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-size: 10px !important;
    color: #64748b !important;
  }

  body.printing-invoice .invoice-preview-header,
  body.printing-invoice .invoice-preview-footer,
  body.printing-invoice .order-invoice-preview-sheet,
  body.printing-invoice button {
    display: none !important;
  }
}
